]> git.lyx.org Git - lyx.git/blob - lib/doc/ja/Customization.lyx
UserGuide: Reset > Default
[lyx.git] / lib / doc / ja / Customization.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties false
6 \origin /systemlyxdir/doc/ja/
7 \textclass scrbook
8 \begin_preamble
9 % DO NOT ALTER THIS PREAMBLE!!!
10 %
11 % This preamble is designed to ensure that this document prints
12 % out as advertised. If you mess with this preamble,
13 % parts of this document may not print out as expected.  If you
14 % have problems LaTeXing this file, please contact 
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
17
18 % the pages of the TOC is numbered roman
19 % and a pdf-bookmark for the TOC is added
20 \let\myTOC\tableofcontents
21 \renewcommand\tableofcontents{%
22   \frontmatter
23   \pdfbookmark[1]{\contentsname}{}
24   \myTOC
25   \mainmatter }
26
27 % Added only for Japanese translation
28 % This is needed to use \textquotedbl (this doesn't exist in OT1 encoding)
29 \usepackage[T1]{fontenc}
30 \end_preamble
31 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
32 \use_default_options false
33 \begin_modules
34 logicalmkup
35 \end_modules
36 \maintain_unincluded_children false
37 \begin_local_layout
38 Format 57
39 InsetLayout Flex:MenuItem
40 LyxType               charstyle
41 LabelString           menu
42 LatexType             command
43 LatexName             menuitem
44 Font
45 Family              Sans
46 EndFont
47 Preamble
48 \newcommand*{\menuitem}[1]{{\sffamily #1}}
49 EndPreamble
50 ResetsFont true
51 End
52 # In case we need to do with sans...
53 #InsetLayout CharStyle:Code
54 #Font
55 #Family              Sans
56 #EndFont
57 #Preamble
58 #\renewcommand{\code}[1]{{\sffamily #1}}
59 #EndPreamble
60 #End
61 InsetLayout             Flex:Ruby
62 LyxType         charstyle
63 LatexType               command
64 LatexName               ruby
65 BgColor         none
66 LabelString             "ルビ"
67 Decoration              Conglomerate
68 Argument post:1
69 LabelString     "ルビ文"
70 MenuString      "ルビ文(S)|S"
71 Decoration      Conglomerate
72 Font
73 Size            tiny
74 EndFont
75 LabelFont
76 Size            tiny
77 EndFont
78 Mandatory       1
79 EndArgument
80 Preamble
81 \IfFileExists{okumacro.sty}
82 {\usepackage{okumacro}}
83 {\newcommand{\ruby}[2]{#2}}
84 EndPreamble
85 ResetsFont true
86 End
87 \end_local_layout
88 \language japanese
89 \language_package default
90 \inputencoding auto
91 \fontencoding global
92 \font_roman "default" "default"
93 \font_sans "default" "default"
94 \font_typewriter "default" "default"
95 \font_math "auto" "auto"
96 \font_default_family default
97 \use_non_tex_fonts false
98 \font_sc false
99 \font_osf false
100 \font_sf_scale 100 100
101 \font_tt_scale 100 100
102 \use_microtype false
103 \use_dash_ligatures false
104 \graphics default
105 \default_output_format default
106 \output_sync 0
107 \bibtex_command default
108 \index_command default
109 \paperfontsize 12
110 \spacing single
111 \use_hyperref true
112 \pdf_title "LyX Configuration Manual"
113 \pdf_author "LyX Team"
114 \pdf_subject "LyX-Documentation Customization"
115 \pdf_keywords "LyX, documentation, customization"
116 \pdf_bookmarks false
117 \pdf_bookmarksnumbered true
118 \pdf_bookmarksopen true
119 \pdf_bookmarksopenlevel 1
120 \pdf_breaklinks false
121 \pdf_pdfborder false
122 \pdf_colorlinks true
123 \pdf_backref false
124 \pdf_pdfusetitle false
125 \pdf_quoted_options "driverfallback=dvipdfmx, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
126 \papersize default
127 \use_geometry false
128 \use_package amsmath 1
129 \use_package amssymb 1
130 \use_package cancel 1
131 \use_package esint 1
132 \use_package mathdots 1
133 \use_package mathtools 1
134 \use_package mhchem 1
135 \use_package stackrel 1
136 \use_package stmaryrd 1
137 \use_package undertilde 1
138 \cite_engine basic
139 \cite_engine_type default
140 \biblio_style plain
141 \use_bibtopic false
142 \use_indices false
143 \paperorientation portrait
144 \suppress_date false
145 \justification false
146 \use_refstyle 0
147 \use_minted 0
148 \notefontcolor #0000ff
149 \branch OutDated
150 \selected 0
151 \filename_suffix 0
152 \color #f5fae7
153 \end_branch
154 \index 索引
155 \shortcut idx
156 \color #008000
157 \end_index
158 \secnumdepth 3
159 \tocdepth 3
160 \paragraph_separation indent
161 \paragraph_indentation default
162 \is_math_indent 1
163 \math_indentation default
164 \math_numbering_side default
165 \quotes_style english
166 \dynamic_quotes 0
167 \papercolumns 1
168 \papersides 2
169 \paperpagestyle headings
170 \tracking_changes false
171 \output_changes false
172 \html_math_output 0
173 \html_css_as_file 0
174 \html_be_strict true
175 \end_header
176
177 \begin_body
178
179 \begin_layout Title
180 \SpecialChar LyX
181 の高度設定
182 \begin_inset Newline newline
183 \end_inset
184
185 熟練ユーザのための各機能
186 \end_layout
187
188 \begin_layout Author
189 \SpecialChar LyX
190 開発チーム
191 \begin_inset Foot
192 status collapsed
193
194 \begin_layout Plain Layout
195 \noindent
196 もしコメントや誤りの修正をお持ちでしたら,\SpecialChar LyX
197 文書化メーリングリスト
198 \begin_inset CommandInset href
199 LatexCommand href
200 target "lyx-docs@lists.lyx.org"
201 type "mailto:"
202 literal "false"
203
204 \end_inset
205
206 宛お送りください.件名ヘッダに「[Customization]」という文字を入れ,このファイルの現在のメンテナRichard Heck <rgheck@comc
207 ast.net>をccにして送ってください.
208 \end_layout
209
210 \end_inset
211
212
213 \begin_inset Newline newline
214 \end_inset
215
216
217 \begin_inset Newline newline
218 \end_inset
219
220 第2.3.x版
221 \end_layout
222
223 \begin_layout Standard
224 \begin_inset CommandInset toc
225 LatexCommand tableofcontents
226
227 \end_inset
228
229
230 \begin_inset Note Note
231 status open
232
233 \begin_layout Plain Layout
234 本文書を修正する際には,変更追跡機能を使用してください.これによって,
235 \end_layout
236
237 \begin_layout Plain Layout
238 \SpecialChar LyX
239 翻訳者陣が変更点を認識しやすくなり,メンテナが最新の状態を維持することが容易になります.
240 \end_layout
241
242 \end_inset
243
244
245 \end_layout
246
247 \begin_layout Chapter
248 はじめに
249 \end_layout
250
251 \begin_layout Standard
252 この取扱説明書は,\SpecialChar LyX
253 に備わっている高度設定機能を取り扱います.ここでは,
254 \begin_inset Flex Ruby
255 status collapsed
256
257 \begin_layout Plain Layout
258 捷径
259 \begin_inset Argument post:1
260 status collapsed
261
262 \begin_layout Plain Layout
263 ショートカット
264 \end_layout
265
266 \end_inset
267
268
269 \end_layout
270
271 \end_inset
272
273 や画面プレビューオプション,プリンタオプション,\SpecialChar LyX
274 サーバ経由での\SpecialChar LyX
275 へのコマンド送信,国際化,新しい\SpecialChar LaTeX
276 クラスや\SpecialChar LyX
277 レイアウトの導入などの題材について論じます.おそらくは変更
278 可能なことすべてについて触れることは無理でしょうが—私たちの開発者たちは私たちが文書化できる速さよりも速く新しい機能を付け加えてしまうので—,もっとも一般的な高
279 度設定については説明を行い,わかりにくいものについては正しい方向を指し示すことができるようにしていくつもりです.
280 \end_layout
281
282 \begin_layout Standard
283 \begin_inset Branch OutDated
284 inverted 0
285 status collapsed
286
287 \begin_layout Standard
288 Information from previous versions of this document that now seems to be
289  outdated is contained in the OutDated branch of this document.
290  By default, this information will not appear in the \SpecialChar LaTeX
291  output.
292 \end_layout
293
294 \end_inset
295
296
297 \end_layout
298
299 \begin_layout Chapter
300 \SpecialChar LyX
301 設定ファイル
302 \end_layout
303
304 \begin_layout Standard
305 本章の目的は,\SpecialChar LyX
306 設定ファイル群を理解するための一助となることです.本章を読み進める前に,
307 \begin_inset Flex MenuItem
308 status collapsed
309
310 \begin_layout Plain Layout
311 ヘルプ\SpecialChar menuseparator
312 LyXについて
313 \end_layout
314
315 \end_inset
316
317 を使って,\SpecialChar LyX
318 ライブラリとユーザディレクトリがどこにあるかを確認しておいてください.ライブラリディレクトリは,\SpecialChar LyX
319 がシステム全体の設定ファイルを置いておくところです.一
320 方,ユーザディレクトリは,自身がそれを修正した版を置いておくところです.私たちは,本書の以下の部分で,前者を
321 \begin_inset Flex Code
322 status collapsed
323
324 \begin_layout Plain Layout
325 LyXDir
326 \end_layout
327
328 \end_inset
329
330 と呼び,後者を
331 \begin_inset Flex MenuItem
332 status collapsed
333
334 \begin_layout Plain Layout
335 UserDir
336 \end_layout
337
338 \end_inset
339
340 と呼ぶことにします.
341 \end_layout
342
343 \begin_layout Section
344 \begin_inset Flex Code
345 status collapsed
346
347 \begin_layout Plain Layout
348 LyXDir
349 \end_layout
350
351 \end_inset
352
353 にはなにがあるの?
354 \end_layout
355
356 \begin_layout Standard
357 \begin_inset Flex Code
358 status collapsed
359
360 \begin_layout Plain Layout
361 LyXDir
362 \end_layout
363
364 \end_inset
365
366 とそのサブディレクトリには,多くのファイルがあり,\SpecialChar LyX
367 の挙動を高度設定するのに使用されます.これらのファイルの多くは,\SpecialChar LyX
368 内の
369 \begin_inset Flex MenuItem
370 status collapsed
371
372 \begin_layout Plain Layout
373 ツール\SpecialChar menuseparator
374 設定
375 \end_layout
376
377 \end_inset
378
379 ダイアログから変更することができます.\SpecialChar LyX
380 中で行いたいと思うような高度設定は,ほとんどこのダイアログから行うことができるようになっています.しかしながら,LyXの他
381 の多くの内部動作は,
382 \begin_inset Flex Code
383 status collapsed
384
385 \begin_layout Plain Layout
386 LyXDir
387 \end_layout
388
389 \end_inset
390
391 のファイルを修正することで高度設定されます.これらのファイルは様々なカテゴリに分類しうるので,以下の各小節で説明します.
392 \end_layout
393
394 \begin_layout Subsection
395 自動的に生成されるファイル
396 \end_layout
397
398 \begin_layout Standard
399 \begin_inset Flex MenuItem
400 status collapsed
401
402 \begin_layout Plain Layout
403 UserDir
404 \end_layout
405
406 \end_inset
407
408 にある各ファイルは,\SpecialChar LyX
409 が自動設定を行ったときに生成されます.これらのファイルは,内部調査中に推測された様々な既定値が置かれています.これらは,随時上書きされてしま
410 うので,一般的には修正しないことが望まれます.
411 \end_layout
412
413 \begin_layout Labeling
414 \labelwidthstring 00.00.0000
415 \begin_inset Flex Code
416 status collapsed
417
418 \begin_layout Plain Layout
419 lyxrc.defaults
420 \end_layout
421
422 \end_inset
423
424  このファイルには,様々な既定コマンドが置かれています.
425 \end_layout
426
427 \begin_layout Labeling
428 \labelwidthstring 00.00.0000
429 \begin_inset Flex Code
430 status collapsed
431
432 \begin_layout Plain Layout
433 packages.lst
434 \end_layout
435
436 \end_inset
437
438  このファイルには,\SpecialChar LyX
439 が認識したパッケージの一覧が収められています.現在のところ,これは\SpecialChar LyX
440 プログラム自体には使用されていませんが,抽出された情報その他は,
441 \begin_inset Flex MenuItem
442 status collapsed
443
444 \begin_layout Plain Layout
445 ヘルプ\SpecialChar menuseparator
446 LaTeXの設定
447 \end_layout
448
449 \end_inset
450
451 で見ることができます.
452 \end_layout
453
454 \begin_layout Labeling
455 \labelwidthstring 00.00.0000
456 \begin_inset Flex Code
457 status collapsed
458
459 \begin_layout Plain Layout
460 textclass.lst
461 \end_layout
462
463 \end_inset
464
465  ユーザの
466 \begin_inset Flex Code
467 status collapsed
468
469 \begin_layout Plain Layout
470 Plain L
471 \end_layout
472
473 \end_inset
474
475 ディレクトリで検出されたテキストクラスと,関連した\SpecialChar LaTeX
476 文書クラスおよびその説明の一覧です.
477 \end_layout
478
479 \begin_layout Labeling
480 \labelwidthstring 00.00.0000
481 \begin_inset Flex Code
482 status collapsed
483
484 \begin_layout Plain Layout
485 lyxmodules.lst
486 \end_layout
487
488 \end_inset
489
490  ユーザの
491 \begin_inset Flex Code
492 status collapsed
493
494 \begin_layout Plain Layout
495 layout/
496 \end_layout
497
498 \end_inset
499
500 ディレクトリで検出されたレイアウトモジュールの一覧です.
501 \end_layout
502
503 \begin_layout Labeling
504 \labelwidthstring 00.00.0000
505 \begin_inset Flex Code
506 status collapsed
507
508 \begin_layout Plain Layout
509 *files.lst
510 \end_layout
511
512 \end_inset
513
514  ご使用のシステムで検出された様々な種類の\SpecialChar LaTeX
515 関連ファイルの一覧です.
516 \end_layout
517
518 \begin_layout Labeling
519 \labelwidthstring 00.00.0000
520 \begin_inset Flex Code
521 status collapsed
522
523 \begin_layout Plain Layout
524 doc/LaTeXConfig.lyx
525 \end_layout
526
527 \end_inset
528
529  このファイルは,自動設定中に
530 \begin_inset Flex Code
531 status collapsed
532
533 \begin_layout Plain Layout
534 LaTeXConfig.lyx.in
535 \end_layout
536
537 \end_inset
538
539 から自動的に生成されます.ご使用中の\SpecialChar LaTeX
540 の設定に関する情報が納められています.
541 \end_layout
542
543 \begin_layout Subsection
544 ディレクトリ
545 \end_layout
546
547 \begin_layout Standard
548 以下の各ディレクトリは,
549 \begin_inset Flex Code
550 status collapsed
551
552 \begin_layout Plain Layout
553 LyXDir
554 \end_layout
555
556 \end_inset
557
558
559 \begin_inset Flex Code
560 status collapsed
561
562 \begin_layout Plain Layout
563 UserDir
564 \end_layout
565
566 \end_inset
567
568 に重複して存在します.特定のファイルが両方の場所にある場合には,
569 \begin_inset Flex Code
570 status collapsed
571
572 \begin_layout Plain Layout
573 UserDir
574 \end_layout
575
576 \end_inset
577
578 の方にあるものが使用されます.
579 \end_layout
580
581 \begin_layout Labeling
582 \labelwidthstring 00.00.0000
583 \begin_inset Flex Code
584 status collapsed
585
586 \begin_layout Plain Layout
587 bind/
588 \end_layout
589
590 \end_inset
591
592  このディレクトリには,\SpecialChar LyX
593 で使用されるキー割当を定義している,拡張子が
594 \begin_inset Flex Code
595 status collapsed
596
597 \begin_layout Plain Layout
598 .bind
599 \end_layout
600
601 \end_inset
602
603 のファイルが置かれています.
604 \begin_inset Flex Code
605 status collapsed
606
607 \begin_layout Plain Layout
608 $LANG_xxx.bind
609 \end_layout
610
611 \end_inset
612
613 という名称の割当ファイルの各国語版がある場合には,そちらが用いられます.
614 \end_layout
615
616 \begin_layout Labeling
617 \labelwidthstring 00.00.0000
618 \begin_inset Flex Code
619 status collapsed
620
621 \begin_layout Plain Layout
622 citeengines/
623 \end_layout
624
625 \end_inset
626
627  このディレクトリには,幅広い文献引用力(natbib, biblatexなど)を定義する,拡張子が
628 \begin_inset Flex Code
629 status collapsed
630
631 \begin_layout Plain Layout
632 .citeengine
633 \end_layout
634
635 \end_inset
636
637 のファイルが置かれています.詳細については,第
638 \begin_inset CommandInset ref
639 LatexCommand ref
640 reference "subsec:引用エンジンファイル"
641 plural "false"
642 caps "false"
643 noprefix "false"
644
645 \end_inset
646
647 節をご覧ください.
648 \end_layout
649
650 \begin_layout Labeling
651 \labelwidthstring 00.00.0000
652 \begin_inset Flex Code
653 status collapsed
654
655 \begin_layout Plain Layout
656 clipart/
657 \end_layout
658
659 \end_inset
660
661  このディレクトリには,文書に取り込むことのできる画像ファイルが納められています.
662 \end_layout
663
664 \begin_layout Labeling
665 \labelwidthstring 00.00.0000
666 \begin_inset Flex Code
667 status collapsed
668
669 \begin_layout Plain Layout
670 doc/
671 \end_layout
672
673 \end_inset
674
675  このディレクトリには,\SpecialChar LyX
676 の取扱説明書ファイル(今お読みのものも含めて)が納められています.上述のように,
677 \begin_inset Flex Code
678 status collapsed
679
680 \begin_layout Plain Layout
681 LaTeXConfig.lyx
682 \end_layout
683
684 \end_inset
685
686 ファイルは特に注目に値します.各国語版のヘルプ文書は,
687 \begin_inset Flex Code
688 status collapsed
689
690 \begin_layout Plain Layout
691 doc/xx
692 \end_layout
693
694 \end_inset
695
696 (「xx」はISO言語コード)サブディレクトリにあります.詳しくは,
697 \begin_inset CommandInset ref
698 LatexCommand ref
699 reference "cha:LyXの各国語対応"
700
701 \end_inset
702
703 をご覧ください.
704 \end_layout
705
706 \begin_layout Labeling
707 \labelwidthstring 00.00.0000
708 \begin_inset Flex Code
709 status collapsed
710
711 \begin_layout Plain Layout
712 examples/
713 \end_layout
714
715 \end_inset
716
717  このディレクトリには,何らかの機能の使い方を説明する例示ファイルが納められています.ファイルブラウザ中で
718 \begin_inset Flex MenuItem
719 status collapsed
720
721 \begin_layout Plain Layout
722 用例
723 \end_layout
724
725 \end_inset
726
727 ボタンを押すと,このディレクトリが表示されます.
728 \end_layout
729
730 \begin_layout Labeling
731 \labelwidthstring 00.00.0000
732 \begin_inset Flex Code
733 status collapsed
734
735 \begin_layout Plain Layout
736 images/
737 \end_layout
738
739 \end_inset
740
741  このディレクトリには,
742 \begin_inset Flex MenuItem
743 status collapsed
744
745 \begin_layout Plain Layout
746 文書
747 \end_layout
748
749 \end_inset
750
751 ダイアログで使用される画像ファイルが納められています.さらに,ツールバーの各アイコンや,\SpecialChar LyX
752 を起動したときに現れるバナーも納められています.
753 \end_layout
754
755 \begin_layout Labeling
756 \labelwidthstring 00.00.0000
757 \begin_inset Flex Code
758 status collapsed
759
760 \begin_layout Plain Layout
761 kbd/
762 \end_layout
763
764 \end_inset
765
766  このディレクトリには,キーボードのキー割当ファイルが納められています.詳細については,
767 \begin_inset CommandInset ref
768 LatexCommand ref
769 reference "sec:国際キー配列"
770
771 \end_inset
772
773 をご覧ください.
774 \end_layout
775
776 \begin_layout Labeling
777 \labelwidthstring 00.00.0000
778 \begin_inset Flex Code
779 status collapsed
780
781 \begin_layout Plain Layout
782 layouts/
783 \end_layout
784
785 \end_inset
786
787  このディレクトリには,
788 \begin_inset CommandInset ref
789 LatexCommand ref
790 reference "cha:新規文書を導入"
791
792 \end_inset
793
794 に述べられているテキストクラスおよびモジュールのファイルが納められています.
795 \end_layout
796
797 \begin_layout Labeling
798 \labelwidthstring 00.00.0000
799 \begin_inset Flex Code
800 status collapsed
801
802 \begin_layout Plain Layout
803 lyx2lyx
804 \end_layout
805
806 \end_inset
807
808  このディレクトリには,\SpecialChar LyX
809 の各バージョン間の変換に使用される
810 \begin_inset Flex Code
811 status collapsed
812
813 \begin_layout Plain Layout
814 lyx2lyx
815 \end_layout
816
817 \end_inset
818
819  Pythonスクリプトが納められています.たとえば,複数のファイルの変換をバッチ処理したい場合には,これらをコマンドラインから実行することもできます.
820 \end_layout
821
822 \begin_layout Labeling
823 \labelwidthstring 00.00.0000
824 \begin_inset Flex Code
825 status collapsed
826
827 \begin_layout Plain Layout
828 scripts/
829 \end_layout
830
831 \end_inset
832
833  このディレクトリには,
834 \begin_inset Flex MenuItem
835 status collapsed
836
837 \begin_layout Plain Layout
838 外用ひな型
839 \end_layout
840
841 \end_inset
842
843 機能の有用性を示すためのファイルがいくつか納められています.\SpecialChar LyX
844 自身が使用するスクリプトもいくつか収められています.
845 \end_layout
846
847 \begin_layout Labeling
848 \labelwidthstring 00.00.0000
849 \begin_inset Flex Code
850 status collapsed
851
852 \begin_layout Plain Layout
853 templates/
854 \end_layout
855
856 \end_inset
857
858  このディレクトリには,
859 \begin_inset CommandInset ref
860 LatexCommand ref
861 reference "sec:ひな型を作成する"
862
863 \end_inset
864
865 で述べられている標準の\SpecialChar LyX
866 ひな型ファイルが納められています.
867 \end_layout
868
869 \begin_layout Labeling
870 \labelwidthstring 00.00.0000
871 \begin_inset Flex Code
872 status collapsed
873
874 \begin_layout Plain Layout
875 ui/
876 \end_layout
877
878 \end_inset
879
880  このディレクトリには,\SpecialChar LyX
881 の操作画面を定義する拡張子
882 \begin_inset Flex Code
883 status collapsed
884
885 \begin_layout Plain Layout
886 .ui
887 \end_layout
888
889 \end_inset
890
891 のファイルが納められています.つまり,これらのファイルは,どのメニュー項目がどのメニューに現れるかを定義し,どの項目がツールバーに現れるかを定義しています.
892 \end_layout
893
894 \begin_layout Labeling
895 \labelwidthstring 00.00.0000
896 \begin_inset Flex Code
897 status collapsed
898
899 \begin_layout Plain Layout
900 xtemplates/
901 \end_layout
902
903 \end_inset
904
905  このディレクトリには,\SpecialChar LyX
906 文書への外部素材の挿入のひな型を定義する,拡張子が
907 \begin_inset Flex Code
908 status collapsed
909
910 \begin_layout Plain Layout
911 .xtemplate
912 \end_layout
913
914 \end_inset
915
916 のファイルが置かれています.第
917 \begin_inset CommandInset ref
918 LatexCommand ref
919 reference "chap:外部素材を取り込む"
920 plural "false"
921 caps "false"
922 noprefix "false"
923
924 \end_inset
925
926 節参照.
927 \end_layout
928
929 \begin_layout Subsection
930 変更を加えない方がよいファイル
931 \end_layout
932
933 \begin_layout Standard
934 これらのファイルは\SpecialChar LyX
935 が内部的に使用するもので,あなたが開発者でない限りは,凡そこれらに変更を加える必要はありません.
936 \end_layout
937
938 \begin_layout Labeling
939 \labelwidthstring 00.00.0000
940 \begin_inset Flex Code
941 status collapsed
942
943 \begin_layout Plain Layout
944 CREDITS
945 \end_layout
946
947 \end_inset
948
949  このファイルは,\SpecialChar LyX
950 開発陣の名簿です.この内容は,メニュー項目
951 \begin_inset Flex MenuItem
952 status collapsed
953
954 \begin_layout Plain Layout
955 ヘルプ\SpecialChar menuseparator
956 LyXについて
957 \end_layout
958
959 \end_inset
960
961 で表示されます.
962 \end_layout
963
964 \begin_layout Labeling
965 \labelwidthstring 00.00.0000
966 \begin_inset Flex Code
967 status collapsed
968
969 \begin_layout Plain Layout
970 chkconfig.ltx
971 \end_layout
972
973 \end_inset
974
975  これは,自動設定プロセスによって使用される\SpecialChar LaTeX
976 スクリプトです.直接実行しないでください.
977 \end_layout
978
979 \begin_layout Labeling
980 \labelwidthstring 00.00.0000
981 \begin_inset Flex Code
982 status collapsed
983
984 \begin_layout Plain Layout
985 configure.py
986 \end_layout
987
988 \end_inset
989
990  これは,\SpecialChar LyX
991 の環境構成によって使用されるスクリプトです.これは,このスクリプトを実行したディレクトリに設定ファイルを生成します.
992 \end_layout
993
994 \begin_layout Subsection
995 ひとこと必要なファイル群
996 \end_layout
997
998 \begin_layout Labeling
999 \labelwidthstring 00.00.0000
1000 \begin_inset Flex Code
1001 status collapsed
1002
1003 \begin_layout Plain Layout
1004 encodings
1005 \end_layout
1006
1007 \end_inset
1008
1009  このファイルには,各文字エンコーディングがどのようにUnicodeにマップされるかを示した表が載っています.
1010 \end_layout
1011
1012 \begin_layout Labeling
1013 \labelwidthstring 00.00.0000
1014 \begin_inset Flex Code
1015 status collapsed
1016
1017 \begin_layout Plain Layout
1018 languages
1019 \end_layout
1020
1021 \end_inset
1022
1023  このファイルには,現在\SpecialChar LyX
1024 がサポートしている言語の全一覧が載っています.
1025 \end_layout
1026
1027 \begin_layout Labeling
1028 \labelwidthstring 00.00.0000
1029 \begin_inset Flex Code
1030 status collapsed
1031
1032 \begin_layout Plain Layout
1033 latexfonts
1034 \end_layout
1035
1036 \end_inset
1037
1038  サポートされているフォントに関する情報が掲載されています.
1039 \end_layout
1040
1041 \begin_layout Labeling
1042 \labelwidthstring 00.00.0000
1043 \begin_inset Flex Code
1044 status collapsed
1045
1046 \begin_layout Plain Layout
1047 layouttranslations
1048 \end_layout
1049
1050 \end_inset
1051
1052  このファイルは,国際化された段落様式の翻訳が収録されています(
1053 \begin_inset CommandInset ref
1054 LatexCommand ref
1055 reference "subsec:段落様式の国際化"
1056
1057 \end_inset
1058
1059 参照).
1060 \end_layout
1061
1062 \begin_layout Labeling
1063 \labelwidthstring 00.00.0000
1064 \begin_inset Flex Code
1065 status collapsed
1066
1067 \begin_layout Plain Layout
1068 unicodesymbols
1069 \end_layout
1070
1071 \end_inset
1072
1073  このファイルは,unicodeエンコーディングされたグリフに関する情報と,\SpecialChar LyX
1074 が\SpecialChar LaTeX
1075 を介してそれらをどのようにサポートしているかについての情報を含んでいます.
1076 \end_layout
1077
1078 \begin_layout Section
1079 ユーザのローカル設定ディレクトリ
1080 \end_layout
1081
1082 \begin_layout Standard
1083 \SpecialChar LyX
1084 を非特権ユーザとして利用している場合でも,自分自身で使うために,\SpecialChar LyX
1085 の設定を変更したいと思うかもしれません.
1086 \begin_inset Flex Code
1087 status collapsed
1088
1089 \begin_layout Plain Layout
1090 UserDir
1091 \end_layout
1092
1093 \end_inset
1094
1095 ディレクトリには,すべての個人設定ファイルが収められています.これは,
1096 \begin_inset Flex MenuItem
1097 status collapsed
1098
1099 \begin_layout Plain Layout
1100 ヘルプ\SpecialChar menuseparator
1101 LyXについて
1102 \end_layout
1103
1104 \end_inset
1105
1106 で「ユーザーディレクトリ」として言及されているディレクトリです.このディレクトリは,
1107 \begin_inset Flex Code
1108 status collapsed
1109
1110 \begin_layout Plain Layout
1111 LyXDir
1112 \end_layout
1113
1114 \end_inset
1115
1116 のミラーとして使用されており,これは
1117 \begin_inset Flex Code
1118 status collapsed
1119
1120 \begin_layout Plain Layout
1121 UserDir
1122 \end_layout
1123
1124 \end_inset
1125
1126 内のすべてのファイルが,
1127 \begin_inset Flex Code
1128 status collapsed
1129
1130 \begin_layout Plain Layout
1131 LyXDir
1132 \end_layout
1133
1134 \end_inset
1135
1136 すし,自分自身で使うために個人のローカルディレクトリに置くこともできます.
1137 \end_layout
1138
1139 \begin_layout Standard
1140 わかりやすくするために,いくつか例を挙げましょう.
1141 \end_layout
1142
1143 \begin_layout Itemize
1144 \begin_inset Flex MenuItem
1145 status collapsed
1146
1147 \begin_layout Plain Layout
1148 ツール\SpecialChar menuseparator
1149 設定
1150 \end_layout
1151
1152 \end_inset
1153
1154 ダイアログで設定されるユーザ設定は,
1155 \begin_inset Flex Code
1156 status collapsed
1157
1158 \begin_layout Plain Layout
1159 UserDir
1160 \end_layout
1161
1162 \end_inset
1163
1164 中の
1165 \begin_inset Flex Code
1166 status collapsed
1167
1168 \begin_layout Plain Layout
1169 preferences
1170 \end_layout
1171
1172 \end_inset
1173
1174 ファイルに保存されます.
1175 \end_layout
1176
1177 \begin_layout Itemize
1178 \begin_inset Flex MenuItem
1179 status collapsed
1180
1181 \begin_layout Plain Layout
1182 ツール\SpecialChar menuseparator
1183 環境構成
1184 \end_layout
1185
1186 \end_inset
1187
1188 を使用して環境構成を行うと,\SpecialChar LyX
1189
1190 \begin_inset Flex Code
1191 status collapsed
1192
1193 \begin_layout Plain Layout
1194 configure.py
1195 \end_layout
1196
1197 \end_inset
1198
1199 スクリプトを実行し,その結果のファイルは,ご自身のローカル設定ディレクトリに書き込まれます.これはすなわち,
1200 \begin_inset Flex Code
1201 status collapsed
1202
1203 \begin_layout Plain Layout
1204 UserDir/layouts
1205 \end_layout
1206
1207 \end_inset
1208
1209 にご自身で追加したテキストファイルは,
1210 \begin_inset Flex MenuItem
1211 status collapsed
1212
1213 \begin_layout Plain Layout
1214 文書\SpecialChar menuseparator
1215 設定
1216 \end_layout
1217
1218 \end_inset
1219
1220 ダイアログのクラス一覧に表示されるようになることを意味します.
1221 \end_layout
1222
1223 \begin_layout Itemize
1224 たとえば,\SpecialChar LyX
1225 のFTPサイトから最新の取扱説明書をとってきたものの,使用中のシステム上で管理者権限がないために,それをインストールすることができなかったとしても,そ
1226 れらのファイルを
1227 \begin_inset Flex Code
1228 status collapsed
1229
1230 \begin_layout Plain Layout
1231 UserDir/doc/
1232 \end_layout
1233
1234 \end_inset
1235
1236 ディレクトリにコピーすれば,
1237 \begin_inset Flex MenuItem
1238 status collapsed
1239
1240 \begin_layout Plain Layout
1241 ヘルプ
1242 \end_layout
1243
1244 \end_inset
1245
1246 メニュー項目はこれらを開くようになります!
1247 \end_layout
1248
1249 \begin_layout Section
1250 \SpecialChar LyX
1251 を複数の設定を使って実行するには
1252 \end_layout
1253
1254 \begin_layout Standard
1255 ローカル設定ディレクトリにおいて設定の自由度があるだけでは,2つ以上の設定を自由に使いこなしたい場合には充分ではないかもしれません.たとえば,使用する度に異なる
1256 キー割当を使用したり,異なるプリンタ設定を使用したいことがあるかもしれません.これは,複数の設定ディレクトリを作ることで実現することができます.そして,実行時に
1257 どのディレクトリを使用するか指定するのです.
1258 \end_layout
1259
1260 \begin_layout Standard
1261 \SpecialChar LyX
1262 をコマンドラインスイッチ
1263 \begin_inset Flex Code
1264 status collapsed
1265
1266 \begin_layout Plain Layout
1267 -userdir
1268 \end_layout
1269
1270 \end_inset
1271
1272 P
1273 \emph on
1274 <ディレクトリ名>
1275 \emph default
1276 と共に起動すると,設定を既定のディレクトリではなく,指定したディレクトリから読み込むように,指示することになります(\SpecialChar LyX
1277
1278 \begin_inset Flex Code
1279 status collapsed
1280
1281 \begin_layout Plain Layout
1282 -userdir
1283 \end_layout
1284
1285 \end_inset
1286
1287 スイッチなしで実行すれば,既定ディレクトリを指定することになります).指定したディレクトリが存在しない場合には,\SpecialChar LyX
1288 は,初めて\SpecialChar LyX
1289 を実行したときに既定ディレクトリを訊い
1290 てくるのと同様に,そのディレクトリを作るかどうか訊いてきます.この追加したユーザディレクトリでは,既定ディレクトリで行うのと全く同じように設定オプションを修正す
1291 ることができます.これらのディレクトリは完全に独立しています(が,読み進めてください).また,環境変数
1292 \begin_inset Flex Code
1293 status collapsed
1294
1295 \begin_layout Plain Layout
1296 LYX_USERDIR_20x
1297 \end_layout
1298
1299 \end_inset
1300
1301 を特定の値に設定しても,全く同じ効果があります.
1302 \end_layout
1303
1304 \begin_layout Standard
1305 複数の設定を持つことはまた,維持の手間も増えるということです.もし新しいレイアウトを
1306 \begin_inset Flex Code
1307 status collapsed
1308
1309 \begin_layout Plain Layout
1310 NewUserDir/layouts
1311 \end_layout
1312
1313 \end_inset
1314
1315 に加えて,これをすべての設定で利用できるようにしたいならば,これをすべての設定ディレクトリで個々に付け加えなくてはなりません.これを避けるには,次のようなトリッ
1316 クを使用してください.\SpecialChar LyX
1317 が新しい設定ディレクトリを生成すると,そのサブディレクトリ(上記参照)はほとんど空です.新しい設定が既存のものをミラーするようにするには,
1318 空のサブディレクトリを,既存の設定の対応するサブディレクトリへのシンボリックリンクに置き換えてください.ただし
1319 \begin_inset Flex Code
1320 status collapsed
1321
1322 \begin_layout Plain Layout
1323 doc/
1324 \end_layout
1325
1326 \end_inset
1327
1328 サブディレクトリには,設定スクリプト(
1329 \begin_inset Flex MenuItem
1330 status collapsed
1331
1332 \begin_layout Plain Layout
1333 ツール\SpecialChar menuseparator
1334 環境構成
1335 \end_layout
1336
1337 \end_inset
1338
1339 で使用可能)が書き出した,設定毎に異なるファイルが含まれていますので,注意を払ってください.
1340 \end_layout
1341
1342 \begin_layout Chapter
1343 設定ダイアログ
1344 \end_layout
1345
1346 \begin_layout Standard
1347 設定ダイアログのオプションのすべては,
1348 \emph on
1349 ユーザーの手引き
1350 \emph default
1351 の付録
1352 \emph on
1353 設定ダイアログ
1354 \emph default
1355 に述べられています.オプションのうちいくつかについて,ここでさらに詳細に説明します.
1356 \end_layout
1357
1358 \begin_layout Section
1359 ファイル形式
1360 \begin_inset CommandInset label
1361 LatexCommand label
1362 name "sec:ファイル形式"
1363
1364 \end_inset
1365
1366
1367 \end_layout
1368
1369 \begin_layout Standard
1370 ファイル形式が定義されていない場合,はじめの一歩は,使いたいと思うファイル形式を定義することです.それには,
1371 \begin_inset Flex MenuItem
1372 status collapsed
1373
1374 \begin_layout Plain Layout
1375 ツール\SpecialChar menuseparator
1376 設定
1377 \end_layout
1378
1379 \end_inset
1380
1381 ダイアログを開いてください.
1382 \begin_inset Flex MenuItem
1383 status collapsed
1384
1385 \begin_layout Plain Layout
1386 ファイル処理\SpecialChar menuseparator
1387 ファイル形式
1388 \end_layout
1389
1390 \end_inset
1391
1392 の中で
1393 \begin_inset Flex MenuItem
1394 status collapsed
1395
1396 \begin_layout Plain Layout
1397 新規\SpecialChar ldots
1398
1399 \end_layout
1400
1401 \end_inset
1402
1403 ボタンを押して,登録する新しい形式を定義してください.
1404 \begin_inset Flex MenuItem
1405 status collapsed
1406
1407 \begin_layout Plain Layout
1408 形式
1409 \end_layout
1410
1411 \end_inset
1412
1413 フィールドは,GUI中で形式を認識するために用いられる名称です.
1414 \begin_inset Flex MenuItem
1415 status collapsed
1416
1417 \begin_layout Plain Layout
1418 短縮名
1419 \end_layout
1420
1421 \end_inset
1422
1423 は,形式を内部的に識別するために用いられます.さらにファイル拡張子も入力する必要があります.これらはすべて必須事項です.オプションの
1424 \begin_inset Flex MenuItem
1425 status collapsed
1426
1427 \begin_layout Plain Layout
1428 捷径
1429 \end_layout
1430
1431 \end_inset
1432
1433 フィールドは,メニュー中で
1434 \begin_inset Flex Ruby
1435 status collapsed
1436
1437 \begin_layout Plain Layout
1438 捷径
1439 \begin_inset Argument post:1
1440 status collapsed
1441
1442 \begin_layout Plain Layout
1443 ショートカット
1444 \end_layout
1445
1446 \end_inset
1447
1448
1449 \end_layout
1450
1451 \end_inset
1452
1453 を提供するのに使用されます(たとえば,
1454 \begin_inset Flex MenuItem
1455 status collapsed
1456
1457 \begin_layout Plain Layout
1458 Ctrl+D
1459 \end_layout
1460
1461 \end_inset
1462
1463 を押すと
1464 \begin_inset Flex MenuItem
1465 status collapsed
1466
1467 \begin_layout Plain Layout
1468 表示\SpecialChar menuseparator
1469 DVI
1470 \end_layout
1471
1472 \end_inset
1473
1474 となります).
1475 \end_layout
1476
1477 \begin_layout Standard
1478 形式には,
1479 \begin_inset Flex MenuItem
1480 status collapsed
1481
1482 \begin_layout Plain Layout
1483 閲覧プログラム
1484 \end_layout
1485
1486 \end_inset
1487
1488
1489 \begin_inset Flex MenuItem
1490 status collapsed
1491
1492 \begin_layout Plain Layout
1493 編集プログラム
1494 \end_layout
1495
1496 \end_inset
1497
1498 を関連づけることができます.たとえば,PostScriptファイルを閲覧するのに
1499 \begin_inset Flex MenuItem
1500 status collapsed
1501
1502 \begin_layout Plain Layout
1503 Ghostview
1504 \end_layout
1505
1506 \end_inset
1507
1508 を使用したいとしましょう.このプログラムを起動するのに必要なコマンドを対応するフィールドに入力します.ここで,コマンドを定義するのに,次節に掲げる4つの変数を用
1509 いることができます.この閲覧プログラムは,\SpecialChar LyX
1510 中で画像を閲覧したり
1511 \begin_inset Flex MenuItem
1512 status collapsed
1513
1514 \begin_layout Plain Layout
1515 表示
1516 \end_layout
1517
1518 \end_inset
1519
1520 メニューを使用したときに起動されます.一方,編集プログラムは,たとえば,画像を右クリックして現れるコンテクストメニューで
1521 \begin_inset Flex MenuItem
1522 status collapsed
1523
1524 \begin_layout Plain Layout
1525 外部で編集
1526 \end_layout
1527
1528 \end_inset
1529
1530 を選択したときに起動します.
1531 \end_layout
1532
1533 \begin_layout Standard
1534 ファイル形式の
1535 \begin_inset Flex MenuItem
1536 status collapsed
1537
1538 \begin_layout Plain Layout
1539 MIME
1540 \end_layout
1541
1542 \end_inset
1543
1544 型は必須ではありませんが,指定するときには,すべての形式の中で一意的なものでなくてはなりません.これは,この形式のファイルをファイル内容から検出するのに用いられ
1545 ます.重要なファイル形式のうちには,
1546 \begin_inset CommandInset href
1547 LatexCommand href
1548 name "IANA"
1549 target "http://www.iana.org/assignments/media-types/"
1550 literal "false"
1551
1552 \end_inset
1553
1554 に公式に登録されたMIME型がないものがあります.そこで,\SpecialChar LyX
1555 は,
1556 \begin_inset CommandInset href
1557 LatexCommand href
1558 name "freedesktop.org"
1559 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1560 literal "false"
1561
1562 \end_inset
1563
1564 で指定されているMIME型拡張表を使用しています.
1565 \end_layout
1566
1567 \begin_layout Standard
1568 \begin_inset Flex MenuItem
1569 status collapsed
1570
1571 \begin_layout Plain Layout
1572 文書形式
1573 \end_layout
1574
1575 \end_inset
1576
1577 オプションは,\SpecialChar LyX
1578 に,この形式が文書として書き出すのに適していることを指示するものです.このオプションが有効となっていて,適切な変換経路が存在する場合には(第
1579 \begin_inset CommandInset ref
1580 LatexCommand ref
1581 reference "sec:変換子"
1582
1583 \end_inset
1584
1585 節を参照),この形式が
1586 \begin_inset Flex MenuItem
1587 status collapsed
1588
1589 \begin_layout Plain Layout
1590 ファイル\SpecialChar menuseparator
1591 書き出し
1592 \end_layout
1593
1594 \end_inset
1595
1596
1597 \begin_inset Flex MenuItem
1598 status collapsed
1599
1600 \begin_layout Plain Layout
1601 表示
1602 \end_layout
1603
1604 \end_inset
1605
1606 footlabel Label color for footnotす.
1607 \begin_inset Flex Code
1608 status collapsed
1609
1610 \begin_layout Plain Layout
1611 png
1612 \end_layout
1613
1614 \end_inset
1615
1616 のような純粋な画像形式は,このオプションを有効にしてはいけません.
1617 \begin_inset Flex Code
1618 status collapsed
1619
1620 \begin_layout Plain Layout
1621 pdf
1622 \end_layout
1623
1624 \end_inset
1625
1626 のようにベクター画像であると同時に文書でもあるような形式は,これを有効にします.
1627 \end_layout
1628
1629 \begin_layout Standard
1630 \begin_inset Flex MenuItem
1631 status collapsed
1632
1633 \begin_layout Plain Layout
1634 ベクター画像形式
1635 \end_layout
1636
1637 \end_inset
1638
1639 オプションは,\SpecialChar LyX
1640 にこの形式がベクター画像を含みうることを教示するものです.この情報は,
1641 \begin_inset Flex MenuItem
1642 status collapsed
1643
1644 \begin_layout Plain Layout
1645 pdflatex
1646 \end_layout
1647
1648 \end_inset
1649
1650 を書き出す際に,内包されている画像をどの形式に変換するかを決定するのに使用されます.
1651 \begin_inset Flex MenuItem
1652 status collapsed
1653
1654 \begin_layout Plain Layout
1655 pdflatex
1656 \end_layout
1657
1658 \end_inset
1659
1660 は,
1661 \begin_inset Flex MenuItem
1662 status collapsed
1663
1664 \begin_layout Plain Layout
1665 pdf
1666 \end_layout
1667
1668 \end_inset
1669
1670
1671 \begin_inset Flex MenuItem
1672 status collapsed
1673
1674 \begin_layout Plain Layout
1675 png
1676 \end_layout
1677
1678 \end_inset
1679
1680
1681 \begin_inset Flex MenuItem
1682 status collapsed
1683
1684 \begin_layout Plain Layout
1685 Des
1686 \end_layout
1687
1688 \end_inset
1689
1690 以外の画像形式を取り扱うことができないので,内包されている画像は,これらの形式に変換される必要があるかもしれない為です.内包されている画像が既に
1691 \begin_inset Flex MenuItem
1692 status collapsed
1693
1694 \begin_layout Plain Layout
1695 pdf
1696 \end_layout
1697
1698 \end_inset
1699
1700
1701 \begin_inset Flex MenuItem
1702 status collapsed
1703
1704 \begin_layout Plain Layout
1705 png
1706 \end_layout
1707
1708 \end_inset
1709
1710
1711 \begin_inset Flex MenuItem
1712 status collapsed
1713
1714 \begin_layout Plain Layout
1715 jpg
1716 \end_layout
1717
1718 \end_inset
1719
1720 のいずれかになっていない場合には,ベクター画像形式オプションが有効になっている場合には
1721 \begin_inset Flex MenuItem
1722 status collapsed
1723
1724 \begin_layout Plain Layout
1725 pdf
1726 \end_layout
1727
1728 \end_inset
1729
1730 に変換され,そうでない場合には
1731 \begin_inset Flex MenuItem
1732 status collapsed
1733
1734 \begin_layout Plain Layout
1735 png
1736 \end_layout
1737
1738 \end_inset
1739
1740 に変換されます.
1741 \end_layout
1742
1743 \begin_layout Section
1744 複写子
1745 \end_layout
1746
1747 \begin_layout Standard
1748 形式の変換はすべて,\SpecialChar LyX
1749 の一時ディレクトリで行われるため,変換用にファイルを一時ディレクトリにコピーする前段階で,ファイルに変更を加える必要のあることがあります
1750 \begin_inset Foot
1751 status collapsed
1752
1753 \begin_layout Plain Layout
1754 たとえば,ファイルが他のファイル—たとえば画像—を,相対ファイル名を用いて参照している場合,このファイルが一時ディレクトリにコピーされると参照が無効になる場合が
1755 あります.
1756 \end_layout
1757
1758 \end_inset
1759
1760 .これは複写子によって取り扱われ,複写子は,ファイルを一時ディレクトリに(あるいは一時ディレクトリから)コピーすると同時に,その過程でファイルに変更を加えます.
1761 \end_layout
1762
1763 \begin_layout Standard
1764 複写子の定義においては,以下の8つの変数を用いることができます.
1765 \end_layout
1766
1767 \begin_layout Labeling
1768 \labelwidthstring 00.00.0000
1769 \begin_inset Flex Code
1770 status collapsed
1771
1772 \begin_layout Plain Layout
1773 $$s
1774 \end_layout
1775
1776 \end_inset
1777
1778  \SpecialChar LyX
1779 のシステムディレクトリ(例:
1780 \begin_inset Flex MenuItem
1781 status collapsed
1782
1783 \begin_layout Plain Layout
1784 /usr/share/lyx
1785 \end_layout
1786
1787 \end_inset
1788
1789
1790 \end_layout
1791
1792 \begin_layout Labeling
1793 \labelwidthstring 00.00.0000
1794 \begin_inset Flex Code
1795 status collapsed
1796
1797 \begin_layout Plain Layout
1798 $$i
1799 \end_layout
1800
1801 \end_inset
1802
1803  入力ファイル
1804 \end_layout
1805
1806 \begin_layout Labeling
1807 \labelwidthstring 00.00.0000
1808 \begin_inset Flex Code
1809 status collapsed
1810
1811 \begin_layout Plain Layout
1812 $$o
1813 \end_layout
1814
1815 \end_inset
1816
1817  出力ファイル
1818 \end_layout
1819
1820 \begin_layout Labeling
1821 \labelwidthstring 00.00.0000
1822 \begin_inset Flex Code
1823 status collapsed
1824
1825 \begin_layout Plain Layout
1826 $$b
1827 \end_layout
1828
1829 \end_inset
1830
1831  \SpecialChar LyX
1832 一時ディレクトリ内でのベース名(ファイル拡張子なし)
1833 \end_layout
1834
1835 \begin_layout Labeling
1836 \labelwidthstring 00.00.0000
1837 \begin_inset Flex Code
1838 status collapsed
1839
1840 \begin_layout Plain Layout
1841 $$p
1842 \end_layout
1843
1844 \end_inset
1845
1846  \SpecialChar LyX
1847 一時ディレクトリのフルパス名
1848 \end_layout
1849
1850 \begin_layout Labeling
1851 \labelwidthstring 00.00.0000
1852 \begin_inset Flex Code
1853 status collapsed
1854
1855 \begin_layout Plain Layout
1856 $$r
1857 \end_layout
1858
1859 \end_inset
1860
1861  処理されている元の\SpecialChar LyX
1862 ファイルのフルパス名
1863 \end_layout
1864
1865 \begin_layout Labeling
1866 \labelwidthstring 00.00.0000
1867 \begin_inset Flex Code
1868 status collapsed
1869
1870 \begin_layout Plain Layout
1871 $$f
1872 \end_layout
1873
1874 \end_inset
1875
1876  \SpecialChar LyX
1877 ファイルのファイル名(ディレクトリパスなし)
1878 \end_layout
1879
1880 \begin_layout Labeling
1881 \labelwidthstring 00.00.0000
1882 \begin_inset Flex Code
1883 status collapsed
1884
1885 \begin_layout Plain Layout
1886 $$l
1887 \end_layout
1888
1889 \end_inset
1890
1891  「\SpecialChar LaTeX
1892 名」
1893 \end_layout
1894
1895 \begin_layout Standard
1896 最後の変数は,\SpecialChar LaTeX
1897
1898 \series bold
1899
1900 \backslash
1901 include
1902 \series default
1903 コマンドで使用されるのと同形式のファイル名です.これは,書き出すファイルがそのようなインクルードに適している場合のみ,使用さるべきものです.
1904 \end_layout
1905
1906 \begin_layout Standard
1907 複写子は,出力ファイルに関する操作であれば,ほとんどすべてに対応することができます.たとえば,生成したPDFファイルを,
1908 \begin_inset Flex Code
1909 status collapsed
1910
1911 \begin_layout Plain Layout
1912 /home/you/pdf/
1913 \end_layout
1914
1915 \end_inset
1916
1917 という特別なディレクトリにコピーしたいものとしましょう.その場合には,以下のようなシェルスクリプトを書きます.
1918 \end_layout
1919
1920 \begin_layout Standard
1921 \begin_inset listings
1922 inline false
1923 status open
1924
1925 \begin_layout Plain Layout
1926
1927 #!/bin/bash
1928 \end_layout
1929
1930 \begin_layout Plain Layout
1931
1932 FROMFILE=$1
1933 \end_layout
1934
1935 \begin_layout Plain Layout
1936
1937 TOFILE=`basename $2`
1938 \end_layout
1939
1940 \begin_layout Plain Layout
1941
1942 DescriptionE /home/you/pdf/$TOFILE
1943 \end_layout
1944
1945 \end_inset
1946
1947 これを,例えば
1948 \begin_inset Flex Code
1949 status collapsed
1950
1951 \begin_layout Plain Layout
1952 /home/you/.lyx/scripts/pdfcopier.sh
1953 \end_layout
1954
1955 \end_inset
1956
1957 のような,自身のローカル\SpecialChar LyX
1958 ディレクトリに保存し,お使いのプラットフォームが必要とするならば,実行可能属性を付与します.それから,
1959 \begin_inset Flex MenuItem
1960 status collapsed
1961
1962 \begin_layout Plain Layout
1963 ツール\SpecialChar menuseparator
1964 設定
1965 \end_layout
1966
1967 \end_inset
1968
1969 ダイアログの
1970 \begin_inset Flex MenuItem
1971 status collapsed
1972
1973 \begin_layout Plain Layout
1974 ファイル処理\SpecialChar menuseparator
1975 ファイル形式
1976 \end_layout
1977
1978 \end_inset
1979
1980 の中で,
1981 \begin_inset Flex MenuItem
1982 status collapsed
1983
1984 \begin_layout Plain Layout
1985 PDF(pdflatex)
1986 \end_layout
1987
1988 \end_inset
1989
1990 形式—あるいは他のPDF形式のうちどれか—を選択し,
1991 \begin_inset Flex MenuItem
1992 status collapsed
1993
1994 \begin_layout Plain Layout
1995 複写子
1996 \end_layout
1997
1998 \end_inset
1999
2000 フィールドに
2001 \begin_inset Flex Code
2002 status collapsed
2003
2004 \begin_layout Plain Layout
2005 pdfcopier.sh $$i $$o
2006 \end_layout
2007
2008 \end_inset
2009
2010 と入力します.
2011 \end_layout
2012
2013 \begin_layout Standard
2014 複写子は,\SpecialChar LyX
2015 自身が様々な変換に使用します.たとえば,適切なプログラムが検出された場合,\SpecialChar LyX
2016 は自動的に
2017 \begin_inset Flex MenuItem
2018 status collapsed
2019
2020 \begin_layout Plain Layout
2021 HTML
2022 \end_layout
2023
2024 \end_inset
2025
2026 形式と
2027 \begin_inset Flex MenuItem
2028 status collapsed
2029
2030 \begin_layout Plain Layout
2031 HTML
2032 \begin_inset space ~
2033 \end_inset
2034
2035 (MS Word)
2036 \end_layout
2037
2038 \end_inset
2039
2040 形式の複写子を導入します.これらの形式を書き出す際,複写子は,本体のHTMLファイルだけでなく,関連した様々なファイル(スタイルファイルや画像など)もコピーされ
2041 るように手配します.これらのファイルはすべて,元の\SpecialChar LyX
2042 ファイルのあるディレクトリのサブディレクトリに書き込まれます.
2043 \begin_inset Foot
2044 status collapsed
2045
2046 \begin_layout Plain Layout
2047 この複写子の挙動は調整することができます.非必須の「-e」オプションは,コピーする拡張子をコンマ区切りで羅列したものを引数にとります.これを省略した場合には,す
2048 べてのファイルがコピーされます.「-t」引数は,生成したディレクトリに書き加える拡張子を指定するものです.既定値では,これは「
2049 \begin_inset Flex MenuItem
2050 status collapsed
2051
2052 \begin_layout Plain Layout
2053 LyXconv
2054 \end_layout
2055
2056 \end_inset
2057
2058 」となっているので,
2059 \begin_inset Flex MenuItem
2060 status collapsed
2061
2062 \begin_layout Plain Layout
2063 /path/to/filename.lyx
2064 \end_layout
2065
2066 \end_inset
2067
2068 から生成されたHTMLファイルは,
2069 \begin_inset Flex MenuItem
2070 status collapsed
2071
2072 \begin_layout Plain Layout
2073 /path/to/filename.html.LyXconv
2074 \end_layout
2075
2076 \end_inset
2077
2078 となります..
2079  
2080 \end_layout
2081
2082 \end_inset
2083
2084
2085 \end_layout
2086
2087 \begin_layout Section
2088 変換子
2089 \begin_inset CommandInset label
2090 LatexCommand label
2091 name "sec:変換子"
2092
2093 \end_inset
2094
2095
2096 \end_layout
2097
2098 \begin_layout Standard
2099 各形式間でファイルを変換するために,ご自身の変換子を定義することができます.これは,
2100 \begin_inset Flex MenuItem
2101 status collapsed
2102
2103 \begin_layout Plain Layout
2104 ツール\SpecialChar menuseparator
2105 設定\SpecialChar menuseparator
2106 ファイル処理\SpecialChar menuseparator
2107 変換子
2108 \end_layout
2109
2110 \end_inset
2111
2112 ダイアログで行います.
2113 \end_layout
2114
2115 \begin_layout Standard
2116 新規に変換子を定義するには,ドロップダウンリストから
2117 \begin_inset Flex MenuItem
2118 status collapsed
2119
2120 \begin_layout Plain Layout
2121 変換元の形式
2122 \end_layout
2123
2124 \end_inset
2125
2126
2127 \begin_inset Flex MenuItem
2128 status collapsed
2129
2130 \begin_layout Plain Layout
2131 変換先の形式
2132 \end_layout
2133
2134 \end_inset
2135
2136 を選択し,変換に必要なコマンドを入力してから
2137 \begin_inset Flex MenuItem
2138 status collapsed
2139
2140 \begin_layout Plain Layout
2141 追加
2142 \end_layout
2143
2144 \end_inset
2145
2146 ボタンを押してください.変換子の定義には,以下のような変数を使用することができます.
2147 \end_layout
2148
2149 \begin_layout Labeling
2150 \labelwidthstring 00.00.0000
2151 \begin_inset Flex Code
2152 status collapsed
2153
2154 \begin_layout Plain Layout
2155 $$s
2156 \end_layout
2157
2158 \end_inset
2159
2160  \SpecialChar LyX
2161 システムディレクトリ
2162 \end_layout
2163
2164 \begin_layout Labeling
2165 \labelwidthstring 00.00.0000
2166 \begin_inset Flex Code
2167 status collapsed
2168
2169 \begin_layout Plain Layout
2170 $$i
2171 \end_layout
2172
2173 \end_inset
2174
2175  入力ファイル
2176 \end_layout
2177
2178 \begin_layout Labeling
2179 \labelwidthstring 00.00.0000
2180 \begin_inset Flex Code
2181 status collapsed
2182
2183 \begin_layout Plain Layout
2184 $$o
2185 \end_layout
2186
2187 \end_inset
2188
2189  出力ファイル
2190 \end_layout
2191
2192 \begin_layout Labeling
2193 \labelwidthstring 00.00.0000
2194 \begin_inset Flex Code
2195 status collapsed
2196
2197 \begin_layout Plain Layout
2198 $$b
2199 \end_layout
2200
2201 \end_inset
2202
2203  入力ファイルのベースファイル名(拡張子をとった部分)
2204 \end_layout
2205
2206 \begin_layout Labeling
2207 \labelwidthstring 00.00.0000
2208 \begin_inset Flex Code
2209 status collapsed
2210
2211 \begin_layout Plain Layout
2212 $$p
2213 \end_layout
2214
2215 \end_inset
2216
2217  入力ファイルのパス
2218 \end_layout
2219
2220 \begin_layout Labeling
2221 \labelwidthstring 00.00.0000
2222 \begin_inset Flex Code
2223 status collapsed
2224
2225 \begin_layout Plain Layout
2226 $$r
2227 \end_layout
2228
2229 \end_inset
2230
2231  元の入力ファイルのパス(変換子が連鎖して呼び出されたときの挙動が$$pとは異なります)
2232 \end_layout
2233
2234 \begin_layout Labeling
2235 \labelwidthstring 00.00.0000
2236 \begin_inset Flex Code
2237 status collapsed
2238
2239 \begin_layout Plain Layout
2240 $$e
2241 \end_layout
2242
2243 \end_inset
2244
2245  文書エンコーディングのiconv名
2246 \end_layout
2247
2248 \begin_layout Standard
2249 \begin_inset Flex MenuItem
2250 status collapsed
2251
2252 \begin_layout Plain Layout
2253 追加フラグ
2254 \end_layout
2255
2256 \end_inset
2257
2258 フィールドには,以下のフラグをコンマで区切って入力することができます.
2259 \end_layout
2260
2261 \begin_layout Labeling
2262 \labelwidthstring 00.00.0000
2263 \begin_inset Flex Code
2264 status collapsed
2265
2266 \begin_layout Plain Layout
2267 latex
2268 \end_layout
2269
2270 \end_inset
2271
2272  この変換子が\SpecialChar LaTeX
2273 の一種を実行することを示します.これによって,\SpecialChar LyX
2274 の\SpecialChar LaTeX
2275 エラーログに記録を残せるようになります.
2276 \end_layout
2277
2278 \begin_layout Labeling
2279 \labelwidthstring 00.00.0000
2280 \begin_inset Flex Code
2281 status collapsed
2282
2283 \begin_layout Plain Layout
2284 needaux
2285 \end_layout
2286
2287 \end_inset
2288
2289  変換に\SpecialChar LaTeX
2290
2291 \begin_inset Flex MenuItem
2292 status collapsed
2293
2294 \begin_layout Plain Layout
2295 .aux
2296 \end_layout
2297
2298 \end_inset
2299
2300 ファイルが必要であることを示します.
2301 \end_layout
2302
2303 \begin_layout Labeling
2304 \labelwidthstring 00.00.0000
2305 \begin_inset Flex Code
2306 status collapsed
2307
2308 \begin_layout Plain Layout
2309 nice
2310 \end_layout
2311
2312 \end_inset
2313
2314  バックエンドからの
2315 \begin_inset Quotes erd
2316 \end_inset
2317
2318 nice
2319 \begin_inset Quotes erd
2320 \end_inset
2321
2322 なファイル,つまり\SpecialChar LyX
2323 が書き出す\SpecialChar LaTeX
2324 ファイルのように,
2325 \begin_inset Flex Code
2326 status open
2327
2328 \begin_layout Plain Layout
2329 input@path
2330 \end_layout
2331
2332 \end_inset
2333
2334 のない\SpecialChar LaTeX
2335 ファイルを必要とします.
2336 \end_layout
2337
2338 \begin_layout Labeling
2339 \labelwidthstring 00.00.0000
2340 \begin_inset Flex Code
2341 status collapsed
2342
2343 \begin_layout Plain Layout
2344 xml
2345 \end_layout
2346
2347 \end_inset
2348
2349  出力がXMLであることを示します.
2350 \end_layout
2351
2352 \begin_layout Standard
2353 以下の3つのフラグは 
2354 \begin_inset Flex MenuItem
2355 status collapsed
2356
2357 \begin_layout Plain Layout
2358 key
2359 \begin_inset space ~
2360 \end_inset
2361
2362 =
2363 \begin_inset space ~
2364 \end_inset
2365
2366 value
2367 \end_layout
2368
2369 \end_inset
2370
2371 形式の引数をとります(したがって厳密にはフラグとは呼べません).
2372 \end_layout
2373
2374 \begin_layout Labeling
2375 \labelwidthstring 00.00.0000
2376 \begin_inset Flex Code
2377 status collapsed
2378
2379 \begin_layout Plain Layout
2380 parselog
2381 \end_layout
2382
2383 \end_inset
2384
2385  これを指定すると,変換子の標準エラーが
2386 \begin_inset Flex Code
2387 status collapsed
2388
2389 \begin_layout Plain Layout
2390 infile.out
2391 \end_layout
2392
2393 \end_inset
2394
2395 ファイルにリダイレクトされ,引数に指定されたスクリプトが
2396 \begin_inset Flex Code
2397 status collapsed
2398
2399 \begin_layout Plain Layout
2400 script < infile.out > infile.log
2401 \end_layout
2402
2403 \end_inset
2404
2405 の形で実行されるようになります.引数には
2406 \begin_inset Flex Code
2407 status collapsed
2408
2409 \begin_layout Plain Layout
2410 $$s
2411 \end_layout
2412
2413 \end_inset
2414
2415 を指定することができます.
2416 \end_layout
2417
2418 \begin_layout Labeling
2419 \labelwidthstring 00.00.0000
2420 \begin_inset Flex Code
2421 status collapsed
2422
2423 \begin_layout Plain Layout
2424 resultdir
2425 \end_layout
2426
2427 \end_inset
2428
2429  これには,変換子が生成したファイルをダンプするディレクトリ名を指定します.\SpecialChar LyX
2430 はこのディレクトリを作成せず,ここに何もコピーしませんが,このディレクトリを宛先にコ
2431 ピーします.引数には,
2432 \begin_inset Flex Code
2433 status collapsed
2434
2435 \begin_layout Plain Layout
2436 $$b
2437 \end_layout
2438
2439 \end_inset
2440
2441 を使用することができ,これはディレクトリがコピーされる際に,入力ファイルおよび出力ファイルのベース名で置換されます.
2442 \begin_inset Newline newline
2443 \end_inset
2444
2445 resultdirとusetempdirは,同時に用いることはできませんのでご注意ください.前者が指定されているときには,後者は無視されます.
2446 \end_layout
2447
2448 \begin_layout Labeling
2449 \labelwidthstring 00.00.0000
2450 \begin_inset Flex Code
2451 status collapsed
2452
2453 \begin_layout Plain Layout
2454 resultfile
2455 \end_layout
2456
2457 \end_inset
2458
2459  これは出力ファイル名を指定するもので,
2460 \begin_inset Flex Code
2461 status collapsed
2462
2463 \begin_layout Plain Layout
2464 $$b
2465 \end_layout
2466
2467 \end_inset
2468
2469 を使用することができます.resultdirが指定されているときのみ有効で,必ず用いる必要はありません.指定されていなければ,既定値は「index」です.
2470 \end_layout
2471
2472 \begin_layout Standard
2473 最後の3つは,\SpecialChar LyX
2474 とともに導入される変換子には,現在いずれも使用されておりません.
2475 \end_layout
2476
2477 \begin_layout Standard
2478 変換しようとするすべての形式のあいだに変換子を定義する必要はありません.たとえば,「\SpecialChar LyX
2479 からPostScript」変換子が定義されていないのに,\SpecialChar LyX
2480 はPostScrip
2481 tを書き出していることに気づかれることでしょう.これは,まず\SpecialChar LaTeX
2482 ファイルを生成した後に(これには変換子を定義する必要はありません),「LaTeXからDVI」変換子を
2483 使用してDVIに変換し,最後に,得られたDVIをPostScriptに変換することによって実現しています.\SpecialChar LyX
2484 はこのような変換子の「連鎖」を自動的に見つけ,つねに最
2485 も短い連鎖を選択します.しかしながら,なお形式間に複数の変換方法を定義することも可能です.たとえば,標準的な\SpecialChar LyX
2486 設定は,\SpecialChar LaTeX
2487 からPDFへ変換するのに,以下の3つの方法を
2488 用意しています.
2489 \end_layout
2490
2491 \begin_layout Enumerate
2492 直接
2493 \begin_inset Flex MenuItem
2494 status collapsed
2495
2496 \begin_layout Plain Layout
2497 pdflatex
2498 \end_layout
2499
2500 \end_inset
2501
2502 を使用するもの
2503 \end_layout
2504
2505 \begin_layout Enumerate
2506 (DVIと)PostScriptを経由して
2507 \begin_inset Flex MenuItem
2508 status collapsed
2509
2510 \begin_layout Plain Layout
2511 ps2pdf
2512 \end_layout
2513
2514 \end_inset
2515
2516 を使用するもの
2517 \end_layout
2518
2519 \begin_layout Enumerate
2520 DVI経由で
2521 \begin_inset Flex MenuItem
2522 status collapsed
2523
2524 \begin_layout Plain Layout
2525 dvipdfm
2526 \end_layout
2527
2528 \end_inset
2529
2530 を使用するもの
2531 \end_layout
2532
2533 \begin_layout Enumerate
2534 直接
2535 \begin_inset Flex MenuItem
2536 status collapsed
2537
2538 \begin_layout Plain Layout
2539 Xe\SpecialChar TeX
2540
2541 \end_layout
2542
2543 \end_inset
2544
2545 を使用するもの
2546 \end_layout
2547
2548 \begin_layout Enumerate
2549 直接
2550 \begin_inset Flex MenuItem
2551 status collapsed
2552
2553 \begin_layout Plain Layout
2554 Lua\SpecialChar TeX
2555
2556 \end_layout
2557
2558 \end_inset
2559
2560 を使用するもの
2561 \end_layout
2562
2563 \begin_layout Standard
2564 このように代替連鎖を定義するには,第
2565 \begin_inset CommandInset ref
2566 LatexCommand ref
2567 reference "sec:ファイル形式"
2568
2569 \end_inset
2570
2571 節に述べられているように,ターゲットとなる「ファイル形式」を複数定義しなくてはなりません.たとえば,標準設定では,
2572 \begin_inset Flex MenuItem
2573 status collapsed
2574
2575 \begin_layout Plain Layout
2576 pdf
2577 \end_layout
2578
2579 \end_inset
2580
2581 (
2582 \begin_inset Flex MenuItem
2583 status collapsed
2584
2585 \begin_layout Plain Layout
2586 ps2pdf
2587 \end_layout
2588
2589 \end_inset
2590
2591 用)・
2592 \begin_inset Flex MenuItem
2593 status collapsed
2594
2595 \begin_layout Plain Layout
2596 pdf2
2597 \end_layout
2598
2599 \end_inset
2600
2601 (
2602 \begin_inset Flex MenuItem
2603 status collapsed
2604
2605 \begin_layout Plain Layout
2606 pdflatex
2607 \end_layout
2608
2609 \end_inset
2610
2611 用)・
2612 \begin_inset Flex MenuItem
2613 status collapsed
2614
2615 \begin_layout Plain Layout
2616 pdf3
2617 \end_layout
2618
2619 \end_inset
2620
2621 (
2622 \begin_inset Flex MenuItem
2623 status collapsed
2624
2625 \begin_layout Plain Layout
2626 dvipdfm
2627 \end_layout
2628
2629 \end_inset
2630
2631 用)・
2632 \begin_inset Flex MenuItem
2633 status collapsed
2634
2635 \begin_layout Plain Layout
2636 pdf4
2637 \end_layout
2638
2639 \end_inset
2640
2641 (
2642 \begin_inset Flex MenuItem
2643 status collapsed
2644
2645 \begin_layout Plain Layout
2646 Xe\SpecialChar TeX
2647
2648 \end_layout
2649
2650 \end_inset
2651
2652 用)・
2653 \begin_inset Flex MenuItem
2654 status collapsed
2655
2656 \begin_layout Plain Layout
2657 pdf5
2658 \end_layout
2659
2660 \end_inset
2661
2662 (
2663 \begin_inset Flex MenuItem
2664 status collapsed
2665
2666 \begin_layout Plain Layout
2667 Lua\SpecialChar TeX
2668
2669 \end_layout
2670
2671 \end_inset
2672
2673 用\SpecialChar softhyphen
2674 ) と命名された形式が定義されていて,すべて共通の拡張子
2675 \begin_inset Flex MenuItem
2676 status collapsed
2677
2678 \begin_layout Plain Layout
2679 .pdf
2680 \end_layout
2681
2682 \end_inset
2683
2684 を持ち,上記で言及した各変換方法に対応しています.
2685 \end_layout
2686
2687 \begin_layout Chapter
2688 \SpecialChar LyX
2689 の各国語対応
2690 \begin_inset CommandInset label
2691 LatexCommand label
2692 name "cha:LyXの各国語対応"
2693
2694 \end_inset
2695
2696
2697 \end_layout
2698
2699 \begin_layout Standard
2700 \SpecialChar LyX
2701 は,翻訳された操作画面の利用をサポートしています.私たちが最後に確かめたところでは,\SpecialChar LyX
2702 は30言語の翻訳を提供しています.選択した言語は,使用する
2703 \emph on
2704 ロケール
2705 \emph default
2706 と呼ばれます(ロケール設定についての詳しい資料は,お使いの基本ソフトに添付のロケール関連説明書をご覧ください.Linuxの場合は,マニュアルページの
2707 \begin_inset Flex Code
2708 status collapsed
2709
2710 \begin_layout Plain Layout
2711 locale(5)
2712 \end_layout
2713
2714 \end_inset
2715
2716 から見ると良いかもしれません).
2717 \end_layout
2718
2719 \begin_layout Standard
2720 これらの翻訳は適切に機能しますが,欠点もいくつかあることに注意してください.たとえば,ダイアログはすべて英文を念頭にデザインされているため,翻訳文の一部は,割り
2721 当てられたスペースに収めるには大きすぎるかもしれません.これは表示上の問題に過ぎず,他の障害は引き起こしません.また,翻訳によっては,すべての
2722 \begin_inset Flex Ruby
2723 status collapsed
2724
2725 \begin_layout Plain Layout
2726 捷径
2727 \begin_inset Argument post:1
2728 status collapsed
2729
2730 \begin_layout Plain Layout
2731 ショートカット
2732 \end_layout
2733
2734 \end_inset
2735
2736
2737 \end_layout
2738
2739 \end_inset
2740
2741 が定義されていないことに気づかれるでしょう.捷径のために空いている文字が十分ないことが時々あるのです.単に翻訳者がまだ捷径を定義していないこともあるでしょう.も
2742 ちろん,私たちの各国語対応チーム—あなたも参加したいと思われるかもしれません
2743 \begin_inset Foot
2744 status collapsed
2745
2746 \begin_layout Plain Layout
2747 もしあなたが英語以外の言語を流暢に操れるならば,これらのチームに参加することは,\SpecialChar LyX
2748 コミュニティに報いるたいへん素晴らしい方法です!
2749 \end_layout
2750
2751 \end_inset
2752
2753 —は,\SpecialChar LyX
2754 の将来のバージョンでこれらの欠点を修正しようとするでしょう.
2755 \end_layout
2756
2757 \begin_layout Section
2758 \SpecialChar LyX
2759 を翻訳する
2760 \end_layout
2761
2762 \begin_layout Subsection
2763 グラフィカル・ユーザ・インタフェース(テキスト・メッセージ)を翻訳する
2764 \begin_inset Argument 1
2765 status collapsed
2766
2767 \begin_layout Plain Layout
2768 GUI(テキストメッセージ)を翻訳する
2769 \end_layout
2770
2771 \end_inset
2772
2773
2774 \end_layout
2775
2776 \begin_layout Standard
2777 \SpecialChar LyX
2778 は,操作画面の国際化対応にGNU 
2779 \begin_inset Flex Code
2780 status collapsed
2781
2782 \begin_layout Plain Layout
2783 gettext
2784 \end_layout
2785
2786 \end_inset
2787
2788 ライブラリを使用します.\SpecialChar LyX
2789 のすべてのメニューやダイアログでお好みの言語を話させたいときには,その言語の
2790 \begin_inset Flex Code
2791 status collapsed
2792
2793 \begin_layout Plain Layout
2794 po
2795 \end_layout
2796
2797 \end_inset
2798
2799 ファイルが必要です.このファイルが利用可能であれば,そこから
2800 \begin_inset Flex Code
2801 status collapsed
2802
2803 \begin_layout Plain Layout
2804 mo
2805 \end_layout
2806
2807 \end_inset
2808
2809 ファイルを生成して,この
2810 \begin_inset Flex Code
2811 status collapsed
2812
2813 \begin_layout Plain Layout
2814 mo
2815 \end_layout
2816
2817 \end_inset
2818
2819 ファイルをインストールしなくてはなりません.この全過程は,GNU 
2820 \begin_inset Flex Code
2821 status collapsed
2822
2823 \begin_layout Plain Layout
2824 gettext
2825 \end_layout
2826
2827 \end_inset
2828
2829 の取扱説明書に説明があります.この作業をあなたのためだけに行うこともできますが,もしせっかくするのであれば,あなたの骨折りの結果を\SpecialChar LyX
2830 コミュニティの他の人々と分かち
2831 合いませんか.どのように段取りを進めればよいか,詳しくは\SpecialChar LyX
2832 開発者メーリングリストにメールを送ってください.
2833 \end_layout
2834
2835 \begin_layout Standard
2836 要約すれば,以下のように行います(xxは言語コードを表します).
2837 \end_layout
2838
2839 \begin_layout Itemize
2840 \SpecialChar LyX
2841 ソースコードをチェックアウトしてください(
2842 \begin_inset CommandInset href
2843 LatexCommand href
2844 name "ウェブ上の情報"
2845 target "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  2.2では,最新書式は60です)
5958 \end_layout
5959
5960 \begin_layout Standard
5961 \begin_inset Flex Code
5962 status collapsed
5963
5964 \begin_layout Plain Layout
5965 ローカルのレイアウト
5966 \end_layout
5967
5968 \end_inset
5969
5970 面に何かを入力すると,下部にある「検証」ボタンが有効になります.このボタンを押すと,ユーザーの入力したものが,指定された書式に沿って,有効なレイアウト情報になっ
5971 ているかどうかが検証されます.すると,\SpecialChar LyX
5972 がその結果を返しますが,残念ながら,エラーがあった場合にそれが何のエラーであるかは返しません.しかしながら,\SpecialChar LyX
5973 をターミナル(
5974 擬似端末)から起動した場合には,そのエラーがターミナルに返されます.ローカルレイアウトは,正しい書式で入力されないうちは,保存することができません.
5975 \end_layout
5976
5977 \begin_layout Standard
5978 ここで,前節と同じ警告があります.ローカルレイアウトは,作業中の文書上で,特に保存していない文書上ではいじらないでください.それに注意すれば,テスト用文書上でロ
5979 ーカルレイアウトを用いるのは,レイアウトのアイディアを試すのに便利ですし,モジュール開発の第一歩としても便利です.
5980 \end_layout
5981
5982 \begin_layout Subsection
5983 \begin_inset Flex MenuItem
5984 status collapsed
5985
5986 \begin_layout Plain Layout
5987 .sty
5988 \end_layout
5989
5990 \end_inset
5991
5992 ファイル用のレイアウト
5993 \end_layout
5994
5995 \begin_layout Standard
5996 新しく\SpecialChar LaTeX
5997 文書クラスをサポートしようとするとき,\SpecialChar LaTeX2e
5998 クラス(
5999 \begin_inset Flex Code
6000 status collapsed
6001
6002 \begin_layout Plain Layout
6003 .cls
6004 \end_layout
6005
6006 \end_inset
6007
6008 )ファイルが絡む場合と,スタイル(
6009 \begin_inset Flex Code
6010 status collapsed
6011
6012 \begin_layout Plain Layout
6013 .sty
6014 \end_layout
6015
6016 \end_inset
6017
6018 )ファイルが絡む場合の2つの状況があり得ます.スタイルファイルのサポートは,通常は,かなり容易ですが,新しくクラスファイルをサポートすることは,もう少し難しくな
6019 ります.この節では,前者について述べることとし,後者については次節に譲ります.当然のことながら,新しくDocBook DTDをサポートしたい場合にも,同様の所見
6020 が当てはまります.
6021 \end_layout
6022
6023 \begin_layout Standard
6024 この易しい方の場合では,新しい文書クラスは,既にサポートされている文書クラスと共に使うスタイルファイルとして提供されています.例示のために,スタイルファイルは
6025 \begin_inset Flex MenuItem
6026 status collapsed
6027
6028 \begin_layout Plain Layout
6029 myclass.sty
6030 \end_layout
6031
6032 \end_inset
6033
6034 という名称で,標準的なクラスである
6035 \begin_inset Flex MenuItem
6036 status collapsed
6037
6038 \begin_layout Plain Layout
6039 report.cls
6040 \end_layout
6041
6042 \end_inset
6043
6044 と共に用いられるものと仮定しましょう.
6045 \end_layout
6046
6047 \begin_layout Standard
6048 既存の文書クラスのレイアウトファイルを,以下のように,お使いのローカルディレクトリにコピーすることから始めてください
6049 \begin_inset Foot
6050 status collapsed
6051
6052 \begin_layout Plain Layout
6053 もちろん,どのディレクトリがローカルディレクトリとなるかは,プラットフォームに依存します.\SpecialChar LyX
6054 では,起動時に
6055 \begin_inset Flex MenuItem
6056 status collapsed
6057
6058 \begin_layout Plain Layout
6059 -userdir
6060 \end_layout
6061
6062 \end_inset
6063
6064 オプションを指定することによって,ローカルディレクトリを指定することも可能です.
6065 \end_layout
6066
6067 \end_inset
6068
6069
6070 \end_layout
6071
6072 \begin_layout LyX-Code
6073 cp report.layout ~/.lyx/layouts/myclass.layout
6074 \end_layout
6075
6076 \begin_layout Standard
6077 それから,
6078 \begin_inset Flex Code
6079 status collapsed
6080
6081 \begin_layout Plain Layout
6082 myclass.layout
6083 \end_layout
6084
6085 \end_inset
6086
6087 を編集して,
6088 \end_layout
6089
6090 \begin_layout LyX-Code
6091
6092 \backslash
6093 DeclareLaTeXClass{report}
6094 \end_layout
6095
6096 \begin_layout Standard
6097 という行を
6098 \end_layout
6099
6100 \begin_layout LyX-Code
6101
6102 \backslash
6103 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6104 \end_layout
6105
6106 \begin_layout Standard
6107 のように変更してください.それから,ファイル冒頭辺りに
6108 \end_layout
6109
6110 \begin_layout LyX-Code
6111 Preamble 
6112 \begin_inset Newline newline
6113 \end_inset
6114
6115     
6116 \backslash
6117 usepackage{myclass}
6118 \begin_inset Newline newline
6119 \end_inset
6120
6121 EndPreamble
6122 \end_layout
6123
6124 \begin_layout Standard
6125 と書き加えてください.
6126 \end_layout
6127
6128 \begin_layout Standard
6129 \SpecialChar LyX
6130 を起動して
6131 \begin_inset Flex MenuItem
6132 status collapsed
6133
6134 \begin_layout Plain Layout
6135 ツール\SpecialChar menuseparator
6136 環境構成
6137 \end_layout
6138
6139 \end_inset
6140
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 ダイアログの文書クラスオプションに「
6154 \begin_inset Flex MenuItem
6155 status collapsed
6156
6157 \begin_layout Plain Layout
6158 report (myclass)
6159 \end_layout
6160
6161 \end_inset
6162
6163 」が現れるはずです.新しいクラスにおいて,節区切り用コマンドなどの一部が,基礎となったクラス—この例では
6164 \begin_inset Flex Code
6165 status collapsed
6166
6167 \begin_layout Plain Layout
6168 report
6169 \end_layout
6170
6171 \end_inset
6172
6173 —とは違う挙動をすることはよくありますので,希望に応じて,各節の設定をいじると良いでしょう.各節のレイアウト情報は,
6174 \begin_inset Flex Code
6175 status collapsed
6176
6177 \begin_layout Plain Layout
6178 stdsections.inc
6179 \end_layout
6180
6181 \end_inset
6182
6183 に含まれていますが,このファイルをコピーしたり変更したりする必要はありません.代わりに,自身のレイアウトファイル中,
6184 \begin_inset Flex Code
6185 status collapsed
6186
6187 \begin_layout Plain Layout
6188 stdsections.inc
6189 \end_layout
6190
6191 \end_inset
6192
6193 も取り込む
6194 \begin_inset Flex Code
6195 status collapsed
6196
6197 \begin_layout Plain Layout
6198 Input stdclass.inc
6199 \end_layout
6200
6201 \end_inset
6202
6203 の後に変更を加えるだけです.たとえば,章見だしのフォントをサンセリフ体に変更するには,以下のような行を加えます.
6204 \end_layout
6205
6206 \begin_layout LyX-Code
6207 Style Chapter
6208 \end_layout
6209
6210 \begin_layout LyX-Code
6211     Font
6212 \end_layout
6213
6214 \begin_layout LyX-Code
6215         Family Sans
6216 \end_layout
6217
6218 \begin_layout LyX-Code
6219     EndFont
6220 \end_layout
6221
6222 \begin_layout LyX-Code
6223 End
6224 \end_layout
6225
6226 \begin_layout Standard
6227 これは,既存の章様式宣言を上書き(あるいはこの場合には追加)します.
6228 \end_layout
6229
6230 \begin_layout Standard
6231 新しいパッケージでは,基礎となったクラスには存在しないコマンドや環境を提供することもできます.この場合には,これらをレイアウトファイルに加えます.そのやり方につ
6232 いては,第
6233 \begin_inset CommandInset ref
6234 LatexCommand ref
6235 reference "sec:テキストクラス"
6236
6237 \end_inset
6238
6239 節の情報を参照してください.
6240 \end_layout
6241
6242 \begin_layout Standard
6243 もし
6244 \begin_inset Flex Code
6245 status collapsed
6246
6247 \begin_layout Plain Layout
6248 myclass.sty
6249 \end_layout
6250
6251 \end_inset
6252
6253 が他の文書クラスで使用することができたり,あるいはできない場合でも,基礎となるクラスから読み込むことのできるモジュールを書くのが最も簡単であることがわかるでしょ
6254 う.最も簡単なモジュールの例としては,以下のようなものになります.
6255 \end_layout
6256
6257 \begin_layout LyX-Code
6258 #
6259 \backslash
6260 DeclareLyXModule{My Package}
6261 \end_layout
6262
6263 \begin_layout LyX-Code
6264 #DescriptionBegin
6265 \end_layout
6266
6267 \begin_layout LyX-Code
6268 #Support for mypkg.sty.
6269 \end_layout
6270
6271 \begin_layout LyX-Code
6272 #DescriptionEnd
6273 \begin_inset Newline newline
6274 \end_inset
6275
6276
6277 \end_layout
6278
6279 \begin_layout LyX-Code
6280 Format 60
6281 \begin_inset Newline newline
6282 \end_inset
6283
6284
6285 \end_layout
6286
6287 \begin_layout LyX-Code
6288 Preamble
6289 \begin_inset Newline newline
6290 \end_inset
6291
6292     
6293 \backslash
6294 usepackage{mypkg}
6295 \begin_inset Newline newline
6296 \end_inset
6297
6298 EndPreamble
6299 \end_layout
6300
6301 \begin_layout Standard
6302 もう少し複雑なモジュールでは,既存の構成物の挙動を修正したり,新しい構成物を定義したりすることになるでしょう.この辺りの議論については,第
6303 \begin_inset CommandInset ref
6304 LatexCommand ref
6305 reference "sec:テキストクラス"
6306
6307 \end_inset
6308
6309 節を参照してください.
6310 \end_layout
6311
6312 \begin_layout Subsection
6313 \begin_inset Flex MenuItem
6314 status collapsed
6315
6316 \begin_layout Plain Layout
6317 .cls
6318 \end_layout
6319
6320 \end_inset
6321
6322 ファイル用のレイアウト
6323 \end_layout
6324
6325 \begin_layout Standard
6326 これには2つのケースがありえます.ひとつは,クラスファイル自体が既存の文書クラスに立脚している場合です.たとえば,多くの学位論文用クラスは
6327 \begin_inset Flex MenuItem
6328 status collapsed
6329
6330 \begin_layout Plain Layout
6331 book.cls
6332 \end_layout
6333
6334 \end_inset
6335
6336 に基づいています.お使いのものがどうであるかを見るには,クラスファイル中に
6337 \end_layout
6338
6339 \begin_layout LyX-Code
6340
6341 \backslash
6342 LoadClass{book}
6343 \end_layout
6344
6345 \begin_layout Standard
6346 という行がないかどうか探してください.もしこれがあれば,
6347 \begin_inset Flex Code
6348 status collapsed
6349
6350 \begin_layout Plain Layout
6351 Declare\SpecialChar LaTeX
6352 Class
6353 \end_layout
6354
6355 \end_inset
6356
6357 行は異なりますが,おおよそ前節のように進めることができます.あなたが新しく作るクラスが
6358 \begin_inset Flex Code
6359 status collapsed
6360
6361 \begin_layout Plain Layout
6362 thesis
6363 \end_layout
6364
6365 \end_inset
6366
6367 であり,
6368 \begin_inset Flex Code
6369 status collapsed
6370
6371 \begin_layout Plain Layout
6372 book
6373 \end_layout
6374
6375 \end_inset
6376
6377 クラスに基づいていれば,
6378 \begin_inset Flex Code
6379 status collapsed
6380
6381 \begin_layout Plain Layout
6382 Declare\SpecialChar LaTeX
6383 Class
6384 \end_layout
6385
6386 \end_inset
6387
6388 行は以下のようにします
6389 \begin_inset Foot
6390 status collapsed
6391
6392 \begin_layout Plain Layout
6393 さらに\SpecialChar LyX
6394 は,文書クラス名がレイアウトファイル名と同じだと仮定するので,クラスファイルを
6395 \begin_inset Flex Code
6396 status collapsed
6397
6398 \begin_layout Plain Layout
6399 thesis.layout
6400 \end_layout
6401
6402 \end_inset
6403
6404 という名前で保存するのが最も簡単です. 
6405 \end_layout
6406
6407 \end_inset
6408
6409
6410 \end_layout
6411
6412 \begin_layout LyX-Code
6413
6414 \backslash
6415 DeclareLaTeXClass[thesis,book]{thesis}
6416 \end_layout
6417
6418 \begin_layout Standard
6419 他方,新しいクラスが既存のクラスに基づいていない場合には,おそらくあなた自身のレイアウトをしたためる必要があります.もし可能であれば,類似した\SpecialChar LaTeX
6420 クラスを使用してい
6421 る既存のレイアウトファイルをコピーして,それに修正を加えるようにすることを強くお勧めします.少なくとも,どの項目を考慮すべきかがわかるように,既存のファイルを作
6422 業の開始点としてください.
6423 \end_layout
6424
6425 \begin_layout Subsection
6426 ひな型を作成する
6427 \begin_inset CommandInset label
6428 LatexCommand label
6429 name "sec:ひな型を作成する"
6430
6431 \end_inset
6432
6433
6434 \end_layout
6435
6436 \begin_layout Standard
6437 新しい文書クラス用のレイアウトファイルを書いたならば,そのレイアウト用のひな型も書くことを検討されるかもしれません.ひな型は,内容はダミーですが,レイアウトの使
6438 い方を示す一種のチュートリアルとして動作します.もちろん,イメージを得るために,\SpecialChar LyX
6439 添付のひな型をあれこれ見てみるのもよいでしょう.
6440 \end_layout
6441
6442 \begin_layout Standard
6443 ひな型は,通常の文書と同様,\SpecialChar LyX
6444 を使って作成することができます.唯一違う点は,通常の文書では,フォント構成や用紙寸法を含め,すべてのあり得る設定が為されている点です
6445 .これらの場合,通常ユーザーはひな型が彼の設定値を上書きすることを望みません.この理由から,ひな型の設計者は,
6446 \begin_inset Flex Code
6447 status collapsed
6448
6449 \begin_layout Plain Layout
6450
6451 \backslash
6452 fontscheme
6453 \end_layout
6454
6455 \end_inset
6456
6457
6458 \begin_inset Flex Code
6459 status collapsed
6460
6461 \begin_layout Plain Layout
6462
6463 \backslash
6464 papersize
6465 \end_layout
6466
6467 \end_inset
6468
6469 などの対応するコマンドをひな型\SpecialChar LyX
6470 ファイルから取り除く必要があります.これは,たとえば
6471 \begin_inset Flex Code
6472 status collapsed
6473
6474 \begin_layout Plain Layout
6475 vi
6476 \end_layout
6477
6478 \end_inset
6479
6480
6481 \begin_inset Flex Code
6482 status collapsed
6483
6484 \begin_layout Plain Layout
6485 notepad
6486 \end_layout
6487
6488 \end_inset
6489
6490 のような,どの軽いテキストエディタでも行うことができます.
6491 \end_layout
6492
6493 \begin_layout Standard
6494 編集したひな型を
6495 \begin_inset Flex Code
6496 status collapsed
6497
6498 \begin_layout Plain Layout
6499 UserDir/templates/
6500 \end_layout
6501
6502 \end_inset
6503
6504 に置き,グローバルなひな型ディレクトリ
6505 \begin_inset Flex Code
6506 status collapsed
6507
6508 \begin_layout Plain Layout
6509 LyXDir/templates/
6510 \end_layout
6511
6512 \end_inset
6513
6514 から使用したいものを同じ場所にコピーし,
6515 \begin_inset Flex MenuItem
6516 status collapsed
6517
6518 \begin_layout Plain Layout
6519 ツール\SpecialChar menuseparator
6520 設定\SpecialChar menuseparator
6521 パス
6522 \end_layout
6523
6524 \end_inset
6525
6526 ダイアログのひな型パスを再定義してください.
6527 \end_layout
6528
6529 \begin_layout Standard
6530 ところで,特別な意味を持つひな型
6531 \begin_inset Flex Code
6532 status collapsed
6533
6534 \begin_layout Plain Layout
6535 defaults.lyx
6536 \end_layout
6537
6538 \end_inset
6539
6540 があることに注意してください.このひな型は,
6541 \begin_inset Flex MenuItem
6542 status collapsed
6543
6544 \begin_layout Plain Layout
6545 ファイル\SpecialChar menuseparator
6546 新規
6547 \end_layout
6548
6549 \end_inset
6550
6551 を使って新規文書を作成する際,便利な既定値を提供する目的で必ず読み込まれます.このひな型を\SpecialChar LyX
6552 内部から作成するのにしなくてはならないことは,対応する設定を持つ文書を
6553 開き,
6554 \begin_inset Flex MenuItem
6555 status collapsed
6556
6557 \begin_layout Plain Layout
6558 文書既定値として保存
6559 \end_layout
6560
6561 \end_inset
6562
6563 ボタンを押すことです.
6564 \end_layout
6565
6566 \begin_layout Subsection
6567 旧レイアウトファイルの更新
6568 \end_layout
6569
6570 \begin_layout Standard
6571 レイアウトファイルの書式は,\SpecialChar LyX
6572 のリリース毎に変更されますので,古いレイアウトファイルは変換されなくてはなりません.\SpecialChar LyX
6573 が古い書式のレイアウトファイルを読み込むと,\SpecialChar LyX
6574 は,
6575 自動的に変換ツール
6576 \begin_inset Flex Code
6577 status collapsed
6578
6579 \begin_layout Plain Layout
6580 \SpecialChar LyX
6581 Dir/scripts/layout2layout.py
6582 \end_layout
6583
6584 \end_inset
6585
6586 を呼び出し,それを現在の書式の一時ファイルに変換します.元のファイルは変更を加えられずに措かれます.もしこのレイアウトファイルをよく使うならば,\SpecialChar LyX
6587 がこれを毎回行な
6588 わくて済むように,レイアウトファイルを恒久的に変換しておきたいと思うかもしれません.これを行うには,以下のように変換子を手動で呼び出してください.
6589 \end_layout
6590
6591 \begin_layout Enumerate
6592 ファイル
6593 \begin_inset Flex Code
6594 status collapsed
6595
6596 \begin_layout Plain Layout
6597 myclass.layout
6598 \end_layout
6599
6600 \end_inset
6601
6602
6603 \begin_inset Flex Code
6604 status collapsed
6605
6606 \begin_layout Plain Layout
6607 myclass.old
6608 \end_layout
6609
6610 \end_inset
6611
6612 に改称
6613 \end_layout
6614
6615 \begin_layout Enumerate
6616 以下のコマンドをコール
6617 \begin_inset Newline newline
6618 \end_inset
6619
6620
6621 \begin_inset Flex Code
6622 status collapsed
6623
6624 \begin_layout Plain Layout
6625 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
6626 \end_layout
6627
6628 \end_inset
6629
6630
6631 \begin_inset Newline newline
6632 \end_inset
6633
6634 ここで
6635 \begin_inset Flex Code
6636 status collapsed
6637
6638 \begin_layout Plain Layout
6639 LyXDir
6640 \end_layout
6641
6642 \end_inset
6643
6644 は\SpecialChar LyX
6645 システムディレクトリの名前です.
6646 \end_layout
6647
6648 \begin_layout Standard
6649 手動変換は,インクルードされているファイル内部の変更までは取り扱いませんので,それらのファイルは別に変換されなくてはなりません.
6650 \end_layout
6651
6652 \begin_layout Subsection
6653 \begin_inset CommandInset label
6654 LatexCommand label
6655 name "subsec:引用エンジンファイル"
6656
6657 \end_inset
6658
6659 引用エンジンファイル
6660 \end_layout
6661
6662 \begin_layout Standard
6663 \begin_inset Flex Code
6664 status collapsed
6665
6666 \begin_layout Plain Layout
6667 citeengines/
6668 \end_layout
6669
6670 \end_inset
6671
6672 サブディレクトリ以下に収められている,いわゆる
6673 \begin_inset Flex Code
6674 status collapsed
6675
6676 \begin_layout Plain Layout
6677 *.citeengine
6678 \end_layout
6679
6680 \end_inset
6681
6682 ファイルは,レイアウトファイルの特殊形です.これらの目的は,
6683 \family sans
6684 natbib
6685 \family default
6686
6687 \family sans
6688 jurabib
6689 \family default
6690
6691 \family sans
6692 biblatex
6693 \family default
6694 など,書誌情報を生成する\SpecialChar LaTeX
6695 パッケージの詳細を定義することですが,通常の(追加パッケージのない)Bib\SpecialChar TeX
6696 引用が\SpecialChar LyX
6697 中でどのように取り扱われるかも,これらのファイルの中で定
6698 義されます.
6699 \end_layout
6700
6701 \begin_layout Standard
6702 より具体的には,どのパッケージを\SpecialChar LyX
6703 が読み込む必要があるのか,どの引用コマンドが利用可能であるのか,これらが\SpecialChar LyX
6704 中(作業領域・ダイアログ・コンテクストメニュー)で,さら
6705 にはXHTMLや平文出力中でどのように表示されるのかを定義します.さらに,これらのファイルは,使用できる派生様式(著者-刊行年,数値など)とその子細を特定します
6706 .引用エンジンファイルは,
6707 \family sans
6708 文書\SpecialChar menuseparator
6709 設定\SpecialChar ldots
6710 \SpecialChar menuseparator
6711 書誌情報\SpecialChar menuseparator
6712 様式整形子
6713 \family default
6714 で利用できる選択肢を生成するのにも使用されます.
6715 \end_layout
6716
6717 \begin_layout Standard
6718 引用エンジンファイルは,本質的に通常のレイアウトファイルであり,理論上どのようなレイアウト情報も内包することができますが,通常は
6719 \begin_inset Flex Code
6720 status collapsed
6721
6722 \begin_layout Plain Layout
6723 MaxCiteNames
6724 \end_layout
6725
6726 \end_inset
6727
6728
6729 \begin_inset Flex Code
6730 status collapsed
6731
6732 \begin_layout Plain Layout
6733 CiteFramework
6734 \end_layout
6735
6736 \end_inset
6737
6738
6739 \begin_inset Flex Code
6740 status collapsed
6741
6742 \begin_layout Plain Layout
6743 CiteEngine
6744 \end_layout
6745
6746 \end_inset
6747
6748
6749 \begin_inset Flex Code
6750 status collapsed
6751
6752 \begin_layout Plain Layout
6753 CiteFormat
6754 \end_layout
6755
6756 \end_inset
6757
6758 ブロックのような特定のパラメータをもっぱら含みます.この最後の2つの文法は,ファイル自身に加え,第 
6759 \begin_inset CommandInset ref
6760 LatexCommand ref
6761 reference "subsec:引用エンジンの説明"
6762 plural "false"
6763 caps "false"
6764 noprefix "false"
6765
6766 \end_inset
6767
6768 節と第
6769 \begin_inset CommandInset ref
6770 LatexCommand ref
6771 reference "subsec:引用書式指定"
6772 plural "false"
6773 caps "false"
6774 noprefix "false"
6775
6776 \end_inset
6777
6778 節に述べられています.
6779 \end_layout
6780
6781 \begin_layout Section
6782 \begin_inset CommandInset label
6783 LatexCommand label
6784 name "sec:テキストクラス"
6785
6786 \end_inset
6787
6788 レイアウトファイルの書式
6789 \end_layout
6790
6791 \begin_layout Standard
6792 以下の各節では,いよいよ自分の手を汚してレイアウトファイルを作成したり編集したりする段階になった際,直面することの説明を行います.私たちからのアドバイスとしては
6793 ,ゆっくりと進めるようにして,ちょっと進むごとに保存やテストを行い,心休まる音楽を聴き,好きな大人の飲み物を一二杯口にしながら行うのがいいでしょう.特に行き詰ま
6794 ってしまったときにはそうです.実際にはそんなに難しいことではないのですが,特に一度に多くのことをやろうとすると,選択肢が多くありすぎて圧倒されてしまうのです.さ
6795 て,もう一杯大人向け飲料をどうぞ.適量ね.\SpecialChar LyX
6796 の既存のレイアウトを例や参考に使ったり,既存のレイアウトを自身の目的に合わせて修正したりすると,作業が容易になります.
6797 \end_layout
6798
6799 \begin_layout Standard
6800 この章で述べられているタグは,すべて大文字小文字を区別しません.つまり,
6801 \begin_inset Flex Code
6802 status collapsed
6803
6804 \begin_layout Plain Layout
6805 Style
6806 \end_layout
6807
6808 \end_inset
6809
6810
6811 \begin_inset Flex Code
6812 status collapsed
6813
6814 \begin_layout Plain Layout
6815 style
6816 \end_layout
6817
6818 \end_inset
6819
6820
6821 \begin_inset Flex Code
6822 status collapsed
6823
6824 \begin_layout Plain Layout
6825 StYlE
6826 \end_layout
6827
6828 \end_inset
6829
6830 は同じコマンドとなります.機能名の後にある角括弧は,その機能が取り得る値を示します.テキストクラス設定内で機能が特定されていない場合には,既定値は
6831 \begin_inset Flex Code
6832 status collapsed
6833
6834 \begin_layout Plain Layout
6835
6836 \emph on
6837 強調
6838 \end_layout
6839
6840 \end_inset
6841
6842 で表記されます.引数が「文字列」や「浮動小数点型」などのデータ型をとる場合には,既定値は
6843 \begin_inset Flex Code
6844 status collapsed
6845
6846 \begin_layout Plain Layout
6847 浮動小数点型=
6848 \emph on
6849 既定値
6850 \end_layout
6851
6852 \end_inset
6853
6854 のように表示されます.
6855 \end_layout
6856
6857 \begin_layout Subsection
6858 文書クラス宣言と分類
6859 \end_layout
6860
6861 \begin_layout Standard
6862 レイアウトファイル中の
6863 \begin_inset Flex Code
6864 status collapsed
6865
6866 \begin_layout Plain Layout
6867 #
6868 \end_layout
6869
6870 \end_inset
6871
6872 で始まる行はコメントです.この規則には一つだけ例外があります.すべての
6873 \begin_inset Flex Code
6874 status collapsed
6875
6876 \begin_layout Plain Layout
6877 *.layout
6878 \end_layout
6879
6880 \end_inset
6881
6882 ファイルは,以下のような行で始めなくてはならないのです.
6883 \end_layout
6884
6885 \begin_layout LyX-Code
6886
6887 \size small
6888 #% Do not delete the line below; configure depends on this
6889 \end_layout
6890
6891 \begin_layout LyX-Code
6892
6893 \size small
6894 #  
6895 \backslash
6896 DeclareLaTeXClass{Article (Standard Class)}
6897 \end_layout
6898
6899 \begin_layout LyX-Code
6900
6901 \size small
6902 #  
6903 \backslash
6904 DeclareCategory{Articles}
6905 \end_layout
6906
6907 \begin_layout Standard
6908 2行目と3行目は,\SpecialChar LyX
6909 が環境構成を行う際に用いられます.このレイアウトファイルは,\SpecialChar LaTeX
6910 スクリプト
6911 \begin_inset Flex Code
6912 status collapsed
6913
6914 \begin_layout Plain Layout
6915 chkconfig.ltx
6916 \end_layout
6917
6918 \end_inset
6919
6920 が,
6921 \begin_inset Flex Code
6922 status collapsed
6923
6924 \begin_layout Plain Layout
6925 #
6926 \end_layout
6927
6928 \end_inset
6929
6930 を無視する特別なモードで読み込みます.1行目は単なる\SpecialChar LaTeX
6931 コメントですが,2行目にはテキストクラスの宣言が,3行目にはクラスの分類(非必須)が書かれています.これらの
6932 行が
6933 \begin_inset Flex Code
6934 status collapsed
6935
6936 \begin_layout Plain Layout
6937 article.layout
6938 \end_layout
6939
6940 \end_inset
6941
6942 と名付けられたファイルにあると,
6943 \begin_inset Flex Code
6944 status collapsed
6945
6946 \begin_layout Plain Layout
6947 article
6948 \end_layout
6949
6950 \end_inset
6951
6952 (レイアウトファイル名)という名称のテキストクラスを定義し,\SpecialChar LaTeX
6953 文書クラス
6954 \begin_inset Flex Code
6955 status collapsed
6956
6957 \begin_layout Plain Layout
6958 article.cls
6959 \end_layout
6960
6961 \end_inset
6962
6963 を使用するようになります(既定ではレイアウトと同じ名称のものを使用します).上記に現れる「Article (Standard Class)」という文字列は,
6964 \begin_inset Flex MenuItem
6965 status collapsed
6966
6967 \begin_layout Plain Layout
6968 文書\SpecialChar menuseparator
6969 設定
6970 \end_layout
6971
6972 \end_inset
6973
6974 ダイアログのテキストクラスの説明に使用されます.分類(例中の「Articles」)は,
6975 \begin_inset Flex MenuItem
6976 status collapsed
6977
6978 \begin_layout Plain Layout
6979 文書\SpecialChar menuseparator
6980 設定
6981 \end_layout
6982
6983 \end_inset
6984
6985 ダイアログで使用され,文書クラスはこの分類によってグループ化されます(分類は通常ジャンルを表し,典型的なものには,「Articles」「Books」「Repor
6986 ts」「Letters」「Presentations」「Curricula Vitae」等があります).分類を宣言しない場合には,このクラスは「Uncatego
6987 rized」グループに属することになります.
6988 \end_layout
6989
6990 \begin_layout Standard
6991 節見出し表示に変更を加えた,
6992 \begin_inset Flex Code
6993 status collapsed
6994
6995 \begin_layout Plain Layout
6996 article.cls
6997 \end_layout
6998
6999 \end_inset
7000
7001 文書クラスを使用するテキストクラスを自分で書いたものとしましょう.これを
7002 \begin_inset Flex Code
7003 status collapsed
7004
7005 \begin_layout Plain Layout
7006 myarticle.layout
7007 \end_layout
7008
7009 \end_inset
7010
7011 というファイルに置いたとすると,このファイルのヘッダは以下のようになります.
7012 \end_layout
7013
7014 \begin_layout LyX-Code
7015
7016 \size small
7017 #% Do not delete the line below; configure depends on this 
7018 \end_layout
7019
7020 \begin_layout LyX-Code
7021
7022 \size small
7023 #  
7024 \backslash
7025 DeclareLaTeXClass[article]{article (with My Own Headings)}
7026 \end_layout
7027
7028 \begin_layout LyX-Code
7029
7030 \size small
7031 #  
7032 \backslash
7033 DeclareCategory{Articles}
7034 \end_layout
7035
7036 \begin_layout Standard
7037 これは,\SpecialChar LaTeX
7038 文書クラス
7039 \begin_inset Flex Code
7040 status collapsed
7041
7042 \begin_layout Plain Layout
7043 article.cls
7044 \end_layout
7045
7046 \end_inset
7047
7048 に関連づけられ,「Article (with My Own Headings)」と表示される,
7049 \begin_inset Flex Code
7050 status collapsed
7051
7052 \begin_layout Plain Layout
7053 myarticle
7054 \end_layout
7055
7056 \end_inset
7057
7058 テキストクラスを宣言するものです.もしこのテキストクラスが複数のパッケージに依存するならば,以下のように宣言すると良いでしょう.
7059 \end_layout
7060
7061 \begin_layout LyX-Code
7062
7063 \size small
7064 #% Do not delete the line below; configure depends on this 
7065 \end_layout
7066
7067 \begin_layout LyX-Code
7068
7069 \size small
7070 #  
7071 \backslash
7072 DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)}
7073 \end_layout
7074
7075 \begin_layout LyX-Code
7076
7077 \size small
7078 #  
7079 \backslash
7080 DeclareCategory{Articles}
7081 \end_layout
7082
7083 \begin_layout Standard
7084 これは,このテキストクラスが
7085 \begin_inset Flex Code
7086 status collapsed
7087
7088 \begin_layout Plain Layout
7089 foo.sty
7090 \end_layout
7091
7092 \end_inset
7093
7094 パッケージを使用することを示しています.最後に,DocBookコード向けのクラスを宣言することもできることを見ます.典型的な宣言は以下のようになります.
7095 \end_layout
7096
7097 \begin_layout LyX-Code
7098
7099 \size small
7100 #% Do not delete the line below; configure depends on this 
7101 \end_layout
7102
7103 \begin_layout LyX-Code
7104
7105 \size small
7106
7107 \backslash
7108 DeclareDocBookClass[article]{SGML (DocBook article)}
7109 \end_layout
7110
7111 \begin_layout LyX-Code
7112
7113 \size small
7114 #  
7115 \backslash
7116 DeclareCategory{Articles}
7117 \end_layout
7118
7119 \begin_layout Standard
7120 これらの宣言には,文書クラス名を宣言する非必須パラメータ(ただしリストではない)を与えることができることに注意してください.
7121 \end_layout
7122
7123 \begin_layout Standard
7124 できる限り明示的に要約すると,レイアウト宣言は以下の形をとります.
7125 \end_layout
7126
7127 \begin_layout LyX-Code
7128
7129 \size small
7130 #  
7131 \backslash
7132 DeclareLaTeXClass[クラス,パッケージ名.sty]{レイアウトの説明}
7133 \end_layout
7134
7135 \begin_layout LyX-Code
7136
7137 \size small
7138 #  
7139 \backslash
7140 DeclareCategory{分類}
7141 \end_layout
7142
7143 \begin_layout Standard
7144 ここで「クラス」は,\SpecialChar LaTeX
7145 クラスファイル名とレイアウトファイル名が異なるときのみ,指定する必要があります.クラスファイル名が指定されなければ,\SpecialChar LyX
7146 は単純に,クラスファイル
7147 名がレイアウトファイル名と同じであると仮定します.
7148 \end_layout
7149
7150 \begin_layout Standard
7151 テキストクラスがあなたの嗜好に合うように修正できたならば,他にしなくてはならないことは,それを
7152 \begin_inset Flex Code
7153 status collapsed
7154
7155 \begin_layout Plain Layout
7156 LyXDir/layouts/
7157 \end_layout
7158
7159 \end_inset
7160
7161
7162 \begin_inset Flex Code
7163 status collapsed
7164
7165 \begin_layout Plain Layout
7166 UserDir/layouts
7167 \end_layout
7168
7169 \end_inset
7170
7171 にコピーし,
7172 \begin_inset Flex MenuItem
7173 status collapsed
7174
7175 \begin_layout Plain Layout
7176 ツール\SpecialChar menuseparator
7177 環境構成
7178 \end_layout
7179
7180 \end_inset
7181
7182 を実行し,\SpecialChar LyX
7183 を終了して再起動するだけです.そうすれば,この新しいテキストクラスが,他のテキストクラスと同様に使用できるようになります.
7184 \end_layout
7185
7186 \begin_layout Standard
7187 レイアウトファイルが導入されたならば,これを編集して,環境構成したり\SpecialChar LyX
7188 を再起動したりすることなく,その変更を確認することができます
7189 \begin_inset Foot
7190 status collapsed
7191
7192 \begin_layout Plain Layout
7193 第1.6版よりも前の\SpecialChar LyX
7194 では,これを行うことはできませんでした.その結果,レイアウトファイルに加えた変更を反映させるには,その度に\SpecialChar LyX
7195 を再起動しなくてはならなかったので,
7196 レイアウトファイルを編集する作業は,たいへん時間を浪費する作業だったのです.
7197 \end_layout
7198
7199 \end_inset
7200
7201 .\SpecialChar LyX
7202 関数
7203 \begin_inset Flex MenuItem
7204 status collapsed
7205
7206 \begin_layout Plain Layout
7207 layout-reload
7208 \end_layout
7209
7210 \end_inset
7211
7212 を使用すれば,現在使っているレイアウトの再読み込みを強制することができるのです.この関数への既定のキー割り当てはありません—もちろん自分でどれかのキーに割り当て
7213 ることもできますが—.しかし,通常は,この関数を使用する場合は,これをミニバッファに入力します.
7214 \end_layout
7215
7216 \begin_layout Standard
7217
7218 \emph on
7219 注意
7220 \emph default
7221
7222 \begin_inset Flex MenuItem
7223 status collapsed
7224
7225 \begin_layout Plain Layout
7226 layout-reload
7227 \end_layout
7228
7229 \end_inset
7230
7231 はかなり「高度な機能」です.この機能を利用する前に,作業中の文書を保存しておくことを
7232 \emph on
7233 強く
7234 \emph default
7235 勧めます.もっと言えば,大事な文書の作業をしているときに,同時にレイアウト情報の編集をしようとしないことを
7236 \emph on
7237 強く
7238 \emph default
7239 勧めます.テスト用文書を使用してください.レイアウトファイル中の文法エラー等が奇妙な挙動を引き起こす可能性があります.特に,そのようなエラーが起こると,\SpecialChar LyX
7240 は現在の
7241 レイアウトが無効であるものと判断して,別のレイアウトに切り替えようとする可能性があります
7242 \begin_inset Foot
7243 status collapsed
7244
7245 \begin_layout Plain Layout
7246 非常に悪質な文法エラーの場合には,\SpecialChar LyX
7247 が終了してしまうことさえあります.これは,ある種のエラーでは,\SpecialChar LyX
7248 がレイアウト情報を全く読めなくなる可能性があるからです.ご注意く
7249 ださい.
7250 \end_layout
7251
7252 \end_inset
7253
7254 .\SpecialChar LyX
7255 開発陣は,このような状況下でも安定性を保つよう努力していますが,後悔よりも安心の方が良いでしょう
7256 \begin_inset Foot
7257 status collapsed
7258
7259 \begin_layout Plain Layout
7260 重ねての助言ですが,つねにバックアップを取ってください.それから,お母さんのお片づけに注意.
7261 \end_layout
7262
7263 \end_inset
7264
7265
7266 \end_layout
7267
7268 \begin_layout Subsection
7269 モジュール宣言
7270 \end_layout
7271
7272 \begin_layout Standard
7273 モジュールは,以下のような行で始まらなくてはなりません.
7274 \end_layout
7275
7276 \begin_layout LyX-Code
7277 #
7278 \backslash
7279 DeclareLyXModule[endnotes.sty]{Endnotes} 
7280 \end_layout
7281
7282 \begin_layout Standard
7283 波括弧内に入っている必須引数はモジュール名で,これは
7284 \begin_inset Flex MenuItem
7285 status collapsed
7286
7287 \begin_layout Plain Layout
7288 文書\SpecialChar menuseparator
7289 設定
7290 \end_layout
7291
7292 \end_inset
7293
7294 内に表示されます.角括弧内の引数は非必須です.これは,モジュールが依存する\SpecialChar LaTeX
7295 パッケージをすべて宣言します.また,非必須引数として,
7296 \begin_inset Flex Code
7297 status collapsed
7298
7299 \begin_layout Plain Layout
7300 変換元->変換先
7301 \end_layout
7302
7303 \end_inset
7304
7305 の形を使用することができます.これは,
7306 \begin_inset Flex Code
7307 status collapsed
7308
7309 \begin_layout Plain Layout
7310 変換元
7311 \end_layout
7312
7313 \end_inset
7314
7315 形式から
7316 \begin_inset Flex Code
7317 status collapsed
7318
7319 \begin_layout Plain Layout
7320 変換先
7321 \end_layout
7322
7323 \end_inset
7324
7325 形式への変換鎖が存在するときのみ,このモジュールを使用できることを宣言するものです.
7326 \end_layout
7327
7328 \begin_layout Standard
7329 それから,以下のようなモジュール宣言を行います
7330 \begin_inset Foot
7331 status collapsed
7332
7333 \begin_layout Plain Layout
7334 モジュールを\SpecialChar LyX
7335 に公開する場合には英語が望ましいです.この説明は翻訳メッセージ一覧に現れるようになるので,次回のインタフェースの更新時に翻訳されることになります.
7336 \end_layout
7337
7338 \end_inset
7339
7340
7341 \end_layout
7342
7343 \begin_layout LyX-Code
7344 #DescriptionBegin 
7345 \end_layout
7346
7347 \begin_layout LyX-Code
7348 #Adds an endnote command, in addition to footnotes.
7349  
7350 \end_layout
7351
7352 \begin_layout LyX-Code
7353 #You will need to add  
7354 \backslash
7355 theendnotes in TeX code where you 
7356 \end_layout
7357
7358 \begin_layout LyX-Code
7359 #want the endnotes to appear.
7360  
7361 \end_layout
7362
7363 \begin_layout LyX-Code
7364 #DescriptionEnd 
7365 \end_layout
7366
7367 \begin_layout LyX-Code
7368 #Requires: somemodule | othermodule
7369 \end_layout
7370
7371 \begin_layout LyX-Code
7372 #Excludes: badmodule
7373 \end_layout
7374
7375 \begin_layout Standard
7376 ここで説明(Description)は,
7377 \begin_inset Flex MenuItem
7378 status collapsed
7379
7380 \begin_layout Plain Layout
7381 文書\SpecialChar menuseparator
7382 設定
7383 \end_layout
7384
7385 \end_inset
7386
7387 でこのモジュールが何をするものか,ユーザに情報を与えるために使用されます.
7388 \begin_inset Flex Code
7389 status collapsed
7390
7391 \begin_layout Plain Layout
7392 Requires
7393 \end_layout
7394
7395 \end_inset
7396
7397 行は,このモジュールが共に使用する必要がある,他のモジュールを特定するのに用いられます.一方,
7398 \begin_inset Flex Code
7399 status collapsed
7400
7401 \begin_layout Plain Layout
7402 Excludes
7403 \end_layout
7404
7405 \end_inset
7406
7407 行は,このモジュールが共に使用してはならない,他のモジュールを特定するのに用いられます.この2つの行は必須ではなく,上記のようにモジュールが複数ある場合には,パ
7408 イプ記号「|」で区切らなくてはなりません.
7409 \begin_inset Flex Code
7410 status collapsed
7411
7412 \begin_layout Plain Layout
7413 Requires
7414 \end_layout
7415
7416 \end_inset
7417
7418 に指定されたモジュールは,選言的に取り扱われることに注意してください.つまり,
7419 \begin_inset Flex Code
7420 status collapsed
7421
7422 \begin_layout Plain Layout
7423 Requires
7424 \end_layout
7425
7426 \end_inset
7427
7428 に指定されたモジュールのうち,
7429 \emph on
7430 少なくとも一つ
7431 \emph default
7432 が使用されていればよいということです.同様に,
7433 \begin_inset Flex Code
7434 status collapsed
7435
7436 \begin_layout Plain Layout
7437 Excludes
7438 \end_layout
7439
7440 \end_inset
7441
7442 に指定されたモジュールは,一つも使用されてはなりません.ここでモジュールは,
7443 \begin_inset Flex Code
7444 status collapsed
7445
7446 \begin_layout Plain Layout
7447 .module
7448 \end_layout
7449
7450 \end_inset
7451
7452 拡張子を除いたファイル名で認識されることに注意してください.つまり
7453 \begin_inset Flex Code
7454 status collapsed
7455
7456 \begin_layout Plain Layout
7457 somemodule
7458 \end_layout
7459
7460 \end_inset
7461
7462 とは,実のところ
7463 \begin_inset Flex Code
7464 status collapsed
7465
7466 \begin_layout Plain Layout
7467 somemodule.module
7468 \end_layout
7469
7470 \end_inset
7471
7472 に他なりません.
7473 \end_layout
7474
7475 \begin_layout Subsection
7476 引用エンジンファイルの宣言
7477 \end_layout
7478
7479 \begin_layout Standard
7480 引用エンジンファイルは,次のような行で始まらなくてはなりません.
7481 \end_layout
7482
7483 \begin_layout LyX-Code
7484 #
7485 \backslash
7486 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
7487 \end_layout
7488
7489 \begin_layout Standard
7490 波括弧内の必須引数はモジュール名で,
7491 \begin_inset Flex Noun
7492 status collapsed
7493
7494 \begin_layout Plain Layout
7495 文書\SpecialChar menuseparator
7496 設定\SpecialChar menuseparator
7497 書誌情報
7498 \end_layout
7499
7500 \end_inset
7501
7502 にそのまま現れます.角括弧内の引数は非必須です.これは,引用エンジンが依存する\SpecialChar LaTeX
7503 パッケージを宣言します.
7504 \end_layout
7505
7506 \begin_layout Standard
7507 引用エンジン宣言には,その後,以下のような行が続きます
7508 \begin_inset Foot
7509 status collapsed
7510
7511 \begin_layout Plain Layout
7512 \SpecialChar LyX
7513 とともに公表するモジュールの場合は,英語で書かれることが望まれます.この説明は,翻訳対象メッセージのリストに含まれますので,次回インタフェースの更新の際に翻訳さ
7514 れることになります.
7515 \end_layout
7516
7517 \end_inset
7518
7519
7520 \end_layout
7521
7522 \begin_layout LyX-Code
7523 # DescriptionBegin
7524 \end_layout
7525
7526 \begin_layout LyX-Code
7527 #   Biblatex supports many author-year and numerical styles.
7528 \end_layout
7529
7530 \begin_layout LyX-Code
7531 #   It is mainly aimed at the Humanities.
7532  It is highly
7533 \end_layout
7534
7535 \begin_layout LyX-Code
7536 #   customizable, fully localized and provides many features
7537 \end_layout
7538
7539 \begin_layout LyX-Code
7540 #   that are not possible with BibTeX.
7541  The use of 'biber' as
7542 \end_layout
7543
7544 \begin_layout LyX-Code
7545 #   bibliography processor is advised.
7546 \end_layout
7547
7548 \begin_layout LyX-Code
7549 # DescriptionEnd
7550 \end_layout
7551
7552 \begin_layout Standard
7553 この説明は,
7554 \begin_inset Flex Noun
7555 status collapsed
7556
7557 \begin_layout Plain Layout
7558 文書\SpecialChar menuseparator
7559 設定\SpecialChar menuseparator
7560 書誌情報
7561 \end_layout
7562
7563 \end_inset
7564
7565 の中で,ユーザーに引用エンジンに関する情報を提供するために使われます.
7566 \end_layout
7567
7568 \begin_layout Subsection
7569 書式番号
7570 \end_layout
7571
7572 \begin_layout Standard
7573 レイアウトファイルやインクルードされたファイル,またはモジュールの最初の非コメント行には,以下のように,かならずファイル形式番号が記されていなくてはなりません.
7574 \end_layout
7575
7576 \begin_layout Description
7577 \begin_inset Flex Code
7578 status collapsed
7579
7580 \begin_layout Plain Layout
7581 Format
7582 \end_layout
7583
7584 \end_inset
7585
7586  [
7587 \begin_inset Flex Code
7588 status collapsed
7589
7590 \begin_layout Plain Layout
7591 整数型
7592 \end_layout
7593
7594 \end_inset
7595
7596 ] このレイアウトファイルの書式
7597 \end_layout
7598
7599 \begin_layout Standard
7600 このタグは\SpecialChar LyX
7601
7602 \begin_inset space ~
7603 \end_inset
7604
7605 1.4.0で導入されました.\SpecialChar LyX
7606
7607 \begin_inset space ~
7608 \end_inset
7609
7610 1.3.x以前のレイアウトファイルには,明示されたファイル形式がないため,書式1と解されます.\SpecialChar LyX
7611 現行版のファイル形式は,書式60です.しかし,\SpecialChar LyX
7612 の各版は,旧版の\SpecialChar LyX
7613 で作成さ
7614 れたファイルを読むことができるように,旧版のレイアウトファイルも読むことができます.しかしながら,以前の書式に変換する方法はありません.
7615 \end_layout
7616
7617 \begin_layout Subsection
7618 \begin_inset CommandInset label
7619 LatexCommand label
7620 name "subsec:汎用テキストクラスパラメータ"
7621
7622 \end_inset
7623
7624 汎用テキストクラスパラメータ
7625 \end_layout
7626
7627 \begin_layout Standard
7628 以下は,文書クラス全体の挙動を決定する汎用パラメータです(これは,
7629 \begin_inset Flex Code
7630 status collapsed
7631
7632 \begin_layout Plain Layout
7633 .layout
7634 \end_layout
7635
7636 \end_inset
7637
7638 ファイルのみに使用されるべきで,モジュールでは使ってはならない,ということを意味するものでは
7639 \emph on
7640 ありません
7641 \emph default
7642 .モジュールには,すべてのレイアウトタグを使用することができます).
7643 \end_layout
7644
7645 \begin_layout Description
7646 \begin_inset Flex Code
7647 status collapsed
7648
7649 \begin_layout Plain Layout
7650 AddToHTMLPreamble
7651 \end_layout
7652
7653 \end_inset
7654
7655  この文書クラスがXHTMLに出力されるときに,
7656 \begin_inset Flex Code
7657 status collapsed
7658
7659 \begin_layout Plain Layout
7660 <head>
7661 \end_layout
7662
7663 \end_inset
7664
7665 ブロックに追加出力される情報です.典型的には,これはCSSスタイル情報を出力するのに用いられますが,
7666 \begin_inset Flex Code
7667 status collapsed
7668
7669 \begin_layout Plain Layout
7670 <head>
7671 \end_layout
7672
7673 \end_inset
7674
7675 に出力するものであれば,何でも使用することができます.「
7676 \begin_inset Flex Code
7677 status collapsed
7678
7679 \begin_layout Plain Layout
7680 EndPreamble
7681 \end_layout
7682
7683 \end_inset
7684
7685 」で閉じる必要があります.
7686 \end_layout
7687
7688 \begin_layout Description
7689 \begin_inset Flex Code
7690 status collapsed
7691
7692 \begin_layout Plain Layout
7693 AddToPreamble
7694 \end_layout
7695
7696 \end_inset
7697
7698  文書プリアンブルに書き加えられる情報です.「
7699 \begin_inset Flex Code
7700 status collapsed
7701
7702 \begin_layout Plain Layout
7703 EndPreamble
7704 \end_layout
7705
7706 \end_inset
7707
7708 」で閉じる必要があります.
7709 \end_layout
7710
7711 \begin_layout Description
7712 \begin_inset Flex Code
7713 status collapsed
7714
7715 \begin_layout Plain Layout
7716 CiteEngine <エンジン>
7717 \end_layout
7718
7719 \end_inset
7720
7721  文献参照を表示する方法を定義します.詳細については,第
7722 \begin_inset CommandInset ref
7723 LatexCommand ref
7724 reference "subsec:引用エンジンの説明"
7725 plural "false"
7726 caps "false"
7727 noprefix "false"
7728
7729 \end_inset
7730
7731 節をご覧ください.「
7732 \begin_inset Flex Code
7733 status collapsed
7734
7735 \begin_layout Plain Layout
7736 End
7737 \end_layout
7738
7739 \end_inset
7740
7741 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
7742 \begin_inset CommandInset ref
7743 LatexCommand ref
7744 reference "subsec:引用エンジンファイル"
7745 plural "false"
7746 caps "false"
7747 noprefix "false"
7748
7749 \end_inset
7750
7751 節参照).
7752 \end_layout
7753
7754 \begin_layout Description
7755 \begin_inset Flex Code
7756 status collapsed
7757
7758 \begin_layout Plain Layout
7759 CiteFormat
7760 \end_layout
7761
7762 \end_inset
7763
7764  書誌情報の表示に使う書式を定義します.詳細については,第
7765 \begin_inset CommandInset ref
7766 LatexCommand ref
7767 reference "subsec:引用書式指定"
7768
7769 \end_inset
7770
7771 節をご覧ください.「
7772 \begin_inset Flex Code
7773 status collapsed
7774
7775 \begin_layout Plain Layout
7776 End
7777 \end_layout
7778
7779 \end_inset
7780
7781 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
7782 \begin_inset CommandInset ref
7783 LatexCommand ref
7784 reference "subsec:引用エンジンファイル"
7785 plural "false"
7786 caps "false"
7787 noprefix "false"
7788
7789 \end_inset
7790
7791 節参照).
7792 \end_layout
7793
7794 \begin_layout Description
7795 \begin_inset Flex Code
7796 status collapsed
7797
7798 \begin_layout Plain Layout
7799 CiteFramework
7800 \end_layout
7801
7802 \end_inset
7803
7804  [
7805 \begin_inset Flex Code
7806 status collapsed
7807
7808 \begin_layout Plain Layout
7809
7810 \emph on
7811 bibtex
7812 \end_layout
7813
7814 \end_inset
7815
7816 ,
7817 \begin_inset Flex Code
7818 status collapsed
7819
7820 \begin_layout Plain Layout
7821 biblatex
7822 \end_layout
7823
7824 \end_inset
7825
7826 ] 書誌情報を生成するのに,
7827 \family sans
7828 Biblatex
7829 \family default
7830 を用いるのかBib\SpecialChar TeX
7831 を用いるのかを特定します.主に引用エンジンファイルで使用されます(第
7832 \begin_inset CommandInset ref
7833 LatexCommand ref
7834 reference "subsec:引用エンジンファイル"
7835 plural "false"
7836 caps "false"
7837 noprefix "false"
7838
7839 \end_inset
7840
7841 節参照).
7842 \end_layout
7843
7844 \begin_layout Description
7845 \begin_inset Flex Code
7846 status collapsed
7847
7848 \begin_layout Plain Layout
7849 ClassOptions
7850 \end_layout
7851
7852 \end_inset
7853
7854  文書クラスがサポートする様々な大域オプションを記します.説明は,第
7855 \begin_inset CommandInset ref
7856 LatexCommand ref
7857 reference "subsec:ClassOptions"
7858
7859 \end_inset
7860
7861 節を参照してください.「
7862 \begin_inset Flex Code
7863 status collapsed
7864
7865 \begin_layout Plain Layout
7866 End
7867 \end_layout
7868
7869 \end_inset
7870
7871 」で閉じる必要があります.
7872 \end_layout
7873
7874 \begin_layout Description
7875 \begin_inset Flex Code
7876 status collapsed
7877
7878 \begin_layout Plain Layout
7879 Columns
7880 \end_layout
7881
7882 \end_inset
7883
7884  [
7885 \begin_inset Flex Code
7886 status collapsed
7887
7888 \begin_layout Plain Layout
7889
7890 \emph on
7891 1
7892 \end_layout
7893
7894 \end_inset
7895
7896 ,
7897 \begin_inset space \thinspace{}
7898 \end_inset
7899
7900
7901 \begin_inset Flex Code
7902 status collapsed
7903
7904 \begin_layout Plain Layout
7905 2
7906 \end_layout
7907
7908 \end_inset
7909
7910 ] 文書クラスが既定で1段組か2段組かを指定します.
7911 \begin_inset Flex MenuItem
7912 status collapsed
7913
7914 \begin_layout Plain Layout
7915 文書\SpecialChar menuseparator
7916 設定
7917 \end_layout
7918
7919 \end_inset
7920
7921 ダイアログで変更することができます.
7922 \end_layout
7923
7924 \begin_layout Description
7925 \begin_inset Flex Code
7926 status collapsed
7927
7928 \begin_layout Plain Layout
7929 Counter
7930 \end_layout
7931
7932 \end_inset
7933
7934  [
7935 \begin_inset Flex Code
7936 status collapsed
7937
7938 \begin_layout Plain Layout
7939 文字列
7940 \end_layout
7941
7942 \end_inset
7943
7944 ] この部分はカウンタの特性を定義します.カウンタがまだ存在していなければ,生成されます.もし存在しなければ修正されます.「
7945 \begin_inset Flex Code
7946 status collapsed
7947
7948 \begin_layout Plain Layout
7949 End
7950 \end_layout
7951
7952 \end_inset
7953
7954 」で閉じる必要があります.
7955 \begin_inset Newline newline
7956 \end_inset
7957
7958 カウンタについての詳細は,第
7959 \begin_inset CommandInset ref
7960 LatexCommand ref
7961 reference "subsec:カウンタ"
7962
7963 \end_inset
7964
7965 節を参照してください.
7966 \end_layout
7967
7968 \begin_layout Description
7969 \begin_inset Flex Code
7970 status collapsed
7971
7972 \begin_layout Plain Layout
7973 DefaultFont
7974 \end_layout
7975
7976 \end_inset
7977
7978  文書を表示するのに用いられる既定フォントを設定します.フォントの宣言の仕方については,第
7979 \begin_inset CommandInset ref
7980 LatexCommand ref
7981 reference "subsec:フォント指定"
7982
7983 \end_inset
7984
7985 節を参照してください.「
7986 \begin_inset Flex Code
7987 status collapsed
7988
7989 \begin_layout Plain Layout
7990 EndFont
7991 \end_layout
7992
7993 \end_inset
7994
7995 」で閉じる必要があります.
7996 \end_layout
7997
7998 \begin_layout Description
7999 \begin_inset Flex Code
8000 status collapsed
8001
8002 \begin_layout Plain Layout
8003 DefaultModule
8004 \end_layout
8005
8006 \end_inset
8007
8008  [
8009 \begin_inset Flex Code
8010 status collapsed
8011
8012 \begin_layout Plain Layout
8013 <モジュール>
8014 \end_layout
8015
8016 \end_inset
8017
8018 ] この文書クラスに,既定で取り込むモジュールを指定します.モジュールは,
8019 \begin_inset Flex Code
8020 status collapsed
8021
8022 \begin_layout Plain Layout
8023 .module
8024 \end_layout
8025
8026 \end_inset
8027
8028 拡張子を除いたファイル名で指定します.ユーザはこのモジュールを除外することができますが,当初は有効の状態になっています(これは新しいファイルが作成されたときや,
8029 既存の文書にこの文書クラスが選択したときのみ該当します).
8030 \end_layout
8031
8032 \begin_layout Description
8033 \begin_inset Flex Code
8034 status collapsed
8035
8036 \begin_layout Plain Layout
8037 DefaultStyle
8038 \end_layout
8039
8040 \end_inset
8041
8042  [
8043 \begin_inset Flex Code
8044 status collapsed
8045
8046 \begin_layout Plain Layout
8047 <様式>
8048 \end_layout
8049
8050 \end_inset
8051
8052 ]
8053 \lang english
8054  
8055 \lang japanese
8056 これは新規段落に割り当てられる様式であり,通常は
8057 \begin_inset Flex MenuItem
8058 status collapsed
8059
8060 \begin_layout Plain Layout
8061 標準
8062 \end_layout
8063
8064 \end_inset
8065
8066 です.もしこれを指定しなければ,最初に定義される様式がこれに割り当てられるようにはなっていますが,このディレクティブを使用することが推奨されます.
8067 \end_layout
8068
8069 \begin_layout Description
8070 \begin_inset Flex Code
8071 status collapsed
8072
8073 \begin_layout Plain Layout
8074 ExcludesModule
8075 \end_layout
8076
8077 \end_inset
8078
8079  [
8080 \begin_inset Flex Code
8081 status collapsed
8082
8083 \begin_layout Plain Layout
8084 <モジュール>
8085 \end_layout
8086
8087 \end_inset
8088
8089 ] このタグは,指定されたモジュール—
8090 \begin_inset Flex Code
8091 status collapsed
8092
8093 \begin_layout Plain Layout
8094 .module
8095 \end_layout
8096
8097 \end_inset
8098
8099 拡張子を除いたファイル名で指定します—が,この文書クラスでは使用できないように設定します.これはたとえば,特定の学術誌用レイアウトファイルの中で,定理番号を節毎
8100 に振る
8101 \begin_inset Flex Code
8102 status collapsed
8103
8104 \begin_layout Plain Layout
8105 theorems-sec
8106 \end_layout
8107
8108 \end_inset
8109
8110 モジュールが使用されるのを防ぐために用いたりすることができます.このタグは,モジュール内で
8111 \emph on
8112 使用してはいけません
8113 \emph default
8114 .モジュールは,他のモジュールを排除する独自の枠組みがあります(第
8115 \begin_inset CommandInset ref
8116 LatexCommand ref
8117 reference "subsec:レイアウトモジュール"
8118
8119 \end_inset
8120
8121 節参照).
8122 \end_layout
8123
8124 \begin_layout Description
8125 \begin_inset Flex Code
8126 status collapsed
8127
8128 \begin_layout Plain Layout
8129 Float
8130 \end_layout
8131
8132 \end_inset
8133
8134  フロートを新規に定義します.詳細は,第
8135 \begin_inset CommandInset ref
8136 LatexCommand ref
8137 reference "subsec:フロート"
8138
8139 \end_inset
8140
8141 節を参照してください.「
8142 \begin_inset Flex Code
8143 status collapsed
8144
8145 \begin_layout Plain Layout
8146 End
8147 \end_layout
8148
8149 \end_inset
8150
8151 」で閉じる必要があります.
8152 \end_layout
8153
8154 \begin_layout Description
8155 \begin_inset Flex Code
8156 status collapsed
8157
8158 \begin_layout Plain Layout
8159 HTMLPreamble
8160 \end_layout
8161
8162 \end_inset
8163
8164  この文書クラスがXHTMLに出力されるときに,
8165 \begin_inset Flex Code
8166 status collapsed
8167
8168 \begin_layout Plain Layout
8169 <head>
8170 \end_layout
8171
8172 \end_inset
8173
8174 ブロックに出力される情報です.これより前に出現した
8175 \begin_inset Flex Code
8176 status collapsed
8177
8178 \begin_layout Plain Layout
8179 HTMLPreamble
8180 \end_layout
8181
8182 \end_inset
8183
8184
8185 \begin_inset Flex Code
8186 status collapsed
8187
8188 \begin_layout Plain Layout
8189 AddToHTMLPreamble
8190 \end_layout
8191
8192 \end_inset
8193
8194 宣言は,すべて完全に上書きされることに注意してください(プリアンブルに何かを追加したい時には,
8195 \begin_inset Flex Code
8196 status collapsed
8197
8198 \begin_layout Plain Layout
8199 AddToHTMLPreamble
8200 \end_layout
8201
8202 \end_inset
8203
8204 を使用してください).これは「
8205 \begin_inset Flex Code
8206 status collapsed
8207
8208 \begin_layout Plain Layout
8209 EndPreamble
8210 \end_layout
8211
8212 \end_inset
8213
8214 」で閉じる必要があります.
8215 \end_layout
8216
8217 \begin_layout Description
8218 \begin_inset Flex Code
8219 status collapsed
8220
8221 \begin_layout Plain Layout
8222 HTMLTOCSection
8223 \end_layout
8224
8225 \end_inset
8226
8227  [
8228 \begin_inset Flex Code
8229 status collapsed
8230
8231 \begin_layout Plain Layout
8232 <様式>
8233 \end_layout
8234
8235 \end_inset
8236
8237 ] 文書がHTMLに出力されるときに,目次や書誌情報などに使用されるレイアウトです.articleの場合には,これは通常「節」であり,bookの場合は「章」です
8238 .これを指定しない場合には,\SpecialChar LyX
8239 はどのレイアウトを使用するべきか,解析しようと試みます.
8240 \end_layout
8241
8242 \begin_layout Description
8243 \begin_inset Flex Code
8244 status collapsed
8245
8246 \begin_layout Plain Layout
8247 IfCounter 
8248 \end_layout
8249
8250 \end_inset
8251
8252  [
8253 \begin_inset Flex Code
8254 status collapsed
8255
8256 \begin_layout Plain Layout
8257 <カウンタ>
8258 \end_layout
8259
8260 \end_inset
8261
8262 ] 与えられたカウンタの特性を修正します.カウンタが存在しない場合には,この節は無視されます.「
8263 \begin_inset Flex Code
8264 status collapsed
8265
8266 \begin_layout Plain Layout
8267 End
8268 \end_layout
8269
8270 \end_inset
8271
8272 」で閉じる必要があります.
8273 \begin_inset Newline newline
8274 \end_inset
8275
8276 カウンタについての詳細は,第
8277 \begin_inset CommandInset ref
8278 LatexCommand ref
8279 reference "subsec:カウンタ"
8280
8281 \end_inset
8282
8283 節をご覧ください.
8284 \end_layout
8285
8286 \begin_layout Description
8287 \begin_inset Flex Code
8288 status collapsed
8289
8290 \begin_layout Plain Layout
8291 IfStyle
8292 \end_layout
8293
8294 \end_inset
8295
8296  [
8297 \begin_inset Flex Code
8298 status collapsed
8299
8300 \begin_layout Plain Layout
8301 <様式>
8302 \end_layout
8303
8304 \end_inset
8305
8306 ] 与えられた段落様式の特性を修正します.様式が存在しない場合には,この節は無視されます.「
8307 \begin_inset Flex Code
8308 status collapsed
8309
8310 \begin_layout Plain Layout
8311 End
8312 \end_layout
8313
8314 \end_inset
8315
8316 」で閉じる必要があります.
8317 \end_layout
8318
8319 \begin_layout Description
8320 \begin_inset Flex Code
8321 status collapsed
8322
8323 \begin_layout Plain Layout
8324 Input
8325 \end_layout
8326
8327 \end_inset
8328
8329  [
8330 \begin_inset Flex Code
8331 status collapsed
8332
8333 \begin_layout Plain Layout
8334 <ファイル名>
8335 \end_layout
8336
8337 \end_inset
8338
8339 ]
8340 \lang english
8341  
8342 \lang japanese
8343 名称の指し示すように,このコマンドは,同じコマンドを何度も指定せずに済むように,別のレイアウト定義ファイルを取り込ませます.よく使われる例は,基本的なレイアウト
8344 のほとんどを収録している
8345 \begin_inset Flex Code
8346 status collapsed
8347
8348 \begin_layout Plain Layout
8349 stdclass.inc
8350 \end_layout
8351
8352 \end_inset
8353
8354 のような標準レイアウトファイルです.
8355 \end_layout
8356
8357 \begin_layout Description
8358 \begin_inset Flex Code
8359 status collapsed
8360
8361 \begin_layout Plain Layout
8362 InsetLayout
8363 \end_layout
8364
8365 \end_inset
8366
8367  [
8368 \begin_inset Flex Code
8369 status collapsed
8370
8371 \begin_layout Plain Layout
8372 <型>
8373 \end_layout
8374
8375 \end_inset
8376
8377 ]
8378 \lang english
8379  
8380 \lang japanese
8381 このセクションは,差込枠のレイアウトを定義(再定義)します.これは,既存の差込枠にも,新しい文字様式のような新規のユーザ定義差込枠にも使用することができます.「
8382 \begin_inset Flex Code
8383 status collapsed
8384
8385 \begin_layout Plain Layout
8386 End
8387 \end_layout
8388
8389 \end_inset
8390
8391 」で閉じる必要があります.
8392 \begin_inset Newline newline
8393 \end_inset
8394
8395 詳しい情報は,第
8396 \begin_inset CommandInset ref
8397 LatexCommand ref
8398 reference "subsec:任意設定差込枠"
8399
8400 \end_inset
8401
8402 節をご覧ください.
8403 \end_layout
8404
8405 \begin_layout Description
8406 \begin_inset Flex Code
8407 status collapsed
8408
8409 \begin_layout Plain Layout
8410 LeftMargin
8411 \end_layout
8412
8413 \end_inset
8414
8415  [
8416 \begin_inset Flex Code
8417 status collapsed
8418
8419 \begin_layout Plain Layout
8420 文字列
8421 \end_layout
8422
8423 \end_inset
8424
8425 ] 画面上の左余白の幅を指示する文字列.例:「
8426 \begin_inset Flex Code
8427 status collapsed
8428
8429 \begin_layout Plain Layout
8430 MMMMM
8431 \end_layout
8432
8433 \end_inset
8434
8435 」.(これは,「2ex」のような「長さ」ではないことに注意してください.)
8436 \end_layout
8437
8438 \begin_layout Description
8439 \begin_inset Flex Code
8440 status collapsed
8441
8442 \begin_layout Plain Layout
8443 MaxCiteNames
8444 \end_layout
8445
8446 \end_inset
8447
8448  [
8449 \begin_inset Flex Code
8450 status collapsed
8451
8452 \begin_layout Plain Layout
8453 整数
8454 \end_layout
8455
8456 \end_inset
8457
8458 ] 著者-刊行年引用で,引用が「第一著者 et al.」に切り替わる前に,表示される名前の最大数を定める整数.主に引用エンジンファイルで使用されます(第
8459 \begin_inset CommandInset ref
8460 LatexCommand ref
8461 reference "subsec:引用エンジンファイル"
8462 plural "false"
8463 caps "false"
8464 noprefix "false"
8465
8466 \end_inset
8467
8468 節参照).
8469 \end_layout
8470
8471 \begin_layout Description
8472 \begin_inset Flex Code
8473 status collapsed
8474
8475 \begin_layout Plain Layout
8476 NoCounter
8477 \end_layout
8478
8479 \end_inset
8480
8481  [
8482 \begin_inset Flex Code
8483 status collapsed
8484
8485 \begin_layout Plain Layout
8486 <カウンタ>
8487 \end_layout
8488
8489 \end_inset
8490
8491 ] このコマンドは,既存のカウンタ(通常インクルードファイル内で定義されたもの)を削除します.
8492 \end_layout
8493
8494 \begin_layout Description
8495 \begin_inset Flex Code
8496 status collapsed
8497
8498 \begin_layout Plain Layout
8499 NoFloat
8500 \end_layout
8501
8502 \end_inset
8503
8504  [
8505 \begin_inset Flex Code
8506 status collapsed
8507
8508 \begin_layout Plain Layout
8509 <フロート>
8510 \end_layout
8511
8512 \end_inset
8513
8514 ] このコマンドは既存のフロートを削除します.これは特に,Inputで取り込んだファイルに定義されていたフロートを抑制するのに便利です.
8515 \end_layout
8516
8517 \begin_layout Description
8518 \begin_inset Flex Code
8519 status collapsed
8520
8521 \begin_layout Plain Layout
8522 NoStyle
8523 \end_layout
8524
8525 \end_inset
8526
8527  [
8528 \begin_inset Flex Code
8529 status collapsed
8530
8531 \begin_layout Plain Layout
8532 <様式>
8533 \end_layout
8534
8535 \end_inset
8536
8537 ] このコマンドは既存の様式を削除します.これは特に,Inputで取り込んだファイルに定義されていた様式を抑制するのに便利です.
8538 \end_layout
8539
8540 \begin_layout Description
8541 \begin_inset Flex Code
8542 status collapsed
8543
8544 \begin_layout Plain Layout
8545 OutlinerName
8546 \end_layout
8547
8548 \end_inset
8549
8550  [
8551 \begin_inset Flex Code
8552 status collapsed
8553
8554 \begin_layout Plain Layout
8555 <型>
8556 \end_layout
8557
8558 \end_inset
8559
8560 ] [
8561 \begin_inset Flex Code
8562 status collapsed
8563
8564 \begin_layout Plain Layout
8565 <文字列>
8566 \end_layout
8567
8568 \end_inset
8569
8570 ] 型が
8571 \begin_inset Flex Code
8572 status collapsed
8573
8574 \begin_layout Plain Layout
8575 <型>
8576 \end_layout
8577
8578 \end_inset
8579
8580 で名前が
8581 \begin_inset Flex Code
8582 status collapsed
8583
8584 \begin_layout Plain Layout
8585 <文字列>
8586 \end_layout
8587
8588 \end_inset
8589
8590 の新しい一覧表を定義します.AddToTocコマンドもご覧ください.
8591 \end_layout
8592
8593 \begin_layout Description
8594 \begin_inset Flex Code
8595 status collapsed
8596
8597 \begin_layout Plain Layout
8598 OutputFormat
8599 \end_layout
8600
8601 \end_inset
8602
8603  [
8604 \begin_inset Flex Code
8605 status collapsed
8606
8607 \begin_layout Plain Layout
8608 <形式>
8609 \end_layout
8610
8611 \end_inset
8612
8613 ] このクラスによって生成されるファイル形式を示す文字列(
8614 \family sans
8615 設定
8616 \family default
8617 ダイアログで定義される形のもの).おもに,
8618 \begin_inset Flex Code
8619 status collapsed
8620
8621 \begin_layout Plain Layout
8622 OutputType
8623 \end_layout
8624
8625 \end_inset
8626
8627
8628 \begin_inset Flex Code
8629 status collapsed
8630
8631 \begin_layout Plain Layout
8632 literate
8633 \end_layout
8634
8635 \end_inset
8636
8637 になっていて,新しい型のliterate文書を定義したい時に便利です.対応する
8638 \begin_inset Flex Code
8639 status collapsed
8640
8641 \begin_layout Plain Layout
8642 OutputType
8643 \end_layout
8644
8645 \end_inset
8646
8647 パラメーターに遭遇したときには,この文字列は,「
8648 \begin_inset Flex Code
8649 status collapsed
8650
8651 \begin_layout Plain Layout
8652 docbook
8653 \end_layout
8654
8655 \end_inset
8656
8657 」・「
8658 \begin_inset Flex Code
8659 status collapsed
8660
8661 \begin_layout Plain Layout
8662 lat
8663 \emph on
8664 ex
8665 \end_layout
8666
8667 \end_inset
8668
8669 」のいずれかにリセットされます.
8670 \end_layout
8671
8672 \begin_layout Description
8673 \begin_inset Flex Code
8674 status collapsed
8675
8676 \begin_layout Plain Layout
8677 OutputType
8678 \end_layout
8679
8680 \end_inset
8681
8682  [
8683 \begin_inset Flex Code
8684 status collapsed
8685
8686 \begin_layout Plain Layout
8687
8688 \emph on
8689 lat
8690 \emph default
8691 ex
8692 \end_layout
8693
8694 \end_inset
8695
8696
8697 \begin_inset Flex Code
8698 status collapsed
8699
8700 \begin_layout Plain Layout
8701 docbook
8702 \end_layout
8703
8704 \end_inset
8705
8706
8707 \begin_inset Flex Code
8708 status collapsed
8709
8710 \begin_layout Plain Layout
8711 literate
8712 \end_layout
8713
8714 \end_inset
8715
8716 ] このクラスを使用する文書がどのような種類の出力をするかを示す文字列.現在のところ,取り得る値は「docbook」・「latex」・「literate」です.
8717 \end_layout
8718
8719 \begin_layout Description
8720 \begin_inset Flex Code
8721 status collapsed
8722
8723 \begin_layout Plain Layout
8724 PackageOptions
8725 \end_layout
8726
8727 \end_inset
8728
8729  [
8730 \begin_inset Flex Code
8731 status collapsed
8732
8733 \begin_layout Plain Layout
8734 文字列
8735 \end_layout
8736
8737 \end_inset
8738
8739  
8740 \begin_inset Flex Code
8741 status collapsed
8742
8743 \begin_layout Plain Layout
8744 文字列
8745 \end_layout
8746
8747 \end_inset
8748
8749 ] 第1文字列で指定したパッケージ用のオプションを第2文字列で指定します.例えば,「
8750 \begin_inset Flex Code
8751 status collapsed
8752
8753 \begin_layout Plain Layout
8754 PackageOptions natbib square
8755 \end_layout
8756
8757 \end_inset
8758
8759 」とすると,
8760 \begin_inset Flex Code
8761 status collapsed
8762
8763 \begin_layout Plain Layout
8764 natbib
8765 \end_layout
8766
8767 \end_inset
8768
8769
8770 \begin_inset Flex Code
8771 status collapsed
8772
8773 \begin_layout Plain Layout
8774 square
8775 \end_layout
8776
8777 \end_inset
8778
8779 オプションとともに読み込みます(\SpecialChar TeX
8780 perts向けに述べると,これは,
8781 \begin_inset Flex Code
8782 status collapsed
8783
8784 \begin_layout Plain Layout
8785 natbib
8786 \end_layout
8787
8788 \end_inset
8789
8790 を読み込む前に,\SpecialChar LyX
8791
8792 \begin_inset Flex Code
8793 status collapsed
8794
8795 \begin_layout Plain Layout
8796
8797 \backslash
8798 PassOptionsToPackage{natbib}{square}
8799 \end_layout
8800
8801 \end_inset
8802
8803 を出力させます).
8804 \end_layout
8805
8806 \begin_layout Description
8807 \begin_inset Flex Code
8808 status collapsed
8809
8810 \begin_layout Plain Layout
8811 PageStyle
8812 \end_layout
8813
8814 \end_inset
8815
8816  [
8817 \emph on
8818
8819 \begin_inset Flex Code
8820 status collapsed
8821
8822 \begin_layout Plain Layout
8823 plain
8824 \end_layout
8825
8826 \end_inset
8827
8828
8829 \emph default
8830
8831 \begin_inset Flex Code
8832 status collapsed
8833
8834 \begin_layout Plain Layout
8835 empty
8836 \end_layout
8837
8838 \end_inset
8839
8840
8841 \begin_inset Flex Code
8842 status collapsed
8843
8844 \begin_layout Plain Layout
8845 headings
8846 \end_layout
8847
8848 \end_inset
8849
8850 ] 既定ページ様式.
8851 \begin_inset Flex MenuItem
8852 status collapsed
8853
8854 \begin_layout Plain Layout
8855 文書\SpecialChar menuseparator
8856 設定
8857 \end_layout
8858
8859 \end_inset
8860
8861 ダイアログで変更することができます.
8862 \end_layout
8863
8864 \begin_layout Description
8865 \begin_inset Flex Code
8866 status collapsed
8867
8868 \begin_layout Plain Layout
8869 Preamble
8870 \end_layout
8871
8872 \end_inset
8873
8874  \SpecialChar LaTeX
8875 文書のプリアンブルを設定します.前に行った
8876 \begin_inset Flex Code
8877 status collapsed
8878
8879 \begin_layout Plain Layout
8880 Preamble
8881 \end_layout
8882
8883 \end_inset
8884
8885 宣言や
8886 \begin_inset Flex Code
8887 status collapsed
8888
8889 \begin_layout Plain Layout
8890 AddToPreamble
8891 \end_layout
8892
8893 \end_inset
8894
8895 宣言は,すべて上書きされてしまうので注意してください.(プリアンブルに何かを追加したい時には,
8896 \begin_inset Flex Code
8897 status collapsed
8898
8899 \begin_layout Plain Layout
8900 AddToPreamble
8901 \end_layout
8902
8903 \end_inset
8904
8905 を使用してください.)「
8906 \begin_inset Flex Code
8907 status collapsed
8908
8909 \begin_layout Plain Layout
8910 EndPreamble
8911 \end_layout
8912
8913 \end_inset
8914
8915 」で閉じる必要があります.
8916 \end_layout
8917
8918 \begin_layout Description
8919 \begin_inset Flex Code
8920 status collapsed
8921
8922 \begin_layout Plain Layout
8923 Provides
8924 \end_layout
8925
8926 \end_inset
8927
8928  [
8929 \begin_inset Flex Code
8930 status collapsed
8931
8932 \begin_layout Plain Layout
8933 文字列
8934 \end_layout
8935
8936 \end_inset
8937
8938 ] [
8939 \begin_inset Flex Code
8940 status collapsed
8941
8942 \begin_layout Plain Layout
8943
8944 \emph on
8945 0
8946 \end_layout
8947
8948 \end_inset
8949
8950
8951 \begin_inset Flex Code
8952 status collapsed
8953
8954 \begin_layout Plain Layout
8955 1
8956 \end_layout
8957
8958 \end_inset
8959
8960 ] このクラスが
8961 \begin_inset Flex Code
8962 status collapsed
8963
8964 \begin_layout Plain Layout
8965 文字列
8966 \end_layout
8967
8968 \end_inset
8969
8970 で示される機能を既に提供しているかどうかを示します.機能は,一般的にパッケージ名(
8971 \begin_inset Flex Code
8972 status collapsed
8973
8974 \begin_layout Plain Layout
8975 amsmath
8976 \end_layout
8977
8978 \end_inset
8979
8980
8981 \begin_inset Flex Code
8982 status collapsed
8983
8984 \begin_layout Plain Layout
8985 makeidx
8986 \end_layout
8987
8988 \end_inset
8989
8990 ・\SpecialChar ldots
8991 )やマクロ名(
8992 \begin_inset Flex Code
8993 status collapsed
8994
8995 \begin_layout Plain Layout
8996 url
8997 \end_layout
8998
8999 \end_inset
9000
9001
9002 \begin_inset Flex Code
9003 status collapsed
9004
9005 \begin_layout Plain Layout
9006 boldsymbol
9007 \end_layout
9008
9009 \end_inset
9010
9011 ・\SpecialChar ldots
9012 )です.機能一覧については,
9013 \begin_inset CommandInset ref
9014 LatexCommand ref
9015 reference "chap:関数一覧"
9016
9017 \end_inset
9018
9019 を参照.
9020 \end_layout
9021
9022 \begin_layout Description
9023 \begin_inset Flex Code
9024 status collapsed
9025
9026 \begin_layout Plain Layout
9027 ProvidesModule
9028 \end_layout
9029
9030 \end_inset
9031
9032  [
9033 \begin_inset Flex Code
9034 status collapsed
9035
9036 \begin_layout Plain Layout
9037 文字列
9038 \end_layout
9039
9040 \end_inset
9041
9042 ] このレイアウトが
9043 \begin_inset Flex Code
9044 status collapsed
9045
9046 \begin_layout Plain Layout
9047 文字列
9048 \end_layout
9049
9050 \end_inset
9051
9052 で表されているモジュールの機能を提供することを示し,
9053 \begin_inset Flex Code
9054 status collapsed
9055
9056 \begin_layout Plain Layout
9057 .module
9058 \end_layout
9059
9060 \end_inset
9061
9062 拡張子を除いたファイル名で指定します.
9063 \begin_inset Flex Code
9064 status collapsed
9065
9066 \begin_layout Plain Layout
9067 DefaultModule
9068 \end_layout
9069
9070 \end_inset
9071
9072 タグを使用すると,モジュールを使用しなくてはならないことを示しますが,このタグは主に,このレイアウトがモジュールを直接取り込んでしまっていることを示すのに用いら
9073 れます.同じ機能を別に実装しているモジュール中で使用するなどすることもできます.
9074 \end_layout
9075
9076 \begin_layout Description
9077 \begin_inset Flex Code
9078 status collapsed
9079
9080 \begin_layout Plain Layout
9081 Requires
9082 \end_layout
9083
9084 \end_inset
9085
9086  [
9087 \begin_inset Flex Code
9088 status collapsed
9089
9090 \begin_layout Plain Layout
9091 文字列
9092 \end_layout
9093
9094 \end_inset
9095
9096 ] このクラスが
9097 \begin_inset Flex Code
9098 status collapsed
9099
9100 \begin_layout Plain Layout
9101 文字列
9102 \end_layout
9103
9104 \end_inset
9105
9106 で表されている機能を要求することを示します.機能が複数ある場合には,コンマで区切らなくてはなりません.サポートされている機能以外は要求できないことに注意してくだ
9107 さい(機能一覧については
9108 \begin_inset CommandInset ref
9109 LatexCommand ref
9110 reference "chap:関数一覧"
9111
9112 \end_inset
9113
9114 を参照).特定のオプションをとるパッケージを要求する場合,
9115 \begin_inset Flex Code
9116 status collapsed
9117
9118 \begin_layout Plain Layout
9119 PackageOptions
9120 \end_layout
9121
9122 \end_inset
9123
9124 を追加して使うことができます.
9125 \end_layout
9126
9127 \begin_layout Description
9128 \begin_inset Flex Code
9129 status collapsed
9130
9131 \begin_layout Plain Layout
9132 RightMargin
9133 \end_layout
9134
9135 \end_inset
9136
9137  [
9138 \begin_inset Flex Code
9139 status collapsed
9140
9141 \begin_layout Plain Layout
9142 文字列
9143 \end_layout
9144
9145 \end_inset
9146
9147 ] 画面上の右余白の幅を指示する文字列.例:「
9148 \begin_inset Flex Code
9149 status collapsed
9150
9151 \begin_layout Plain Layout
9152 MMMMM
9153 \end_layout
9154
9155 \end_inset
9156
9157 」.
9158 \end_layout
9159
9160 \begin_layout Description
9161 \begin_inset Flex Code
9162 status collapsed
9163
9164 \begin_layout Plain Layout
9165 SecNumDepth
9166 \end_layout
9167
9168 \end_inset
9169
9170  [
9171 \begin_inset Flex Code
9172 status collapsed
9173
9174 \begin_layout Plain Layout
9175 int=3
9176 \end_layout
9177
9178 \end_inset
9179
9180 ] どの節区切りまで連番を振るかを指定します.\SpecialChar LaTeX
9181 における
9182 \begin_inset Flex Code
9183 status collapsed
9184
9185 \begin_layout Plain Layout
9186 secnumdepth
9187 \end_layout
9188
9189 \end_inset
9190
9191 カウンタに対応します.
9192 \end_layout
9193
9194 \begin_layout Description
9195 \begin_inset Flex Code
9196 status collapsed
9197
9198 \begin_layout Plain Layout
9199 Sides
9200 \end_layout
9201
9202 \end_inset
9203
9204  [
9205 \emph on
9206
9207 \begin_inset Flex Code
9208 status collapsed
9209
9210 \begin_layout Plain Layout
9211 1
9212 \end_layout
9213
9214 \end_inset
9215
9216
9217 \emph default
9218 ,
9219 \begin_inset space \thinspace{}
9220 \end_inset
9221
9222
9223 \begin_inset Flex Code
9224 status collapsed
9225
9226 \begin_layout Plain Layout
9227 2
9228 \end_layout
9229
9230 \end_inset
9231
9232 ] クラスの既定値として,用紙の片面に印字するか両面に印字するかを指定します.
9233 \begin_inset Flex MenuItem
9234 status collapsed
9235
9236 \begin_layout Plain Layout
9237 文書\SpecialChar menuseparator
9238 設定
9239 \end_layout
9240
9241 \end_inset
9242
9243 ダイアログで変更することができます.
9244 \end_layout
9245
9246 \begin_layout Description
9247 \begin_inset Flex Code
9248 status collapsed
9249
9250 \begin_layout Plain Layout
9251 Style
9252 \end_layout
9253
9254 \end_inset
9255
9256  [
9257 \begin_inset Flex Code
9258 status collapsed
9259
9260 \begin_layout Plain Layout
9261 <名称>
9262 \end_layout
9263
9264 \end_inset
9265
9266 ]
9267 \lang english
9268  
9269 \lang japanese
9270 この部分は段落様式を定義します.様式がまだ存在していなければ,生成されます.既に存在していれば,そのパラメータが修正されます.「
9271 \begin_inset Flex Code
9272 status collapsed
9273
9274 \begin_layout Plain Layout
9275 End
9276 \end_layout
9277
9278 \end_inset
9279
9280 」で閉じる必要があります.
9281 \begin_inset Newline newline
9282 \end_inset
9283
9284 段落様式に関する詳細は,
9285 \begin_inset CommandInset ref
9286 LatexCommand ref
9287 reference "subsec:段落様式-XHTML"
9288
9289 \end_inset
9290
9291 をご覧ください.
9292 \end_layout
9293
9294 \begin_layout Description
9295 \begin_inset Flex Code
9296 status collapsed
9297
9298 \begin_layout Plain Layout
9299 TitleLatexName
9300 \end_layout
9301
9302 \end_inset
9303
9304  [
9305 \begin_inset Flex Code
9306 status collapsed
9307
9308 \begin_layout Plain Layout
9309 文字列="maketitle"
9310 \end_layout
9311
9312 \end_inset
9313
9314
9315 \begin_inset Flex Code
9316 status collapsed
9317
9318 \begin_layout Plain Layout
9319 TitleLatexType
9320 \end_layout
9321
9322 \end_inset
9323
9324 で使用すべきコマンド名あるいは環境名.The name of the command or environment to be used with
9325  
9326 \begin_inset Flex Code
9327 status collapsed
9328
9329 \begin_layout Plain Layout
9330 TitleLatexType
9331 \end_layout
9332
9333 \end_inset
9334
9335 .
9336 \end_layout
9337
9338 \begin_layout Description
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  [
9349 \begin_inset Flex Code
9350 status collapsed
9351
9352 \begin_layout Plain Layout
9353
9354 \emph on
9355 CommandAfter
9356 \end_layout
9357
9358 \end_inset
9359
9360
9361 \begin_inset Flex Code
9362 status collapsed
9363
9364 \begin_layout Plain Layout
9365 Environment
9366 \end_layout
9367
9368 \end_inset
9369
9370 ] 文書のタイトルを定義するのに,どのようなマークアップを使用するのかを示します.
9371 \begin_inset Flex Code
9372 status collapsed
9373
9374 \begin_layout Plain Layout
9375 CommandAfter
9376 \end_layout
9377
9378 \end_inset
9379
9380 は,「
9381 \begin_inset Flex Code
9382 status collapsed
9383
9384 \begin_layout Plain Layout
9385 InTitle
9386 \begin_inset space ~
9387 \end_inset
9388
9389 1
9390 \end_layout
9391
9392 \end_inset
9393
9394 」が指定されている最後のレイアウトの後に,
9395 \begin_inset Flex Code
9396 status collapsed
9397
9398 \begin_layout Plain Layout
9399 TitleLatexName
9400 \end_layout
9401
9402 \end_inset
9403
9404 で指定したマクロ名を挿入することを意味します.
9405 \begin_inset Flex Code
9406 status collapsed
9407
9408 \begin_layout Plain Layout
9409 Environment
9410 \end_layout
9411
9412 \end_inset
9413
9414 は,「
9415 \begin_inset Flex Code
9416 status collapsed
9417
9418 \begin_layout Plain Layout
9419 InTitle
9420 \begin_inset space ~
9421 \end_inset
9422
9423 1
9424 \end_layout
9425
9426 \end_inset
9427
9428 」を持つ段落群を
9429 \begin_inset Flex Code
9430 status collapsed
9431
9432 \begin_layout Plain Layout
9433 TitleLatexName
9434 \end_layout
9435
9436 \end_inset
9437
9438 で指定した環境でくるむ場合に対応します.
9439 \end_layout
9440
9441 \begin_layout Description
9442 \begin_inset Flex Code
9443 status collapsed
9444
9445 \begin_layout Plain Layout
9446 TocDepth
9447 \end_layout
9448
9449 \end_inset
9450
9451  [
9452 \begin_inset Flex Code
9453 status collapsed
9454
9455 \begin_layout Plain Layout
9456 int=3
9457 \end_layout
9458
9459 \end_inset
9460
9461 ] どの節区切りまで目次に取り込むかを指定します.\SpecialChar LaTeX
9462
9463 \begin_inset Flex Code
9464 status collapsed
9465
9466 \begin_layout Plain Layout
9467 tocdepth
9468 \end_layout
9469
9470 \end_inset
9471
9472 カウンタに対応します.
9473 \end_layout
9474
9475 \begin_layout Subsection
9476 \begin_inset Flex Code
9477 status collapsed
9478
9479 \begin_layout Plain Layout
9480 ClassOptions
9481 \end_layout
9482
9483 \end_inset
9484
9485
9486 \begin_inset CommandInset label
9487 LatexCommand label
9488 name "subsec:ClassOptions"
9489
9490 \end_inset
9491
9492
9493 \end_layout
9494
9495 \begin_layout Standard
9496 \begin_inset Flex Code
9497 status collapsed
9498
9499 \begin_layout Plain Layout
9500 ClassOptions
9501 \end_layout
9502
9503 \end_inset
9504
9505 部は,以下の項目を取り得ます.
9506 \end_layout
9507
9508 \begin_layout Description
9509 \begin_inset Flex Code
9510 status collapsed
9511
9512 \begin_layout Plain Layout
9513 FontSize
9514 \end_layout
9515
9516 \end_inset
9517
9518  [
9519 \begin_inset Flex Code
9520 status collapsed
9521
9522 \begin_layout Plain Layout
9523 文字列="10|11|12"
9524 \end_layout
9525
9526 \end_inset
9527
9528 ] 文書のメインフォントが使用できるフォント寸法の一覧です.「
9529 \begin_inset Flex Code
9530 status collapsed
9531
9532 \begin_layout Plain Layout
9533 |
9534 \end_layout
9535
9536 \end_inset
9537
9538 」で区切ります.
9539 \end_layout
9540
9541 \begin_layout Description
9542 \begin_inset Flex Code
9543 status collapsed
9544
9545 \begin_layout Plain Layout
9546 Header
9547 \end_layout
9548
9549 \end_inset
9550
9551  XMLベースの出力クラスで,DTD行を設定するのに使用されます.例:PUBLIC 
9552 \begin_inset Quotes eld
9553 \end_inset
9554
9555 -//OASIS//DTD DocBook V4.2//EN
9556 \begin_inset Quotes erd
9557 \end_inset
9558
9559
9560 \end_layout
9561
9562 \begin_layout Description
9563 \begin_inset Flex Code
9564 status collapsed
9565
9566 \begin_layout Plain Layout
9567 PageStyle
9568 \end_layout
9569
9570 \end_inset
9571
9572  [
9573 \begin_inset Flex Code
9574 status collapsed
9575
9576 \begin_layout Plain Layout
9577 文字列="empty|plain|headings|fancy"
9578 \end_layout
9579
9580 \end_inset
9581
9582 ] 使用できるページ様式の一覧です.「
9583 \begin_inset Flex Code
9584 status collapsed
9585
9586 \begin_layout Plain Layout
9587 |
9588 \end_layout
9589
9590 \end_inset
9591
9592 」で区切ります.
9593 \end_layout
9594
9595 \begin_layout Description
9596 \begin_inset Flex Code
9597 status collapsed
9598
9599 \begin_layout Plain Layout
9600 Other
9601 \end_layout
9602
9603 \end_inset
9604
9605  [
9606 \begin_inset Flex Code
9607 status collapsed
9608
9609 \begin_layout Plain Layout
9610 文字列=""
9611 \end_layout
9612
9613 \end_inset
9614
9615
9616 \begin_inset Flex Code
9617 status collapsed
9618
9619 \begin_layout Plain Layout
9620
9621 \backslash
9622 documentclass
9623 \end_layout
9624
9625 \end_inset
9626
9627 コマンドの非必須パラメータとして付け加える文書クラスオプションです.コンマで区切ります.
9628 \end_layout
9629
9630 \begin_layout Standard
9631 \begin_inset Flex Code
9632 status collapsed
9633
9634 \begin_layout Plain Layout
9635 ClassOptions
9636 \end_layout
9637
9638 \end_inset
9639
9640 部は「
9641 \begin_inset Flex Code
9642 status collapsed
9643
9644 \begin_layout Plain Layout
9645 End
9646 \end_layout
9647
9648 \end_inset
9649
9650 」で閉じる必要があります.
9651 \end_layout
9652
9653 \begin_layout Subsection
9654 段落様式
9655 \begin_inset CommandInset label
9656 LatexCommand label
9657 name "subsec:段落様式"
9658
9659 \end_inset
9660
9661
9662 \end_layout
9663
9664 \begin_layout Standard
9665 段落様式の記述は,以下のようになります
9666 \begin_inset Foot
9667 status collapsed
9668
9669 \begin_layout Plain Layout
9670 これは新しいレイアウトを定義するか,既存のレイアウトを修正することになることに注意してください.
9671 \end_layout
9672
9673 \end_inset
9674
9675
9676 \end_layout
9677
9678 \begin_layout LyX-Code
9679 Style 
9680 \family roman
9681 \emph on
9682 名称
9683 \end_layout
9684
9685 \begin_layout LyX-Code
9686  ...
9687 \end_layout
9688
9689 \begin_layout LyX-Code
9690 End
9691 \end_layout
9692
9693 \begin_layout Standard
9694 ここでは,以下のコマンドを使用することができます.
9695 \end_layout
9696
9697 \begin_layout Description
9698 \begin_inset Flex Code
9699 status collapsed
9700
9701 \begin_layout Plain Layout
9702 AddToToc
9703 \end_layout
9704
9705 \end_inset
9706
9707  [
9708 \begin_inset Flex Code
9709 status collapsed
9710
9711 \begin_layout Plain Layout
9712 文字列
9713 \end_layout
9714
9715 \end_inset
9716
9717 =""] この段落は指定された型の一覧表に現れます.空の文字列を与えると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドもご覧
9718 ください.既定値:無効.
9719 \end_layout
9720
9721 \begin_layout Description
9722 \begin_inset Flex Code
9723 status collapsed
9724
9725 \begin_layout Plain Layout
9726 Align
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 \emph on
9738 block
9739 \emph default
9740 , left, right, center
9741 \end_layout
9742
9743 \end_inset
9744
9745 ] 段落の揃え.
9746 \end_layout
9747
9748 \begin_layout Description
9749 \begin_inset Flex Code
9750 status collapsed
9751
9752 \begin_layout Plain Layout
9753 AlignPossible
9754 \end_layout
9755
9756 \end_inset
9757
9758  [
9759 \begin_inset Flex Code
9760 status collapsed
9761
9762 \begin_layout Plain Layout
9763
9764 \emph on
9765 block
9766 \emph default
9767 , left, right, center
9768 \end_layout
9769
9770 \end_inset
9771
9772 ] 使用できる揃えのコンマ区切りリスト(\SpecialChar LaTeX
9773 スタイルには,意味を成さない一部の揃えが禁じられているものがあります.たとえば,連番箇条書きを右揃えや中央揃えにすること
9774 はできません).
9775 \end_layout
9776
9777 \begin_layout Description
9778 \begin_inset Flex Code
9779 status collapsed
9780
9781 \begin_layout Plain Layout
9782 Argument
9783 \end_layout
9784
9785 \end_inset
9786
9787  [
9788 \begin_inset Flex Code
9789 status collapsed
9790
9791 \begin_layout Plain Layout
9792 整数
9793 \end_layout
9794
9795 \end_inset
9796
9797 ] 現在の様式に関連付けられたコマンドまたは環境の引数番号<整数>を定義します.これは,節見出しのようなものに便利で,また\SpecialChar LaTeX
9798 でのみ意味を持ちます.コマンドまたは環
9799 境の引数は全て–段落の内容自身に関連付けられた必須引数を除き,必須・非必須を問わず–,別の場所で定義され,引数番号はその順序を表します.定義は
9800 \begin_inset Flex Code
9801 status collapsed
9802
9803 \begin_layout Plain Layout
9804 EndArgument
9805 \end_layout
9806
9807 \end_inset
9808
9809 で閉じなくてはなりません.非必須引数が2つあるコマンドの場合は,以下のようになります.
9810 \end_layout
9811
9812 \begin_deeper
9813 \begin_layout Quote
9814
9815 \family typewriter
9816 Argument 1
9817 \end_layout
9818
9819 \begin_layout Quote
9820
9821 \family typewriter
9822 ...
9823 \end_layout
9824
9825 \begin_layout Quote
9826
9827 \family typewriter
9828 EndArgument
9829 \end_layout
9830
9831 \begin_layout Quote
9832
9833 \family typewriter
9834 Argument 2
9835 \end_layout
9836
9837 \begin_layout Quote
9838
9839 \family typewriter
9840 ...
9841 \end_layout
9842
9843 \begin_layout Quote
9844
9845 \family typewriter
9846 EndArgument
9847 \end_layout
9848
9849 \begin_layout Standard
9850 \begin_inset Flex Code
9851 status collapsed
9852
9853 \begin_layout Plain Layout
9854 Argument
9855 \end_layout
9856
9857 \end_inset
9858
9859 定義内部では,以下の指定をすることができます.
9860 \end_layout
9861
9862 \begin_layout Itemize
9863 \begin_inset Flex Code
9864 status collapsed
9865
9866 \begin_layout Plain Layout
9867 LabelString
9868 \end_layout
9869
9870 \end_inset
9871
9872  
9873 \begin_inset Flex Code
9874 status collapsed
9875
9876 \begin_layout Plain Layout
9877 [文字列]
9878 \end_layout
9879
9880 \end_inset
9881
9882  この引数を挿入するメニューと引数差込枠ボタンに表示される文字列です(別に
9883 \begin_inset Flex Code
9884 status collapsed
9885
9886 \begin_layout Plain Layout
9887 MenuString
9888 \end_layout
9889
9890 \end_inset
9891
9892 を指定した場合を除く).メニューには,後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9893 \begin_inset space \space{}
9894 \end_inset
9895
9896
9897 \begin_inset Quotes eld
9898 \end_inset
9899
9900
9901 \begin_inset Flex Code
9902 status collapsed
9903
9904 \begin_layout Plain Layout
9905 Short Title|S
9906 \end_layout
9907
9908 \end_inset
9909
9910
9911 \begin_inset Quotes erd
9912 \end_inset
9913
9914 ).
9915 \end_layout
9916
9917 \begin_layout Itemize
9918 \begin_inset Flex Code
9919 status collapsed
9920
9921 \begin_layout Plain Layout
9922 MenuString
9923 \end_layout
9924
9925 \end_inset
9926
9927  
9928 \begin_inset Flex Code
9929 status collapsed
9930
9931 \begin_layout Plain Layout
9932 [文字列]
9933 \end_layout
9934
9935 \end_inset
9936
9937  メニュー単独用の文字列.後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9938 \begin_inset space \space{}
9939 \end_inset
9940
9941
9942 \begin_inset Quotes eld
9943 \end_inset
9944
9945
9946 \begin_inset Flex Code
9947 status collapsed
9948
9949 \begin_layout Plain Layout
9950 Short Title|S
9951 \end_layout
9952
9953 \end_inset
9954
9955
9956 \begin_inset Quotes erd
9957 \end_inset
9958
9959 ).この指定は必須ではありません.指定しない場合には,代わりに
9960 \begin_inset Flex Code
9961 status collapsed
9962
9963 \begin_layout Plain Layout
9964 LabelString
9965 \end_layout
9966
9967 \end_inset
9968
9969 がメニューに用いられます.
9970 \end_layout
9971
9972 \begin_layout Itemize
9973 \begin_inset Flex Code
9974 status collapsed
9975
9976 \begin_layout Plain Layout
9977 Tooltip
9978 \end_layout
9979
9980 \end_inset
9981
9982  
9983 \begin_inset Flex Code
9984 status collapsed
9985
9986 \begin_layout Plain Layout
9987 [文字列]
9988 \end_layout
9989
9990 \end_inset
9991
9992  引数差込枠にマウスをかざしたときに現れるツールチップに表示される長めの説明文.
9993 \end_layout
9994
9995 \begin_layout Itemize
9996 \begin_inset Flex Code
9997 status collapsed
9998
9999 \begin_layout Plain Layout
10000 Mandatory
10001 \end_layout
10002
10003 \end_inset
10004
10005  [
10006 \begin_inset Flex Code
10007 status collapsed
10008
10009 \begin_layout Plain Layout
10010
10011 \emph on
10012 0
10013 \end_layout
10014
10015 \end_inset
10016
10017 ,
10018 \begin_inset space \thinspace{}
10019 \end_inset
10020
10021
10022 \begin_inset Flex Code
10023 status collapsed
10024
10025 \begin_layout Plain Layout
10026 1
10027 \end_layout
10028
10029 \end_inset
10030
10031 ] これが必須の引数なのか(1)非必須の引数なのか(0)を宣言します.必須引数は,与えられなければ空の出力を行いますが,非必須引数の場合はそもそも出力されません
10032 .既定では,必須引数は
10033 \begin_inset Flex Code
10034 status collapsed
10035
10036 \begin_layout Plain Layout
10037 {...}
10038 \end_layout
10039
10040 \end_inset
10041
10042 で区切られ,非必須引数は
10043 \begin_inset Flex Code
10044 status collapsed
10045
10046 \begin_layout Plain Layout
10047 [...]
10048 \end_layout
10049
10050 \end_inset
10051
10052 で区切られます.
10053 \end_layout
10054
10055 \begin_layout Itemize
10056 \begin_inset Flex Code
10057 status collapsed
10058
10059 \begin_layout Plain Layout
10060 Requires
10061 \end_layout
10062
10063 \end_inset
10064
10065  
10066 \begin_inset Flex Code
10067 status collapsed
10068
10069 \begin_layout Plain Layout
10070 [整数=0]
10071 \end_layout
10072
10073 \end_inset
10074
10075  この引数が出力されるとき,必要となる別の引数を(番号によって)指定します.例えば,\SpecialChar LaTeX
10076 コマンドでは,
10077 \begin_inset Flex Code
10078 status collapsed
10079
10080 \begin_layout Plain Layout
10081
10082 \backslash
10083 command[][引数]{文字列}
10084 \end_layout
10085
10086 \end_inset
10087
10088 のように,前に(少なくとも空の)別の非必須引数を要求する非必須引数があります.これは,
10089 \begin_inset Flex Code
10090 status collapsed
10091
10092 \begin_layout Plain Layout
10093 Argument 2
10094 \end_layout
10095
10096 \end_inset
10097
10098 中に
10099 \begin_inset Flex Code
10100 status collapsed
10101
10102 \begin_layout Plain Layout
10103 Requires 1
10104 \end_layout
10105
10106 \end_inset
10107
10108 ステートメントを置くことで実現できます.
10109 \end_layout
10110
10111 \begin_layout Itemize
10112 \begin_inset Flex Code
10113 status collapsed
10114
10115 \begin_layout Plain Layout
10116 LeftDelim
10117 \end_layout
10118
10119 \end_inset
10120
10121  
10122 \begin_inset Flex Code
10123 status collapsed
10124
10125 \begin_layout Plain Layout
10126 [文字列]
10127 \end_layout
10128
10129 \end_inset
10130
10131  (
10132 \begin_inset Flex Code
10133 status collapsed
10134
10135 \begin_layout Plain Layout
10136 {
10137 \end_layout
10138
10139 \end_inset
10140
10141
10142 \begin_inset Flex Code
10143 status collapsed
10144
10145 \begin_layout Plain Layout
10146 [
10147 \end_layout
10148
10149 \end_inset
10150
10151 ではない)ユーザー定義の左区切りを定義します.出力中の改行は
10152 \begin_inset Flex Code
10153 status collapsed
10154
10155 \begin_layout Plain Layout
10156 <br/>
10157 \end_layout
10158
10159 \end_inset
10160
10161 で指示できます.
10162 \end_layout
10163
10164 \begin_layout Itemize
10165 \begin_inset Flex Code
10166 status collapsed
10167
10168 \begin_layout Plain Layout
10169 RightDelim
10170 \end_layout
10171
10172 \end_inset
10173
10174  
10175 \begin_inset Flex Code
10176 status collapsed
10177
10178 \begin_layout Plain Layout
10179 [文字列]
10180 \end_layout
10181
10182 \end_inset
10183
10184  (
10185 \begin_inset Flex Code
10186 status collapsed
10187
10188 \begin_layout Plain Layout
10189 }
10190 \end_layout
10191
10192 \end_inset
10193
10194
10195 \begin_inset Flex Code
10196 status collapsed
10197
10198 \begin_layout Plain Layout
10199 ]
10200 \end_layout
10201
10202 \end_inset
10203
10204 ではない)ユーザー定義の右区切りを定義します.出力中の改行は
10205 \begin_inset Flex Code
10206 status collapsed
10207
10208 \begin_layout Plain Layout
10209 <br/>
10210 \end_layout
10211
10212 \end_inset
10213
10214 で指示できます.
10215 \end_layout
10216
10217 \begin_layout Itemize
10218 \begin_inset Flex Code
10219 status collapsed
10220
10221 \begin_layout Plain Layout
10222 DefaultArg
10223 \end_layout
10224
10225 \end_inset
10226
10227  
10228 \begin_inset Flex Code
10229 status collapsed
10230
10231 \begin_layout Plain Layout
10232 [文字列]
10233 \end_layout
10234
10235 \end_inset
10236
10237  ユーザー指定引数が与えられなかったとき,すなわち引数差込枠が挿入されなかったときに限り,挿入される引数を定義します(空の引数差込枠が挿入されてもDefault
10238 Argは無効になることに注意してください).引数が複数のときはコンマで区切る必要があります.
10239 \end_layout
10240
10241 \begin_layout Itemize
10242 \begin_inset Flex Code
10243 status collapsed
10244
10245 \begin_layout Plain Layout
10246 PresetArg
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  どのような場合にも(単独もしくはユーザー定義引数とともに)挿入される引数を定義します.引数が複数のときはコンマで区切る必要があります.
10262 \end_layout
10263
10264 \begin_layout Itemize
10265 \begin_inset Flex Code
10266 status collapsed
10267
10268 \begin_layout Plain Layout
10269 Font
10270 \end_layout
10271
10272 \end_inset
10273
10274  引数の内容に用いられるフォント.
10275 \begin_inset CommandInset ref
10276 LatexCommand ref
10277 reference "subsec:フォント指定"
10278
10279 \end_inset
10280
10281 参照.
10282 \end_layout
10283
10284 \begin_layout Itemize
10285 \begin_inset Flex Code
10286 status collapsed
10287
10288 \begin_layout Plain Layout
10289 LabelFont
10290 \end_layout
10291
10292 \end_inset
10293
10294  ラベルに用いられるフォント.
10295 \begin_inset CommandInset ref
10296 LatexCommand ref
10297 reference "subsec:フォント指定"
10298
10299 \end_inset
10300
10301 参照.
10302 \end_layout
10303
10304 \begin_layout Itemize
10305 \begin_inset Flex Code
10306 status collapsed
10307
10308 \begin_layout Plain Layout
10309 Decoration
10310 \end_layout
10311
10312 \end_inset
10313
10314  [
10315 \begin_inset Flex Code
10316 status collapsed
10317
10318 \begin_layout Plain Layout
10319
10320 \emph on
10321 Classic
10322 \emph default
10323 , Minimalistic, Conglomerate
10324 \end_layout
10325
10326 \end_inset
10327
10328 ] 差込枠の枠とボタンに用いられる装飾様式.
10329 \end_layout
10330
10331 \begin_layout Itemize
10332 \begin_inset Flex Code
10333 status collapsed
10334
10335 \begin_layout Plain Layout
10336 AutoInsert
10337 \end_layout
10338
10339 \end_inset
10340
10341  
10342 \begin_inset Flex Code
10343 status collapsed
10344
10345 \begin_layout Plain Layout
10346 [整数=0]
10347 \end_layout
10348
10349 \end_inset
10350
10351  これが
10352 \begin_inset Flex Code
10353 status collapsed
10354
10355 \begin_layout Plain Layout
10356 1
10357 \end_layout
10358
10359 \end_inset
10360
10361 に設定されると,各様式が選択されたときに,この引数が自動的に挿入されます.現在のところ,様式・レイアウト毎に1変数のみ自動挿入することができます.
10362 \end_layout
10363
10364 \begin_layout Itemize
10365 \begin_inset Flex Code
10366 status collapsed
10367
10368 \begin_layout Plain Layout
10369 InsertCotext
10370 \end_layout
10371
10372 \end_inset
10373
10374  
10375 \begin_inset Flex Code
10376 status collapsed
10377
10378 \begin_layout Plain Layout
10379 [整数=0]
10380 \end_layout
10381
10382 \end_inset
10383
10384  これが
10385 \begin_inset Flex Code
10386 status collapsed
10387
10388 \begin_layout Plain Layout
10389 1
10390 \end_layout
10391
10392 \end_inset
10393
10394 に設定されると,この引数は,副文(選択した文ないしは段落全体)のコピーを内容にとって挿入されます.
10395 \end_layout
10396
10397 \begin_layout Itemize
10398 \begin_inset Flex Code
10399 status collapsed
10400
10401 \begin_layout Plain Layout
10402 PassThru
10403 \end_layout
10404
10405 \end_inset
10406
10407  [
10408 \begin_inset Flex Code
10409 status collapsed
10410
10411 \begin_layout Plain Layout
10412
10413 \emph on
10414 inherited
10415 \emph default
10416 , true, false
10417 \end_layout
10418
10419 \end_inset
10420
10421 ] この引数の内容が,\SpecialChar LaTeX
10422 が要求する特別な書き換えを行うことなく,原文のまま出力されるべきかどうかを指定します.既定値では,
10423 \begin_inset Flex Code
10424 status collapsed
10425
10426 \begin_layout Plain Layout
10427 PassThru
10428 \end_layout
10429
10430 \end_inset
10431
10432 の状態は,引数が属する差込枠または段落レイアウトに継承されます.trueまたはfalseは,この引数のみの状態を変更します.
10433 \end_layout
10434
10435 \begin_layout Itemize
10436 \begin_inset Flex Code
10437 status collapsed
10438
10439 \begin_layout Plain Layout
10440 PassThruChars
10441 \end_layout
10442
10443 \end_inset
10444
10445  [
10446 \begin_inset Flex Code
10447 status collapsed
10448
10449 \begin_layout Plain Layout
10450 文字列
10451 \end_layout
10452
10453 \end_inset
10454
10455 ]
10456 \family typewriter
10457  
10458 \family default
10459 \SpecialChar LaTeX
10460 が要求する特別な翻訳は抜きにして,生の形で出力されるべき各文字を定義します.PassThruとは違って,引数用に,これは明示的に定義されなくてはなりません.つま
10461 り,引数は,親差込枠や親レイアウトからPassThruCharsを継承しません.
10462 \end_layout
10463
10464 \begin_layout Itemize
10465 \begin_inset Flex Code
10466 status collapsed
10467
10468 \begin_layout Plain Layout
10469 IsTocCaption
10470 \end_layout
10471
10472 \end_inset
10473
10474  [
10475 \begin_inset Flex Code
10476 status collapsed
10477
10478 \begin_layout Plain Layout
10479
10480 \emph on
10481 0
10482 \end_layout
10483
10484 \end_inset
10485
10486 ,
10487 \begin_inset space \thinspace{}
10488 \end_inset
10489
10490
10491 \begin_inset Flex Code
10492 status collapsed
10493
10494 \begin_layout Plain Layout
10495 1
10496 \end_layout
10497
10498 \end_inset
10499
10500 ] これを1に設定すると,引数は,その内容を対応する一覧表の項目に出力します.AddToTocを参照.
10501 \end_layout
10502
10503 \begin_layout Standard
10504 既定では,
10505 \begin_inset Flex Code
10506 status collapsed
10507
10508 \begin_layout Plain Layout
10509 LatexType
10510 \end_layout
10511
10512 \end_inset
10513
10514
10515 \begin_inset Flex Code
10516 status collapsed
10517
10518 \begin_layout Plain Layout
10519 Command
10520 \end_layout
10521
10522 \end_inset
10523
10524 のとき,各レイアウトで\SpecialChar LyX
10525 作業領域に入力した文字列は,コマンドの最後の(必須)引数になります.しかしながら,前置句
10526 \begin_inset Flex Code
10527 status collapsed
10528
10529 \begin_layout Plain Layout
10530 post:
10531 \end_layout
10532
10533 \end_inset
10534
10535 を付けた文字列は,この作業領域引数の後に出力されます.後置引数の番号は1から振られ直されますので,作業領域引数の後の最初の引数は
10536 \begin_inset Flex Code
10537 status collapsed
10538
10539 \begin_layout Plain Layout
10540 post:1
10541 \end_layout
10542
10543 \end_inset
10544
10545 となります.後置引数は,
10546 \begin_inset Flex Code
10547 status collapsed
10548
10549 \begin_layout Plain Layout
10550 Command
10551 \end_layout
10552
10553 \end_inset
10554
10555 以外の
10556 \begin_inset Flex Code
10557 status collapsed
10558
10559 \begin_layout Plain Layout
10560 LatexType
10561 \end_layout
10562
10563 \end_inset
10564
10565 では無視されます.
10566 \end_layout
10567
10568 \begin_layout Standard
10569 (
10570 \begin_inset Flex Code
10571 status collapsed
10572
10573 \begin_layout Plain Layout
10574
10575 \backslash
10576 item[foo]
10577 \end_layout
10578
10579 \end_inset
10580
10581 のような)箇条書き
10582 \begin_inset Flex Code
10583 status collapsed
10584
10585 \begin_layout Plain Layout
10586
10587 \backslash
10588 item
10589 \end_layout
10590
10591 \end_inset
10592
10593 の引数は,前置句
10594 \begin_inset Flex Code
10595 status collapsed
10596
10597 \begin_layout Plain Layout
10598 item:
10599 \end_layout
10600
10601 \end_inset
10602
10603 の後に番号を付けます(例:
10604 \begin_inset Flex Code
10605 status collapsed
10606
10607 \begin_layout Plain Layout
10608 Argument item:1
10609 \end_layout
10610
10611 \end_inset
10612
10613 ).
10614 \end_layout
10615
10616 \end_deeper
10617 \begin_layout Description
10618
10619 \lang english
10620 \begin_inset Flex Code
10621 status collapsed
10622
10623 \begin_layout Plain Layout
10624
10625 \lang english
10626 AutoNests
10627 \end_layout
10628
10629 \end_inset
10630
10631  Includes a comma-separated list of layouts that should be nested in and
10632  after the current layout.
10633  Only makes sense for nestable layouts (such as environments).
10634  Must be ended by 
10635 \begin_inset Quotes eld
10636 \end_inset
10637
10638
10639 \begin_inset Flex Code
10640 status collapsed
10641
10642 \begin_layout Plain Layout
10643
10644 \lang english
10645 EndAutoNests
10646 \end_layout
10647
10648 \end_inset
10649
10650
10651 \begin_inset Quotes erd
10652 \end_inset
10653
10654 .
10655  See also 
10656 \begin_inset Flex Code
10657 status collapsed
10658
10659 \begin_layout Plain Layout
10660
10661 \lang english
10662 IsAutoNestedBy
10663 \end_layout
10664
10665 \end_inset
10666
10667 .
10668 \end_layout
10669
10670 \begin_layout Description
10671 \begin_inset Flex Code
10672 status collapsed
10673
10674 \begin_layout Plain Layout
10675 BabelPreamble
10676 \end_layout
10677
10678 \end_inset
10679
10680  これは,前に現れたこの様式の
10681 \begin_inset Flex Code
10682 status collapsed
10683
10684 \begin_layout Plain Layout
10685 BabelPreamble
10686 \end_layout
10687
10688 \end_inset
10689
10690 宣言をすべて,完全に上書きしますので注意してください.「
10691 \begin_inset Flex Code
10692 status collapsed
10693
10694 \begin_layout Plain Layout
10695 EndBabelPreamble
10696 \end_layout
10697
10698 \end_inset
10699
10700 」で閉じる必要があります.これの利用法についての詳細は,第
10701 \begin_inset CommandInset ref
10702 LatexCommand ref
10703 reference "subsec:段落様式の国際化"
10704
10705 \end_inset
10706
10707 節をご覧ください.
10708 \end_layout
10709
10710 \begin_layout Description
10711 \begin_inset Flex Code
10712 status collapsed
10713
10714 \begin_layout Plain Layout
10715 BottomSep
10716 \end_layout
10717
10718 \end_inset
10719
10720  [
10721 \begin_inset Flex Code
10722 status collapsed
10723
10724 \begin_layout Plain Layout
10725 浮動小数点型=0
10726 \end_layout
10727
10728 \end_inset
10729
10730 ]
10731 \begin_inset Foot
10732 status collapsed
10733
10734 \begin_layout Plain Layout
10735 ここで「浮動小数点型」とは1.5のような実数を指します.
10736 \end_layout
10737
10738 \end_inset
10739
10740  このレイアウト型の段落塊の最後の段落と,次の段落とを分離する垂直空白.次の段落が別のレイアウト型である場合,分離幅は足し上げられるのではなく,最大値がとられま
10741 す.
10742 \end_layout
10743
10744 \begin_layout Description
10745 \begin_inset Flex Code
10746 status collapsed
10747
10748 \begin_layout Plain Layout
10749 Category
10750 \end_layout
10751
10752 \end_inset
10753
10754  [
10755 \begin_inset Flex Code
10756 status collapsed
10757
10758 \begin_layout Plain Layout
10759 文字列
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 CommandDepth
10774 \end_layout
10775
10776 \end_inset
10777
10778  XMLコマンドの深度.XML型の書式でのみ使用されます.
10779 \end_layout
10780
10781 \begin_layout Description
10782 \begin_inset Flex Code
10783 status collapsed
10784
10785 \begin_layout Plain Layout
10786 CopyStyle
10787 \end_layout
10788
10789 \end_inset
10790
10791  [
10792 \begin_inset Flex Code
10793 status collapsed
10794
10795 \begin_layout Plain Layout
10796 文字列
10797 \end_layout
10798
10799 \end_inset
10800
10801 ] 既存の様式から,すべての機能を現在の様式にコピーします.
10802 \end_layout
10803
10804 \begin_layout Description
10805 \begin_inset Flex Code
10806 status collapsed
10807
10808 \begin_layout Plain Layout
10809 DependsOn
10810 \end_layout
10811
10812 \end_inset
10813
10814  [
10815 \begin_inset Flex Code
10816 status collapsed
10817
10818 \begin_layout Plain Layout
10819 <名称>
10820 \end_layout
10821
10822 \end_inset
10823
10824 ]
10825 \lang english
10826  
10827 \lang japanese
10828 この
10829 \emph on
10830 前に
10831 \emph default
10832 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,プリアンブルの断片の順序を確実にするためのものです
10833 \begin_inset Foot
10834 status collapsed
10835
10836 \begin_layout Plain Layout
10837 この機能以外には,プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
10838 の特定のバージョンで観察された順序は,将来のバージョンで警告なしに変わる可能性が
10839 あります.
10840 \end_layout
10841
10842 \end_inset
10843
10844
10845 \end_layout
10846
10847 \begin_layout Description
10848 \begin_inset Flex Code
10849 status collapsed
10850
10851 \begin_layout Plain Layout
10852 EndLabeltype
10853 \end_layout
10854
10855 \end_inset
10856
10857  [
10858 \begin_inset Flex Code
10859 status collapsed
10860
10861 \begin_layout Plain Layout
10862
10863 \emph on
10864 No_Label
10865 \emph default
10866 , Box, Filled_Box, Static
10867 \end_layout
10868
10869 \end_inset
10870
10871 ] 段落の最後(あるいは
10872 \begin_inset Flex Code
10873 status collapsed
10874
10875 \begin_layout Plain Layout
10876 LatexType
10877 \end_layout
10878
10879 \end_inset
10880
10881 が,
10882 \begin_inset Flex Code
10883 status collapsed
10884
10885 \begin_layout Plain Layout
10886 Environment
10887 \end_layout
10888
10889 \end_inset
10890
10891
10892 \begin_inset Flex Code
10893 status collapsed
10894
10895 \begin_layout Plain Layout
10896 Item_Environment
10897 \end_layout
10898
10899 \end_inset
10900
10901
10902 \begin_inset Flex Code
10903 status collapsed
10904
10905 \begin_layout Plain Layout
10906 List_Environment
10907 \end_layout
10908
10909 \end_inset
10910
10911 のいずれかの場合は,段落群の最後)に置くラベル.
10912 \begin_inset Flex Code
10913 status collapsed
10914
10915 \begin_layout Plain Layout
10916 No_Label
10917 \end_layout
10918
10919 \end_inset
10920
10921 の場合は「何もない」ことを指し,
10922 \begin_inset Flex Code
10923 status collapsed
10924
10925 \begin_layout Plain Layout
10926 Box
10927 \end_layout
10928
10929 \end_inset
10930
10931 (あるいは
10932 \begin_inset Flex Code
10933 status collapsed
10934
10935 \begin_layout Plain Layout
10936 Filled_Box
10937 \end_layout
10938
10939 \end_inset
10940
10941 )の場合は,証明終了マーカ用の白い箱型(あるいは黒い箱型)を指し,
10942 \begin_inset Flex Code
10943 status collapsed
10944
10945 \begin_layout Plain Layout
10946 Static
10947 \end_layout
10948
10949 \end_inset
10950
10951 は明示したテキスト文字列を指します.
10952 \end_layout
10953
10954 \begin_layout Description
10955 \begin_inset Flex Code
10956 status collapsed
10957
10958 \begin_layout Plain Layout
10959 EndLabelString
10960 \end_layout
10961
10962 \end_inset
10963
10964  [
10965 \begin_inset Flex Code
10966 status collapsed
10967
10968 \begin_layout Plain Layout
10969 文字列=""
10970 \end_layout
10971
10972 \end_inset
10973
10974
10975 \begin_inset Flex Code
10976 status collapsed
10977
10978 \begin_layout Plain Layout
10979 Static
10980 \end_layout
10981
10982 \end_inset
10983
10984
10985 \begin_inset Flex Code
10986 status collapsed
10987
10988 \begin_layout Plain Layout
10989 EndLabelType
10990 \end_layout
10991
10992 \end_inset
10993
10994 のラベルで用いる文字列.
10995 \end_layout
10996
10997 \begin_layout Description
10998 \begin_inset Flex Code
10999 status collapsed
11000
11001 \begin_layout Plain Layout
11002 Font
11003 \end_layout
11004
11005 \end_inset
11006
11007  本文テキストとラベルの
11008 \emph on
11009 両方で
11010 \emph default
11011 用いられるフォント.第
11012 \begin_inset CommandInset ref
11013 LatexCommand ref
11014 reference "subsec:フォント指定"
11015
11016 \end_inset
11017
11018 節を参照.このフォントを定義すると,自動的に
11019 \begin_inset Flex Code
11020 status collapsed
11021
11022 \begin_layout Plain Layout
11023 LabelFont
11024 \end_layout
11025
11026 \end_inset
11027
11028 も同じ値で定義されることに注意してください.したがって,
11029 \begin_inset Flex Code
11030 status collapsed
11031
11032 \begin_layout Plain Layout
11033 LabelFont
11034 \end_layout
11035
11036 \end_inset
11037
11038 も同時に定義したい場合には,これを先に定義してください.
11039 \end_layout
11040
11041 \begin_layout Description
11042 \begin_inset Flex Code
11043 status collapsed
11044
11045 \begin_layout Plain Layout
11046 ForceLocal
11047 \end_layout
11048
11049 \end_inset
11050
11051  [
11052 \begin_inset Flex Code
11053 status collapsed
11054
11055 \begin_layout Plain Layout
11056 int=0
11057 \end_layout
11058
11059 \end_inset
11060
11061 ] 新しい様式を\SpecialChar LyX
11062 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
11063  2.1.0です.引数は数字で,0・-1・1以上の任意の数をとることが
11064 できます.様式の
11065 \begin_inset Flex Code
11066 status collapsed
11067
11068 \begin_layout Plain Layout
11069 ForceLocal
11070 \end_layout
11071
11072 \end_inset
11073
11074 フラグが1以上ならば,これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,文書ヘッダからの様式定義が文書クラスに追加されます.したがって,古い
11075 版の\SpecialChar LyX
11076 もこの様式を取り扱えるようになります.
11077 \begin_inset Flex Code
11078 status collapsed
11079
11080 \begin_layout Plain Layout
11081 ForceLocal
11082 \end_layout
11083
11084 \end_inset
11085
11086 の引数は版数です.様式が読み込まれたときに,文書クラス中の既存の様式の版数よりも小さいと,新しい様式は無視されます.版数が大きいと,既存の様式に代わって新しい様
11087 式が用いられます.値-1は無限大の版数を意味し,この様式が常に用いられることになります.
11088 \end_layout
11089
11090 \begin_layout Description
11091 \begin_inset Flex Code
11092 status collapsed
11093
11094 \begin_layout Plain Layout
11095 FreeSpacing
11096 \end_layout
11097
11098 \end_inset
11099
11100  [
11101 \emph on
11102
11103 \begin_inset Flex Code
11104 status collapsed
11105
11106 \begin_layout Plain Layout
11107 0
11108 \end_layout
11109
11110 \end_inset
11111
11112
11113 \emph default
11114 ,
11115 \begin_inset space \thinspace{}
11116 \end_inset
11117
11118
11119 \begin_inset Flex Code
11120 status collapsed
11121
11122 \begin_layout Plain Layout
11123 1
11124 \end_layout
11125
11126 \end_inset
11127
11128 ] \SpecialChar LyX
11129 は,空白をそれ自体文字や記号ではなく,2つの単語の間の分割子として捉えているため,単語間に2つ以上の空白を入れることは,通常許可していません.これ自体はとて
11130 も素晴らしいことですが,たとえばプログラムコードや生の\SpecialChar LaTeX
11131 コードを入力しようとするときなどに,煩わしくなることがあります.このことから,
11132 \begin_inset Flex Code
11133 status collapsed
11134
11135 \begin_layout Plain Layout
11136 FreeSpacing
11137 \end_layout
11138
11139 \end_inset
11140
11141 を有効にすることが認められています.\SpecialChar LyX
11142 は,\SpecialChar LaTeX
11143 モード以外では2つめ以降の空白には,保護された空白を使用することに注意してください.
11144 \end_layout
11145
11146 \begin_layout Description
11147 \begin_inset Flex Code
11148 status collapsed
11149
11150 \begin_layout Plain Layout
11151 HTML*
11152 \end_layout
11153
11154 \end_inset
11155
11156  これらのタグは,XHTML出力で使用されます.第
11157 \begin_inset CommandInset ref
11158 LatexCommand ref
11159 reference "subsec:段落様式-XHTML"
11160
11161 \end_inset
11162
11163 節をご覧ください.
11164 \end_layout
11165
11166 \begin_layout Description
11167 \begin_inset Flex Code
11168 status collapsed
11169
11170 \begin_layout Plain Layout
11171 InnerTag
11172 \end_layout
11173
11174 \end_inset
11175
11176  [[FIXME]] (XML型書式でのみ使用されます.)
11177 \end_layout
11178
11179 \begin_layout Description
11180 \begin_inset Flex Code
11181 status collapsed
11182
11183 \begin_layout Plain Layout
11184 InPreamble
11185 \end_layout
11186
11187 \end_inset
11188
11189  [
11190 \emph on
11191
11192 \begin_inset Flex Code
11193 status collapsed
11194
11195 \begin_layout Plain Layout
11196 0
11197 \end_layout
11198
11199 \end_inset
11200
11201
11202 \emph default
11203 ,
11204 \begin_inset space \thinspace{}
11205 \end_inset
11206
11207
11208 \begin_inset Flex Code
11209 status collapsed
11210
11211 \begin_layout Plain Layout
11212 1
11213 \end_layout
11214
11215 \end_inset
11216
11217
11218 \begin_inset Flex Code
11219 status collapsed
11220
11221 \begin_layout Plain Layout
11222 1
11223 \end_layout
11224
11225 \end_inset
11226
11227 の場合,様式が文書本体ではなく,文書プリアンブルにインクルードされるようにします.これは,タイトルや著者の情報をプリアンブルで設定する必要のある文書クラスに便利
11228 です.これは,
11229 \begin_inset Flex Code
11230 status collapsed
11231
11232 \begin_layout Plain Layout
11233 LatexType
11234 \end_layout
11235
11236 \end_inset
11237
11238
11239 \begin_inset Flex Code
11240 status collapsed
11241
11242 \begin_layout Plain Layout
11243 Command
11244 \end_layout
11245
11246 \end_inset
11247
11248 または
11249 \begin_inset Flex Code
11250 status collapsed
11251
11252 \begin_layout Plain Layout
11253 Paragraph
11254 \end_layout
11255
11256 \end_inset
11257
11258 の様式に対してのみ動作します.
11259 \end_layout
11260
11261 \begin_layout Description
11262 \begin_inset Flex Code
11263 status collapsed
11264
11265 \begin_layout Plain Layout
11266 InTitle
11267 \end_layout
11268
11269 \end_inset
11270
11271  [
11272 \emph on
11273
11274 \begin_inset Flex Code
11275 status collapsed
11276
11277 \begin_layout Plain Layout
11278 0
11279 \end_layout
11280
11281 \end_inset
11282
11283
11284 \emph default
11285 ,
11286 \begin_inset space \thinspace{}
11287 \end_inset
11288
11289
11290 \begin_inset Flex Code
11291 status collapsed
11292
11293 \begin_layout Plain Layout
11294 1
11295 \end_layout
11296
11297 \end_inset
11298
11299
11300 \begin_inset Flex Code
11301 status collapsed
11302
11303 \begin_layout Plain Layout
11304 1
11305 \end_layout
11306
11307 \end_inset
11308
11309 の場合,このレイアウトをタイトルブロックの一部としてマークします(大域項目の
11310 \begin_inset Flex Code
11311 status collapsed
11312
11313 \begin_layout Plain Layout
11314 TitleLatexType
11315 \end_layout
11316
11317 \end_inset
11318
11319
11320 \begin_inset Flex Code
11321 status collapsed
11322
11323 \begin_layout Plain Layout
11324 TitleLatexName
11325 \end_layout
11326
11327 \end_inset
11328
11329 も参照).
11330 \end_layout
11331
11332 \begin_layout Description
11333
11334 \lang english
11335 \begin_inset Flex Code
11336 status collapsed
11337
11338 \begin_layout Plain Layout
11339
11340 \lang english
11341 IsAutoNestedBy
11342 \end_layout
11343
11344 \end_inset
11345
11346  Includes a comma-separated list of layouts after which this one should
11347  be nested.
11348  Only makes sense with regard to nestable layouts (such as environments).
11349  Must be ended by 
11350 \begin_inset Quotes eld
11351 \end_inset
11352
11353
11354 \begin_inset Flex Code
11355 status collapsed
11356
11357 \begin_layout Plain Layout
11358
11359 \lang english
11360 EndIsAutoNestedBy
11361 \end_layout
11362
11363 \end_inset
11364
11365
11366 \begin_inset Quotes erd
11367 \end_inset
11368
11369 .
11370  See also 
11371 \begin_inset Flex Code
11372 status collapsed
11373
11374 \begin_layout Plain Layout
11375
11376 \lang english
11377 AutoNests
11378 \end_layout
11379
11380 \end_inset
11381
11382 .
11383 \end_layout
11384
11385 \begin_layout Description
11386 \begin_inset Flex Code
11387 status collapsed
11388
11389 \begin_layout Plain Layout
11390 IsTocCaption
11391 \end_layout
11392
11393 \end_inset
11394
11395  [
11396 \begin_inset Flex Code
11397 status collapsed
11398
11399 \begin_layout Plain Layout
11400
11401 \emph on
11402 0
11403 \end_layout
11404
11405 \end_inset
11406
11407 ,
11408 \begin_inset space \thinspace{}
11409 \end_inset
11410
11411
11412 \begin_inset Flex Code
11413 status collapsed
11414
11415 \begin_layout Plain Layout
11416 1
11417 \end_layout
11418
11419 \end_inset
11420
11421 ] これを1に設定すると,AddToTocが有効になり,段落は,その内容の要約を一覧表の項目に表示します.0に設定すると,ラベルが存在すれば,それのみが表示され
11422 ます.
11423 \end_layout
11424
11425 \begin_layout Description
11426 \begin_inset Flex Code
11427 status collapsed
11428
11429 \begin_layout Plain Layout
11430 ItemCommand
11431 \end_layout
11432
11433 \end_inset
11434
11435  [
11436 \begin_inset Flex Code
11437 status collapsed
11438
11439 \begin_layout Plain Layout
11440 文字列="item"
11441 \end_layout
11442
11443 \end_inset
11444
11445 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
11446 コマンド.コマンドは,前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,\SpecialChar LaTeX
11447 出力中では
11448 \begin_inset Flex Code
11449 status collapsed
11450
11451 \begin_layout Plain Layout
11452
11453 \backslash
11454 item
11455 \end_layout
11456
11457 \end_inset
11458
11459 となります).
11460 \end_layout
11461
11462 \begin_layout Description
11463 \begin_inset Flex Code
11464 status collapsed
11465
11466 \begin_layout Plain Layout
11467 ItemSep
11468 \end_layout
11469
11470 \end_inset
11471
11472  [
11473 \begin_inset Flex Code
11474 status collapsed
11475
11476 \begin_layout Plain Layout
11477 浮動小数点型=0
11478 \end_layout
11479
11480 \end_inset
11481
11482 ] これは,同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,それぞれのレイアウトは,その環境の
11483 \begin_inset Flex Code
11484 status collapsed
11485
11486 \begin_layout Plain Layout
11487 ParSep
11488 \end_layout
11489
11490 \end_inset
11491
11492 だけ分離されます.しかし,その環境の項目全体は,さらにこの
11493 \begin_inset Flex Code
11494 status collapsed
11495
11496 \begin_layout Plain Layout
11497 ItemSep
11498 \end_layout
11499
11500 \end_inset
11501
11502 分だけ離されます.これは
11503 \emph on
11504 乗数
11505 \emph default
11506 であることに注意してください.
11507 \end_layout
11508
11509 \begin_layout Description
11510 \begin_inset Flex Code
11511 status collapsed
11512
11513 \begin_layout Plain Layout
11514 ItemTag
11515 \end_layout
11516
11517 \end_inset
11518
11519  [[FIXME]] (XML型書式でのみ使用されます.)
11520 \end_layout
11521
11522 \begin_layout Description
11523 \begin_inset Flex Code
11524 status collapsed
11525
11526 \begin_layout Plain Layout
11527 KeepEmpty
11528 \end_layout
11529
11530 \end_inset
11531
11532  [
11533 \emph on
11534
11535 \begin_inset Flex Code
11536 status collapsed
11537
11538 \begin_layout Plain Layout
11539 0
11540 \end_layout
11541
11542 \end_inset
11543
11544
11545 \emph default
11546 ,
11547 \begin_inset space \thinspace{}
11548 \end_inset
11549
11550
11551 \begin_inset Flex Code
11552 status collapsed
11553
11554 \begin_layout Plain Layout
11555 1
11556 \end_layout
11557
11558 \end_inset
11559
11560 ] 段落を空のままにすると,\SpecialChar LaTeX
11561 出力が空になってしまうので,通常,\SpecialChar LyX
11562 は段落を空にすることを許可しません.しかしながら,これを無効にすることが望ましい場合が存在します.
11563 たとえば,書簡のひな型では,必須フィールドを人々が忘れないように,空のフィールドのまま提供する手もあります.特別なクラスにおいては,レイアウトを実際には文章を含
11564 まないある種の改行として使用することもあります.
11565 \end_layout
11566
11567 \begin_layout Description
11568 \begin_inset Flex Code
11569 status collapsed
11570
11571 \begin_layout Plain Layout
11572 LabelBottomsep
11573 \end_layout
11574
11575 \end_inset
11576
11577  [
11578 \begin_inset Flex Code
11579 status collapsed
11580
11581 \begin_layout Plain Layout
11582 浮動小数点型=0
11583 \end_layout
11584
11585 \end_inset
11586
11587 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
11588 \begin_inset Flex Code
11589 status collapsed
11590
11591 \begin_layout Plain Layout
11592 Top_Environment
11593 \end_layout
11594
11595 \end_inset
11596
11597 および
11598 \begin_inset Newline linebreak
11599 \end_inset
11600
11601
11602 \begin_inset Flex Code
11603 status collapsed
11604
11605 \begin_layout Plain Layout
11606 Centered_Top_Environment
11607 \end_layout
11608
11609 \end_inset
11610
11611 ).
11612 \end_layout
11613
11614 \begin_layout Description
11615 \begin_inset Flex Code
11616 status collapsed
11617
11618 \begin_layout Plain Layout
11619 LabelCounter
11620 \end_layout
11621
11622 \end_inset
11623
11624  [
11625 \begin_inset Flex Code
11626 status collapsed
11627
11628 \begin_layout Plain Layout
11629 文字列=""
11630 \end_layout
11631
11632 \end_inset
11633
11634 ] 自動連番に使われるカウンタ名(詳しくは第
11635 \begin_inset CommandInset ref
11636 LatexCommand ref
11637 reference "subsec:カウンタ"
11638 plural "false"
11639 caps "false"
11640 noprefix "false"
11641
11642 \end_inset
11643
11644 節参照).カウンタがラベル中に表示されるようにするためには,
11645 \begin_inset Flex Code
11646 status collapsed
11647
11648 \begin_layout Plain Layout
11649 LabelString
11650 \end_layout
11651
11652 \end_inset
11653
11654 中で参照する必要があります.これは,少なくとも
11655 \begin_inset Flex Code
11656 status collapsed
11657
11658 \begin_layout Plain Layout
11659 Static
11660 \end_layout
11661
11662 \end_inset
11663
11664
11665 \begin_inset Flex Code
11666 status collapsed
11667
11668 \begin_layout Plain Layout
11669 Above
11670 \end_layout
11671
11672 \end_inset
11673
11674
11675 \begin_inset Flex Code
11676 status collapsed
11677
11678 \begin_layout Plain Layout
11679 Centered
11680 \end_layout
11681
11682 \end_inset
11683
11684 の各
11685 \begin_inset Flex Code
11686 status collapsed
11687
11688 \begin_layout Plain Layout
11689 LabelType
11690 \end_layout
11691
11692 \end_inset
11693
11694 で動作します.
11695 \begin_inset Newline newline
11696 \end_inset
11697
11698 また,
11699 \begin_inset Flex Code
11700 status collapsed
11701
11702 \begin_layout Plain Layout
11703 LabelType
11704 \end_layout
11705
11706 \end_inset
11707
11708
11709 \begin_inset Flex Code
11710 status collapsed
11711
11712 \begin_layout Plain Layout
11713 Enumerate
11714 \end_layout
11715
11716 \end_inset
11717
11718 型のときにも,若干複雑にはなりますが,本項目を使うことができます.たとえば,「
11719 \begin_inset Flex Code
11720 status collapsed
11721
11722 \begin_layout Plain Layout
11723 LabelCounter myenum
11724 \end_layout
11725
11726 \end_inset
11727
11728 」と宣言したものとしましょう.すると,\SpecialChar LaTeX
11729 におけるのと同様,実際に使われるカウンタは,
11730 \begin_inset Flex Code
11731 status collapsed
11732
11733 \begin_layout Plain Layout
11734 myenumi
11735 \end_layout
11736
11737 \end_inset
11738
11739
11740 \begin_inset Flex Code
11741 status collapsed
11742
11743 \begin_layout Plain Layout
11744 myenumii
11745 \end_layout
11746
11747 \end_inset
11748
11749
11750 \begin_inset Flex Code
11751 status collapsed
11752
11753 \begin_layout Plain Layout
11754 myenumii
11755 \end_layout
11756
11757 \end_inset
11758
11759
11760 \begin_inset Flex Code
11761 status collapsed
11762
11763 \begin_layout Plain Layout
11764 myenumiv
11765 \end_layout
11766
11767 \end_inset
11768
11769 のようになります.これらのカウンタは,全て別々に宣言されなくてはなりません.
11770 \begin_inset Newline newline
11771 \end_inset
11772
11773 カウンタの詳細については,
11774 \begin_inset CommandInset ref
11775 LatexCommand ref
11776 reference "subsec:カウンタ"
11777
11778 \end_inset
11779
11780 をご覧ください.
11781 \end_layout
11782
11783 \begin_layout Description
11784 \begin_inset Flex Code
11785 status collapsed
11786
11787 \begin_layout Plain Layout
11788 LabelFont
11789 \end_layout
11790
11791 \end_inset
11792
11793  ラベルに使用されるフォント.
11794 \begin_inset CommandInset ref
11795 LatexCommand ref
11796 reference "subsec:フォント指定"
11797
11798 \end_inset
11799
11800 を参照.
11801 \end_layout
11802
11803 \begin_layout Description
11804 \begin_inset Flex Code
11805 status collapsed
11806
11807 \begin_layout Plain Layout
11808 LabelIndent
11809 \end_layout
11810
11811 \end_inset
11812
11813  [
11814 \begin_inset Flex Code
11815 status collapsed
11816
11817 \begin_layout Plain Layout
11818 文字列=""
11819 \end_layout
11820
11821 \end_inset
11822
11823 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
11824 \end_layout
11825
11826 \begin_layout Description
11827 \begin_inset Flex Code
11828 status collapsed
11829
11830 \begin_layout Plain Layout
11831 LabelSep
11832 \end_layout
11833
11834 \end_inset
11835
11836  [
11837 \begin_inset Flex Code
11838 status collapsed
11839
11840 \begin_layout Plain Layout
11841 文字列=""
11842 \end_layout
11843
11844 \end_inset
11845
11846 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
11847 \end_layout
11848
11849 \begin_layout Description
11850 \begin_inset Flex Code
11851 status collapsed
11852
11853 \begin_layout Plain Layout
11854 LabelString
11855 \end_layout
11856
11857 \end_inset
11858
11859  [
11860 \begin_inset Flex Code
11861 status collapsed
11862
11863 \begin_layout Plain Layout
11864 文字列=""
11865 \end_layout
11866
11867 \end_inset
11868
11869
11870 \begin_inset Flex Code
11871 status collapsed
11872
11873 \begin_layout Plain Layout
11874 Static
11875 \end_layout
11876
11877 \end_inset
11878
11879 ラベル型でラベルに使用する文字列.
11880 \begin_inset Flex Code
11881 status collapsed
11882
11883 \begin_layout Plain Layout
11884 LabelCounter
11885 \end_layout
11886
11887 \end_inset
11888
11889 を設定している場合,
11890 \begin_inset CommandInset ref
11891 LatexCommand ref
11892 reference "subsec:カウンタ"
11893
11894 \end_inset
11895
11896 に述べられている特別な整形コマンドを含めることができます.
11897 \end_layout
11898
11899 \begin_layout Description
11900 \begin_inset Flex Code
11901 status collapsed
11902
11903 \begin_layout Plain Layout
11904 LabelStringAppendix
11905 \end_layout
11906
11907 \end_inset
11908
11909  [
11910 \begin_inset Flex Code
11911 status collapsed
11912
11913 \begin_layout Plain Layout
11914 文字列=""
11915 \end_layout
11916
11917 \end_inset
11918
11919 ] これは付録の中で
11920 \begin_inset Flex Code
11921 status collapsed
11922
11923 \begin_layout Plain Layout
11924 LabelString
11925 \end_layout
11926
11927 \end_inset
11928
11929 の代わりに用いられます.各
11930 \begin_inset Flex Code
11931 status collapsed
11932
11933 \begin_layout Plain Layout
11934 LabelString
11935 \end_layout
11936
11937 \end_inset
11938
11939 ステートメントは,
11940 \begin_inset Flex Code
11941 status collapsed
11942
11943 \begin_layout Plain Layout
11944 LabelStringAppendix
11945 \end_layout
11946
11947 \end_inset
11948
11949 をもリセットすることに注意してください.
11950 \end_layout
11951
11952 \begin_layout Description
11953 \begin_inset Flex Code
11954 status collapsed
11955
11956 \begin_layout Plain Layout
11957 LabelTag
11958 \end_layout
11959
11960 \end_inset
11961
11962  [FIXME] (XML型書式でのみ使用されます.)
11963 \end_layout
11964
11965 \begin_layout Description
11966 \begin_inset Flex Code
11967 status collapsed
11968
11969 \begin_layout Plain Layout
11970 LabelType
11971 \end_layout
11972
11973 \end_inset
11974
11975  [
11976 \begin_inset Flex Code
11977 status collapsed
11978
11979 \begin_layout Plain Layout
11980
11981 \emph on
11982 No_Label
11983 \emph default
11984 , Manual, Static, Above,
11985 \begin_inset Newline newline
11986 \end_inset
11987
11988 Centered, Sensitive, Enumerate,
11989 \begin_inset Newline newline
11990 \end_inset
11991
11992 Itemize, Bibliography
11993 \end_layout
11994
11995 \end_inset
11996
11997 ]
11998 \end_layout
11999
12000 \begin_deeper
12001 \begin_layout Description
12002 \begin_inset Flex Code
12003 status collapsed
12004
12005 \begin_layout Plain Layout
12006 Manual
12007 \end_layout
12008
12009 \end_inset
12010
12011  は,ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,保護された空白を使用してください.
12012 \end_layout
12013
12014 \begin_layout Description
12015 \begin_inset Flex Code
12016 status collapsed
12017
12018 \begin_layout Plain Layout
12019 Static
12020 \end_layout
12021
12022 \end_inset
12023
12024  は,ラベルが
12025 \begin_inset Flex Code
12026 status collapsed
12027
12028 \begin_layout Plain Layout
12029 LabelString
12030 \end_layout
12031
12032 \end_inset
12033
12034 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
12035 \begin_inset Flex Code
12036 status collapsed
12037
12038 \begin_layout Plain Layout
12039 LatexType
12040 \end_layout
12041
12042 \end_inset
12043
12044
12045 \begin_inset Flex Code
12046 status collapsed
12047
12048 \begin_layout Plain Layout
12049 Environment
12050 \end_layout
12051
12052 \end_inset
12053
12054 のときは,連続する同じ
12055 \begin_inset Flex Code
12056 status collapsed
12057
12058 \begin_layout Plain Layout
12059 Style
12060 \end_layout
12061
12062 \end_inset
12063
12064 の段落中,最初の段落にのみ表示されます.
12065 \end_layout
12066
12067 \begin_layout Description
12068 \begin_inset Flex Code
12069 status collapsed
12070
12071 \begin_layout Plain Layout
12072 Above
12073 \end_layout
12074
12075 \end_inset
12076
12077 および
12078 \begin_inset Flex Code
12079 status collapsed
12080
12081 \begin_layout Plain Layout
12082 Centered
12083 \end_layout
12084
12085 \end_inset
12086
12087  は,
12088 \begin_inset Flex Code
12089 status collapsed
12090
12091 \begin_layout Plain Layout
12092 Static
12093 \end_layout
12094
12095 \end_inset
12096
12097 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
12098 \end_layout
12099
12100 \begin_layout Description
12101 \begin_inset Flex Code
12102 status collapsed
12103
12104 \begin_layout Plain Layout
12105 Sensitive
12106 \end_layout
12107
12108 \end_inset
12109
12110  はキャプションラベルの「図」や「表」の特別な場合です.
12111 \begin_inset Flex Code
12112 status collapsed
12113
12114 \begin_layout Plain Layout
12115 Sensitive
12116 \end_layout
12117
12118 \end_inset
12119
12120 は,(ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,フロートに関連付けられたカウンタの値がNであるものとすると,「Float
12121 Type N」にハードコードされています.キャプションがフロートの外に挿入されると,
12122 \begin_inset Flex Code
12123 status collapsed
12124
12125 \begin_layout Plain Layout
12126 LabelString
12127 \end_layout
12128
12129 \end_inset
12130
12131 は「意味を成しません!」と表示されます.
12132 \end_layout
12133
12134 \begin_layout Description
12135 \begin_inset Flex Code
12136 status collapsed
12137
12138 \begin_layout Plain Layout
12139 Enumerate
12140 \end_layout
12141
12142 \end_inset
12143
12144  は,通常の連番ラベルを生成します.
12145 \lang english
12146 The number type needs to be set in the 
12147 \family sans
12148 Counter
12149 \family default
12150 , see 
12151 \lang japanese
12152
12153 \begin_inset CommandInset ref
12154 LatexCommand ref
12155 reference "subsec:カウンタ"
12156
12157 \end_inset
12158
12159
12160 \end_layout
12161
12162 \begin_layout Description
12163 \begin_inset Flex Code
12164 status collapsed
12165
12166 \begin_layout Plain Layout
12167 Itemize
12168 \end_layout
12169
12170 \end_inset
12171
12172  は,各階層でさまざまなブリットを生成します.
12173 \lang english
12174 The bullet types displayed can be set via 
12175 \begin_inset Flex Noun
12176 status collapsed
12177
12178 \begin_layout Plain Layout
12179
12180 \lang english
12181 Document\SpecialChar menuseparator
12182 Settings\SpecialChar menuseparator
12183 Bullets
12184 \end_layout
12185
12186 \end_inset
12187
12188 .
12189 \end_layout
12190
12191 \begin_layout Description
12192 \begin_inset Flex Code
12193 status collapsed
12194
12195 \begin_layout Plain Layout
12196 Bibliography
12197 \end_layout
12198
12199 \end_inset
12200
12201  は,
12202 \begin_inset Flex Code
12203 status collapsed
12204
12205 \begin_layout Plain Layout
12206 LatexType BibEnvironment
12207 \end_layout
12208
12209 \end_inset
12210
12211 とともにのみ使用されます.
12212 \end_layout
12213
12214 \end_deeper
12215 \begin_layout Description
12216 \begin_inset Flex Code
12217 status collapsed
12218
12219 \begin_layout Plain Layout
12220 LangPreamble
12221 \end_layout
12222
12223 \end_inset
12224
12225  これは,この様式で既に出現した
12226 \begin_inset Flex Code
12227 status collapsed
12228
12229 \begin_layout Plain Layout
12230 LangPreamble
12231 \end_layout
12232
12233 \end_inset
12234
12235 宣言をすべて,完全に上書きしますので,注意してください.使用法についての詳細は,
12236 \begin_inset CommandInset ref
12237 LatexCommand ref
12238 reference "subsec:段落様式の国際化"
12239
12240 \end_inset
12241
12242 をご覧ください.
12243 \end_layout
12244
12245 \begin_layout Description
12246 \begin_inset Flex Code
12247 status collapsed
12248
12249 \begin_layout Plain Layout
12250 LatexName
12251 \end_layout
12252
12253 \end_inset
12254
12255  [
12256 \begin_inset Flex Code
12257 status collapsed
12258
12259 \begin_layout Plain Layout
12260 <名称>
12261 \end_layout
12262
12263 \end_inset
12264
12265 ] 対応する\SpecialChar LaTeX
12266 の名称です.環境名かコマンド名を指します.
12267 \end_layout
12268
12269 \begin_layout Description
12270 \begin_inset Flex Code
12271 status collapsed
12272
12273 \begin_layout Plain Layout
12274 LatexParam
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 ] 対応する
12290 \begin_inset Flex Code
12291 status collapsed
12292
12293 \begin_layout Plain Layout
12294 LatexName
12295 \end_layout
12296
12297 \end_inset
12298
12299 の非必須パラメータです.このパラメータは,\SpecialChar LyX
12300 内部から変更することはできません(変更可能なパラメータには
12301 \begin_inset Flex Code
12302 status collapsed
12303
12304 \begin_layout Plain Layout
12305 Argument
12306 \end_layout
12307
12308 \end_inset
12309
12310 を使用してください).これは,全ての\SpecialChar LaTeX
12311  
12312 \begin_inset Flex Code
12313 status collapsed
12314
12315 \begin_layout Plain Layout
12316 Argument
12317 \end_layout
12318
12319 \end_inset
12320
12321 の後にそのままの形で出力されます.
12322 \end_layout
12323
12324 \begin_layout Description
12325 \begin_inset Flex Code
12326 status collapsed
12327
12328 \begin_layout Plain Layout
12329 LatexType
12330 \end_layout
12331
12332 \end_inset
12333
12334  [
12335 \begin_inset Flex Code
12336 status collapsed
12337
12338 \begin_layout Plain Layout
12339
12340 \emph on
12341 Paragraph
12342 \emph default
12343 , Command, Environment, Item_Environment,
12344 \begin_inset Newline newline
12345 \end_inset
12346
12347 List_Environment, Bib_Environment
12348 \end_layout
12349
12350 \end_inset
12351
12352 ] レイアウトがどのように\SpecialChar LaTeX
12353 に変換されるべきかを示します
12354 \begin_inset Foot
12355 status collapsed
12356
12357 \begin_layout Plain Layout
12358 これらのルールはSGMLクラスにも適用されるので,
12359 \begin_inset Flex Code
12360 status collapsed
12361
12362 \begin_layout Plain Layout
12363 LatexType
12364 \end_layout
12365
12366 \end_inset
12367
12368 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイル(ファイル名
12369 \begin_inset Flex Code
12370 status collapsed
12371
12372 \begin_layout Plain Layout
12373 db_*.inc
12374 \end_layout
12375
12376 \end_inset
12377
12378 )を見てください.
12379 \end_layout
12380
12381 \end_inset
12382
12383
12384 \end_layout
12385
12386 \begin_deeper
12387 \begin_layout Description
12388 \begin_inset Flex Code
12389 status collapsed
12390
12391 \begin_layout Plain Layout
12392 Paragraph
12393 \end_layout
12394
12395 \end_inset
12396
12397  は,何も特別なことは意味しません.
12398 \end_layout
12399
12400 \begin_layout Description
12401 \begin_inset Flex Code
12402 status collapsed
12403
12404 \begin_layout Plain Layout
12405 Command
12406 \end_layout
12407
12408 \end_inset
12409
12410  は,
12411 \begin_inset Flex Code
12412 status collapsed
12413
12414 \begin_layout Plain Layout
12415
12416 \backslash
12417
12418 \emph on
12419 LatexName
12420 \emph default
12421 {\SpecialChar ldots
12422 }
12423 \end_layout
12424
12425 \end_inset
12426
12427 を意味します.
12428 \end_layout
12429
12430 \begin_layout Description
12431 \begin_inset Flex Code
12432 status collapsed
12433
12434 \begin_layout Plain Layout
12435 Environment
12436 \end_layout
12437
12438 \end_inset
12439
12440  は,
12441 \begin_inset Flex Code
12442 status collapsed
12443
12444 \begin_layout Plain Layout
12445
12446 \backslash
12447 begin{
12448 \emph on
12449 LatexName
12450 \emph default
12451 }\SpecialChar ldots
12452
12453 \backslash
12454 end{
12455 \emph on
12456 LatexName
12457 \emph default
12458 }
12459 \end_layout
12460
12461 \end_inset
12462
12463 を意味します.
12464 \end_layout
12465
12466 \begin_layout Description
12467 \begin_inset Flex Code
12468 status collapsed
12469
12470 \begin_layout Plain Layout
12471 Item_Environment
12472 \end_layout
12473
12474 \end_inset
12475
12476  は
12477 \begin_inset Flex Code
12478 status collapsed
12479
12480 \begin_layout Plain Layout
12481 Environment
12482 \end_layout
12483
12484 \end_inset
12485
12486 と同じですが,
12487 \begin_inset Flex Code
12488 status collapsed
12489
12490 \begin_layout Plain Layout
12491
12492 \backslash
12493 item
12494 \end_layout
12495
12496 \end_inset
12497
12498 がこの環境のすべての段落に付けられるところだけが異なっています.
12499 \end_layout
12500
12501 \begin_layout Description
12502 \begin_inset Flex Code
12503 status collapsed
12504
12505 \begin_layout Plain Layout
12506 List_Environment
12507 \end_layout
12508
12509 \end_inset
12510
12511  は
12512 \begin_inset Flex Code
12513 status collapsed
12514
12515 \begin_layout Plain Layout
12516 Item_Environment
12517 \end_layout
12518
12519 \end_inset
12520
12521 と同じですが,
12522 \begin_inset Flex Code
12523 status collapsed
12524
12525 \begin_layout Plain Layout
12526 LabelWidthString
12527 \end_layout
12528
12529 \end_inset
12530
12531 が環境の引数として渡されるところだけが異なっています.
12532 \begin_inset Flex Code
12533 status collapsed
12534
12535 \begin_layout Plain Layout
12536 LabelWidthString
12537 \end_layout
12538
12539 \end_inset
12540
12541 は,
12542 \begin_inset Flex MenuItem
12543 status collapsed
12544
12545 \begin_layout Plain Layout
12546 編集\SpecialChar menuseparator
12547 段落設定
12548 \end_layout
12549
12550 \end_inset
12551
12552 ダイアログで定義することができます.
12553 \end_layout
12554
12555 \begin_layout Description
12556 \begin_inset Flex Code
12557 status collapsed
12558
12559 \begin_layout Plain Layout
12560 Bib_Environment
12561 \end_layout
12562
12563 \end_inset
12564
12565  は
12566 \begin_inset Flex Code
12567 status collapsed
12568
12569 \begin_layout Plain Layout
12570 Environment
12571 \end_layout
12572
12573 \end_inset
12574
12575 に似ていますが,以下のように,書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
12576 \begin_inset Newline newline
12577 \end_inset
12578
12579
12580 \begin_inset Flex Code
12581 status collapsed
12582
12583 \begin_layout Plain Layout
12584
12585 \backslash
12586 begin{thebibliography}{99}
12587 \end_layout
12588
12589 \end_inset
12590
12591
12592 \begin_inset Newline newline
12593 \end_inset
12594
12595 したがって,これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,書誌情報項目の段落設定で,ユーザーが変更することができます.
12596 \end_layout
12597
12598 \begin_layout Standard
12599 上記最後のいくつかをまとめると,\SpecialChar LaTeX
12600 出力は,\SpecialChar LaTeX
12601 型に依存して
12602 \end_layout
12603
12604 \begin_layout LyX-Code
12605
12606 \backslash
12607 LatexName[LatexParam]{\SpecialChar ldots
12608 }
12609 \end_layout
12610
12611 \begin_layout Standard
12612 のようになるか,
12613 \end_layout
12614
12615 \begin_layout LyX-Code
12616
12617 \backslash
12618 begin{LatexName}[LatexParam] \SpecialChar ldots
12619  
12620 \backslash
12621 end{LatexName}.
12622 \end_layout
12623
12624 \begin_layout Standard
12625 となります.
12626 \end_layout
12627
12628 \end_deeper
12629 \begin_layout Description
12630 \begin_inset Flex Code
12631 status collapsed
12632
12633 \begin_layout Plain Layout
12634 LeftDelim
12635 \end_layout
12636
12637 \end_inset
12638
12639  [
12640 \begin_inset Flex Code
12641 status collapsed
12642
12643 \begin_layout Plain Layout
12644 文字列
12645 \end_layout
12646
12647 \end_inset
12648
12649 ] 様式の内容の最初に置かれる文字列.出力中の改行は
12650 \begin_inset Flex Code
12651 status collapsed
12652
12653 \begin_layout Plain Layout
12654 <br/>
12655 \end_layout
12656
12657 \end_inset
12658
12659 で指示できます.
12660 \end_layout
12661
12662 \begin_layout Description
12663 \begin_inset Flex Code
12664 status collapsed
12665
12666 \begin_layout Plain Layout
12667 LeftMargin
12668 \end_layout
12669
12670 \end_inset
12671
12672  [
12673 \begin_inset Flex Code
12674 status collapsed
12675
12676 \begin_layout Plain Layout
12677 文字列=""
12678 \end_layout
12679
12680 \end_inset
12681
12682 ] レイアウトを環境の中に入れた場合,左余白は単純に加えられるのではなく,因子
12683 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
12684 \end_inset
12685
12686 をかけて加えられます.このパラメータは,
12687 \begin_inset Flex Code
12688 status collapsed
12689
12690 \begin_layout Plain Layout
12691 Margin
12692 \end_layout
12693
12694 \end_inset
12695
12696
12697 \begin_inset Flex Code
12698 status collapsed
12699
12700 \begin_layout Plain Layout
12701 Manual
12702 \end_layout
12703
12704 \end_inset
12705
12706 あるいは
12707 \begin_inset Flex Code
12708 status collapsed
12709
12710 \begin_layout Plain Layout
12711 Dynamic
12712 \end_layout
12713
12714 \end_inset
12715
12716 に設定されているときにも用いられることに注意してください.その場合には,これは手動設定余白または動的設定余白に加えられることに注意してください.
12717 \begin_inset Newline newline
12718 \end_inset
12719
12720 たとえば「
12721 \begin_inset Flex Code
12722 status collapsed
12723
12724 \begin_layout Plain Layout
12725 MM
12726 \end_layout
12727
12728 \end_inset
12729
12730 」と指定すると,段落を通常フォントの「
12731 \begin_inset Flex Code
12732 status collapsed
12733
12734 \begin_layout Plain Layout
12735 MM
12736 \end_layout
12737
12738 \end_inset
12739
12740 」の幅だけ行頭下げを行います.文字列の前に「
12741 \begin_inset Flex Code
12742 status collapsed
12743
12744 \begin_layout Plain Layout
12745 -
12746 \end_layout
12747
12748 \end_inset
12749
12750 」を付けると,負の幅を与えることができます.この方法が採用されたのは,どの画面フォントでも見かけが同じになるようにするためです.
12751 \end_layout
12752
12753 \begin_layout Description
12754 \begin_inset Flex Code
12755 status collapsed
12756
12757 \begin_layout Plain Layout
12758 Margin
12759 \end_layout
12760
12761 \end_inset
12762
12763  [
12764 \begin_inset Flex Code
12765 status collapsed
12766
12767 \begin_layout Plain Layout
12768
12769 \emph on
12770 Static
12771 \emph default
12772 , Manual, Dynamic, First_Dynamic, Right_Address_Box
12773 \end_layout
12774
12775 \end_inset
12776
12777
12778 \begin_inset Newline newline
12779 \end_inset
12780
12781 このレイアウトの左余白の種類です.
12782 \end_layout
12783
12784 \begin_deeper
12785 \begin_layout Description
12786 \begin_inset Flex Code
12787 status collapsed
12788
12789 \begin_layout Plain Layout
12790 Static
12791 \end_layout
12792
12793 \end_inset
12794
12795  は固定余白を示します.
12796 \end_layout
12797
12798 \begin_layout Description
12799 \begin_inset Flex Code
12800 status collapsed
12801
12802 \begin_layout Plain Layout
12803 Manual
12804 \end_layout
12805
12806 \end_inset
12807
12808  は,左余白が
12809 \begin_inset Flex MenuItem
12810 status collapsed
12811
12812 \begin_layout Plain Layout
12813 編集\SpecialChar menuseparator
12814 段落設定
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 Dynamic
12828 \end_layout
12829
12830 \end_inset
12831
12832  は,余白がラベルの大きさに依存することを示します.これは,自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,「3.2
12833  非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
12834 \end_layout
12835
12836 \begin_layout Description
12837 \begin_inset Flex Code
12838 status collapsed
12839
12840 \begin_layout Plain Layout
12841 First_Dynamic
12842 \end_layout
12843
12844 \end_inset
12845
12846  は似ていますが,段落の最初の行だけがDynamicでその他の行はStaticです.これは,たとえば,箇条書き(記述)に使用されます.
12847 \end_layout
12848
12849 \begin_layout Description
12850 \begin_inset Flex Code
12851 status collapsed
12852
12853 \begin_layout Plain Layout
12854 Right_Address_Box
12855 \end_layout
12856
12857 \end_inset
12858
12859  は,段落中,最も長い行が右余白に合うように余白を選択します.これは,ページの右端に住所を組版するのに用いられます.
12860 \end_layout
12861
12862 \end_deeper
12863 \begin_layout Description
12864 \begin_inset Flex Code
12865 status collapsed
12866
12867 \begin_layout Plain Layout
12868 NeedProtect
12869 \end_layout
12870
12871 \end_inset
12872
12873  [
12874 \begin_inset Flex Code
12875 status collapsed
12876
12877 \begin_layout Plain Layout
12878
12879 \emph on
12880 0
12881 \end_layout
12882
12883 \end_inset
12884
12885 ,
12886 \begin_inset space \thinspace{}
12887 \end_inset
12888
12889
12890 \begin_inset Flex Code
12891 status collapsed
12892
12893 \begin_layout Plain Layout
12894 1
12895 \end_layout
12896
12897 \end_inset
12898
12899 ] このレイアウト中の脆弱なコマンドが
12900 \begin_inset Flex Code
12901 status collapsed
12902
12903 \begin_layout Plain Layout
12904
12905 \backslash
12906 protect
12907 \end_layout
12908
12909 \end_inset
12910
12911 されるべきか否か(註:これはこのコマンド自体が
12912 \begin_inset Flex Code
12913 status collapsed
12914
12915 \begin_layout Plain Layout
12916
12917 \backslash
12918 protect
12919 \end_layout
12920
12921 \end_inset
12922
12923 されるべきかでは
12924 \emph on
12925 ありません
12926 \emph default
12927 ).
12928 \end_layout
12929
12930 \begin_layout Description
12931 \begin_inset Flex Code
12932 status collapsed
12933
12934 \begin_layout Plain Layout
12935 Newline
12936 \end_layout
12937
12938 \end_inset
12939
12940  [
12941 \begin_inset Flex Code
12942 status collapsed
12943
12944 \begin_layout Plain Layout
12945 0
12946 \end_layout
12947
12948 \end_inset
12949
12950 ,
12951 \begin_inset space \thinspace{}
12952 \end_inset
12953
12954
12955 \begin_inset Flex Code
12956 status collapsed
12957
12958 \begin_layout Plain Layout
12959
12960 \emph on
12961 1
12962 \end_layout
12963
12964 \end_inset
12965
12966 ] 新規行を\SpecialChar LaTeX
12967 の新規行(
12968 \begin_inset Flex Code
12969 status collapsed
12970
12971 \begin_layout Plain Layout
12972
12973 \backslash
12974
12975 \backslash
12976
12977 \end_layout
12978
12979 \end_inset
12980
12981 )に変換するか否か.\SpecialChar LyX
12982 中で\SpecialChar LaTeX
12983 編集をやりやすくするために,変換は無効にすることができます.
12984 \end_layout
12985
12986 \begin_layout Description
12987 \begin_inset Flex Code
12988 status collapsed
12989
12990 \begin_layout Plain Layout
12991 NextNoIndent
12992 \end_layout
12993
12994 \end_inset
12995
12996  [
12997 \begin_inset Flex Code
12998 status collapsed
12999
13000 \begin_layout Plain Layout
13001
13002 \emph on
13003 0
13004 \end_layout
13005
13006 \end_inset
13007
13008 ,
13009 \begin_inset space \thinspace{}
13010 \end_inset
13011
13012
13013 \begin_inset Flex Code
13014 status collapsed
13015
13016 \begin_layout Plain Layout
13017 1
13018 \end_layout
13019
13020 \end_inset
13021
13022 ] 真に設定すると,
13023 \begin_inset Flex Code
13024 status collapsed
13025
13026 \begin_layout Plain Layout
13027 DefaultStyle
13028 \end_layout
13029
13030 \end_inset
13031
13032  (通常
13033 \begin_inset Flex Code
13034 status collapsed
13035
13036 \begin_layout Plain Layout
13037 Standard
13038 \end_layout
13039
13040 \end_inset
13041
13042 )段落が行頭下げになっている場合でも,この型の段落に続くそれらの段落は,字下げされません(逆に言えば,既定でない段落には影響を与えません).
13043 \end_layout
13044
13045 \begin_layout Description
13046 \begin_inset Flex Code
13047 status collapsed
13048
13049 \begin_layout Plain Layout
13050 ObsoletedBy
13051 \end_layout
13052
13053 \end_inset
13054
13055  [
13056 \begin_inset Flex Code
13057 status collapsed
13058
13059 \begin_layout Plain Layout
13060 <名称>
13061 \end_layout
13062
13063 \end_inset
13064
13065 ] このレイアウトが置き換えられたレイアウト名.これは,後方互換性を維持しながら,レイアウトの名称を変更するのに使用されます.
13066 \end_layout
13067
13068 \begin_layout Description
13069 \begin_inset Flex Code
13070 status collapsed
13071
13072 \begin_layout Plain Layout
13073 ParagraphGroup
13074 \end_layout
13075
13076 \end_inset
13077
13078  [
13079 \begin_inset Flex Code
13080 status collapsed
13081
13082 \begin_layout Plain Layout
13083 0
13084 \end_layout
13085
13086 \end_inset
13087
13088 ,
13089 \begin_inset space \thinspace{}
13090 \end_inset
13091
13092
13093 \begin_inset Flex Code
13094 status collapsed
13095
13096 \begin_layout Plain Layout
13097 1
13098 \end_layout
13099
13100 \end_inset
13101
13102 ] 同じ型の段落が引き続く場合,同じ段落として取り扱うか否かを決定します.これは,そのような連続グループに対して,
13103 \begin_inset Flex Code
13104 status collapsed
13105
13106 \begin_layout Plain Layout
13107 GuiLabel
13108 \end_layout
13109
13110 \end_inset
13111
13112 が一度だけ出力される効果があります.既定では,
13113 \begin_inset Flex Code
13114 status collapsed
13115
13116 \begin_layout Plain Layout
13117 LaTeXType
13118 \end_layout
13119
13120 \end_inset
13121
13122
13123 \begin_inset Flex Code
13124 status collapsed
13125
13126 \begin_layout Plain Layout
13127 Environment
13128 \end_layout
13129
13130 \end_inset
13131
13132 および
13133 \begin_inset Flex Code
13134 status collapsed
13135
13136 \begin_layout Plain Layout
13137 Bib_Environment
13138 \end_layout
13139
13140 \end_inset
13141
13142  については有効であり,他の型すべてについて無効になっています.
13143 \end_layout
13144
13145 \begin_layout Description
13146 \begin_inset Flex Code
13147 status collapsed
13148
13149 \begin_layout Plain Layout
13150 ParbreakIsNewline
13151 \end_layout
13152
13153 \end_inset
13154
13155  [
13156 \begin_inset Flex Code
13157 status collapsed
13158
13159 \begin_layout Plain Layout
13160
13161 \emph on
13162 0
13163 \end_layout
13164
13165 \end_inset
13166
13167 ,
13168 \begin_inset space \thinspace{}
13169 \end_inset
13170
13171
13172 \begin_inset Flex Code
13173 status collapsed
13174
13175 \begin_layout Plain Layout
13176 1
13177 \end_layout
13178
13179 \end_inset
13180
13181 ] \SpecialChar LaTeX
13182 出力中で,段落を空行ではなく,改行で区切るよう指定します.
13183 \begin_inset Flex Code
13184 status collapsed
13185
13186 \begin_layout Plain Layout
13187 PassThru 1
13188 \end_layout
13189
13190 \end_inset
13191
13192 と併用すれば,(\SpecialChar TeX
13193 コードを使用したときのように)テキストエディタをエミュレートすることができます.
13194 \end_layout
13195
13196 \begin_layout Description
13197 \begin_inset Flex Code
13198 status collapsed
13199
13200 \begin_layout Plain Layout
13201 ParIndent
13202 \end_layout
13203
13204 \end_inset
13205
13206  [
13207 \begin_inset Flex Code
13208 status collapsed
13209
13210 \begin_layout Plain Layout
13211 文字列=""
13212 \end_layout
13213
13214 \end_inset
13215
13216 ] 段落の最初の行の行頭下げ.レイアウトによっては
13217 \begin_inset Flex Code
13218 status collapsed
13219
13220 \begin_layout Plain Layout
13221 Parindent
13222 \end_layout
13223
13224 \end_inset
13225
13226 は固定されています.例外には標準レイアウトがあり,標準レイアウトの段落の行頭下げは,
13227 \begin_inset Flex Code
13228 status collapsed
13229
13230 \begin_layout Plain Layout
13231 NextNoIndent
13232 \end_layout
13233
13234 \end_inset
13235
13236 で禁止することができるようになっています.また,環境中の標準レイアウト段落は,当該段落の
13237 \begin_inset Flex Code
13238 status collapsed
13239
13240 \begin_layout Plain Layout
13241 Parindent
13242 \end_layout
13243
13244 \end_inset
13245
13246 ではなく,この環境の
13247 \begin_inset Flex Code
13248 status collapsed
13249
13250 \begin_layout Plain Layout
13251 Parindent
13252 \end_layout
13253
13254 \end_inset
13255
13256 を使用します.たとえば,箇条書き(連番)内の標準段落は,行頭下げされません.
13257 \end_layout
13258
13259 \begin_layout Description
13260 \begin_inset Flex Code
13261 status collapsed
13262
13263 \begin_layout Plain Layout
13264 ParSep
13265 \end_layout
13266
13267 \end_inset
13268
13269  [
13270 \begin_inset Flex Code
13271 status collapsed
13272
13273 \begin_layout Plain Layout
13274 浮動小数点型=0
13275 \end_layout
13276
13277 \end_inset
13278
13279 ] このレイアウトの2段落間の垂直余白.
13280 \end_layout
13281
13282 \begin_layout Description
13283 \begin_inset Flex Code
13284 status collapsed
13285
13286 \begin_layout Plain Layout
13287 Parskip
13288 \end_layout
13289
13290 \end_inset
13291
13292  [
13293 \begin_inset Flex Code
13294 status collapsed
13295
13296 \begin_layout Plain Layout
13297 浮動小数点型=0
13298 \end_layout
13299
13300 \end_inset
13301
13302 ] \SpecialChar LyX
13303 では,文書を組版するのに,ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,この値は完全に無視されます.「スキップ」を選
13304 択した際には,\SpecialChar LaTeX
13305 型「段落」レイアウトの
13306 \begin_inset Flex Code
13307 status collapsed
13308
13309 \begin_layout Plain Layout
13310 ParIndent
13311 \end_layout
13312
13313 \end_inset
13314
13315 は無視され,すべての段落はこの
13316 \begin_inset Flex Code
13317 status collapsed
13318
13319 \begin_layout Plain Layout
13320 Parskip
13321 \end_layout
13322
13323 \end_inset
13324
13325 引数分だけ引き離されます.垂直余白は,
13326 \begin_inset Flex Code
13327 status collapsed
13328
13329 \begin_layout Plain Layout
13330 DefaultHeight
13331 \end_layout
13332
13333 \end_inset
13334
13335 を標準フォントでの1行の高さとすると,
13336 \begin_inset Flex Code
13337 status collapsed
13338
13339 \begin_layout Plain Layout
13340 Parskipの値
13341 \end_layout
13342
13343 \end_inset
13344
13345
13346 \begin_inset Formula $\times$
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 によって計算されます.このようにして,画面フォントを変更しても同じように表示されるのです.
13360 \end_layout
13361
13362 \begin_layout Description
13363 \begin_inset Flex Code
13364 status collapsed
13365
13366 \begin_layout Plain Layout
13367 PassThru
13368 \end_layout
13369
13370 \end_inset
13371
13372  [
13373 \emph on
13374
13375 \begin_inset Flex Code
13376 status collapsed
13377
13378 \begin_layout Plain Layout
13379 0
13380 \end_layout
13381
13382 \end_inset
13383
13384
13385 \emph default
13386 ,
13387 \begin_inset space \thinspace{}
13388 \end_inset
13389
13390
13391 \begin_inset Flex Code
13392 status collapsed
13393
13394 \begin_layout Plain Layout
13395 1
13396 \end_layout
13397
13398 \end_inset
13399
13400 ] この段落の内容が,\SpecialChar LaTeX
13401 が必要とするような特別な変換を行わずに,生の形で出力されるべきかどうか.
13402 \end_layout
13403
13404 \begin_layout Description
13405 \begin_inset Flex Code
13406 status collapsed
13407
13408 \begin_layout Plain Layout
13409 PassThruChars
13410 \end_layout
13411
13412 \end_inset
13413
13414  [
13415 \begin_inset Flex Code
13416 status collapsed
13417
13418 \begin_layout Plain Layout
13419 文字列
13420 \end_layout
13421
13422 \end_inset
13423
13424 ]
13425 \family typewriter
13426  
13427 \family default
13428 \SpecialChar LaTeX
13429 が要請する特別な翻訳なしで.生の形で出力されるべき,それぞれの文字を定義します.
13430 \end_layout
13431
13432 \begin_layout Description
13433 \begin_inset Flex Code
13434 status collapsed
13435
13436 \begin_layout Plain Layout
13437 Preamble
13438 \end_layout
13439
13440 \end_inset
13441
13442  この様式が使用されたときに,\SpecialChar LaTeX
13443 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,パッケージを読み込んだりと言ったことに使用します.「
13444 \begin_inset Flex Code
13445 status collapsed
13446
13447 \begin_layout Plain Layout
13448 EndPreamble
13449 \end_layout
13450
13451 \end_inset
13452
13453 」で閉じる必要があります.
13454 \end_layout
13455
13456 \begin_layout Description
13457 \begin_inset Flex Code
13458 status collapsed
13459
13460 \begin_layout Plain Layout
13461 RefPrefix
13462 \end_layout
13463
13464 \end_inset
13465
13466  [
13467 \begin_inset Flex Code
13468 status collapsed
13469
13470 \begin_layout Plain Layout
13471 文字列
13472 \end_layout
13473
13474 \end_inset
13475
13476 ] この型の段落を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
13477 \end_layout
13478
13479 \begin_layout Description
13480 \begin_inset Flex Code
13481 status collapsed
13482
13483 \begin_layout Plain Layout
13484 Requires
13485 \end_layout
13486
13487 \end_inset
13488
13489  [
13490 \begin_inset Flex Code
13491 status collapsed
13492
13493 \begin_layout Plain Layout
13494 文字列
13495 \end_layout
13496
13497 \end_inset
13498
13499 ] この様式が機能
13500 \begin_inset Flex Code
13501 status collapsed
13502
13503 \begin_layout Plain Layout
13504 文字列
13505 \end_layout
13506
13507 \end_inset
13508
13509 を必要とするかどうか(機能詳細については,第
13510 \begin_inset CommandInset ref
13511 LatexCommand ref
13512 reference "chap:関数一覧"
13513
13514 \end_inset
13515
13516 節参照).特定のオプションをとるパッケージを要求する場合,
13517 \begin_inset Flex Code
13518 status collapsed
13519
13520 \begin_layout Plain Layout
13521 PackageOptions
13522 \end_layout
13523
13524 \end_inset
13525
13526 を汎用テキストクラスパラメータとして追加して使うことができます(
13527 \begin_inset CommandInset ref
13528 LatexCommand ref
13529 reference "subsec:汎用テキストクラスパラメータ"
13530
13531 \end_inset
13532
13533 を参照).
13534 \end_layout
13535
13536 \begin_layout Description
13537 \begin_inset Flex Code
13538 status collapsed
13539
13540 \begin_layout Plain Layout
13541 ResetArgs
13542 \end_layout
13543
13544 \end_inset
13545
13546  [
13547 \begin_inset Flex Code
13548 status collapsed
13549
13550 \begin_layout Plain Layout
13551
13552 \emph on
13553 0
13554 \end_layout
13555
13556 \end_inset
13557
13558 ,
13559 \begin_inset Flex Code
13560 status collapsed
13561
13562 \begin_layout Plain Layout
13563 1
13564 \end_layout
13565
13566 \end_inset
13567
13568 ] (
13569 \begin_inset Flex Code
13570 status collapsed
13571
13572 \begin_layout Plain Layout
13573 Argument
13574 \end_layout
13575
13576 \end_inset
13577
13578 タグで定義された)この様式の\SpecialChar LaTeX
13579 引数をリセットします.これは,様式を
13580 \begin_inset Flex Code
13581 status collapsed
13582
13583 \begin_layout Plain Layout
13584 CopyStyle
13585 \end_layout
13586
13587 \end_inset
13588
13589 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
13590 \end_layout
13591
13592 \begin_layout Description
13593 \begin_inset Flex Code
13594 status collapsed
13595
13596 \begin_layout Plain Layout
13597 ResumeCounter
13598 \end_layout
13599
13600 \end_inset
13601
13602  [
13603 \begin_inset Flex Code
13604 status collapsed
13605
13606 \begin_layout Plain Layout
13607
13608 \emph on
13609 0
13610 \end_layout
13611
13612 \end_inset
13613
13614 ,
13615 \begin_inset Flex Code
13616 status collapsed
13617
13618 \begin_layout Plain Layout
13619 1
13620 \end_layout
13621
13622 \end_inset
13623
13624 ] レイアウトの新しい一群で通常リセットされるカウンタを元に戻します.これは,
13625 \begin_inset Flex Code
13626 status collapsed
13627
13628 \begin_layout Plain Layout
13629 LabelType
13630 \end_layout
13631
13632 \end_inset
13633
13634
13635 \begin_inset Flex Code
13636 status collapsed
13637
13638 \begin_layout Plain Layout
13639 Enumerate
13640 \end_layout
13641
13642 \end_inset
13643
13644 の時のみ有効です.
13645 \end_layout
13646
13647 \begin_layout Description
13648 \begin_inset Flex Code
13649 status collapsed
13650
13651 \begin_layout Plain Layout
13652 RightDelim
13653 \end_layout
13654
13655 \end_inset
13656
13657  [
13658 \begin_inset Flex Code
13659 status collapsed
13660
13661 \begin_layout Plain Layout
13662 文字列
13663 \end_layout
13664
13665 \end_inset
13666
13667 ] 様式の内容の最後に置かれる文字列.出力中の改行は
13668 \begin_inset Flex Code
13669 status collapsed
13670
13671 \begin_layout Plain Layout
13672 <br/>
13673 \end_layout
13674
13675 \end_inset
13676
13677 で指示できます.
13678 \end_layout
13679
13680 \begin_layout Description
13681 \begin_inset Flex Code
13682 status collapsed
13683
13684 \begin_layout Plain Layout
13685 RightMargin
13686 \end_layout
13687
13688 \end_inset
13689
13690  [
13691 \begin_inset Flex Code
13692 status collapsed
13693
13694 \begin_layout Plain Layout
13695 文字列=""
13696 \end_layout
13697
13698 \end_inset
13699
13700
13701 \begin_inset Flex Code
13702 status collapsed
13703
13704 \begin_layout Plain Layout
13705 LeftMargin
13706 \end_layout
13707
13708 \end_inset
13709
13710 に同様.
13711 \end_layout
13712
13713 \begin_layout Description
13714 \begin_inset Flex Code
13715 status collapsed
13716
13717 \begin_layout Plain Layout
13718 Spacing
13719 \end_layout
13720
13721 \end_inset
13722
13723  [
13724 \begin_inset Flex Code
13725 status collapsed
13726
13727 \begin_layout Plain Layout
13728
13729 \emph on
13730 single
13731 \end_layout
13732
13733 \end_inset
13734
13735
13736 \begin_inset Flex Code
13737 status collapsed
13738
13739 \begin_layout Plain Layout
13740 onehalf
13741 \end_layout
13742
13743 \end_inset
13744
13745
13746 \begin_inset Flex Code
13747 status collapsed
13748
13749 \begin_layout Plain Layout
13750 double
13751 \end_layout
13752
13753 \end_inset
13754
13755
13756 \begin_inset Flex Code
13757 status collapsed
13758
13759 \begin_layout Plain Layout
13760 other
13761 \begin_inset space ~
13762 \end_inset
13763
13764 <
13765 \emph on
13766
13767 \emph default
13768 >
13769 \end_layout
13770
13771 \end_inset
13772
13773 ]
13774 \lang english
13775  
13776 \lang japanese
13777 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
13778 \begin_inset Flex Code
13779 status collapsed
13780
13781 \begin_layout Plain Layout
13782 single
13783 \end_layout
13784
13785 \end_inset
13786
13787
13788 \begin_inset Flex Code
13789 status collapsed
13790
13791 \begin_layout Plain Layout
13792 onehalf
13793 \end_layout
13794
13795 \end_inset
13796
13797
13798 \begin_inset Flex Code
13799 status collapsed
13800
13801 \begin_layout Plain Layout
13802 double
13803 \end_layout
13804
13805 \end_inset
13806
13807 は,それぞれ乗数1・1.25・1.667に対応します.引数
13808 \begin_inset Flex Code
13809 status collapsed
13810
13811 \begin_layout Plain Layout
13812 other
13813 \end_layout
13814
13815 \end_inset
13816
13817 を指定した場合には,実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
13818 \begin_inset Flex Code
13819 status collapsed
13820
13821 \begin_layout Plain Layout
13822 Spacing
13823 \end_layout
13824
13825 \end_inset
13826
13827 は,\SpecialChar LaTeX
13828 パッケージ
13829 \begin_inset Flex Code
13830 status collapsed
13831
13832 \begin_layout Plain Layout
13833 setspace
13834 \end_layout
13835
13836 \end_inset
13837
13838 パッケージを使用した,限定的な\SpecialChar LaTeX
13839 コードを生成することを意味することにご注意ください.
13840 \end_layout
13841
13842 \begin_layout Description
13843 \begin_inset Flex Code
13844 status collapsed
13845
13846 \begin_layout Plain Layout
13847 Spellcheck
13848 \end_layout
13849
13850 \end_inset
13851
13852  [
13853 \begin_inset Flex Code
13854 status collapsed
13855
13856 \begin_layout Plain Layout
13857 0
13858 \end_layout
13859
13860 \end_inset
13861
13862 ,
13863 \begin_inset space \thinspace{}
13864 \end_inset
13865
13866
13867 \begin_inset Flex Code
13868 status collapsed
13869
13870 \begin_layout Plain Layout
13871 1
13872 \end_layout
13873
13874 \end_inset
13875
13876 ] この様式の段落をスペルチェックするか否か.既定値は真です.
13877 \end_layout
13878
13879 \begin_layout Description
13880 \begin_inset Flex Code
13881 status collapsed
13882
13883 \begin_layout Plain Layout
13884 StepMasterCounter
13885 \end_layout
13886
13887 \end_inset
13888
13889  [
13890 \begin_inset Flex Code
13891 status collapsed
13892
13893 \begin_layout Plain Layout
13894
13895 \emph on
13896 0
13897 \end_layout
13898
13899 \end_inset
13900
13901 ,
13902 \begin_inset Flex Code
13903 status collapsed
13904
13905 \begin_layout Plain Layout
13906 1
13907 \end_layout
13908
13909 \end_inset
13910
13911 ] 新しいレイアウト群を開始する際に,このカウンタの親カウンタを進めるか否か.これは,現在のところ,
13912 \begin_inset Flex Code
13913 status collapsed
13914
13915 \begin_layout Plain Layout
13916 LabelType
13917 \end_layout
13918
13919 \end_inset
13920
13921
13922 \begin_inset Flex Code
13923 status collapsed
13924
13925 \begin_layout Plain Layout
13926 Enumerate
13927 \end_layout
13928
13929 \end_inset
13930
13931 の時のみ有効です.
13932 \end_layout
13933
13934 \begin_layout Description
13935 \begin_inset Flex Code
13936 status collapsed
13937
13938 \begin_layout Plain Layout
13939 TextFont
13940 \end_layout
13941
13942 \end_inset
13943
13944  本文に使うフォント.第
13945 \begin_inset CommandInset ref
13946 LatexCommand ref
13947 reference "subsec:フォント指定"
13948
13949 \end_inset
13950
13951 節参照.
13952 \end_layout
13953
13954 \begin_layout Description
13955 \begin_inset Flex Code
13956 status collapsed
13957
13958 \begin_layout Plain Layout
13959 TocLevel
13960 \end_layout
13961
13962 \end_inset
13963
13964  [
13965 \begin_inset Flex Code
13966 status collapsed
13967
13968 \begin_layout Plain Layout
13969 整数型=3
13970 \end_layout
13971
13972 \end_inset
13973
13974 ] 目次中でのこの様式の階層.これは,節見出しの自動連番に使用されます.
13975 \end_layout
13976
13977 \begin_layout Description
13978 \begin_inset Flex Code
13979 status collapsed
13980
13981 \begin_layout Plain Layout
13982 ToggleIndent
13983 \end_layout
13984
13985 \end_inset
13986
13987  [
13988 \emph on
13989
13990 \begin_inset Flex Code
13991 status collapsed
13992
13993 \begin_layout Plain Layout
13994 default
13995 \end_layout
13996
13997 \end_inset
13998
13999
14000 \emph default
14001
14002 \begin_inset Flex Code
14003 status collapsed
14004
14005 \begin_layout Plain Layout
14006 always
14007 \end_layout
14008
14009 \end_inset
14010
14011
14012 \begin_inset Flex Code
14013 status collapsed
14014
14015 \begin_layout Plain Layout
14016 never
14017 \end_layout
14018
14019 \end_inset
14020
14021 ] このタグは,この段落の1行目の行頭下げが,段落設定ダイアログで切り替えられるかどうかを決めます.
14022 \begin_inset Flex Code
14023 status collapsed
14024
14025 \begin_layout Plain Layout
14026 default
14027 \end_layout
14028
14029 \end_inset
14030
14031 が指定されると,文書設定が「行頭下げ」段落様式を使用しているときに,行頭下げを変更することができます.
14032 \begin_inset Flex Code
14033 status collapsed
14034
14035 \begin_layout Plain Layout
14036 always
14037 \end_layout
14038
14039 \end_inset
14040
14041 は,文書設定にかかわらず変更することができ,
14042 \begin_inset Flex Code
14043 status collapsed
14044
14045 \begin_layout Plain Layout
14046 never
14047 \end_layout
14048
14049 \end_inset
14050
14051 は,どのような場合でも変更することができません.
14052 \end_layout
14053
14054 \begin_layout Description
14055 \begin_inset Flex Code
14056 status collapsed
14057
14058 \begin_layout Plain Layout
14059 TopSep
14060 \end_layout
14061
14062 \end_inset
14063
14064  [
14065 \begin_inset Flex Code
14066 status collapsed
14067
14068 \begin_layout Plain Layout
14069 浮動小数点型=0
14070 \end_layout
14071
14072 \end_inset
14073
14074 ] このレイアウトを持つ一連の段落群の最初の段落と,その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,余白は単純に追加されるのではなく,それら
14075 の最大値がとられます.
14076 \end_layout
14077
14078 \begin_layout Subsection
14079 段落様式の国際化
14080 \begin_inset CommandInset label
14081 LatexCommand label
14082 name "subsec:段落様式の国際化"
14083
14084 \end_inset
14085
14086
14087 \end_layout
14088
14089 \begin_layout Standard
14090 \SpecialChar LyX
14091 は,長きにわたってレイアウト情報の国際化をサポートしてきましたが,第2.0版までは,これは操作画面にのみ適用されるものであって,たとえばPDF出力には適用されませ
14092 んでした.たとえば,フランスの著者が,「Theorem 1」の代わりに「
14093 \lang french
14094 Théorème
14095 \lang japanese
14096  1」としたければ,醜いハックに頼るしかありませんでした.Georg Baumのおかげで,これは解消されました.
14097 \end_layout
14098
14099 \begin_layout Standard
14100 もし
14101 \begin_inset Flex MenuItem
14102 status collapsed
14103
14104 \begin_layout Plain Layout
14105 Style
14106 \end_layout
14107
14108 \end_inset
14109
14110 が,組版文書に出力される文字列を定義するのであれば,非英語文書や複数言語文書をサポートするために,
14111 \begin_inset Flex MenuItem
14112 status collapsed
14113
14114 \begin_layout Plain Layout
14115 LangPreamble
14116 \end_layout
14117
14118 \end_inset
14119
14120
14121 \begin_inset Flex MenuItem
14122 status collapsed
14123
14124 \begin_layout Plain Layout
14125 BabelPreamble
14126 \end_layout
14127
14128 \end_inset
14129
14130 を使用することができます.以下の抜粋(
14131 \begin_inset Flex MenuItem
14132 status collapsed
14133
14134 \begin_layout Plain Layout
14135 theorems-ams.inc
14136 \end_layout
14137
14138 \end_inset
14139
14140 より)は,これがどう動作するかを示すものです.
14141 \end_layout
14142
14143 \begin_layout LyX-Code
14144 Preamble
14145 \end_layout
14146
14147 \begin_deeper
14148 \begin_layout LyX-Code
14149   
14150 \backslash
14151 theoremstyle{remark}
14152 \end_layout
14153
14154 \begin_layout LyX-Code
14155   
14156 \backslash
14157 newtheorem{claim}[thm]{
14158 \backslash
14159 protect
14160 \backslash
14161 claimname}
14162 \end_layout
14163
14164 \begin_layout LyX-Code
14165 EndPreamble
14166 \end_layout
14167
14168 \begin_layout LyX-Code
14169 LangPreamble
14170 \end_layout
14171
14172 \begin_layout LyX-Code
14173   
14174 \backslash
14175 providecommand{
14176 \backslash
14177 claimname}{_(Claim)}
14178 \end_layout
14179
14180 \begin_layout LyX-Code
14181 EndLangPreamble
14182 \end_layout
14183
14184 \begin_layout LyX-Code
14185 BabelPreamble
14186 \end_layout
14187
14188 \begin_layout LyX-Code
14189     
14190 \backslash
14191 addto
14192 \backslash
14193 captions$$lang{
14194 \backslash
14195 renewcommand{
14196 \backslash
14197 claimname}{_(Claim)}}
14198 \end_layout
14199
14200 \begin_layout LyX-Code
14201 EndBabelPreamble
14202 \end_layout
14203
14204 \end_deeper
14205 \begin_layout Standard
14206 原則として,
14207 \begin_inset Flex MenuItem
14208 status collapsed
14209
14210 \begin_layout Plain Layout
14211 LangPreamble
14212 \end_layout
14213
14214 \end_inset
14215
14216
14217 \begin_inset Flex MenuItem
14218 status collapsed
14219
14220 \begin_layout Plain Layout
14221 BabelPreamble
14222 \end_layout
14223
14224 \end_inset
14225
14226 タグ内には,有効な\SpecialChar LaTeX
14227 コードはすべて用いることができますが,実際においては,ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるの
14228 は,\SpecialChar LaTeX
14229 コマンド
14230 \begin_inset Flex Code
14231 status collapsed
14232
14233 \begin_layout Plain Layout
14234
14235 \backslash
14236 claimname
14237 \end_layout
14238
14239 \end_inset
14240
14241 とその
14242 \begin_inset Flex Code
14243 status collapsed
14244
14245 \begin_layout Plain Layout
14246
14247 \backslash
14248 newtheorem
14249 \end_layout
14250
14251 \end_inset
14252
14253 中での用い方です.
14254 \end_layout
14255
14256 \begin_layout Standard
14257 \begin_inset Flex Code
14258 status collapsed
14259
14260 \begin_layout Plain Layout
14261 LangPreamble
14262 \end_layout
14263
14264 \end_inset
14265
14266 タグは,文書全体の言語に基づいた国際化を提供します.タグの内容は,
14267 \begin_inset Flex Code
14268 status collapsed
14269
14270 \begin_layout Plain Layout
14271 Preamble
14272 \end_layout
14273
14274 \end_inset
14275
14276 タグと同様,プリアンブルに置かれるのですが,これを特別なものにしているのは,「関数」
14277 \begin_inset Flex Code
14278 status collapsed
14279
14280 \begin_layout Plain Layout
14281 _()
14282 \end_layout
14283
14284 \end_inset
14285
14286 が使用されていることです.これは,\SpecialChar LyX
14287 が\SpecialChar LaTeX
14288 出力を生成する際,その引数を文書言語に翻訳したもので置き換えられます.
14289 \end_layout
14290
14291 \begin_layout Standard
14292 \begin_inset Flex Code
14293 status collapsed
14294
14295 \begin_layout Plain Layout
14296 BabelPreamble
14297 \end_layout
14298
14299 \end_inset
14300
14301 タグは,複数言語文書をサポートし,
14302 \begin_inset Flex Code
14303 status collapsed
14304
14305 \begin_layout Plain Layout
14306 babel
14307 \end_layout
14308
14309 \end_inset
14310
14311 パッケージへのインタフェースを提供することを意図しているので,もう少し複雑です.その内容は,文書に現れる言語それぞれについて一度,プリアンブルに追加されます.こ
14312 の場合には,
14313 \begin_inset Flex Code
14314 status collapsed
14315
14316 \begin_layout Plain Layout
14317 _()
14318 \end_layout
14319
14320 \end_inset
14321
14322 の引数は,その当該言語への翻訳で置き換えられ,
14323 \begin_inset Flex Code
14324 status collapsed
14325
14326 \begin_layout Plain Layout
14327 $$lang
14328 \end_layout
14329
14330 \end_inset
14331
14332 は言語名(babelパッケージで使用されるもの)で置き換えられます.
14333 \end_layout
14334
14335 \begin_layout Standard
14336 したがって,フランス語のセクションを持つドイツ語文書では,以下のような内容がプリアンブルに追加されます
14337 \end_layout
14338
14339 \begin_layout LyX-Code
14340
14341 \backslash
14342 addto
14343 \backslash
14344 captionsfrench{
14345 \backslash
14346 renewcommand{
14347 \backslash
14348 claimname}{Affirmation}}
14349 \begin_inset Newline newline
14350 \end_inset
14351
14352
14353 \backslash
14354 addto
14355 \backslash
14356 captionsngerman{
14357 \backslash
14358 renewcommand{
14359 \backslash
14360 claimname}{Behauptung}}
14361 \begin_inset Newline newline
14362 \end_inset
14363
14364
14365 \backslash
14366 providecommand{
14367 \backslash
14368 claimname}{Behauptung}
14369 \end_layout
14370
14371 \begin_layout Standard
14372 それから,\SpecialChar LaTeX
14373
14374 \begin_inset Flex Code
14375 status collapsed
14376
14377 \begin_layout Plain Layout
14378 babel
14379 \end_layout
14380
14381 \end_inset
14382
14383 は協力して,出力に正しい文字列を生成します.
14384 \end_layout
14385
14386 \begin_layout Standard
14387 ここで注意しておくべき一つの重要な点は,翻訳は,
14388 \begin_inset Flex Code
14389 status collapsed
14390
14391 \begin_layout Plain Layout
14392 layouttranslations
14393 \end_layout
14394
14395 \end_inset
14396
14397 ファイルを通じて,\SpecialChar LyX
14398 自身によって提供されるということです.つまり,ユーザー作成のレイアウトファイルに入力された文字列は,
14399 \begin_inset Flex Code
14400 status collapsed
14401
14402 \begin_layout Plain Layout
14403 layouttranslations
14404 \end_layout
14405
14406 \end_inset
14407
14408 ファイルをそれに応じて変更しない限り,\SpecialChar LyX
14409 の国際化ルーチンでは取り扱われないので,
14410 \begin_inset Flex MenuItem
14411 status collapsed
14412
14413 \begin_layout Plain Layout
14414 LangPreamble
14415 \end_layout
14416
14417 \end_inset
14418
14419
14420 \begin_inset Flex MenuItem
14421 status collapsed
14422
14423 \begin_layout Plain Layout
14424 BabelPreamble
14425 \end_layout
14426
14427 \end_inset
14428
14429 は,事実上,\SpecialChar LyX
14430 とともに提供されるレイアウトファイルでのみ,使うことができるということを意味します.とはいえ,こういうことでありますので,将来的に\SpecialChar LyX
14431 に同梱させようとい
14432 う意図を以て作成されたレイアウトは,適切なところではすべて,これらのタグを使用するべきです.\SpecialChar LyX
14433 が提供する段落様式の翻訳は,マイナー更新(例えば2.1.x版から2.1.y版
14434 )では変更されないことに注意してください.しかしながら,メジャー更新(例えば2.0.x版から2.1.y版)では,新しい翻訳や修正が導入される可能性は大いにあります.
14435 \end_layout
14436
14437 \begin_layout Subsection
14438 フロート
14439 \begin_inset CommandInset label
14440 LatexCommand label
14441 name "subsec:フロート"
14442
14443 \end_inset
14444
14445
14446 \end_layout
14447
14448 \begin_layout Standard
14449 \SpecialChar LyX
14450 第1.3.0版以来,テキストクラス自体の中でフロート(
14451 \begin_inset Flex MenuItem
14452 status collapsed
14453
14454 \begin_layout Plain Layout
14455 figure
14456 \end_layout
14457
14458 \end_inset
14459
14460
14461 \begin_inset Flex MenuItem
14462 status collapsed
14463
14464 \begin_layout Plain Layout
14465 table
14466 \end_layout
14467
14468 \end_inset
14469
14470 ・\SpecialChar ldots
14471 )を定義することが可能となり,かつ必要となりました.標準的なフロートは
14472 \begin_inset Flex Code
14473 status collapsed
14474
14475 \begin_layout Plain Layout
14476 stdfloats.inc
14477 \end_layout
14478
14479 \end_inset
14480
14481 ファイルに含まれているので,作業中のレイアウトファイルに
14482 \end_layout
14483
14484 \begin_layout LyX-Code
14485 Input stdfloats.inc
14486 \end_layout
14487
14488 \begin_layout Standard
14489 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
14490 に同梱されているAGUクラスのように,それ以外のフロート型を提供するテキストクラスを実装するには,以下の情報が役立つであり
14491 ましょう.
14492 \end_layout
14493
14494 \begin_layout Description
14495 \begin_inset Flex Code
14496 status collapsed
14497
14498 \begin_layout Plain Layout
14499 AllowedPlacement
14500 \end_layout
14501
14502 \end_inset
14503
14504  [
14505 \begin_inset Flex Code
14506 status collapsed
14507
14508 \begin_layout Plain Layout
14509 文字列
14510 \end_layout
14511
14512 \end_inset
14513
14514 =!htbpH] このフロート型に許可された配置用の選択肢.値は,配置文字からなる文字列です.使用できる文字には,
14515 \emph on
14516 h
14517 \emph default
14518  (
14519 \begin_inset Quotes eld
14520 \end_inset
14521
14522 here if possible:可能ならば現在位置に
14523 \begin_inset Quotes erd
14524 \end_inset
14525
14526 ), 
14527 \emph on
14528 t
14529 \emph default
14530  (
14531 \begin_inset Quotes eld
14532 \end_inset
14533
14534 top of page:ページ上部
14535 \begin_inset Quotes erd
14536 \end_inset
14537
14538 )・
14539 \emph on
14540 b
14541 \emph default
14542  (
14543 \begin_inset Quotes eld
14544 \end_inset
14545
14546 bottom of page:ページ下部
14547 \begin_inset Quotes erd
14548 \end_inset
14549
14550 )・
14551 \emph on
14552 p
14553 \emph default
14554  (
14555 \begin_inset Quotes eld
14556 \end_inset
14557
14558 page of floats:フロートを独立したページに
14559 \begin_inset Quotes erd
14560 \end_inset
14561
14562 )・
14563 \emph on
14564 H
14565 \emph default
14566  (
14567 \begin_inset Quotes eld
14568 \end_inset
14569
14570 here definitely:何としても現在位置に置く
14571 \begin_inset Quotes erd
14572 \end_inset
14573
14574 )・
14575 \emph on
14576 !
14577 \emph default
14578  (
14579 \begin_inset Quotes eld
14580 \end_inset
14581
14582 ignore LaTeX rules:LaTeXの規則を無視する
14583 \begin_inset Quotes erd
14584 \end_inset
14585
14586 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,文字列として
14587 \emph on
14588 none
14589 \emph default
14590 を与えてください.
14591 \end_layout
14592
14593 \begin_layout Description
14594 \begin_inset Flex Code
14595 status collapsed
14596
14597 \begin_layout Plain Layout
14598 AllowsSideways
14599 \end_layout
14600
14601 \end_inset
14602
14603  [
14604 \begin_inset Flex Code
14605 status collapsed
14606
14607 \begin_layout Plain Layout
14608 0
14609 \end_layout
14610
14611 \end_inset
14612
14613 ,
14614 \begin_inset space \thinspace{}
14615 \end_inset
14616
14617
14618 \emph on
14619
14620 \begin_inset Flex Code
14621 status collapsed
14622
14623 \begin_layout Plain Layout
14624 1
14625 \end_layout
14626
14627 \end_inset
14628
14629
14630 \emph default
14631 ] フロートを,\SpecialChar LaTeX
14632 パッケージの
14633 \family typewriter
14634 rotfloat
14635 \family default
14636  (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
14637 \begin_inset Flex Code
14638 status collapsed
14639
14640 \begin_layout Plain Layout
14641 0
14642 \end_layout
14643
14644 \end_inset
14645
14646 を指定してください.
14647 \end_layout
14648
14649 \begin_layout Description
14650 \begin_inset Flex Code
14651 status collapsed
14652
14653 \begin_layout Plain Layout
14654 AllowsWide
14655 \end_layout
14656
14657 \end_inset
14658
14659  [
14660 \begin_inset Flex Code
14661 status collapsed
14662
14663 \begin_layout Plain Layout
14664 0
14665 \end_layout
14666
14667 \end_inset
14668
14669 ,
14670 \begin_inset space \thinspace{}
14671 \end_inset
14672
14673
14674 \emph on
14675
14676 \begin_inset Flex Code
14677 status collapsed
14678
14679 \begin_layout Plain Layout
14680 1
14681 \end_layout
14682
14683 \end_inset
14684
14685
14686 \emph default
14687 ] このフロートに,二段組段落において段落をまたぐ,星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
14688 \begin_inset Flex Code
14689 status collapsed
14690
14691 \begin_layout Plain Layout
14692 0
14693 \end_layout
14694
14695 \end_inset
14696
14697 を指定してください.
14698 \end_layout
14699
14700 \begin_layout Description
14701 \begin_inset Flex Code
14702 status collapsed
14703
14704 \begin_layout Plain Layout
14705 Extension
14706 \end_layout
14707
14708 \end_inset
14709
14710  [
14711 \begin_inset Flex Code
14712 status collapsed
14713
14714 \begin_layout Plain Layout
14715 文字列
14716 \end_layout
14717
14718 \end_inset
14719
14720 =
14721 \begin_inset Quotes erd
14722 \end_inset
14723
14724
14725 \begin_inset Quotes erd
14726 \end_inset
14727
14728 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
14729 がキャプションを書き込むファイルです.
14730 \end_layout
14731
14732 \begin_layout Description
14733 \begin_inset Flex Code
14734 status collapsed
14735
14736 \begin_layout Plain Layout
14737 GuiName
14738 \end_layout
14739
14740 \end_inset
14741
14742  [
14743 \begin_inset Flex Code
14744 status collapsed
14745
14746 \begin_layout Plain Layout
14747 文字列
14748 \end_layout
14749
14750 \end_inset
14751
14752 =
14753 \begin_inset Quotes erd
14754 \end_inset
14755
14756
14757 \begin_inset Quotes erd
14758 \end_inset
14759
14760 ] メニューとキャプションに使用される文字列.babelが使用される場合には,これは現在の言語に翻訳されます.
14761 \end_layout
14762
14763 \begin_layout Description
14764 \begin_inset Flex Code
14765 status collapsed
14766
14767 \begin_layout Plain Layout
14768 HTML*
14769 \end_layout
14770
14771 \end_inset
14772
14773  これらは,XHTML出力で使用されます.
14774 \begin_inset CommandInset ref
14775 LatexCommand ref
14776 reference "sec:XHTML出力のタグ"
14777
14778 \end_inset
14779
14780 をご覧ください.
14781 \end_layout
14782
14783 \begin_layout Description
14784 \begin_inset Flex Code
14785 status collapsed
14786
14787 \begin_layout Plain Layout
14788 IsPredefined
14789 \end_layout
14790
14791 \end_inset
14792
14793  [
14794 \begin_inset Flex Code
14795 status collapsed
14796
14797 \begin_layout Plain Layout
14798
14799 \emph on
14800 0
14801 \end_layout
14802
14803 \end_inset
14804
14805 ,
14806 \begin_inset space \thinspace{}
14807 \end_inset
14808
14809
14810 \begin_inset Flex Code
14811 status collapsed
14812
14813 \begin_layout Plain Layout
14814 1
14815 \end_layout
14816
14817 \end_inset
14818
14819 ] フロートがドキュメントクラス中に既に定義されているのか,あるいは\SpecialChar LaTeX
14820 パッケージ
14821 \begin_inset Flex Code
14822 status collapsed
14823
14824 \begin_layout Plain Layout
14825 float
14826 \end_layout
14827
14828 \end_inset
14829
14830 を読み込む必要があり,そのファイル内のものを使用して,オン・ザ・フライで定義するかを示します.既定は
14831 \begin_inset Flex Code
14832 status collapsed
14833
14834 \begin_layout Plain Layout
14835 0
14836 \end_layout
14837
14838 \end_inset
14839
14840 で,この場合
14841 \begin_inset Flex Code
14842 status collapsed
14843
14844 \begin_layout Plain Layout
14845 float
14846 \end_layout
14847
14848 \end_inset
14849
14850 を使用します.\SpecialChar LaTeX
14851 ドキュメントクラス中に既に定義されているときには,
14852 \begin_inset Flex Code
14853 status collapsed
14854
14855 \begin_layout Plain Layout
14856 0
14857 \end_layout
14858
14859 \end_inset
14860
14861 に設定しなくてはなりません.
14862 \end_layout
14863
14864 \begin_layout Description
14865 \begin_inset Flex Code
14866 status collapsed
14867
14868 \begin_layout Plain Layout
14869 ListCommand
14870 \end_layout
14871
14872 \end_inset
14873
14874  [
14875 \begin_inset Flex Code
14876 status collapsed
14877
14878 \begin_layout Plain Layout
14879 文字列
14880 \end_layout
14881
14882 \end_inset
14883
14884 =
14885 \begin_inset Quotes erd
14886 \end_inset
14887
14888
14889 \begin_inset Quotes erd
14890 \end_inset
14891
14892 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
14893 \backslash
14894 」は書きません.
14895 \begin_inset Flex Code
14896 status collapsed
14897
14898 \begin_layout Plain Layout
14899 NeedsFloatPkg
14900 \end_layout
14901
14902 \end_inset
14903
14904 が偽の時には,このコマンドを生成する標準的な方法はないので,これは
14905 \emph on
14906 必ず
14907 \emph default
14908 指定しなくてはなりません.
14909 \begin_inset Flex Code
14910 status collapsed
14911
14912 \begin_layout Plain Layout
14913 NeedsFloatPkg
14914 \end_layout
14915
14916 \end_inset
14917
14918 が真の時は,標準的な方法が存在するので,これは無視されます.
14919 \end_layout
14920
14921 \begin_layout Description
14922 \begin_inset Flex Code
14923 status collapsed
14924
14925 \begin_layout Plain Layout
14926 ListName
14927 \end_layout
14928
14929 \end_inset
14930
14931  [
14932 \begin_inset Flex Code
14933 status collapsed
14934
14935 \begin_layout Plain Layout
14936 文字列
14937 \end_layout
14938
14939 \end_inset
14940
14941 =
14942 \begin_inset Quotes erd
14943 \end_inset
14944
14945
14946 \begin_inset Quotes erd
14947 \end_inset
14948
14949 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
14950 中では,これは画面上のラベルとして使用されます.また,見出しとして使用するために,La\SpecialChar TeX
14951 に渡さ
14952 れ,XHTML出力でも見出しとして使用されます.これは,文書言語に翻訳されます.
14953 \end_layout
14954
14955 \begin_layout Description
14956 \begin_inset Flex Code
14957 status collapsed
14958
14959 \begin_layout Plain Layout
14960 NumberWithin
14961 \end_layout
14962
14963 \end_inset
14964
14965  [
14966 \begin_inset Flex Code
14967 status collapsed
14968
14969 \begin_layout Plain Layout
14970 文字列
14971 \end_layout
14972
14973 \end_inset
14974
14975 =
14976 \begin_inset Quotes erd
14977 \end_inset
14978
14979
14980 \begin_inset Quotes erd
14981 \end_inset
14982
14983 ] この(非必須の)引数は,このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
14984 \begin_inset Flex Code
14985 status collapsed
14986
14987 \begin_layout Plain Layout
14988 NumberWithin
14989 \end_layout
14990
14991 \end_inset
14992
14993 が「
14994 \begin_inset Flex Code
14995 status collapsed
14996
14997 \begin_layout Plain Layout
14998 chapter
14999 \end_layout
15000
15001 \end_inset
15002
15003 」に指定されていれば,フロートは章ごとに番号が振り直されます.
15004 \end_layout
15005
15006 \begin_layout Description
15007 \begin_inset Flex Code
15008 status collapsed
15009
15010 \begin_layout Plain Layout
15011 Placement
15012 \end_layout
15013
15014 \end_inset
15015
15016  [
15017 \begin_inset Flex Code
15018 status collapsed
15019
15020 \begin_layout Plain Layout
15021 文字列
15022 \end_layout
15023
15024 \end_inset
15025
15026 =
15027 \begin_inset Quotes erd
15028 \end_inset
15029
15030
15031 \begin_inset Quotes erd
15032 \end_inset
15033
15034 ] このクラスのフロートの既定の配置法.文字列は,標準的な\SpecialChar LaTeX
15035 表記に従い,
15036 \begin_inset Flex Code
15037 status collapsed
15038
15039 \begin_layout Plain Layout
15040 t
15041 \end_layout
15042
15043 \end_inset
15044
15045 ならば上部(top),
15046 \begin_inset Flex Code
15047 status collapsed
15048
15049 \begin_layout Plain Layout
15050 b
15051 \end_layout
15052
15053 \end_inset
15054
15055 ならば下部(bottom),
15056 \begin_inset Flex Code
15057 status collapsed
15058
15059 \begin_layout Plain Layout
15060 p
15061 \end_layout
15062
15063 \end_inset
15064
15065 ならばページ(page),
15066 \begin_inset Flex Code
15067 status collapsed
15068
15069 \begin_layout Plain Layout
15070 h
15071 \end_layout
15072
15073 \end_inset
15074
15075 ならばここ(here)を表します
15076 \begin_inset Foot
15077 status collapsed
15078
15079 \begin_layout Plain Layout
15080 \SpecialChar LaTeX
15081 同様,文字列中でのこれらの文字の順序は関係ありません.
15082 \end_layout
15083
15084 \end_inset
15085
15086 .これらの他に新しい型
15087 \begin_inset Flex Code
15088 status collapsed
15089
15090 \begin_layout Plain Layout
15091 H
15092 \end_layout
15093
15094 \end_inset
15095
15096 があり,これはフロートを「ここ」に置いていいけれども他の場所はだめ,というものなので,本当はフロートにあるものではありません.しかし,
15097 \begin_inset Flex Code
15098 status collapsed
15099
15100 \begin_layout Plain Layout
15101 H
15102 \end_layout
15103
15104 \end_inset
15105
15106 指定子は特別なものであり,その細かい実装上の理由で,組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,代わり
15107 に「
15108 \begin_inset Flex Code
15109 status collapsed
15110
15111 \begin_layout Plain Layout
15112 tbp
15113 \end_layout
15114
15115 \end_inset
15116
15117 」を指定してください.
15118 \end_layout
15119
15120 \begin_layout Description
15121 \begin_inset Flex Code
15122 status collapsed
15123
15124 \begin_layout Plain Layout
15125 RefPrefix
15126 \end_layout
15127
15128 \end_inset
15129
15130  [
15131 \begin_inset Flex Code
15132 status collapsed
15133
15134 \begin_layout Plain Layout
15135 文字列
15136 \end_layout
15137
15138 \end_inset
15139
15140 ] この型のフロートを参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.コピーした様式が設定した
15141 \begin_inset Flex Code
15142 status collapsed
15143
15144 \begin_layout Plain Layout
15145 RefPrefix
15146 \end_layout
15147
15148 \end_inset
15149
15150 は,特別な文字列「OFF」(すべて大文字)を使えば,いつでも削除することができます.
15151 \end_layout
15152
15153 \begin_layout Description
15154 \begin_inset Flex Code
15155 status collapsed
15156
15157 \begin_layout Plain Layout
15158 Style
15159 \end_layout
15160
15161 \end_inset
15162
15163  [
15164 \begin_inset Flex Code
15165 status collapsed
15166
15167 \begin_layout Plain Layout
15168 文字列
15169 \end_layout
15170
15171 \end_inset
15172
15173 =
15174 \begin_inset Quotes erd
15175 \end_inset
15176
15177
15178 \begin_inset Quotes erd
15179 \end_inset
15180
15181
15182 \begin_inset Flex Code
15183 status collapsed
15184
15185 \begin_layout Plain Layout
15186
15187 \backslash
15188 newfloat
15189 \end_layout
15190
15191 \end_inset
15192
15193 を使用してフロートを定義する際に使用される様式.
15194 \end_layout
15195
15196 \begin_layout Description
15197 \begin_inset Flex Code
15198 status collapsed
15199
15200 \begin_layout Plain Layout
15201 Type
15202 \end_layout
15203
15204 \end_inset
15205
15206  [
15207 \begin_inset Flex Code
15208 status collapsed
15209
15210 \begin_layout Plain Layout
15211 文字列
15212 \end_layout
15213
15214 \end_inset
15215
15216 =
15217 \begin_inset Quotes erd
15218 \end_inset
15219
15220
15221 \begin_inset Quotes erd
15222 \end_inset
15223
15224 ] プログラムやアルゴリズムのような,フロートの新しいクラス「型」.適切な
15225 \begin_inset Flex Code
15226 status collapsed
15227
15228 \begin_layout Plain Layout
15229
15230 \backslash
15231 newfloat
15232 \end_layout
15233
15234 \end_inset
15235
15236 の後で,
15237 \begin_inset Flex Code
15238 status collapsed
15239
15240 \begin_layout Plain Layout
15241
15242 \backslash
15243 begin{program}
15244 \end_layout
15245
15246 \end_inset
15247
15248
15249 \begin_inset Flex Code
15250 status collapsed
15251
15252 \begin_layout Plain Layout
15253
15254 \backslash
15255 end{algorithm*}
15256 \end_layout
15257
15258 \end_inset
15259
15260 といったコマンドが利用できます.
15261 \end_layout
15262
15263 \begin_layout Description
15264 \begin_inset Flex Code
15265 status collapsed
15266
15267 \begin_layout Plain Layout
15268 UsesFloatPkg
15269 \end_layout
15270
15271 \end_inset
15272
15273  [
15274 \begin_inset Flex Code
15275 status collapsed
15276
15277 \begin_layout Plain Layout
15278 0
15279 \end_layout
15280
15281 \end_inset
15282
15283 ,
15284 \begin_inset space \thinspace{}
15285 \end_inset
15286
15287
15288 \begin_inset Flex Code
15289 status collapsed
15290
15291 \begin_layout Plain Layout
15292
15293 \emph on
15294 1
15295 \end_layout
15296
15297 \end_inset
15298
15299 ] このフロートが,クラスファイルやパッケージ中で,\SpecialChar LaTeX
15300 パッケージ
15301 \begin_inset Flex Code
15302 status collapsed
15303
15304 \begin_layout Plain Layout
15305 float
15306 \end_layout
15307
15308 \end_inset
15309
15310 が提供しているものを使用して定義されているのか,\SpecialChar LyX
15311 自身がオン・ザ・フライで定義しているのかを示します.
15312 \end_layout
15313
15314 \begin_layout Standard
15315 \begin_inset Flex Code
15316 status collapsed
15317
15318 \begin_layout Plain Layout
15319
15320 \emph on
15321 type
15322 \end_layout
15323
15324 \end_inset
15325
15326 型のフロートを定義すると,自動的に
15327 \emph on
15328 対応する
15329 \emph default
15330
15331 \begin_inset Flex Code
15332 status collapsed
15333
15334 \begin_layout Plain Layout
15335
15336 \emph on
15337 type
15338 \end_layout
15339
15340 \end_inset
15341
15342 名カウンタが定義されます.
15343 \end_layout
15344
15345 \begin_layout Subsection
15346 自由差込枠と差込枠レイアウト
15347 \begin_inset CommandInset label
15348 LatexCommand label
15349 name "subsec:任意設定差込枠"
15350
15351 \end_inset
15352
15353
15354 \end_layout
15355
15356 \begin_layout Standard
15357 自由差込枠には次の3種類があります.
15358 \end_layout
15359
15360 \begin_layout Itemize
15361 文字様式(
15362 \begin_inset Flex Code
15363 status collapsed
15364
15365 \begin_layout Plain Layout
15366 CharStyle
15367 \end_layout
15368
15369 \end_inset
15370
15371 ).これは,
15372 \begin_inset Flex Code
15373 status collapsed
15374
15375 \begin_layout Plain Layout
15376
15377 \backslash
15378 noun
15379 \end_layout
15380
15381 \end_inset
15382
15383
15384 \begin_inset Flex Code
15385 status collapsed
15386
15387 \begin_layout Plain Layout
15388
15389 \backslash
15390 code
15391 \end_layout
15392
15393 \end_inset
15394
15395 などの\SpecialChar LaTeX
15396 コマンドに対応した意味論的マークアップを定義するものです.
15397 \end_layout
15398
15399 \begin_layout Itemize
15400 ユーザ設定(
15401 \begin_inset Flex Code
15402 status collapsed
15403
15404 \begin_layout Plain Layout
15405 Custom
15406 \end_layout
15407
15408 \end_inset
15409
15410 ).これは,\SpecialChar TeX
15411 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,これは
15412 \begin_inset Flex Code
15413 status collapsed
15414
15415 \begin_layout Plain Layout
15416 endnote
15417 \end_layout
15418
15419 \end_inset
15420
15421 モジュール中で定義されています.
15422 \end_layout
15423
15424 \begin_layout Itemize
15425 XML要素(
15426 \begin_inset Flex Code
15427 status collapsed
15428
15429 \begin_layout Plain Layout
15430 Element
15431 \end_layout
15432
15433 \end_inset
15434
15435 ).DocBookクラスで使用するものです.
15436 \end_layout
15437
15438 \begin_layout Standard
15439 自由差込枠は,以下で説明する
15440 \begin_inset Flex Code
15441 status collapsed
15442
15443 \begin_layout Plain Layout
15444 InsetLayout
15445 \end_layout
15446
15447 \end_inset
15448
15449 タグを使用して定義されます.
15450 \end_layout
15451
15452 \begin_layout Standard
15453 \begin_inset Flex Code
15454 status collapsed
15455
15456 \begin_layout Plain Layout
15457 InsetLayout
15458 \end_layout
15459
15460 \end_inset
15461
15462 タグは,もう一つ別の機能も提供します.これを使えば,いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
15463 \begin_inset Flex Code
15464 status collapsed
15465
15466 \begin_layout Plain Layout
15467 InsetLayout
15468 \end_layout
15469
15470 \end_inset
15471
15472 は自由差込枠を定義することの他に,脚註・傍註・註釈差込枠・\SpecialChar TeX
15473 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザ
15474 ー定義するのに使用されます.
15475 \end_layout
15476
15477 \begin_layout Standard
15478 \begin_inset Flex Code
15479 status collapsed
15480
15481 \begin_layout Plain Layout
15482 InsetLayout
15483 \end_layout
15484
15485 \end_inset
15486
15487 定義は以下の形の行では始まらなくてはなりません.
15488 \end_layout
15489
15490 \begin_layout LyX-Code
15491 InsetLayout <型>
15492 \end_layout
15493
15494 \begin_layout Standard
15495 ここで
15496 \begin_inset Flex Code
15497 status collapsed
15498
15499 \begin_layout Plain Layout
15500 <型>
15501 \end_layout
15502
15503 \end_inset
15504
15505 は,レイアウトを定義しようとしている差込枠を指し,4つの場合があります.
15506 \end_layout
15507
15508 \begin_layout Enumerate
15509 既存の差込枠のレイアウトを変更する場合.この場合,
15510 \begin_inset Flex Code
15511 status collapsed
15512
15513 \begin_layout Plain Layout
15514 <型>
15515 \end_layout
15516
15517 \end_inset
15518
15519 は以下のいずれかになります:
15520 \begin_inset Flex Code
15521 status collapsed
15522
15523 \begin_layout Plain Layout
15524 Algorithm
15525 \end_layout
15526
15527 \end_inset
15528
15529
15530 \begin_inset Flex Code
15531 status collapsed
15532
15533 \begin_layout Plain Layout
15534 Branch
15535 \end_layout
15536
15537 \end_inset
15538
15539
15540 \begin_inset Flex Code
15541 status collapsed
15542
15543 \begin_layout Plain Layout
15544 Box
15545 \end_layout
15546
15547 \end_inset
15548
15549
15550 \begin_inset Flex Code
15551 status collapsed
15552
15553 \begin_layout Plain Layout
15554 Box:shaded
15555 \end_layout
15556
15557 \end_inset
15558
15559
15560 \begin_inset Flex Code
15561 status collapsed
15562
15563 \begin_layout Plain Layout
15564 Caption:Standard
15565 \end_layout
15566
15567 \end_inset
15568
15569
15570 \begin_inset Flex Code
15571 status collapsed
15572
15573 \begin_layout Plain Layout
15574 ERT
15575 \end_layout
15576
15577 \end_inset
15578
15579
15580 \begin_inset Flex Code
15581 status collapsed
15582
15583 \begin_layout Plain Layout
15584 Figure
15585 \end_layout
15586
15587 \end_inset
15588
15589
15590 \begin_inset Flex Code
15591 status collapsed
15592
15593 \begin_layout Plain Layout
15594 Foot
15595 \end_layout
15596
15597 \end_inset
15598
15599
15600 \begin_inset Flex Code
15601 status collapsed
15602
15603 \begin_layout Plain Layout
15604 Index
15605 \end_layout
15606
15607 \end_inset
15608
15609
15610 \begin_inset Flex Code
15611 status collapsed
15612
15613 \begin_layout Plain Layout
15614 Info
15615 \end_layout
15616
15617 \end_inset
15618
15619
15620 \begin_inset Flex Code
15621 status collapsed
15622
15623 \begin_layout Plain Layout
15624 Info:menu
15625 \end_layout
15626
15627 \end_inset
15628
15629
15630 \begin_inset Flex Code
15631 status collapsed
15632
15633 \begin_layout Plain Layout
15634 Info:shortcut
15635 \end_layout
15636
15637 \end_inset
15638
15639
15640 \begin_inset Flex Code
15641 status collapsed
15642
15643 \begin_layout Plain Layout
15644 Info:shortcuts
15645 \end_layout
15646
15647 \end_inset
15648
15649
15650 \begin_inset Flex Code
15651 status collapsed
15652
15653 \begin_layout Plain Layout
15654 Listings
15655 \end_layout
15656
15657 \end_inset
15658
15659
15660 \begin_inset Flex Code
15661 status collapsed
15662
15663 \begin_layout Plain Layout
15664 Marginal
15665 \end_layout
15666
15667 \end_inset
15668
15669
15670 \begin_inset Flex Code
15671 status collapsed
15672
15673 \begin_layout Plain Layout
15674 Note:Comment
15675 \end_layout
15676
15677 \end_inset
15678
15679
15680 \begin_inset Flex Code
15681 status collapsed
15682
15683 \begin_layout Plain Layout
15684 Note:Note
15685 \end_layout
15686
15687 \end_inset
15688
15689
15690 \begin_inset Flex Code
15691 status collapsed
15692
15693 \begin_layout Plain Layout
15694 Note:GreyedOut
15695 \end_layout
15696
15697 \end_inset
15698
15699
15700 \begin_inset Flex Code
15701 status collapsed
15702
15703 \begin_layout Plain Layout
15704 Table
15705 \end_layout
15706
15707 \end_inset
15708
15709
15710 \begin_inset Flex Code
15711 status collapsed
15712
15713 \begin_layout Plain Layout
15714 URL
15715 \end_layout
15716
15717 \end_inset
15718
15719
15720 \end_layout
15721
15722 \begin_layout Enumerate
15723 自由差込枠のレイアウトを定義する場合.この場合,
15724 \begin_inset Flex Code
15725 status collapsed
15726
15727 \begin_layout Plain Layout
15728 <型>
15729 \end_layout
15730
15731 \end_inset
15732
15733
15734 \begin_inset Flex Code
15735 status collapsed
15736
15737 \begin_layout Plain Layout
15738 Flex:<名称>
15739 \end_layout
15740
15741 \end_inset
15742
15743 の形でなくてはなりません.ここで,
15744 \begin_inset Flex Code
15745 status collapsed
15746
15747 \begin_layout Plain Layout
15748 名称
15749 \end_layout
15750
15751 \end_inset
15752
15753 は,既存の自由差込枠で使用されていない有効な識別子であれば,何でも構いません.識別子には空白を入れることもできますが,この場合には全体を引用符で囲まなくてはなり
15754 ません.自由差込枠の定義には,この定義がどの差込枠型なのか宣言するために,
15755 \begin_inset Flex Code
15756 status collapsed
15757
15758 \begin_layout Plain Layout
15759 LyXType
15760 \end_layout
15761
15762 \end_inset
15763
15764 項目が含まれていなくてはならないことに注意してください.
15765 \end_layout
15766
15767 \begin_layout Enumerate
15768 ユーザー定義派生枝を定義する場合.この場合,
15769 \begin_inset Flex Code
15770 status collapsed
15771
15772 \begin_layout Plain Layout
15773 <型>
15774 \end_layout
15775
15776 \end_inset
15777
15778 は「
15779 \begin_inset Flex Code
15780 status collapsed
15781
15782 \begin_layout Plain Layout
15783 Branch:<名称>
15784 \end_layout
15785
15786 \end_inset
15787
15788 」の形でなくてはなりません.ここで,
15789 \begin_inset Flex Code
15790 status collapsed
15791
15792 \begin_layout Plain Layout
15793 名称
15794 \end_layout
15795
15796 \end_inset
15797
15798 は,ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主
15799 な目的は,ユーザーの必要に応じて,特定の派生枝を\SpecialChar LaTeX
15800 がくるむことができるようにすることです.
15801 \end_layout
15802
15803 \begin_layout Enumerate
15804 ユーザー(またはクラス)定義のキャプションを定義する場合.この場合,
15805 \begin_inset Flex Code
15806 status collapsed
15807
15808 \begin_layout Plain Layout
15809 <型>
15810 \end_layout
15811
15812 \end_inset
15813
15814 は「
15815 \begin_inset Flex Code
15816 status collapsed
15817
15818 \begin_layout Plain Layout
15819 Caption:<名称>
15820 \end_layout
15821
15822 \end_inset
15823
15824 」の形でなくてはなりません.ここで,
15825 \begin_inset Flex Code
15826 status collapsed
15827
15828 \begin_layout Plain Layout
15829 名称
15830 \end_layout
15831
15832 \end_inset
15833
15834 は,メニューに表示されるキャプション名です.応用例については,標準キャプション(
15835 \begin_inset Flex Code
15836 status collapsed
15837
15838 \begin_layout Plain Layout
15839 Caption:Standard
15840 \end_layout
15841
15842 \end_inset
15843
15844 ),若しくはKOMA-Scriptクラスのクラス定義キャプション(
15845 \begin_inset Flex Code
15846 status collapsed
15847
15848 \begin_layout Plain Layout
15849 Caption:Above
15850 \end_layout
15851
15852 \end_inset
15853
15854
15855 \begin_inset Flex Code
15856 status collapsed
15857
15858 \begin_layout Plain Layout
15859 Caption:Below
15860 \end_layout
15861
15862 \end_inset
15863
15864 ),
15865 \family sans
15866 多言語キャプション
15867 \family default
15868 モジュール(
15869 \begin_inset Flex Code
15870 status collapsed
15871
15872 \begin_layout Plain Layout
15873 Caption:\SpecialChar allowbreak
15874 Bicaption
15875 \end_layout
15876
15877 \end_inset
15878
15879 )をご覧ください.
15880 \end_layout
15881
15882 \begin_layout Standard
15883 \begin_inset Flex Code
15884 status collapsed
15885
15886 \begin_layout Plain Layout
15887 InsetLayout
15888 \end_layout
15889
15890 \end_inset
15891
15892 定義には以下の項目を入れることができます.
15893 \end_layout
15894
15895 \begin_layout Description
15896 \begin_inset Flex Code
15897 status collapsed
15898
15899 \begin_layout Plain Layout
15900 AddToToc
15901 \end_layout
15902
15903 \end_inset
15904
15905  [
15906 \begin_inset Flex Code
15907 status collapsed
15908
15909 \begin_layout Plain Layout
15910 文字列
15911 \end_layout
15912
15913 \end_inset
15914
15915 =""] この差込枠は,この型の一覧表に表示されます.空の文字列を入れると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドも参
15916 照してください.これは,自由差込枠にのみ実装されています.既定値:無効.
15917 \end_layout
15918
15919 \begin_layout Description
15920 \begin_inset Flex Code
15921 status collapsed
15922
15923 \begin_layout Plain Layout
15924 Argument
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 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引数番号を定義します.定義は
15940 \begin_inset Flex Code
15941 status collapsed
15942
15943 \begin_layout Plain Layout
15944 EndArgument
15945 \end_layout
15946
15947 \end_inset
15948
15949 で閉じなくてはなりません.詳細は第
15950 \begin_inset CommandInset ref
15951 LatexCommand ref
15952 reference "subsec:段落様式"
15953
15954 \end_inset
15955
15956 節参照.
15957 \end_layout
15958
15959 \begin_layout Description
15960 \begin_inset Flex Code
15961 status collapsed
15962
15963 \begin_layout Plain Layout
15964 BabelPreamble
15965 \end_layout
15966
15967 \end_inset
15968
15969  言語コマンドを変更するプリアンブル.第
15970 \begin_inset CommandInset ref
15971 LatexCommand ref
15972 reference "subsec:段落様式の国際化"
15973
15974 \end_inset
15975
15976 節参照.
15977 \end_layout
15978
15979 \begin_layout Description
15980 \begin_inset Flex Code
15981 status collapsed
15982
15983 \begin_layout Plain Layout
15984 BgColor
15985 \end_layout
15986
15987 \end_inset
15988
15989  [
15990 \begin_inset Flex Code
15991 status collapsed
15992
15993 \begin_layout Plain Layout
15994 <名称>
15995 \end_layout
15996
15997 \end_inset
15998
15999 ] 差込枠の背景色.使用できる色名一覧は第
16000 \begin_inset CommandInset ref
16001 LatexCommand ref
16002 reference "chap:色名"
16003
16004 \end_inset
16005
16006 節参照.
16007 \end_layout
16008
16009 \begin_layout Description
16010 \begin_inset Flex Code
16011 status collapsed
16012
16013 \begin_layout Plain Layout
16014 ContentAsLabel
16015 \end_layout
16016
16017 \end_inset
16018
16019  [
16020 \begin_inset Flex Code
16021 status collapsed
16022
16023 \begin_layout Plain Layout
16024
16025 \emph on
16026 0
16027 \end_layout
16028
16029 \end_inset
16030
16031 ,
16032 \begin_inset space \thinspace{}
16033 \end_inset
16034
16035
16036 \begin_inset Flex Code
16037 status collapsed
16038
16039 \begin_layout Plain Layout
16040 1
16041 \end_layout
16042
16043 \end_inset
16044
16045 ] 差込枠を閉じた際,差込枠の内容をラベルとして使用するか否か.既定値は偽です.
16046 \end_layout
16047
16048 \begin_layout Description
16049 \begin_inset Flex Code
16050 status collapsed
16051
16052 \begin_layout Plain Layout
16053 CopyStyle
16054 \end_layout
16055
16056 \end_inset
16057
16058  [<型>] 段落様式と同様です.第
16059 \begin_inset CommandInset ref
16060 LatexCommand ref
16061 reference "subsec:段落様式"
16062
16063 \end_inset
16064
16065 節参照のこと.完全な型を指定する必要があることに注意してください.例:
16066 \begin_inset Flex Code
16067 status collapsed
16068
16069 \begin_layout Plain Layout
16070 CopyStyle Flex:<名称>
16071 \end_layout
16072
16073 \end_inset
16074
16075
16076 \end_layout
16077
16078 \begin_layout Description
16079 \begin_inset Flex Code
16080 status collapsed
16081
16082 \begin_layout Plain Layout
16083 CustomPars
16084 \end_layout
16085
16086 \end_inset
16087
16088  [
16089 \begin_inset Flex Code
16090 status collapsed
16091
16092 \begin_layout Plain Layout
16093
16094 \emph on
16095 0
16096 \end_layout
16097
16098 \end_inset
16099
16100 ,
16101 \begin_inset space \thinspace{}
16102 \end_inset
16103
16104
16105 \begin_inset Flex Code
16106 status collapsed
16107
16108 \begin_layout Plain Layout
16109 1
16110 \end_layout
16111
16112 \end_inset
16113
16114 ] 段落を設定するのに,段落設定ダイアログをユーザが使えるかどうかを指定します.
16115 \end_layout
16116
16117 \begin_layout Description
16118 \begin_inset Flex Code
16119 status collapsed
16120
16121 \begin_layout Plain Layout
16122 Decoration
16123 \end_layout
16124
16125 \end_inset
16126
16127  差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
16128 \begin_inset Flex Code
16129 status collapsed
16130
16131 \begin_layout Plain Layout
16132 Classic
16133 \end_layout
16134
16135 \end_inset
16136
16137
16138 \begin_inset Flex Code
16139 status collapsed
16140
16141 \begin_layout Plain Layout
16142 Minimalistic
16143 \end_layout
16144
16145 \end_inset
16146
16147
16148 \begin_inset Flex Code
16149 status collapsed
16150
16151 \begin_layout Plain Layout
16152 Conglomerate
16153 \end_layout
16154
16155 \end_inset
16156
16157 のいずれかを指定することができます.脚註は通常
16158 \begin_inset Flex Code
16159 status collapsed
16160
16161 \begin_layout Plain Layout
16162 Classic
16163 \end_layout
16164
16165 \end_inset
16166
16167 を使用し,\SpecialChar TeX
16168 コード差込枠は通常
16169 \begin_inset Flex Code
16170 status collapsed
16171
16172 \begin_layout Plain Layout
16173 Minimalistic
16174 \end_layout
16175
16176 \end_inset
16177
16178 ,文字様式は
16179 \begin_inset Flex Code
16180 status collapsed
16181
16182 \begin_layout Plain Layout
16183 Conglomerate
16184 \end_layout
16185
16186 \end_inset
16187
16188 を使用します.
16189 \end_layout
16190
16191 \begin_layout Description
16192 \begin_inset Flex Code
16193 status collapsed
16194
16195 \begin_layout Plain Layout
16196 Display
16197 \end_layout
16198
16199 \end_inset
16200
16201  [
16202 \begin_inset Flex Code
16203 status collapsed
16204
16205 \begin_layout Plain Layout
16206 0
16207 \end_layout
16208
16209 \end_inset
16210
16211 ,
16212 \begin_inset space \thinspace{}
16213 \end_inset
16214
16215
16216 \begin_inset Flex Code
16217 status collapsed
16218
16219 \begin_layout Plain Layout
16220
16221 \emph on
16222 1
16223 \end_layout
16224
16225 \end_inset
16226
16227
16228 \begin_inset Flex Code
16229 status collapsed
16230
16231 \begin_layout Plain Layout
16232 LatexType
16233 \end_layout
16234
16235 \end_inset
16236
16237
16238 \begin_inset Flex Code
16239 status collapsed
16240
16241 \begin_layout Plain Layout
16242 Environment
16243 \end_layout
16244
16245 \end_inset
16246
16247 の時のみ意味をもちます.環境を,出力中で独立して出力させるか,周囲のテキストとインラインで出力させるかを示します.偽にすると,\SpecialChar LaTeX
16248 環境は,
16249 \begin_inset Flex Code
16250 status collapsed
16251
16252 \begin_layout Plain Layout
16253
16254 \backslash
16255 begin{LatexName}
16256 \end_layout
16257
16258 \end_inset
16259
16260 タグと
16261 \begin_inset Flex Code
16262 status collapsed
16263
16264 \begin_layout Plain Layout
16265
16266 \backslash
16267 end{LatexName}
16268 \end_layout
16269
16270 \end_inset
16271
16272 タグの後の空白(改行文字を含む)を無視するものと仮定します.
16273 \end_layout
16274
16275 \begin_layout Description
16276 \begin_inset Flex Code
16277 status collapsed
16278
16279 \begin_layout Plain Layout
16280 End
16281 \end_layout
16282
16283 \end_inset
16284
16285  
16286 \begin_inset Flex Code
16287 status collapsed
16288
16289 \begin_layout Plain Layout
16290 InsetLayout
16291 \end_layout
16292
16293 \end_inset
16294
16295 宣言を閉じるのに必要です.
16296 \end_layout
16297
16298 \begin_layout Description
16299 \begin_inset Flex Code
16300 status collapsed
16301
16302 \begin_layout Plain Layout
16303 Font
16304 \end_layout
16305
16306 \end_inset
16307
16308  本文本体とラベル
16309 \emph on
16310 両方に
16311 \emph default
16312 使用されるフォントです.第
16313 \begin_inset CommandInset ref
16314 LatexCommand ref
16315 reference "subsec:フォント指定"
16316
16317 \end_inset
16318
16319 節を参照.このフォントを定義すると自動的に
16320 \begin_inset Flex Code
16321 status collapsed
16322
16323 \begin_layout Plain Layout
16324 LabelFont
16325 \end_layout
16326
16327 \end_inset
16328
16329 も同じ値に定義されるので,これらを別々の値にしたいときは,これを先に定義してから後に
16330 \begin_inset Flex Code
16331 status collapsed
16332
16333 \begin_layout Plain Layout
16334 LabelFont
16335 \end_layout
16336
16337 \end_inset
16338
16339 を定義しなくてはならないことに注意してください.
16340 \end_layout
16341
16342 \begin_layout Description
16343 \begin_inset Flex Code
16344 status collapsed
16345
16346 \begin_layout Plain Layout
16347 FixedWidthPreambleEncoding
16348 \end_layout
16349
16350 \end_inset
16351
16352  [
16353 \begin_inset Flex Code
16354 status collapsed
16355
16356 \begin_layout Plain Layout
16357
16358 \emph on
16359 0
16360 \end_layout
16361
16362 \end_inset
16363
16364 ,
16365 \begin_inset space \thinspace{}
16366 \end_inset
16367
16368
16369 \begin_inset Flex Code
16370 status collapsed
16371
16372 \begin_layout Plain Layout
16373 1
16374 \end_layout
16375
16376 \end_inset
16377
16378 ] このレイアウトによって生成される
16379 \begin_inset Flex Code
16380 status collapsed
16381
16382 \begin_layout Plain Layout
16383 BabelPreamble
16384 \end_layout
16385
16386 \end_inset
16387
16388 および
16389 \begin_inset Flex Code
16390 status collapsed
16391
16392 \begin_layout Plain Layout
16393 LangPreamble
16394 \end_layout
16395
16396 \end_inset
16397
16398 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
16399 \family typewriter
16400 listings
16401 \family default
16402 のように,
16403 \family sans
16404 utf8
16405 \family default
16406 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
16407 パッケージのために必要です.この設定は,Xe\SpecialChar TeX
16408 やLua\SpecialChar TeX
16409 のようなUnicodeを完全に解する\SpecialChar LaTeX
16410 バックエンドを使用してい
16411 る場合には,無視されます.
16412 \end_layout
16413
16414 \begin_layout Description
16415 \begin_inset Flex Code
16416 status collapsed
16417
16418 \begin_layout Plain Layout
16419 ForceLocalFontSwitch
16420 \end_layout
16421
16422 \end_inset
16423
16424  [
16425 \begin_inset Flex Code
16426 status collapsed
16427
16428 \begin_layout Plain Layout
16429
16430 \emph on
16431 0
16432 \end_layout
16433
16434 \end_inset
16435
16436 ,
16437 \begin_inset space \thinspace{}
16438 \end_inset
16439
16440
16441 \begin_inset Flex Code
16442 status collapsed
16443
16444 \begin_layout Plain Layout
16445 1
16446 \end_layout
16447
16448 \end_inset
16449
16450 ] babel使用時に,常にローカルフォント切替(
16451 \begin_inset Flex Code
16452 status collapsed
16453
16454 \begin_layout Plain Layout
16455
16456 \backslash
16457 foreignlanguage
16458 \end_layout
16459
16460 \end_inset
16461
16462 )を使い,グローバル切替(
16463 \begin_inset Flex Code
16464 status collapsed
16465
16466 \begin_layout Plain Layout
16467
16468 \backslash
16469 selectlanguage
16470 \end_layout
16471
16472 \end_inset
16473
16474 など)は使わない.
16475 \end_layout
16476
16477 \begin_layout Description
16478 \begin_inset Flex Code
16479 status collapsed
16480
16481 \begin_layout Plain Layout
16482 ForceLTR
16483 \end_layout
16484
16485 \end_inset
16486
16487  [
16488 \begin_inset Flex Code
16489 status collapsed
16490
16491 \begin_layout Plain Layout
16492
16493 \emph on
16494 0
16495 \end_layout
16496
16497 \end_inset
16498
16499 ,
16500 \begin_inset space \thinspace{}
16501 \end_inset
16502
16503
16504 \begin_inset Flex Code
16505 status collapsed
16506
16507 \begin_layout Plain Layout
16508 1
16509 \end_layout
16510
16511 \end_inset
16512
16513 ] たとえば\SpecialChar TeX
16514 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
16515 \end_layout
16516
16517 \begin_layout Description
16518 \begin_inset Flex Code
16519 status collapsed
16520
16521 \begin_layout Plain Layout
16522 ForceOwnlines
16523 \end_layout
16524
16525 \end_inset
16526
16527  [
16528 \begin_inset Flex Code
16529 status collapsed
16530
16531 \begin_layout Plain Layout
16532
16533 \emph on
16534 0
16535 \end_layout
16536
16537 \end_inset
16538
16539 ,
16540 \begin_inset space \thinspace{}
16541 \end_inset
16542
16543
16544 \begin_inset Flex Code
16545 status collapsed
16546
16547 \begin_layout Plain Layout
16548 1
16549 \end_layout
16550
16551 \end_inset
16552
16553 ] \SpecialChar LaTeX
16554 出力において,この差込枠が開始する前と終了する後に,改行を強制します.これは,解析上の目的のために,差込枠が単独行に出力されるように保証します.
16555 \end_layout
16556
16557 \begin_layout Description
16558 \begin_inset Flex Code
16559 status collapsed
16560
16561 \begin_layout Plain Layout
16562 ForcePlain
16563 \end_layout
16564
16565 \end_inset
16566
16567  [
16568 \begin_inset Flex Code
16569 status collapsed
16570
16571 \begin_layout Plain Layout
16572
16573 \emph on
16574 0
16575 \end_layout
16576
16577 \end_inset
16578
16579 ,
16580 \begin_inset space \thinspace{}
16581 \end_inset
16582
16583
16584 \begin_inset Flex Code
16585 status collapsed
16586
16587 \begin_layout Plain Layout
16588 1
16589 \end_layout
16590
16591 \end_inset
16592
16593 ] PlainLayoutを使用するべきなのか,それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
16594 \end_layout
16595
16596 \begin_layout Description
16597 \begin_inset Flex Code
16598 status collapsed
16599
16600 \begin_layout Plain Layout
16601 FreeSpacing
16602 \end_layout
16603
16604 \end_inset
16605
16606  [
16607 \emph on
16608
16609 \begin_inset Flex Code
16610 status collapsed
16611
16612 \begin_layout Plain Layout
16613 0
16614 \end_layout
16615
16616 \end_inset
16617
16618
16619 \emph default
16620 ,
16621 \begin_inset space \thinspace{}
16622 \end_inset
16623
16624
16625 \begin_inset Flex Code
16626 status collapsed
16627
16628 \begin_layout Plain Layout
16629 1
16630 \end_layout
16631
16632 \end_inset
16633
16634 ] 段落様式と同様.第
16635 \begin_inset CommandInset ref
16636 LatexCommand ref
16637 reference "subsec:段落様式"
16638
16639 \end_inset
16640
16641 節参照.
16642 \end_layout
16643
16644 \begin_layout Description
16645 \begin_inset Flex Code
16646 status collapsed
16647
16648 \begin_layout Plain Layout
16649 HTML*
16650 \end_layout
16651
16652 \end_inset
16653
16654  これらは,XHTML出力で使用されます.第
16655 \begin_inset CommandInset ref
16656 LatexCommand ref
16657 reference "sec:XHTML出力のタグ"
16658
16659 \end_inset
16660
16661 節をご覧ください.
16662 \end_layout
16663
16664 \begin_layout Description
16665 \begin_inset Flex Code
16666 status collapsed
16667
16668 \begin_layout Plain Layout
16669 InToc
16670 \end_layout
16671
16672 \end_inset
16673
16674  [
16675 \begin_inset Flex Code
16676 status collapsed
16677
16678 \begin_layout Plain Layout
16679
16680 \emph on
16681 0
16682 \end_layout
16683
16684 \end_inset
16685
16686 ,
16687 \begin_inset space \thinspace{}
16688 \end_inset
16689
16690
16691 \begin_inset Flex Code
16692 status collapsed
16693
16694 \begin_layout Plain Layout
16695 1
16696 \end_layout
16697
16698 \end_inset
16699
16700 ] AddToTocの設定に関わらず,「文書構造」面用に出力される文字列に,この差込枠の内容を含めるかどうか.たとえば,節見出しの脚註の内容が,文書構造の目次に
16701 表示されることは望まないでしょうが,通常,文字様式の内容は表示されることを望むでしょう.既定値は偽,すなわち含めません.
16702 \end_layout
16703
16704 \begin_layout Description
16705 \begin_inset Flex Code
16706 status collapsed
16707
16708 \begin_layout Plain Layout
16709 IsTocCaption
16710 \end_layout
16711
16712 \end_inset
16713
16714  [
16715 \begin_inset Flex Code
16716 status collapsed
16717
16718 \begin_layout Plain Layout
16719
16720 \emph on
16721 0
16722 \end_layout
16723
16724 \end_inset
16725
16726 ,
16727 \begin_inset space \thinspace{}
16728 \end_inset
16729
16730
16731 \begin_inset Flex Code
16732 status collapsed
16733
16734 \begin_layout Plain Layout
16735 1
16736 \end_layout
16737
16738 \end_inset
16739
16740 ] AddToTocが有効なときに,これが1に設定されていると,差込枠の内容の要約が,目次項目に表示されます.0の場合は,ラベルのみが表示されます.
16741 \end_layout
16742
16743 \begin_layout Description
16744 \begin_inset Flex Code
16745 status collapsed
16746
16747 \begin_layout Plain Layout
16748 KeepEmpty
16749 \end_layout
16750
16751 \end_inset
16752
16753  [
16754 \emph on
16755
16756 \begin_inset Flex Code
16757 status collapsed
16758
16759 \begin_layout Plain Layout
16760 0
16761 \end_layout
16762
16763 \end_inset
16764
16765
16766 \emph default
16767 ,
16768 \begin_inset space \thinspace{}
16769 \end_inset
16770
16771
16772 \begin_inset Flex Code
16773 status collapsed
16774
16775 \begin_layout Plain Layout
16776 1
16777 \end_layout
16778
16779 \end_inset
16780
16781 ] 段落様式と同様.第
16782 \begin_inset CommandInset ref
16783 LatexCommand ref
16784 reference "subsec:段落様式"
16785
16786 \end_inset
16787
16788 節参照.
16789 \end_layout
16790
16791 \begin_layout Description
16792 \begin_inset Flex Code
16793 status collapsed
16794
16795 \begin_layout Plain Layout
16796 LabelFont
16797 \end_layout
16798
16799 \end_inset
16800
16801  ラベルに使用されるフォント.第
16802 \begin_inset CommandInset ref
16803 LatexCommand ref
16804 reference "subsec:フォント指定"
16805
16806 \end_inset
16807
16808 節を参照.非効率を回避するため,この定義は
16809 \begin_inset Flex Code
16810 status collapsed
16811
16812 \begin_layout Plain Layout
16813 Font
16814 \end_layout
16815
16816 \end_inset
16817
16818 の前には決して現れてはなりません.
16819 \end_layout
16820
16821 \begin_layout Description
16822 \begin_inset Flex Code
16823 status collapsed
16824
16825 \begin_layout Plain Layout
16826 LabelString
16827 \end_layout
16828
16829 \end_inset
16830
16831  [
16832 \begin_inset Flex Code
16833 status collapsed
16834
16835 \begin_layout Plain Layout
16836 文字列
16837 \end_layout
16838
16839 \end_inset
16840
16841 =
16842 \begin_inset Quotes erd
16843 \end_inset
16844
16845
16846 \begin_inset Quotes erd
16847 \end_inset
16848
16849 ]
16850 \lang english
16851  
16852 \lang japanese
16853 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
16854 コードや派生枝),ラベルが動的に変更されます.
16855 \end_layout
16856
16857 \begin_layout Description
16858 \begin_inset Flex Code
16859 status collapsed
16860
16861 \begin_layout Plain Layout
16862 LangPreamble
16863 \end_layout
16864
16865 \end_inset
16866
16867  言語依存のプリアンブル.第
16868 \begin_inset CommandInset ref
16869 LatexCommand ref
16870 reference "subsec:段落様式の国際化"
16871
16872 \end_inset
16873
16874 節参照.
16875 \end_layout
16876
16877 \begin_layout Description
16878 \begin_inset Flex Code
16879 status collapsed
16880
16881 \begin_layout Plain Layout
16882 LatexName
16883 \end_layout
16884
16885 \end_inset
16886
16887  [
16888 \begin_inset Flex Code
16889 status collapsed
16890
16891 \begin_layout Plain Layout
16892 <名称>
16893 \end_layout
16894
16895 \end_inset
16896
16897 ] 対応する\SpecialChar LaTeX
16898 関連物の名称.環境名ないしはコマンド名.
16899 \end_layout
16900
16901 \begin_layout Description
16902 \begin_inset Flex Code
16903 status collapsed
16904
16905 \begin_layout Plain Layout
16906 LatexParam
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 ]
16922 \lang english
16923  
16924 \lang japanese
16925 対応する
16926 \begin_inset Flex Code
16927 status collapsed
16928
16929 \begin_layout Plain Layout
16930 LatexName
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 のような括弧対を含む.このパラメータは\SpecialChar LyX
16946 内部から変更することはできません(変更可能なパラメータには
16947 \begin_inset Flex Code
16948 status collapsed
16949
16950 \begin_layout Plain Layout
16951 Argument
16952 \end_layout
16953
16954 \end_inset
16955
16956 を使用してください).これは,全ての\SpecialChar LaTeX
16957  
16958 \begin_inset Flex Code
16959 status collapsed
16960
16961 \begin_layout Plain Layout
16962 Argument
16963 \end_layout
16964
16965 \end_inset
16966
16967 の後にそのままの形で出力されます.
16968 \end_layout
16969
16970 \begin_layout Description
16971 \begin_inset Flex Code
16972 status collapsed
16973
16974 \begin_layout Plain Layout
16975 LatexType
16976 \end_layout
16977
16978 \end_inset
16979
16980  [
16981 \begin_inset Flex Code
16982 status collapsed
16983
16984 \begin_layout Plain Layout
16985 Command, Environment, None
16986 \end_layout
16987
16988 \end_inset
16989
16990 ] 様式がどのように\SpecialChar LaTeX
16991 に変換されるべきかを示します
16992 \begin_inset Foot
16993 status collapsed
16994
16995 \begin_layout Plain Layout
16996 これらのルールはSGMLクラスにも適用されるので,
16997 \begin_inset Flex Code
16998 status collapsed
16999
17000 \begin_layout Plain Layout
17001 LatexType
17002 \end_layout
17003
17004 \end_inset
17005
17006 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイルを見てください.
17007 \end_layout
17008
17009 \end_inset
17010
17011
17012 \end_layout
17013
17014 \begin_deeper
17015 \begin_layout Description
17016 \begin_inset Flex Code
17017 status collapsed
17018
17019 \begin_layout Plain Layout
17020 None
17021 \end_layout
17022
17023 \end_inset
17024
17025  は,何も特別なことは意味しません
17026 \end_layout
17027
17028 \begin_layout Description
17029 \begin_inset Flex Code
17030 status collapsed
17031
17032 \begin_layout Plain Layout
17033 Command
17034 \end_layout
17035
17036 \end_inset
17037
17038  は,
17039 \begin_inset Flex Code
17040 status collapsed
17041
17042 \begin_layout Plain Layout
17043
17044 \backslash
17045
17046 \emph on
17047 LatexName
17048 \emph default
17049 {\SpecialChar ldots
17050 }
17051 \end_layout
17052
17053 \end_inset
17054
17055 を意味します
17056 \end_layout
17057
17058 \begin_layout Description
17059 \begin_inset Flex Code
17060 status collapsed
17061
17062 \begin_layout Plain Layout
17063 Environment
17064 \end_layout
17065
17066 \end_inset
17067
17068  は,
17069 \begin_inset Flex Code
17070 status collapsed
17071
17072 \begin_layout Plain Layout
17073
17074 \backslash
17075 begin{
17076 \emph on
17077 LatexName
17078 \emph default
17079 }\SpecialChar ldots
17080
17081 \backslash
17082 end{
17083 \emph on
17084 LatexName
17085 \emph default
17086 }
17087 \end_layout
17088
17089 \end_inset
17090
17091 を意味します
17092 \end_layout
17093
17094 \begin_layout Standard
17095 上記最後のいくつかをまとめると,\SpecialChar LaTeX
17096 出力は,\SpecialChar LaTeX
17097 型に依存して
17098 \end_layout
17099
17100 \begin_layout LyX-Code
17101
17102 \backslash
17103 LatexName[LatexParam]{\SpecialChar ldots
17104 }
17105 \end_layout
17106
17107 \begin_layout Standard
17108 のようになるか,
17109 \end_layout
17110
17111 \begin_layout LyX-Code
17112
17113 \backslash
17114 begin{LatexName}[LatexParam] \SpecialChar ldots
17115  
17116 \backslash
17117 end{LatexName}.
17118 \end_layout
17119
17120 \begin_layout Standard
17121 となります.
17122 \end_layout
17123
17124 \end_deeper
17125 \begin_layout Description
17126 \begin_inset Flex Code
17127 status collapsed
17128
17129 \begin_layout Plain Layout
17130 LeftDelim
17131 \end_layout
17132
17133 \end_inset
17134
17135  [
17136 \begin_inset Flex Code
17137 status collapsed
17138
17139 \begin_layout Plain Layout
17140 文字列
17141 \end_layout
17142
17143 \end_inset
17144
17145 ] 様式の内容の最初に置かれる文字列.出力中の改行は
17146 \begin_inset Flex Code
17147 status collapsed
17148
17149 \begin_layout Plain Layout
17150 <br/>
17151 \end_layout
17152
17153 \end_inset
17154
17155 で指示できます.
17156 \end_layout
17157
17158 \begin_layout Description
17159 \begin_inset Flex Code
17160 status collapsed
17161
17162 \begin_layout Plain Layout
17163 LyxType
17164 \end_layout
17165
17166 \end_inset
17167
17168  
17169 \begin_inset Flex Code
17170 status collapsed
17171
17172 \begin_layout Plain Layout
17173 charstyle
17174 \end_layout
17175
17176 \end_inset
17177
17178
17179 \begin_inset Flex Code
17180 status collapsed
17181
17182 \begin_layout Plain Layout
17183 custom
17184 \end_layout
17185
17186 \end_inset
17187
17188
17189 \begin_inset Flex Code
17190 status collapsed
17191
17192 \begin_layout Plain Layout
17193 element
17194 \end_layout
17195
17196 \end_inset
17197
17198
17199 \begin_inset Flex Code
17200 status collapsed
17201
17202 \begin_layout Plain Layout
17203 end
17204 \end_layout
17205
17206 \end_inset
17207
17208 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,自由差込枠に必須であり,かつ自由差込枠でしか意味を持ちません.こ
17209 の項目は,就中,差込枠がどのメニューに表示されるかを決定します.
17210 \begin_inset Flex Code
17211 status collapsed
17212
17213 \begin_layout Plain Layout
17214 LyxType
17215 \end_layout
17216
17217 \end_inset
17218
17219
17220 \begin_inset Flex Code
17221 status collapsed
17222
17223 \begin_layout Plain Layout
17224 charstyle
17225 \end_layout
17226
17227 \end_inset
17228
17229 に設定すると,
17230 \begin_inset Flex Code
17231 status collapsed
17232
17233 \begin_layout Plain Layout
17234 MultiPar
17235 \end_layout
17236
17237 \end_inset
17238
17239 が偽に設定されます
17240 \lang english
17241  and 
17242 \lang japanese
17243
17244 \begin_inset Flex Code
17245 status collapsed
17246
17247 \begin_layout Plain Layout
17248 ForcePlain
17249 \end_layout
17250
17251 \end_inset
17252
17253
17254 \lang english
17255  to true
17256 \lang japanese
17257 .文字様式差込枠で
17258 \begin_inset Flex Code
17259 status collapsed
17260
17261 \begin_layout Plain Layout
17262 MultiPar
17263 \end_layout
17264
17265 \end_inset
17266
17267 を真にしたい時には
17268 \lang english
17269 , or 
17270 \lang japanese
17271
17272 \begin_inset Flex Code
17273 status collapsed
17274
17275 \begin_layout Plain Layout
17276 ForcePlain
17277 \end_layout
17278
17279 \end_inset
17280
17281
17282 \lang english
17283  to false
17284 \lang japanese
17285
17286 \begin_inset Flex Code
17287 status collapsed
17288
17289 \begin_layout Plain Layout
17290 LyxType
17291 \end_layout
17292
17293 \end_inset
17294
17295 を設定した
17296 \emph on
17297 後に
17298 \emph default
17299 設定すれば,真に設定することができます.
17300 \end_layout
17301
17302 \begin_layout Description
17303 \begin_inset Flex Code
17304 status collapsed
17305
17306 \begin_layout Plain Layout
17307 MultiPar
17308 \end_layout
17309
17310 \end_inset
17311
17312  [
17313 \begin_inset Flex Code
17314 status collapsed
17315
17316 \begin_layout Plain Layout
17317
17318 \emph on
17319 0
17320 \end_layout
17321
17322 \end_inset
17323
17324 ,
17325 \begin_inset space \thinspace{}
17326 \end_inset
17327
17328
17329 \begin_inset Flex Code
17330 status collapsed
17331
17332 \begin_layout Plain Layout
17333 1
17334 \end_layout
17335
17336 \end_inset
17337
17338 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
17339 \begin_inset Flex Code
17340 status collapsed
17341
17342 \begin_layout Plain Layout
17343 CustomPars
17344 \end_layout
17345
17346 \end_inset
17347
17348 を同じ値に設定し,
17349 \begin_inset Flex Code
17350 status collapsed
17351
17352 \begin_layout Plain Layout
17353 ForcePlain
17354 \end_layout
17355
17356 \end_inset
17357
17358 を逆の値に設定します.これらは,
17359 \begin_inset Flex Code
17360 status collapsed
17361
17362 \begin_layout Plain Layout
17363 MultiPar
17364 \end_layout
17365
17366 \end_inset
17367
17368
17369 \emph on
17370 後に
17371 \emph default
17372 指定されれば,他の値に指定し直すことができます.既定値は真です.
17373 \end_layout
17374
17375 \begin_layout Description
17376 \begin_inset Flex Code
17377 status collapsed
17378
17379 \begin_layout Plain Layout
17380 NeedProtect
17381 \end_layout
17382
17383 \end_inset
17384
17385  [
17386 \begin_inset Flex Code
17387 status collapsed
17388
17389 \begin_layout Plain Layout
17390
17391 \emph on
17392 0
17393 \end_layout
17394
17395 \end_inset
17396
17397 ,
17398 \begin_inset space \thinspace{}
17399 \end_inset
17400
17401
17402 \begin_inset Flex Code
17403 status collapsed
17404
17405 \begin_layout Plain Layout
17406 1
17407 \end_layout
17408
17409 \end_inset
17410
17411 ] 本レイアウト中で脆弱なコマンドを
17412 \begin_inset Flex Code
17413 status collapsed
17414
17415 \begin_layout Plain Layout
17416
17417 \backslash
17418 protect
17419 \end_layout
17420
17421 \end_inset
17422
17423 するか否か(註:当該コマンド自身をprotectするかどうかでは
17424 \emph on
17425 ありません
17426 \emph default
17427 ).既定値は偽です.
17428 \end_layout
17429
17430 \begin_layout Description
17431 \begin_inset Flex Code
17432 status collapsed
17433
17434 \begin_layout Plain Layout
17435 NoInsetLayout
17436 \end_layout
17437
17438 \end_inset
17439
17440  [
17441 \begin_inset Flex Code
17442 status collapsed
17443
17444 \begin_layout Plain Layout
17445 <レイアウト>
17446 \end_layout
17447
17448 \end_inset
17449
17450 ] 既存の
17451 \begin_inset Flex Code
17452 status collapsed
17453
17454 \begin_layout Plain Layout
17455 InsetLayout
17456 \end_layout
17457
17458 \end_inset
17459
17460 を削除します.
17461 \end_layout
17462
17463 \begin_layout Description
17464 \begin_inset Flex Code
17465 status collapsed
17466
17467 \begin_layout Plain Layout
17468 ObsoletedBy
17469 \end_layout
17470
17471 \end_inset
17472
17473  [
17474 \begin_inset Flex Code
17475 status collapsed
17476
17477 \begin_layout Plain Layout
17478 <レイアウト>
17479 \end_layout
17480
17481 \end_inset
17482
17483 ] この古い
17484 \begin_inset Flex Code
17485 status collapsed
17486
17487 \begin_layout Plain Layout
17488 InsetLayout
17489 \end_layout
17490
17491 \end_inset
17492
17493 を引き継いだ
17494 \begin_inset Flex Code
17495 status collapsed
17496
17497 \begin_layout Plain Layout
17498 InsetLayout
17499 \end_layout
17500
17501 \end_inset
17502
17503 の名称.これは,
17504 \begin_inset Flex Code
17505 status collapsed
17506
17507 \begin_layout Plain Layout
17508 InsetLayout
17509 \end_layout
17510
17511 \end_inset
17512
17513 の改名を,後方互換性を維持しながら行うために用いられます.
17514 \end_layout
17515
17516 \begin_layout Description
17517 \begin_inset Flex Code
17518 status collapsed
17519
17520 \begin_layout Plain Layout
17521 ParbreakIsNewline
17522 \end_layout
17523
17524 \end_inset
17525
17526  [
17527 \begin_inset Flex Code
17528 status collapsed
17529
17530 \begin_layout Plain Layout
17531
17532 \emph on
17533 0
17534 \end_layout
17535
17536 \end_inset
17537
17538 ,
17539 \begin_inset space \thinspace{}
17540 \end_inset
17541
17542
17543 \begin_inset Flex Code
17544 status collapsed
17545
17546 \begin_layout Plain Layout
17547 1
17548 \end_layout
17549
17550 \end_inset
17551
17552 ] 段落様式と同様.第
17553 \begin_inset CommandInset ref
17554 LatexCommand ref
17555 reference "subsec:段落様式"
17556
17557 \end_inset
17558
17559 節参照.
17560 \end_layout
17561
17562 \begin_layout Description
17563 \begin_inset Flex Code
17564 status collapsed
17565
17566 \begin_layout Plain Layout
17567 PassThru
17568 \end_layout
17569
17570 \end_inset
17571
17572  [
17573 \emph on
17574
17575 \begin_inset Flex Code
17576 status collapsed
17577
17578 \begin_layout Plain Layout
17579 0
17580 \end_layout
17581
17582 \end_inset
17583
17584
17585 \emph default
17586 ,
17587 \begin_inset space \thinspace{}
17588 \end_inset
17589
17590
17591 \begin_inset Flex Code
17592 status collapsed
17593
17594 \begin_layout Plain Layout
17595 1
17596 \end_layout
17597
17598 \end_inset
17599
17600 ] 段落様式と同様.第
17601 \begin_inset CommandInset ref
17602 LatexCommand ref
17603 reference "subsec:段落様式"
17604
17605 \end_inset
17606
17607 節参照.
17608 \end_layout
17609
17610 \begin_layout Description
17611 \begin_inset Flex Code
17612 status collapsed
17613
17614 \begin_layout Plain Layout
17615 Preamble
17616 \end_layout
17617
17618 \end_inset
17619
17620  段落様式と同様.第
17621 \begin_inset CommandInset ref
17622 LatexCommand ref
17623 reference "subsec:段落様式"
17624
17625 \end_inset
17626
17627 節参照.
17628 \end_layout
17629
17630 \begin_layout Description
17631 \begin_inset Flex Code
17632 status collapsed
17633
17634 \begin_layout Plain Layout
17635 RefPrefix
17636 \end_layout
17637
17638 \end_inset
17639
17640  [
17641 \begin_inset Flex Code
17642 status collapsed
17643
17644 \begin_layout Plain Layout
17645 文字列
17646 \end_layout
17647
17648 \end_inset
17649
17650 ] この型の差込枠を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
17651 \end_layout
17652
17653 \begin_layout Description
17654 \begin_inset Flex Code
17655 status collapsed
17656
17657 \begin_layout Plain Layout
17658 Requires
17659 \end_layout
17660
17661 \end_inset
17662
17663  [
17664 \begin_inset Flex Code
17665 status collapsed
17666
17667 \begin_layout Plain Layout
17668 文字列
17669 \end_layout
17670
17671 \end_inset
17672
17673 ] 段落様式と同様.第
17674 \begin_inset CommandInset ref
17675 LatexCommand ref
17676 reference "subsec:段落様式"
17677
17678 \end_inset
17679
17680 節参照.
17681 \end_layout
17682
17683 \begin_layout Description
17684 \begin_inset Flex Code
17685 status collapsed
17686
17687 \begin_layout Plain Layout
17688 ResetArgs
17689 \end_layout
17690
17691 \end_inset
17692
17693  [
17694 \begin_inset Flex Code
17695 status collapsed
17696
17697 \begin_layout Plain Layout
17698
17699 \emph on
17700 0
17701 \end_layout
17702
17703 \end_inset
17704
17705 ,
17706 \begin_inset space \thinspace{}
17707 \end_inset
17708
17709
17710 \begin_inset Flex Code
17711 status collapsed
17712
17713 \begin_layout Plain Layout
17714 1
17715 \end_layout
17716
17717 \end_inset
17718
17719 ] (
17720 \begin_inset Flex Code
17721 status collapsed
17722
17723 \begin_layout Plain Layout
17724 Argument
17725 \end_layout
17726
17727 \end_inset
17728
17729 タグで定義された)この様式の\SpecialChar LaTeX
17730 引数をリセットします.これは,様式を
17731 \begin_inset Flex Code
17732 status collapsed
17733
17734 \begin_layout Plain Layout
17735 CopyStyle
17736 \end_layout
17737
17738 \end_inset
17739
17740 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
17741 \end_layout
17742
17743 \begin_layout Description
17744 \begin_inset Flex Code
17745 status collapsed
17746
17747 \begin_layout Plain Layout
17748 ResetsFont
17749 \end_layout
17750
17751 \end_inset
17752
17753  [
17754 \begin_inset Flex Code
17755 status collapsed
17756
17757 \begin_layout Plain Layout
17758 0
17759 \end_layout
17760
17761 \end_inset
17762
17763 ,
17764 \begin_inset space \thinspace{}
17765 \end_inset
17766
17767
17768 \begin_inset Flex Code
17769 status collapsed
17770
17771 \begin_layout Plain Layout
17772
17773 \emph on
17774 1
17775 \end_layout
17776
17777 \end_inset
17778
17779 ] この差込枠が周囲の環境と同じフォントを用いるか,独自のフォントを用いるか.既定値は真,すなわち独自のフォントを用います.
17780 \begin_inset Note Note
17781 status open
17782
17783 \begin_layout Plain Layout
17784 This is outdated: The default changed from 1 to 0
17785 \end_layout
17786
17787 \end_inset
17788
17789
17790 \end_layout
17791
17792 \begin_layout Description
17793 \begin_inset Flex Code
17794 status collapsed
17795
17796 \begin_layout Plain Layout
17797 RightDelim
17798 \end_layout
17799
17800 \end_inset
17801
17802  [
17803 \begin_inset Flex Code
17804 status collapsed
17805
17806 \begin_layout Plain Layout
17807 文字列
17808 \end_layout
17809
17810 \end_inset
17811
17812 ] 様式の内容の最後に置かれる文字列.出力中の改行は
17813 \begin_inset Flex Code
17814 status collapsed
17815
17816 \begin_layout Plain Layout
17817 <br/>
17818 \end_layout
17819
17820 \end_inset
17821
17822 で指示できます.
17823 \end_layout
17824
17825 \begin_layout Description
17826 \begin_inset Flex Code
17827 status collapsed
17828
17829 \begin_layout Plain Layout
17830 Spellcheck
17831 \end_layout
17832
17833 \end_inset
17834
17835  [
17836 \begin_inset Flex Code
17837 status collapsed
17838
17839 \begin_layout Plain Layout
17840 0
17841 \end_layout
17842
17843 \end_inset
17844
17845 ,
17846 \begin_inset space \thinspace{}
17847 \end_inset
17848
17849
17850 \begin_inset Flex Code
17851 status collapsed
17852
17853 \begin_layout Plain Layout
17854
17855 \emph on
17856 1
17857 \end_layout
17858
17859 \end_inset
17860
17861 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
17862 \end_layout
17863
17864 \begin_layout Subsection
17865 カウンタ
17866 \begin_inset CommandInset label
17867 LatexCommand label
17868 name "subsec:カウンタ"
17869
17870 \end_inset
17871
17872
17873 \end_layout
17874
17875 \begin_layout Standard
17876 テキストクラスには,カウンタ(
17877 \begin_inset Flex MenuItem
17878 status collapsed
17879
17880 \begin_layout Plain Layout
17881 chapter
17882 \end_layout
17883
17884 \end_inset
17885
17886
17887 \begin_inset Flex MenuItem
17888 status collapsed
17889
17890 \begin_layout Plain Layout
17891 figure
17892 \end_layout
17893
17894 \end_inset
17895
17896 ・\SpecialChar ldots
17897 )を定義することが必要です.標準的なカウンタは
17898 \begin_inset Flex Code
17899 status collapsed
17900
17901 \begin_layout Plain Layout
17902 stdcounters.inc
17903 \end_layout
17904
17905 \end_inset
17906
17907 ファイルに含まれているので,作業中のレイアウトファイルに
17908 \end_layout
17909
17910 \begin_layout LyX-Code
17911 Input stdcounters.inc
17912 \end_layout
17913
17914 \begin_layout Standard
17915 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,そうすることもできます.カウンタ宣言は,
17916 \end_layout
17917
17918 \begin_layout LyX-Code
17919 Counter カウンタ名
17920 \end_layout
17921
17922 \begin_layout Standard
17923 で始まらなくてはなりません.ここで「
17924 \begin_inset Flex Code
17925 status collapsed
17926
17927 \begin_layout Plain Layout
17928 カウンタ名
17929 \end_layout
17930
17931 \end_inset
17932
17933 」は,実際のカウンタ名で置き換えます.また,宣言は「
17934 \begin_inset Flex Code
17935 status collapsed
17936
17937 \begin_layout Plain Layout
17938 End
17939 \end_layout
17940
17941 \end_inset
17942
17943 」で終わらなくてはなりません.
17944 \end_layout
17945
17946 \begin_layout Standard
17947 以下のパラメータを使用することができます.
17948 \end_layout
17949
17950 \begin_layout Description
17951 \begin_inset Flex Code
17952 status collapsed
17953
17954 \begin_layout Plain Layout
17955 InitialValue
17956 \end_layout
17957
17958 \end_inset
17959
17960  [
17961 \begin_inset Flex Code
17962 status collapsed
17963
17964 \begin_layout Plain Layout
17965 整数=1
17966 \end_layout
17967
17968 \end_inset
17969
17970 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,既定値1のままで充分でしょう.
17971 \end_layout
17972
17973 \begin_layout Description
17974 \begin_inset Flex Code
17975 status collapsed
17976
17977 \begin_layout Plain Layout
17978 LabelString [文字列=""]
17979 \end_layout
17980
17981 \end_inset
17982
17983  定義されていると,ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
17984 \begin_inset Flex Code
17985 status collapsed
17986
17987 \begin_layout Plain Layout
17988 LabelStringAppendix
17989 \end_layout
17990
17991 \end_inset
17992
17993 も同じ値に設定されます.文字列中では,以下の構成要素を使用することができます.
17994 \end_layout
17995
17996 \begin_deeper
17997 \begin_layout Itemize
17998 \begin_inset Flex Code
17999 status collapsed
18000
18001 \begin_layout Plain Layout
18002
18003 \backslash
18004 thecounter
18005 \end_layout
18006
18007 \end_inset
18008
18009 は,カウンタ
18010 \begin_inset Flex Code
18011 status collapsed
18012
18013 \begin_layout Plain Layout
18014 counter
18015 \end_layout
18016
18017 \end_inset
18018
18019
18020 \begin_inset Flex Code
18021 status collapsed
18022
18023 \begin_layout Plain Layout
18024 LabelString
18025 \end_layout
18026
18027 \end_inset
18028
18029 (または
18030 \begin_inset Newline linebreak
18031 \end_inset
18032
18033
18034 \begin_inset Flex Code
18035 status collapsed
18036
18037 \begin_layout Plain Layout
18038 LabelStringAppendix
18039 \end_layout
18040
18041 \end_inset
18042
18043 )を展開したもので置き換えられます. 
18044 \end_layout
18045
18046 \begin_layout Itemize
18047 カウンタ値は,\SpecialChar LaTeX
18048 型マクロ
18049 \begin_inset Flex Code
18050 status collapsed
18051
18052 \begin_layout Plain Layout
18053
18054 \backslash
18055
18056 \emph on
18057 numbertype
18058 \emph default
18059 {
18060 \emph on
18061 カウンタ
18062 \emph default
18063 }
18064 \end_layout
18065
18066 \end_inset
18067
18068 を用いて表現することができます.ここで
18069 \begin_inset Flex Code
18070 status collapsed
18071
18072 \begin_layout Plain Layout
18073
18074 \emph on
18075 numbertype
18076 \end_layout
18077
18078 \end_inset
18079
18080 は以下のいずれかです.
18081 \begin_inset Flex Code
18082 status collapsed
18083
18084 \begin_layout Plain Layout
18085 arabic
18086 \end_layout
18087
18088 \end_inset
18089
18090 :1, 2, 3,\SpecialChar ldots
18091
18092 \begin_inset Flex Code
18093 status collapsed
18094
18095 \begin_layout Plain Layout
18096 alph
18097 \end_layout
18098
18099 \end_inset
18100
18101 :a, b, c, \SpecialChar ldots
18102 (小文字);
18103 \begin_inset Flex Code
18104 status collapsed
18105
18106 \begin_layout Plain Layout
18107 Alph
18108 \end_layout
18109
18110 \end_inset
18111
18112 :A, B, C, \SpecialChar ldots
18113 (大文字);
18114 \begin_inset Flex Code
18115 status collapsed
18116
18117 \begin_layout Plain Layout
18118 roman
18119 \end_layout
18120
18121 \end_inset
18122
18123 :i, ii, iii, \SpecialChar ldots
18124 (小文字ローマ数字);
18125 \begin_inset Flex Code
18126 status collapsed
18127
18128 \begin_layout Plain Layout
18129 Roman
18130 \end_layout
18131
18132 \end_inset
18133
18134 :I, II, III\SpecialChar ldots
18135 (大文字ローマ数字).
18136 \end_layout
18137
18138 \end_deeper
18139 \begin_layout Standard
18140 \begin_inset Flex Code
18141 status collapsed
18142
18143 \begin_layout Plain Layout
18144 LabelString
18145 \end_layout
18146
18147 \end_inset
18148
18149 が定義されていないときは,既定値は以下のように組み立てられます.このカウンタに親カウンタ
18150 \begin_inset Flex Code
18151 status collapsed
18152
18153 \begin_layout Plain Layout
18154 master
18155 \end_layout
18156
18157 \end_inset
18158
18159
18160 \begin_inset Flex Code
18161 status collapsed
18162
18163 \begin_layout Plain Layout
18164 Within
18165 \end_layout
18166
18167 \end_inset
18168
18169 で定義)があるときには,文字列
18170 \begin_inset Newline linebreak
18171 \end_inset
18172
18173
18174 \begin_inset Flex Code
18175 status collapsed
18176
18177 \begin_layout Plain Layout
18178
18179 \backslash
18180 themaster.
18181 \backslash
18182 arabic{カウンタ}
18183 \end_layout
18184
18185 \end_inset
18186
18187 が使用されます.それ以外の場合は,
18188 \begin_inset Flex Code
18189 status collapsed
18190
18191 \begin_layout Plain Layout
18192
18193 \backslash
18194 arabic{カウンタ}
18195 \end_layout
18196
18197 \end_inset
18198
18199 が使用されます.
18200 \end_layout
18201
18202 \begin_layout Description
18203 \begin_inset Flex Code
18204 status collapsed
18205
18206 \begin_layout Plain Layout
18207 LabelStringAppendix
18208 \end_layout
18209
18210 \end_inset
18211
18212  [
18213 \begin_inset Flex Code
18214 status collapsed
18215
18216 \begin_layout Plain Layout
18217 文字列
18218 \end_layout
18219
18220 \end_inset
18221
18222 =""] 
18223 \begin_inset Flex Code
18224 status collapsed
18225
18226 \begin_layout Plain Layout
18227 LabelString
18228 \end_layout
18229
18230 \end_inset
18231
18232 と同様ですが,付録で使用するためのものです.
18233 \end_layout
18234
18235 \begin_layout Description
18236 \begin_inset Flex Code
18237 status collapsed
18238
18239 \begin_layout Plain Layout
18240 PrettyFormat
18241 \end_layout
18242
18243 \end_inset
18244
18245  [
18246 \begin_inset Flex Code
18247 status collapsed
18248
18249 \begin_layout Plain Layout
18250 文字列
18251 \end_layout
18252
18253 \end_inset
18254
18255 =
18256 \begin_inset Quotes erd
18257 \end_inset
18258
18259
18260 \begin_inset Quotes erd
18261 \end_inset
18262
18263 ] このカウンタの整形参照で使用する書式.たとえば,節番号への参照を「Section
18264 \begin_inset space ~
18265 \end_inset
18266
18267 2.4」のように表示させたい場合には,文字列に「##」を含めます.これは,カウンタ番号で置換されます.したがって,節の場合には「Section ##」のようにしま
18268 す.
18269 \end_layout
18270
18271 \begin_layout Description
18272 \begin_inset Flex Code
18273 status collapsed
18274
18275 \begin_layout Plain Layout
18276 Within
18277 \end_layout
18278
18279 \end_inset
18280
18281  [
18282 \begin_inset Flex Code
18283 status collapsed
18284
18285 \begin_layout Plain Layout
18286 文字列
18287 \end_layout
18288
18289 \end_inset
18290
18291 =
18292 \begin_inset Quotes erd
18293 \end_inset
18294
18295
18296 \begin_inset Quotes erd
18297 \end_inset
18298
18299 ] これを別のカウンタ名に設定すると,現在のカウンタは,別のカウンタが増加する毎にリセットされます.たとえば,
18300 \begin_inset Flex Code
18301 status collapsed
18302
18303 \begin_layout Plain Layout
18304 subsection
18305 \end_layout
18306
18307 \end_inset
18308
18309
18310 \begin_inset Flex Code
18311 status collapsed
18312
18313 \begin_layout Plain Layout
18314 section
18315 \end_layout
18316
18317 \end_inset
18318
18319 毎に番号がリセットされます.
18320 \end_layout
18321
18322 \begin_layout Subsection
18323 フォント指定
18324 \begin_inset CommandInset label
18325 LatexCommand label
18326 name "subsec:フォント指定"
18327
18328 \end_inset
18329
18330
18331 \end_layout
18332
18333 \begin_layout Standard
18334 フォント指定は,以下のような形を取ります.
18335 \end_layout
18336
18337 \begin_layout LyX-Code
18338 Font 
18339 \family roman
18340 \emph on
18341 または
18342 \family default
18343 \emph default
18344  LabelFont 
18345 \family roman
18346 \emph on
18347 または
18348 \family default
18349 \emph default
18350  DefaultFont
18351 \end_layout
18352
18353 \begin_layout LyX-Code
18354  ...
18355 \end_layout
18356
18357 \begin_layout LyX-Code
18358 EndFont
18359 \end_layout
18360
18361 \begin_layout Standard
18362 以下のコマンドを使用することができます.
18363 \end_layout
18364
18365 \begin_layout Description
18366 \begin_inset Flex Code
18367 status collapsed
18368
18369 \begin_layout Plain Layout
18370 Color
18371 \end_layout
18372
18373 \end_inset
18374
18375  [
18376 \begin_inset Flex Code
18377 status collapsed
18378
18379 \begin_layout Plain Layout
18380
18381 \emph on
18382 none
18383 \end_layout
18384
18385 \end_inset
18386
18387
18388 \begin_inset Flex Code
18389 status collapsed
18390
18391 \begin_layout Plain Layout
18392 black
18393 \end_layout
18394
18395 \end_inset
18396
18397
18398 \begin_inset Flex Code
18399 status collapsed
18400
18401 \begin_layout Plain Layout
18402 white
18403 \end_layout
18404
18405 \end_inset
18406
18407
18408 \begin_inset Flex Code
18409 status collapsed
18410
18411 \begin_layout Plain Layout
18412 red
18413 \end_layout
18414
18415 \end_inset
18416
18417
18418 \begin_inset Flex Code
18419 status collapsed
18420
18421 \begin_layout Plain Layout
18422 green
18423 \end_layout
18424
18425 \end_inset
18426
18427
18428 \begin_inset Flex Code
18429 status collapsed
18430
18431 \begin_layout Plain Layout
18432 blue
18433 \end_layout
18434
18435 \end_inset
18436
18437
18438 \begin_inset Flex Code
18439 status collapsed
18440
18441 \begin_layout Plain Layout
18442 cyan
18443 \end_layout
18444
18445 \end_inset
18446
18447
18448 \begin_inset Flex Code
18449 status collapsed
18450
18451 \begin_layout Plain Layout
18452 magenta
18453 \end_layout
18454
18455 \end_inset
18456
18457
18458 \begin_inset Flex Code
18459 status collapsed
18460
18461 \begin_layout Plain Layout
18462 yellow
18463 \end_layout
18464
18465 \end_inset
18466
18467
18468 \begin_inset Flex Code
18469 status collapsed
18470
18471 \begin_layout Plain Layout
18472 brown
18473 \end_layout
18474
18475 \end_inset
18476
18477
18478 \begin_inset Flex Code
18479 status collapsed
18480
18481 \begin_layout Plain Layout
18482 darkgray
18483 \end_layout
18484
18485 \end_inset
18486
18487
18488 \begin_inset Flex Code
18489 status collapsed
18490
18491 \begin_layout Plain Layout
18492 gray
18493 \end_layout
18494
18495 \end_inset
18496
18497
18498 \begin_inset Flex Code
18499 status collapsed
18500
18501 \begin_layout Plain Layout
18502 lightgray
18503 \end_layout
18504
18505 \end_inset
18506
18507
18508 \begin_inset Flex Code
18509 status collapsed
18510
18511 \begin_layout Plain Layout
18512 lime
18513 \end_layout
18514
18515 \end_inset
18516
18517
18518 \begin_inset Flex Code
18519 status collapsed
18520
18521 \begin_layout Plain Layout
18522 orange
18523 \end_layout
18524
18525 \end_inset
18526
18527
18528 \begin_inset Flex Code
18529 status collapsed
18530
18531 \begin_layout Plain Layout
18532 olive
18533 \end_layout
18534
18535 \end_inset
18536
18537
18538 \begin_inset Flex Code
18539 status collapsed
18540
18541 \begin_layout Plain Layout
18542 pink
18543 \end_layout
18544
18545 \end_inset
18546
18547
18548 \begin_inset Flex Code
18549 status collapsed
18550
18551 \begin_layout Plain Layout
18552 purple
18553 \end_layout
18554
18555 \end_inset
18556
18557
18558 \begin_inset Flex Code
18559 status collapsed
18560
18561 \begin_layout Plain Layout
18562 teal
18563 \end_layout
18564
18565 \end_inset
18566
18567
18568 \begin_inset Flex Code
18569 status collapsed
18570
18571 \begin_layout Plain Layout
18572 violet
18573 \end_layout
18574
18575 \end_inset
18576
18577 ]
18578 \end_layout
18579
18580 \begin_layout Description
18581 \begin_inset Flex Code
18582 status collapsed
18583
18584 \begin_layout Plain Layout
18585 Family
18586 \end_layout
18587
18588 \end_inset
18589
18590  [
18591 \emph on
18592
18593 \begin_inset Flex Code
18594 status collapsed
18595
18596 \begin_layout Plain Layout
18597 Roman
18598 \end_layout
18599
18600 \end_inset
18601
18602
18603 \emph default
18604
18605 \begin_inset Flex Code
18606 status collapsed
18607
18608 \begin_layout Plain Layout
18609 Sans
18610 \end_layout
18611
18612 \end_inset
18613
18614
18615 \begin_inset Flex Code
18616 status collapsed
18617
18618 \begin_layout Plain Layout
18619 Typewriter
18620 \end_layout
18621
18622 \end_inset
18623
18624
18625 \end_layout
18626
18627 \begin_layout Description
18628 \begin_inset Flex Code
18629 status collapsed
18630
18631 \begin_layout Plain Layout
18632 Misc
18633 \end_layout
18634
18635 \end_inset
18636
18637  [
18638 \begin_inset Flex Code
18639 status collapsed
18640
18641 \begin_layout Plain Layout
18642 文字列
18643 \end_layout
18644
18645 \end_inset
18646
18647 ] 有効な引数は,
18648 \begin_inset Flex Code
18649 status collapsed
18650
18651 \begin_layout Plain Layout
18652 emph
18653 \end_layout
18654
18655 \end_inset
18656
18657
18658 \begin_inset Flex Code
18659 status collapsed
18660
18661 \begin_layout Plain Layout
18662 noun
18663 \end_layout
18664
18665 \end_inset
18666
18667
18668 \begin_inset Flex Code
18669 status collapsed
18670
18671 \begin_layout Plain Layout
18672 strikeout
18673 \end_layout
18674
18675 \end_inset
18676
18677
18678 \begin_inset Flex Code
18679 status collapsed
18680
18681 \begin_layout Plain Layout
18682 underbar
18683 \end_layout
18684
18685 \end_inset
18686
18687
18688 \begin_inset Flex Code
18689 status collapsed
18690
18691 \begin_layout Plain Layout
18692 uuline
18693 \end_layout
18694
18695 \end_inset
18696
18697
18698 \begin_inset Flex Code
18699 status collapsed
18700
18701 \begin_layout Plain Layout
18702 uwave
18703 \end_layout
18704
18705 \end_inset
18706
18707
18708 \begin_inset Flex Code
18709 status collapsed
18710
18711 \begin_layout Plain Layout
18712 no_emph
18713 \end_layout
18714
18715 \end_inset
18716
18717
18718 \begin_inset Flex Code
18719 status collapsed
18720
18721 \begin_layout Plain Layout
18722 no_noun
18723 \end_layout
18724
18725 \end_inset
18726
18727
18728 \begin_inset Flex Code
18729 status collapsed
18730
18731 \begin_layout Plain Layout
18732 no_strikeout
18733 \end_layout
18734
18735 \end_inset
18736
18737
18738 \begin_inset Flex Code
18739 status collapsed
18740
18741 \begin_layout Plain Layout
18742 no_bar
18743 \end_layout
18744
18745 \end_inset
18746
18747
18748 \begin_inset Flex Code
18749 status collapsed
18750
18751 \begin_layout Plain Layout
18752 no_uuline
18753 \end_layout
18754
18755 \end_inset
18756
18757
18758 \begin_inset Flex Code
18759 status collapsed
18760
18761 \begin_layout Plain Layout
18762 no_uwave
18763 \end_layout
18764
18765 \end_inset
18766
18767 です.それぞれ,対応する属性を有効にしたり無効にしたりします.
18768 \begin_inset Newline newline
18769 \end_inset
18770
18771 たとえば,
18772 \begin_inset Flex Code
18773 status collapsed
18774
18775 \begin_layout Plain Layout
18776 emph
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_emph
18787 \end_layout
18788
18789 \end_inset
18790
18791 はそれを無効にします.もし後者がわかりにくければ,現在のコンテクストのフォント設定は,一般的に周囲のコンテクストから継承していることを思い出してください.ですか
18792
18793 \begin_inset Flex Code
18794 status collapsed
18795
18796 \begin_layout Plain Layout
18797 no_emph
18798 \end_layout
18799
18800 \end_inset
18801
18802 は,たとえば定理環境で,何をせずとも有効となっている強調を無効にするのです.
18803 \end_layout
18804
18805 \begin_layout Description
18806 \begin_inset Flex Code
18807 status collapsed
18808
18809 \begin_layout Plain Layout
18810 Series
18811 \end_layout
18812
18813 \end_inset
18814
18815  [
18816 \emph on
18817
18818 \begin_inset Flex Code
18819 status collapsed
18820
18821 \begin_layout Plain Layout
18822 Medium
18823 \end_layout
18824
18825 \end_inset
18826
18827
18828 \emph default
18829
18830 \begin_inset Flex Code
18831 status collapsed
18832
18833 \begin_layout Plain Layout
18834 Bold
18835 \end_layout
18836
18837 \end_inset
18838
18839
18840 \end_layout
18841
18842 \begin_layout Description
18843 \begin_inset Flex Code
18844 status collapsed
18845
18846 \begin_layout Plain Layout
18847 Shape
18848 \end_layout
18849
18850 \end_inset
18851
18852  [
18853 \emph on
18854
18855 \begin_inset Flex Code
18856 status collapsed
18857
18858 \begin_layout Plain Layout
18859 Up
18860 \end_layout
18861
18862 \end_inset
18863
18864
18865 \emph default
18866
18867 \begin_inset Flex Code
18868 status collapsed
18869
18870 \begin_layout Plain Layout
18871 Italic
18872 \end_layout
18873
18874 \end_inset
18875
18876
18877 \begin_inset Flex Code
18878 status collapsed
18879
18880 \begin_layout Plain Layout
18881 SmallCaps
18882 \end_layout
18883
18884 \end_inset
18885
18886
18887 \begin_inset Flex Code
18888 status collapsed
18889
18890 \begin_layout Plain Layout
18891 Slanted
18892 \end_layout
18893
18894 \end_inset
18895
18896
18897 \end_layout
18898
18899 \begin_layout Description
18900 \begin_inset Flex Code
18901 status collapsed
18902
18903 \begin_layout Plain Layout
18904 Size
18905 \end_layout
18906
18907 \end_inset
18908
18909  [
18910 \begin_inset Flex Code
18911 status collapsed
18912
18913 \begin_layout Plain Layout
18914 tiny
18915 \end_layout
18916
18917 \end_inset
18918
18919
18920 \begin_inset Flex Code
18921 status collapsed
18922
18923 \begin_layout Plain Layout
18924 small
18925 \end_layout
18926
18927 \end_inset
18928
18929
18930 \begin_inset Flex Code
18931 status collapsed
18932
18933 \begin_layout Plain Layout
18934
18935 \emph on
18936 normal
18937 \end_layout
18938
18939 \end_inset
18940
18941
18942 \begin_inset Flex Code
18943 status collapsed
18944
18945 \begin_layout Plain Layout
18946 large
18947 \end_layout
18948
18949 \end_inset
18950
18951
18952 \begin_inset Flex Code
18953 status collapsed
18954
18955 \begin_layout Plain Layout
18956 larger
18957 \end_layout
18958
18959 \end_inset
18960
18961
18962 \begin_inset Flex Code
18963 status collapsed
18964
18965 \begin_layout Plain Layout
18966 largest
18967 \end_layout
18968
18969 \end_inset
18970
18971
18972 \begin_inset Flex Code
18973 status collapsed
18974
18975 \begin_layout Plain Layout
18976 huge
18977 \end_layout
18978
18979 \end_inset
18980
18981
18982 \begin_inset Flex Code
18983 status collapsed
18984
18985 \begin_layout Plain Layout
18986 giant
18987 \end_layout
18988
18989 \end_inset
18990
18991 ]
18992 \end_layout
18993
18994 \begin_layout Subsection
18995 \begin_inset CommandInset label
18996 LatexCommand label
18997 name "subsec:引用エンジンの説明"
18998
18999 \end_inset
19000
19001 引用エンジンの説明
19002 \end_layout
19003
19004 \begin_layout Standard
19005 主に引用エンジンファイル(第
19006 \begin_inset CommandInset ref
19007 LatexCommand ref
19008 reference "subsec:引用エンジンファイル"
19009 plural "false"
19010 caps "false"
19011 noprefix "false"
19012
19013 \end_inset
19014
19015 節参照)で用いられる
19016 \begin_inset Flex Code
19017 status collapsed
19018
19019 \begin_layout Plain Layout
19020 CiteEngine
19021 \end_layout
19022
19023 \end_inset
19024
19025 ブロックは,特定の「引用エンジン」で提供される引用コマンドを定義します.\SpecialChar LyX
19026 の用語では,引用エンジンとは,番号や著者名,刊行年を使って,引用を整形する特定の方法のこ
19027 とを指します.\SpecialChar LyX
19028 は,3つのエンジンの型をサポートします.すなわち,
19029 \end_layout
19030
19031 \begin_layout Enumerate
19032 \begin_inset Flex Code
19033 status collapsed
19034
19035 \begin_layout Plain Layout
19036 default
19037 \end_layout
19038
19039 \end_inset
19040
19041 : 既定のBib\SpecialChar TeX
19042 流の引用方法である,単純な番号による様式(例:「[1]」)
19043 \end_layout
19044
19045 \begin_layout Enumerate
19046 \begin_inset Flex Code
19047 status collapsed
19048
19049 \begin_layout Plain Layout
19050 authoryear
19051 \end_layout
19052
19053 \end_inset
19054
19055 : 著者名と刊行年を使ったHarvard様式の引用(例:「Smith and Miller (2017b)」)
19056 \end_layout
19057
19058 \begin_layout Enumerate
19059 \begin_inset Flex Code
19060 status collapsed
19061
19062 \begin_layout Plain Layout
19063 numerical
19064 \end_layout
19065
19066 \end_inset
19067
19068 : 番号に隣接して著者名やタイトルを付けることのできる拡張された番号引用(例:「Smith and Miller [1]」)
19069 \end_layout
19070
19071 \begin_layout Standard
19072 \begin_inset Flex Code
19073 status collapsed
19074
19075 \begin_layout Plain Layout
19076 CiteEngine
19077 \end_layout
19078
19079 \end_inset
19080
19081 ブロックは以下のようになります.
19082 \end_layout
19083
19084 \begin_layout LyX-Code
19085 CiteEngine default
19086 \end_layout
19087
19088 \begin_layout LyX-Code
19089  cite
19090 \end_layout
19091
19092 \begin_layout LyX-Code
19093  Citep*[][]
19094 \end_layout
19095
19096 \begin_layout LyX-Code
19097  citeyearpar[][]=parencite*
19098 \end_layout
19099
19100 \begin_layout LyX-Code
19101  ...
19102 \end_layout
19103
19104 \begin_layout LyX-Code
19105 End
19106 \end_layout
19107
19108 \begin_layout Standard
19109 \begin_inset Flex Code
19110 status collapsed
19111
19112 \begin_layout Plain Layout
19113 CiteEngine
19114 \end_layout
19115
19116 \end_inset
19117
19118 に続くタグがエンジンを表します.各行は,このエンジンによってサポートされる引用コマンドや引用コマンドパラダイムを定義します.行は,\SpecialChar LyX
19119 コマンドと\SpecialChar LaTeX
19120 出力を命名するのに使
19121 われる引用コマンドのみを含むこともあれば,色々変えるために複雑なこともあります.完全な文法は
19122 \end_layout
19123
19124 \begin_layout LyX-Code
19125 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
19126 \end_layout
19127
19128 \begin_layout Standard
19129 という形になっています.ここで
19130 \end_layout
19131
19132 \begin_layout Itemize
19133 \begin_inset Flex Code
19134 status collapsed
19135
19136 \begin_layout Plain Layout
19137 LyXName
19138 \end_layout
19139
19140 \end_inset
19141
19142
19143 \begin_inset Flex Code
19144 status collapsed
19145
19146 \begin_layout Plain Layout
19147 *.lyx
19148 \end_layout
19149
19150 \end_inset
19151
19152 ファイルで使用される名前.
19153 \end_layout
19154
19155 \begin_deeper
19156 \begin_layout Standard
19157 可搬性のために,異なる引用パッケージ中の同じ形をしたコマンドには,同じ名前をつけるようにしています(したがって,多くの名前がnatbibから派生しており,\SpecialChar LaTeX
19158 コマン
19159 ド名が異なる場合には,しばしば
19160 \begin_inset Flex Code
19161 status collapsed
19162
19163 \begin_layout Plain Layout
19164 latexcmd
19165 \end_layout
19166
19167 \end_inset
19168
19169 を変える必要があります).
19170 \end_layout
19171
19172 \end_deeper
19173 \begin_layout Itemize
19174 \begin_inset Flex Code
19175 status collapsed
19176
19177 \begin_layout Plain Layout
19178 alias
19179 \end_layout
19180
19181 \end_inset
19182
19183 : このエンジンにおいて,与えられた
19184 \begin_inset Flex Code
19185 status collapsed
19186
19187 \begin_layout Plain Layout
19188 LyXName
19189 \end_layout
19190
19191 \end_inset
19192
19193 にフォールバックするコマンドの(コンマで区切られた)リスト.これによって,引用パッケージとエンジンを切り替えるのが楽になります.
19194 \begin_inset Flex Code
19195 status collapsed
19196
19197 \begin_layout Plain Layout
19198 alias
19199 \end_layout
19200
19201 \end_inset
19202
19203 はレイアウト定義中での
19204 \begin_inset Flex Code
19205 status collapsed
19206
19207 \begin_layout Plain Layout
19208 ObsoletedBy
19209 \end_layout
19210
19211 \end_inset
19212
19213 に相当するものと考えてよいでしょう.
19214 \end_layout
19215
19216 \begin_layout Itemize
19217 \begin_inset Flex Code
19218 status collapsed
19219
19220 \begin_layout Plain Layout
19221 latexcmd
19222 \end_layout
19223
19224 \end_inset
19225
19226 : 出力される実際の\SpecialChar LaTeX
19227 コマンド.
19228 \end_layout
19229
19230 \begin_layout Standard
19231 \begin_inset Flex Code
19232 status collapsed
19233
19234 \begin_layout Plain Layout
19235 Alias
19236 \end_layout
19237
19238 \end_inset
19239
19240
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 は必須ではありません.
19251 \begin_inset Flex Code
19252 status collapsed
19253
19254 \begin_layout Plain Layout
19255 latexcmd
19256 \end_layout
19257
19258 \end_inset
19259
19260 が与えられない時は,
19261 \begin_inset Flex Code
19262 status collapsed
19263
19264 \begin_layout Plain Layout
19265 LyXName
19266 \end_layout
19267
19268 \end_inset
19269
19270 が\SpecialChar LaTeX
19271 に出力されます.
19272 \end_layout
19273
19274 \begin_layout Standard
19275 さらに,下記の点に注意してください.
19276 \end_layout
19277
19278 \begin_layout Itemize
19279 大文字にするとコマンドも大文字化されたものになります(
19280 \begin_inset Flex Code
19281 status collapsed
19282
19283 \begin_layout Plain Layout
19284
19285 \backslash
19286 latexcmd
19287 \end_layout
19288
19289 \end_inset
19290
19291
19292 \begin_inset Flex Code
19293 status collapsed
19294
19295 \begin_layout Plain Layout
19296
19297 \backslash
19298 Latexcmd
19299 \end_layout
19300
19301 \end_inset
19302
19303 に).これらは通常,名前の前置詞を大文字化するのを確実にします(
19304 \emph on
19305 von Goethe
19306 \emph default
19307  
19308 \begin_inset Formula $\Rightarrow$
19309 \end_inset
19310
19311  
19312 \emph on
19313 Von Goethe
19314 \emph default
19315 ).
19316 \end_layout
19317
19318 \begin_layout Itemize
19319 括弧
19320 \begin_inset Flex Code
19321 status collapsed
19322
19323 \begin_layout Plain Layout
19324 []
19325 \end_layout
19326
19327 \end_inset
19328
19329 は非必須引数の数を表します(0-2をとりえます).
19330 \end_layout
19331
19332 \begin_layout Itemize
19333 星印
19334 \begin_inset Flex Code
19335 status collapsed
19336
19337 \begin_layout Plain Layout
19338 *
19339 \end_layout
19340
19341 \end_inset
19342
19343 は星印付きコマンドを示します(
19344 \begin_inset Flex Code
19345 status collapsed
19346
19347 \begin_layout Plain Layout
19348
19349 \backslash
19350 latexcmd
19351 \end_layout
19352
19353 \end_inset
19354
19355
19356 \begin_inset Flex Code
19357 status collapsed
19358
19359 \begin_layout Plain Layout
19360
19361 \backslash
19362 latexcmd*
19363 \end_layout
19364
19365 \end_inset
19366
19367 に).
19368 \end_layout
19369
19370 \begin_deeper
19371 \begin_layout Standard
19372 既定では,星印付きバージョンは,
19373 \begin_inset Flex Code
19374 status collapsed
19375
19376 \begin_layout Plain Layout
19377 MaxCiteNames
19378 \end_layout
19379
19380 \end_inset
19381
19382 の閾値を超えたために「et al.」に省略されるべき時にも全ての著者を出力することを意味します.
19383 \end_layout
19384
19385 \begin_layout Standard
19386 星印が,当該コマンドについては別の意味を持つ場合には,
19387 \begin_inset Flex Code
19388 status collapsed
19389
19390 \begin_layout Plain Layout
19391 <!_stardesc!_stardesctooltip>
19392 \end_layout
19393
19394 \end_inset
19395
19396 のように三角括弧で指定することができます.前置詞
19397 \begin_inset Flex Code
19398 status collapsed
19399
19400 \begin_layout Plain Layout
19401 !_
19402 \end_layout
19403
19404 \end_inset
19405
19406 で標識した,翻訳可能なキーワードを最大2つ与えることができます.最初のキーワードは,引用ダイアログ中の「Full aut&hor list」チェックボックスラベ
19407 ルを書き換える文字列を指し,二つ目のキーワードは,このチェックボックスに対する非必須のツールチップの文字列を指します.
19408 \end_layout
19409
19410 \begin_layout Standard
19411 これらの2つのマクロは,下記のように,前置詞から
19412 \begin_inset Flex Code
19413 status collapsed
19414
19415 \begin_layout Plain Layout
19416 !
19417 \end_layout
19418
19419 \end_inset
19420
19421 を落とした形で
19422 \begin_inset Flex Code
19423 status collapsed
19424
19425 \begin_layout Plain Layout
19426 CiteFormat
19427 \end_layout
19428
19429 \end_inset
19430
19431 (次節参照)で定義されなくてはなりません.
19432 \end_layout
19433
19434 \begin_layout LyX-Code
19435 _stardesc Sta&rred command label
19436 \end_layout
19437
19438 \begin_layout LyX-Code
19439 _stardesctooltip Tooltip for the starred command checkbox.
19440 \end_layout
19441
19442 \end_deeper
19443 \begin_layout Itemize
19444 ドル記号
19445 \begin_inset Flex Code
19446 status collapsed
19447
19448 \begin_layout Plain Layout
19449 $
19450 \end_layout
19451
19452 \end_inset
19453
19454 は,このコマンドが「qualified citation lists」を取り扱うことを示します.これは,リスト中の個別の引用に対して,前置文字列と後置文字列を置
19455 くことができる,
19456 \family sans
19457 Biblatex
19458 \family default
19459 に特有の複数文献引用機能です.詳細については,
19460 \family sans
19461 Biblatex
19462 \family default
19463 の取扱説明書をご覧ください.
19464 \end_layout
19465
19466 \begin_layout Subsection
19467 \begin_inset CommandInset label
19468 LatexCommand label
19469 name "subsec:引用書式指定"
19470
19471 \end_inset
19472
19473 引用書式指定
19474 \end_layout
19475
19476 \begin_layout Standard
19477 (引用ダイアログやツールチップなどの)\SpecialChar LyX
19478 内部やXHTML出力において,書誌情報をどのように表示するべきかの叙述には,
19479 \begin_inset Flex Code
19480 status collapsed
19481
19482 \begin_layout Plain Layout
19483 CiteFormat
19484 \end_layout
19485
19486 \end_inset
19487
19488 ブロックが使用されています.このブロックは,以下のような形をしています.
19489 \end_layout
19490
19491 \begin_layout LyX-Code
19492 CiteFormat
19493 \end_layout
19494
19495 \begin_layout LyX-Code
19496  article ...
19497 \end_layout
19498
19499 \begin_layout LyX-Code
19500  book ...
19501 \end_layout
19502
19503 \begin_layout LyX-Code
19504 End
19505 \end_layout
19506
19507 \begin_layout Standard
19508 あるいは
19509 \end_layout
19510
19511 \begin_layout LyX-Code
19512 CiteFormat
19513 \end_layout
19514
19515 \begin_layout LyX-Code
19516  cite ...
19517 \end_layout
19518
19519 \begin_layout LyX-Code
19520  citet*[][] ...
19521 \end_layout
19522
19523 \begin_layout LyX-Code
19524 End
19525 \end_layout
19526
19527 \begin_layout Standard
19528 最初の例の各行は,それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,このような定義は,Bib\SpecialChar TeX
19529 ファイル中に存
19530 在しうる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,\SpecialChar LyX
19531 は,ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
19532 は,いくつかの書式を
19533 \begin_inset Flex Code
19534 status collapsed
19535
19536 \begin_layout Plain Layout
19537 stdciteformats.inc
19538 \end_layout
19539
19540 \end_inset
19541
19542 ファイルで事前定義しており,これはほとんどの\SpecialChar LyX
19543 文書クラスにインクルードされています.
19544 \end_layout
19545
19546 \begin_layout Standard
19547 2つ目の例では,各行は,特定の引用コマンド(この例では
19548 \begin_inset Flex Code
19549 status collapsed
19550
19551 \begin_layout Plain Layout
19552
19553 \backslash
19554 cite
19555 \end_layout
19556
19557 \end_inset
19558
19559 及び
19560 \begin_inset Flex Code
19561 status collapsed
19562
19563 \begin_layout Plain Layout
19564
19565 \backslash
19566 citet
19567 \end_layout
19568
19569 \end_inset
19570
19571 )が,引用差込枠ラベルや引用ダイアログ,メニュー,XHTML出力でどのように表示されるべきかを定義しています.\SpecialChar LyX
19572 は,\SpecialChar LyX
19573 に同梱されている個別の
19574 \begin_inset Flex Code
19575 status collapsed
19576
19577 \begin_layout Plain Layout
19578 *.citeengine
19579 \end_layout
19580
19581 \end_inset
19582
19583 ファイル中において,
19584 \family sans
19585 文書\SpecialChar menuseparator
19586 設定\SpecialChar menuseparator
19587 書誌情報\SpecialChar ldots
19588
19589 \family default
19590 でサポートしている引用様式用に,そのような書式を定義しています(第
19591 \begin_inset CommandInset ref
19592 LatexCommand ref
19593 reference "subsec:引用エンジンファイル"
19594 plural "false"
19595 caps "false"
19596 noprefix "false"
19597
19598 \end_inset
19599
19600 節参照).
19601 \end_layout
19602
19603 \begin_layout Standard
19604 この定義は,Bib\SpecialChar TeX
19605 キーをその値で置換できる機能を持った,簡単な言語を使用しています.キーは,
19606 \begin_inset Flex Code
19607 status collapsed
19608
19609 \begin_layout Plain Layout
19610 %author%
19611 \end_layout
19612
19613 \end_inset
19614
19615 のように
19616 \begin_inset Flex Code
19617 status collapsed
19618
19619 \begin_layout Plain Layout
19620 %
19621 \end_layout
19622
19623 \end_inset
19624
19625 記号でくくらなくてはなりません.したがって,簡単な定義は以下のようになります.
19626 \end_layout
19627
19628 \begin_layout LyX-Code
19629 misc %author%, 
19630 \begin_inset Quotes eld
19631 \end_inset
19632
19633 %title%
19634 \begin_inset Quotes erd
19635 \end_inset
19636
19637
19638 \end_layout
19639
19640 \begin_layout Standard
19641 これは,「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
19642 \end_layout
19643
19644 \begin_layout Standard
19645 もちろん,キーが存在するときのみ,そのキーを出力したい時があるはずです.このようなときには
19646 \begin_inset Flex Code
19647 status collapsed
19648
19649 \begin_layout Plain Layout
19650 {%volume%[[vol.
19651 \begin_inset space ~
19652 \end_inset
19653
19654 %volume%]]}
19655 \end_layout
19656
19657 \end_inset
19658
19659 のように,条件付きの構成を使用することができます.これは,
19660 \begin_inset Flex Code
19661 status collapsed
19662
19663 \begin_layout Plain Layout
19664 volume
19665 \end_layout
19666
19667 \end_inset
19668
19669 が存在するならば,「vol.
19670 \begin_inset space ~
19671 \end_inset
19672
19673 」とvolumeキーを出力するという意味です.また,
19674 \begin_inset Newline newline
19675 \end_inset
19676
19677
19678 \begin_inset Flex Code
19679 status collapsed
19680
19681 \begin_layout Plain Layout
19682 {%author%[[%author%]][[%editor%, ed.]]}
19683 \end_layout
19684
19685 \end_inset
19686
19687
19688 \begin_inset Newline newline
19689 \end_inset
19690
19691 のように,条件の中にelse節を含めることも可能です.ここでは,もし
19692 \begin_inset Flex Code
19693 status collapsed
19694
19695 \begin_layout Plain Layout
19696 author
19697 \end_layout
19698
19699 \end_inset
19700
19701 キーが存在するならば出力され,そうでなければeditorキーと「,
19702 \begin_inset space ~
19703 \end_inset
19704
19705 ed.」が出力されます.ここでもキーは,
19706 \begin_inset Flex Code
19707 status collapsed
19708
19709 \begin_layout Plain Layout
19710 %
19711 \end_layout
19712
19713 \end_inset
19714
19715 記号でくくられていることに注意してください.条件全体は,波括弧で囲まれています.if節およびelse節は,「
19716 \begin_inset Flex Code
19717 status collapsed
19718
19719 \begin_layout Plain Layout
19720 [[
19721 \end_layout
19722
19723 \end_inset
19724
19725 」と「
19726 \begin_inset Flex Code
19727 status collapsed
19728
19729 \begin_layout Plain Layout
19730 ]]
19731 \end_layout
19732
19733 \end_inset
19734
19735 」の二重角括弧で囲まれています.これらすべてのあいだには,空白は入ってはなりません.
19736 \end_layout
19737
19738 \begin_layout Standard
19739 これらの条件文に使うことができるものには,項目キーの他に,以下の特殊キーがあります.
19740 \end_layout
19741
19742 \begin_layout Itemize
19743 \begin_inset Flex Code
19744 status collapsed
19745
19746 \begin_layout Plain Layout
19747 {%dialog%[[真]][[偽]]}
19748 \end_layout
19749
19750 \end_inset
19751
19752 : ダイアログとメニューに対しては「真」の部分を処理し,他の文脈(作業領域や書き出し)には「偽」の部分を処理します
19753 \end_layout
19754
19755 \begin_layout Itemize
19756 \begin_inset Flex Code
19757 status collapsed
19758
19759 \begin_layout Plain Layout
19760 {%export%[[真]][[偽]]}
19761 \end_layout
19762
19763 \end_inset
19764
19765 : 書き出しとメニューに対しては「真」の部分を処理し,他の文脈(作業領域やダイアログ)には「偽」の部分を処理します
19766 \end_layout
19767
19768 \begin_layout Itemize
19769 \begin_inset Flex Code
19770 status collapsed
19771
19772 \begin_layout Plain Layout
19773 {%next%[[真]]}
19774 \end_layout
19775
19776 \end_inset
19777
19778 : 他の項目が続く場合には「真」の部分を処理します(複数キーを持つ引用など)
19779 \end_layout
19780
19781 \begin_layout Itemize
19782 \begin_inset Flex Code
19783 status collapsed
19784
19785 \begin_layout Plain Layout
19786 {%second%[[真]][[偽]]}
19787 \end_layout
19788
19789 \end_inset
19790
19791 : これが複数項目の2番目の場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19792 \end_layout
19793
19794 \begin_layout Itemize
19795 \begin_inset Flex Code
19796 status collapsed
19797
19798 \begin_layout Plain Layout
19799 {%ifstar%[[真]][[偽]]}
19800 \end_layout
19801
19802 \end_inset
19803
19804 : (
19805 \begin_inset Flex Code
19806 status collapsed
19807
19808 \begin_layout Plain Layout
19809
19810 \backslash
19811 cite*
19812 \end_layout
19813
19814 \end_inset
19815
19816 など)星印付き引用コマンドの場合には「真」の部分を処理し,星印付きでない場合には「偽」の部分を処理します
19817 \end_layout
19818
19819 \begin_layout Itemize
19820 \begin_inset Flex Code
19821 status collapsed
19822
19823 \begin_layout Plain Layout
19824 {%ifentrytype:<type>%[[真]][[偽]]}
19825 \end_layout
19826
19827 \end_inset
19828
19829 : 現行の項目が
19830 \begin_inset Flex Code
19831 status collapsed
19832
19833 \begin_layout Plain Layout
19834 <型>
19835 \end_layout
19836
19837 \end_inset
19838
19839 に一致する場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:引用定義において
19840 \begin_inset Flex Code
19841 status collapsed
19842
19843 \begin_layout Plain Layout
19844 {%ifentrytype:book%[[これはbookです]][[これはbookではありません]]}
19845 \end_layout
19846
19847 \end_inset
19848
19849
19850 \end_layout
19851
19852 \begin_layout Itemize
19853 \begin_inset Flex Code
19854 status collapsed
19855
19856 \begin_layout Plain Layout
19857 {%ifmultiple:<authortype>%[[真]][[偽]]}
19858 \end_layout
19859
19860 \end_inset
19861
19862 : 現行の項目が著者型(著者・編者など)が複数の著者を含む場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:書誌情報定義において
19863 \begin_inset Flex Code
19864 status collapsed
19865
19866 \begin_layout Plain Layout
19867 {%ifmultiple:editor%[[eds.]][[ed.]]}
19868 \end_layout
19869
19870 \end_inset
19871
19872
19873 \end_layout
19874
19875 \begin_layout Itemize
19876 \begin_inset Flex Code
19877 status collapsed
19878
19879 \begin_layout Plain Layout
19880 {%ifqualified%[[真]][[偽]]}
19881 \end_layout
19882
19883 \end_inset
19884
19885 : 現行の引用がqualified citation listである(複数文献引用に対する
19886 \family sans
19887 Biblatex
19888 \family default
19889 特有の形式)場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19890 \end_layout
19891
19892 \begin_layout Standard
19893 \begin_inset Flex Code
19894 status collapsed
19895
19896 \begin_layout Plain Layout
19897 %author%
19898 \end_layout
19899
19900 \end_inset
19901
19902 は書誌情報ファイルに記録されている形のままの著者キーを出力すると述べました.これは「Miller, Peter and Smith, Mary
19903  and White, Jane」のような文字列に終わることがあり(Bib\SpecialChar TeX
19904 では著者を区切るのに「and」が用いられるため),望ましい結果ではありません.したがっ
19905 て,\SpecialChar LyX
19906 は,正しく整形された名前のリスト(これも翻訳の対象となります)を得るための方法を提供しています.以下のキーが提供されています.
19907 \end_layout
19908
19909 \begin_layout Enumerate
19910 書誌情報項目の主要著者・編者に適した,姓名付き名前リスト用.
19911 \begin_inset Flex Code
19912 status collapsed
19913
19914 \begin_layout Plain Layout
19915 <nametype>
19916 \end_layout
19917
19918 \end_inset
19919
19920 部分は要請されているリスト型を表します(例:
19921 \begin_inset Flex Code
19922 status collapsed
19923
19924 \begin_layout Plain Layout
19925 <nametype:author>
19926 \end_layout
19927
19928 \end_inset
19929
19930
19931 \end_layout
19932
19933 \begin_deeper
19934 \begin_layout Itemize
19935 \begin_inset Flex Code
19936 status collapsed
19937
19938 \begin_layout Plain Layout
19939 %abbrvnames:<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 MaxCiteNames
19950 \end_layout
19951
19952 \end_inset
19953
19954 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
19955 \end_layout
19956
19957 \begin_layout Itemize
19958 \begin_inset Flex Code
19959 status collapsed
19960
19961 \begin_layout Plain Layout
19962 %fullnames:<nametype>%
19963 \end_layout
19964
19965 \end_inset
19966
19967 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
19968 \end_layout
19969
19970 \begin_layout Itemize
19971 \begin_inset Flex Code
19972 status collapsed
19973
19974 \begin_layout Plain Layout
19975 %forceabbrvnames:<nametype>%
19976 \end_layout
19977
19978 \end_inset
19979
19980
19981 \begin_inset Flex Code
19982 status collapsed
19983
19984 \begin_layout Plain Layout
19985 MaxCiteNames
19986 \end_layout
19987
19988 \end_inset
19989
19990 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
19991 \end_layout
19992
19993 \end_deeper
19994 \begin_layout Enumerate
19995 書誌情報項目中の姓名の順序が異なっている場合の,姓名付き名前リスト(例:「Miller, John: 何らかの文, in: Mary Smith,
19996  ed.: A volume」
19997 \end_layout
19998
19999 \begin_deeper
20000 \begin_layout Itemize
20001 \begin_inset Flex Code
20002 status collapsed
20003
20004 \begin_layout Plain Layout
20005 %abbrvbynames:<nametype>%
20006 \end_layout
20007
20008 \end_inset
20009
20010
20011 \begin_inset Flex Code
20012 status collapsed
20013
20014 \begin_layout Plain Layout
20015 MaxCiteNames
20016 \end_layout
20017
20018 \end_inset
20019
20020 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
20021 \end_layout
20022
20023 \begin_layout Itemize
20024 \begin_inset Flex Code
20025 status collapsed
20026
20027 \begin_layout Plain Layout
20028 %fullbynames:<nametype>%
20029 \end_layout
20030
20031 \end_inset
20032
20033 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
20034 \end_layout
20035
20036 \begin_layout Itemize
20037 \begin_inset Flex Code
20038 status collapsed
20039
20040 \begin_layout Plain Layout
20041 %forceabbrvbynames:<nametype>%
20042 \end_layout
20043
20044 \end_inset
20045
20046
20047 \begin_inset Flex Code
20048 status collapsed
20049
20050 \begin_layout Plain Layout
20051 MaxCiteNames
20052 \end_layout
20053
20054 \end_inset
20055
20056 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20057 \end_layout
20058
20059 \end_deeper
20060 \begin_layout Enumerate
20061 著者-発行年引用ラベルで用いられるような,姓のみを含む姓リスト.これらは
20062 \begin_inset Flex Code
20063 status collapsed
20064
20065 \begin_layout Plain Layout
20066 <nametype>
20067 \end_layout
20068
20069 \end_inset
20070
20071 部分を取りませんが,(著者-発行年ラベルで通例であるように)常に著者リストか,存在しない場合には編者リストを返します.
20072 \end_layout
20073
20074 \begin_deeper
20075 \begin_layout Itemize
20076 \begin_inset Flex Code
20077 status collapsed
20078
20079 \begin_layout Plain Layout
20080 %abbrvciteauthor%
20081 \end_layout
20082
20083 \end_inset
20084
20085
20086 \begin_inset Flex Code
20087 status collapsed
20088
20089 \begin_layout Plain Layout
20090 MaxCiteNames
20091 \end_layout
20092
20093 \end_inset
20094
20095 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
20096 \end_layout
20097
20098 \begin_layout Itemize
20099 \begin_inset Flex Code
20100 status collapsed
20101
20102 \begin_layout Plain Layout
20103 %fullciteauthor%
20104 \end_layout
20105
20106 \end_inset
20107
20108 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
20109 \end_layout
20110
20111 \begin_layout Itemize
20112 \begin_inset Flex Code
20113 status collapsed
20114
20115 \begin_layout Plain Layout
20116 %forceabbrvciteauthor%
20117 \end_layout
20118
20119 \end_inset
20120
20121
20122 \begin_inset Flex Code
20123 status collapsed
20124
20125 \begin_layout Plain Layout
20126 MaxCiteNames
20127 \end_layout
20128
20129 \end_inset
20130
20131 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20132 \end_layout
20133
20134 \end_deeper
20135 \begin_layout Standard
20136 前二者の姓名の順序は,下記のマクロで変更することができます.
20137 \end_layout
20138
20139 \begin_layout Itemize
20140 \begin_inset Flex Code
20141 status collapsed
20142
20143 \begin_layout Plain Layout
20144 !firstnameform %surname%, %prename%
20145 \end_layout
20146
20147 \end_inset
20148
20149 (1の場合の最初の著者)
20150 \end_layout
20151
20152 \begin_layout Itemize
20153 \begin_inset Flex Code
20154 status collapsed
20155
20156 \begin_layout Plain Layout
20157 !othernameform %surname%, %prename%
20158 \end_layout
20159
20160 \end_inset
20161
20162 (1の場合の他の著者)
20163 \end_layout
20164
20165 \begin_layout Itemize
20166 \begin_inset Flex Code
20167 status collapsed
20168
20169 \begin_layout Plain Layout
20170 !firstbynameform %prename% %surname%
20171 \end_layout
20172
20173 \end_inset
20174
20175 (2の場合の最初の著者)
20176 \end_layout
20177
20178 \begin_layout Itemize
20179 \begin_inset Flex Code
20180 status collapsed
20181
20182 \begin_layout Plain Layout
20183 !otherbynameform %prename% %surname%
20184 \end_layout
20185
20186 \end_inset
20187
20188 (2の場合の他の著者)
20189 \end_layout
20190
20191 \begin_layout Standard
20192 これによって,名前を「Miller, Peter and Mary Smith: \SpecialChar ldots
20193 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
20194 」のように
20195 設定することができます.
20196 \end_layout
20197
20198 \begin_layout Standard
20199 もう一つ,定義中で使用することのできる文法として,
20200 \begin_inset Flex Code
20201 status collapsed
20202
20203 \begin_layout Plain Layout
20204 {!<i>!}
20205 \end_layout
20206
20207 \end_inset
20208
20209 という形をしたものがあります.これは,「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,平文を書き出すときには,HTMLタ
20210 グを出力させたくはありませんから,HTMLタグは「
20211 \begin_inset Flex Code
20212 status collapsed
20213
20214 \begin_layout Plain Layout
20215 {!
20216 \end_layout
20217
20218 \end_inset
20219
20220 」と「
20221 \begin_inset Flex Code
20222 status collapsed
20223
20224 \begin_layout Plain Layout
20225 !}
20226 \end_layout
20227
20228 \end_inset
20229
20230 」でくるんでやらなくてはならないのです.
20231 \end_layout
20232
20233 \begin_layout Standard
20234 \begin_inset Flex Code
20235 status collapsed
20236
20237 \begin_layout Plain Layout
20238 CiteFormat
20239 \end_layout
20240
20241 \end_inset
20242
20243 ブロックでは,他に2つの特殊な定義が可能です.一つめの例としては,
20244 \end_layout
20245
20246 \begin_layout LyX-Code
20247 !quotetitle 
20248 \begin_inset Quotes eld
20249 \end_inset
20250
20251 %title%
20252 \begin_inset Quotes erd
20253 \end_inset
20254
20255
20256 \end_layout
20257
20258 \begin_layout Standard
20259 といった例が挙げられます.これは,短縮形ないしはマクロであり,
20260 \begin_inset Flex Code
20261 status collapsed
20262
20263 \begin_layout Plain Layout
20264 %!quotetitle%
20265 \end_layout
20266
20267 \end_inset
20268
20269 のように,これがキーであるかのように扱って使用することができます.\SpecialChar LyX
20270 は,
20271 \begin_inset Flex Code
20272 status collapsed
20273
20274 \begin_layout Plain Layout
20275 %!quotetitle%
20276 \end_layout
20277
20278 \end_inset
20279
20280 を,そこで定義されているものを扱う場合と同じように取り扱います.ですから,明白な警告を敢えてさせて頂くと,
20281 \end_layout
20282
20283 \begin_layout LyX-Code
20284 !funfun %funfun%
20285 \end_layout
20286
20287 \begin_layout Standard
20288 のようなことはしないでください.\SpecialChar LyX
20289 は,無限ループに陥るようなことはありませんが,諦めるまでに時間のかかる長いループに入るかもしれません.
20290 \end_layout
20291
20292 \begin_layout Standard
20293 特殊な定義の二つめは,
20294 \end_layout
20295
20296 \begin_layout LyX-Code
20297 B_pptext pp.
20298 \end_layout
20299
20300 \begin_layout Standard
20301 のようなものです.これは翻訳対象となるテキスト部分を定義し,これによって書誌情報や引用の対応する部分が翻訳されるようになります.
20302 \begin_inset Flex Code
20303 status collapsed
20304
20305 \begin_layout Plain Layout
20306 %B_pptext%
20307 \end_layout
20308
20309 \end_inset
20310
20311 のように,これをキーとして扱って,定義の中に入れることもできます.
20312 \lang english
20313 Note that there are two different translation paths: All definitions starting
20314  with 
20315 \begin_inset Flex Code
20316 status collapsed
20317
20318 \begin_layout Plain Layout
20319
20320 \lang english
20321 B_
20322 \end_layout
20323
20324 \end_inset
20325
20326 , such as in the example above, will be translated to the currently active
20327  buffer language (so the translation will match the generated document).
20328  All definitions starting with underscore only will be translated to the
20329  GUI language.
20330  This is the proper translation for strings that only occur in the dialogs
20331  or on buttons, such as this one:
20332 \end_layout
20333
20334 \begin_layout LyX-Code
20335
20336 \lang english
20337 _addtobib Add to bibliography only.
20338 \end_layout
20339
20340 \begin_layout Standard
20341 これらのうちいくつかは
20342 \lang english
20343 translatable strings
20344 \lang japanese
20345
20346 \begin_inset Flex Code
20347 status collapsed
20348
20349 \begin_layout Plain Layout
20350 stdciteformats.inc
20351 \end_layout
20352
20353 \end_inset
20354
20355 及び様々な
20356 \begin_inset Flex Code
20357 status collapsed
20358
20359 \begin_layout Plain Layout
20360 *.citeengine
20361 \end_layout
20362
20363 \end_inset
20364
20365 ファイル中に事前定義されています.これは,上記で述べたような意味でのマクロではないことに注意してください.
20366 \end_layout
20367
20368 \begin_layout Standard
20369 以下は,これらの機能を全て使った例です.
20370 \begin_inset VSpace defskip
20371 \end_inset
20372
20373
20374 \end_layout
20375
20376 \begin_layout Standard
20377 \noindent
20378
20379 \family sans
20380 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %B_edtext%, ]]}]]}
20381 \end_layout
20382
20383 \begin_layout Standard
20384 \begin_inset VSpace defskip
20385 \end_inset
20386
20387 これは,
20388 \begin_inset Flex Code
20389 status collapsed
20390
20391 \begin_layout Plain Layout
20392 author
20393 \end_layout
20394
20395 \end_inset
20396
20397 キーが定義されているならば,著者とコンマを出力し,
20398 \begin_inset Flex Code
20399 status collapsed
20400
20401 \begin_layout Plain Layout
20402 author
20403 \end_layout
20404
20405 \end_inset
20406
20407 キーが定義されておらず,
20408 \begin_inset Flex Code
20409 status collapsed
20410
20411 \begin_layout Plain Layout
20412 editor
20413 \end_layout
20414
20415 \end_inset
20416
20417 キーが定義されているならば,編集者名の後に
20418 \begin_inset Flex Code
20419 status collapsed
20420
20421 \begin_layout Plain Layout
20422 B_edtext
20423 \end_layout
20424
20425 \end_inset
20426
20427 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
20428 \begin_inset Flex Code
20429 status collapsed
20430
20431 \begin_layout Plain Layout
20432 stdciteformats.inc
20433 \end_layout
20434
20435 \end_inset
20436
20437 の中で定義されていますので,このファイルをまず読みこめば,ご自身の定義ないしは再定義の中で使用することができます.
20438 \end_layout
20439
20440 \begin_layout Section
20441 \begin_inset CommandInset label
20442 LatexCommand label
20443 name "sec:XHTML出力のタグ"
20444
20445 \end_inset
20446
20447 XHTML出力のタグ
20448 \end_layout
20449
20450 \begin_layout Standard
20451 \SpecialChar LaTeX
20452 やDocBookと同様,\SpecialChar LyX
20453 のXHTML出力の書式も,レイアウト情報によって制御することができます.一般的に,\SpecialChar LyX
20454 は適切な既定値を提供し,前述したように,他のレイアウト
20455 タグに基づいて,既定のCSSスタイルの構成まで行ないます.たとえば,章見出しを適切に整形するためのCSSを書き出すために,\SpecialChar LyX
20456 は,章様式の
20457 \begin_inset Flex Code
20458 status collapsed
20459
20460 \begin_layout Plain Layout
20461 Font
20462 \end_layout
20463
20464 \end_inset
20465
20466 宣言で提供されている情報を利用しようと試みます.
20467 \end_layout
20468
20469 \begin_layout Standard
20470 したがって,多くの場合,使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,まったく何もしなくてよいことになるでしょう.しかしながら
20471 ,これが必要になる場合もあるので,\SpecialChar LyX
20472 は,生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,たくさん提供しています.
20473 \end_layout
20474
20475 \begin_layout Standard
20476 様式宣言や差込枠宣言の外で使用することができるタグに,
20477 \begin_inset Flex Code
20478 status collapsed
20479
20480 \begin_layout Plain Layout
20481 HTMLPreamble
20482 \end_layout
20483
20484 \end_inset
20485
20486
20487 \begin_inset Flex Code
20488 status collapsed
20489
20490 \begin_layout Plain Layout
20491 AddToHTMLPreamble
20492 \end_layout
20493
20494 \end_inset
20495
20496 の2つがあることに注意してください.これらの詳細については,
20497 \begin_inset CommandInset ref
20498 LatexCommand ref
20499 reference "subsec:汎用テキストクラスパラメータ"
20500
20501 \end_inset
20502
20503 をご覧ください.
20504 \end_layout
20505
20506 \begin_layout Subsection
20507 \begin_inset CommandInset label
20508 LatexCommand label
20509 name "subsec:段落様式-XHTML"
20510
20511 \end_inset
20512
20513 段落様式
20514 \end_layout
20515
20516 \begin_layout Standard
20517 \SpecialChar LyX
20518 が段落のために出力するXHTMLの種類は,通常の段落を取り扱っているのか,コマンドを取り扱っているのか,あるいは環境を取り扱っているのかに依存し,これは対応する
20519 \begin_inset Flex Code
20520 status collapsed
20521
20522 \begin_layout Plain Layout
20523 \SpecialChar LaTeX
20524 Type
20525 \end_layout
20526
20527 \end_inset
20528
20529 タグの内容によって決定されます.
20530 \end_layout
20531
20532 \begin_layout Standard
20533 コマンドや通常の段落の場合には,XHTML出力は以下の形になります.
20534 \end_layout
20535
20536 \begin_layout LyX-Code
20537
20538 \family sans
20539 <tag attr=
20540 \begin_inset Quotes erd
20541 \end_inset
20542
20543 value
20544 \begin_inset Quotes erd
20545 \end_inset
20546
20547 >
20548 \end_layout
20549
20550 \begin_layout LyX-Code
20551
20552 \family sans
20553 <labeltag attr=
20554 \begin_inset Quotes erd
20555 \end_inset
20556
20557 value
20558 \begin_inset Quotes erd
20559 \end_inset
20560
20561 >ラベル</labeltag>
20562 \end_layout
20563
20564 \begin_layout LyX-Code
20565
20566 \family sans
20567 段落の内容
20568 \end_layout
20569
20570 \begin_layout LyX-Code
20571
20572 \family sans
20573 </tag>
20574 \end_layout
20575
20576 \begin_layout Standard
20577 もちろん,段落にラベルがなければ,ラベルタグは省略することができます.
20578 \end_layout
20579
20580 \begin_layout Standard
20581 環境のうち,リストの変種でないものに関しては,XHTMLは以下の形を取ります.
20582 \end_layout
20583
20584 \begin_layout LyX-Code
20585
20586 \family sans
20587 <tag attr=
20588 \begin_inset Quotes erd
20589 \end_inset
20590
20591 value
20592 \begin_inset Quotes erd
20593 \end_inset
20594
20595 >
20596 \end_layout
20597
20598 \begin_layout LyX-Code
20599
20600 \family sans
20601 <itemtag attr=
20602 \begin_inset Quotes erd
20603 \end_inset
20604
20605 value
20606 \begin_inset Quotes erd
20607 \end_inset
20608
20609 ><labeltag attr=
20610 \begin_inset Quotes erd
20611 \end_inset
20612
20613 value
20614 \begin_inset Quotes erd
20615 \end_inset
20616
20617 >環境ラベル</labeltag>最初の段落.
20618 \end_layout
20619
20620 \begin_layout LyX-Code
20621
20622 \family sans
20623 </itemtag>
20624 \end_layout
20625
20626 \begin_layout LyX-Code
20627
20628 \family sans
20629 <itemtag>二つめの段落.</itemtag>
20630 \end_layout
20631
20632 \begin_layout LyX-Code
20633
20634 \family sans
20635 </tag>
20636 \end_layout
20637
20638 \begin_layout Standard
20639 ラベルは,たとえば定理の場合にそうであるように,最初の段落にだけ出力されることに注意してください.
20640 \end_layout
20641
20642 \begin_layout Standard
20643 リストに関しては,次のような形になります.
20644 \end_layout
20645
20646 \begin_layout LyX-Code
20647
20648 \family sans
20649 <tag attr=
20650 \begin_inset Quotes erd
20651 \end_inset
20652
20653 value
20654 \begin_inset Quotes erd
20655 \end_inset
20656
20657 >
20658 \end_layout
20659
20660 \begin_layout LyX-Code
20661
20662 \family sans
20663 <itemtag attr=
20664 \begin_inset Quotes erd
20665 \end_inset
20666
20667 value
20668 \begin_inset Quotes erd
20669 \end_inset
20670
20671 ><labeltag attr=
20672 \begin_inset Quotes erd
20673 \end_inset
20674
20675 value
20676 \begin_inset Quotes erd
20677 \end_inset
20678
20679 >リストのラベル</labeltag>最初の項目.</itemtag>
20680 \end_layout
20681
20682 \begin_layout LyX-Code
20683
20684 \family sans
20685 <itemtag attr=
20686 \begin_inset Quotes erd
20687 \end_inset
20688
20689 value
20690 \begin_inset Quotes erd
20691 \end_inset
20692
20693 ><labeltag attr=
20694 \begin_inset Quotes erd
20695 \end_inset
20696
20697 value
20698 \begin_inset Quotes erd
20699 \end_inset
20700
20701 >リストのラベル</labeltag>二つめの項目.</itemtag>
20702 \end_layout
20703
20704 \begin_layout LyX-Code
20705
20706 \family sans
20707 </tag>
20708 \end_layout
20709
20710 \begin_layout LyX-Code
20711
20712 \end_layout
20713
20714 \begin_layout LyX-Code
20715
20716 \family sans
20717 <tag attr=
20718 \begin_inset Quotes erd
20719 \end_inset
20720
20721 value
20722 \begin_inset Quotes erd
20723 \end_inset
20724
20725 >
20726 \end_layout
20727
20728 \begin_layout LyX-Code
20729
20730 \family sans
20731 <labeltag attr=
20732 \begin_inset Quotes erd
20733 \end_inset
20734
20735 value
20736 \begin_inset Quotes erd
20737 \end_inset
20738
20739 >リストのラベル</labeltag><itemtag attr=
20740 \begin_inset Quotes erd
20741 \end_inset
20742
20743 value
20744 \begin_inset Quotes erd
20745 \end_inset
20746
20747 >最初の項目.</itemtag>
20748 \end_layout
20749
20750 \begin_layout LyX-Code
20751
20752 \family sans
20753 <labeltag attr=
20754 \begin_inset Quotes erd
20755 \end_inset
20756
20757 value
20758 \begin_inset Quotes erd
20759 \end_inset
20760
20761 >リストのラベル</labeltag><itemtag attr=
20762 \begin_inset Quotes erd
20763 \end_inset
20764
20765 value
20766 \begin_inset Quotes erd
20767 \end_inset
20768
20769 >二つめの項目</itemtag>
20770 \end_layout
20771
20772 \begin_layout LyX-Code
20773
20774 \family sans
20775 </tag>
20776 \end_layout
20777
20778 \begin_layout Standard
20779 ここで
20780 \begin_inset Flex Code
20781 status collapsed
20782
20783 \begin_layout Plain Layout
20784 labeltag
20785 \end_layout
20786
20787 \end_inset
20788
20789
20790 \begin_inset Flex Code
20791 status collapsed
20792
20793 \begin_layout Plain Layout
20794 itemtag
20795 \end_layout
20796
20797 \end_inset
20798
20799 の順序が違っていることに注意してください.どちらの順序になるかは,
20800 \begin_inset Flex Code
20801 status collapsed
20802
20803 \begin_layout Plain Layout
20804 HTMLLabelFirst
20805 \end_layout
20806
20807 \end_inset
20808
20809 の設定に依存します.もし
20810 \begin_inset Flex Code
20811 status collapsed
20812
20813 \begin_layout Plain Layout
20814 HTMLLabelFirst
20815 \end_layout
20816
20817 \end_inset
20818
20819 が偽であれば(既定値),最初のケースのようになり,これが真であれば,二番めのケースのように,labelがitemの外側に来るようになります.
20820 \end_layout
20821
20822 \begin_layout Standard
20823 各段落の特定のタグ出力や属性出力は,以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,前述のように,多くの場合,\SpecialChar LyX
20824 は適切な既定値を生成
20825 するので,たいしたことをしなくても,望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,自分の好みにあわせて微調整する目的
20826 でここにあるものと考えてください.
20827 \end_layout
20828
20829 \begin_layout Description
20830 \begin_inset Flex Code
20831 status collapsed
20832
20833 \begin_layout Plain Layout
20834 HTMLAttr
20835 \end_layout
20836
20837 \end_inset
20838
20839  [
20840 \begin_inset Flex Code
20841 status collapsed
20842
20843 \begin_layout Plain Layout
20844 文字列
20845 \end_layout
20846
20847 \end_inset
20848
20849 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
20850 \begin_inset Flex Code
20851 status collapsed
20852
20853 \begin_layout Plain Layout
20854 class=`mydiv'
20855 \end_layout
20856
20857 \end_inset
20858
20859 」のようなものです.既定においては,\SpecialChar LyX
20860 は「
20861 \begin_inset Flex Code
20862 status collapsed
20863
20864 \begin_layout Plain Layout
20865 class=`レイアウト名'
20866 \end_layout
20867
20868 \end_inset
20869
20870 」と出力します.ここで
20871 \begin_inset Flex Code
20872 status collapsed
20873
20874 \begin_layout Plain Layout
20875 レイアウト名
20876 \end_layout
20877
20878 \end_inset
20879
20880 は,レイアウトの\SpecialChar LyX
20881 名であり,chapterのように小文字で記述します.
20882 \end_layout
20883
20884 \begin_layout Description
20885 \begin_inset Flex Code
20886 status collapsed
20887
20888 \begin_layout Plain Layout
20889 HTMLForceCSS
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 \emph on
20901 0
20902 \emph default
20903 ,1
20904 \end_layout
20905
20906 \end_inset
20907
20908 ] 
20909 \begin_inset Flex Code
20910 status collapsed
20911
20912 \begin_layout Plain Layout
20913 HTMLStyle
20914 \end_layout
20915
20916 \end_inset
20917
20918 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
20919 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
20920 \begin_inset Flex Code
20921 status collapsed
20922
20923 \begin_layout Plain Layout
20924 1
20925 \end_layout
20926
20927 \end_inset
20928
20929 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
20930 \begin_inset Flex Code
20931 status collapsed
20932
20933 \begin_layout Plain Layout
20934 0
20935 \end_layout
20936
20937 \end_inset
20938
20939 です.
20940 \end_layout
20941
20942 \begin_layout Description
20943 \begin_inset Flex Code
20944 status collapsed
20945
20946 \begin_layout Plain Layout
20947 HTMLItem
20948 \end_layout
20949
20950 \end_inset
20951
20952  [
20953 \begin_inset Flex Code
20954 status collapsed
20955
20956 \begin_layout Plain Layout
20957 文字列
20958 \end_layout
20959
20960 \end_inset
20961
20962 ] 環境の段落に使用されるタグ.上記各例の
20963 \begin_inset Flex Code
20964 status collapsed
20965
20966 \begin_layout Plain Layout
20967 itemtag
20968 \end_layout
20969
20970 \end_inset
20971
20972 を置き換えます.既定値は
20973 \begin_inset Flex Code
20974 status collapsed
20975
20976 \begin_layout Plain Layout
20977 div
20978 \end_layout
20979
20980 \end_inset
20981
20982 です.
20983 \end_layout
20984
20985 \begin_layout Description
20986 \begin_inset Flex Code
20987 status collapsed
20988
20989 \begin_layout Plain Layout
20990 HTMLItemAttr
20991 \end_layout
20992
20993 \end_inset
20994
20995  [
20996 \begin_inset Flex Code
20997 status collapsed
20998
20999 \begin_layout Plain Layout
21000 文字列
21001 \end_layout
21002
21003 \end_inset
21004
21005 ] itemタグの属性.既定値は
21006 \begin_inset Flex Code
21007 status collapsed
21008
21009 \begin_layout Plain Layout
21010 class=`レイアウト名_item'
21011 \end_layout
21012
21013 \end_inset
21014
21015 です.ここには,様式情報は含まれては
21016 \emph on
21017 なりません
21018 \emph default
21019 .その目的のためには,
21020 \begin_inset Flex Code
21021 status collapsed
21022
21023 \begin_layout Plain Layout
21024 HTMLStyle
21025 \end_layout
21026
21027 \end_inset
21028
21029 を使用してください.
21030 \end_layout
21031
21032 \begin_layout Description
21033 \begin_inset Flex Code
21034 status collapsed
21035
21036 \begin_layout Plain Layout
21037 HTMLLabel
21038 \end_layout
21039
21040 \end_inset
21041
21042  [
21043 \begin_inset Flex Code
21044 status collapsed
21045
21046 \begin_layout Plain Layout
21047 文字列
21048 \end_layout
21049
21050 \end_inset
21051
21052 ] 段落と項目ラベルに使用されるタグ.上記各例の
21053 \begin_inset Flex Code
21054 status collapsed
21055
21056 \begin_layout Plain Layout
21057 labeltag
21058 \end_layout
21059
21060 \end_inset
21061
21062 を置き換えます.
21063 \begin_inset Flex Code
21064 status collapsed
21065
21066 \begin_layout Plain Layout
21067 LabelType
21068 \end_layout
21069
21070 \end_inset
21071
21072
21073 \begin_inset Flex Code
21074 status collapsed
21075
21076 \begin_layout Plain Layout
21077 Top_Environment
21078 \end_layout
21079
21080 \end_inset
21081
21082
21083 \begin_inset Flex Code
21084 status collapsed
21085
21086 \begin_layout Plain Layout
21087 Centered_Top_Environment
21088 \end_layout
21089
21090 \end_inset
21091
21092 の時は,既定値は
21093 \begin_inset Flex Code
21094 status collapsed
21095
21096 \begin_layout Plain Layout
21097 div
21098 \end_layout
21099
21100 \end_inset
21101
21102 ですが,それ以外の時の既定値は
21103 \begin_inset Flex Code
21104 status collapsed
21105
21106 \begin_layout Plain Layout
21107 span
21108 \end_layout
21109
21110 \end_inset
21111
21112 です.
21113 \end_layout
21114
21115 \begin_layout Description
21116 \begin_inset Flex Code
21117 status collapsed
21118
21119 \begin_layout Plain Layout
21120 HTMLLabelAttr
21121 \end_layout
21122
21123 \end_inset
21124
21125  [
21126 \begin_inset Flex Code
21127 status collapsed
21128
21129 \begin_layout Plain Layout
21130 文字列
21131 \end_layout
21132
21133 \end_inset
21134
21135 ] labelタグの属性.既定値は
21136 \begin_inset Flex Code
21137 status collapsed
21138
21139 \begin_layout Plain Layout
21140 class=`レイアウト名_label'
21141 \end_layout
21142
21143 \end_inset
21144
21145 です.ここには,様式情報は含まれては
21146 \emph on
21147 なりません
21148 \emph default
21149 .その目的のためには,
21150 \begin_inset Flex Code
21151 status collapsed
21152
21153 \begin_layout Plain Layout
21154 HTMLStyle
21155 \end_layout
21156
21157 \end_inset
21158
21159 を使用してください.
21160 \end_layout
21161
21162 \begin_layout Description
21163 \begin_inset Flex Code
21164 status collapsed
21165
21166 \begin_layout Plain Layout
21167 HTMLLabelFirst
21168 \end_layout
21169
21170 \end_inset
21171
21172  [
21173 \begin_inset Flex Code
21174 status collapsed
21175
21176 \begin_layout Plain Layout
21177
21178 \emph on
21179 0
21180 \emph default
21181 ,1
21182 \end_layout
21183
21184 \end_inset
21185
21186 ] このタグは,リスト関係環境でのみ意味を持ち,labelタグが,itemタグの前に出力されるか,中に出力されるかを制御します.これは,たとえば,descrip
21187 tion環境の中で,
21188 \begin_inset Flex Code
21189 status collapsed
21190
21191 \begin_layout Plain Layout
21192 `<dt>\SpecialChar ldots
21193 </dt><dd>\SpecialChar ldots
21194 </dd>
21195 \end_layout
21196
21197 \end_inset
21198
21199 という形を得るために使用されます.既定値は
21200 \begin_inset Flex Code
21201 status collapsed
21202
21203 \begin_layout Plain Layout
21204 0
21205 \end_layout
21206
21207 \end_inset
21208
21209 で,labelタグはitemタグの中に出力されます.
21210 \end_layout
21211
21212 \begin_layout Description
21213 \begin_inset Flex Code
21214 status collapsed
21215
21216 \begin_layout Plain Layout
21217 HTMLPreamble
21218 \end_layout
21219
21220 \end_inset
21221
21222  この様式が使用されたときに,
21223 \begin_inset Flex Code
21224 status collapsed
21225
21226 \begin_layout Plain Layout
21227 <head>
21228 \end_layout
21229
21230 \end_inset
21231
21232 セクションに出力される情報.これは,たとえば,
21233 \begin_inset Flex Code
21234 status collapsed
21235
21236 \begin_layout Plain Layout
21237 onclick
21238 \end_layout
21239
21240 \end_inset
21241
21242 ハンドラを定義するために
21243 \begin_inset Flex Code
21244 status collapsed
21245
21246 \begin_layout Plain Layout
21247 <script>
21248 \end_layout
21249
21250 \end_inset
21251
21252 ブロックをインクルードするのに使用することができます.
21253 \end_layout
21254
21255 \begin_layout Description
21256 \begin_inset Flex Code
21257 status collapsed
21258
21259 \begin_layout Plain Layout
21260 HTMLStyle
21261 \end_layout
21262
21263 \end_inset
21264
21265   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21266 \begin_inset Flex Code
21267 status collapsed
21268
21269 \begin_layout Plain Layout
21270 <style>
21271 \end_layout
21272
21273 \end_inset
21274
21275 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21276 \begin_inset Flex Code
21277 status collapsed
21278
21279 \begin_layout Plain Layout
21280 EndHTMLStyle
21281 \end_layout
21282
21283 \end_inset
21284
21285 で閉じなくてはなりません.
21286 \end_layout
21287
21288 \begin_layout Description
21289 \begin_inset Flex Code
21290 status collapsed
21291
21292 \begin_layout Plain Layout
21293 HTMLTag
21294 \end_layout
21295
21296 \end_inset
21297
21298  [
21299 \begin_inset Flex Code
21300 status collapsed
21301
21302 \begin_layout Plain Layout
21303 文字列
21304 \end_layout
21305
21306 \end_inset
21307
21308 ] 主幹ラベルに使用されるタグ.上記各例の
21309 \begin_inset Flex Code
21310 status collapsed
21311
21312 \begin_layout Plain Layout
21313 tag
21314 \end_layout
21315
21316 \end_inset
21317
21318 を置き換えます.既定値は
21319 \begin_inset Flex Code
21320 status collapsed
21321
21322 \begin_layout Plain Layout
21323 div
21324 \end_layout
21325
21326 \end_inset
21327
21328 です.
21329 \end_layout
21330
21331 \begin_layout Description
21332 \begin_inset Flex Code
21333 status collapsed
21334
21335 \begin_layout Plain Layout
21336 HTMLTitle
21337 \end_layout
21338
21339 \end_inset
21340
21341  [
21342 \begin_inset Flex Code
21343 status collapsed
21344
21345 \begin_layout Plain Layout
21346
21347 \emph on
21348 0
21349 \emph default
21350 ,1
21351 \end_layout
21352
21353 \end_inset
21354
21355 ] この様式が,XHTMLファイルの
21356 \begin_inset Flex Code
21357 status collapsed
21358
21359 \begin_layout Plain Layout
21360 <title>
21361 \end_layout
21362
21363 \end_inset
21364
21365 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
21366 \begin_inset Flex Code
21367 status collapsed
21368
21369 \begin_layout Plain Layout
21370 stdtitle.inc
21371 \end_layout
21372
21373 \end_inset
21374
21375 ファイルでは,
21376 \begin_inset Flex Code
21377 status collapsed
21378
21379 \begin_layout Plain Layout
21380 title
21381 \end_layout
21382
21383 \end_inset
21384
21385 環境のこの項目を真に設定しています.
21386 \end_layout
21387
21388 \begin_layout Subsection
21389 差込枠レイアウトXHTML
21390 \end_layout
21391
21392 \begin_layout Standard
21393 差込枠のXHTML出力も,レイアウトファイル内の情報によって制御することができます
21394 \begin_inset Foot
21395 status collapsed
21396
21397 \begin_layout Plain Layout
21398 現在のところ,これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されませ
21399 ん.
21400 \end_layout
21401
21402 \end_inset
21403
21404 .ここでも,\SpecialChar LyX
21405 は適切な既定値を提供しようと試み,既定のCSS様式を構成します.しかし,すべてカスタマイズ可能です.
21406 \end_layout
21407
21408 \begin_layout Standard
21409 \SpecialChar LyX
21410 が差込枠用に出力するXHTMLは,以下の形を取ります.
21411 \end_layout
21412
21413 \begin_layout LyX-Code
21414 <tag attr=
21415 \begin_inset Quotes erd
21416 \end_inset
21417
21418 value
21419 \begin_inset Quotes erd
21420 \end_inset
21421
21422 >
21423 \end_layout
21424
21425 \begin_layout LyX-Code
21426 <labeltag>ラベル</labeltag>
21427 \end_layout
21428
21429 \begin_layout LyX-Code
21430 <innertag attr=
21431 \begin_inset Quotes erd
21432 \end_inset
21433
21434 value
21435 \begin_inset Quotes erd
21436 \end_inset
21437
21438 >差込枠の内容.</innertag>
21439 \end_layout
21440
21441 \begin_layout LyX-Code
21442 </tag>
21443 \end_layout
21444
21445 \begin_layout Standard
21446 差込枠が多段落を許可している—つまり
21447 \begin_inset Flex Code
21448 status collapsed
21449
21450 \begin_layout Plain Layout
21451 MultiPar
21452 \end_layout
21453
21454 \end_inset
21455
21456 が真—ならば,差込枠の内容は,それ自身段落として出力され,それらの段落に用いられる様式(標準,引用など)を用いて整形されます.もちろん,段落にラベルがなければ,
21457 labelタグは省略され,ラベルがあれば,現在のところ,つねに
21458 \begin_inset Flex Code
21459 status collapsed
21460
21461 \begin_layout Plain Layout
21462 span
21463 \end_layout
21464
21465 \end_inset
21466
21467 が用いられます.innerタグは非必須であり,既定では出力されません.各差込枠用に出力される特定のタグや属性は,以下のレイアウトタグによって制御することができま
21468 す.
21469 \end_layout
21470
21471 \begin_layout Description
21472 \begin_inset Flex Code
21473 status collapsed
21474
21475 \begin_layout Plain Layout
21476 HTMLAttr
21477 \end_layout
21478
21479 \end_inset
21480
21481  [
21482 \begin_inset Flex Code
21483 status collapsed
21484
21485 \begin_layout Plain Layout
21486 文字列
21487 \end_layout
21488
21489 \end_inset
21490
21491 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21492 \begin_inset Flex Code
21493 status collapsed
21494
21495 \begin_layout Plain Layout
21496 class=`myinset' onclick=`\SpecialChar ldots
21497 '
21498 \end_layout
21499
21500 \end_inset
21501
21502 」のようなものです.既定においては,\SpecialChar LyX
21503 は「
21504 \begin_inset Flex Code
21505 status collapsed
21506
21507 \begin_layout Plain Layout
21508 class=`差込枠名'
21509 \end_layout
21510
21511 \end_inset
21512
21513 」と出力します.ここで
21514 \begin_inset Flex Code
21515 status collapsed
21516
21517 \begin_layout Plain Layout
21518 差込枠名
21519 \end_layout
21520
21521 \end_inset
21522
21523 は,差込枠の\SpecialChar LyX
21524 名であり,小文字で記述します.アルファベットや数字以外の文字は,アンダースコアに置き換えられます.
21525 \end_layout
21526
21527 \begin_layout Description
21528 \begin_inset Flex Code
21529 status collapsed
21530
21531 \begin_layout Plain Layout
21532 HTMLForceCSS
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 \emph on
21544 0
21545 \emph default
21546 ,1
21547 \end_layout
21548
21549 \end_inset
21550
21551 ] 
21552 \begin_inset Flex Code
21553 status collapsed
21554
21555 \begin_layout Plain Layout
21556 HTMLStyle
21557 \end_layout
21558
21559 \end_inset
21560
21561 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
21562 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
21563 \begin_inset Flex Code
21564 status collapsed
21565
21566 \begin_layout Plain Layout
21567 1
21568 \end_layout
21569
21570 \end_inset
21571
21572 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
21573 \begin_inset Flex Code
21574 status collapsed
21575
21576 \begin_layout Plain Layout
21577 0
21578 \end_layout
21579
21580 \end_inset
21581
21582 です.
21583 \end_layout
21584
21585 \begin_layout Description
21586 \begin_inset Flex Code
21587 status collapsed
21588
21589 \begin_layout Plain Layout
21590 HTMLInnerAttr
21591 \end_layout
21592
21593 \end_inset
21594
21595  [
21596 \begin_inset Flex Code
21597 status collapsed
21598
21599 \begin_layout Plain Layout
21600 文字列
21601 \end_layout
21602
21603 \end_inset
21604
21605 ] innerタグの属性.既定値は
21606 \begin_inset Flex Code
21607 status collapsed
21608
21609 \begin_layout Plain Layout
21610 class=`差込枠名_inner'
21611 \end_layout
21612
21613 \end_inset
21614
21615 です.
21616 \end_layout
21617
21618 \begin_layout Description
21619 \begin_inset Flex Code
21620 status collapsed
21621
21622 \begin_layout Plain Layout
21623 HTMLInnerTag
21624 \end_layout
21625
21626 \end_inset
21627
21628  [
21629 \begin_inset Flex Code
21630 status collapsed
21631
21632 \begin_layout Plain Layout
21633 文字列
21634 \end_layout
21635
21636 \end_inset
21637
21638 ] innerタグです.上記各例の
21639 \begin_inset Flex Code
21640 status collapsed
21641
21642 \begin_layout Plain Layout
21643 innertag
21644 \end_layout
21645
21646 \end_inset
21647
21648 を置き換えます.既定値はなしです.
21649 \end_layout
21650
21651 \begin_layout Description
21652 \begin_inset Flex Code
21653 status collapsed
21654
21655 \begin_layout Plain Layout
21656 HTMLIsBlock
21657 \end_layout
21658
21659 \end_inset
21660
21661  [
21662 \begin_inset Flex Code
21663 status collapsed
21664
21665 \begin_layout Plain Layout
21666 0,
21667 \emph on
21668 1
21669 \end_layout
21670
21671 \end_inset
21672
21673 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,それとも,(派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
21674 \end_layout
21675
21676 \begin_layout Description
21677 \begin_inset Flex Code
21678 status collapsed
21679
21680 \begin_layout Plain Layout
21681 HTMLLabel
21682 \end_layout
21683
21684 \end_inset
21685
21686  [
21687 \begin_inset Flex Code
21688 status collapsed
21689
21690 \begin_layout Plain Layout
21691 文字列
21692 \end_layout
21693
21694 \end_inset
21695
21696 ] 場合によっては,カウンタへの参照を含む,この差込枠のラベル.たとえば,脚註用には
21697 \begin_inset Flex Code
21698 status collapsed
21699
21700 \begin_layout Plain Layout
21701
21702 \backslash
21703 arabic{footnote}
21704 \end_layout
21705
21706 \end_inset
21707
21708 など.これは非必須であり,既定値はありません.
21709 \end_layout
21710
21711 \begin_layout Description
21712 \begin_inset Flex Code
21713 status collapsed
21714
21715 \begin_layout Plain Layout
21716 HTMLPreamble
21717 \end_layout
21718
21719 \end_inset
21720
21721  この様式が使用されたときに,
21722 \begin_inset Flex Code
21723 status collapsed
21724
21725 \begin_layout Plain Layout
21726 <head>
21727 \end_layout
21728
21729 \end_inset
21730
21731 セクションに出力される情報.これは,たとえば,
21732 \begin_inset Flex Code
21733 status collapsed
21734
21735 \begin_layout Plain Layout
21736 onclick
21737 \end_layout
21738
21739 \end_inset
21740
21741 ハンドラを定義するために
21742 \begin_inset Flex Code
21743 status collapsed
21744
21745 \begin_layout Plain Layout
21746 <script>
21747 \end_layout
21748
21749 \end_inset
21750
21751 ブロックをインクルードするのに使用することができます.
21752 \end_layout
21753
21754 \begin_layout Description
21755 \begin_inset Flex Code
21756 status collapsed
21757
21758 \begin_layout Plain Layout
21759 HTMLStyle
21760 \end_layout
21761
21762 \end_inset
21763
21764   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21765 \begin_inset Flex Code
21766 status collapsed
21767
21768 \begin_layout Plain Layout
21769 <style>
21770 \end_layout
21771
21772 \end_inset
21773
21774 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21775 \end_layout
21776
21777 \begin_layout Description
21778 \begin_inset Flex Code
21779 status collapsed
21780
21781 \begin_layout Plain Layout
21782 HTMLTag
21783 \end_layout
21784
21785 \end_inset
21786
21787  [
21788 \begin_inset Flex Code
21789 status collapsed
21790
21791 \begin_layout Plain Layout
21792 文字列
21793 \end_layout
21794
21795 \end_inset
21796
21797 ] 主幹ラベルに使用されるタグ.上記各例の
21798 \begin_inset Flex Code
21799 status collapsed
21800
21801 \begin_layout Plain Layout
21802 tag
21803 \end_layout
21804
21805 \end_inset
21806
21807 を置き換えます.既定値は
21808 \begin_inset Flex Code
21809 status collapsed
21810
21811 \begin_layout Plain Layout
21812 MultiPar
21813 \end_layout
21814
21815 \end_inset
21816
21817 の設定に依存し,
21818 \begin_inset Flex Code
21819 status collapsed
21820
21821 \begin_layout Plain Layout
21822 MultiPar
21823 \end_layout
21824
21825 \end_inset
21826
21827 が真ならば
21828 \begin_inset Flex Code
21829 status collapsed
21830
21831 \begin_layout Plain Layout
21832 div
21833 \end_layout
21834
21835 \end_inset
21836
21837 ,偽ならば
21838 \begin_inset Flex Code
21839 status collapsed
21840
21841 \begin_layout Plain Layout
21842 span
21843 \end_layout
21844
21845 \end_inset
21846
21847 です.
21848 \end_layout
21849
21850 \begin_layout Subsection
21851 フロートXHTML
21852 \end_layout
21853
21854 \begin_layout Standard
21855 フロートのXHTML出力も,レイアウトファイル内の情報によって制御することができます.出力は,以下の形を取ります.
21856 \end_layout
21857
21858 \begin_layout LyX-Code
21859 <tag attr=
21860 \begin_inset Quotes erd
21861 \end_inset
21862
21863 value
21864 \begin_inset Quotes erd
21865 \end_inset
21866
21867 >
21868 \end_layout
21869
21870 \begin_layout LyX-Code
21871 フロートの内容.
21872 \end_layout
21873
21874 \begin_layout LyX-Code
21875 </tag>
21876 \end_layout
21877
21878 \begin_layout Standard
21879 キャプションは,存在している場合には,独立した差込枠となり,そのような形で出力されます.その外観は,キャプション差込枠のInsetLayoutで制御することがで
21880 きます.
21881 \end_layout
21882
21883 \begin_layout Description
21884 \begin_inset Flex Code
21885 status collapsed
21886
21887 \begin_layout Plain Layout
21888 HTMLAttr
21889 \end_layout
21890
21891 \end_inset
21892
21893  [
21894 \begin_inset Flex Code
21895 status collapsed
21896
21897 \begin_layout Plain Layout
21898 文字列
21899 \end_layout
21900
21901 \end_inset
21902
21903 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21904 \begin_inset Flex Code
21905 status collapsed
21906
21907 \begin_layout Plain Layout
21908 class=`myfloat' onclick=`\SpecialChar ldots
21909 '
21910 \end_layout
21911
21912 \end_inset
21913
21914 」のようなものです.既定においては,\SpecialChar LyX
21915 は「
21916 \begin_inset Flex Code
21917 status collapsed
21918
21919 \begin_layout Plain Layout
21920 class=`float フロート-フロート型'
21921 \end_layout
21922
21923 \end_inset
21924
21925 」と出力します.ここで
21926 \begin_inset Flex Code
21927 status collapsed
21928
21929 \begin_layout Plain Layout
21930 フロート型
21931 \end_layout
21932
21933 \end_inset
21934
21935 は,フロート宣言で定義された(
21936 \begin_inset CommandInset ref
21937 LatexCommand ref
21938 reference "subsec:フロート"
21939
21940 \end_inset
21941
21942 参照),この型のフロートの\SpecialChar LyX
21943 名です.ただし,これは小文字に変換され,アルファベットや数字でない文字はアンダースコアに変換されます.例:float-table.
21944 \end_layout
21945
21946 \begin_layout Description
21947 \begin_inset Flex Code
21948 status collapsed
21949
21950 \begin_layout Plain Layout
21951 HTMLStyle
21952 \end_layout
21953
21954 \end_inset
21955
21956   このフロートが使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21957 \begin_inset Flex Code
21958 status collapsed
21959
21960 \begin_layout Plain Layout
21961 <style>
21962 \end_layout
21963
21964 \end_inset
21965
21966 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21967 \end_layout
21968
21969 \begin_layout Description
21970 \begin_inset Flex Code
21971 status collapsed
21972
21973 \begin_layout Plain Layout
21974 HTMLTag
21975 \end_layout
21976
21977 \end_inset
21978
21979  [
21980 \begin_inset Flex Code
21981 status collapsed
21982
21983 \begin_layout Plain Layout
21984 文字列
21985 \end_layout
21986
21987 \end_inset
21988
21989 ] このフロートに使用されるタグ.上記各例の
21990 \begin_inset Flex Code
21991 status collapsed
21992
21993 \begin_layout Plain Layout
21994 tag
21995 \end_layout
21996
21997 \end_inset
21998
21999 を置き換えます.既定値は
22000 \begin_inset Flex Code
22001 status collapsed
22002
22003 \begin_layout Plain Layout
22004 div
22005 \end_layout
22006
22007 \end_inset
22008
22009 であり,ほとんどの場合変更する必要はありません.
22010 \end_layout
22011
22012 \begin_layout Subsection
22013 書誌情報の整形
22014 \end_layout
22015
22016 \begin_layout Standard
22017 書誌情報は,
22018 \begin_inset Flex Code
22019 status collapsed
22020
22021 \begin_layout Plain Layout
22022 CiteFormat
22023 \end_layout
22024
22025 \end_inset
22026
22027 ブロックを使用して整形することができます.詳細については,
22028 \begin_inset CommandInset ref
22029 LatexCommand ref
22030 reference "subsec:引用書式指定"
22031
22032 \end_inset
22033
22034 を参照してください.
22035 \end_layout
22036
22037 \begin_layout Subsection
22038 \SpecialChar LyX
22039 が生成したCSS
22040 \end_layout
22041
22042 \begin_layout Standard
22043 \SpecialChar LyX
22044 は,提供されている他のレイアウト情報に基づいて,差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,これまでに何度か触れました.この節では,\SpecialChar LyX
22045
22046 がどのレイアウト情報を,どのように使うのか,ひとこと述べておきたいと思います.
22047 \end_layout
22048
22049 \begin_layout Standard
22050 \SpecialChar LyX
22051 は,現在のところ,
22052 \begin_inset Flex Code
22053 status collapsed
22054
22055 \begin_layout Plain Layout
22056 Font
22057 \end_layout
22058
22059 \end_inset
22060
22061 宣言で指定されている
22062 \begin_inset Flex Code
22063 status collapsed
22064
22065 \begin_layout Plain Layout
22066 Family
22067 \end_layout
22068
22069 \end_inset
22070
22071
22072 \begin_inset Flex Code
22073 status collapsed
22074
22075 \begin_layout Plain Layout
22076 Series
22077 \end_layout
22078
22079 \end_inset
22080
22081
22082 \begin_inset Flex Code
22083 status collapsed
22084
22085 \begin_layout Plain Layout
22086 Shape
22087 \end_layout
22088
22089 \end_inset
22090
22091
22092 \begin_inset Flex Code
22093 status collapsed
22094
22095 \begin_layout Plain Layout
22096 Size
22097 \end_layout
22098
22099 \end_inset
22100
22101 を利用して,フォント情報についてのみCSSを自動生成します(
22102 \begin_inset CommandInset ref
22103 LatexCommand ref
22104 reference "subsec:フォント指定"
22105
22106 \end_inset
22107
22108 を参照).この変換は,きわめて分かりやすく自明です.たとえば,「
22109 \begin_inset Flex Code
22110 status collapsed
22111
22112 \begin_layout Plain Layout
22113 Family Sans
22114 \end_layout
22115
22116 \end_inset
22117
22118 」は「
22119 \begin_inset Flex Code
22120 status collapsed
22121
22122 \begin_layout Plain Layout
22123 font-family: sans-serif
22124 \end_layout
22125
22126 \end_inset
22127
22128 」になります.\SpecialChar LyX
22129 の寸法とCSSの寸法のあいだの対応は,少し複雑ですが,それでも直感的に分かります.詳細については,
22130 \begin_inset Flex URL
22131 status collapsed
22132
22133 \begin_layout Plain Layout
22134
22135 src/FontInfo.cpp
22136 \end_layout
22137
22138 \end_inset
22139
22140
22141 \begin_inset Flex Code
22142 status collapsed
22143
22144 \begin_layout Plain Layout
22145 getSizeCSS()
22146 \end_layout
22147
22148 \end_inset
22149
22150 関数をご覧ください.
22151 \end_layout
22152
22153 \begin_layout Chapter
22154 外部素材を取り込む
22155 \begin_inset CommandInset label
22156 LatexCommand label
22157 name "chap:外部素材を取り込む"
22158
22159 \end_inset
22160
22161
22162 \end_layout
22163
22164 \begin_layout Standard
22165 \begin_inset Box Shadowbox
22166 position "t"
22167 hor_pos "c"
22168 has_inner_box 1
22169 inner_pos "t"
22170 use_parbox 0
22171 use_makebox 0
22172 width "100col%"
22173 special "none"
22174 height "1in"
22175 height_special "totalheight"
22176 thickness "0.4pt"
22177 separation "3pt"
22178 shadowsize "4pt"
22179 framecolor "black"
22180 backgroundcolor "none"
22181 status open
22182
22183 \begin_layout Plain Layout
22184 【警告】本説明書のこの部分は,しばらく更新されていません.もちろんまだ正確であることを期待していますが,保証の限りではありません.
22185 \end_layout
22186
22187 \end_inset
22188
22189
22190 \end_layout
22191
22192 \begin_layout Standard
22193 \SpecialChar LyX
22194 外部のソースから素材を使用する方法は,取扱説明書『
22195 \emph on
22196 埋込オブジェクト篇
22197 \emph default
22198 』で詳細にカバーされています.本章は,新種の素材を取り込む際に,舞台裏で何をする必要があるかをカバーします.
22199 \end_layout
22200
22201 \begin_layout Section
22202 どのように機能するのか
22203 \end_layout
22204
22205 \begin_layout Standard
22206 外部素材の機能は,ひな型の概念に基づいています.ひな型は,\SpecialChar LyX
22207 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,\SpecialChar LyX
22208 は,Xfigの図や,様々
22209 なラスター形式画像,チェス棋譜,LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
22210 \begin_inset Flex MenuItem
22211 status collapsed
22212
22213 \begin_layout Plain Layout
22214 挿入\SpecialChar menuseparator
22215 ファイル\SpecialChar menuseparator
22216 外部素材
22217 \end_layout
22218
22219 \end_inset
22220
22221 メニューで見ることができます.さらに,特定の型の素材をサポートするのに,自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しま
22222 すが,できればあなたが作ったすべてのひな型を投稿して,我々が\SpecialChar LyX
22223 の後の版に取り込むことができるようにしてくださることを希望します.
22224 \end_layout
22225
22226 \begin_layout Standard
22227 外部素材の機能におけるもう一つの基本的な発想は,最終素材の元となるオリジナルファイルと,書き出された文書や印刷された文書に取り込むための生成ファイルとを区別して
22228 いることです.たとえば,
22229 \begin_inset Flex Code
22230 status collapsed
22231
22232 \begin_layout Plain Layout
22233 Xfig
22234 \end_layout
22235
22236 \end_inset
22237
22238 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
22239 \begin_inset Flex Code
22240 status collapsed
22241
22242 \begin_layout Plain Layout
22243 .fig
22244 \end_layout
22245
22246 \end_inset
22247
22248 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,作業が終われば
22249 \begin_inset Flex Code
22250 status collapsed
22251
22252 \begin_layout Plain Layout
22253 fig
22254 \end_layout
22255
22256 \end_inset
22257
22258 ファイルに保存します.この図をお使いの文書に取り込みたいときには,\SpecialChar LaTeX
22259 ファイルにそのままインクルードできるように,
22260 \begin_inset Flex Code
22261 status collapsed
22262
22263 \begin_layout Plain Layout
22264 transfig
22265 \end_layout
22266
22267 \end_inset
22268
22269 を呼び出してPostScriptファイルを生成します.この場合には,
22270 \begin_inset Flex Code
22271 status collapsed
22272
22273 \begin_layout Plain Layout
22274 .fig
22275 \end_layout
22276
22277 \end_inset
22278
22279 ファイルがオリジナルファイルであり,PostScriptファイルが生成ファイルになります.
22280 \end_layout
22281
22282 \begin_layout Standard
22283 この区別は,文書を執筆している最中に,素材を更新することができるようにするために重要です.さらに,これによって,複数の書き出し書式をサポートするために必要な柔軟
22284 性が提供されます.たとえば,平文テキストファイルの場合には,図を生のPostScriptファイルとして取り込むのは,とても褒められた発想とはいえません.むしろ,
22285 その図への参照だけを含めるか,最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
22286 の外部素材マネジメントは
22287 ,\SpecialChar LyX
22288 がサポートする各書き出し書式別に仕分けしているので,ユーザがこれを行うことが可能となっています.
22289 \end_layout
22290
22291 \begin_layout Standard
22292 \SpecialChar LyX
22293 の外部素材マネジメントは,書き出し書式によって異なる生成物をサポートすることの他に,編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図
22294 の場合には,\SpecialChar LyX
22295 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,ダブルクリックすることで生成されたPostScriptファイ
22296 ルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファ
22297 イルブラウザをいじくり回す必要はないのです.このようにして,文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,最終的により生産性を上げることが
22298 できるようになるのです.
22299 \end_layout
22300
22301 \begin_layout Section
22302 外用ひな型設定ファイル
22303 \end_layout
22304
22305 \begin_layout Standard
22306 \SpecialChar LyX
22307 に自製の外用ひな型を付け加えるのは,比較的簡単です.しかしながら,これを不用心に行ってしまうと,たいていの場合,簡単に濫用されてしまうようなセキュリティホールを
22308 作ってしまいがちであることを心に留めておいてください.したがって,これを実行に移す前に,
22309 \begin_inset CommandInset ref
22310 LatexCommand ref
22311 reference "sec:セキュリティに関する論点"
22312
22313 \end_inset
22314
22315 のセキュリティに関する議論を読んでおいてください.
22316 \end_layout
22317
22318 \begin_layout Standard
22319 このことに言及した上で,あなたが作成した面白いひな型は,ぜひ投稿してください.
22320 \end_layout
22321
22322 \begin_layout Standard
22323 外用ひな型ファイルは,
22324 \begin_inset Flex Code
22325 status collapsed
22326
22327 \begin_layout Plain Layout
22328 LyXDir/lib/xtemplates/
22329 \end_layout
22330
22331 \end_inset
22332
22333 ディレクトリ中にある
22334 \begin_inset Flex Code
22335 status collapsed
22336
22337 \begin_layout Plain Layout
22338 *.xtemplate
22339 \end_layout
22340
22341 \end_inset
22342
22343 ファイルに定義されています.各ひな型は,そのファイル完結で定義されています.自分専用のひな型を
22344 \begin_inset Flex Code
22345 status collapsed
22346
22347 \begin_layout Plain Layout
22348 UserDir/xtemplates/
22349 \end_layout
22350
22351 \end_inset
22352
22353 に置くこともできますし,既存のひな型をそのデイレク取りにコピーして修正を加えることもできます.
22354 \end_layout
22355
22356 \begin_layout Standard
22357 典型的なひな型は以下のようになります.
22358 \end_layout
22359
22360 \begin_layout LyX-Code
22361 Template XFig
22362 \end_layout
22363
22364 \begin_layout LyX-Code
22365 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22366 \end_layout
22367
22368 \begin_layout LyX-Code
22369 HelpText
22370 \end_layout
22371
22372 \begin_layout LyX-Code
22373 An XFig figure.
22374 \end_layout
22375
22376 \begin_layout LyX-Code
22377 HelpTextEnd
22378 \end_layout
22379
22380 \begin_layout LyX-Code
22381 InputFormat fig
22382 \end_layout
22383
22384 \begin_layout LyX-Code
22385 FileFilter "*.fig"
22386 \end_layout
22387
22388 \begin_layout LyX-Code
22389 AutomaticProduction true
22390 \end_layout
22391
22392 \begin_layout LyX-Code
22393 Transform Rotate
22394 \end_layout
22395
22396 \begin_layout LyX-Code
22397 Transform Resize
22398 \end_layout
22399
22400 \begin_layout LyX-Code
22401 Format LaTeX
22402 \end_layout
22403
22404 \begin_layout LyX-Code
22405 TransformCommand Rotate RotationLatexCommand
22406 \end_layout
22407
22408 \begin_layout LyX-Code
22409 TransformCommand Resize ResizeLatexCommand
22410 \end_layout
22411
22412 \begin_layout LyX-Code
22413 Product "$$RotateFront$$ResizeFront
22414 \end_layout
22415
22416 \begin_layout LyX-Code
22417          
22418 \backslash
22419
22420 \backslash
22421 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22422 \end_layout
22423
22424 \begin_layout LyX-Code
22425          $$ResizeBack$$RotateBack"
22426 \end_layout
22427
22428 \begin_layout LyX-Code
22429 UpdateFormat pstex
22430 \end_layout
22431
22432 \begin_layout LyX-Code
22433 UpdateResult "$$AbsPath$$Basename.pstex_t"
22434 \end_layout
22435
22436 \begin_layout LyX-Code
22437 Requirement "graphicx"
22438 \end_layout
22439
22440 \begin_layout LyX-Code
22441 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22442 \end_layout
22443
22444 \begin_layout LyX-Code
22445 ReferencedFile latex "$$AbsPath$$Basename.eps"
22446 \end_layout
22447
22448 \begin_layout LyX-Code
22449 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22450 \end_layout
22451
22452 \begin_layout LyX-Code
22453 FormatEnd
22454 \end_layout
22455
22456 \begin_layout LyX-Code
22457 Format PDFLaTeX
22458 \end_layout
22459
22460 \begin_layout LyX-Code
22461 TransformCommand Rotate RotationLatexCommand
22462 \end_layout
22463
22464 \begin_layout LyX-Code
22465 TransformCommand Resize ResizeLatexCommand
22466 \end_layout
22467
22468 \begin_layout LyX-Code
22469 Product "$$RotateFront$$ResizeFront
22470 \end_layout
22471
22472 \begin_layout LyX-Code
22473          
22474 \backslash
22475
22476 \backslash
22477 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22478 \end_layout
22479
22480 \begin_layout LyX-Code
22481          $$ResizeBack$$RotateBack"
22482 \end_layout
22483
22484 \begin_layout LyX-Code
22485 UpdateFormat pdftex
22486 \end_layout
22487
22488 \begin_layout LyX-Code
22489 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22490 \end_layout
22491
22492 \begin_layout LyX-Code
22493 Requirement "graphicx"
22494 \end_layout
22495
22496 \begin_layout LyX-Code
22497 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22498 \end_layout
22499
22500 \begin_layout LyX-Code
22501 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22502 \end_layout
22503
22504 \begin_layout LyX-Code
22505 FormatEnd
22506 \end_layout
22507
22508 \begin_layout LyX-Code
22509 Format Ascii
22510 \end_layout
22511
22512 \begin_layout LyX-Code
22513 Product "$$Contents(
22514 \backslash
22515 "$$AbsPath$$Basename.asc
22516 \backslash
22517 ")"
22518 \end_layout
22519
22520 \begin_layout LyX-Code
22521 UpdateFormat asciixfig
22522 \end_layout
22523
22524 \begin_layout LyX-Code
22525 UpdateResult "$$AbsPath$$Basename.asc"
22526 \end_layout
22527
22528 \begin_layout LyX-Code
22529 FormatEnd
22530 \end_layout
22531
22532 \begin_layout LyX-Code
22533 Format DocBook
22534 \end_layout
22535
22536 \begin_layout LyX-Code
22537 Product "<graphic fileref=
22538 \backslash
22539 "$$AbsOrRelPathMaster$$Basename.eps
22540 \backslash
22541 ">
22542 \end_layout
22543
22544 \begin_layout LyX-Code
22545          </graphic>"
22546 \end_layout
22547
22548 \begin_layout LyX-Code
22549 UpdateFormat eps
22550 \end_layout
22551
22552 \begin_layout LyX-Code
22553 UpdateResult "$$AbsPath$$Basename.eps"
22554 \end_layout
22555
22556 \begin_layout LyX-Code
22557 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22558 \end_layout
22559
22560 \begin_layout LyX-Code
22561 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22562 \end_layout
22563
22564 \begin_layout LyX-Code
22565 FormatEnd
22566 \end_layout
22567
22568 \begin_layout LyX-Code
22569 Product "[XFig: $$FName]"
22570 \end_layout
22571
22572 \begin_layout LyX-Code
22573 FormatEnd
22574 \end_layout
22575
22576 \begin_layout LyX-Code
22577 TemplateEnd
22578 \end_layout
22579
22580 \begin_layout Standard
22581 ご覧の通り,ひな型は
22582 \begin_inset Flex Code
22583 status collapsed
22584
22585 \begin_layout Plain Layout
22586 Template
22587 \end_layout
22588
22589 \end_inset
22590
22591  \SpecialChar ldots
22592  
22593 \begin_inset Flex Code
22594 status collapsed
22595
22596 \begin_layout Plain Layout
22597 TemplateEnd
22598 \end_layout
22599
22600 \end_inset
22601
22602 で閉じられます.ひな型には,一般的な設定を行うヘッダ部と,サポートされている主要な文書ファイル形式の設定を行う
22603 \begin_inset Flex Code
22604 status collapsed
22605
22606 \begin_layout Plain Layout
22607 Format
22608 \end_layout
22609
22610 \end_inset
22611
22612  \SpecialChar ldots
22613  
22614 \begin_inset Flex Code
22615 status collapsed
22616
22617 \begin_layout Plain Layout
22618 FormatEnd
22619 \end_layout
22620
22621 \end_inset
22622
22623 部があります.
22624 \end_layout
22625
22626 \begin_layout Subsection
22627 ひな型のヘッダ
22628 \end_layout
22629
22630 \begin_layout Description
22631 \begin_inset Flex Code
22632 status collapsed
22633
22634 \begin_layout Plain Layout
22635 AutomaticProduction
22636 \begin_inset space ~
22637 \end_inset
22638
22639 true|false
22640 \end_layout
22641
22642 \end_inset
22643
22644  このひな型で扱うファイルを\SpecialChar LyX
22645 が生成しなくてはならないか否か.このコマンドは,一度だけ必ず現れなくてはなりません.
22646 \end_layout
22647
22648 \begin_layout Description
22649 \begin_inset Flex Code
22650 status collapsed
22651
22652 \begin_layout Plain Layout
22653 FileFilter
22654 \begin_inset space ~
22655 \end_inset
22656
22657 <パターン>
22658 \end_layout
22659
22660 \end_inset
22661
22662  望むファイル群を表示するために,ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,tgifには
22663 \begin_inset Flex Code
22664 status collapsed
22665
22666 \begin_layout Plain Layout
22667 .obj
22668 \end_layout
22669
22670 \end_inset
22671
22672
22673 \begin_inset Flex Code
22674 status collapsed
22675
22676 \begin_layout Plain Layout
22677 .tgo
22678 \end_layout
22679
22680 \end_inset
22681
22682 があります),「
22683 \begin_inset Flex Code
22684 status collapsed
22685
22686 \begin_layout Plain Layout
22687 *.{obj,tgo}
22688 \end_layout
22689
22690 \end_inset
22691
22692 」の様なパターンを使用してください.このコマンドは,一度だけ必ず現れなくてはなりません.
22693 \end_layout
22694
22695 \begin_layout Description
22696 \begin_inset Flex Code
22697 status collapsed
22698
22699 \begin_layout Plain Layout
22700 GuiName
22701 \begin_inset space ~
22702 \end_inset
22703
22704 <GUI名>
22705 \end_layout
22706
22707 \end_inset
22708
22709  この文字列はボタン上に表示されます.このコマンドは,一度だけ必ず現れなくてはなりません.
22710 \end_layout
22711
22712 \begin_layout Description
22713 \begin_inset Flex Code
22714 status collapsed
22715
22716 \begin_layout Plain Layout
22717 HelpText
22718 \begin_inset space ~
22719 \end_inset
22720
22721 <文章>
22722 \begin_inset space ~
22723 \end_inset
22724
22725 HelpTextEnd
22726 \end_layout
22727
22728 \end_inset
22729
22730  外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,一度だけ必
22731 ず現れなくてはなりません.
22732 \end_layout
22733
22734 \begin_layout Description
22735 \begin_inset Flex Code
22736 status collapsed
22737
22738 \begin_layout Plain Layout
22739 InputFormat
22740 \begin_inset space ~
22741 \end_inset
22742
22743 <書式>
22744 \end_layout
22745
22746 \end_inset
22747
22748  オリジナルファイルのファイル形式.これは,\SpecialChar LyX
22749 が知っている書式名でなくてはなりません(
22750 \begin_inset CommandInset ref
22751 LatexCommand ref
22752 reference "sec:ファイル形式"
22753
22754 \end_inset
22755
22756 参照).このひな型が,2つ以上の書式のオリジナルファイルを取り扱える場合は,「
22757 \begin_inset Flex Code
22758 status collapsed
22759
22760 \begin_layout Plain Layout
22761 *
22762 \end_layout
22763
22764 \end_inset
22765
22766 」を使用してください.この場合,\SpecialChar LyX
22767 はファイル形式を推定するために,ファイル自体に詮索を試みます.このコマンドは,一度だけ必ず現れなくてはなりません.
22768 \end_layout
22769
22770 \begin_layout Description
22771 \begin_inset Flex Code
22772 status collapsed
22773
22774 \begin_layout Plain Layout
22775 Template
22776 \begin_inset space ~
22777 \end_inset
22778
22779 <ID>
22780 \end_layout
22781
22782 \end_inset
22783
22784  このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
22785 \end_layout
22786
22787 \begin_layout Description
22788 \begin_inset Flex Code
22789 status collapsed
22790
22791 \begin_layout Plain Layout
22792 Transform
22793 \begin_inset space ~
22794 \end_inset
22795
22796 Rotate|Resize|Clip|Extra
22797 \end_layout
22798
22799 \end_inset
22800
22801  このコマンドは,このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,外部素材ダイア
22802 ログ中の対応するタブを使用可能にします.
22803 \begin_inset Flex Code
22804 status collapsed
22805
22806 \begin_layout Plain Layout
22807 Transform
22808 \end_layout
22809
22810 \end_inset
22811
22812 コマンド一つずつに応じて,
22813 \begin_inset Flex Code
22814 status collapsed
22815
22816 \begin_layout Plain Layout
22817 Format
22818 \end_layout
22819
22820 \end_inset
22821
22822 部に,対応する
22823 \begin_inset Flex Code
22824 status collapsed
22825
22826 \begin_layout Plain Layout
22827 TransformCommand
22828 \end_layout
22829
22830 \end_inset
22831
22832 コマンドか
22833 \begin_inset Flex Code
22834 status collapsed
22835
22836 \begin_layout Plain Layout
22837 TransformOption
22838 \end_layout
22839
22840 \end_inset
22841
22842 コマンドを置かなくてはなりません.これを行わないと,この書式での変換はサポートされません.
22843 \end_layout
22844
22845 \begin_layout Subsection
22846 \begin_inset Flex Code
22847 status collapsed
22848
22849 \begin_layout Plain Layout
22850 Format
22851 \end_layout
22852
22853 \end_inset
22854
22855
22856 \end_layout
22857
22858 \begin_layout Description
22859 \begin_inset Flex Code
22860 status collapsed
22861
22862 \begin_layout Plain Layout
22863 Format
22864 \begin_inset space ~
22865 \end_inset
22866
22867 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
22868 \end_layout
22869
22870 \end_inset
22871
22872  この書式定義が定める主要な文書ファイル形式.すべてのひな型が,全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,全書式に対して
22873 \begin_inset Flex Code
22874 status collapsed
22875
22876 \begin_layout Plain Layout
22877 Format
22878 \end_layout
22879
22880 \end_inset
22881
22882 部を定義してください.表示する方法がないときは,ダミーテキストを使用してください.これによって,書き出した文書内で,少なくとも外部素材への参照を見ることができる
22883 ようになります.
22884 \end_layout
22885
22886 \begin_layout Description
22887 \begin_inset Flex Code
22888 status collapsed
22889
22890 \begin_layout Plain Layout
22891 Option
22892 \begin_inset space ~
22893 \end_inset
22894
22895 <名称>
22896 \begin_inset space ~
22897 \end_inset
22898
22899 <値>
22900 \end_layout
22901
22902 \end_inset
22903
22904  このコマンドは,
22905 \begin_inset Flex Code
22906 status collapsed
22907
22908 \begin_layout Plain Layout
22909 Product
22910 \end_layout
22911
22912 \end_inset
22913
22914 での代入に使うマクロ
22915 \begin_inset Flex Code
22916 status collapsed
22917
22918 \begin_layout Plain Layout
22919 $$<名称>
22920 \end_layout
22921
22922 \end_inset
22923
22924 を新たに定義します.
22925 \begin_inset Flex Code
22926 status collapsed
22927
22928 \begin_layout Plain Layout
22929 <値>
22930 \end_layout
22931
22932 \end_inset
22933
22934 自体にも代入マクロを使うことができます.
22935 \begin_inset Flex Code
22936 status collapsed
22937
22938 \begin_layout Plain Layout
22939 Product
22940 \end_layout
22941
22942 \end_inset
22943
22944
22945 \begin_inset Flex Code
22946 status collapsed
22947
22948 \begin_layout Plain Layout
22949 <値>
22950 \end_layout
22951
22952 \end_inset
22953
22954 を直接使用するよりも優れた点は,
22955 \begin_inset Flex Code
22956 status collapsed
22957
22958 \begin_layout Plain Layout
22959 $$<名称>
22960 \end_layout
22961
22962 \end_inset
22963
22964 に代入された値が,その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
22965 \end_layout
22966
22967 \begin_layout Description
22968 \begin_inset Flex Code
22969 status collapsed
22970
22971 \begin_layout Plain Layout
22972 Product
22973 \begin_inset space ~
22974 \end_inset
22975
22976 <文>
22977 \end_layout
22978
22979 \end_inset
22980
22981  書き出された文書に挿入される文.実のところ,これが最も重要なコマンドであり,とても複雑になることがあります.このコマンドは,一度だけ必ず現れなくてはなりません
22982
22983 \end_layout
22984
22985 \begin_layout Description
22986 \begin_inset Flex Code
22987 status collapsed
22988
22989 \begin_layout Plain Layout
22990 Preamble
22991 \begin_inset space ~
22992 \end_inset
22993
22994 <名称>
22995 \end_layout
22996
22997 \end_inset
22998
22999  このコマンドは,\SpecialChar LaTeX
23000 プリアンブルに入れるプリアンブル片を指定します.これは
23001 \begin_inset Flex Code
23002 status collapsed
23003
23004 \begin_layout Plain Layout
23005 PreambleDef
23006 \end_layout
23007
23008 \end_inset
23009
23010  \SpecialChar ldots
23011  
23012 \begin_inset Flex Code
23013 status collapsed
23014
23015 \begin_layout Plain Layout
23016 PreambleDefEnd
23017 \end_layout
23018
23019 \end_inset
23020
23021 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
23022 \end_layout
23023
23024 \begin_layout Description
23025 \begin_inset Flex Code
23026 status collapsed
23027
23028 \begin_layout Plain Layout
23029 ReferencedFile
23030 \begin_inset space ~
23031 \end_inset
23032
23033 <書式>
23034 \begin_inset space ~
23035 \end_inset
23036
23037 <ファイル名>
23038 \end_layout
23039
23040 \end_inset
23041
23042  このコマンドは,変換過程で生成され,特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,親文書に対する相対パスとして解釈さ
23043 れます.このコマンドは全く登場しなくても1回以上現れても構いません.
23044 \end_layout
23045
23046 \begin_layout Description
23047 \begin_inset Flex Code
23048 status collapsed
23049
23050 \begin_layout Plain Layout
23051 Requirement
23052 \begin_inset space ~
23053 \end_inset
23054
23055 <package>
23056 \end_layout
23057
23058 \end_inset
23059
23060  必要とされる\SpecialChar LaTeX
23061 パッケージ名.パッケージは,\SpecialChar LaTeX
23062 プリアンブル中で
23063 \begin_inset Flex Code
23064 status collapsed
23065
23066 \begin_layout Plain Layout
23067
23068 \backslash
23069 usepackage{}
23070 \end_layout
23071
23072 \end_inset
23073
23074 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
23075 \end_layout
23076
23077 \begin_layout Description
23078 \begin_inset Flex Code
23079 status collapsed
23080
23081 \begin_layout Plain Layout
23082 TransformCommand
23083 \begin_inset space ~
23084 \end_inset
23085
23086 Rotate
23087 \begin_inset space ~
23088 \end_inset
23089
23090 RotationLatexCommand
23091 \end_layout
23092
23093 \end_inset
23094
23095  このコマンドは,回転用に,組み込みの\SpecialChar LaTeX
23096 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23097 \end_layout
23098
23099 \begin_layout Description
23100 \begin_inset Flex Code
23101 status collapsed
23102
23103 \begin_layout Plain Layout
23104 TransformCommand
23105 \begin_inset space ~
23106 \end_inset
23107
23108 Resize
23109 \begin_inset space ~
23110 \end_inset
23111
23112 ResizeLatexCommand
23113 \end_layout
23114
23115 \end_inset
23116
23117  このコマンドは,伸縮用に,組み込みの\SpecialChar LaTeX
23118 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23119 \end_layout
23120
23121 \begin_layout Description
23122 \begin_inset Flex Code
23123 status collapsed
23124
23125 \begin_layout Plain Layout
23126 TransformOption
23127 \begin_inset space ~
23128 \end_inset
23129
23130 Rotate
23131 \begin_inset space ~
23132 \end_inset
23133
23134 RotationLatexOption
23135 \end_layout
23136
23137 \end_inset
23138
23139  このコマンドは,回転が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23140 \end_layout
23141
23142 \begin_layout Description
23143 \begin_inset Flex Code
23144 status collapsed
23145
23146 \begin_layout Plain Layout
23147 TransformOption
23148 \begin_inset space ~
23149 \end_inset
23150
23151 Resize
23152 \begin_inset space ~
23153 \end_inset
23154
23155 ResizeLatexOption
23156 \end_layout
23157
23158 \end_inset
23159
23160  このコマンドは,伸縮が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23161 \end_layout
23162
23163 \begin_layout Description
23164 \begin_inset Flex Code
23165 status collapsed
23166
23167 \begin_layout Plain Layout
23168 TransformOption
23169 \begin_inset space ~
23170 \end_inset
23171
23172 Clip
23173 \begin_inset space ~
23174 \end_inset
23175
23176 ClipLatexOption
23177 \end_layout
23178
23179 \end_inset
23180
23181  このコマンドは,切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23182 \end_layout
23183
23184 \begin_layout Description
23185 \begin_inset Flex Code
23186 status collapsed
23187
23188 \begin_layout Plain Layout
23189 TransformOption
23190 \begin_inset space ~
23191 \end_inset
23192
23193 Extra
23194 \begin_inset space ~
23195 \end_inset
23196
23197 ExtraLatexOption
23198 \end_layout
23199
23200 \end_inset
23201
23202  このコマンドは,追加の非必須引数を使用することを指定します.このコマンドは,1回現れても全く現れなくても構いません.
23203 \end_layout
23204
23205 \begin_layout Description
23206 \begin_inset Flex Code
23207 status collapsed
23208
23209 \begin_layout Plain Layout
23210 UpdateFormat
23211 \begin_inset space ~
23212 \end_inset
23213
23214 <書式>
23215 \end_layout
23216
23217 \end_inset
23218
23219  変換されたファイルのファイル形式.これは,\SpecialChar LyX
23220 が知っている書式名でなくてはなりません(
23221 \begin_inset Flex MenuItem
23222 status collapsed
23223
23224 \begin_layout Plain Layout
23225 ツール\SpecialChar menuseparator
23226 設定\SpecialChar menuseparator
23227 ファイル処理\SpecialChar menuseparator
23228 ファイル書式
23229 \end_layout
23230
23231 \end_inset
23232
23233 ダイアログを参照).このコマンドは,一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,書式
23234 \begin_inset Flex Code
23235 status collapsed
23236
23237 \begin_layout Plain Layout
23238 pdf6
23239 \end_layout
23240
23241 \end_inset
23242
23243 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
23244 \end_layout
23245
23246 \begin_layout Description
23247 \begin_inset Flex Code
23248 status collapsed
23249
23250 \begin_layout Plain Layout
23251 UpdateResult
23252 \begin_inset space ~
23253 \end_inset
23254
23255 <ファイル名>
23256 \end_layout
23257
23258 \end_inset
23259
23260  変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,一度だけ必ず現れなくてはなりません.
23261 \end_layout
23262
23263 \begin_layout Subsection
23264 プリアンブルの定義
23265 \end_layout
23266
23267 \begin_layout Standard
23268 外用ひな型設定ファイルには,
23269 \begin_inset Flex Code
23270 status collapsed
23271
23272 \begin_layout Plain Layout
23273 PreambleDef
23274 \end_layout
23275
23276 \end_inset
23277
23278  \SpecialChar ldots
23279  
23280 \begin_inset Flex Code
23281 status collapsed
23282
23283 \begin_layout Plain Layout
23284 PreambleDefEnd
23285 \end_layout
23286
23287 \end_inset
23288
23289 で囲んだプリアンブル定義を追加することができます.これらの定義は,ひな型の
23290 \begin_inset Flex Code
23291 status collapsed
23292
23293 \begin_layout Plain Layout
23294 Format
23295 \end_layout
23296
23297 \end_inset
23298
23299 部で使用することができます.
23300 \end_layout
23301
23302 \begin_layout Section
23303 代入機構
23304 \end_layout
23305
23306 \begin_layout Standard
23307 外部素材機構が外部プログラムを呼び出すときには,ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,実行前に展開されるマクロをい
23308 ろいろ入れることができます.実行は,つねに元の文書があるディレクトリで行われます.
23309 \end_layout
23310
23311 \begin_layout Standard
23312 また,外部素材が表示されるときにはいつでも,その名称は代入機構によって組み立てられ,ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
23313 \end_layout
23314
23315 \begin_layout Standard
23316 使用できるマクロは以下の通りです.
23317 \end_layout
23318
23319 \begin_layout Description
23320 \begin_inset Flex Code
23321 status collapsed
23322
23323 \begin_layout Plain Layout
23324 $$AbsOrRelPathMaster
23325 \end_layout
23326
23327 \end_inset
23328
23329  \SpecialChar LyX
23330 親文書への絶対ファイルパスないしは相対ファイルパス
23331 \end_layout
23332
23333 \begin_layout Description
23334 \begin_inset Flex Code
23335 status collapsed
23336
23337 \begin_layout Plain Layout
23338 $$AbsOrRelPathParent
23339 \end_layout
23340
23341 \end_inset
23342
23343  \SpecialChar LyX
23344 文書への絶対ファイルパスないしは相対ファイルパス
23345 \end_layout
23346
23347 \begin_layout Description
23348 \begin_inset Flex Code
23349 status collapsed
23350
23351 \begin_layout Plain Layout
23352 $$AbsPath
23353 \end_layout
23354
23355 \end_inset
23356
23357  絶対ファイルパス
23358 \end_layout
23359
23360 \begin_layout Description
23361 \begin_inset Flex Code
23362 status collapsed
23363
23364 \begin_layout Plain Layout
23365 $$Basename
23366 \end_layout
23367
23368 \end_inset
23369
23370  パスおよび拡張子を除いたファイル名
23371 \end_layout
23372
23373 \begin_layout Description
23374 \begin_inset Flex Code
23375 status collapsed
23376
23377 \begin_layout Plain Layout
23378 $$Contents(
23379 \begin_inset Quotes eld
23380 \end_inset
23381
23382 filename.ext
23383 \begin_inset Quotes erd
23384 \end_inset
23385
23386 )
23387 \end_layout
23388
23389 \end_inset
23390
23391  このマクロは,
23392 \begin_inset Flex Code
23393 status collapsed
23394
23395 \begin_layout Plain Layout
23396 filename.ext
23397 \end_layout
23398
23399 \end_inset
23400
23401 と云う名のファイルの中身を展開します.
23402 \end_layout
23403
23404 \begin_layout Description
23405 \begin_inset Flex Code
23406 status collapsed
23407
23408 \begin_layout Plain Layout
23409 $$Extension
23410 \end_layout
23411
23412 \end_inset
23413
23414  ファイル拡張子(点を含む)
23415 \end_layout
23416
23417 \begin_layout Description
23418 \begin_inset Flex Code
23419 status collapsed
23420
23421 \begin_layout Plain Layout
23422 $$pngOrjpg
23423 \end_layout
23424
23425 \end_inset
23426
23427  これは,ファイルがJPEG形式の場合は,文字列「jpg」となり,それ以外では文字列「png」となります.これは,PNG形式とJPEG形式の両方をサポートする出
23428 力形式に対して,不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,pdf\SpecialChar TeX
23429 出力形式に対してこのマクロを使用します.
23430 \end_layout
23431
23432 \begin_layout Description
23433 \begin_inset Flex Code
23434 status collapsed
23435
23436 \begin_layout Plain Layout
23437 $$FName
23438 \end_layout
23439
23440 \end_inset
23441
23442  外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
23443 文書への絶対パスでも良いですし,相対パスでも構いません.
23444 \end_layout
23445
23446 \begin_layout Description
23447 \begin_inset Flex Code
23448 status collapsed
23449
23450 \begin_layout Plain Layout
23451 $$FPath
23452 \end_layout
23453
23454 \end_inset
23455
23456  
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 $$RelPathMaster
23476 \end_layout
23477
23478 \end_inset
23479
23480  \SpecialChar LyX
23481 親文書への相対ファイルパス
23482 \end_layout
23483
23484 \begin_layout Description
23485 \begin_inset Flex Code
23486 status collapsed
23487
23488 \begin_layout Plain Layout
23489 $$RelPathParent
23490 \end_layout
23491
23492 \end_inset
23493
23494  \SpecialChar LyX
23495 文書への相対ファイルパス
23496 \end_layout
23497
23498 \begin_layout Description
23499 \begin_inset Flex Code
23500 status collapsed
23501
23502 \begin_layout Plain Layout
23503 $$Sysdir
23504 \end_layout
23505
23506 \end_inset
23507
23508  このマクロは,システムディレクトリの絶対パスを展開します.これは,典型的には,\SpecialChar LyX
23509 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
23510 \end_layout
23511
23512 \begin_layout Description
23513 \begin_inset Flex Code
23514 status collapsed
23515
23516 \begin_layout Plain Layout
23517 $$Tempname
23518 \end_layout
23519
23520 \end_inset
23521
23522  元の文書が閉じられたり,挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
23523 \end_layout
23524
23525 \begin_layout Standard
23526 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,たとえば絶対パスのファイル名を 
23527 \begin_inset Flex Code
23528 status collapsed
23529
23530 \begin_layout Plain Layout
23531 $$AbsPath$$Basename$$Extension
23532 \end_layout
23533
23534 \end_inset
23535
23536 のようにして作ることができます.
23537 \end_layout
23538
23539 \begin_layout Standard
23540 上記マクロは,特記しない限りはすべてのコマンドで代入が行われます.
23541 \begin_inset Flex Code
23542 status collapsed
23543
23544 \begin_layout Plain Layout
23545 Transform
23546 \end_layout
23547
23548 \end_inset
23549
23550 コマンドと
23551 \begin_inset Flex Code
23552 status collapsed
23553
23554 \begin_layout Plain Layout
23555 TransformCommand
23556 \end_layout
23557
23558 \end_inset
23559
23560 コマンドが有効にされている場合,
23561 \begin_inset Flex Code
23562 status collapsed
23563
23564 \begin_layout Plain Layout
23565 Product
23566 \end_layout
23567
23568 \end_inset
23569
23570 コマンドは,これらに加えて以下の代入もサポートします.
23571 \end_layout
23572
23573 \begin_layout Description
23574 \begin_inset Flex Code
23575 status collapsed
23576
23577 \begin_layout Plain Layout
23578 $$ResizeFront
23579 \end_layout
23580
23581 \end_inset
23582
23583  伸縮コマンドの前置部.
23584 \end_layout
23585
23586 \begin_layout Description
23587 \begin_inset Flex Code
23588 status collapsed
23589
23590 \begin_layout Plain Layout
23591 $$ResizeBack
23592 \end_layout
23593
23594 \end_inset
23595
23596  伸縮コマンドの後置部.
23597 \end_layout
23598
23599 \begin_layout Description
23600 \begin_inset Flex Code
23601 status collapsed
23602
23603 \begin_layout Plain Layout
23604 $$RotateFront
23605 \end_layout
23606
23607 \end_inset
23608
23609  回転コマンドの前置部.
23610 \end_layout
23611
23612 \begin_layout Description
23613 \begin_inset Flex Code
23614 status collapsed
23615
23616 \begin_layout Plain Layout
23617 $$RotateBack
23618 \end_layout
23619
23620 \end_inset
23621
23622  回転コマンドの後置部.
23623 \end_layout
23624
23625 \begin_layout Standard
23626 \begin_inset Flex Code
23627 status collapsed
23628
23629 \begin_layout Plain Layout
23630 Option
23631 \end_layout
23632
23633 \end_inset
23634
23635 コマンドの値に入れる文字列では,
23636 \begin_inset Flex Code
23637 status collapsed
23638
23639 \begin_layout Plain Layout
23640 Transform
23641 \end_layout
23642
23643 \end_inset
23644
23645 コマンドと
23646 \begin_inset Flex Code
23647 status collapsed
23648
23649 \begin_layout Plain Layout
23650 TransformOption
23651 \end_layout
23652
23653 \end_inset
23654
23655 コマンドが有効にされていれば,以下の代入もサポートされます.
23656 \end_layout
23657
23658 \begin_layout Description
23659 \begin_inset Flex Code
23660 status collapsed
23661
23662 \begin_layout Plain Layout
23663 $$Clip
23664 \end_layout
23665
23666 \end_inset
23667
23668  切り抜きオプション.
23669 \end_layout
23670
23671 \begin_layout Description
23672 \begin_inset Flex Code
23673 status collapsed
23674
23675 \begin_layout Plain Layout
23676 $$Extra
23677 \end_layout
23678
23679 \end_inset
23680
23681  追加オプション.
23682 \end_layout
23683
23684 \begin_layout Description
23685 \begin_inset Flex Code
23686 status collapsed
23687
23688 \begin_layout Plain Layout
23689 $$Resize
23690 \end_layout
23691
23692 \end_inset
23693
23694  伸縮オプション.
23695 \end_layout
23696
23697 \begin_layout Description
23698 \begin_inset Flex Code
23699 status collapsed
23700
23701 \begin_layout Plain Layout
23702 $$Rotate
23703 \end_layout
23704
23705 \end_inset
23706
23707  回転オプション.
23708 \end_layout
23709
23710 \begin_layout Standard
23711 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
23712 \end_layout
23713
23714 \begin_layout Enumerate
23715 相対ファイル名と絶対ファイル名は,それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえ
23716 ば相対名は,いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,プログラムによっては必要とされることがあり得ます.
23717 \end_layout
23718
23719 \begin_layout Enumerate
23720 \SpecialChar LaTeX
23721 は,相対ファイル名に関して,\SpecialChar LyX
23722 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
23723 にとって相対ファイル名とは,常にこのファイル名が書か
23724 れている文書に対して相対的なものになります.\SpecialChar LaTeX
23725 にとっての相対ファイル名は,常に親文書に対するものになります.これら二つの定義は,一つの文書しかないときには同じです
23726 が,部分文書を含む親文書があるときには異なったものとなってきます.つまり,相対ファイル名は,\SpecialChar LaTeX
23727 に提示されるときに変換されなくてはならないのです.幸い,正しいマクロ
23728 を選びさえすれば,これは\SpecialChar LyX
23729 が自動的に行ってくれます.
23730 \end_layout
23731
23732 \begin_layout Standard
23733 すると,新しく作ったひな型定義では,どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
23734 \end_layout
23735
23736 \begin_layout Itemize
23737 絶対パスが必要とされるときには
23738 \begin_inset Flex Code
23739 status collapsed
23740
23741 \begin_layout Plain Layout
23742 $$AbsPath
23743 \end_layout
23744
23745 \end_inset
23746
23747 を使う.
23748 \end_layout
23749
23750 \begin_layout Itemize
23751 代入された文字列が,\SpecialChar LaTeX
23752 インプットの一種である場合には,
23753 \begin_inset Flex Code
23754 status collapsed
23755
23756 \begin_layout Plain Layout
23757 $$AbsOrRelPathMaster
23758 \end_layout
23759
23760 \end_inset
23761
23762 を使う.
23763 \end_layout
23764
23765 \begin_layout Itemize
23766 それ以外ならば,ユーザの選択を尊重するために
23767 \begin_inset Flex Code
23768 status collapsed
23769
23770 \begin_layout Plain Layout
23771 $$AbsOrRelPathParent
23772 \end_layout
23773
23774 \end_inset
23775
23776 を使う.
23777 \end_layout
23778
23779 \begin_layout Standard
23780 このルールが機能せずに,たとえば相対名が必要となる特殊な場合もありますが,通常,上記でうまく動作します.特殊例の例としては,上述のXFigひな型での
23781 \begin_inset Flex Code
23782 status collapsed
23783
23784 \begin_layout Plain Layout
23785 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23786 \end_layout
23787
23788 \end_inset
23789
23790 というコマンドがあります.この場合,
23791 \begin_inset Flex Code
23792 status collapsed
23793
23794 \begin_layout Plain Layout
23795 .pstex_t
23796 \end_layout
23797
23798 \end_inset
23799
23800 ファイルの複写子は,ファイル内容を書き換えるのに相対名を必要とするために,絶対名を使用することができないのです.
23801 \end_layout
23802
23803 \begin_layout Section
23804 セキュリティに関する論点
23805 \begin_inset CommandInset label
23806 LatexCommand label
23807 name "sec:セキュリティに関する論点"
23808
23809 \end_inset
23810
23811
23812 \end_layout
23813
23814 \begin_layout Standard
23815 外部素材機能は,多くの外部プログラムとの橋渡しをし,しかもそれを自動的に行うので,そのセキュリティ面での帰結を考慮しなくてはなりません.特に,ユーザは好きなファ
23816 イル名やパラメータ文字列を含めることが許されていて,しかもそれらがコマンドに展開されるので,ユーザが文書を閲覧したり印刷したりしたときに,任意のコマンドを実行す
23817 ることができるような悪意ある文書を作成することが可能となりましょう.これは,我々がぜひとも避けたいことなのです.
23818 \end_layout
23819
23820 \begin_layout Standard
23821 しかしながら,外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,\SpecialChar LyX
23822 が安全なひな型でのみ適切に設定されているならば,セキュリティ上の問題は発生しま
23823 せん.これは,外部プログラムが
23824 \begin_inset Flex Code
23825 status collapsed
23826
23827 \begin_layout Plain Layout
23828 system
23829 \end_layout
23830
23831 \end_inset
23832
23833 システムコールではなく,
23834 \begin_inset Flex Code
23835 status collapsed
23836
23837 \begin_layout Plain Layout
23838 execvp
23839 \end_layout
23840
23841 \end_inset
23842
23843 システムコールで呼び出されているため,ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
23844 \end_layout
23845
23846 \begin_layout Standard
23847 これは,外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,制限があることを意味します.特に,パイプやリダイレクトはそのまま使用することは
23848 できません.これは,\SpecialChar LyX
23849 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,これを完全に統御の下においたまま行う安全なス
23850 クリプトを書いた上で,このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
23851 \end_layout
23852
23853 \begin_layout Standard
23854 シェルと直接やりとりするひな型を設計することは可能ではありますが,悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,任意のコマンドを実行できるよ
23855 うになるため,一般的には,統御下に置いた状態で
23856 \begin_inset Flex Code
23857 status collapsed
23858
23859 \begin_layout Plain Layout
23860 execvp
23861 \end_layout
23862
23863 \end_inset
23864
23865 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,管理された環境下で使用する分には,通常のシェルスクリプトを使用する方に流れる誘
23866 惑はあります.そうした場合には,お使いのシステムに簡単に濫用することのできるセキュリティホールを,
23867 \emph on
23868 間違いなく
23869 \emph default
23870 導入することを理解しておいてください.オープンソースの伝統に従って,私たちは人々に新しいひな型を投稿してくれるよう促していますが,そのような安全でないひな型はL
23871 yXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
23872 には,安全でないひな型は決して入っていません
23873
23874 \end_layout
23875
23876 \begin_layout Standard
23877 外部素材を含めることで強力な力を手に入れることができますが,この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリ
23878 プトのたった一行に入り込んだ,ちょっとしたエラーが,巨大なセキュリティ上の問題に扉を開きうるのです.したがって,もしこの問題を完全に理解していないならば,特定の
23879 ひな型が安全であるかどうか疑問がある際には,知識豊富なセキュリティの専門家か,\SpecialChar LyX
23880 開発チームに相談してみてください.そしてこの相談は,管理されていない環境下でこれを
23881 使用する前に,行うようにしてください.
23882 \end_layout
23883
23884 \begin_layout Chapter
23885 \start_of_appendix
23886 サポートされているレイアウト用\SpecialChar LyX
23887 関数一覧
23888 \begin_inset CommandInset label
23889 LatexCommand label
23890 name "chap:関数一覧"
23891
23892 \end_inset
23893
23894
23895 \end_layout
23896
23897 \begin_layout Standard
23898 \align center
23899 \begin_inset Tabular
23900 <lyxtabular version="3" rows="11" columns="8">
23901 <features tabularvalignment="middle">
23902 <column alignment="left" valignment="top">
23903 <column alignment="left" valignment="top">
23904 <column alignment="left" valignment="top">
23905 <column alignment="left" valignment="top">
23906 <column alignment="left" valignment="top">
23907 <column alignment="left" valignment="top">
23908 <column alignment="left" valignment="top">
23909 <column alignment="left" valignment="top">
23910 <row>
23911 <cell alignment="left" valignment="top" usebox="none">
23912 \begin_inset Text
23913
23914 \begin_layout Plain Layout
23915 accents
23916 \end_layout
23917
23918 \end_inset
23919 </cell>
23920 <cell alignment="left" valignment="top" usebox="none">
23921 \begin_inset Text
23922
23923 \begin_layout Plain Layout
23924 booktabs
23925 \end_layout
23926
23927 \end_inset
23928 </cell>
23929 <cell alignment="left" valignment="top" usebox="none">
23930 \begin_inset Text
23931
23932 \begin_layout Plain Layout
23933 feyn
23934 \end_layout
23935
23936 \end_inset
23937 </cell>
23938 <cell alignment="left" valignment="top" usebox="none">
23939 \begin_inset Text
23940
23941 \begin_layout Plain Layout
23942 listings
23943 \end_layout
23944
23945 \end_inset
23946 </cell>
23947 <cell alignment="center" valignment="top" usebox="none">
23948 \begin_inset Text
23949
23950 \begin_layout Plain Layout
23951 natbib
23952 \end_layout
23953
23954 \end_inset
23955 </cell>
23956 <cell alignment="center" valignment="top" usebox="none">
23957 \begin_inset Text
23958
23959 \begin_layout Plain Layout
23960 rotfloat
23961 \end_layout
23962
23963 \end_inset
23964 </cell>
23965 <cell alignment="center" valignment="top" usebox="none">
23966 \begin_inset Text
23967
23968 \begin_layout Plain Layout
23969 tfrupee
23970 \end_layout
23971
23972 \end_inset
23973 </cell>
23974 <cell alignment="center" valignment="top" usebox="none">
23975 \begin_inset Text
23976
23977 \begin_layout Plain Layout
23978 wasysym
23979 \end_layout
23980
23981 \end_inset
23982 </cell>
23983 </row>
23984 <row>
23985 <cell alignment="left" valignment="top" usebox="none">
23986 \begin_inset Text
23987
23988 \begin_layout Plain Layout
23989 amsbsy
23990 \end_layout
23991
23992 \end_inset
23993 </cell>
23994 <cell alignment="left" valignment="top" usebox="none">
23995 \begin_inset Text
23996
23997 \begin_layout Plain Layout
23998 calc
23999 \end_layout
24000
24001 \end_inset
24002 </cell>
24003 <cell alignment="left" valignment="top" usebox="none">
24004 \begin_inset Text
24005
24006 \begin_layout Plain Layout
24007 fixltx2e
24008 \end_layout
24009
24010 \end_inset
24011 </cell>
24012 <cell alignment="left" valignment="top" usebox="none">
24013 \begin_inset Text
24014
24015 \begin_layout Plain Layout
24016 longtable
24017 \end_layout
24018
24019 \end_inset
24020 </cell>
24021 <cell alignment="center" valignment="top" usebox="none">
24022 \begin_inset Text
24023
24024 \begin_layout Plain Layout
24025 nomencl
24026 \end_layout
24027
24028 \end_inset
24029 </cell>
24030 <cell alignment="center" valignment="top" usebox="none">
24031 \begin_inset Text
24032
24033 \begin_layout Plain Layout
24034 rsphrase
24035 \end_layout
24036
24037 \end_inset
24038 </cell>
24039 <cell alignment="center" valignment="top" usebox="none">
24040 \begin_inset Text
24041
24042 \begin_layout Plain Layout
24043 tipa
24044 \end_layout
24045
24046 \end_inset
24047 </cell>
24048 <cell alignment="center" valignment="top" usebox="none">
24049 \begin_inset Text
24050
24051 \begin_layout Plain Layout
24052 wrapfig
24053 \end_layout
24054
24055 \end_inset
24056 </cell>
24057 </row>
24058 <row>
24059 <cell alignment="left" valignment="top" usebox="none">
24060 \begin_inset Text
24061
24062 \begin_layout Plain Layout
24063 amscd
24064 \end_layout
24065
24066 \end_inset
24067 </cell>
24068 <cell alignment="left" valignment="top" usebox="none">
24069 \begin_inset Text
24070
24071 \begin_layout Plain Layout
24072 CJK
24073 \end_layout
24074
24075 \end_inset
24076 </cell>
24077 <cell alignment="left" valignment="top" usebox="none">
24078 \begin_inset Text
24079
24080 \begin_layout Plain Layout
24081 float
24082 \end_layout
24083
24084 \end_inset
24085 </cell>
24086 <cell alignment="left" valignment="top" usebox="none">
24087 \begin_inset Text
24088
24089 \begin_layout Plain Layout
24090 lyxskak
24091 \end_layout
24092
24093 \end_inset
24094 </cell>
24095 <cell alignment="center" valignment="top" usebox="none">
24096 \begin_inset Text
24097
24098 \begin_layout Plain Layout
24099 pdfcolmk
24100 \end_layout
24101
24102 \end_inset
24103 </cell>
24104 <cell alignment="center" valignment="top" usebox="none">
24105 \begin_inset Text
24106
24107 \begin_layout Plain Layout
24108 setspace
24109 \end_layout
24110
24111 \end_inset
24112 </cell>
24113 <cell alignment="center" valignment="top" usebox="none">
24114 \begin_inset Text
24115
24116 \begin_layout Plain Layout
24117 tipx
24118 \end_layout
24119
24120 \end_inset
24121 </cell>
24122 <cell alignment="center" valignment="top" usebox="none">
24123 \begin_inset Text
24124
24125 \begin_layout Plain Layout
24126 xargs
24127 \end_layout
24128
24129 \end_inset
24130 </cell>
24131 </row>
24132 <row>
24133 <cell alignment="left" valignment="top" usebox="none">
24134 \begin_inset Text
24135
24136 \begin_layout Plain Layout
24137 amsmath
24138 \end_layout
24139
24140 \end_inset
24141 </cell>
24142 <cell alignment="left" valignment="top" usebox="none">
24143 \begin_inset Text
24144
24145 \begin_layout Plain Layout
24146 color
24147 \end_layout
24148
24149 \end_inset
24150 </cell>
24151 <cell alignment="left" valignment="top" usebox="none">
24152 \begin_inset Text
24153
24154 \begin_layout Plain Layout
24155 framed
24156 \end_layout
24157
24158 \end_inset
24159 </cell>
24160 <cell alignment="left" valignment="top" usebox="none">
24161 \begin_inset Text
24162
24163 \begin_layout Plain Layout
24164 makeidx
24165 \end_layout
24166
24167 \end_inset
24168 </cell>
24169 <cell alignment="center" valignment="top" usebox="none">
24170 \begin_inset Text
24171
24172 \begin_layout Plain Layout
24173 pdfpages
24174 \end_layout
24175
24176 \end_inset
24177 </cell>
24178 <cell alignment="center" valignment="top" usebox="none">
24179 \begin_inset Text
24180
24181 \begin_layout Plain Layout
24182 shapepar
24183 \end_layout
24184
24185 \end_inset
24186 </cell>
24187 <cell alignment="center" valignment="top" usebox="none">
24188 \begin_inset Text
24189
24190 \begin_layout Plain Layout
24191 tone
24192 \end_layout
24193
24194 \end_inset
24195 </cell>
24196 <cell alignment="center" valignment="top" usebox="none">
24197 \begin_inset Text
24198
24199 \begin_layout Plain Layout
24200 xcolor
24201 \end_layout
24202
24203 \end_inset
24204 </cell>
24205 </row>
24206 <row>
24207 <cell alignment="left" valignment="top" usebox="none">
24208 \begin_inset Text
24209
24210 \begin_layout Plain Layout
24211 amssymb
24212 \end_layout
24213
24214 \end_inset
24215 </cell>
24216 <cell alignment="left" valignment="top" usebox="none">
24217 \begin_inset Text
24218
24219 \begin_layout Plain Layout
24220 covington
24221 \end_layout
24222
24223 \end_inset
24224 </cell>
24225 <cell alignment="left" valignment="top" usebox="none">
24226 \begin_inset Text
24227
24228 \begin_layout Plain Layout
24229 graphicx
24230 \end_layout
24231
24232 \end_inset
24233 </cell>
24234 <cell alignment="left" valignment="top" usebox="none">
24235 \begin_inset Text
24236
24237 \begin_layout Plain Layout
24238 marvosym
24239 \end_layout
24240
24241 \end_inset
24242 </cell>
24243 <cell alignment="center" valignment="top" usebox="none">
24244 \begin_inset Text
24245
24246 \begin_layout Plain Layout
24247 pifont
24248 \end_layout
24249
24250 \end_inset
24251 </cell>
24252 <cell alignment="center" valignment="top" usebox="none">
24253 \begin_inset Text
24254
24255 \begin_layout Plain Layout
24256 slashed
24257 \end_layout
24258
24259 \end_inset
24260 </cell>
24261 <cell alignment="center" valignment="top" usebox="none">
24262 \begin_inset Text
24263
24264 \begin_layout Plain Layout
24265 txfonts
24266 \end_layout
24267
24268 \end_inset
24269 </cell>
24270 <cell alignment="center" valignment="top" usebox="none">
24271 \begin_inset Text
24272
24273 \begin_layout Plain Layout
24274 xy
24275 \end_layout
24276
24277 \end_inset
24278 </cell>
24279 </row>
24280 <row>
24281 <cell alignment="left" valignment="top" usebox="none">
24282 \begin_inset Text
24283
24284 \begin_layout Plain Layout
24285 amstext
24286 \end_layout
24287
24288 \end_inset
24289 </cell>
24290 <cell alignment="left" valignment="top" usebox="none">
24291 \begin_inset Text
24292
24293 \begin_layout Plain Layout
24294 csquotes
24295 \end_layout
24296
24297 \end_inset
24298 </cell>
24299 <cell alignment="left" valignment="top" usebox="none">
24300 \begin_inset Text
24301
24302 \begin_layout Plain Layout
24303 hhline
24304 \end_layout
24305
24306 \end_inset
24307 </cell>
24308 <cell alignment="left" valignment="top" usebox="none">
24309 \begin_inset Text
24310
24311 \begin_layout Plain Layout
24312 mathdesign
24313 \end_layout
24314
24315 \end_inset
24316 </cell>
24317 <cell alignment="center" valignment="top" usebox="none">
24318 \begin_inset Text
24319
24320 \begin_layout Plain Layout
24321 pmboxdraw
24322 \end_layout
24323
24324 \end_inset
24325 </cell>
24326 <cell alignment="center" valignment="top" usebox="none">
24327 \begin_inset Text
24328
24329 \begin_layout Plain Layout
24330 soul
24331 \end_layout
24332
24333 \end_inset
24334 </cell>
24335 <cell alignment="center" valignment="top" usebox="none">
24336 \begin_inset Text
24337
24338 \begin_layout Plain Layout
24339 ulem
24340 \end_layout
24341
24342 \end_inset
24343 </cell>
24344 <cell alignment="center" valignment="top" usebox="none">
24345 \begin_inset Text
24346
24347 \begin_layout Plain Layout
24348 yhmath
24349 \end_layout
24350
24351 \end_inset
24352 </cell>
24353 </row>
24354 <row>
24355 <cell alignment="left" valignment="top" usebox="none">
24356 \begin_inset Text
24357
24358 \begin_layout Plain Layout
24359 amsthm
24360 \end_layout
24361
24362 \end_inset
24363 </cell>
24364 <cell alignment="left" valignment="top" usebox="none">
24365 \begin_inset Text
24366
24367 \begin_layout Plain Layout
24368 dvipost
24369 \end_layout
24370
24371 \end_inset
24372 </cell>
24373 <cell alignment="left" valignment="top" usebox="none">
24374 \begin_inset Text
24375
24376 \begin_layout Plain Layout
24377 hyperref
24378 \end_layout
24379
24380 \end_inset
24381 </cell>
24382 <cell alignment="left" valignment="top" usebox="none">
24383 \begin_inset Text
24384
24385 \begin_layout Plain Layout
24386 mathdots
24387 \end_layout
24388
24389 \end_inset
24390 </cell>
24391 <cell alignment="center" valignment="top" usebox="none">
24392 \begin_inset Text
24393
24394 \begin_layout Plain Layout
24395 polyglossia
24396 \end_layout
24397
24398 \end_inset
24399 </cell>
24400 <cell alignment="center" valignment="top" usebox="none">
24401 \begin_inset Text
24402
24403 \begin_layout Plain Layout
24404 splitidx
24405 \end_layout
24406
24407 \end_inset
24408 </cell>
24409 <cell alignment="center" valignment="top" usebox="none">
24410 \begin_inset Text
24411
24412 \begin_layout Plain Layout
24413 undertilde
24414 \end_layout
24415
24416 \end_inset
24417 </cell>
24418 <cell alignment="center" valignment="top" usebox="none">
24419 \begin_inset Text
24420
24421 \begin_layout Plain Layout
24422
24423 \end_layout
24424
24425 \end_inset
24426 </cell>
24427 </row>
24428 <row>
24429 <cell alignment="left" valignment="top" usebox="none">
24430 \begin_inset Text
24431
24432 \begin_layout Plain Layout
24433 array
24434 \end_layout
24435
24436 \end_inset
24437 </cell>
24438 <cell alignment="left" valignment="top" usebox="none">
24439 \begin_inset Text
24440
24441 \begin_layout Plain Layout
24442 endnotes
24443 \end_layout
24444
24445 \end_inset
24446 </cell>
24447 <cell alignment="left" valignment="top" usebox="none">
24448 \begin_inset Text
24449
24450 \begin_layout Plain Layout
24451 ifsym
24452 \end_layout
24453
24454 \end_inset
24455 </cell>
24456 <cell alignment="left" valignment="top" usebox="none">
24457 \begin_inset Text
24458
24459 \begin_layout Plain Layout
24460 mathrsfs
24461 \end_layout
24462
24463 \end_inset
24464 </cell>
24465 <cell alignment="center" valignment="top" usebox="none">
24466 \begin_inset Text
24467
24468 \begin_layout Plain Layout
24469 prettyref
24470 \end_layout
24471
24472 \end_inset
24473 </cell>
24474 <cell alignment="center" valignment="top" usebox="none">
24475 \begin_inset Text
24476
24477 \begin_layout Plain Layout
24478 subfig
24479 \end_layout
24480
24481 \end_inset
24482 </cell>
24483 <cell alignment="center" valignment="top" usebox="none">
24484 \begin_inset Text
24485
24486 \begin_layout Plain Layout
24487 units
24488 \end_layout
24489
24490 \end_inset
24491 </cell>
24492 <cell alignment="center" valignment="top" usebox="none">
24493 \begin_inset Text
24494
24495 \begin_layout Plain Layout
24496
24497 \end_layout
24498
24499 \end_inset
24500 </cell>
24501 </row>
24502 <row>
24503 <cell alignment="left" valignment="top" usebox="none">
24504 \begin_inset Text
24505
24506 \begin_layout Plain Layout
24507 ascii
24508 \end_layout
24509
24510 \end_inset
24511 </cell>
24512 <cell alignment="left" valignment="top" usebox="none">
24513 \begin_inset Text
24514
24515 \begin_layout Plain Layout
24516 enumitem
24517 \end_layout
24518
24519 \end_inset
24520 </cell>
24521 <cell alignment="left" valignment="top" usebox="none">
24522 \begin_inset Text
24523
24524 \begin_layout Plain Layout
24525 ifthen
24526 \end_layout
24527
24528 \end_inset
24529 </cell>
24530 <cell alignment="left" valignment="top" usebox="none">
24531 \begin_inset Text
24532
24533 \begin_layout Plain Layout
24534 mhchem
24535 \end_layout
24536
24537 \end_inset
24538 </cell>
24539 <cell alignment="center" valignment="top" usebox="none">
24540 \begin_inset Text
24541
24542 \begin_layout Plain Layout
24543 pxfonts
24544 \end_layout
24545
24546 \end_inset
24547 </cell>
24548 <cell alignment="center" valignment="top" usebox="none">
24549 \begin_inset Text
24550
24551 \begin_layout Plain Layout
24552 subscript
24553 \end_layout
24554
24555 \end_inset
24556 </cell>
24557 <cell alignment="center" valignment="top" usebox="none">
24558 \begin_inset Text
24559
24560 \begin_layout Plain Layout
24561 url
24562 \end_layout
24563
24564 \end_inset
24565 </cell>
24566 <cell alignment="center" valignment="top" usebox="none">
24567 \begin_inset Text
24568
24569 \begin_layout Plain Layout
24570
24571 \end_layout
24572
24573 \end_inset
24574 </cell>
24575 </row>
24576 <row>
24577 <cell alignment="left" valignment="top" usebox="none">
24578 \begin_inset Text
24579
24580 \begin_layout Plain Layout
24581 bbding
24582 \end_layout
24583
24584 \end_inset
24585 </cell>
24586 <cell alignment="left" valignment="top" usebox="none">
24587 \begin_inset Text
24588
24589 \begin_layout Plain Layout
24590 esint
24591 \end_layout
24592
24593 \end_inset
24594 </cell>
24595 <cell alignment="left" valignment="top" usebox="none">
24596 \begin_inset Text
24597
24598 \begin_layout Plain Layout
24599 jurabib
24600 \end_layout
24601
24602 \end_inset
24603 </cell>
24604 <cell alignment="left" valignment="top" usebox="none">
24605 \begin_inset Text
24606
24607 \begin_layout Plain Layout
24608 multicol
24609 \end_layout
24610
24611 \end_inset
24612 </cell>
24613 <cell alignment="center" valignment="top" usebox="none">
24614 \begin_inset Text
24615
24616 \begin_layout Plain Layout
24617 refstyle
24618 \end_layout
24619
24620 \end_inset
24621 </cell>
24622 <cell alignment="center" valignment="top" usebox="none">
24623 \begin_inset Text
24624
24625 \begin_layout Plain Layout
24626 textcomp
24627 \end_layout
24628
24629 \end_inset
24630 </cell>
24631 <cell alignment="center" valignment="top" usebox="none">
24632 \begin_inset Text
24633
24634 \begin_layout Plain Layout
24635 varioref
24636 \end_layout
24637
24638 \end_inset
24639 </cell>
24640 <cell alignment="center" valignment="top" usebox="none">
24641 \begin_inset Text
24642
24643 \begin_layout Plain Layout
24644
24645 \end_layout
24646
24647 \end_inset
24648 </cell>
24649 </row>
24650 <row>
24651 <cell alignment="center" valignment="top" usebox="none">
24652 \begin_inset Text
24653
24654 \begin_layout Plain Layout
24655 bm
24656 \end_layout
24657
24658 \end_inset
24659 </cell>
24660 <cell alignment="center" valignment="top" usebox="none">
24661 \begin_inset Text
24662
24663 \begin_layout Plain Layout
24664 fancybox
24665 \end_layout
24666
24667 \end_inset
24668 </cell>
24669 <cell alignment="center" valignment="top" usebox="none">
24670 \begin_inset Text
24671
24672 \begin_layout Plain Layout
24673 latexsym
24674 \end_layout
24675
24676 \end_inset
24677 </cell>
24678 <cell alignment="center" valignment="top" usebox="none">
24679 \begin_inset Text
24680
24681 \begin_layout Plain Layout
24682 multirow
24683 \end_layout
24684
24685 \end_inset
24686 </cell>
24687 <cell alignment="center" valignment="top" usebox="none">
24688 \begin_inset Text
24689
24690 \begin_layout Plain Layout
24691 rotating
24692 \end_layout
24693
24694 \end_inset
24695 </cell>
24696 <cell alignment="center" valignment="top" usebox="none">
24697 \begin_inset Text
24698
24699 \begin_layout Plain Layout
24700 textgreek
24701 \end_layout
24702
24703 \end_inset
24704 </cell>
24705 <cell alignment="center" valignment="top" usebox="none">
24706 \begin_inset Text
24707
24708 \begin_layout Plain Layout
24709 verbatim
24710 \end_layout
24711
24712 \end_inset
24713 </cell>
24714 <cell alignment="center" valignment="top" usebox="none">
24715 \begin_inset Text
24716
24717 \begin_layout Plain Layout
24718
24719 \end_layout
24720
24721 \end_inset
24722 </cell>
24723 </row>
24724 </lyxtabular>
24725
24726 \end_inset
24727
24728
24729 \end_layout
24730
24731 \begin_layout Chapter
24732 レイアウトで使用できる色名
24733 \begin_inset CommandInset label
24734 LatexCommand label
24735 name "chap:色名"
24736
24737 \end_inset
24738
24739
24740 \end_layout
24741
24742 \begin_layout Standard
24743 ここに列挙されている色は標準色であり,\SpecialChar LyX
24744 設定で調整できるものです.
24745 \end_layout
24746
24747 \begin_layout Section
24748
24749 \lang english
24750 Color functions
24751 \end_layout
24752
24753 \begin_layout Standard
24754
24755 \lang english
24756 The following are no real colors, but rather act on color definitions:
24757 \end_layout
24758
24759 \begin_layout Description
24760 ignore この色を無視します
24761 \end_layout
24762
24763 \begin_layout Description
24764 inherit この色を継承します
24765 \end_layout
24766
24767 \begin_layout Description
24768 none
24769 \series medium
24770  
24771 \series default
24772 特定の色ではありません – 透明か既定色です
24773 \end_layout
24774
24775 \begin_layout Section
24776
24777 \lang english
24778 Static colors
24779 \end_layout
24780
24781 \begin_layout Standard
24782
24783 \lang english
24784 These are fixed colors that cannot me customized:
24785 \end_layout
24786
24787 \begin_layout Description
24788 black
24789 \end_layout
24790
24791 \begin_layout Description
24792 white
24793 \end_layout
24794
24795 \begin_layout Description
24796 blue
24797 \end_layout
24798
24799 \begin_layout Description
24800 brown
24801 \end_layout
24802
24803 \begin_layout Description
24804 cyan
24805 \end_layout
24806
24807 \begin_layout Description
24808 darkgray
24809 \end_layout
24810
24811 \begin_layout Description
24812 gray
24813 \end_layout
24814
24815 \begin_layout Description
24816 green
24817 \end_layout
24818
24819 \begin_layout Description
24820 lightgray
24821 \end_layout
24822
24823 \begin_layout Description
24824 lime
24825 \end_layout
24826
24827 \begin_layout Description
24828 magenta
24829 \end_layout
24830
24831 \begin_layout Description
24832 olive
24833 \end_layout
24834
24835 \begin_layout Description
24836 orange
24837 \end_layout
24838
24839 \begin_layout Description
24840 pink
24841 \end_layout
24842
24843 \begin_layout Description
24844 purple
24845 \end_layout
24846
24847 \begin_layout Description
24848 red
24849 \end_layout
24850
24851 \begin_layout Description
24852 teal
24853 \end_layout
24854
24855 \begin_layout Description
24856 violet
24857 \end_layout
24858
24859 \begin_layout Description
24860 yellow
24861 \end_layout
24862
24863 \begin_layout Section
24864
24865 \lang english
24866 Dynamic colors
24867 \end_layout
24868
24869 \begin_layout Standard
24870
24871 \lang english
24872 These are the colors allocated to specific elements in
24873 \lang japanese
24874
24875 \begin_inset Flex MenuItem
24876 status collapsed
24877
24878 \begin_layout Plain Layout
24879 ツール\SpecialChar menuseparator
24880 設定
24881 \end_layout
24882
24883 \end_inset
24884
24885 :
24886 \end_layout
24887
24888 \begin_layout Description
24889 added_space 空白マーカ色
24890 \end_layout
24891
24892 \begin_layout Description
24893 addedtext 追加された文章色
24894 \end_layout
24895
24896 \begin_layout Description
24897 appendix 付録マーカ色
24898 \end_layout
24899
24900 \begin_layout Description
24901 background 背景色
24902 \end_layout
24903
24904 \begin_layout Description
24905 bottomarea 下部領域色
24906 \end_layout
24907
24908 \begin_layout Description
24909 branchlabel 派生枝ラベル色
24910 \end_layout
24911
24912 \begin_layout Description
24913 buttonbg ボタンの背景色
24914 \end_layout
24915
24916 \begin_layout Description
24917 buttonframe 差込枠の縁色
24918 \end_layout
24919
24920 \begin_layout Description
24921 buttonhoverbg フォーカスを得ているボタンの背景色
24922 \end_layout
24923
24924 \begin_layout Description
24925 changebar 変更バー色
24926 \end_layout
24927
24928 \begin_layout Description
24929 changedtextauthor1 変更された文章:第1著者の色
24930 \end_layout
24931
24932 \begin_layout Description
24933 changedtextauthor2 変更された文章:第2著者の色
24934 \end_layout
24935
24936 \begin_layout Description
24937 changedtextauthor3 変更された文章:第3著者の色
24938 \end_layout
24939
24940 \begin_layout Description
24941 changedtextauthor4 変更された文章:第4著者の色
24942 \end_layout
24943
24944 \begin_layout Description
24945 changedtextauthor5 変更された文章:第5著者の色
24946 \end_layout
24947
24948 \begin_layout Description
24949 collapsibletext 畳み込み可能枠の文字色
24950 \end_layout
24951
24952 \begin_layout Description
24953 collapsibleframe 畳み込み可能枠の縁色
24954 \end_layout
24955
24956 \begin_layout Description
24957 command コマンド差込枠の文字色
24958 \end_layout
24959
24960 \begin_layout Description
24961 commandbg コマンド差込枠の背景色
24962 \end_layout
24963
24964 \begin_layout Description
24965 commandframe コマンド差込枠の縁色
24966 \end_layout
24967
24968 \begin_layout Description
24969 comment コメント色
24970 \end_layout
24971
24972 \begin_layout Description
24973 commentbg コメントの背景色
24974 \end_layout
24975
24976 \begin_layout Description
24977 cursor カーソル色
24978 \end_layout
24979
24980 \begin_layout Description
24981 deletedtext 削除された文章の色
24982 \end_layout
24983
24984 \begin_layout Description
24985 deletedtextmodifier 削除された文章の修飾子の色
24986 \end_layout
24987
24988 \begin_layout Description
24989 depthbar 余白部の階層表示線の色
24990 \end_layout
24991
24992 \begin_layout Description
24993 eolmarker 行末標色
24994 \end_layout
24995
24996 \begin_layout Description
24997 error \SpecialChar LaTeX
24998 エラーボックス色
24999 \end_layout
25000
25001 \begin_layout Description
25002 footlabel 脚註ラベル色
25003 \end_layout
25004
25005 \begin_layout Description
25006 foreground 
25007 \lang english
25008 Foreground color
25009 \end_layout
25010
25011 \begin_layout Description
25012 graphicsbg 画像差込枠の背景色
25013 \end_layout
25014
25015 \begin_layout Description
25016 greyedoutbg 淡色表示差込枠の背景色
25017 \end_layout
25018
25019 \begin_layout Description
25020 greyedoutlabel 淡色表示差込枠のラベル色
25021 \end_layout
25022
25023 \begin_layout Description
25024 greyedouttext 淡色表示差込枠の文字色
25025 \end_layout
25026
25027 \begin_layout Description
25028 indexlabel 索引差込枠のラベル色
25029 \end_layout
25030
25031 \begin_layout Description
25032 inlinecompletion 行内補完色
25033 \end_layout
25034
25035 \begin_layout Description
25036 insetbg 差込枠標の背景色
25037 \end_layout
25038
25039 \begin_layout Description
25040 insetframe 差込枠標の縁色
25041 \end_layout
25042
25043 \begin_layout Description
25044 language 外国語の単語を標識するための色
25045 \end_layout
25046
25047 \begin_layout Description
25048 latex \SpecialChar LaTeX
25049 モードの文字色
25050 \end_layout
25051
25052 \begin_layout Description
25053 listingsbg プログラムリスト差込枠の背景色
25054 \end_layout
25055
25056 \begin_layout Description
25057 marginlabel 傍註のラベル色
25058 \end_layout
25059
25060 \begin_layout Description
25061 math 数式差込枠の文字色
25062 \end_layout
25063
25064 \begin_layout Description
25065 mathbg 数式差込枠の背景色
25066 \end_layout
25067
25068 \begin_layout Description
25069 mathcorners フォーカスを得ていない数式差込枠の縁色
25070 \end_layout
25071
25072 \begin_layout Description
25073 mathframe フォーカスを得ている数式差込枠の縁色
25074 \end_layout
25075
25076 \begin_layout Description
25077 mathline 数式行色
25078 \end_layout
25079
25080 \begin_layout Description
25081 mathmacrobg 数式マクロ差込枠の背景色
25082 \end_layout
25083
25084 \begin_layout Description
25085 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
25086 \end_layout
25087
25088 \begin_layout Description
25089 mathmacroframe 数式マクロ差込枠の縁色
25090 \end_layout
25091
25092 \begin_layout Description
25093 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
25094 \end_layout
25095
25096 \begin_layout Description
25097 mathmacrolabel 数式マクロ差込枠のラベル色
25098 \end_layout
25099
25100 \begin_layout Description
25101 mathmacronewarg 数式マクロ新パラメーターのひな型色
25102 \end_layout
25103
25104 \begin_layout Description
25105 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
25106 \end_layout
25107
25108 \begin_layout Description
25109 newpage 新規頁色
25110 \end_layout
25111
25112 \begin_layout Description
25113 nonunique_inlinecompletion 行内補完の一意でない部分の色
25114 \end_layout
25115
25116 \begin_layout Description
25117 note 註釈のラベル色
25118 \end_layout
25119
25120 \begin_layout Description
25121 notebg 註釈の背景色
25122 \end_layout
25123
25124 \begin_layout Description
25125 pagebreak 改頁/改行色
25126 \end_layout
25127
25128 \begin_layout Description
25129 paragraphmarker 段落末を標識するための段落標の色
25130 \end_layout
25131
25132 \begin_layout Description
25133 phantomtext 埋め草差込枠の文字色
25134 \end_layout
25135
25136 \begin_layout Description
25137 preview プレビューに用いられる色
25138 \end_layout
25139
25140 \begin_layout Description
25141 previewframe プレビュー縁色
25142 \end_layout
25143
25144 \begin_layout Description
25145 regexpframe 正規表現枠の色
25146 \end_layout
25147
25148 \begin_layout Description
25149 scroll 
25150 \lang english
25151 Color that indicates when a row can be scrolled
25152 \end_layout
25153
25154 \begin_layout Description
25155 selection 文章選択部の背景色
25156 \end_layout
25157
25158 \begin_layout Description
25159 selectiontext 文章選択部の前景色
25160 \end_layout
25161
25162 \begin_layout Description
25163 shadedbg 影付きボックスの背景色
25164 \end_layout
25165
25166 \begin_layout Description
25167 special 特殊文字の色
25168 \end_layout
25169
25170 \begin_layout Description
25171 tabularline 罫線色
25172 \end_layout
25173
25174 \begin_layout Description
25175 tabularonoffline 罫線色
25176 \end_layout
25177
25178 \begin_layout Description
25179 urllabel URL差込枠のラベル色
25180 \end_layout
25181
25182 \begin_layout Description
25183 urltext URL差込枠の文字色
25184 \end_layout
25185
25186 \end_body
25187 \end_document