]> git.lyx.org Git - lyx.git/blob - lib/doc/ja/Customization.lyx
Use Flex Code inset instead of typewriter custom font style.
[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
2950 \backslash
2951 #PO-Mode
2952 \end_layout
2953
2954 \end_inset
2955
2956
2957 \end_layout
2958
2959 \end_inset
2960
2961 メニューラベルやウィジェットラベルのうちには,翻訳しなくてはならない
2962 \begin_inset Flex Ruby
2963 status collapsed
2964
2965 \begin_layout Plain Layout
2966 捷径
2967 \begin_inset Argument post:1
2968 status collapsed
2969
2970 \begin_layout Plain Layout
2971 ショートカット
2972 \end_layout
2973
2974 \end_inset
2975
2976
2977 \end_layout
2978
2979 \end_inset
2980
2981 がある場合があります.これらのキーは「|」の後に記されており,当該言語の単語やフレーズに対応して翻訳しなくてはなりません.さらに,新しい
2982 \begin_inset Flex Code
2983 status collapsed
2984
2985 \begin_layout Plain Layout
2986 po
2987 \end_layout
2988
2989 \end_inset
2990
2991 ファイルの冒頭に,あなたの電子メールアドレスなどの情報も書き加えて,人々があなたに提案や,滑稽な怒りのメッセージを届けることができるようにしてください.
2992 \end_layout
2993
2994 \begin_layout Standard
2995 もし,あなたがこれを自身のためだけに行っているのであれば,
2996 \end_layout
2997
2998 \begin_layout Itemize
2999 \begin_inset Flex Code
3000 status collapsed
3001
3002 \begin_layout Plain Layout
3003 xx.mo
3004 \end_layout
3005
3006 \end_inset
3007
3008 を生成してください.これは
3009 \begin_inset Flex Code
3010 status collapsed
3011
3012 \begin_layout Plain Layout
3013 msgfmt -o xx.mo < xx.po
3014 \end_layout
3015
3016 \end_inset
3017
3018 でできます.
3019 \end_layout
3020
3021 \begin_layout Itemize
3022 この
3023 \begin_inset Flex Code
3024 status collapsed
3025
3026 \begin_layout Plain Layout
3027 mo
3028 \end_layout
3029
3030 \end_inset
3031
3032 ファイルを,お使いのロケールツリー中,言語xxのアプリケーションメッセージ用の正式なディレクトリにコピーして,
3033 \begin_inset Flex Code
3034 status collapsed
3035
3036 \begin_layout Plain Layout
3037 lyx.mo
3038 \end_layout
3039
3040 \end_inset
3041
3042 という名称にしてください(例:
3043 \begin_inset Flex Code
3044 status collapsed
3045
3046 \begin_layout Plain Layout
3047 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3048 \end_layout
3049
3050 \end_inset
3051
3052 ).
3053 \end_layout
3054
3055 \begin_layout Standard
3056 しかしながら前述のように,この新しい
3057 \begin_inset Flex Code
3058 status collapsed
3059
3060 \begin_layout Plain Layout
3061 po
3062 \end_layout
3063
3064 \end_inset
3065
3066 ファイルを他の人たちが使用できるよう,\SpecialChar LyX
3067 頒布版に追加できることが最善です.これを追加するには,\SpecialChar LyX
3068 に変更を加える必要がありますので,もしその気があれば,開発者メーリン
3069 グリストに電子メールを送ってください.
3070 \end_layout
3071
3072 \begin_layout Subsubsection
3073 多義訳語メッセージ
3074 \end_layout
3075
3076 \begin_layout Standard
3077 時には,一つの英語のメッセージが,翻訳先の言語では複数のメッセージに翻訳されなくてはならないことが判明することがあります.一つの例は,
3078 \begin_inset Flex Code
3079 status collapsed
3080
3081 \begin_layout Plain Layout
3082 To
3083 \end_layout
3084
3085 \end_inset
3086
3087 というメッセージで,これは英語で「to」がどういう意味を持っているかによって,独語ではNachと訳されたりBisと訳されたりします.GNU 
3088 \begin_inset Flex Code
3089 status collapsed
3090
3091 \begin_layout Plain Layout
3092 gettext
3093 \end_layout
3094
3095 \end_inset
3096
3097 は,このような多義訳語を
3098 \begin_inset Flex Code
3099 status collapsed
3100
3101 \begin_layout Plain Layout
3102 To
3103 \end_layout
3104
3105 \end_inset
3106
3107 の代わりに,
3108 \begin_inset Flex Code
3109 status collapsed
3110
3111 \begin_layout Plain Layout
3112 To[[as in 'From format x to format y']]
3113 \end_layout
3114
3115 \end_inset
3116
3117
3118 \begin_inset Flex Code
3119 status collapsed
3120
3121 \begin_layout Plain Layout
3122 To[[as in 'From page x to page y']]
3123 \end_layout
3124
3125 \end_inset
3126
3127 としなくてはなりません.これによって,これら2つの
3128 \begin_inset Flex Code
3129 status collapsed
3130
3131 \begin_layout Plain Layout
3132 To
3133 \end_layout
3134
3135 \end_inset
3136
3137 は,
3138 \begin_inset Flex Code
3139 status collapsed
3140
3141 \begin_layout Plain Layout
3142 gettext
3143 \end_layout
3144
3145 \end_inset
3146
3147 には別物と解釈され,それぞれ正しくNachとBisに訳すことができるようになります.
3148 \end_layout
3149
3150 \begin_layout Standard
3151 もちろん,この文脈情報は,翻訳が存在しないときには取り去られる必要がありますので,メッセージの終わりに二重大括弧で囲わなくてはなりません(上例参照).\SpecialChar LyX
3152 の翻訳機構
3153 では,メッセージの終わりに二重大括弧で囲われているものはすべて,メッセージを表示する前に取り去るようにされています.
3154 \end_layout
3155
3156 \begin_layout Subsection
3157 説明書を翻訳する
3158 \end_layout
3159
3160 \begin_layout Standard
3161
3162 \begin_inset Flex MenuItem
3163 status collapsed
3164
3165 \begin_layout Plain Layout
3166 Help
3167 \end_layout
3168
3169 \end_inset
3170
3171 メニュー中の)オンライン説明書は翻訳することができます(そして翻訳されるべきです!).説明書の翻訳版が利用可能であり
3172 \begin_inset Foot
3173 status collapsed
3174
3175 \begin_layout Plain Layout
3176 2008年3月現在,説明書の少なくとも一部が翻訳されている言語は14言語に上り,入門編が訳されているものはさらにいくつかあります.
3177 \end_layout
3178
3179 \end_inset
3180
3181 ,ロケールがその言語に設定されている場合,\SpecialChar LyX
3182 はこれを自動的に使用します.\SpecialChar LyX
3183 は,翻訳版を
3184 \begin_inset Flex Code
3185 status collapsed
3186
3187 \begin_layout Plain Layout
3188 LyXDir/doc/xx/DocName.lyx
3189 \end_layout
3190
3191 \end_inset
3192
3193
3194 \begin_inset Flex Code
3195 status collapsed
3196
3197 \begin_layout Plain Layout
3198 xx
3199 \end_layout
3200
3201 \end_inset
3202
3203 は現在使用している言語コード)で探します.翻訳文書がない場合には,既定の英語版が表示されます.翻訳版は,原典と同じファイル名(上述の
3204 \begin_inset Flex Code
3205 status collapsed
3206
3207 \begin_layout Plain Layout
3208 DocName
3209 \end_layout
3210
3211 \end_inset
3212
3213 )を持っていなくてはならないことに注意してください.説明書を翻訳する気がおありであれば(これは原典の校正としてもたいへん役立ちます!),以下のような点をすぐに行
3214 うべきです.
3215 \end_layout
3216
3217 \begin_layout Itemize
3218 説明書翻訳ウェブページ
3219 \begin_inset CommandInset href
3220 LatexCommand href
3221 name "https://www.lyx.org/Translation"
3222 target "https://www.lyx.org/Translation"
3223 literal "false"
3224
3225 \end_inset
3226
3227 を確認してください.ここで,どの文書が(もしあれば)お使いの言語に既に翻訳されているかを見つけることができます.また,説明書をお使いの言語に翻訳する作業の面倒を
3228 見ている人を(もしいれば)見つけることができます.この作業の面倒を見ている人がいない場合には,私たちにあなたが興味をお持ちであることを知らせてください.
3229 \end_layout
3230
3231 \begin_layout Standard
3232 いったん実際の翻訳の仕事に取りかかったならば,トラブルを回避するいくつかのヒントがあります.
3233 \end_layout
3234
3235 \begin_layout Itemize
3236 文書化チームに所属してください!そのための情報が
3237 \begin_inset Flex Code
3238 status collapsed
3239
3240 \begin_layout Plain Layout
3241 Intro.lyx
3242 \end_layout
3243
3244 \end_inset
3245
3246
3247 \begin_inset Flex MenuItem
3248 status collapsed
3249
3250 \begin_layout Plain Layout
3251 ヘルプ\SpecialChar menuseparator
3252 はじめの一歩
3253 \end_layout
3254
3255 \end_inset
3256
3257 )にあります.また,この
3258 \begin_inset Flex Code
3259 status collapsed
3260
3261 \begin_layout Plain Layout
3262 Intro.lyx
3263 \end_layout
3264
3265 \end_inset
3266
3267 が最初に訳すべき文書です.
3268 \end_layout
3269
3270 \begin_layout Itemize
3271 翻訳しようとする言語での印刷慣行を学んでください.活版印刷は古来の技術であり,何世紀にもわたって世界の至る所で,様々な慣行を発達させてきました.また,あなたの国
3272 で活版工が用いる専門用語も学んでください.自分で勝手な専門用語を捻出するとユーザを混乱させるだけです.(
3273 \emph on
3274 警告!活版技術は病みつきになる可能性があるので注意してくさい!
3275 \emph default
3276
3277 \end_layout
3278
3279 \begin_layout Itemize
3280 文書のコピーをとってください.これを作業用コピーとします.これをお使いの
3281 \begin_inset Flex Code
3282 status collapsed
3283
3284 \begin_layout Plain Layout
3285 UserDir/doc/xx/
3286 \end_layout
3287
3288 \end_inset
3289
3290 ディレクトリにコピーすれば,個人用の翻訳ヘルプファイルとして使用することができます.
3291 \begin_inset Newline newline
3292 \end_inset
3293
3294
3295 \begin_inset Note Greyedout
3296 status open
3297
3298 \begin_layout Plain Layout
3299
3300 \series bold
3301 【註】
3302 \series default
3303 外部素材(画像など)のある複雑な文書の場合,例えば一時ディレクトリなどにコピーを作ると,文書を別の場所に移したとき,外部素材へのリンクは壊れてしまうかもしれない
3304 ことに注意してください.最も良い方法は,LyXツリーをgit (
3305 \begin_inset Flex URL
3306 status collapsed
3307
3308 \begin_layout Plain Layout
3309
3310 https://www.lyx.org/HowToUseGIT
3311 \end_layout
3312
3313 \end_inset
3314
3315 参照)からとってきて,そのdocファイルを直接編集するのが良いでしょう.
3316 \end_layout
3317
3318 \end_inset
3319
3320
3321 \end_layout
3322
3323 \begin_layout Itemize
3324 (\SpecialChar LyX
3325 チームが維持している)原典の説明書は,時折更新されます.変更点については,
3326 \begin_inset CommandInset href
3327 LatexCommand href
3328 name "https://www.lyx.org/trac/timeline"
3329 target "https://www.lyx.org/trac/timeline"
3330 literal "false"
3331
3332 \end_inset
3333
3334 のソースビューアでご覧ください.この方法で,翻訳文書のどの部分を更新しなくてはならないか,たやすく見つけることができます.
3335 \end_layout
3336
3337 \begin_layout Standard
3338 もし原典に誤りを見つけたならば,修正して文書化チームの他のメンバーに変更したことを知らせてください(文書化チームに参加することをお忘れになっていませんよね).
3339 \end_layout
3340
3341 \begin_layout Standard
3342 \begin_inset Branch OutDated
3343 inverted 0
3344 status collapsed
3345
3346 \begin_layout Section
3347 International Keyboard Support
3348 \end_layout
3349
3350 \begin_layout Standard
3351
3352 \emph on
3353 [Editor's Note: The following section is by
3354 \emph default
3355  
3356 \shape smallcaps
3357 \emph on
3358 Ivan Schreter
3359 \shape default
3360 .
3361  It needs to be fixed to conform to the new Documentation Style sheet and
3362  to make use of the new v1.0 features.
3363  The whole thing also needs to be merged with the section following it.-jw
3364  It may also be badly out of date.-rh (2008)]
3365 \end_layout
3366
3367 \begin_layout Subsection
3368 Defining Own Keymaps: Keymap File Format
3369 \end_layout
3370
3371 \begin_layout Standard
3372 Let's look at a keyboard definition file a little closer.
3373  It is a plain text file defining
3374 \end_layout
3375
3376 \begin_layout Itemize
3377 key-to-key or key-to-string translations
3378 \end_layout
3379
3380 \begin_layout Itemize
3381 dead keys
3382 \end_layout
3383
3384 \begin_layout Itemize
3385 dead keys exceptions
3386 \end_layout
3387
3388 \begin_layout Standard
3389 To define key-to-key or key-to-string translation, use this command:
3390 \end_layout
3391
3392 \begin_layout Quotation
3393 \begin_inset Flex Code
3394 status collapsed
3395
3396 \begin_layout Plain Layout
3397
3398 \backslash
3399 kmap
3400 \end_layout
3401
3402 \end_inset
3403
3404  
3405 \begin_inset Flex Code
3406 status collapsed
3407
3408 \begin_layout Plain Layout
3409 key
3410 \end_layout
3411
3412 \end_inset
3413
3414  outstring 
3415 \end_layout
3416
3417 \begin_layout Standard
3418 where 
3419 \begin_inset Flex Code
3420 status collapsed
3421
3422 \begin_layout Plain Layout
3423 key
3424 \end_layout
3425
3426 \end_inset
3427
3428  is the key to be translated and 
3429 \begin_inset Flex Code
3430 status collapsed
3431
3432 \begin_layout Plain Layout
3433 outstring
3434 \end_layout
3435
3436 \end_inset
3437
3438  is the string to be inserted into the document.
3439  To define dead keys, use:
3440 \end_layout
3441
3442 \begin_layout Quotation
3443 \begin_inset Flex Code
3444 status collapsed
3445
3446 \begin_layout Plain Layout
3447
3448 \backslash
3449 kmod
3450 \end_layout
3451
3452 \end_inset
3453
3454  
3455 \begin_inset Flex Code
3456 status collapsed
3457
3458 \begin_layout Plain Layout
3459 key
3460 \end_layout
3461
3462 \end_inset
3463
3464  deadkey
3465 \end_layout
3466
3467 \begin_layout Standard
3468 where 
3469 \begin_inset Flex Code
3470 status collapsed
3471
3472 \begin_layout Plain Layout
3473 key
3474 \end_layout
3475
3476 \end_inset
3477
3478  is a keyboard key and 
3479 \begin_inset Flex Code
3480 status collapsed
3481
3482 \begin_layout Plain Layout
3483 deadkey
3484 \end_layout
3485
3486 \end_inset
3487
3488  is dead key name.
3489  The following dead keys are supported (shortcut name is in parentheses):
3490 \end_layout
3491
3492 \begin_layout Quotation
3493
3494 \emph on
3495 Name
3496 \begin_inset space \hfill{}
3497 \end_inset
3498
3499 Example
3500 \end_layout
3501
3502 \begin_layout Quotation
3503 acute (acu)
3504 \begin_inset space \hfill{}
3505 \end_inset
3506
3507
3508 \lang english
3509 áéíóú
3510 \end_layout
3511
3512 \begin_layout Quotation
3513 grave (gra)
3514 \begin_inset space \hfill{}
3515 \end_inset
3516
3517
3518 \lang english
3519 àèìòù
3520 \end_layout
3521
3522 \begin_layout Quotation
3523 macron (mac)
3524 \begin_inset space \hfill{}
3525 \end_inset
3526
3527
3528 \lang english
3529  ō
3530 \end_layout
3531
3532 \begin_layout Quotation
3533 tilde (til)
3534 \begin_inset space \hfill{}
3535 \end_inset
3536
3537
3538 \lang english
3539 ñÑ
3540 \end_layout
3541
3542 \begin_layout Quotation
3543 underbar (underb)
3544 \begin_inset space \hfill{}
3545 \end_inset
3546
3547
3548 \begin_inset ERT
3549 status open
3550
3551 \begin_layout Plain Layout
3552
3553
3554 \backslash
3555 b o
3556 \end_layout
3557
3558 \end_inset
3559
3560
3561 \end_layout
3562
3563 \begin_layout Quotation
3564 cedilla (ced)
3565 \begin_inset space \hfill{}
3566 \end_inset
3567
3568
3569 \lang english
3570 çÇ
3571 \end_layout
3572
3573 \begin_layout Quotation
3574 underdot (underd)
3575 \begin_inset space \hfill{}
3576 \end_inset
3577
3578
3579 \begin_inset ERT
3580 status open
3581
3582 \begin_layout Plain Layout
3583
3584
3585 \backslash
3586 d o
3587 \end_layout
3588
3589 \end_inset
3590
3591
3592 \end_layout
3593
3594 \begin_layout Quotation
3595 circumflex (circu)
3596 \begin_inset space \hfill{}
3597 \end_inset
3598
3599
3600 \lang english
3601 âêîôû
3602 \end_layout
3603
3604 \begin_layout Quotation
3605 circle (circl)
3606 \begin_inset space \hfill{}
3607 \end_inset
3608
3609
3610 \lang english
3611 ÅůŮ
3612 \end_layout
3613
3614 \begin_layout Quotation
3615 tie (tie)
3616 \begin_inset space \hfill{}
3617 \end_inset
3618
3619
3620 \begin_inset ERT
3621 status open
3622
3623 \begin_layout Plain Layout
3624
3625
3626 \backslash
3627 t o
3628 \end_layout
3629
3630 \end_inset
3631
3632
3633 \end_layout
3634
3635 \begin_layout Quotation
3636 breve (bre)
3637 \begin_inset space \hfill{}
3638 \end_inset
3639
3640
3641 \lang english
3642 ă
3643 \lang japanese
3644
3645 \begin_inset ERT
3646 status open
3647
3648 \begin_layout Plain Layout
3649
3650
3651 \backslash
3652 u o
3653 \end_layout
3654
3655 \end_inset
3656
3657
3658 \end_layout
3659
3660 \begin_layout Quotation
3661 caron (car)
3662 \begin_inset space \hfill{}
3663 \end_inset
3664
3665
3666 \lang english
3667 čšž
3668 \end_layout
3669
3670 \begin_layout Quotation
3671 hungarian umlaut (hug)
3672 \begin_inset space \hfill{}
3673 \end_inset
3674
3675
3676 \lang english
3677 őű
3678 \end_layout
3679
3680 \begin_layout Quotation
3681 umlaut (uml)
3682 \begin_inset space \hfill{}
3683 \end_inset
3684
3685
3686 \lang english
3687 äöü
3688 \end_layout
3689
3690 \begin_layout Quotation
3691 dot (dot)
3692 \begin_inset space \hfill{}
3693 \end_inset
3694
3695
3696 \lang english
3697 ż
3698 \lang japanese
3699
3700 \begin_inset ERT
3701 status open
3702
3703 \begin_layout Plain Layout
3704
3705
3706 \backslash
3707 .s
3708 \end_layout
3709
3710 \end_inset
3711
3712
3713 \end_layout
3714
3715 \begin_layout Standard
3716 Since in many international keyboards there are exceptions to what some
3717  dead keys should do, you can define them using
3718 \end_layout
3719
3720 \begin_layout Quotation
3721 \begin_inset Flex Code
3722 status collapsed
3723
3724 \begin_layout Plain Layout
3725
3726 \backslash
3727 kxmod
3728 \end_layout
3729
3730 \end_inset
3731
3732  deadkey key outstring
3733 \end_layout
3734
3735 \begin_layout Standard
3736 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3737 , so you put in
3738 \end_layout
3739
3740 \begin_layout Quotation
3741 \begin_inset Flex Code
3742 status collapsed
3743
3744 \begin_layout Plain Layout
3745
3746 \backslash
3747 kxmod
3748 \end_layout
3749
3750 \end_inset
3751
3752  caron o "
3753 \backslash
3754 ^o"
3755 \end_layout
3756
3757 \begin_layout Standard
3758 to make it work correctly.
3759  Also, you have to define as exceptions dead keys over i and j, to remove
3760  the dot from them before inserting an accent mark.
3761  I will change this when the time comes, but so far I haven't had time.
3762 \end_layout
3763
3764 \begin_layout Standard
3765 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3766  double backslash.
3767  Also, quotes and 
3768 \begin_inset Flex Code
3769 status collapsed
3770
3771 \begin_layout Plain Layout
3772 #
3773 \end_layout
3774
3775 \end_inset
3776
3777  have different meaning.
3778  
3779 \begin_inset Flex Code
3780 status collapsed
3781
3782 \begin_layout Plain Layout
3783 #
3784 \end_layout
3785
3786 \end_inset
3787
3788  marks comments, quotes start and end \SpecialChar LaTeX
3789 -style commands.
3790  To enter quote, you'll need to use 
3791 \begin_inset Flex Code
3792 status collapsed
3793
3794 \begin_layout Plain Layout
3795
3796 \backslash
3797 "
3798 \end_layout
3799
3800 \end_inset
3801
3802 , to enter 
3803 \begin_inset Flex Code
3804 status collapsed
3805
3806 \begin_layout Plain Layout
3807 #
3808 \end_layout
3809
3810 \end_inset
3811
3812 , use 
3813 \begin_inset Flex Code
3814 status collapsed
3815
3816 \begin_layout Plain Layout
3817
3818 \backslash
3819 #
3820 \end_layout
3821
3822 \end_inset
3823
3824 .
3825 \end_layout
3826
3827 \begin_layout Standard
3828 If you make a keyboard description file that works for your language, please
3829  mail it to me, so I can include it in the next keymap distribution.
3830 \end_layout
3831
3832 \begin_layout Standard
3833 More keywords will be supported in keymap configuration file in future,
3834  like
3835 \end_layout
3836
3837 \begin_layout Itemize
3838 \begin_inset Flex Code
3839 status collapsed
3840
3841 \begin_layout Plain Layout
3842
3843 \backslash
3844 kinclude filename
3845 \end_layout
3846
3847 \end_inset
3848
3849
3850 \emph on
3851
3852 \begin_inset space \hfill{}
3853 \end_inset
3854
3855
3856 \begin_inset Flex Code
3857 status collapsed
3858
3859 \begin_layout Plain Layout
3860 include
3861 \end_layout
3862
3863 \end_inset
3864
3865  another file
3866 \end_layout
3867
3868 \begin_layout Itemize
3869 \begin_inset Flex Code
3870 status collapsed
3871
3872 \begin_layout Plain Layout
3873
3874 \backslash
3875 kprog program
3876 \end_layout
3877
3878 \end_inset
3879
3880
3881 \emph on
3882
3883 \begin_inset space \hfill{}
3884 \end_inset
3885
3886
3887 \begin_inset Flex Code
3888 status collapsed
3889
3890 \begin_layout Plain Layout
3891 define
3892 \end_layout
3893
3894 \end_inset
3895
3896  an external keymap translation program 
3897 \end_layout
3898
3899 \begin_layout Standard
3900 Also, it should look into 
3901 \begin_inset Flex Code
3902 status collapsed
3903
3904 \begin_layout Plain Layout
3905 lyxrc
3906 \end_layout
3907
3908 \end_inset
3909
3910  file for defaults, too (for example, a 
3911 \begin_inset Flex Code
3912 status collapsed
3913
3914 \begin_layout Plain Layout
3915
3916 \backslash
3917 kinclude
3918 \end_layout
3919
3920 \end_inset
3921
3922  option to include default keyboard).
3923 \end_layout
3924
3925 \end_inset
3926
3927
3928 \end_layout
3929
3930 \begin_layout Section
3931 国際キー配列
3932 \begin_inset CommandInset label
3933 LatexCommand label
3934 name "sec:国際キー配列"
3935
3936 \end_inset
3937
3938
3939 \end_layout
3940
3941 \begin_layout Standard
3942 \begin_inset Note Note
3943 status open
3944
3945 \begin_layout Plain Layout
3946 2008年3月にこの文書を改訂するに当たって,改訂者が本節の内容に詳しくなかったために,本節は改訂されていません.他に改訂してくださる方がおられれば幸いです.
3947 \end_layout
3948
3949 \begin_layout Plain Layout
3950 (RH)
3951 \end_layout
3952
3953 \end_inset
3954
3955
3956 \end_layout
3957
3958 \begin_layout Standard
3959 以下の2節では,
3960 \begin_inset Flex Code
3961 status collapsed
3962
3963 \begin_layout Plain Layout
3964 .kmap
3965 \end_layout
3966
3967 \end_inset
3968
3969 および
3970 \begin_inset Flex Code
3971 status collapsed
3972
3973 \begin_layout Plain Layout
3974 .cdef
3975 \end_layout
3976
3977 \end_inset
3978
3979 ファイルの文法を詳細に解説します.これらの節は,提供されているキー配列があなたのニーズに合わない場合に,自身用のキー配列をデザインする手助けとなるでしょう.
3980 \end_layout
3981
3982 \begin_layout Subsection
3983 .kmapファイル
3984 \end_layout
3985
3986 \begin_layout Standard
3987 \begin_inset Flex Code
3988 status collapsed
3989
3990 \begin_layout Plain Layout
3991 .kmap
3992 \end_layout
3993
3994 \end_inset
3995
3996 ファイルは,打鍵したものを文字や文字列に割り当てます.名前が示唆するように,これはキーボード配列表を定義します.
3997 \begin_inset Flex Code
3998 status collapsed
3999
4000 \begin_layout Plain Layout
4001 .kmap
4002 \end_layout
4003
4004 \end_inset
4005
4006 ファイルは,以下の各項で説明するように,
4007 \begin_inset Flex Code
4008 status collapsed
4009
4010 \begin_layout Plain Layout
4011 kmap
4012 \end_layout
4013
4014 \end_inset
4015
4016
4017 \begin_inset Flex Code
4018 status collapsed
4019
4020 \begin_layout Plain Layout
4021 kmod
4022 \end_layout
4023
4024 \end_inset
4025
4026
4027 \begin_inset Flex Code
4028 status collapsed
4029
4030 \begin_layout Plain Layout
4031 ksmod
4032 \end_layout
4033
4034 \end_inset
4035
4036
4037 \begin_inset Flex Code
4038 status collapsed
4039
4040 \begin_layout Plain Layout
4041 kcomb
4042 \end_layout
4043
4044 \end_inset
4045
4046 のキーワードを定義します.
4047 \end_layout
4048
4049 \begin_layout Labeling
4050 \labelwidthstring 00.00.0000
4051 \begin_inset Flex Code
4052 status collapsed
4053
4054 \begin_layout Plain Layout
4055 kmap
4056 \end_layout
4057
4058 \end_inset
4059
4060  文字を文字列に割り当てる
4061 \end_layout
4062
4063 \begin_layout LyX-Code
4064
4065 \backslash
4066 kmap 
4067 \family roman
4068 \emph on
4069 文字
4070 \family default
4071 \emph default
4072  
4073 \family roman
4074 \emph on
4075 文字列
4076 \end_layout
4077
4078 \begin_layout Standard
4079 これは,
4080 \emph on
4081 文字
4082 \emph default
4083
4084 \emph on
4085 文字列
4086 \emph default
4087 に割り当てます.
4088 \emph on
4089 文字列
4090 \emph default
4091 中では,二重引用符(")とバックスラッシュ(
4092 \backslash
4093 )は,前にバックスラッシュ(
4094 \backslash
4095 )を付けてエスケープしなくてはならないことに注意してください.
4096 \end_layout
4097
4098 \begin_layout Standard
4099 \begin_inset Flex MenuItem
4100 status collapsed
4101
4102 \begin_layout Plain Layout
4103 &
4104 \end_layout
4105
4106 \end_inset
4107
4108 を打鍵すると
4109 \begin_inset Flex MenuItem
4110 status collapsed
4111
4112 \begin_layout Plain Layout
4113 /
4114 \end_layout
4115
4116 \end_inset
4117
4118 記号が出力される
4119 \begin_inset Flex MenuItem
4120 status collapsed
4121
4122 \begin_layout Plain Layout
4123 kmap
4124 \end_layout
4125
4126 \end_inset
4127
4128 ステートメントを,一例としてあげると,
4129 \end_layout
4130
4131 \begin_layout LyX-Code
4132
4133 \backslash
4134 kmap & /
4135 \end_layout
4136
4137 \begin_layout Standard
4138 のようになります.
4139 \end_layout
4140
4141 \begin_layout Labeling
4142 \labelwidthstring 00.00.0000
4143 \begin_inset Flex Code
4144 status collapsed
4145
4146 \begin_layout Plain Layout
4147 kmod
4148 \end_layout
4149
4150 \end_inset
4151
4152  アクセント文字を指定する
4153 \end_layout
4154
4155 \begin_layout LyX-Code
4156
4157 \backslash
4158 kmod 
4159 \family roman
4160 \emph on
4161 文字 アクセント 許可文字
4162 \end_layout
4163
4164 \begin_layout Standard
4165 これは
4166 \emph on
4167 文字
4168 \emph default
4169
4170 \emph on
4171 許可文字
4172 \emph default
4173 のアクセントとするものです.これはデッドキー
4174 \begin_inset Foot
4175 status collapsed
4176
4177 \begin_layout Plain Layout
4178
4179 \emph on
4180 デッドキー
4181 \emph default
4182 という用語は,それ自身で文字を出力しないけれども,別のキーを続けて打つと,望んだアクセント文字を出力するキーのことを指し示します.たとえば,独語で
4183 \emph on
4184 ä
4185 \emph default
4186 のようなウムラウトのついた文字は,このようにして出すことができます.
4187 \end_layout
4188
4189 \end_inset
4190
4191 機構です.
4192 \end_layout
4193
4194 \begin_layout Standard
4195
4196 \emph on
4197 文字
4198 \emph default
4199 を打鍵してから
4200 \emph on
4201 許可文字
4202 \emph default
4203 にないキーを打鍵すると,
4204 \emph on
4205 文字
4206 \emph default
4207 の後に許可文字ではないその文字が出力として表示されます.
4208 \begin_inset Flex MenuItem
4209 status collapsed
4210
4211 \begin_layout Plain Layout
4212 Backspace
4213 \end_layout
4214
4215 \end_inset
4216
4217 はデッドキーを取り消しますので,
4218 \emph on
4219 文字
4220 \emph default
4221
4222 \begin_inset Flex MenuItem
4223 status collapsed
4224
4225 \begin_layout Plain Layout
4226 Backspace
4227 \end_layout
4228
4229 \end_inset
4230
4231 と打鍵すると,カーソルは一文字戻ることなく,文字が次の打鍵したものに及ぼしたはずの効力を取り消します.
4232 \end_layout
4233
4234 \begin_layout Standard
4235 以下の例は,'文字をacuteアクセントとして,a・e・i・o・u・A・E・I・O・Uの文字に許可するものです.
4236 \end_layout
4237
4238 \begin_layout LyX-Code
4239
4240 \backslash
4241 kmod ' acute aeiouAEIOU
4242 \end_layout
4243
4244 \begin_layout Labeling
4245 \labelwidthstring 00.00.0000
4246 \begin_inset Flex Code
4247 status collapsed
4248
4249 \begin_layout Plain Layout
4250 ksmod
4251 \end_layout
4252
4253 \end_inset
4254
4255  アクセント文字に例外を指定する
4256 \end_layout
4257
4258 \begin_layout LyX-Code
4259
4260 \backslash
4261 kxmod  
4262 \family roman
4263 \emph on
4264 アクセント 文字 結果
4265 \end_layout
4266
4267 \begin_layout Standard
4268 これは
4269 \emph on
4270 文字
4271 \emph default
4272 上の
4273 \emph on
4274 アクセント
4275 \emph default
4276 について例外を指定するものです.ここで
4277 \emph on
4278 アクセント
4279 \emph default
4280 には,前出の
4281 \begin_inset Flex Code
4282 status collapsed
4283
4284 \begin_layout Plain Layout
4285
4286 \backslash
4287 kmod
4288 \end_layout
4289
4290 \end_inset
4291
4292 宣言で打鍵キーを既に割り当てられてなくてはならず,
4293 \emph on
4294 文字
4295 \emph default
4296
4297 \emph on
4298 アクセント
4299 \emph default
4300
4301 \emph on
4302 許可文字
4303 \emph default
4304 の集合に属していてはなりません.こうして
4305 \emph on
4306 アクセント
4307 \emph default
4308
4309 \emph on
4310 文字
4311 \emph default
4312 の順に入力すると,
4313 \emph on
4314 結果
4315 \emph default
4316 が出力されるようになります.
4317 \begin_inset Flex Code
4318 status collapsed
4319
4320 \begin_layout Plain Layout
4321 .kmap
4322 \end_layout
4323
4324 \end_inset
4325
4326 ファイルにこの宣言がない場合には,
4327 \emph on
4328 アクセント
4329 \emph default
4330
4331 \emph on
4332 文字
4333 \emph default
4334 と入力すると,
4335 \emph on
4336 アクセントキー
4337 \emph default
4338
4339 \emph on
4340 文字
4341 \emph default
4342
4343 \emph on
4344 アクセントキー
4345 \emph default
4346
4347 \begin_inset Flex Code
4348 status collapsed
4349
4350 \begin_layout Plain Layout
4351
4352 \backslash
4353 kmod
4354 \end_layout
4355
4356 \end_inset
4357
4358 宣言の最初の変数)と出力されます.
4359 \end_layout
4360
4361 \begin_layout Standard
4362 以下のコマンドを用いると,acute-i('i)と入力した場合,äiと出力されるようになります.
4363 \end_layout
4364
4365 \begin_layout LyX-Code
4366
4367 \backslash
4368 kxmod acute i "
4369 \backslash
4370
4371 \backslash
4372 '{
4373 \backslash
4374
4375 \backslash
4376 i}"
4377 \end_layout
4378
4379 \begin_layout Labeling
4380 \labelwidthstring 00.00.0000
4381 \begin_inset Flex Code
4382 status collapsed
4383
4384 \begin_layout Plain Layout
4385 kcomb
4386 \end_layout
4387
4388 \end_inset
4389
4390  2つのアクセント文字を結合する
4391 \end_layout
4392
4393 \begin_layout LyX-Code
4394
4395 \backslash
4396 kcomb 
4397 \family roman
4398 \emph on
4399 アクセント1 アクセント2 許可文字
4400 \end_layout
4401
4402 \begin_layout Standard
4403 これはなかなか難解になってきます.これは
4404 \emph on
4405 アクセント1
4406 \emph default
4407
4408 \emph on
4409 アクセント2
4410 \emph default
4411 を(この順番で)結びつけて,
4412 \emph on
4413 許可文字
4414 \emph default
4415 に効果を及ぼすようにします.
4416 \emph on
4417 アクセント1
4418 \emph default
4419
4420 \emph on
4421 アクセント2
4422 \emph default
4423 の打鍵キーは,ファイル内のこのコマンド
4424 \emph on
4425 よりも前に
4426 \emph default
4427
4428 \begin_inset Flex Code
4429 status collapsed
4430
4431 \begin_layout Plain Layout
4432
4433 \backslash
4434 kmod
4435 \end_layout
4436
4437 \end_inset
4438
4439 コマンドで設定されていなくてはなりません.
4440 \end_layout
4441
4442 \begin_layout Standard
4443 \begin_inset Flex Code
4444 status collapsed
4445
4446 \begin_layout Plain Layout
4447 greek.kmap
4448 \end_layout
4449
4450 \end_inset
4451
4452 ファイル上にある例をとってみましょう.
4453 \end_layout
4454
4455 \begin_layout LyX-Code
4456
4457 \backslash
4458 kmod ; acute aeioyvhAEIOYVH 
4459 \backslash
4460 kmod : umlaut iyIY 
4461 \backslash
4462 kcomb acute umlaut iyIY
4463 \end_layout
4464
4465 \begin_layout Standard
4466 これは
4467 \begin_inset Flex MenuItem
4468 status collapsed
4469
4470 \begin_layout Plain Layout
4471 ;:i
4472 \end_layout
4473
4474 \end_inset
4475
4476 を押すと
4477 \begin_inset Flex Code
4478 status collapsed
4479
4480 \begin_layout Plain Layout
4481
4482 \backslash
4483 '{
4484 \backslash
4485 "{i}}
4486 \end_layout
4487
4488 \end_inset
4489
4490 という効果を得るようにするものです.この場合のバックスペースは,最後のデッドキーを取り消すので,
4491 \begin_inset Flex MenuItem
4492 status collapsed
4493
4494 \begin_layout Plain Layout
4495 ;: Backspace i
4496 \end_layout
4497
4498 \end_inset
4499
4500 と押した場合には,
4501 \begin_inset Flex Code
4502 status collapsed
4503
4504 \begin_layout Plain Layout
4505
4506 \backslash
4507 '{i}
4508 \end_layout
4509
4510 \end_inset
4511
4512 となります.
4513 \end_layout
4514
4515 \begin_layout Subsection
4516 .cdefファイル
4517 \end_layout
4518
4519 \begin_layout Standard
4520 \begin_inset Flex Code
4521 status collapsed
4522
4523 \begin_layout Plain Layout
4524 .kmap
4525 \end_layout
4526
4527 \end_inset
4528
4529 による割り当てが行われた後,
4530 \begin_inset Flex Code
4531 status collapsed
4532
4533 \begin_layout Plain Layout
4534 .cdef
4535 \end_layout
4536
4537 \end_inset
4538
4539 ファイルは,記号の作り出す文字列を現在のフォントの文字に割り当てます.\SpecialChar LyX
4540 頒布版には,現在のところ,少なくとも
4541 \begin_inset Flex Code
4542 status collapsed
4543
4544 \begin_layout Plain Layout
4545 iso8859-1.cdef
4546 \end_layout
4547
4548 \end_inset
4549
4550 ファイルと
4551 \begin_inset Flex Code
4552 status collapsed
4553
4554 \begin_layout Plain Layout
4555 iso8859-2.cdef
4556 \end_layout
4557
4558 \end_inset
4559
4560 ファイルが含まれています.
4561 \end_layout
4562
4563 \begin_layout Standard
4564 一般的に
4565 \begin_inset Flex Code
4566 status collapsed
4567
4568 \begin_layout Plain Layout
4569 .cdef
4570 \end_layout
4571
4572 \end_inset
4573
4574 ファイルは,
4575 \end_layout
4576
4577 \begin_layout LyX-Code
4578
4579 \family roman
4580 \emph on
4581 セット中の文字番号
4582 \family default
4583 \emph default
4584  
4585 \family roman
4586 \emph on
4587  文字列
4588 \end_layout
4589
4590 \begin_layout Standard
4591 という形の宣言の羅列です.たとえば,
4592 \begin_inset Flex MenuItem
4593 status collapsed
4594
4595 \begin_layout Plain Layout
4596
4597 \backslash
4598 '{e}
4599 \end_layout
4600
4601 \end_inset
4602
4603 をiso-8859-1セットの対応する文字(233)に割り当てるには,以下の宣言を用います.
4604 \end_layout
4605
4606 \begin_layout LyX-Code
4607 233 "
4608 \backslash
4609
4610 \backslash
4611 '{e}"
4612 \end_layout
4613
4614 \begin_layout Standard
4615 ここで,
4616 \emph on
4617 文字列
4618 \emph default
4619 中の
4620 \begin_inset Flex Code
4621 status collapsed
4622
4623 \begin_layout Plain Layout
4624
4625 \backslash
4626
4627 \end_layout
4628
4629 \end_inset
4630
4631
4632 \begin_inset Flex Code
4633 status collapsed
4634
4635 \begin_layout Plain Layout
4636 "
4637 \end_layout
4638
4639 \end_inset
4640
4641 はエスケープされています.同一の文字を二つ以上の文字列に充てることができることに注意してください.
4642 \begin_inset Flex Code
4643 status collapsed
4644
4645 \begin_layout Plain Layout
4646 iso-8859-7.cdef
4647 \end_layout
4648
4649 \end_inset
4650
4651 ファイルには,
4652 \end_layout
4653
4654 \begin_layout LyX-Code
4655 192 "
4656 \backslash
4657
4658 \backslash
4659 '{
4660 \backslash
4661
4662 \backslash
4663
4664 \backslash
4665 "{i}}"
4666 \begin_inset Newline newline
4667 \end_inset
4668
4669 192 "
4670 \backslash
4671
4672 \backslash
4673
4674 \backslash
4675 "{
4676 \backslash
4677
4678 \backslash
4679 '{i}}"
4680 \end_layout
4681
4682 \begin_layout Standard
4683 という例があります.\SpecialChar LyX
4684 は,キー打鍵やデッドキーの組み合わせで生成される文字列の割り当てを見つけることができないとき,それがアクセント付き文字のように解釈ができない
4685 かどうかチェックして,画面上の文字にアクセントを引くことを試みます.
4686 \end_layout
4687
4688 \begin_layout Subsection
4689 デッドキー
4690 \end_layout
4691
4692 \begin_layout Standard
4693 国際文字のサポートを追加する第2の方法として,いわゆるデッドキーによる方法があります.デッドキーは文字と一緒に用いて,アクセント付き文字を生成します.ここではそ
4694 の機能を説明するために,きわめて単純なデッドキーの作り方を説明します.
4695 \end_layout
4696
4697 \begin_layout Standard
4698 仮に,曲折アクセント記号「 ̂」が必要になったものとしましょう.この場合,自身の
4699 \begin_inset Flex Code
4700 status collapsed
4701
4702 \begin_layout Plain Layout
4703 lyxrc
4704 \end_layout
4705
4706 \end_inset
4707
4708 ファイル中で,
4709 \begin_inset Flex MenuItem
4710 status collapsed
4711
4712 \begin_layout Plain Layout
4713 ^
4714 \end_layout
4715
4716 \end_inset
4717
4718 キー(すなわち
4719 \begin_inset Flex MenuItem
4720 status collapsed
4721
4722 \begin_layout Plain Layout
4723 Shift-6
4724 \end_layout
4725
4726 \end_inset
4727
4728 キー)を,\SpecialChar LyX
4729 コマンドの
4730 \begin_inset Flex Code
4731 status collapsed
4732
4733 \begin_layout Plain Layout
4734 accent-circumflex
4735 \end_layout
4736
4737 \end_inset
4738
4739 に結びつけることができます.すると
4740 \begin_inset Flex MenuItem
4741 status collapsed
4742
4743 \begin_layout Plain Layout
4744 ^
4745 \end_layout
4746
4747 \end_inset
4748
4749 キーの後に文字を打ったときはいつでも,この文字上に曲折アクセントが付けられるようになります.たとえば「
4750 \begin_inset Flex MenuItem
4751 status collapsed
4752
4753 \begin_layout Plain Layout
4754 ^e
4755 \end_layout
4756
4757 \end_inset
4758
4759 」という打鍵順は「ê」という文字を生成します.しかしながら,もし「
4760 \begin_inset Flex MenuItem
4761 status collapsed
4762
4763 \begin_layout Plain Layout
4764 ^t
4765 \end_layout
4766
4767 \end_inset
4768
4769 」と打鍵したならば,「
4770 \begin_inset Flex MenuItem
4771 status collapsed
4772
4773 \begin_layout Plain Layout
4774 t
4775 \end_layout
4776
4777 \end_inset
4778
4779 」は曲折アクセントをとることは決してないために,\SpecialChar LyX
4780 はビープを鳴らして文句を付けます.デッドキーの後に
4781 \begin_inset Flex MenuItem
4782 status collapsed
4783
4784 \begin_layout Plain Layout
4785 スペース
4786 \end_layout
4787
4788 \end_inset
4789
4790 を打つと,アクセントだけが生成されます.この最後の点に注意してください.あるキーをデッドキーに割り当てる場合には,このキー上の文字を別のキーに割り当て直す必要が
4791 あります.たとえば,
4792 \begin_inset Flex MenuItem
4793 status collapsed
4794
4795 \begin_layout Plain Layout
4796 ,キー
4797 \end_layout
4798
4799 \end_inset
4800
4801 をセディーユに割り当てるのはよくありません.コンマを入力しようとすると必ずセディーユが出てくるようになるためです.
4802 \end_layout
4803
4804 \begin_layout Standard
4805 デッドキーを割り当てるのによく用いられる方法は,
4806 \begin_inset Flex MenuItem
4807 status collapsed
4808
4809 \begin_layout Plain Layout
4810 Meta-
4811 \end_layout
4812
4813 \end_inset
4814
4815
4816 \begin_inset Flex MenuItem
4817 status collapsed
4818
4819 \begin_layout Plain Layout
4820 Ctrl-
4821 \end_layout
4822
4823 \end_inset
4824
4825
4826 \begin_inset Flex MenuItem
4827 status collapsed
4828
4829 \begin_layout Plain Layout
4830 Shift-
4831 \end_layout
4832
4833 \end_inset
4834
4835 キーを,「
4836 \begin_inset Flex MenuItem
4837 status collapsed
4838
4839 \begin_layout Plain Layout
4840 ~
4841 \end_layout
4842
4843 \end_inset
4844
4845 」・「
4846 \begin_inset Flex MenuItem
4847 status collapsed
4848
4849 \begin_layout Plain Layout
4850 ,
4851 \end_layout
4852
4853 \end_inset
4854
4855 」・「
4856 \begin_inset Flex MenuItem
4857 status collapsed
4858
4859 \begin_layout Plain Layout
4860 ^
4861 \end_layout
4862
4863 \end_inset
4864
4865 」のようなアクセントと一緒に用いる方法です.また,
4866 \begin_inset Flex Code
4867 status collapsed
4868
4869 \begin_layout Plain Layout
4870 xmodmap
4871 \end_layout
4872
4873 \end_inset
4874
4875
4876 \begin_inset Flex Code
4877 status collapsed
4878
4879 \begin_layout Plain Layout
4880 xkeycaps
4881 \end_layout
4882
4883 \end_inset
4884
4885 を使って,特別な
4886 \begin_inset Flex Code
4887 status collapsed
4888
4889 \begin_layout Plain Layout
4890 Mode_Switch
4891 \end_layout
4892
4893 \end_inset
4894
4895 キーを設定する方法もあります.
4896 \begin_inset Flex Code
4897 status collapsed
4898
4899 \begin_layout Plain Layout
4900 Mode_Switch
4901 \end_layout
4902
4903 \end_inset
4904
4905 キーは,ちょうど
4906 \begin_inset Flex MenuItem
4907 status collapsed
4908
4909 \begin_layout Plain Layout
4910 Shift
4911 \end_layout
4912
4913 \end_inset
4914
4915 キーのように機能するので,アクセント文字を割り当てるのに使用できます.また,特定のキーを
4916 \begin_inset Flex Code
4917 status collapsed
4918
4919 \begin_layout Plain Layout
4920 usldead_cedilla
4921 \end_layout
4922
4923 \end_inset
4924
4925 などに割り当てることで,これらのキーをデッドキーに仕立て,このシンボリックキーを対応する\SpecialChar LyX
4926 コマンドに割り当てることもできます
4927 \begin_inset Foot
4928 status collapsed
4929
4930 \begin_layout Plain Layout
4931
4932 \noun on
4933 John Weiss
4934 \noun default
4935 からの註:これはまさに私が,自分の
4936 \begin_inset Flex Code
4937 status collapsed
4938
4939 \begin_layout Plain Layout
4940 ~/.lyx/lyxrc
4941 \end_layout
4942
4943 \end_inset
4944
4945
4946 \begin_inset Flex Code
4947 status collapsed
4948
4949 \begin_layout Plain Layout
4950 ~/.xmodmap
4951 \end_layout
4952
4953 \end_inset
4954
4955 で行っていることです.私は,
4956 \begin_inset Flex MenuItem
4957 status collapsed
4958
4959 \begin_layout Plain Layout
4960 Scroll
4961 \begin_inset space ~
4962 \end_inset
4963
4964 Lock
4965 \end_layout
4966
4967 \end_inset
4968
4969 キーを
4970 \begin_inset Flex Code
4971 status collapsed
4972
4973 \begin_layout Plain Layout
4974 Mode_Shift
4975 \end_layout
4976
4977 \end_inset
4978
4979 に仕立てて,多数の
4980 \begin_inset Flex Code
4981 status collapsed
4982
4983 \begin_layout Plain Layout
4984 usldead_*
4985 \end_layout
4986
4987 \end_inset
4988
4989 シンボリックキーを
4990 \begin_inset Flex MenuItem
4991 status collapsed
4992
4993 \begin_layout Plain Layout
4994 Scroll
4995 \begin_inset space ~
4996 \end_inset
4997
4998 Lock-^
4999 \end_layout
5000
5001 \end_inset
5002
5003
5004 \begin_inset Flex MenuItem
5005 status collapsed
5006
5007 \begin_layout Plain Layout
5008 Scroll
5009 \begin_inset space ~
5010 \end_inset
5011
5012 Lock-~
5013 \end_layout
5014
5015 \end_inset
5016
5017 などに割り当てています.私はこの方法でアクセント文字を入力しています.
5018 \end_layout
5019
5020 \end_inset
5021
5022 .この
5023 \begin_inset Flex Code
5024 status collapsed
5025
5026 \begin_layout Plain Layout
5027 Mode_Switch
5028 \end_layout
5029
5030 \end_inset
5031
5032 キーには,
5033 \begin_inset Flex MenuItem
5034 status collapsed
5035
5036 \begin_layout Plain Layout
5037 Ctrl-
5038 \end_layout
5039
5040 \end_inset
5041
5042 キーの片方や使われていないファンクションキーなど,ほぼ何でも指定することができます.アクセントを生み出す\SpecialChar LyX
5043 コマンドについては,
5044 \emph on
5045 \SpecialChar LyX
5046 関数説明書
5047 \emph default
5048
5049 \begin_inset Flex Code
5050 status collapsed
5051
5052 \begin_layout Plain Layout
5053 LFUN_ACCENT_*
5054 \end_layout
5055
5056 \end_inset
5057
5058 の項をご覧ください.ここには完備した一覧があります.
5059 \end_layout
5060
5061 \begin_layout Subsection
5062 自分の言語設定を保存する
5063 \end_layout
5064
5065 \begin_layout Standard
5066 \begin_inset Flex MenuItem
5067 status collapsed
5068
5069 \begin_layout Plain Layout
5070 ツール\SpecialChar menuseparator
5071 設定
5072 \end_layout
5073
5074 \end_inset
5075
5076 ダイアログを使えば,\SpecialChar LyX
5077 を起動したときに,ご希望の言語環境に自動的に設定されるように,設定を編集することができます.
5078 \end_layout
5079
5080 \begin_layout Chapter
5081 文書クラス・レイアウト・ひな型の新規導入
5082 \begin_inset CommandInset label
5083 LatexCommand label
5084 name "cha:新規文書を導入"
5085
5086 \end_inset
5087
5088
5089 \begin_inset Argument 1
5090 status collapsed
5091
5092 \begin_layout Plain Layout
5093 文書クラスを新規に導入する
5094 \end_layout
5095
5096 \end_inset
5097
5098
5099 \end_layout
5100
5101 \begin_layout Standard
5102 この章では,新しく\SpecialChar LyX
5103 のレイアウトファイルやひな型ファイルを作成して,導入する手順を説明すると共に,新規に\SpecialChar LaTeX
5104 文書クラス(ドキュメントクラス)を正しく導入する方法を復習
5105 します.
5106 \end_layout
5107
5108 \begin_layout Standard
5109 まず,\SpecialChar LyX
5110 と\SpecialChar LaTeX
5111 の間の関係をどのように考えるべきか,若干の註釈を加えておくことにしましょう.理解していただきたいことは,ある意味において,\SpecialChar LyX
5112 は,La\SpecialChar TeX
5113 について何も知らないと
5114 云うことです.実際のところ,\SpecialChar LyX
5115 の観点からは,\SpecialChar LaTeX
5116 は,\SpecialChar LyX
5117 が出力を生成することができる,複数の「バックエンド形式」のうちの一つに過ぎないということです.同種のバックエンド形
5118 式には,DocBook・平文・XHTMLがあります.もちろん\SpecialChar LaTeX
5119 は,とくに重要な形式ですが,\SpecialChar LyX
5120 がLa\SpecialChar TeX
5121 について持っている情報のほとんどは,実はプログラム本体には含まれて
5122 いないのです
5123 \begin_inset Foot
5124 status collapsed
5125
5126 \begin_layout Plain Layout
5127 過度に複雑なため,\SpecialChar LyX
5128 に「ハードコード化」されているコマンドもありますが,一般的に開発者は,これを「わるいこと」とみなしています.
5129 \end_layout
5130
5131 \end_inset
5132
5133 .このような情報は,
5134 \begin_inset Flex Code
5135 status collapsed
5136
5137 \begin_layout Plain Layout
5138 article.cls
5139 \end_layout
5140
5141 \end_inset
5142
5143 のような標準クラスでも,「レイアウトファイル」に保管されています.同様に,\SpecialChar LyX
5144 は,DocBookやXHTMLについてもほとんど知りません.\SpecialChar LyX
5145 が知っていることは,レイア
5146 ウトファイルの中にあります.
5147 \end_layout
5148
5149 \begin_layout Standard
5150 文書クラス用のレイアウトファイルは,\SpecialChar LyX
5151 構成体—対応する様式や何らかの差込枠などを有する段落群—と,それに対応する\SpecialChar LaTeX
5152 構成体・DocBook構成体・XHTML構成体との
5153 間の翻訳指南書のようなものです.たとえば,\SpecialChar LyX
5154
5155 \begin_inset Flex Code
5156 status collapsed
5157
5158 \begin_layout Plain Layout
5159 article.cls
5160 \end_layout
5161
5162 \end_inset
5163
5164 について知っていることのほとんど総ては,
5165 \begin_inset Flex Code
5166 status collapsed
5167
5168 \begin_layout Plain Layout
5169 article.layout
5170 \end_layout
5171
5172 \end_inset
5173
5174 と,それが呼び出す他の様々なファイルに書き込まれています.このことから,レイアウトファイルを書こうとする人は,既存のファイルを研究することを勧めます.とっかかり
5175 としては,
5176 \begin_inset Flex Code
5177 status collapsed
5178
5179 \begin_layout Plain Layout
5180 article.layout
5181 \end_layout
5182
5183 \end_inset
5184
5185
5186 \begin_inset Flex Code
5187 status collapsed
5188
5189 \begin_layout Plain Layout
5190 book.layout
5191 \end_layout
5192
5193 \end_inset
5194
5195 や,文書クラス用の他のレイアウトファイルに取り込まれている
5196 \begin_inset Flex Code
5197 status collapsed
5198
5199 \begin_layout Plain Layout
5200 stdsections.inc
5201 \end_layout
5202
5203 \end_inset
5204
5205 から見始めるのがよいでしょう.このファイルは,節などの定義が為されている場所です.
5206 \begin_inset Flex Code
5207 status collapsed
5208
5209 \begin_layout Plain Layout
5210 stdsections.inc
5211 \end_layout
5212
5213 \end_inset
5214
5215 は,節様式や小節様式などとしてマークされている段落を,対応する\SpecialChar LaTeX
5216 ・DocBook・XHTMLのコマンドやタグにどのように翻訳すべきかを\SpecialChar LyX
5217 に知らせるものです.基本的に
5218 \begin_inset Flex Code
5219 status collapsed
5220
5221 \begin_layout Plain Layout
5222 article.layout
5223 \end_layout
5224
5225 \end_inset
5226
5227 ファイルは,これらの
5228 \begin_inset Flex Code
5229 status collapsed
5230
5231 \begin_layout Plain Layout
5232 std*.inc
5233 \end_layout
5234
5235 \end_inset
5236
5237 ファイルを取り込んでいるだけのものです.
5238 \end_layout
5239
5240 \begin_layout Standard
5241 しかしながら,\SpecialChar LyX
5242 –\SpecialChar LaTeX
5243 間の対応を定義するだけが,レイアウトファイルが行うことではありません.レイアウトファイルが行うもう一つの仕事は,\SpecialChar LyX
5244 構成体自身が画面上にどのように表
5245 示されるべきかを定義することです.この2つの仕事は全く独立したものであるので,レイアウトファイルが2つの仕事を行うという事実は,しばしば混乱を引き起こす元となり
5246 ます.ある段落様式を\SpecialChar LaTeX
5247 に翻訳する仕方を\SpecialChar LyX
5248 に指示することは,その表示の仕方を\SpecialChar LyX
5249 に指示するものではありません.逆に,ある段落様式の表示の仕方を\SpecialChar LyX
5250 に指示することは,その段落様
5251 式をどのように\SpecialChar LaTeX
5252 に翻訳するかを\SpecialChar LyX
5253 に指示するものではありません(ましてや\SpecialChar LaTeX
5254 に表示の仕方を指示するものではありません).つまり,一般的に,新しい\SpecialChar LyX
5255 構成体を定義する際には,(
5256 i)
5257 \begin_inset space ~
5258 \end_inset
5259
5260 \SpecialChar LaTeX
5261 にどのように翻訳するかを\SpecialChar LyX
5262 に指示する,(ii)
5263 \begin_inset space ~
5264 \end_inset
5265
5266 それをどのように表示するかを\SpecialChar LyX
5267 に指示する,という,二つのかなり異なることを行わなくてはならないのです.
5268 \end_layout
5269
5270 \begin_layout Standard
5271 もちろん,\SpecialChar LyX
5272 の他のバックエンド形式に関しても,ほぼ同じことが言えますが,XHTMLの場合には若干事情が異なり,\SpecialChar LyX
5273 が,ブラウザ中での段落の表示方法を(CSSの形で)出
5274 力するにあたって,当該段落を\SpecialChar LyX
5275 が画面上に出力する仕方の情報を,ある程度利用することができます.しかし,この場合でも,\SpecialChar LyX
5276 が内部的に行うことと,外部的に行う物事の間の区
5277 別は,依然として有効であり,この2つは独立して制御することができます.詳細に関しては,第
5278 \begin_inset CommandInset ref
5279 LatexCommand ref
5280 reference "sec:XHTML出力のタグ"
5281
5282 \end_inset
5283
5284 節をご覧ください.
5285 \end_layout
5286
5287 \begin_layout Section
5288 新しい\SpecialChar LaTeX
5289 ファイルの導入
5290 \end_layout
5291
5292 \begin_layout Standard
5293 頒布版によっては,\SpecialChar LyX
5294 で使いたい\SpecialChar LaTeX
5295 パッケージやクラスファイルが含まれていないことがあるかもしれません.たとえば,オーバーヘッドプロジェクタ用のスライドを準備するための
5296 パッケージである,Foil\SpecialChar TeX
5297 がないかもしれません.\SpecialChar TeX
5298 Live(2008年以降)やMiK\SpecialChar TeX
5299 のような最近の\SpecialChar LaTeX
5300 頒布版には,これらのパッケージを導入するためのユーザーインタフェ
5301 ースが用意されています.たとえば,MiK\SpecialChar TeX
5302 では,付属の「Package
5303 \begin_inset space ~
5304 \end_inset
5305
5306 Manager」プログラムを起動すると,利用できるパッケージの一覧を得ることができます.どれかを導入するには,その上で右クリックするかツールバーボタンを押してく
5307 ださい.
5308 \end_layout
5309
5310 \begin_layout Standard
5311 お使いの\SpecialChar LaTeX
5312 頒布版がこのような「パッケージマネジャー」を提供していなかったり,使用中の頒布版にそのパッケージが入っていない場合には,以下のステップに従って手動で導入
5313 してください.
5314 \end_layout
5315
5316 \begin_layout Enumerate
5317 \begin_inset CommandInset href
5318 LatexCommand href
5319 name "CTAN"
5320 target "http://www.ctan.org/"
5321 literal "false"
5322
5323 \end_inset
5324
5325 などから欲しいパッケージを入手してください.
5326 \end_layout
5327
5328 \begin_layout Enumerate
5329 パッケージに「
5330 \begin_inset Flex Code
5331 status collapsed
5332
5333 \begin_layout Plain Layout
5334 .ins
5335 \end_layout
5336
5337 \end_inset
5338
5339 」で終わるファイル名が入っている場合(Foil\SpecialChar TeX
5340 がその一例です)は,コンソールを開いて,このファイルのフォルダに移動し,コマンド
5341 \begin_inset Flex Code
5342 status collapsed
5343
5344 \begin_layout Plain Layout
5345 latex foiltex.ins
5346 \end_layout
5347
5348 \end_inset
5349
5350 を実行してください.すると,パッケージが解凍されて,導入すべきすべてのファイルが展開されます.たいていの\SpecialChar LaTeX
5351 パッケージは圧縮されていないので,このステップは飛ばすこ
5352 とができます.
5353 \end_layout
5354
5355 \begin_layout Enumerate
5356 ここで,パッケージを全ユーザーに使用可能にするか自分自身だけで使うかを決定する必要があります.
5357 \end_layout
5358
5359 \begin_deeper
5360 \begin_layout Enumerate
5361 (Linux・OSXなどの)*nix系システムでは,システム上の全ユーザーに新パッケージを利用可能にしたければ,「ローカル」\SpecialChar TeX
5362 ツリーに導入し,そうでなければ「ユー
5363 ザー」\SpecialChar TeX
5364 ツリーに導入してください.これらのツリーが存在しない場合にどこに作成すればよいかは,お使いのシステムに依存します.これを見いだすには,
5365 \begin_inset Flex Code
5366 status collapsed
5367
5368 \begin_layout Plain Layout
5369 texmf.cnf
5370 \end_layout
5371
5372 \end_inset
5373
5374 ファイルを参照してください
5375 \begin_inset Foot
5376 status collapsed
5377
5378 \begin_layout Plain Layout
5379 このファイルは,通常
5380 \family sans
5381 $TEXMF/web2c
5382 \family default
5383 ディレクトリにありますが,コマンド
5384 \begin_inset Flex Code
5385 status collapsed
5386
5387 \begin_layout Plain Layout
5388 kpsewhich texmf.cnf
5389 \end_layout
5390
5391 \end_inset
5392
5393 を実行してその場所を見つけることもできます.
5394 \end_layout
5395
5396 \end_inset
5397
5398 .「ローカル」\SpecialChar TeX
5399 ツリーの場所は,
5400 \begin_inset Flex Code
5401 status collapsed
5402
5403 \begin_layout Plain Layout
5404 TEXMFLOCAL
5405 \end_layout
5406
5407 \end_inset
5408
5409 変数で定義されており,通常は
5410 \begin_inset Flex Code
5411 status collapsed
5412
5413 \begin_layout Plain Layout
5414 /usr/local/share/texmf/
5415 \end_layout
5416
5417 \end_inset
5418
5419
5420 \begin_inset Flex Code
5421 status collapsed
5422
5423 \begin_layout Plain Layout
5424 /usr/local/texlive/XXXX
5425 \end_layout
5426
5427 \end_inset
5428
5429  (XXXXは導入されている\SpecialChar TeX
5430 Live頒布版の年次)のような場所になっています.「ユーザー」\SpecialChar TeX
5431 ツリーの場所は,
5432 \begin_inset Flex Code
5433 status collapsed
5434
5435 \begin_layout Plain Layout
5436 TEXMFHOME
5437 \end_layout
5438
5439 \end_inset
5440
5441 で定義されており,通常は
5442 \begin_inset Flex Code
5443 status collapsed
5444
5445 \begin_layout Plain Layout
5446 $HOME/texmf/
5447 \end_layout
5448
5449 \end_inset
5450
5451
5452 \begin_inset Flex Code
5453 status collapsed
5454
5455 \begin_layout Plain Layout
5456 $HOME/.texliveXXXX
5457 \end_layout
5458
5459 \end_inset
5460
5461 です(もしこれらの変数が事前定義されていなければ,定義しなくてはなりません).「ローカル」ツリーを作成したり変更したりするには,おそらくroot権限が必要ですが
5462 ,「ユーザー」ツリーにはこのような制限はありません.
5463 \begin_inset Newline newline
5464 \end_inset
5465
5466 一般的に,システムをアップグレードした際に,ユーザーが修正されたり上書きされたりということが起こらないので,ユーザーツリーに導入することが推奨されます.こうする
5467 と,自分のホームディレクトリをバックアップする際に,パッケージも他のものと一緒にバックアップされます(もちろん通常行われるようにすればの話です).
5468 \end_layout
5469
5470 \begin_layout Enumerate
5471 Windowで,システム上の全ユーザーに新パッケージを利用可能にしたい場合には,\SpecialChar LaTeX
5472 の導入されているフォルダのサブフォルダ
5473 \begin_inset Flex Code
5474 status collapsed
5475
5476 \begin_layout Plain Layout
5477 ~
5478 \backslash
5479 tex
5480 \backslash
5481 latex
5482 \end_layout
5483
5484 \end_inset
5485
5486 に移動します(MiK\SpecialChar TeX
5487 の既定値では,これは
5488 \begin_inset Flex Code
5489 status collapsed
5490
5491 \begin_layout Plain Layout
5492 ~:Programs
5493 \backslash
5494 MiKTeX
5495 \backslash
5496 tex
5497 \backslash
5498 latex
5499 \end_layout
5500
5501 \end_inset
5502
5503 です)
5504 \begin_inset Foot
5505 status open
5506
5507 \begin_layout Plain Layout
5508 これは,英語版でのみ正しいパスになっています.独語版では
5509 \begin_inset Flex Code
5510 status collapsed
5511
5512 \begin_layout Plain Layout
5513 ~:Programme
5514 \backslash
5515 MiKTeX
5516 \backslash
5517 tex
5518 \backslash
5519 latex
5520 \end_layout
5521
5522 \end_inset
5523
5524 となり,他の言語でも同様です.
5525 \end_layout
5526
5527 \end_inset
5528
5529 .ここに新規フォルダ
5530 \begin_inset Flex Code
5531 status collapsed
5532
5533 \begin_layout Plain Layout
5534 foiltex
5535 \end_layout
5536
5537 \end_inset
5538
5539 を作成し,パッケージの全ファイルをそこにコピーしてください.パッケージを自分だけで使用したい場合や,admin権限を持っていない場合には,ローカル\SpecialChar LaTeX
5540 フォルダで同じ
5541 ことを行います.たとえばMiK\SpecialChar TeX
5542
5543 \begin_inset space ~
5544 \end_inset
5545
5546 2.8では,これはWinXP上では
5547 \begin_inset Newline newline
5548 \end_inset
5549
5550
5551 \begin_inset Flex Code
5552 status collapsed
5553
5554 \begin_layout Plain Layout
5555 ~:
5556 \backslash
5557 Documents and Settings
5558 \backslash
5559 <ユーザー名>
5560 \backslash
5561 Application Data
5562 \backslash
5563
5564 \end_layout
5565
5566 \end_inset
5567
5568
5569 \begin_inset Newline newline
5570 \end_inset
5571
5572
5573 \begin_inset Phantom HPhantom
5574 status open
5575
5576 \begin_layout Plain Layout
5577
5578 \family typewriter
5579 ~:
5580 \backslash
5581
5582 \end_layout
5583
5584 \end_inset
5585
5586
5587 \begin_inset Flex Code
5588 status collapsed
5589
5590 \begin_layout Plain Layout
5591 MiKTeX
5592 \backslash
5593 2.8
5594 \backslash
5595 tex
5596 \backslash
5597 latex
5598 \end_layout
5599
5600 \end_inset
5601
5602
5603 \begin_inset Newline newline
5604 \end_inset
5605
5606 フォルダ,WinVista上では
5607 \begin_inset Newline newline
5608 \end_inset
5609
5610
5611 \begin_inset Flex Code
5612 status collapsed
5613
5614 \begin_layout Plain Layout
5615 ~:
5616 \backslash
5617 Users
5618 \backslash
5619 <ユーザー名>
5620 \backslash
5621 AppData
5622 \backslash
5623 Roaming
5624 \backslash
5625 2.8
5626 \backslash
5627 MiKTeX
5628 \backslash
5629 tex
5630 \backslash
5631 latex
5632 \end_layout
5633
5634 \end_inset
5635
5636
5637 \begin_inset Newline newline
5638 \end_inset
5639
5640 フォルダになります.
5641 \end_layout
5642
5643 \end_deeper
5644 \begin_layout Enumerate
5645 ここまで来れば,あとは\SpecialChar LaTeX
5646 に新しいファイルがあることを告げるだけです.これは使用している\SpecialChar LaTeX
5647 頒布版に依存します.
5648 \end_layout
5649
5650 \begin_deeper
5651 \begin_layout Enumerate
5652 \SpecialChar TeX
5653 Liveの場合には,コンソールから
5654 \begin_inset Flex Code
5655 status collapsed
5656
5657 \begin_layout Plain Layout
5658 texhash
5659 \end_layout
5660
5661 \end_inset
5662
5663 コマンドを実行してください.パッケージを全ユーザー用に導入した場合には,おそらくroot権限で行う必要があります.
5664 \end_layout
5665
5666 \begin_layout Enumerate
5667 MiK\SpecialChar TeX
5668 では,パッケージを全ユーザー用に導入した場合には,「Settings
5669 \begin_inset space ~
5670 \end_inset
5671
5672 (Admin)」を起動し,「Refresh FNDB」と記してあるボタンを押してください.そうでない場合には,「Settings」を起動して同様に行ってください
5673
5674 \end_layout
5675
5676 \end_deeper
5677 \begin_layout Enumerate
5678 最後に,\SpecialChar LyX
5679 に新しいパッケージがあることを告げなくてはなりません.そこで,\SpecialChar LyX
5680 からツール\SpecialChar menuseparator
5681 環境構成メニューを実行して,\SpecialChar LyX
5682 を再起動します.
5683 \end_layout
5684
5685 \begin_layout Standard
5686 これでパッケージが導入されました.この例では,文書クラス
5687 \begin_inset Flex Code
5688 status collapsed
5689
5690 \begin_layout Plain Layout
5691 Slides
5692 \begin_inset space ~
5693 \end_inset
5694
5695 (FoilTeX)
5696 \end_layout
5697
5698 \end_inset
5699
5700
5701 \begin_inset Flex MenuItem
5702 status collapsed
5703
5704 \begin_layout Plain Layout
5705 文書\SpecialChar menuseparator
5706 設定\SpecialChar menuseparator
5707 文書クラス
5708 \end_layout
5709
5710 \end_inset
5711
5712 で利用可能になっているはずです.
5713 \end_layout
5714
5715 \begin_layout Standard
5716 \begin_inset Flex MenuItem
5717 status collapsed
5718
5719 \begin_layout Plain Layout
5720 文書\SpecialChar menuseparator
5721 設定\SpecialChar menuseparator
5722 文書クラス
5723 \end_layout
5724
5725 \end_inset
5726
5727 メニューに列挙されてもいない\SpecialChar LaTeX
5728 文書クラスを使用したい場合には,その「レイアウト」ファイルを作り出さなくてはなりません.これが次節のトピックです.
5729 \end_layout
5730
5731 \begin_layout Section
5732 レイアウトファイルの型
5733 \end_layout
5734
5735 \begin_layout Standard
5736 この節は,レイアウト情報を含む各種\SpecialChar LyX
5737 ファイルについて述べます.これらのファイルは,各種段落様式や文字様式についての記述がされているものであり,\SpecialChar LyX
5738 がそれらをどのように
5739 表示すべきなのか,また,それらをどのように\SpecialChar LaTeX
5740 やDocBook,XHTMLその他の出力形式に翻訳すればよいのかが記されています.
5741 \end_layout
5742
5743 \begin_layout Standard
5744 ここでは,レイアウトファイル作成過程の包括的な解説を試みたいと思いますが,\SpecialChar LaTeX
5745 クラスだけでもサポートする文書の種類があまりにたくさんあるので,読者が出会いうるケース
5746 や問題をすべてカバーすることはとても望めません.\SpecialChar LyX
5747 ユーザーメーリングリストには,自身の経験を人々と分かち合いたいと望む,レイアウトデザインの経験豊かな人々がよく顔
5748 を出していますので,気軽に質問を投げかけてみてください.
5749 \end_layout
5750
5751 \begin_layout Standard
5752 新しいレイアウトを準備するに当たっては,\SpecialChar LyX
5753 と共に頒布されているレイアウトの例を見るのがたいへん役立ちます.他の人々も使用できる\SpecialChar LaTeX
5754 文書クラス用の\SpecialChar LyX
5755 レイアウトを作ったり,
5756 他の人々にも有用なモジュールをお書きになった場合には,
5757 \begin_inset CommandInset href
5758 LatexCommand href
5759 name "LyX Wikiのレイアウトに関する節"
5760 target "https://wiki.lyx.org/Layouts/Layouts"
5761 literal "false"
5762
5763 \end_inset
5764
5765 か,\SpecialChar LyX
5766 開発者メーリングリストに投稿して,\SpecialChar LyX
5767 頒布版に同梱することができるようにしてください
5768 \begin_inset Foot
5769 status collapsed
5770
5771 \begin_layout Plain Layout
5772 \SpecialChar LyX
5773 はGeneral Public Licenseの下でライセンスされていますので,\SpecialChar LyX
5774 に寄贈されたものは総て同じライセンス下に置かれることに注意してください.
5775 \end_layout
5776
5777 \end_inset
5778
5779
5780 \end_layout
5781
5782 \begin_layout Subsection
5783 レイアウトモジュール
5784 \begin_inset CommandInset label
5785 LatexCommand label
5786 name "subsec:レイアウトモジュール"
5787
5788 \end_inset
5789
5790
5791 \end_layout
5792
5793 \begin_layout Standard
5794 ここまで,「レイアウトファイル」についてお話してきました.しかし,レイアウト情報を含むものには,他の種類のファイルもあります.厳密にレイアウトファイルと呼ぶとき
5795 ,それは
5796 \begin_inset Flex Code
5797 status collapsed
5798
5799 \begin_layout Plain Layout
5800 .layout
5801 \end_layout
5802
5803 \end_inset
5804
5805 拡張子を持ち,文書クラスに関する情報を\SpecialChar LyX
5806 に提供するものを指します.しかしながら,\SpecialChar LyX
5807  1.6以降,レイアウト情報は,拡張子が
5808 \begin_inset Flex Code
5809 status collapsed
5810
5811 \begin_layout Plain Layout
5812 .module
5813 \end_layout
5814
5815 \end_inset
5816
5817 のレイアウト
5818 \emph on
5819 モジュール
5820 \emph default
5821 にも含めることができます.レイアウトが\SpecialChar LaTeX
5822 クラスに対応しているように,モジュールは\SpecialChar LaTeX
5823 パッケージに対応するものであり,
5824 \begin_inset Flex Code
5825 status collapsed
5826
5827 \begin_layout Plain Layout
5828 endnotes
5829 \end_layout
5830
5831 \end_inset
5832
5833 モジュールのように,特定のパッケージにサポートを提供するためのモジュールもあります.レイアウトモジュールは,特定の文書レイアウトに特化したものではなく,多くのレ
5834 イアウトで使用できるという意味において,一面,
5835 \begin_inset Flex Code
5836 status collapsed
5837
5838 \begin_layout Plain Layout
5839 stdsections.inc
5840 \end_layout
5841
5842 \end_inset
5843
5844 等のインクルードファイル
5845 \begin_inset Foot
5846 status collapsed
5847
5848 \begin_layout Plain Layout
5849 これらは任意の拡張子をつけることができますが,慣習的に
5850 \begin_inset Flex Code
5851 status collapsed
5852
5853 \begin_layout Plain Layout
5854 .inc
5855 \end_layout
5856
5857 \end_inset
5858
5859 拡張子が用いられます.
5860 \end_layout
5861
5862 \end_inset
5863
5864 のようなものです.相異なる点といえば,
5865 \begin_inset Flex Code
5866 status collapsed
5867
5868 \begin_layout Plain Layout
5869 article.cls
5870 \end_layout
5871
5872 \end_inset
5873
5874 でインクルードファイルを使用するには,そのファイルを編集しなくてはなりませんが,モジュールの場合は,
5875 \begin_inset Flex MenuItem
5876 status collapsed
5877
5878 \begin_layout Plain Layout
5879 文書\SpecialChar menuseparator
5880 設定
5881 \end_layout
5882
5883 \end_inset
5884
5885 ダイアログで選択するだけですみます.
5886 \end_layout
5887
5888 \begin_layout Standard
5889 モジュール作成は,新しく段落様式を一つ加えたり,自由差込枠を加えたりするだけで済むことも多いので,レイアウト編集を学ぶ上でもっとも易しい方法です.しかし原理的に
5890 は,レイアウトファイルに入れることのできるものはすべて入れることができます.
5891 \end_layout
5892
5893 \begin_layout Standard
5894 新しいモジュールを作成し,それを
5895 \begin_inset Flex Code
5896 status collapsed
5897
5898 \begin_layout Plain Layout
5899 layout/
5900 \end_layout
5901
5902 \end_inset
5903
5904 フォルダにコピーした後,モジュールがメニューに現れるようにするためには,\SpecialChar LyX
5905 の環境構成を行って再起動しなくてはなりません.しかしながら,モジュールの修正の場合には,
5906 \begin_inset Flex MenuItem
5907 status collapsed
5908
5909 \begin_layout Plain Layout
5910 文書\SpecialChar menuseparator
5911 設定
5912 \end_layout
5913
5914 \end_inset
5915
5916 を開いてどれかを選択し「OK」を押せば,直ちに反映されます.
5917 \emph on
5918 これを実行する前に,作業中の文書を保存しておくことを強く勧めます
5919 \emph default
5920 .もっと言えば,
5921 \emph on
5922 実際の文書で作業しているときに,同時にモジュールの編集をしようとしないことを強く勧めます
5923 \emph default
5924 .もちろん開発陣は,そのような場合でも\SpecialChar LyX
5925 が安定性を維持するように努力していますが,あなたが作成したモジュール中の文法エラー等によって,奇妙な挙動が引き起こされるこ
5926 とがあるからです.
5927 \end_layout
5928
5929 \begin_layout Subsubsection
5930 ローカルレイアウト
5931 \end_layout
5932
5933 \begin_layout Standard
5934 \SpecialChar LyX
5935 に於けるモジュールは,\SpecialChar LaTeX
5936 に於けるパッケージに当たります.しかしながら,特定の差込枠や文字様式を,ひとつの文書のためだけに作りたいこともあるでしょうから,そのような
5937 場合に,他の文書でも利用できるようなモジュールをわざわざ書くことには,あまり意味がありません.このような場合に必要となるのが,「ローカルレイアウト」なのです.
5938 \end_layout
5939
5940 \begin_layout Standard
5941 これは,
5942 \family sans
5943 文書\SpecialChar menuseparator
5944 設定\SpecialChar menuseparator
5945 ローカルのレイアウト
5946 \family default
5947 にあります.そこにある大きなテキストボックスは,本来ならレイアウトファイルやモジュールに入力すべきものを,入力するためのものです.特定の文書のローカルレイアウト
5948 は,その文書専属のモジュールだと考えることができます.したがって,
5949 \begin_inset Flex Code
5950 status collapsed
5951
5952 \begin_layout Plain Layout
5953 Format
5954 \end_layout
5955
5956 \end_inset
5957
5958 タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,通常は,執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX
5959  2.2では,最新書式は60です)
5960 \end_layout
5961
5962 \begin_layout Standard
5963 \begin_inset Flex Code
5964 status collapsed
5965
5966 \begin_layout Plain Layout
5967 ローカルのレイアウト
5968 \end_layout
5969
5970 \end_inset
5971
5972 面に何かを入力すると,下部にある「検証」ボタンが有効になります.このボタンを押すと,ユーザーの入力したものが,指定された書式に沿って,有効なレイアウト情報になっ
5973 ているかどうかが検証されます.すると,\SpecialChar LyX
5974 がその結果を返しますが,残念ながら,エラーがあった場合にそれが何のエラーであるかは返しません.しかしながら,\SpecialChar LyX
5975 をターミナル(
5976 擬似端末)から起動した場合には,そのエラーがターミナルに返されます.ローカルレイアウトは,正しい書式で入力されないうちは,保存することができません.
5977 \end_layout
5978
5979 \begin_layout Standard
5980 ここで,前節と同じ警告があります.ローカルレイアウトは,作業中の文書上で,特に保存していない文書上ではいじらないでください.それに注意すれば,テスト用文書上でロ
5981 ーカルレイアウトを用いるのは,レイアウトのアイディアを試すのに便利ですし,モジュール開発の第一歩としても便利です.
5982 \end_layout
5983
5984 \begin_layout Subsection
5985 \begin_inset Flex MenuItem
5986 status collapsed
5987
5988 \begin_layout Plain Layout
5989 .sty
5990 \end_layout
5991
5992 \end_inset
5993
5994 ファイル用のレイアウト
5995 \end_layout
5996
5997 \begin_layout Standard
5998 新しく\SpecialChar LaTeX
5999 文書クラスをサポートしようとするとき,\SpecialChar LaTeX2e
6000 クラス(
6001 \begin_inset Flex Code
6002 status collapsed
6003
6004 \begin_layout Plain Layout
6005 .cls
6006 \end_layout
6007
6008 \end_inset
6009
6010 )ファイルが絡む場合と,スタイル(
6011 \begin_inset Flex Code
6012 status collapsed
6013
6014 \begin_layout Plain Layout
6015 .sty
6016 \end_layout
6017
6018 \end_inset
6019
6020 )ファイルが絡む場合の2つの状況があり得ます.スタイルファイルのサポートは,通常は,かなり容易ですが,新しくクラスファイルをサポートすることは,もう少し難しくな
6021 ります.この節では,前者について述べることとし,後者については次節に譲ります.当然のことながら,新しくDocBook DTDをサポートしたい場合にも,同様の所見
6022 が当てはまります.
6023 \end_layout
6024
6025 \begin_layout Standard
6026 この易しい方の場合では,新しい文書クラスは,既にサポートされている文書クラスと共に使うスタイルファイルとして提供されています.例示のために,スタイルファイルは
6027 \begin_inset Flex MenuItem
6028 status collapsed
6029
6030 \begin_layout Plain Layout
6031 myclass.sty
6032 \end_layout
6033
6034 \end_inset
6035
6036 という名称で,標準的なクラスである
6037 \begin_inset Flex MenuItem
6038 status collapsed
6039
6040 \begin_layout Plain Layout
6041 report.cls
6042 \end_layout
6043
6044 \end_inset
6045
6046 と共に用いられるものと仮定しましょう.
6047 \end_layout
6048
6049 \begin_layout Standard
6050 既存の文書クラスのレイアウトファイルを,以下のように,お使いのローカルディレクトリにコピーすることから始めてください
6051 \begin_inset Foot
6052 status collapsed
6053
6054 \begin_layout Plain Layout
6055 もちろん,どのディレクトリがローカルディレクトリとなるかは,プラットフォームに依存します.\SpecialChar LyX
6056 では,起動時に
6057 \begin_inset Flex MenuItem
6058 status collapsed
6059
6060 \begin_layout Plain Layout
6061 -userdir
6062 \end_layout
6063
6064 \end_inset
6065
6066 オプションを指定することによって,ローカルディレクトリを指定することも可能です.
6067 \end_layout
6068
6069 \end_inset
6070
6071
6072 \end_layout
6073
6074 \begin_layout LyX-Code
6075 cp report.layout ~/.lyx/layouts/myclass.layout
6076 \end_layout
6077
6078 \begin_layout Standard
6079 それから,
6080 \begin_inset Flex Code
6081 status collapsed
6082
6083 \begin_layout Plain Layout
6084 myclass.layout
6085 \end_layout
6086
6087 \end_inset
6088
6089 を編集して,
6090 \end_layout
6091
6092 \begin_layout LyX-Code
6093
6094 \backslash
6095 DeclareLaTeXClass{report}
6096 \end_layout
6097
6098 \begin_layout Standard
6099 という行を
6100 \end_layout
6101
6102 \begin_layout LyX-Code
6103
6104 \backslash
6105 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6106 \end_layout
6107
6108 \begin_layout Standard
6109 のように変更してください.それから,ファイル冒頭辺りに
6110 \end_layout
6111
6112 \begin_layout LyX-Code
6113 Preamble 
6114 \begin_inset Newline newline
6115 \end_inset
6116
6117     
6118 \backslash
6119 usepackage{myclass}
6120 \begin_inset Newline newline
6121 \end_inset
6122
6123 EndPreamble
6124 \end_layout
6125
6126 \begin_layout Standard
6127 と書き加えてください.
6128 \end_layout
6129
6130 \begin_layout Standard
6131 \SpecialChar LyX
6132 を起動して
6133 \begin_inset Flex MenuItem
6134 status collapsed
6135
6136 \begin_layout Plain Layout
6137 ツール\SpecialChar menuseparator
6138 環境構成
6139 \end_layout
6140
6141 \end_inset
6142
6143 を選択してください.それから\SpecialChar LyX
6144 を再起動し,新規文書を作成してみてください.すると,
6145 \begin_inset Flex MenuItem
6146 status collapsed
6147
6148 \begin_layout Plain Layout
6149 文書\SpecialChar menuseparator
6150 設定
6151 \end_layout
6152
6153 \end_inset
6154
6155 ダイアログの文書クラスオプションに「
6156 \begin_inset Flex MenuItem
6157 status collapsed
6158
6159 \begin_layout Plain Layout
6160 report (myclass)
6161 \end_layout
6162
6163 \end_inset
6164
6165 」が現れるはずです.新しいクラスにおいて,節区切り用コマンドなどの一部が,基礎となったクラス—この例では
6166 \begin_inset Flex Code
6167 status collapsed
6168
6169 \begin_layout Plain Layout
6170 report
6171 \end_layout
6172
6173 \end_inset
6174
6175 —とは違う挙動をすることはよくありますので,希望に応じて,各節の設定をいじると良いでしょう.各節のレイアウト情報は,
6176 \begin_inset Flex Code
6177 status collapsed
6178
6179 \begin_layout Plain Layout
6180 stdsections.inc
6181 \end_layout
6182
6183 \end_inset
6184
6185 に含まれていますが,このファイルをコピーしたり変更したりする必要はありません.代わりに,自身のレイアウトファイル中,
6186 \begin_inset Flex Code
6187 status collapsed
6188
6189 \begin_layout Plain Layout
6190 stdsections.inc
6191 \end_layout
6192
6193 \end_inset
6194
6195 も取り込む
6196 \begin_inset Flex Code
6197 status collapsed
6198
6199 \begin_layout Plain Layout
6200 Input stdclass.inc
6201 \end_layout
6202
6203 \end_inset
6204
6205 の後に変更を加えるだけです.たとえば,章見だしのフォントをサンセリフ体に変更するには,以下のような行を加えます.
6206 \end_layout
6207
6208 \begin_layout LyX-Code
6209 Style Chapter
6210 \end_layout
6211
6212 \begin_layout LyX-Code
6213     Font
6214 \end_layout
6215
6216 \begin_layout LyX-Code
6217         Family Sans
6218 \end_layout
6219
6220 \begin_layout LyX-Code
6221     EndFont
6222 \end_layout
6223
6224 \begin_layout LyX-Code
6225 End
6226 \end_layout
6227
6228 \begin_layout Standard
6229 これは,既存の章様式宣言を上書き(あるいはこの場合には追加)します.
6230 \end_layout
6231
6232 \begin_layout Standard
6233 新しいパッケージでは,基礎となったクラスには存在しないコマンドや環境を提供することもできます.この場合には,これらをレイアウトファイルに加えます.そのやり方につ
6234 いては,第
6235 \begin_inset CommandInset ref
6236 LatexCommand ref
6237 reference "sec:テキストクラス"
6238
6239 \end_inset
6240
6241 節の情報を参照してください.
6242 \end_layout
6243
6244 \begin_layout Standard
6245 もし
6246 \begin_inset Flex Code
6247 status collapsed
6248
6249 \begin_layout Plain Layout
6250 myclass.sty
6251 \end_layout
6252
6253 \end_inset
6254
6255 が他の文書クラスで使用することができたり,あるいはできない場合でも,基礎となるクラスから読み込むことのできるモジュールを書くのが最も簡単であることがわかるでしょ
6256 う.最も簡単なモジュールの例としては,以下のようなものになります.
6257 \end_layout
6258
6259 \begin_layout LyX-Code
6260 #
6261 \backslash
6262 DeclareLyXModule{My Package}
6263 \end_layout
6264
6265 \begin_layout LyX-Code
6266 #DescriptionBegin
6267 \end_layout
6268
6269 \begin_layout LyX-Code
6270 #Support for mypkg.sty.
6271 \end_layout
6272
6273 \begin_layout LyX-Code
6274 #DescriptionEnd
6275 \begin_inset Newline newline
6276 \end_inset
6277
6278
6279 \end_layout
6280
6281 \begin_layout LyX-Code
6282 Format 60
6283 \begin_inset Newline newline
6284 \end_inset
6285
6286
6287 \end_layout
6288
6289 \begin_layout LyX-Code
6290 Preamble
6291 \begin_inset Newline newline
6292 \end_inset
6293
6294     
6295 \backslash
6296 usepackage{mypkg}
6297 \begin_inset Newline newline
6298 \end_inset
6299
6300 EndPreamble
6301 \end_layout
6302
6303 \begin_layout Standard
6304 もう少し複雑なモジュールでは,既存の構成物の挙動を修正したり,新しい構成物を定義したりすることになるでしょう.この辺りの議論については,第
6305 \begin_inset CommandInset ref
6306 LatexCommand ref
6307 reference "sec:テキストクラス"
6308
6309 \end_inset
6310
6311 節を参照してください.
6312 \end_layout
6313
6314 \begin_layout Subsection
6315 \begin_inset Flex MenuItem
6316 status collapsed
6317
6318 \begin_layout Plain Layout
6319 .cls
6320 \end_layout
6321
6322 \end_inset
6323
6324 ファイル用のレイアウト
6325 \end_layout
6326
6327 \begin_layout Standard
6328 これには2つのケースがありえます.ひとつは,クラスファイル自体が既存の文書クラスに立脚している場合です.たとえば,多くの学位論文用クラスは
6329 \begin_inset Flex MenuItem
6330 status collapsed
6331
6332 \begin_layout Plain Layout
6333 book.cls
6334 \end_layout
6335
6336 \end_inset
6337
6338 に基づいています.お使いのものがどうであるかを見るには,クラスファイル中に
6339 \end_layout
6340
6341 \begin_layout LyX-Code
6342
6343 \backslash
6344 LoadClass{book}
6345 \end_layout
6346
6347 \begin_layout Standard
6348 という行がないかどうか探してください.もしこれがあれば,
6349 \begin_inset Flex Code
6350 status collapsed
6351
6352 \begin_layout Plain Layout
6353 Declare\SpecialChar LaTeX
6354 Class
6355 \end_layout
6356
6357 \end_inset
6358
6359 行は異なりますが,おおよそ前節のように進めることができます.あなたが新しく作るクラスが
6360 \begin_inset Flex Code
6361 status collapsed
6362
6363 \begin_layout Plain Layout
6364 thesis
6365 \end_layout
6366
6367 \end_inset
6368
6369 であり,
6370 \begin_inset Flex Code
6371 status collapsed
6372
6373 \begin_layout Plain Layout
6374 book
6375 \end_layout
6376
6377 \end_inset
6378
6379 クラスに基づいていれば,
6380 \begin_inset Flex Code
6381 status collapsed
6382
6383 \begin_layout Plain Layout
6384 Declare\SpecialChar LaTeX
6385 Class
6386 \end_layout
6387
6388 \end_inset
6389
6390 行は以下のようにします
6391 \begin_inset Foot
6392 status collapsed
6393
6394 \begin_layout Plain Layout
6395 さらに\SpecialChar LyX
6396 は,文書クラス名がレイアウトファイル名と同じだと仮定するので,クラスファイルを
6397 \begin_inset Flex Code
6398 status collapsed
6399
6400 \begin_layout Plain Layout
6401 thesis.layout
6402 \end_layout
6403
6404 \end_inset
6405
6406 という名前で保存するのが最も簡単です. 
6407 \end_layout
6408
6409 \end_inset
6410
6411
6412 \end_layout
6413
6414 \begin_layout LyX-Code
6415
6416 \backslash
6417 DeclareLaTeXClass[thesis,book]{thesis}
6418 \end_layout
6419
6420 \begin_layout Standard
6421 他方,新しいクラスが既存のクラスに基づいていない場合には,おそらくあなた自身のレイアウトをしたためる必要があります.もし可能であれば,類似した\SpecialChar LaTeX
6422 クラスを使用してい
6423 る既存のレイアウトファイルをコピーして,それに修正を加えるようにすることを強くお勧めします.少なくとも,どの項目を考慮すべきかがわかるように,既存のファイルを作
6424 業の開始点としてください.
6425 \end_layout
6426
6427 \begin_layout Subsection
6428 ひな型を作成する
6429 \begin_inset CommandInset label
6430 LatexCommand label
6431 name "sec:ひな型を作成する"
6432
6433 \end_inset
6434
6435
6436 \end_layout
6437
6438 \begin_layout Standard
6439 新しい文書クラス用のレイアウトファイルを書いたならば,そのレイアウト用のひな型も書くことを検討されるかもしれません.ひな型は,内容はダミーですが,レイアウトの使
6440 い方を示す一種のチュートリアルとして動作します.もちろん,イメージを得るために,\SpecialChar LyX
6441 添付のひな型をあれこれ見てみるのもよいでしょう.
6442 \end_layout
6443
6444 \begin_layout Standard
6445 ひな型は,通常の文書と同様,\SpecialChar LyX
6446 を使って作成することができます.唯一違う点は,通常の文書では,フォント構成や用紙寸法を含め,すべてのあり得る設定が為されている点です
6447 .これらの場合,通常ユーザーはひな型が彼の設定値を上書きすることを望みません.この理由から,ひな型の設計者は,
6448 \begin_inset Flex Code
6449 status collapsed
6450
6451 \begin_layout Plain Layout
6452
6453 \backslash
6454 fontscheme
6455 \end_layout
6456
6457 \end_inset
6458
6459
6460 \begin_inset Flex Code
6461 status collapsed
6462
6463 \begin_layout Plain Layout
6464
6465 \backslash
6466 papersize
6467 \end_layout
6468
6469 \end_inset
6470
6471 などの対応するコマンドをひな型\SpecialChar LyX
6472 ファイルから取り除く必要があります.これは,たとえば
6473 \begin_inset Flex Code
6474 status collapsed
6475
6476 \begin_layout Plain Layout
6477 vi
6478 \end_layout
6479
6480 \end_inset
6481
6482
6483 \begin_inset Flex Code
6484 status collapsed
6485
6486 \begin_layout Plain Layout
6487 notepad
6488 \end_layout
6489
6490 \end_inset
6491
6492 のような,どの軽いテキストエディタでも行うことができます.
6493 \end_layout
6494
6495 \begin_layout Standard
6496 編集したひな型を
6497 \begin_inset Flex Code
6498 status collapsed
6499
6500 \begin_layout Plain Layout
6501 UserDir/templates/
6502 \end_layout
6503
6504 \end_inset
6505
6506 に置き,グローバルなひな型ディレクトリ
6507 \begin_inset Flex Code
6508 status collapsed
6509
6510 \begin_layout Plain Layout
6511 LyXDir/templates/
6512 \end_layout
6513
6514 \end_inset
6515
6516 から使用したいものを同じ場所にコピーし,
6517 \begin_inset Flex MenuItem
6518 status collapsed
6519
6520 \begin_layout Plain Layout
6521 ツール\SpecialChar menuseparator
6522 設定\SpecialChar menuseparator
6523 パス
6524 \end_layout
6525
6526 \end_inset
6527
6528 ダイアログのひな型パスを再定義してください.
6529 \end_layout
6530
6531 \begin_layout Standard
6532 ところで,特別な意味を持つひな型
6533 \begin_inset Flex Code
6534 status collapsed
6535
6536 \begin_layout Plain Layout
6537 defaults.lyx
6538 \end_layout
6539
6540 \end_inset
6541
6542 があることに注意してください.このひな型は,
6543 \begin_inset Flex MenuItem
6544 status collapsed
6545
6546 \begin_layout Plain Layout
6547 ファイル\SpecialChar menuseparator
6548 新規
6549 \end_layout
6550
6551 \end_inset
6552
6553 を使って新規文書を作成する際,便利な既定値を提供する目的で必ず読み込まれます.このひな型を\SpecialChar LyX
6554 内部から作成するのにしなくてはならないことは,対応する設定を持つ文書を
6555 開き,
6556 \begin_inset Flex MenuItem
6557 status collapsed
6558
6559 \begin_layout Plain Layout
6560 文書既定値として保存
6561 \end_layout
6562
6563 \end_inset
6564
6565 ボタンを押すことです.
6566 \end_layout
6567
6568 \begin_layout Subsection
6569 旧レイアウトファイルの更新
6570 \end_layout
6571
6572 \begin_layout Standard
6573 レイアウトファイルの書式は,\SpecialChar LyX
6574 のリリース毎に変更されますので,古いレイアウトファイルは変換されなくてはなりません.\SpecialChar LyX
6575 が古い書式のレイアウトファイルを読み込むと,\SpecialChar LyX
6576 は,
6577 自動的に変換ツール
6578 \begin_inset Flex Code
6579 status collapsed
6580
6581 \begin_layout Plain Layout
6582 \SpecialChar LyX
6583 Dir/scripts/layout2layout.py
6584 \end_layout
6585
6586 \end_inset
6587
6588 を呼び出し,それを現在の書式の一時ファイルに変換します.元のファイルは変更を加えられずに措かれます.もしこのレイアウトファイルをよく使うならば,\SpecialChar LyX
6589 がこれを毎回行な
6590 わくて済むように,レイアウトファイルを恒久的に変換しておきたいと思うかもしれません.これを行うには,以下のように変換子を手動で呼び出してください.
6591 \end_layout
6592
6593 \begin_layout Enumerate
6594 ファイル
6595 \begin_inset Flex Code
6596 status collapsed
6597
6598 \begin_layout Plain Layout
6599 myclass.layout
6600 \end_layout
6601
6602 \end_inset
6603
6604
6605 \begin_inset Flex Code
6606 status collapsed
6607
6608 \begin_layout Plain Layout
6609 myclass.old
6610 \end_layout
6611
6612 \end_inset
6613
6614 に改称
6615 \end_layout
6616
6617 \begin_layout Enumerate
6618 以下のコマンドをコール
6619 \begin_inset Newline newline
6620 \end_inset
6621
6622
6623 \begin_inset Flex Code
6624 status collapsed
6625
6626 \begin_layout Plain Layout
6627 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
6628 \end_layout
6629
6630 \end_inset
6631
6632
6633 \begin_inset Newline newline
6634 \end_inset
6635
6636 ここで
6637 \begin_inset Flex Code
6638 status collapsed
6639
6640 \begin_layout Plain Layout
6641 LyXDir
6642 \end_layout
6643
6644 \end_inset
6645
6646 は\SpecialChar LyX
6647 システムディレクトリの名前です.
6648 \end_layout
6649
6650 \begin_layout Standard
6651 手動変換は,インクルードされているファイル内部の変更までは取り扱いませんので,それらのファイルは別に変換されなくてはなりません.
6652 \end_layout
6653
6654 \begin_layout Subsection
6655 \begin_inset CommandInset label
6656 LatexCommand label
6657 name "subsec:引用エンジンファイル"
6658
6659 \end_inset
6660
6661 引用エンジンファイル
6662 \end_layout
6663
6664 \begin_layout Standard
6665 \begin_inset Flex Code
6666 status collapsed
6667
6668 \begin_layout Plain Layout
6669 citeengines/
6670 \end_layout
6671
6672 \end_inset
6673
6674 サブディレクトリ以下に収められている,いわゆる
6675 \begin_inset Flex Code
6676 status collapsed
6677
6678 \begin_layout Plain Layout
6679 *.citeengine
6680 \end_layout
6681
6682 \end_inset
6683
6684 ファイルは,レイアウトファイルの特殊形です.これらの目的は,
6685 \family sans
6686 natbib
6687 \family default
6688
6689 \family sans
6690 jurabib
6691 \family default
6692
6693 \family sans
6694 biblatex
6695 \family default
6696 など,書誌情報を生成する\SpecialChar LaTeX
6697 パッケージの詳細を定義することですが,通常の(追加パッケージのない)Bib\SpecialChar TeX
6698 引用が\SpecialChar LyX
6699 中でどのように取り扱われるかも,これらのファイルの中で定
6700 義されます.
6701 \end_layout
6702
6703 \begin_layout Standard
6704 より具体的には,どのパッケージを\SpecialChar LyX
6705 が読み込む必要があるのか,どの引用コマンドが利用可能であるのか,これらが\SpecialChar LyX
6706 中(作業領域・ダイアログ・コンテクストメニュー)で,さら
6707 にはXHTMLや平文出力中でどのように表示されるのかを定義します.さらに,これらのファイルは,使用できる派生様式(著者-刊行年,数値など)とその子細を特定します
6708 .引用エンジンファイルは,
6709 \family sans
6710 文書\SpecialChar menuseparator
6711 設定\SpecialChar ldots
6712 \SpecialChar menuseparator
6713 書誌情報\SpecialChar menuseparator
6714 様式整形子
6715 \family default
6716 で利用できる選択肢を生成するのにも使用されます.
6717 \end_layout
6718
6719 \begin_layout Standard
6720 引用エンジンファイルは,本質的に通常のレイアウトファイルであり,理論上どのようなレイアウト情報も内包することができますが,通常は
6721 \begin_inset Flex Code
6722 status collapsed
6723
6724 \begin_layout Plain Layout
6725 MaxCiteNames
6726 \end_layout
6727
6728 \end_inset
6729
6730
6731 \begin_inset Flex Code
6732 status collapsed
6733
6734 \begin_layout Plain Layout
6735 CiteFramework
6736 \end_layout
6737
6738 \end_inset
6739
6740
6741 \begin_inset Flex Code
6742 status collapsed
6743
6744 \begin_layout Plain Layout
6745 CiteEngine
6746 \end_layout
6747
6748 \end_inset
6749
6750
6751 \begin_inset Flex Code
6752 status collapsed
6753
6754 \begin_layout Plain Layout
6755 CiteFormat
6756 \end_layout
6757
6758 \end_inset
6759
6760 ブロックのような特定のパラメータをもっぱら含みます.この最後の2つの文法は,ファイル自身に加え,第 
6761 \begin_inset CommandInset ref
6762 LatexCommand ref
6763 reference "subsec:引用エンジンの説明"
6764 plural "false"
6765 caps "false"
6766 noprefix "false"
6767
6768 \end_inset
6769
6770 節と第
6771 \begin_inset CommandInset ref
6772 LatexCommand ref
6773 reference "subsec:引用書式指定"
6774 plural "false"
6775 caps "false"
6776 noprefix "false"
6777
6778 \end_inset
6779
6780 節に述べられています.
6781 \end_layout
6782
6783 \begin_layout Section
6784 \begin_inset CommandInset label
6785 LatexCommand label
6786 name "sec:テキストクラス"
6787
6788 \end_inset
6789
6790 レイアウトファイルの書式
6791 \end_layout
6792
6793 \begin_layout Standard
6794 以下の各節では,いよいよ自分の手を汚してレイアウトファイルを作成したり編集したりする段階になった際,直面することの説明を行います.私たちからのアドバイスとしては
6795 ,ゆっくりと進めるようにして,ちょっと進むごとに保存やテストを行い,心休まる音楽を聴き,好きな大人の飲み物を一二杯口にしながら行うのがいいでしょう.特に行き詰ま
6796 ってしまったときにはそうです.実際にはそんなに難しいことではないのですが,特に一度に多くのことをやろうとすると,選択肢が多くありすぎて圧倒されてしまうのです.さ
6797 て,もう一杯大人向け飲料をどうぞ.適量ね.\SpecialChar LyX
6798 の既存のレイアウトを例や参考に使ったり,既存のレイアウトを自身の目的に合わせて修正したりすると,作業が容易になります.
6799 \end_layout
6800
6801 \begin_layout Standard
6802 この章で述べられているタグは,すべて大文字小文字を区別しません.つまり,
6803 \begin_inset Flex Code
6804 status collapsed
6805
6806 \begin_layout Plain Layout
6807 Style
6808 \end_layout
6809
6810 \end_inset
6811
6812
6813 \begin_inset Flex Code
6814 status collapsed
6815
6816 \begin_layout Plain Layout
6817 style
6818 \end_layout
6819
6820 \end_inset
6821
6822
6823 \begin_inset Flex Code
6824 status collapsed
6825
6826 \begin_layout Plain Layout
6827 StYlE
6828 \end_layout
6829
6830 \end_inset
6831
6832 は同じコマンドとなります.機能名の後にある角括弧は,その機能が取り得る値を示します.テキストクラス設定内で機能が特定されていない場合には,既定値は
6833 \begin_inset Flex Code
6834 status collapsed
6835
6836 \begin_layout Plain Layout
6837
6838 \emph on
6839 強調
6840 \end_layout
6841
6842 \end_inset
6843
6844 で表記されます.引数が「文字列」や「浮動小数点型」などのデータ型をとる場合には,既定値は
6845 \begin_inset Flex Code
6846 status collapsed
6847
6848 \begin_layout Plain Layout
6849 浮動小数点型=
6850 \emph on
6851 既定値
6852 \end_layout
6853
6854 \end_inset
6855
6856 のように表示されます.
6857 \end_layout
6858
6859 \begin_layout Subsection
6860 文書クラス宣言と分類
6861 \end_layout
6862
6863 \begin_layout Standard
6864 レイアウトファイル中の
6865 \begin_inset Flex Code
6866 status collapsed
6867
6868 \begin_layout Plain Layout
6869 #
6870 \end_layout
6871
6872 \end_inset
6873
6874 で始まる行はコメントです.この規則には一つだけ例外があります.すべての
6875 \begin_inset Flex Code
6876 status collapsed
6877
6878 \begin_layout Plain Layout
6879 *.layout
6880 \end_layout
6881
6882 \end_inset
6883
6884 ファイルは,以下のような行で始めなくてはならないのです.
6885 \end_layout
6886
6887 \begin_layout LyX-Code
6888
6889 \size small
6890 #% Do not delete the line below; configure depends on this
6891 \end_layout
6892
6893 \begin_layout LyX-Code
6894
6895 \size small
6896 #  
6897 \backslash
6898 DeclareLaTeXClass{Article (Standard Class)}
6899 \end_layout
6900
6901 \begin_layout LyX-Code
6902
6903 \size small
6904 #  
6905 \backslash
6906 DeclareCategory{Articles}
6907 \end_layout
6908
6909 \begin_layout Standard
6910 2行目と3行目は,\SpecialChar LyX
6911 が環境構成を行う際に用いられます.このレイアウトファイルは,\SpecialChar LaTeX
6912 スクリプト
6913 \begin_inset Flex Code
6914 status collapsed
6915
6916 \begin_layout Plain Layout
6917 chkconfig.ltx
6918 \end_layout
6919
6920 \end_inset
6921
6922 が,
6923 \begin_inset Flex Code
6924 status collapsed
6925
6926 \begin_layout Plain Layout
6927 #
6928 \end_layout
6929
6930 \end_inset
6931
6932 を無視する特別なモードで読み込みます.1行目は単なる\SpecialChar LaTeX
6933 コメントですが,2行目にはテキストクラスの宣言が,3行目にはクラスの分類(非必須)が書かれています.これらの
6934 行が
6935 \begin_inset Flex Code
6936 status collapsed
6937
6938 \begin_layout Plain Layout
6939 article.layout
6940 \end_layout
6941
6942 \end_inset
6943
6944 と名付けられたファイルにあると,
6945 \begin_inset Flex Code
6946 status collapsed
6947
6948 \begin_layout Plain Layout
6949 article
6950 \end_layout
6951
6952 \end_inset
6953
6954 (レイアウトファイル名)という名称のテキストクラスを定義し,\SpecialChar LaTeX
6955 文書クラス
6956 \begin_inset Flex Code
6957 status collapsed
6958
6959 \begin_layout Plain Layout
6960 article.cls
6961 \end_layout
6962
6963 \end_inset
6964
6965 を使用するようになります(既定ではレイアウトと同じ名称のものを使用します).上記に現れる「Article (Standard Class)」という文字列は,
6966 \begin_inset Flex MenuItem
6967 status collapsed
6968
6969 \begin_layout Plain Layout
6970 文書\SpecialChar menuseparator
6971 設定
6972 \end_layout
6973
6974 \end_inset
6975
6976 ダイアログのテキストクラスの説明に使用されます.分類(例中の「Articles」)は,
6977 \begin_inset Flex MenuItem
6978 status collapsed
6979
6980 \begin_layout Plain Layout
6981 文書\SpecialChar menuseparator
6982 設定
6983 \end_layout
6984
6985 \end_inset
6986
6987 ダイアログで使用され,文書クラスはこの分類によってグループ化されます(分類は通常ジャンルを表し,典型的なものには,「Articles」「Books」「Repor
6988 ts」「Letters」「Presentations」「Curricula Vitae」等があります).分類を宣言しない場合には,このクラスは「Uncatego
6989 rized」グループに属することになります.
6990 \end_layout
6991
6992 \begin_layout Standard
6993 節見出し表示に変更を加えた,
6994 \begin_inset Flex Code
6995 status collapsed
6996
6997 \begin_layout Plain Layout
6998 article.cls
6999 \end_layout
7000
7001 \end_inset
7002
7003 文書クラスを使用するテキストクラスを自分で書いたものとしましょう.これを
7004 \begin_inset Flex Code
7005 status collapsed
7006
7007 \begin_layout Plain Layout
7008 myarticle.layout
7009 \end_layout
7010
7011 \end_inset
7012
7013 というファイルに置いたとすると,このファイルのヘッダは以下のようになります.
7014 \end_layout
7015
7016 \begin_layout LyX-Code
7017
7018 \size small
7019 #% Do not delete the line below; configure depends on this 
7020 \end_layout
7021
7022 \begin_layout LyX-Code
7023
7024 \size small
7025 #  
7026 \backslash
7027 DeclareLaTeXClass[article]{article (with My Own Headings)}
7028 \end_layout
7029
7030 \begin_layout LyX-Code
7031
7032 \size small
7033 #  
7034 \backslash
7035 DeclareCategory{Articles}
7036 \end_layout
7037
7038 \begin_layout Standard
7039 これは,\SpecialChar LaTeX
7040 文書クラス
7041 \begin_inset Flex Code
7042 status collapsed
7043
7044 \begin_layout Plain Layout
7045 article.cls
7046 \end_layout
7047
7048 \end_inset
7049
7050 に関連づけられ,「Article (with My Own Headings)」と表示される,
7051 \begin_inset Flex Code
7052 status collapsed
7053
7054 \begin_layout Plain Layout
7055 myarticle
7056 \end_layout
7057
7058 \end_inset
7059
7060 テキストクラスを宣言するものです.もしこのテキストクラスが複数のパッケージに依存するならば,以下のように宣言すると良いでしょう.
7061 \end_layout
7062
7063 \begin_layout LyX-Code
7064
7065 \size small
7066 #% Do not delete the line below; configure depends on this 
7067 \end_layout
7068
7069 \begin_layout LyX-Code
7070
7071 \size small
7072 #  
7073 \backslash
7074 DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)}
7075 \end_layout
7076
7077 \begin_layout LyX-Code
7078
7079 \size small
7080 #  
7081 \backslash
7082 DeclareCategory{Articles}
7083 \end_layout
7084
7085 \begin_layout Standard
7086 これは,このテキストクラスが
7087 \begin_inset Flex Code
7088 status collapsed
7089
7090 \begin_layout Plain Layout
7091 foo.sty
7092 \end_layout
7093
7094 \end_inset
7095
7096 パッケージを使用することを示しています.最後に,DocBookコード向けのクラスを宣言することもできることを見ます.典型的な宣言は以下のようになります.
7097 \end_layout
7098
7099 \begin_layout LyX-Code
7100
7101 \size small
7102 #% Do not delete the line below; configure depends on this 
7103 \end_layout
7104
7105 \begin_layout LyX-Code
7106
7107 \size small
7108
7109 \backslash
7110 DeclareDocBookClass[article]{SGML (DocBook article)}
7111 \end_layout
7112
7113 \begin_layout LyX-Code
7114
7115 \size small
7116 #  
7117 \backslash
7118 DeclareCategory{Articles}
7119 \end_layout
7120
7121 \begin_layout Standard
7122 これらの宣言には,文書クラス名を宣言する非必須パラメータ(ただしリストではない)を与えることができることに注意してください.
7123 \end_layout
7124
7125 \begin_layout Standard
7126 できる限り明示的に要約すると,レイアウト宣言は以下の形をとります.
7127 \end_layout
7128
7129 \begin_layout LyX-Code
7130
7131 \size small
7132 #  
7133 \backslash
7134 DeclareLaTeXClass[クラス,パッケージ名.sty]{レイアウトの説明}
7135 \end_layout
7136
7137 \begin_layout LyX-Code
7138
7139 \size small
7140 #  
7141 \backslash
7142 DeclareCategory{分類}
7143 \end_layout
7144
7145 \begin_layout Standard
7146 ここで「クラス」は,\SpecialChar LaTeX
7147 クラスファイル名とレイアウトファイル名が異なるときのみ,指定する必要があります.クラスファイル名が指定されなければ,\SpecialChar LyX
7148 は単純に,クラスファイル
7149 名がレイアウトファイル名と同じであると仮定します.
7150 \end_layout
7151
7152 \begin_layout Standard
7153 テキストクラスがあなたの嗜好に合うように修正できたならば,他にしなくてはならないことは,それを
7154 \begin_inset Flex Code
7155 status collapsed
7156
7157 \begin_layout Plain Layout
7158 LyXDir/layouts/
7159 \end_layout
7160
7161 \end_inset
7162
7163
7164 \begin_inset Flex Code
7165 status collapsed
7166
7167 \begin_layout Plain Layout
7168 UserDir/layouts
7169 \end_layout
7170
7171 \end_inset
7172
7173 にコピーし,
7174 \begin_inset Flex MenuItem
7175 status collapsed
7176
7177 \begin_layout Plain Layout
7178 ツール\SpecialChar menuseparator
7179 環境構成
7180 \end_layout
7181
7182 \end_inset
7183
7184 を実行し,\SpecialChar LyX
7185 を終了して再起動するだけです.そうすれば,この新しいテキストクラスが,他のテキストクラスと同様に使用できるようになります.
7186 \end_layout
7187
7188 \begin_layout Standard
7189 レイアウトファイルが導入されたならば,これを編集して,環境構成したり\SpecialChar LyX
7190 を再起動したりすることなく,その変更を確認することができます
7191 \begin_inset Foot
7192 status collapsed
7193
7194 \begin_layout Plain Layout
7195 第1.6版よりも前の\SpecialChar LyX
7196 では,これを行うことはできませんでした.その結果,レイアウトファイルに加えた変更を反映させるには,その度に\SpecialChar LyX
7197 を再起動しなくてはならなかったので,
7198 レイアウトファイルを編集する作業は,たいへん時間を浪費する作業だったのです.
7199 \end_layout
7200
7201 \end_inset
7202
7203 .\SpecialChar LyX
7204 関数
7205 \begin_inset Flex MenuItem
7206 status collapsed
7207
7208 \begin_layout Plain Layout
7209 layout-reload
7210 \end_layout
7211
7212 \end_inset
7213
7214 を使用すれば,現在使っているレイアウトの再読み込みを強制することができるのです.この関数への既定のキー割り当てはありません—もちろん自分でどれかのキーに割り当て
7215 ることもできますが—.しかし,通常は,この関数を使用する場合は,これをミニバッファに入力します.
7216 \end_layout
7217
7218 \begin_layout Standard
7219
7220 \emph on
7221 注意
7222 \emph default
7223
7224 \begin_inset Flex MenuItem
7225 status collapsed
7226
7227 \begin_layout Plain Layout
7228 layout-reload
7229 \end_layout
7230
7231 \end_inset
7232
7233 はかなり「高度な機能」です.この機能を利用する前に,作業中の文書を保存しておくことを
7234 \emph on
7235 強く
7236 \emph default
7237 勧めます.もっと言えば,大事な文書の作業をしているときに,同時にレイアウト情報の編集をしようとしないことを
7238 \emph on
7239 強く
7240 \emph default
7241 勧めます.テスト用文書を使用してください.レイアウトファイル中の文法エラー等が奇妙な挙動を引き起こす可能性があります.特に,そのようなエラーが起こると,\SpecialChar LyX
7242 は現在の
7243 レイアウトが無効であるものと判断して,別のレイアウトに切り替えようとする可能性があります
7244 \begin_inset Foot
7245 status collapsed
7246
7247 \begin_layout Plain Layout
7248 非常に悪質な文法エラーの場合には,\SpecialChar LyX
7249 が終了してしまうことさえあります.これは,ある種のエラーでは,\SpecialChar LyX
7250 がレイアウト情報を全く読めなくなる可能性があるからです.ご注意く
7251 ださい.
7252 \end_layout
7253
7254 \end_inset
7255
7256 .\SpecialChar LyX
7257 開発陣は,このような状況下でも安定性を保つよう努力していますが,後悔よりも安心の方が良いでしょう
7258 \begin_inset Foot
7259 status collapsed
7260
7261 \begin_layout Plain Layout
7262 重ねての助言ですが,つねにバックアップを取ってください.それから,お母さんのお片づけに注意.
7263 \end_layout
7264
7265 \end_inset
7266
7267
7268 \end_layout
7269
7270 \begin_layout Subsection
7271 モジュール宣言
7272 \end_layout
7273
7274 \begin_layout Standard
7275 モジュールは,以下のような行で始まらなくてはなりません.
7276 \end_layout
7277
7278 \begin_layout LyX-Code
7279 #
7280 \backslash
7281 DeclareLyXModule[endnotes.sty]{Endnotes} 
7282 \end_layout
7283
7284 \begin_layout Standard
7285 波括弧内に入っている必須引数はモジュール名で,これは
7286 \begin_inset Flex MenuItem
7287 status collapsed
7288
7289 \begin_layout Plain Layout
7290 文書\SpecialChar menuseparator
7291 設定
7292 \end_layout
7293
7294 \end_inset
7295
7296 内に表示されます.角括弧内の引数は非必須です.これは,モジュールが依存する\SpecialChar LaTeX
7297 パッケージをすべて宣言します.また,非必須引数として,
7298 \begin_inset Flex Code
7299 status collapsed
7300
7301 \begin_layout Plain Layout
7302 変換元->変換先
7303 \end_layout
7304
7305 \end_inset
7306
7307 の形を使用することができます.これは,
7308 \begin_inset Flex Code
7309 status collapsed
7310
7311 \begin_layout Plain Layout
7312 変換元
7313 \end_layout
7314
7315 \end_inset
7316
7317 形式から
7318 \begin_inset Flex Code
7319 status collapsed
7320
7321 \begin_layout Plain Layout
7322 変換先
7323 \end_layout
7324
7325 \end_inset
7326
7327 形式への変換鎖が存在するときのみ,このモジュールを使用できることを宣言するものです.
7328 \end_layout
7329
7330 \begin_layout Standard
7331 それから,以下のようなモジュール宣言を行います
7332 \begin_inset Foot
7333 status collapsed
7334
7335 \begin_layout Plain Layout
7336 モジュールを\SpecialChar LyX
7337 に公開する場合には英語が望ましいです.この説明は翻訳メッセージ一覧に現れるようになるので,次回のインタフェースの更新時に翻訳されることになります.
7338 \end_layout
7339
7340 \end_inset
7341
7342
7343 \end_layout
7344
7345 \begin_layout LyX-Code
7346 #DescriptionBegin 
7347 \end_layout
7348
7349 \begin_layout LyX-Code
7350 #Adds an endnote command, in addition to footnotes.
7351  
7352 \end_layout
7353
7354 \begin_layout LyX-Code
7355 #You will need to add  
7356 \backslash
7357 theendnotes in TeX code where you 
7358 \end_layout
7359
7360 \begin_layout LyX-Code
7361 #want the endnotes to appear.
7362  
7363 \end_layout
7364
7365 \begin_layout LyX-Code
7366 #DescriptionEnd 
7367 \end_layout
7368
7369 \begin_layout LyX-Code
7370 #Requires: somemodule | othermodule
7371 \end_layout
7372
7373 \begin_layout LyX-Code
7374 #Excludes: badmodule
7375 \end_layout
7376
7377 \begin_layout Standard
7378 ここで説明(Description)は,
7379 \begin_inset Flex MenuItem
7380 status collapsed
7381
7382 \begin_layout Plain Layout
7383 文書\SpecialChar menuseparator
7384 設定
7385 \end_layout
7386
7387 \end_inset
7388
7389 でこのモジュールが何をするものか,ユーザに情報を与えるために使用されます.
7390 \begin_inset Flex Code
7391 status collapsed
7392
7393 \begin_layout Plain Layout
7394 Requires
7395 \end_layout
7396
7397 \end_inset
7398
7399 行は,このモジュールが共に使用する必要がある,他のモジュールを特定するのに用いられます.一方,
7400 \begin_inset Flex Code
7401 status collapsed
7402
7403 \begin_layout Plain Layout
7404 Excludes
7405 \end_layout
7406
7407 \end_inset
7408
7409 行は,このモジュールが共に使用してはならない,他のモジュールを特定するのに用いられます.この2つの行は必須ではなく,上記のようにモジュールが複数ある場合には,パ
7410 イプ記号「|」で区切らなくてはなりません.
7411 \begin_inset Flex Code
7412 status collapsed
7413
7414 \begin_layout Plain Layout
7415 Requires
7416 \end_layout
7417
7418 \end_inset
7419
7420 に指定されたモジュールは,選言的に取り扱われることに注意してください.つまり,
7421 \begin_inset Flex Code
7422 status collapsed
7423
7424 \begin_layout Plain Layout
7425 Requires
7426 \end_layout
7427
7428 \end_inset
7429
7430 に指定されたモジュールのうち,
7431 \emph on
7432 少なくとも一つ
7433 \emph default
7434 が使用されていればよいということです.同様に,
7435 \begin_inset Flex Code
7436 status collapsed
7437
7438 \begin_layout Plain Layout
7439 Excludes
7440 \end_layout
7441
7442 \end_inset
7443
7444 に指定されたモジュールは,一つも使用されてはなりません.ここでモジュールは,
7445 \begin_inset Flex Code
7446 status collapsed
7447
7448 \begin_layout Plain Layout
7449 .module
7450 \end_layout
7451
7452 \end_inset
7453
7454 拡張子を除いたファイル名で認識されることに注意してください.つまり
7455 \begin_inset Flex Code
7456 status collapsed
7457
7458 \begin_layout Plain Layout
7459 somemodule
7460 \end_layout
7461
7462 \end_inset
7463
7464 とは,実のところ
7465 \begin_inset Flex Code
7466 status collapsed
7467
7468 \begin_layout Plain Layout
7469 somemodule.module
7470 \end_layout
7471
7472 \end_inset
7473
7474 に他なりません.
7475 \end_layout
7476
7477 \begin_layout Subsection
7478 引用エンジンファイルの宣言
7479 \end_layout
7480
7481 \begin_layout Standard
7482 引用エンジンファイルは,次のような行で始まらなくてはなりません.
7483 \end_layout
7484
7485 \begin_layout LyX-Code
7486 #
7487 \backslash
7488 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
7489 \end_layout
7490
7491 \begin_layout Standard
7492 波括弧内の必須引数はモジュール名で,
7493 \begin_inset Flex Noun
7494 status collapsed
7495
7496 \begin_layout Plain Layout
7497 文書\SpecialChar menuseparator
7498 設定\SpecialChar menuseparator
7499 書誌情報
7500 \end_layout
7501
7502 \end_inset
7503
7504 にそのまま現れます.角括弧内の引数は非必須です.これは,引用エンジンが依存する\SpecialChar LaTeX
7505 パッケージを宣言します.
7506 \end_layout
7507
7508 \begin_layout Standard
7509 引用エンジン宣言には,その後,以下のような行が続きます
7510 \begin_inset Foot
7511 status collapsed
7512
7513 \begin_layout Plain Layout
7514 \SpecialChar LyX
7515 とともに公表するモジュールの場合は,英語で書かれることが望まれます.この説明は,翻訳対象メッセージのリストに含まれますので,次回インタフェースの更新の際に翻訳さ
7516 れることになります.
7517 \end_layout
7518
7519 \end_inset
7520
7521
7522 \end_layout
7523
7524 \begin_layout LyX-Code
7525 # DescriptionBegin
7526 \end_layout
7527
7528 \begin_layout LyX-Code
7529 #   Biblatex supports many author-year and numerical styles.
7530 \end_layout
7531
7532 \begin_layout LyX-Code
7533 #   It is mainly aimed at the Humanities.
7534  It is highly
7535 \end_layout
7536
7537 \begin_layout LyX-Code
7538 #   customizable, fully localized and provides many features
7539 \end_layout
7540
7541 \begin_layout LyX-Code
7542 #   that are not possible with BibTeX.
7543  The use of 'biber' as
7544 \end_layout
7545
7546 \begin_layout LyX-Code
7547 #   bibliography processor is advised.
7548 \end_layout
7549
7550 \begin_layout LyX-Code
7551 # DescriptionEnd
7552 \end_layout
7553
7554 \begin_layout Standard
7555 この説明は,
7556 \begin_inset Flex Noun
7557 status collapsed
7558
7559 \begin_layout Plain Layout
7560 文書\SpecialChar menuseparator
7561 設定\SpecialChar menuseparator
7562 書誌情報
7563 \end_layout
7564
7565 \end_inset
7566
7567 の中で,ユーザーに引用エンジンに関する情報を提供するために使われます.
7568 \end_layout
7569
7570 \begin_layout Subsection
7571 書式番号
7572 \end_layout
7573
7574 \begin_layout Standard
7575 レイアウトファイルやインクルードされたファイル,またはモジュールの最初の非コメント行には,以下のように,かならずファイル形式番号が記されていなくてはなりません.
7576 \end_layout
7577
7578 \begin_layout Description
7579 \begin_inset Flex Code
7580 status collapsed
7581
7582 \begin_layout Plain Layout
7583 Format
7584 \end_layout
7585
7586 \end_inset
7587
7588  [
7589 \begin_inset Flex Code
7590 status collapsed
7591
7592 \begin_layout Plain Layout
7593 整数型
7594 \end_layout
7595
7596 \end_inset
7597
7598 ] このレイアウトファイルの書式
7599 \end_layout
7600
7601 \begin_layout Standard
7602 このタグは\SpecialChar LyX
7603
7604 \begin_inset space ~
7605 \end_inset
7606
7607 1.4.0で導入されました.\SpecialChar LyX
7608
7609 \begin_inset space ~
7610 \end_inset
7611
7612 1.3.x以前のレイアウトファイルには,明示されたファイル形式がないため,書式1と解されます.\SpecialChar LyX
7613 現行版のファイル形式は,書式60です.しかし,\SpecialChar LyX
7614 の各版は,旧版の\SpecialChar LyX
7615 で作成さ
7616 れたファイルを読むことができるように,旧版のレイアウトファイルも読むことができます.しかしながら,以前の書式に変換する方法はありません.
7617 \end_layout
7618
7619 \begin_layout Subsection
7620 \begin_inset CommandInset label
7621 LatexCommand label
7622 name "subsec:汎用テキストクラスパラメータ"
7623
7624 \end_inset
7625
7626 汎用テキストクラスパラメータ
7627 \end_layout
7628
7629 \begin_layout Standard
7630 以下は,文書クラス全体の挙動を決定する汎用パラメータです(これは,
7631 \begin_inset Flex Code
7632 status collapsed
7633
7634 \begin_layout Plain Layout
7635 .layout
7636 \end_layout
7637
7638 \end_inset
7639
7640 ファイルのみに使用されるべきで,モジュールでは使ってはならない,ということを意味するものでは
7641 \emph on
7642 ありません
7643 \emph default
7644 .モジュールには,すべてのレイアウトタグを使用することができます).
7645 \end_layout
7646
7647 \begin_layout Description
7648 \begin_inset Flex Code
7649 status collapsed
7650
7651 \begin_layout Plain Layout
7652 AddToHTMLPreamble
7653 \end_layout
7654
7655 \end_inset
7656
7657  この文書クラスがXHTMLに出力されるときに,
7658 \begin_inset Flex Code
7659 status collapsed
7660
7661 \begin_layout Plain Layout
7662 <head>
7663 \end_layout
7664
7665 \end_inset
7666
7667 ブロックに追加出力される情報です.典型的には,これはCSSスタイル情報を出力するのに用いられますが,
7668 \begin_inset Flex Code
7669 status collapsed
7670
7671 \begin_layout Plain Layout
7672 <head>
7673 \end_layout
7674
7675 \end_inset
7676
7677 に出力するものであれば,何でも使用することができます.「
7678 \begin_inset Flex Code
7679 status collapsed
7680
7681 \begin_layout Plain Layout
7682 EndPreamble
7683 \end_layout
7684
7685 \end_inset
7686
7687 」で閉じる必要があります.
7688 \end_layout
7689
7690 \begin_layout Description
7691 \begin_inset Flex Code
7692 status collapsed
7693
7694 \begin_layout Plain Layout
7695 AddToPreamble
7696 \end_layout
7697
7698 \end_inset
7699
7700  文書プリアンブルに書き加えられる情報です.「
7701 \begin_inset Flex Code
7702 status collapsed
7703
7704 \begin_layout Plain Layout
7705 EndPreamble
7706 \end_layout
7707
7708 \end_inset
7709
7710 」で閉じる必要があります.
7711 \end_layout
7712
7713 \begin_layout Description
7714 \begin_inset Flex Code
7715 status collapsed
7716
7717 \begin_layout Plain Layout
7718 CiteEngine <エンジン>
7719 \end_layout
7720
7721 \end_inset
7722
7723  文献参照を表示する方法を定義します.詳細については,第
7724 \begin_inset CommandInset ref
7725 LatexCommand ref
7726 reference "subsec:引用エンジンの説明"
7727 plural "false"
7728 caps "false"
7729 noprefix "false"
7730
7731 \end_inset
7732
7733 節をご覧ください.「
7734 \begin_inset Flex Code
7735 status collapsed
7736
7737 \begin_layout Plain Layout
7738 End
7739 \end_layout
7740
7741 \end_inset
7742
7743 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
7744 \begin_inset CommandInset ref
7745 LatexCommand ref
7746 reference "subsec:引用エンジンファイル"
7747 plural "false"
7748 caps "false"
7749 noprefix "false"
7750
7751 \end_inset
7752
7753 節参照).
7754 \end_layout
7755
7756 \begin_layout Description
7757 \begin_inset Flex Code
7758 status collapsed
7759
7760 \begin_layout Plain Layout
7761 CiteFormat
7762 \end_layout
7763
7764 \end_inset
7765
7766  書誌情報の表示に使う書式を定義します.詳細については,第
7767 \begin_inset CommandInset ref
7768 LatexCommand ref
7769 reference "subsec:引用書式指定"
7770
7771 \end_inset
7772
7773 節をご覧ください.「
7774 \begin_inset Flex Code
7775 status collapsed
7776
7777 \begin_layout Plain Layout
7778 End
7779 \end_layout
7780
7781 \end_inset
7782
7783 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
7784 \begin_inset CommandInset ref
7785 LatexCommand ref
7786 reference "subsec:引用エンジンファイル"
7787 plural "false"
7788 caps "false"
7789 noprefix "false"
7790
7791 \end_inset
7792
7793 節参照).
7794 \end_layout
7795
7796 \begin_layout Description
7797 \begin_inset Flex Code
7798 status collapsed
7799
7800 \begin_layout Plain Layout
7801 CiteFramework
7802 \end_layout
7803
7804 \end_inset
7805
7806  [
7807 \begin_inset Flex Code
7808 status collapsed
7809
7810 \begin_layout Plain Layout
7811
7812 \emph on
7813 bibtex
7814 \end_layout
7815
7816 \end_inset
7817
7818 ,
7819 \begin_inset Flex Code
7820 status collapsed
7821
7822 \begin_layout Plain Layout
7823 biblatex
7824 \end_layout
7825
7826 \end_inset
7827
7828 ] 書誌情報を生成するのに,
7829 \family sans
7830 Biblatex
7831 \family default
7832 を用いるのかBib\SpecialChar TeX
7833 を用いるのかを特定します.主に引用エンジンファイルで使用されます(第
7834 \begin_inset CommandInset ref
7835 LatexCommand ref
7836 reference "subsec:引用エンジンファイル"
7837 plural "false"
7838 caps "false"
7839 noprefix "false"
7840
7841 \end_inset
7842
7843 節参照).
7844 \end_layout
7845
7846 \begin_layout Description
7847 \begin_inset Flex Code
7848 status collapsed
7849
7850 \begin_layout Plain Layout
7851 ClassOptions
7852 \end_layout
7853
7854 \end_inset
7855
7856  文書クラスがサポートする様々な大域オプションを記します.説明は,第
7857 \begin_inset CommandInset ref
7858 LatexCommand ref
7859 reference "subsec:ClassOptions"
7860
7861 \end_inset
7862
7863 節を参照してください.「
7864 \begin_inset Flex Code
7865 status collapsed
7866
7867 \begin_layout Plain Layout
7868 End
7869 \end_layout
7870
7871 \end_inset
7872
7873 」で閉じる必要があります.
7874 \end_layout
7875
7876 \begin_layout Description
7877 \begin_inset Flex Code
7878 status collapsed
7879
7880 \begin_layout Plain Layout
7881 Columns
7882 \end_layout
7883
7884 \end_inset
7885
7886  [
7887 \begin_inset Flex Code
7888 status collapsed
7889
7890 \begin_layout Plain Layout
7891
7892 \emph on
7893 1
7894 \end_layout
7895
7896 \end_inset
7897
7898 ,
7899 \begin_inset space \thinspace{}
7900 \end_inset
7901
7902
7903 \begin_inset Flex Code
7904 status collapsed
7905
7906 \begin_layout Plain Layout
7907 2
7908 \end_layout
7909
7910 \end_inset
7911
7912 ] 文書クラスが既定で1段組か2段組かを指定します.
7913 \begin_inset Flex MenuItem
7914 status collapsed
7915
7916 \begin_layout Plain Layout
7917 文書\SpecialChar menuseparator
7918 設定
7919 \end_layout
7920
7921 \end_inset
7922
7923 ダイアログで変更することができます.
7924 \end_layout
7925
7926 \begin_layout Description
7927 \begin_inset Flex Code
7928 status collapsed
7929
7930 \begin_layout Plain Layout
7931 Counter
7932 \end_layout
7933
7934 \end_inset
7935
7936  [
7937 \begin_inset Flex Code
7938 status collapsed
7939
7940 \begin_layout Plain Layout
7941 文字列
7942 \end_layout
7943
7944 \end_inset
7945
7946 ] この部分はカウンタの特性を定義します.カウンタがまだ存在していなければ,生成されます.もし存在しなければ修正されます.「
7947 \begin_inset Flex Code
7948 status collapsed
7949
7950 \begin_layout Plain Layout
7951 End
7952 \end_layout
7953
7954 \end_inset
7955
7956 」で閉じる必要があります.
7957 \begin_inset Newline newline
7958 \end_inset
7959
7960 カウンタについての詳細は,第
7961 \begin_inset CommandInset ref
7962 LatexCommand ref
7963 reference "subsec:カウンタ"
7964
7965 \end_inset
7966
7967 節を参照してください.
7968 \end_layout
7969
7970 \begin_layout Description
7971 \begin_inset Flex Code
7972 status collapsed
7973
7974 \begin_layout Plain Layout
7975 DefaultFont
7976 \end_layout
7977
7978 \end_inset
7979
7980  文書を表示するのに用いられる既定フォントを設定します.フォントの宣言の仕方については,第
7981 \begin_inset CommandInset ref
7982 LatexCommand ref
7983 reference "subsec:フォント指定"
7984
7985 \end_inset
7986
7987 節を参照してください.「
7988 \begin_inset Flex Code
7989 status collapsed
7990
7991 \begin_layout Plain Layout
7992 EndFont
7993 \end_layout
7994
7995 \end_inset
7996
7997 」で閉じる必要があります.
7998 \end_layout
7999
8000 \begin_layout Description
8001 \begin_inset Flex Code
8002 status collapsed
8003
8004 \begin_layout Plain Layout
8005 DefaultModule
8006 \end_layout
8007
8008 \end_inset
8009
8010  [
8011 \begin_inset Flex Code
8012 status collapsed
8013
8014 \begin_layout Plain Layout
8015 <モジュール>
8016 \end_layout
8017
8018 \end_inset
8019
8020 ] この文書クラスに,既定で取り込むモジュールを指定します.モジュールは,
8021 \begin_inset Flex Code
8022 status collapsed
8023
8024 \begin_layout Plain Layout
8025 .module
8026 \end_layout
8027
8028 \end_inset
8029
8030 拡張子を除いたファイル名で指定します.ユーザはこのモジュールを除外することができますが,当初は有効の状態になっています(これは新しいファイルが作成されたときや,
8031 既存の文書にこの文書クラスが選択したときのみ該当します).
8032 \end_layout
8033
8034 \begin_layout Description
8035 \begin_inset Flex Code
8036 status collapsed
8037
8038 \begin_layout Plain Layout
8039 DefaultStyle
8040 \end_layout
8041
8042 \end_inset
8043
8044  [
8045 \begin_inset Flex Code
8046 status collapsed
8047
8048 \begin_layout Plain Layout
8049 <様式>
8050 \end_layout
8051
8052 \end_inset
8053
8054 ]
8055 \lang english
8056  
8057 \lang japanese
8058 これは新規段落に割り当てられる様式であり,通常は
8059 \begin_inset Flex MenuItem
8060 status collapsed
8061
8062 \begin_layout Plain Layout
8063 標準
8064 \end_layout
8065
8066 \end_inset
8067
8068 です.もしこれを指定しなければ,最初に定義される様式がこれに割り当てられるようにはなっていますが,このディレクティブを使用することが推奨されます.
8069 \end_layout
8070
8071 \begin_layout Description
8072 \begin_inset Flex Code
8073 status collapsed
8074
8075 \begin_layout Plain Layout
8076 ExcludesModule
8077 \end_layout
8078
8079 \end_inset
8080
8081  [
8082 \begin_inset Flex Code
8083 status collapsed
8084
8085 \begin_layout Plain Layout
8086 <モジュール>
8087 \end_layout
8088
8089 \end_inset
8090
8091 ] このタグは,指定されたモジュール—
8092 \begin_inset Flex Code
8093 status collapsed
8094
8095 \begin_layout Plain Layout
8096 .module
8097 \end_layout
8098
8099 \end_inset
8100
8101 拡張子を除いたファイル名で指定します—が,この文書クラスでは使用できないように設定します.これはたとえば,特定の学術誌用レイアウトファイルの中で,定理番号を節毎
8102 に振る
8103 \begin_inset Flex Code
8104 status collapsed
8105
8106 \begin_layout Plain Layout
8107 theorems-sec
8108 \end_layout
8109
8110 \end_inset
8111
8112 モジュールが使用されるのを防ぐために用いたりすることができます.このタグは,モジュール内で
8113 \emph on
8114 使用してはいけません
8115 \emph default
8116 .モジュールは,他のモジュールを排除する独自の枠組みがあります(第
8117 \begin_inset CommandInset ref
8118 LatexCommand ref
8119 reference "subsec:レイアウトモジュール"
8120
8121 \end_inset
8122
8123 節参照).
8124 \end_layout
8125
8126 \begin_layout Description
8127 \begin_inset Flex Code
8128 status collapsed
8129
8130 \begin_layout Plain Layout
8131 Float
8132 \end_layout
8133
8134 \end_inset
8135
8136  フロートを新規に定義します.詳細は,第
8137 \begin_inset CommandInset ref
8138 LatexCommand ref
8139 reference "subsec:フロート"
8140
8141 \end_inset
8142
8143 節を参照してください.「
8144 \begin_inset Flex Code
8145 status collapsed
8146
8147 \begin_layout Plain Layout
8148 End
8149 \end_layout
8150
8151 \end_inset
8152
8153 」で閉じる必要があります.
8154 \end_layout
8155
8156 \begin_layout Description
8157 \begin_inset Flex Code
8158 status collapsed
8159
8160 \begin_layout Plain Layout
8161 HTMLPreamble
8162 \end_layout
8163
8164 \end_inset
8165
8166  この文書クラスがXHTMLに出力されるときに,
8167 \begin_inset Flex Code
8168 status collapsed
8169
8170 \begin_layout Plain Layout
8171 <head>
8172 \end_layout
8173
8174 \end_inset
8175
8176 ブロックに出力される情報です.これより前に出現した
8177 \begin_inset Flex Code
8178 status collapsed
8179
8180 \begin_layout Plain Layout
8181 HTMLPreamble
8182 \end_layout
8183
8184 \end_inset
8185
8186
8187 \begin_inset Flex Code
8188 status collapsed
8189
8190 \begin_layout Plain Layout
8191 AddToHTMLPreamble
8192 \end_layout
8193
8194 \end_inset
8195
8196 宣言は,すべて完全に上書きされることに注意してください(プリアンブルに何かを追加したい時には,
8197 \begin_inset Flex Code
8198 status collapsed
8199
8200 \begin_layout Plain Layout
8201 AddToHTMLPreamble
8202 \end_layout
8203
8204 \end_inset
8205
8206 を使用してください).これは「
8207 \begin_inset Flex Code
8208 status collapsed
8209
8210 \begin_layout Plain Layout
8211 EndPreamble
8212 \end_layout
8213
8214 \end_inset
8215
8216 」で閉じる必要があります.
8217 \end_layout
8218
8219 \begin_layout Description
8220 \begin_inset Flex Code
8221 status collapsed
8222
8223 \begin_layout Plain Layout
8224 HTMLTOCSection
8225 \end_layout
8226
8227 \end_inset
8228
8229  [
8230 \begin_inset Flex Code
8231 status collapsed
8232
8233 \begin_layout Plain Layout
8234 <様式>
8235 \end_layout
8236
8237 \end_inset
8238
8239 ] 文書がHTMLに出力されるときに,目次や書誌情報などに使用されるレイアウトです.articleの場合には,これは通常「節」であり,bookの場合は「章」です
8240 .これを指定しない場合には,\SpecialChar LyX
8241 はどのレイアウトを使用するべきか,解析しようと試みます.
8242 \end_layout
8243
8244 \begin_layout Description
8245 \begin_inset Flex Code
8246 status collapsed
8247
8248 \begin_layout Plain Layout
8249 IfCounter 
8250 \end_layout
8251
8252 \end_inset
8253
8254  [
8255 \begin_inset Flex Code
8256 status collapsed
8257
8258 \begin_layout Plain Layout
8259 <カウンタ>
8260 \end_layout
8261
8262 \end_inset
8263
8264 ] 与えられたカウンタの特性を修正します.カウンタが存在しない場合には,この節は無視されます.「
8265 \begin_inset Flex Code
8266 status collapsed
8267
8268 \begin_layout Plain Layout
8269 End
8270 \end_layout
8271
8272 \end_inset
8273
8274 」で閉じる必要があります.
8275 \begin_inset Newline newline
8276 \end_inset
8277
8278 カウンタについての詳細は,第
8279 \begin_inset CommandInset ref
8280 LatexCommand ref
8281 reference "subsec:カウンタ"
8282
8283 \end_inset
8284
8285 節をご覧ください.
8286 \end_layout
8287
8288 \begin_layout Description
8289 \begin_inset Flex Code
8290 status collapsed
8291
8292 \begin_layout Plain Layout
8293 IfStyle
8294 \end_layout
8295
8296 \end_inset
8297
8298  [
8299 \begin_inset Flex Code
8300 status collapsed
8301
8302 \begin_layout Plain Layout
8303 <様式>
8304 \end_layout
8305
8306 \end_inset
8307
8308 ] 与えられた段落様式の特性を修正します.様式が存在しない場合には,この節は無視されます.「
8309 \begin_inset Flex Code
8310 status collapsed
8311
8312 \begin_layout Plain Layout
8313 End
8314 \end_layout
8315
8316 \end_inset
8317
8318 」で閉じる必要があります.
8319 \end_layout
8320
8321 \begin_layout Description
8322 \begin_inset Flex Code
8323 status collapsed
8324
8325 \begin_layout Plain Layout
8326 Input
8327 \end_layout
8328
8329 \end_inset
8330
8331  [
8332 \begin_inset Flex Code
8333 status collapsed
8334
8335 \begin_layout Plain Layout
8336 <ファイル名>
8337 \end_layout
8338
8339 \end_inset
8340
8341 ]
8342 \lang english
8343  
8344 \lang japanese
8345 名称の指し示すように,このコマンドは,同じコマンドを何度も指定せずに済むように,別のレイアウト定義ファイルを取り込ませます.よく使われる例は,基本的なレイアウト
8346 のほとんどを収録している
8347 \begin_inset Flex Code
8348 status collapsed
8349
8350 \begin_layout Plain Layout
8351 stdclass.inc
8352 \end_layout
8353
8354 \end_inset
8355
8356 のような標準レイアウトファイルです.
8357 \end_layout
8358
8359 \begin_layout Description
8360 \begin_inset Flex Code
8361 status collapsed
8362
8363 \begin_layout Plain Layout
8364 InsetLayout
8365 \end_layout
8366
8367 \end_inset
8368
8369  [
8370 \begin_inset Flex Code
8371 status collapsed
8372
8373 \begin_layout Plain Layout
8374 <型>
8375 \end_layout
8376
8377 \end_inset
8378
8379 ]
8380 \lang english
8381  
8382 \lang japanese
8383 このセクションは,差込枠のレイアウトを定義(再定義)します.これは,既存の差込枠にも,新しい文字様式のような新規のユーザ定義差込枠にも使用することができます.「
8384 \begin_inset Flex Code
8385 status collapsed
8386
8387 \begin_layout Plain Layout
8388 End
8389 \end_layout
8390
8391 \end_inset
8392
8393 」で閉じる必要があります.
8394 \begin_inset Newline newline
8395 \end_inset
8396
8397 詳しい情報は,第
8398 \begin_inset CommandInset ref
8399 LatexCommand ref
8400 reference "subsec:任意設定差込枠"
8401
8402 \end_inset
8403
8404 節をご覧ください.
8405 \end_layout
8406
8407 \begin_layout Description
8408 \begin_inset Flex Code
8409 status collapsed
8410
8411 \begin_layout Plain Layout
8412 LeftMargin
8413 \end_layout
8414
8415 \end_inset
8416
8417  [
8418 \begin_inset Flex Code
8419 status collapsed
8420
8421 \begin_layout Plain Layout
8422 文字列
8423 \end_layout
8424
8425 \end_inset
8426
8427 ] 画面上の左余白の幅を指示する文字列.例:「
8428 \begin_inset Flex Code
8429 status collapsed
8430
8431 \begin_layout Plain Layout
8432 MMMMM
8433 \end_layout
8434
8435 \end_inset
8436
8437 」.(これは,「2ex」のような「長さ」ではないことに注意してください.)
8438 \end_layout
8439
8440 \begin_layout Description
8441 \begin_inset Flex Code
8442 status collapsed
8443
8444 \begin_layout Plain Layout
8445 MaxCiteNames
8446 \end_layout
8447
8448 \end_inset
8449
8450  [
8451 \begin_inset Flex Code
8452 status collapsed
8453
8454 \begin_layout Plain Layout
8455 整数
8456 \end_layout
8457
8458 \end_inset
8459
8460 ] 著者-刊行年引用で,引用が「第一著者 et al.」に切り替わる前に,表示される名前の最大数を定める整数.主に引用エンジンファイルで使用されます(第
8461 \begin_inset CommandInset ref
8462 LatexCommand ref
8463 reference "subsec:引用エンジンファイル"
8464 plural "false"
8465 caps "false"
8466 noprefix "false"
8467
8468 \end_inset
8469
8470 節参照).
8471 \end_layout
8472
8473 \begin_layout Description
8474 \begin_inset Flex Code
8475 status collapsed
8476
8477 \begin_layout Plain Layout
8478 NoCounter
8479 \end_layout
8480
8481 \end_inset
8482
8483  [
8484 \begin_inset Flex Code
8485 status collapsed
8486
8487 \begin_layout Plain Layout
8488 <カウンタ>
8489 \end_layout
8490
8491 \end_inset
8492
8493 ] このコマンドは,既存のカウンタ(通常インクルードファイル内で定義されたもの)を削除します.
8494 \end_layout
8495
8496 \begin_layout Description
8497 \begin_inset Flex Code
8498 status collapsed
8499
8500 \begin_layout Plain Layout
8501 NoFloat
8502 \end_layout
8503
8504 \end_inset
8505
8506  [
8507 \begin_inset Flex Code
8508 status collapsed
8509
8510 \begin_layout Plain Layout
8511 <フロート>
8512 \end_layout
8513
8514 \end_inset
8515
8516 ] このコマンドは既存のフロートを削除します.これは特に,Inputで取り込んだファイルに定義されていたフロートを抑制するのに便利です.
8517 \end_layout
8518
8519 \begin_layout Description
8520 \begin_inset Flex Code
8521 status collapsed
8522
8523 \begin_layout Plain Layout
8524 NoStyle
8525 \end_layout
8526
8527 \end_inset
8528
8529  [
8530 \begin_inset Flex Code
8531 status collapsed
8532
8533 \begin_layout Plain Layout
8534 <様式>
8535 \end_layout
8536
8537 \end_inset
8538
8539 ] このコマンドは既存の様式を削除します.これは特に,Inputで取り込んだファイルに定義されていた様式を抑制するのに便利です.
8540 \end_layout
8541
8542 \begin_layout Description
8543 \begin_inset Flex Code
8544 status collapsed
8545
8546 \begin_layout Plain Layout
8547 OutlinerName
8548 \end_layout
8549
8550 \end_inset
8551
8552  [
8553 \begin_inset Flex Code
8554 status collapsed
8555
8556 \begin_layout Plain Layout
8557 <型>
8558 \end_layout
8559
8560 \end_inset
8561
8562 ] [
8563 \begin_inset Flex Code
8564 status collapsed
8565
8566 \begin_layout Plain Layout
8567 <文字列>
8568 \end_layout
8569
8570 \end_inset
8571
8572 ] 型が
8573 \begin_inset Flex Code
8574 status collapsed
8575
8576 \begin_layout Plain Layout
8577 <型>
8578 \end_layout
8579
8580 \end_inset
8581
8582 で名前が
8583 \begin_inset Flex Code
8584 status collapsed
8585
8586 \begin_layout Plain Layout
8587 <文字列>
8588 \end_layout
8589
8590 \end_inset
8591
8592 の新しい一覧表を定義します.AddToTocコマンドもご覧ください.
8593 \end_layout
8594
8595 \begin_layout Description
8596 \begin_inset Flex Code
8597 status collapsed
8598
8599 \begin_layout Plain Layout
8600 OutputFormat
8601 \end_layout
8602
8603 \end_inset
8604
8605  [
8606 \begin_inset Flex Code
8607 status collapsed
8608
8609 \begin_layout Plain Layout
8610 <形式>
8611 \end_layout
8612
8613 \end_inset
8614
8615 ] このクラスによって生成されるファイル形式を示す文字列(
8616 \family sans
8617 設定
8618 \family default
8619 ダイアログで定義される形のもの).おもに,
8620 \begin_inset Flex Code
8621 status collapsed
8622
8623 \begin_layout Plain Layout
8624 OutputType
8625 \end_layout
8626
8627 \end_inset
8628
8629
8630 \begin_inset Flex Code
8631 status collapsed
8632
8633 \begin_layout Plain Layout
8634 literate
8635 \end_layout
8636
8637 \end_inset
8638
8639 になっていて,新しい型のliterate文書を定義したい時に便利です.対応する
8640 \begin_inset Flex Code
8641 status collapsed
8642
8643 \begin_layout Plain Layout
8644 OutputType
8645 \end_layout
8646
8647 \end_inset
8648
8649 パラメーターに遭遇したときには,この文字列は,「
8650 \begin_inset Flex Code
8651 status collapsed
8652
8653 \begin_layout Plain Layout
8654 docbook
8655 \end_layout
8656
8657 \end_inset
8658
8659 」・「
8660 \begin_inset Flex Code
8661 status collapsed
8662
8663 \begin_layout Plain Layout
8664 lat
8665 \emph on
8666 ex
8667 \end_layout
8668
8669 \end_inset
8670
8671 」のいずれかにリセットされます.
8672 \end_layout
8673
8674 \begin_layout Description
8675 \begin_inset Flex Code
8676 status collapsed
8677
8678 \begin_layout Plain Layout
8679 OutputType
8680 \end_layout
8681
8682 \end_inset
8683
8684  [
8685 \begin_inset Flex Code
8686 status collapsed
8687
8688 \begin_layout Plain Layout
8689
8690 \emph on
8691 lat
8692 \emph default
8693 ex
8694 \end_layout
8695
8696 \end_inset
8697
8698
8699 \begin_inset Flex Code
8700 status collapsed
8701
8702 \begin_layout Plain Layout
8703 docbook
8704 \end_layout
8705
8706 \end_inset
8707
8708
8709 \begin_inset Flex Code
8710 status collapsed
8711
8712 \begin_layout Plain Layout
8713 literate
8714 \end_layout
8715
8716 \end_inset
8717
8718 ] このクラスを使用する文書がどのような種類の出力をするかを示す文字列.現在のところ,取り得る値は「docbook」・「latex」・「literate」です.
8719 \end_layout
8720
8721 \begin_layout Description
8722 \begin_inset Flex Code
8723 status collapsed
8724
8725 \begin_layout Plain Layout
8726 PackageOptions
8727 \end_layout
8728
8729 \end_inset
8730
8731  [
8732 \begin_inset Flex Code
8733 status collapsed
8734
8735 \begin_layout Plain Layout
8736 文字列
8737 \end_layout
8738
8739 \end_inset
8740
8741  
8742 \begin_inset Flex Code
8743 status collapsed
8744
8745 \begin_layout Plain Layout
8746 文字列
8747 \end_layout
8748
8749 \end_inset
8750
8751 ] 第1文字列で指定したパッケージ用のオプションを第2文字列で指定します.例えば,「
8752 \begin_inset Flex Code
8753 status collapsed
8754
8755 \begin_layout Plain Layout
8756 PackageOptions natbib square
8757 \end_layout
8758
8759 \end_inset
8760
8761 」とすると,
8762 \begin_inset Flex Code
8763 status collapsed
8764
8765 \begin_layout Plain Layout
8766 natbib
8767 \end_layout
8768
8769 \end_inset
8770
8771
8772 \begin_inset Flex Code
8773 status collapsed
8774
8775 \begin_layout Plain Layout
8776 square
8777 \end_layout
8778
8779 \end_inset
8780
8781 オプションとともに読み込みます(\SpecialChar TeX
8782 perts向けに述べると,これは,
8783 \begin_inset Flex Code
8784 status collapsed
8785
8786 \begin_layout Plain Layout
8787 natbib
8788 \end_layout
8789
8790 \end_inset
8791
8792 を読み込む前に,\SpecialChar LyX
8793
8794 \begin_inset Flex Code
8795 status collapsed
8796
8797 \begin_layout Plain Layout
8798
8799 \backslash
8800 PassOptionsToPackage{natbib}{square}
8801 \end_layout
8802
8803 \end_inset
8804
8805 を出力させます).
8806 \end_layout
8807
8808 \begin_layout Description
8809 \begin_inset Flex Code
8810 status collapsed
8811
8812 \begin_layout Plain Layout
8813 PageStyle
8814 \end_layout
8815
8816 \end_inset
8817
8818  [
8819 \emph on
8820
8821 \begin_inset Flex Code
8822 status collapsed
8823
8824 \begin_layout Plain Layout
8825 plain
8826 \end_layout
8827
8828 \end_inset
8829
8830
8831 \emph default
8832
8833 \begin_inset Flex Code
8834 status collapsed
8835
8836 \begin_layout Plain Layout
8837 empty
8838 \end_layout
8839
8840 \end_inset
8841
8842
8843 \begin_inset Flex Code
8844 status collapsed
8845
8846 \begin_layout Plain Layout
8847 headings
8848 \end_layout
8849
8850 \end_inset
8851
8852 ] 既定ページ様式.
8853 \begin_inset Flex MenuItem
8854 status collapsed
8855
8856 \begin_layout Plain Layout
8857 文書\SpecialChar menuseparator
8858 設定
8859 \end_layout
8860
8861 \end_inset
8862
8863 ダイアログで変更することができます.
8864 \end_layout
8865
8866 \begin_layout Description
8867 \begin_inset Flex Code
8868 status collapsed
8869
8870 \begin_layout Plain Layout
8871 Preamble
8872 \end_layout
8873
8874 \end_inset
8875
8876  \SpecialChar LaTeX
8877 文書のプリアンブルを設定します.前に行った
8878 \begin_inset Flex Code
8879 status collapsed
8880
8881 \begin_layout Plain Layout
8882 Preamble
8883 \end_layout
8884
8885 \end_inset
8886
8887 宣言や
8888 \begin_inset Flex Code
8889 status collapsed
8890
8891 \begin_layout Plain Layout
8892 AddToPreamble
8893 \end_layout
8894
8895 \end_inset
8896
8897 宣言は,すべて上書きされてしまうので注意してください.(プリアンブルに何かを追加したい時には,
8898 \begin_inset Flex Code
8899 status collapsed
8900
8901 \begin_layout Plain Layout
8902 AddToPreamble
8903 \end_layout
8904
8905 \end_inset
8906
8907 を使用してください.)「
8908 \begin_inset Flex Code
8909 status collapsed
8910
8911 \begin_layout Plain Layout
8912 EndPreamble
8913 \end_layout
8914
8915 \end_inset
8916
8917 」で閉じる必要があります.
8918 \end_layout
8919
8920 \begin_layout Description
8921 \begin_inset Flex Code
8922 status collapsed
8923
8924 \begin_layout Plain Layout
8925 Provides
8926 \end_layout
8927
8928 \end_inset
8929
8930  [
8931 \begin_inset Flex Code
8932 status collapsed
8933
8934 \begin_layout Plain Layout
8935 文字列
8936 \end_layout
8937
8938 \end_inset
8939
8940 ] [
8941 \begin_inset Flex Code
8942 status collapsed
8943
8944 \begin_layout Plain Layout
8945
8946 \emph on
8947 0
8948 \end_layout
8949
8950 \end_inset
8951
8952
8953 \begin_inset Flex Code
8954 status collapsed
8955
8956 \begin_layout Plain Layout
8957 1
8958 \end_layout
8959
8960 \end_inset
8961
8962 ] このクラスが
8963 \begin_inset Flex Code
8964 status collapsed
8965
8966 \begin_layout Plain Layout
8967 文字列
8968 \end_layout
8969
8970 \end_inset
8971
8972 で示される機能を既に提供しているかどうかを示します.機能は,一般的にパッケージ名(
8973 \begin_inset Flex Code
8974 status collapsed
8975
8976 \begin_layout Plain Layout
8977 amsmath
8978 \end_layout
8979
8980 \end_inset
8981
8982
8983 \begin_inset Flex Code
8984 status collapsed
8985
8986 \begin_layout Plain Layout
8987 makeidx
8988 \end_layout
8989
8990 \end_inset
8991
8992 ・\SpecialChar ldots
8993 )やマクロ名(
8994 \begin_inset Flex Code
8995 status collapsed
8996
8997 \begin_layout Plain Layout
8998 url
8999 \end_layout
9000
9001 \end_inset
9002
9003
9004 \begin_inset Flex Code
9005 status collapsed
9006
9007 \begin_layout Plain Layout
9008 boldsymbol
9009 \end_layout
9010
9011 \end_inset
9012
9013 ・\SpecialChar ldots
9014 )です.機能一覧については,
9015 \begin_inset CommandInset ref
9016 LatexCommand ref
9017 reference "chap:関数一覧"
9018
9019 \end_inset
9020
9021 を参照.
9022 \end_layout
9023
9024 \begin_layout Description
9025 \begin_inset Flex Code
9026 status collapsed
9027
9028 \begin_layout Plain Layout
9029 ProvidesModule
9030 \end_layout
9031
9032 \end_inset
9033
9034  [
9035 \begin_inset Flex Code
9036 status collapsed
9037
9038 \begin_layout Plain Layout
9039 文字列
9040 \end_layout
9041
9042 \end_inset
9043
9044 ] このレイアウトが
9045 \begin_inset Flex Code
9046 status collapsed
9047
9048 \begin_layout Plain Layout
9049 文字列
9050 \end_layout
9051
9052 \end_inset
9053
9054 で表されているモジュールの機能を提供することを示し,
9055 \begin_inset Flex Code
9056 status collapsed
9057
9058 \begin_layout Plain Layout
9059 .module
9060 \end_layout
9061
9062 \end_inset
9063
9064 拡張子を除いたファイル名で指定します.
9065 \begin_inset Flex Code
9066 status collapsed
9067
9068 \begin_layout Plain Layout
9069 DefaultModule
9070 \end_layout
9071
9072 \end_inset
9073
9074 タグを使用すると,モジュールを使用しなくてはならないことを示しますが,このタグは主に,このレイアウトがモジュールを直接取り込んでしまっていることを示すのに用いら
9075 れます.同じ機能を別に実装しているモジュール中で使用するなどすることもできます.
9076 \end_layout
9077
9078 \begin_layout Description
9079 \begin_inset Flex Code
9080 status collapsed
9081
9082 \begin_layout Plain Layout
9083 Requires
9084 \end_layout
9085
9086 \end_inset
9087
9088  [
9089 \begin_inset Flex Code
9090 status collapsed
9091
9092 \begin_layout Plain Layout
9093 文字列
9094 \end_layout
9095
9096 \end_inset
9097
9098 ] このクラスが
9099 \begin_inset Flex Code
9100 status collapsed
9101
9102 \begin_layout Plain Layout
9103 文字列
9104 \end_layout
9105
9106 \end_inset
9107
9108 で表されている機能を要求することを示します.機能が複数ある場合には,コンマで区切らなくてはなりません.サポートされている機能以外は要求できないことに注意してくだ
9109 さい(機能一覧については
9110 \begin_inset CommandInset ref
9111 LatexCommand ref
9112 reference "chap:関数一覧"
9113
9114 \end_inset
9115
9116 を参照).特定のオプションをとるパッケージを要求する場合,
9117 \begin_inset Flex Code
9118 status collapsed
9119
9120 \begin_layout Plain Layout
9121 PackageOptions
9122 \end_layout
9123
9124 \end_inset
9125
9126 を追加して使うことができます.
9127 \end_layout
9128
9129 \begin_layout Description
9130 \begin_inset Flex Code
9131 status collapsed
9132
9133 \begin_layout Plain Layout
9134 RightMargin
9135 \end_layout
9136
9137 \end_inset
9138
9139  [
9140 \begin_inset Flex Code
9141 status collapsed
9142
9143 \begin_layout Plain Layout
9144 文字列
9145 \end_layout
9146
9147 \end_inset
9148
9149 ] 画面上の右余白の幅を指示する文字列.例:「
9150 \begin_inset Flex Code
9151 status collapsed
9152
9153 \begin_layout Plain Layout
9154 MMMMM
9155 \end_layout
9156
9157 \end_inset
9158
9159 」.
9160 \end_layout
9161
9162 \begin_layout Description
9163 \begin_inset Flex Code
9164 status collapsed
9165
9166 \begin_layout Plain Layout
9167 SecNumDepth
9168 \end_layout
9169
9170 \end_inset
9171
9172  [
9173 \begin_inset Flex Code
9174 status collapsed
9175
9176 \begin_layout Plain Layout
9177 int=3
9178 \end_layout
9179
9180 \end_inset
9181
9182 ] どの節区切りまで連番を振るかを指定します.\SpecialChar LaTeX
9183 における
9184 \begin_inset Flex Code
9185 status collapsed
9186
9187 \begin_layout Plain Layout
9188 secnumdepth
9189 \end_layout
9190
9191 \end_inset
9192
9193 カウンタに対応します.
9194 \end_layout
9195
9196 \begin_layout Description
9197 \begin_inset Flex Code
9198 status collapsed
9199
9200 \begin_layout Plain Layout
9201 Sides
9202 \end_layout
9203
9204 \end_inset
9205
9206  [
9207 \emph on
9208
9209 \begin_inset Flex Code
9210 status collapsed
9211
9212 \begin_layout Plain Layout
9213 1
9214 \end_layout
9215
9216 \end_inset
9217
9218
9219 \emph default
9220 ,
9221 \begin_inset space \thinspace{}
9222 \end_inset
9223
9224
9225 \begin_inset Flex Code
9226 status collapsed
9227
9228 \begin_layout Plain Layout
9229 2
9230 \end_layout
9231
9232 \end_inset
9233
9234 ] クラスの既定値として,用紙の片面に印字するか両面に印字するかを指定します.
9235 \begin_inset Flex MenuItem
9236 status collapsed
9237
9238 \begin_layout Plain Layout
9239 文書\SpecialChar menuseparator
9240 設定
9241 \end_layout
9242
9243 \end_inset
9244
9245 ダイアログで変更することができます.
9246 \end_layout
9247
9248 \begin_layout Description
9249 \begin_inset Flex Code
9250 status collapsed
9251
9252 \begin_layout Plain Layout
9253 Style
9254 \end_layout
9255
9256 \end_inset
9257
9258  [
9259 \begin_inset Flex Code
9260 status collapsed
9261
9262 \begin_layout Plain Layout
9263 <名称>
9264 \end_layout
9265
9266 \end_inset
9267
9268 ]
9269 \lang english
9270  
9271 \lang japanese
9272 この部分は段落様式を定義します.様式がまだ存在していなければ,生成されます.既に存在していれば,そのパラメータが修正されます.「
9273 \begin_inset Flex Code
9274 status collapsed
9275
9276 \begin_layout Plain Layout
9277 End
9278 \end_layout
9279
9280 \end_inset
9281
9282 」で閉じる必要があります.
9283 \begin_inset Newline newline
9284 \end_inset
9285
9286 段落様式に関する詳細は,
9287 \begin_inset CommandInset ref
9288 LatexCommand ref
9289 reference "subsec:段落様式-XHTML"
9290
9291 \end_inset
9292
9293 をご覧ください.
9294 \end_layout
9295
9296 \begin_layout Description
9297 \begin_inset Flex Code
9298 status collapsed
9299
9300 \begin_layout Plain Layout
9301 TitleLatexName
9302 \end_layout
9303
9304 \end_inset
9305
9306  [
9307 \begin_inset Flex Code
9308 status collapsed
9309
9310 \begin_layout Plain Layout
9311 文字列="maketitle"
9312 \end_layout
9313
9314 \end_inset
9315
9316
9317 \begin_inset Flex Code
9318 status collapsed
9319
9320 \begin_layout Plain Layout
9321 TitleLatexType
9322 \end_layout
9323
9324 \end_inset
9325
9326 で使用すべきコマンド名あるいは環境名.The name of the command or environment to be used with
9327  
9328 \begin_inset Flex Code
9329 status collapsed
9330
9331 \begin_layout Plain Layout
9332 TitleLatexType
9333 \end_layout
9334
9335 \end_inset
9336
9337 .
9338 \end_layout
9339
9340 \begin_layout Description
9341 \begin_inset Flex Code
9342 status collapsed
9343
9344 \begin_layout Plain Layout
9345 TitleLatexType
9346 \end_layout
9347
9348 \end_inset
9349
9350  [
9351 \begin_inset Flex Code
9352 status collapsed
9353
9354 \begin_layout Plain Layout
9355
9356 \emph on
9357 CommandAfter
9358 \end_layout
9359
9360 \end_inset
9361
9362
9363 \begin_inset Flex Code
9364 status collapsed
9365
9366 \begin_layout Plain Layout
9367 Environment
9368 \end_layout
9369
9370 \end_inset
9371
9372 ] 文書のタイトルを定義するのに,どのようなマークアップを使用するのかを示します.
9373 \begin_inset Flex Code
9374 status collapsed
9375
9376 \begin_layout Plain Layout
9377 CommandAfter
9378 \end_layout
9379
9380 \end_inset
9381
9382 は,「
9383 \begin_inset Flex Code
9384 status collapsed
9385
9386 \begin_layout Plain Layout
9387 InTitle
9388 \begin_inset space ~
9389 \end_inset
9390
9391 1
9392 \end_layout
9393
9394 \end_inset
9395
9396 」が指定されている最後のレイアウトの後に,
9397 \begin_inset Flex Code
9398 status collapsed
9399
9400 \begin_layout Plain Layout
9401 TitleLatexName
9402 \end_layout
9403
9404 \end_inset
9405
9406 で指定したマクロ名を挿入することを意味します.
9407 \begin_inset Flex Code
9408 status collapsed
9409
9410 \begin_layout Plain Layout
9411 Environment
9412 \end_layout
9413
9414 \end_inset
9415
9416 は,「
9417 \begin_inset Flex Code
9418 status collapsed
9419
9420 \begin_layout Plain Layout
9421 InTitle
9422 \begin_inset space ~
9423 \end_inset
9424
9425 1
9426 \end_layout
9427
9428 \end_inset
9429
9430 」を持つ段落群を
9431 \begin_inset Flex Code
9432 status collapsed
9433
9434 \begin_layout Plain Layout
9435 TitleLatexName
9436 \end_layout
9437
9438 \end_inset
9439
9440 で指定した環境でくるむ場合に対応します.
9441 \end_layout
9442
9443 \begin_layout Description
9444 \begin_inset Flex Code
9445 status collapsed
9446
9447 \begin_layout Plain Layout
9448 TocDepth
9449 \end_layout
9450
9451 \end_inset
9452
9453  [
9454 \begin_inset Flex Code
9455 status collapsed
9456
9457 \begin_layout Plain Layout
9458 int=3
9459 \end_layout
9460
9461 \end_inset
9462
9463 ] どの節区切りまで目次に取り込むかを指定します.\SpecialChar LaTeX
9464
9465 \begin_inset Flex Code
9466 status collapsed
9467
9468 \begin_layout Plain Layout
9469 tocdepth
9470 \end_layout
9471
9472 \end_inset
9473
9474 カウンタに対応します.
9475 \end_layout
9476
9477 \begin_layout Subsection
9478 \begin_inset Flex Code
9479 status collapsed
9480
9481 \begin_layout Plain Layout
9482 ClassOptions
9483 \end_layout
9484
9485 \end_inset
9486
9487
9488 \begin_inset CommandInset label
9489 LatexCommand label
9490 name "subsec:ClassOptions"
9491
9492 \end_inset
9493
9494
9495 \end_layout
9496
9497 \begin_layout Standard
9498 \begin_inset Flex Code
9499 status collapsed
9500
9501 \begin_layout Plain Layout
9502 ClassOptions
9503 \end_layout
9504
9505 \end_inset
9506
9507 部は,以下の項目を取り得ます.
9508 \end_layout
9509
9510 \begin_layout Description
9511 \begin_inset Flex Code
9512 status collapsed
9513
9514 \begin_layout Plain Layout
9515 FontSize
9516 \end_layout
9517
9518 \end_inset
9519
9520  [
9521 \begin_inset Flex Code
9522 status collapsed
9523
9524 \begin_layout Plain Layout
9525 文字列="10|11|12"
9526 \end_layout
9527
9528 \end_inset
9529
9530 ] 文書のメインフォントが使用できるフォント寸法の一覧です.「
9531 \begin_inset Flex Code
9532 status collapsed
9533
9534 \begin_layout Plain Layout
9535 |
9536 \end_layout
9537
9538 \end_inset
9539
9540 」で区切ります.
9541 \end_layout
9542
9543 \begin_layout Description
9544 \begin_inset Flex Code
9545 status collapsed
9546
9547 \begin_layout Plain Layout
9548 Header
9549 \end_layout
9550
9551 \end_inset
9552
9553  XMLベースの出力クラスで,DTD行を設定するのに使用されます.例:PUBLIC 
9554 \begin_inset Quotes eld
9555 \end_inset
9556
9557 -//OASIS//DTD DocBook V4.2//EN
9558 \begin_inset Quotes erd
9559 \end_inset
9560
9561
9562 \end_layout
9563
9564 \begin_layout Description
9565 \begin_inset Flex Code
9566 status collapsed
9567
9568 \begin_layout Plain Layout
9569 PageStyle
9570 \end_layout
9571
9572 \end_inset
9573
9574  [
9575 \begin_inset Flex Code
9576 status collapsed
9577
9578 \begin_layout Plain Layout
9579 文字列="empty|plain|headings|fancy"
9580 \end_layout
9581
9582 \end_inset
9583
9584 ] 使用できるページ様式の一覧です.「
9585 \begin_inset Flex Code
9586 status collapsed
9587
9588 \begin_layout Plain Layout
9589 |
9590 \end_layout
9591
9592 \end_inset
9593
9594 」で区切ります.
9595 \end_layout
9596
9597 \begin_layout Description
9598 \begin_inset Flex Code
9599 status collapsed
9600
9601 \begin_layout Plain Layout
9602 Other
9603 \end_layout
9604
9605 \end_inset
9606
9607  [
9608 \begin_inset Flex Code
9609 status collapsed
9610
9611 \begin_layout Plain Layout
9612 文字列=""
9613 \end_layout
9614
9615 \end_inset
9616
9617
9618 \begin_inset Flex Code
9619 status collapsed
9620
9621 \begin_layout Plain Layout
9622
9623 \backslash
9624 documentclass
9625 \end_layout
9626
9627 \end_inset
9628
9629 コマンドの非必須パラメータとして付け加える文書クラスオプションです.コンマで区切ります.
9630 \end_layout
9631
9632 \begin_layout Standard
9633 \begin_inset Flex Code
9634 status collapsed
9635
9636 \begin_layout Plain Layout
9637 ClassOptions
9638 \end_layout
9639
9640 \end_inset
9641
9642 部は「
9643 \begin_inset Flex Code
9644 status collapsed
9645
9646 \begin_layout Plain Layout
9647 End
9648 \end_layout
9649
9650 \end_inset
9651
9652 」で閉じる必要があります.
9653 \end_layout
9654
9655 \begin_layout Subsection
9656 段落様式
9657 \begin_inset CommandInset label
9658 LatexCommand label
9659 name "subsec:段落様式"
9660
9661 \end_inset
9662
9663
9664 \end_layout
9665
9666 \begin_layout Standard
9667 段落様式の記述は,以下のようになります
9668 \begin_inset Foot
9669 status collapsed
9670
9671 \begin_layout Plain Layout
9672 これは新しいレイアウトを定義するか,既存のレイアウトを修正することになることに注意してください.
9673 \end_layout
9674
9675 \end_inset
9676
9677
9678 \end_layout
9679
9680 \begin_layout LyX-Code
9681 Style 
9682 \family roman
9683 \emph on
9684 名称
9685 \end_layout
9686
9687 \begin_layout LyX-Code
9688  ...
9689 \end_layout
9690
9691 \begin_layout LyX-Code
9692 End
9693 \end_layout
9694
9695 \begin_layout Standard
9696 ここでは,以下のコマンドを使用することができます.
9697 \end_layout
9698
9699 \begin_layout Description
9700 \begin_inset Flex Code
9701 status collapsed
9702
9703 \begin_layout Plain Layout
9704 AddToToc
9705 \end_layout
9706
9707 \end_inset
9708
9709  [
9710 \begin_inset Flex Code
9711 status collapsed
9712
9713 \begin_layout Plain Layout
9714 文字列
9715 \end_layout
9716
9717 \end_inset
9718
9719 =""] この段落は指定された型の一覧表に現れます.空の文字列を与えると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドもご覧
9720 ください.既定値:無効.
9721 \end_layout
9722
9723 \begin_layout Description
9724 \begin_inset Flex Code
9725 status collapsed
9726
9727 \begin_layout Plain Layout
9728 Align
9729 \end_layout
9730
9731 \end_inset
9732
9733  [
9734 \begin_inset Flex Code
9735 status collapsed
9736
9737 \begin_layout Plain Layout
9738
9739 \emph on
9740 block
9741 \emph default
9742 , left, right, center
9743 \end_layout
9744
9745 \end_inset
9746
9747 ] 段落の揃え.
9748 \end_layout
9749
9750 \begin_layout Description
9751 \begin_inset Flex Code
9752 status collapsed
9753
9754 \begin_layout Plain Layout
9755 AlignPossible
9756 \end_layout
9757
9758 \end_inset
9759
9760  [
9761 \begin_inset Flex Code
9762 status collapsed
9763
9764 \begin_layout Plain Layout
9765
9766 \emph on
9767 block
9768 \emph default
9769 , left, right, center
9770 \end_layout
9771
9772 \end_inset
9773
9774 ] 使用できる揃えのコンマ区切りリスト(\SpecialChar LaTeX
9775 スタイルには,意味を成さない一部の揃えが禁じられているものがあります.たとえば,連番箇条書きを右揃えや中央揃えにすること
9776 はできません).
9777 \end_layout
9778
9779 \begin_layout Description
9780 \begin_inset Flex Code
9781 status collapsed
9782
9783 \begin_layout Plain Layout
9784 Argument
9785 \end_layout
9786
9787 \end_inset
9788
9789  [
9790 \begin_inset Flex Code
9791 status collapsed
9792
9793 \begin_layout Plain Layout
9794 整数
9795 \end_layout
9796
9797 \end_inset
9798
9799 ] 現在の様式に関連付けられたコマンドまたは環境の引数番号<整数>を定義します.これは,節見出しのようなものに便利で,また\SpecialChar LaTeX
9800 でのみ意味を持ちます.コマンドまたは環
9801 境の引数は全て–段落の内容自身に関連付けられた必須引数を除き,必須・非必須を問わず–,別の場所で定義され,引数番号はその順序を表します.定義は
9802 \begin_inset Flex Code
9803 status collapsed
9804
9805 \begin_layout Plain Layout
9806 EndArgument
9807 \end_layout
9808
9809 \end_inset
9810
9811 で閉じなくてはなりません.非必須引数が2つあるコマンドの場合は,以下のようになります.
9812 \end_layout
9813
9814 \begin_deeper
9815 \begin_layout Quote
9816
9817 \family typewriter
9818 Argument 1
9819 \end_layout
9820
9821 \begin_layout Quote
9822
9823 \family typewriter
9824 ...
9825 \end_layout
9826
9827 \begin_layout Quote
9828
9829 \family typewriter
9830 EndArgument
9831 \end_layout
9832
9833 \begin_layout Quote
9834
9835 \family typewriter
9836 Argument 2
9837 \end_layout
9838
9839 \begin_layout Quote
9840
9841 \family typewriter
9842 ...
9843 \end_layout
9844
9845 \begin_layout Quote
9846
9847 \family typewriter
9848 EndArgument
9849 \end_layout
9850
9851 \begin_layout Standard
9852 \begin_inset Flex Code
9853 status collapsed
9854
9855 \begin_layout Plain Layout
9856 Argument
9857 \end_layout
9858
9859 \end_inset
9860
9861 定義内部では,以下の指定をすることができます.
9862 \end_layout
9863
9864 \begin_layout Itemize
9865 \begin_inset Flex Code
9866 status collapsed
9867
9868 \begin_layout Plain Layout
9869 LabelString
9870 \end_layout
9871
9872 \end_inset
9873
9874  
9875 \begin_inset Flex Code
9876 status collapsed
9877
9878 \begin_layout Plain Layout
9879 [文字列]
9880 \end_layout
9881
9882 \end_inset
9883
9884  この引数を挿入するメニューと引数差込枠ボタンに表示される文字列です(別に
9885 \begin_inset Flex Code
9886 status collapsed
9887
9888 \begin_layout Plain Layout
9889 MenuString
9890 \end_layout
9891
9892 \end_inset
9893
9894 を指定した場合を除く).メニューには,後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9895 \begin_inset space \space{}
9896 \end_inset
9897
9898
9899 \begin_inset Quotes eld
9900 \end_inset
9901
9902
9903 \begin_inset Flex Code
9904 status collapsed
9905
9906 \begin_layout Plain Layout
9907 Short Title|S
9908 \end_layout
9909
9910 \end_inset
9911
9912
9913 \begin_inset Quotes erd
9914 \end_inset
9915
9916 ).
9917 \end_layout
9918
9919 \begin_layout Itemize
9920 \begin_inset Flex Code
9921 status collapsed
9922
9923 \begin_layout Plain Layout
9924 MenuString
9925 \end_layout
9926
9927 \end_inset
9928
9929  
9930 \begin_inset Flex Code
9931 status collapsed
9932
9933 \begin_layout Plain Layout
9934 [文字列]
9935 \end_layout
9936
9937 \end_inset
9938
9939  メニュー単独用の文字列.後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9940 \begin_inset space \space{}
9941 \end_inset
9942
9943
9944 \begin_inset Quotes eld
9945 \end_inset
9946
9947
9948 \begin_inset Flex Code
9949 status collapsed
9950
9951 \begin_layout Plain Layout
9952 Short Title|S
9953 \end_layout
9954
9955 \end_inset
9956
9957
9958 \begin_inset Quotes erd
9959 \end_inset
9960
9961 ).この指定は必須ではありません.指定しない場合には,代わりに
9962 \begin_inset Flex Code
9963 status collapsed
9964
9965 \begin_layout Plain Layout
9966 LabelString
9967 \end_layout
9968
9969 \end_inset
9970
9971 がメニューに用いられます.
9972 \end_layout
9973
9974 \begin_layout Itemize
9975 \begin_inset Flex Code
9976 status collapsed
9977
9978 \begin_layout Plain Layout
9979 Tooltip
9980 \end_layout
9981
9982 \end_inset
9983
9984  
9985 \begin_inset Flex Code
9986 status collapsed
9987
9988 \begin_layout Plain Layout
9989 [文字列]
9990 \end_layout
9991
9992 \end_inset
9993
9994  引数差込枠にマウスをかざしたときに現れるツールチップに表示される長めの説明文.
9995 \end_layout
9996
9997 \begin_layout Itemize
9998 \begin_inset Flex Code
9999 status collapsed
10000
10001 \begin_layout Plain Layout
10002 Mandatory
10003 \end_layout
10004
10005 \end_inset
10006
10007  [
10008 \begin_inset Flex Code
10009 status collapsed
10010
10011 \begin_layout Plain Layout
10012
10013 \emph on
10014 0
10015 \end_layout
10016
10017 \end_inset
10018
10019 ,
10020 \begin_inset space \thinspace{}
10021 \end_inset
10022
10023
10024 \begin_inset Flex Code
10025 status collapsed
10026
10027 \begin_layout Plain Layout
10028 1
10029 \end_layout
10030
10031 \end_inset
10032
10033 ] これが必須の引数なのか(1)非必須の引数なのか(0)を宣言します.必須引数は,与えられなければ空の出力を行いますが,非必須引数の場合はそもそも出力されません
10034 .既定では,必須引数は
10035 \begin_inset Flex Code
10036 status collapsed
10037
10038 \begin_layout Plain Layout
10039 {...}
10040 \end_layout
10041
10042 \end_inset
10043
10044 で区切られ,非必須引数は
10045 \begin_inset Flex Code
10046 status collapsed
10047
10048 \begin_layout Plain Layout
10049 [...]
10050 \end_layout
10051
10052 \end_inset
10053
10054 で区切られます.
10055 \end_layout
10056
10057 \begin_layout Itemize
10058 \begin_inset Flex Code
10059 status collapsed
10060
10061 \begin_layout Plain Layout
10062 Requires
10063 \end_layout
10064
10065 \end_inset
10066
10067  
10068 \begin_inset Flex Code
10069 status collapsed
10070
10071 \begin_layout Plain Layout
10072 [整数=0]
10073 \end_layout
10074
10075 \end_inset
10076
10077  この引数が出力されるとき,必要となる別の引数を(番号によって)指定します.例えば,\SpecialChar LaTeX
10078 コマンドでは,
10079 \begin_inset Flex Code
10080 status collapsed
10081
10082 \begin_layout Plain Layout
10083
10084 \backslash
10085 command[][引数]{文字列}
10086 \end_layout
10087
10088 \end_inset
10089
10090 のように,前に(少なくとも空の)別の非必須引数を要求する非必須引数があります.これは,
10091 \begin_inset Flex Code
10092 status collapsed
10093
10094 \begin_layout Plain Layout
10095 Argument 2
10096 \end_layout
10097
10098 \end_inset
10099
10100 中に
10101 \begin_inset Flex Code
10102 status collapsed
10103
10104 \begin_layout Plain Layout
10105 Requires 1
10106 \end_layout
10107
10108 \end_inset
10109
10110 ステートメントを置くことで実現できます.
10111 \end_layout
10112
10113 \begin_layout Itemize
10114 \begin_inset Flex Code
10115 status collapsed
10116
10117 \begin_layout Plain Layout
10118 LeftDelim
10119 \end_layout
10120
10121 \end_inset
10122
10123  
10124 \begin_inset Flex Code
10125 status collapsed
10126
10127 \begin_layout Plain Layout
10128 [文字列]
10129 \end_layout
10130
10131 \end_inset
10132
10133  (
10134 \begin_inset Flex Code
10135 status collapsed
10136
10137 \begin_layout Plain Layout
10138 {
10139 \end_layout
10140
10141 \end_inset
10142
10143
10144 \begin_inset Flex Code
10145 status collapsed
10146
10147 \begin_layout Plain Layout
10148 [
10149 \end_layout
10150
10151 \end_inset
10152
10153 ではない)ユーザー定義の左区切りを定義します.出力中の改行は
10154 \begin_inset Flex Code
10155 status collapsed
10156
10157 \begin_layout Plain Layout
10158 <br/>
10159 \end_layout
10160
10161 \end_inset
10162
10163 で指示できます.
10164 \end_layout
10165
10166 \begin_layout Itemize
10167 \begin_inset Flex Code
10168 status collapsed
10169
10170 \begin_layout Plain Layout
10171 RightDelim
10172 \end_layout
10173
10174 \end_inset
10175
10176  
10177 \begin_inset Flex Code
10178 status collapsed
10179
10180 \begin_layout Plain Layout
10181 [文字列]
10182 \end_layout
10183
10184 \end_inset
10185
10186  (
10187 \begin_inset Flex Code
10188 status collapsed
10189
10190 \begin_layout Plain Layout
10191 }
10192 \end_layout
10193
10194 \end_inset
10195
10196
10197 \begin_inset Flex Code
10198 status collapsed
10199
10200 \begin_layout Plain Layout
10201 ]
10202 \end_layout
10203
10204 \end_inset
10205
10206 ではない)ユーザー定義の右区切りを定義します.出力中の改行は
10207 \begin_inset Flex Code
10208 status collapsed
10209
10210 \begin_layout Plain Layout
10211 <br/>
10212 \end_layout
10213
10214 \end_inset
10215
10216 で指示できます.
10217 \end_layout
10218
10219 \begin_layout Itemize
10220 \begin_inset Flex Code
10221 status collapsed
10222
10223 \begin_layout Plain Layout
10224 DefaultArg
10225 \end_layout
10226
10227 \end_inset
10228
10229  
10230 \begin_inset Flex Code
10231 status collapsed
10232
10233 \begin_layout Plain Layout
10234 [文字列]
10235 \end_layout
10236
10237 \end_inset
10238
10239  ユーザー指定引数が与えられなかったとき,すなわち引数差込枠が挿入されなかったときに限り,挿入される引数を定義します(空の引数差込枠が挿入されてもDefault
10240 Argは無効になることに注意してください).引数が複数のときはコンマで区切る必要があります.
10241 \end_layout
10242
10243 \begin_layout Itemize
10244 \begin_inset Flex Code
10245 status collapsed
10246
10247 \begin_layout Plain Layout
10248 PresetArg
10249 \end_layout
10250
10251 \end_inset
10252
10253  
10254 \begin_inset Flex Code
10255 status collapsed
10256
10257 \begin_layout Plain Layout
10258 [文字列]
10259 \end_layout
10260
10261 \end_inset
10262
10263  どのような場合にも(単独もしくはユーザー定義引数とともに)挿入される引数を定義します.引数が複数のときはコンマで区切る必要があります.
10264 \end_layout
10265
10266 \begin_layout Itemize
10267 \begin_inset Flex Code
10268 status collapsed
10269
10270 \begin_layout Plain Layout
10271 Font
10272 \end_layout
10273
10274 \end_inset
10275
10276  引数の内容に用いられるフォント.
10277 \begin_inset CommandInset ref
10278 LatexCommand ref
10279 reference "subsec:フォント指定"
10280
10281 \end_inset
10282
10283 参照.
10284 \end_layout
10285
10286 \begin_layout Itemize
10287 \begin_inset Flex Code
10288 status collapsed
10289
10290 \begin_layout Plain Layout
10291 LabelFont
10292 \end_layout
10293
10294 \end_inset
10295
10296  ラベルに用いられるフォント.
10297 \begin_inset CommandInset ref
10298 LatexCommand ref
10299 reference "subsec:フォント指定"
10300
10301 \end_inset
10302
10303 参照.
10304 \end_layout
10305
10306 \begin_layout Itemize
10307 \begin_inset Flex Code
10308 status collapsed
10309
10310 \begin_layout Plain Layout
10311 Decoration
10312 \end_layout
10313
10314 \end_inset
10315
10316  [
10317 \begin_inset Flex Code
10318 status collapsed
10319
10320 \begin_layout Plain Layout
10321
10322 \emph on
10323 Classic
10324 \emph default
10325 , Minimalistic, Conglomerate
10326 \end_layout
10327
10328 \end_inset
10329
10330 ] 差込枠の枠とボタンに用いられる装飾様式.
10331 \end_layout
10332
10333 \begin_layout Itemize
10334 \begin_inset Flex Code
10335 status collapsed
10336
10337 \begin_layout Plain Layout
10338 AutoInsert
10339 \end_layout
10340
10341 \end_inset
10342
10343  
10344 \begin_inset Flex Code
10345 status collapsed
10346
10347 \begin_layout Plain Layout
10348 [整数=0]
10349 \end_layout
10350
10351 \end_inset
10352
10353  これが
10354 \begin_inset Flex Code
10355 status collapsed
10356
10357 \begin_layout Plain Layout
10358 1
10359 \end_layout
10360
10361 \end_inset
10362
10363 に設定されると,各様式が選択されたときに,この引数が自動的に挿入されます.現在のところ,様式・レイアウト毎に1変数のみ自動挿入することができます.
10364 \end_layout
10365
10366 \begin_layout Itemize
10367 \begin_inset Flex Code
10368 status collapsed
10369
10370 \begin_layout Plain Layout
10371 InsertCotext
10372 \end_layout
10373
10374 \end_inset
10375
10376  
10377 \begin_inset Flex Code
10378 status collapsed
10379
10380 \begin_layout Plain Layout
10381 [整数=0]
10382 \end_layout
10383
10384 \end_inset
10385
10386  これが
10387 \begin_inset Flex Code
10388 status collapsed
10389
10390 \begin_layout Plain Layout
10391 1
10392 \end_layout
10393
10394 \end_inset
10395
10396 に設定されると,この引数は,副文(選択した文ないしは段落全体)のコピーを内容にとって挿入されます.
10397 \end_layout
10398
10399 \begin_layout Itemize
10400 \begin_inset Flex Code
10401 status collapsed
10402
10403 \begin_layout Plain Layout
10404 PassThru
10405 \end_layout
10406
10407 \end_inset
10408
10409  [
10410 \begin_inset Flex Code
10411 status collapsed
10412
10413 \begin_layout Plain Layout
10414
10415 \emph on
10416 inherited
10417 \emph default
10418 , true, false
10419 \end_layout
10420
10421 \end_inset
10422
10423 ] この引数の内容が,\SpecialChar LaTeX
10424 が要求する特別な書き換えを行うことなく,原文のまま出力されるべきかどうかを指定します.既定値では,
10425 \begin_inset Flex Code
10426 status collapsed
10427
10428 \begin_layout Plain Layout
10429 PassThru
10430 \end_layout
10431
10432 \end_inset
10433
10434 の状態は,引数が属する差込枠または段落レイアウトに継承されます.trueまたはfalseは,この引数のみの状態を変更します.
10435 \end_layout
10436
10437 \begin_layout Itemize
10438 \begin_inset Flex Code
10439 status collapsed
10440
10441 \begin_layout Plain Layout
10442 PassThruChars
10443 \end_layout
10444
10445 \end_inset
10446
10447  [
10448 \begin_inset Flex Code
10449 status collapsed
10450
10451 \begin_layout Plain Layout
10452 文字列
10453 \end_layout
10454
10455 \end_inset
10456
10457 ]
10458 \family typewriter
10459  
10460 \family default
10461 \SpecialChar LaTeX
10462 が要求する特別な翻訳は抜きにして,生の形で出力されるべき各文字を定義します.PassThruとは違って,引数用に,これは明示的に定義されなくてはなりません.つま
10463 り,引数は,親差込枠や親レイアウトからPassThruCharsを継承しません.
10464 \end_layout
10465
10466 \begin_layout Itemize
10467 \begin_inset Flex Code
10468 status collapsed
10469
10470 \begin_layout Plain Layout
10471 IsTocCaption
10472 \end_layout
10473
10474 \end_inset
10475
10476  [
10477 \begin_inset Flex Code
10478 status collapsed
10479
10480 \begin_layout Plain Layout
10481
10482 \emph on
10483 0
10484 \end_layout
10485
10486 \end_inset
10487
10488 ,
10489 \begin_inset space \thinspace{}
10490 \end_inset
10491
10492
10493 \begin_inset Flex Code
10494 status collapsed
10495
10496 \begin_layout Plain Layout
10497 1
10498 \end_layout
10499
10500 \end_inset
10501
10502 ] これを1に設定すると,引数は,その内容を対応する一覧表の項目に出力します.AddToTocを参照.
10503 \end_layout
10504
10505 \begin_layout Standard
10506 既定では,
10507 \begin_inset Flex Code
10508 status collapsed
10509
10510 \begin_layout Plain Layout
10511 LatexType
10512 \end_layout
10513
10514 \end_inset
10515
10516
10517 \begin_inset Flex Code
10518 status collapsed
10519
10520 \begin_layout Plain Layout
10521 Command
10522 \end_layout
10523
10524 \end_inset
10525
10526 のとき,各レイアウトで\SpecialChar LyX
10527 作業領域に入力した文字列は,コマンドの最後の(必須)引数になります.しかしながら,前置句
10528 \begin_inset Flex Code
10529 status collapsed
10530
10531 \begin_layout Plain Layout
10532 post:
10533 \end_layout
10534
10535 \end_inset
10536
10537 を付けた文字列は,この作業領域引数の後に出力されます.後置引数の番号は1から振られ直されますので,作業領域引数の後の最初の引数は
10538 \begin_inset Flex Code
10539 status collapsed
10540
10541 \begin_layout Plain Layout
10542 post:1
10543 \end_layout
10544
10545 \end_inset
10546
10547 となります.後置引数は,
10548 \begin_inset Flex Code
10549 status collapsed
10550
10551 \begin_layout Plain Layout
10552 Command
10553 \end_layout
10554
10555 \end_inset
10556
10557 以外の
10558 \begin_inset Flex Code
10559 status collapsed
10560
10561 \begin_layout Plain Layout
10562 LatexType
10563 \end_layout
10564
10565 \end_inset
10566
10567 では無視されます.
10568 \end_layout
10569
10570 \begin_layout Standard
10571 (
10572 \begin_inset Flex Code
10573 status collapsed
10574
10575 \begin_layout Plain Layout
10576
10577 \backslash
10578 item[foo]
10579 \end_layout
10580
10581 \end_inset
10582
10583 のような)箇条書き
10584 \begin_inset Flex Code
10585 status collapsed
10586
10587 \begin_layout Plain Layout
10588
10589 \backslash
10590 item
10591 \end_layout
10592
10593 \end_inset
10594
10595 の引数は,前置句
10596 \begin_inset Flex Code
10597 status collapsed
10598
10599 \begin_layout Plain Layout
10600 item:
10601 \end_layout
10602
10603 \end_inset
10604
10605 の後に番号を付けます(例:
10606 \begin_inset Flex Code
10607 status collapsed
10608
10609 \begin_layout Plain Layout
10610 Argument item:1
10611 \end_layout
10612
10613 \end_inset
10614
10615 ).
10616 \end_layout
10617
10618 \end_deeper
10619 \begin_layout Description
10620
10621 \lang english
10622 \begin_inset Flex Code
10623 status collapsed
10624
10625 \begin_layout Plain Layout
10626
10627 \lang english
10628 AutoNests
10629 \end_layout
10630
10631 \end_inset
10632
10633  Includes a comma-separated list of layouts that should be nested in and
10634  after the current layout.
10635  Only makes sense for nestable layouts (such as environments).
10636  Must be ended by 
10637 \begin_inset Quotes eld
10638 \end_inset
10639
10640
10641 \begin_inset Flex Code
10642 status collapsed
10643
10644 \begin_layout Plain Layout
10645
10646 \lang english
10647 EndAutoNests
10648 \end_layout
10649
10650 \end_inset
10651
10652
10653 \begin_inset Quotes erd
10654 \end_inset
10655
10656 .
10657  See also 
10658 \begin_inset Flex Code
10659 status collapsed
10660
10661 \begin_layout Plain Layout
10662
10663 \lang english
10664 IsAutoNestedBy
10665 \end_layout
10666
10667 \end_inset
10668
10669 .
10670 \end_layout
10671
10672 \begin_layout Description
10673 \begin_inset Flex Code
10674 status collapsed
10675
10676 \begin_layout Plain Layout
10677 BabelPreamble
10678 \end_layout
10679
10680 \end_inset
10681
10682  これは,前に現れたこの様式の
10683 \begin_inset Flex Code
10684 status collapsed
10685
10686 \begin_layout Plain Layout
10687 BabelPreamble
10688 \end_layout
10689
10690 \end_inset
10691
10692 宣言をすべて,完全に上書きしますので注意してください.「
10693 \begin_inset Flex Code
10694 status collapsed
10695
10696 \begin_layout Plain Layout
10697 EndBabelPreamble
10698 \end_layout
10699
10700 \end_inset
10701
10702 」で閉じる必要があります.これの利用法についての詳細は,第
10703 \begin_inset CommandInset ref
10704 LatexCommand ref
10705 reference "subsec:段落様式の国際化"
10706
10707 \end_inset
10708
10709 節をご覧ください.
10710 \end_layout
10711
10712 \begin_layout Description
10713 \begin_inset Flex Code
10714 status collapsed
10715
10716 \begin_layout Plain Layout
10717 BottomSep
10718 \end_layout
10719
10720 \end_inset
10721
10722  [
10723 \begin_inset Flex Code
10724 status collapsed
10725
10726 \begin_layout Plain Layout
10727 浮動小数点型=0
10728 \end_layout
10729
10730 \end_inset
10731
10732 ]
10733 \begin_inset Foot
10734 status collapsed
10735
10736 \begin_layout Plain Layout
10737 ここで「浮動小数点型」とは1.5のような実数を指します.
10738 \end_layout
10739
10740 \end_inset
10741
10742  このレイアウト型の段落塊の最後の段落と,次の段落とを分離する垂直空白.次の段落が別のレイアウト型である場合,分離幅は足し上げられるのではなく,最大値がとられま
10743 す.
10744 \end_layout
10745
10746 \begin_layout Description
10747 \begin_inset Flex Code
10748 status collapsed
10749
10750 \begin_layout Plain Layout
10751 Category
10752 \end_layout
10753
10754 \end_inset
10755
10756  [
10757 \begin_inset Flex Code
10758 status collapsed
10759
10760 \begin_layout Plain Layout
10761 文字列
10762 \end_layout
10763
10764 \end_inset
10765
10766 ] この様式のカテゴリです.これは,ツールバーのレイアウト・コンボボックスで関連した様式をグループ化するのに用いられます.任意の文字列を使用することができますが
10767 ,作成した様式に既存のカテゴリを使用したいと思うことが多いでしょう.
10768 \end_layout
10769
10770 \begin_layout Description
10771 \begin_inset Flex Code
10772 status collapsed
10773
10774 \begin_layout Plain Layout
10775 CommandDepth
10776 \end_layout
10777
10778 \end_inset
10779
10780  XMLコマンドの深度.XML型の書式でのみ使用されます.
10781 \end_layout
10782
10783 \begin_layout Description
10784 \begin_inset Flex Code
10785 status collapsed
10786
10787 \begin_layout Plain Layout
10788 CopyStyle
10789 \end_layout
10790
10791 \end_inset
10792
10793  [
10794 \begin_inset Flex Code
10795 status collapsed
10796
10797 \begin_layout Plain Layout
10798 文字列
10799 \end_layout
10800
10801 \end_inset
10802
10803 ] 既存の様式から,すべての機能を現在の様式にコピーします.
10804 \end_layout
10805
10806 \begin_layout Description
10807 \begin_inset Flex Code
10808 status collapsed
10809
10810 \begin_layout Plain Layout
10811 DependsOn
10812 \end_layout
10813
10814 \end_inset
10815
10816  [
10817 \begin_inset Flex Code
10818 status collapsed
10819
10820 \begin_layout Plain Layout
10821 <名称>
10822 \end_layout
10823
10824 \end_inset
10825
10826 ]
10827 \lang english
10828  
10829 \lang japanese
10830 この
10831 \emph on
10832 前に
10833 \emph default
10834 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,プリアンブルの断片の順序を確実にするためのものです
10835 \begin_inset Foot
10836 status collapsed
10837
10838 \begin_layout Plain Layout
10839 この機能以外には,プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
10840 の特定のバージョンで観察された順序は,将来のバージョンで警告なしに変わる可能性が
10841 あります.
10842 \end_layout
10843
10844 \end_inset
10845
10846
10847 \end_layout
10848
10849 \begin_layout Description
10850 \begin_inset Flex Code
10851 status collapsed
10852
10853 \begin_layout Plain Layout
10854 EndLabeltype
10855 \end_layout
10856
10857 \end_inset
10858
10859  [
10860 \begin_inset Flex Code
10861 status collapsed
10862
10863 \begin_layout Plain Layout
10864
10865 \emph on
10866 No_Label
10867 \emph default
10868 , Box, Filled_Box, Static
10869 \end_layout
10870
10871 \end_inset
10872
10873 ] 段落の最後(あるいは
10874 \begin_inset Flex Code
10875 status collapsed
10876
10877 \begin_layout Plain Layout
10878 LatexType
10879 \end_layout
10880
10881 \end_inset
10882
10883 が,
10884 \begin_inset Flex Code
10885 status collapsed
10886
10887 \begin_layout Plain Layout
10888 Environment
10889 \end_layout
10890
10891 \end_inset
10892
10893
10894 \begin_inset Flex Code
10895 status collapsed
10896
10897 \begin_layout Plain Layout
10898 Item_Environment
10899 \end_layout
10900
10901 \end_inset
10902
10903
10904 \begin_inset Flex Code
10905 status collapsed
10906
10907 \begin_layout Plain Layout
10908 List_Environment
10909 \end_layout
10910
10911 \end_inset
10912
10913 のいずれかの場合は,段落群の最後)に置くラベル.
10914 \begin_inset Flex Code
10915 status collapsed
10916
10917 \begin_layout Plain Layout
10918 No_Label
10919 \end_layout
10920
10921 \end_inset
10922
10923 の場合は「何もない」ことを指し,
10924 \begin_inset Flex Code
10925 status collapsed
10926
10927 \begin_layout Plain Layout
10928 Box
10929 \end_layout
10930
10931 \end_inset
10932
10933 (あるいは
10934 \begin_inset Flex Code
10935 status collapsed
10936
10937 \begin_layout Plain Layout
10938 Filled_Box
10939 \end_layout
10940
10941 \end_inset
10942
10943 )の場合は,証明終了マーカ用の白い箱型(あるいは黒い箱型)を指し,
10944 \begin_inset Flex Code
10945 status collapsed
10946
10947 \begin_layout Plain Layout
10948 Static
10949 \end_layout
10950
10951 \end_inset
10952
10953 は明示したテキスト文字列を指します.
10954 \end_layout
10955
10956 \begin_layout Description
10957 \begin_inset Flex Code
10958 status collapsed
10959
10960 \begin_layout Plain Layout
10961 EndLabelString
10962 \end_layout
10963
10964 \end_inset
10965
10966  [
10967 \begin_inset Flex Code
10968 status collapsed
10969
10970 \begin_layout Plain Layout
10971 文字列=""
10972 \end_layout
10973
10974 \end_inset
10975
10976
10977 \begin_inset Flex Code
10978 status collapsed
10979
10980 \begin_layout Plain Layout
10981 Static
10982 \end_layout
10983
10984 \end_inset
10985
10986
10987 \begin_inset Flex Code
10988 status collapsed
10989
10990 \begin_layout Plain Layout
10991 EndLabelType
10992 \end_layout
10993
10994 \end_inset
10995
10996 のラベルで用いる文字列.
10997 \end_layout
10998
10999 \begin_layout Description
11000 \begin_inset Flex Code
11001 status collapsed
11002
11003 \begin_layout Plain Layout
11004 Font
11005 \end_layout
11006
11007 \end_inset
11008
11009  本文テキストとラベルの
11010 \emph on
11011 両方で
11012 \emph default
11013 用いられるフォント.第
11014 \begin_inset CommandInset ref
11015 LatexCommand ref
11016 reference "subsec:フォント指定"
11017
11018 \end_inset
11019
11020 節を参照.このフォントを定義すると,自動的に
11021 \begin_inset Flex Code
11022 status collapsed
11023
11024 \begin_layout Plain Layout
11025 LabelFont
11026 \end_layout
11027
11028 \end_inset
11029
11030 も同じ値で定義されることに注意してください.したがって,
11031 \begin_inset Flex Code
11032 status collapsed
11033
11034 \begin_layout Plain Layout
11035 LabelFont
11036 \end_layout
11037
11038 \end_inset
11039
11040 も同時に定義したい場合には,これを先に定義してください.
11041 \end_layout
11042
11043 \begin_layout Description
11044 \begin_inset Flex Code
11045 status collapsed
11046
11047 \begin_layout Plain Layout
11048 ForceLocal
11049 \end_layout
11050
11051 \end_inset
11052
11053  [
11054 \begin_inset Flex Code
11055 status collapsed
11056
11057 \begin_layout Plain Layout
11058 int=0
11059 \end_layout
11060
11061 \end_inset
11062
11063 ] 新しい様式を\SpecialChar LyX
11064 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
11065  2.1.0です.引数は数字で,0・-1・1以上の任意の数をとることが
11066 できます.様式の
11067 \begin_inset Flex Code
11068 status collapsed
11069
11070 \begin_layout Plain Layout
11071 ForceLocal
11072 \end_layout
11073
11074 \end_inset
11075
11076 フラグが1以上ならば,これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,文書ヘッダからの様式定義が文書クラスに追加されます.したがって,古い
11077 版の\SpecialChar LyX
11078 もこの様式を取り扱えるようになります.
11079 \begin_inset Flex Code
11080 status collapsed
11081
11082 \begin_layout Plain Layout
11083 ForceLocal
11084 \end_layout
11085
11086 \end_inset
11087
11088 の引数は版数です.様式が読み込まれたときに,文書クラス中の既存の様式の版数よりも小さいと,新しい様式は無視されます.版数が大きいと,既存の様式に代わって新しい様
11089 式が用いられます.値-1は無限大の版数を意味し,この様式が常に用いられることになります.
11090 \end_layout
11091
11092 \begin_layout Description
11093 \begin_inset Flex Code
11094 status collapsed
11095
11096 \begin_layout Plain Layout
11097 FreeSpacing
11098 \end_layout
11099
11100 \end_inset
11101
11102  [
11103 \emph on
11104
11105 \begin_inset Flex Code
11106 status collapsed
11107
11108 \begin_layout Plain Layout
11109 0
11110 \end_layout
11111
11112 \end_inset
11113
11114
11115 \emph default
11116 ,
11117 \begin_inset space \thinspace{}
11118 \end_inset
11119
11120
11121 \begin_inset Flex Code
11122 status collapsed
11123
11124 \begin_layout Plain Layout
11125 1
11126 \end_layout
11127
11128 \end_inset
11129
11130 ] \SpecialChar LyX
11131 は,空白をそれ自体文字や記号ではなく,2つの単語の間の分割子として捉えているため,単語間に2つ以上の空白を入れることは,通常許可していません.これ自体はとて
11132 も素晴らしいことですが,たとえばプログラムコードや生の\SpecialChar LaTeX
11133 コードを入力しようとするときなどに,煩わしくなることがあります.このことから,
11134 \begin_inset Flex Code
11135 status collapsed
11136
11137 \begin_layout Plain Layout
11138 FreeSpacing
11139 \end_layout
11140
11141 \end_inset
11142
11143 を有効にすることが認められています.\SpecialChar LyX
11144 は,\SpecialChar LaTeX
11145 モード以外では2つめ以降の空白には,保護された空白を使用することに注意してください.
11146 \end_layout
11147
11148 \begin_layout Description
11149 \begin_inset Flex Code
11150 status collapsed
11151
11152 \begin_layout Plain Layout
11153 HTML*
11154 \end_layout
11155
11156 \end_inset
11157
11158  これらのタグは,XHTML出力で使用されます.第
11159 \begin_inset CommandInset ref
11160 LatexCommand ref
11161 reference "subsec:段落様式-XHTML"
11162
11163 \end_inset
11164
11165 節をご覧ください.
11166 \end_layout
11167
11168 \begin_layout Description
11169 \begin_inset Flex Code
11170 status collapsed
11171
11172 \begin_layout Plain Layout
11173 InnerTag
11174 \end_layout
11175
11176 \end_inset
11177
11178  [[FIXME]] (XML型書式でのみ使用されます.)
11179 \end_layout
11180
11181 \begin_layout Description
11182 \begin_inset Flex Code
11183 status collapsed
11184
11185 \begin_layout Plain Layout
11186 InPreamble
11187 \end_layout
11188
11189 \end_inset
11190
11191  [
11192 \emph on
11193
11194 \begin_inset Flex Code
11195 status collapsed
11196
11197 \begin_layout Plain Layout
11198 0
11199 \end_layout
11200
11201 \end_inset
11202
11203
11204 \emph default
11205 ,
11206 \begin_inset space \thinspace{}
11207 \end_inset
11208
11209
11210 \begin_inset Flex Code
11211 status collapsed
11212
11213 \begin_layout Plain Layout
11214 1
11215 \end_layout
11216
11217 \end_inset
11218
11219
11220 \begin_inset Flex Code
11221 status collapsed
11222
11223 \begin_layout Plain Layout
11224 1
11225 \end_layout
11226
11227 \end_inset
11228
11229 の場合,様式が文書本体ではなく,文書プリアンブルにインクルードされるようにします.これは,タイトルや著者の情報をプリアンブルで設定する必要のある文書クラスに便利
11230 です.これは,
11231 \begin_inset Flex Code
11232 status collapsed
11233
11234 \begin_layout Plain Layout
11235 LatexType
11236 \end_layout
11237
11238 \end_inset
11239
11240
11241 \begin_inset Flex Code
11242 status collapsed
11243
11244 \begin_layout Plain Layout
11245 Command
11246 \end_layout
11247
11248 \end_inset
11249
11250 または
11251 \begin_inset Flex Code
11252 status collapsed
11253
11254 \begin_layout Plain Layout
11255 Paragraph
11256 \end_layout
11257
11258 \end_inset
11259
11260 の様式に対してのみ動作します.
11261 \end_layout
11262
11263 \begin_layout Description
11264 \begin_inset Flex Code
11265 status collapsed
11266
11267 \begin_layout Plain Layout
11268 InTitle
11269 \end_layout
11270
11271 \end_inset
11272
11273  [
11274 \emph on
11275
11276 \begin_inset Flex Code
11277 status collapsed
11278
11279 \begin_layout Plain Layout
11280 0
11281 \end_layout
11282
11283 \end_inset
11284
11285
11286 \emph default
11287 ,
11288 \begin_inset space \thinspace{}
11289 \end_inset
11290
11291
11292 \begin_inset Flex Code
11293 status collapsed
11294
11295 \begin_layout Plain Layout
11296 1
11297 \end_layout
11298
11299 \end_inset
11300
11301
11302 \begin_inset Flex Code
11303 status collapsed
11304
11305 \begin_layout Plain Layout
11306 1
11307 \end_layout
11308
11309 \end_inset
11310
11311 の場合,このレイアウトをタイトルブロックの一部としてマークします(大域項目の
11312 \begin_inset Flex Code
11313 status collapsed
11314
11315 \begin_layout Plain Layout
11316 TitleLatexType
11317 \end_layout
11318
11319 \end_inset
11320
11321
11322 \begin_inset Flex Code
11323 status collapsed
11324
11325 \begin_layout Plain Layout
11326 TitleLatexName
11327 \end_layout
11328
11329 \end_inset
11330
11331 も参照).
11332 \end_layout
11333
11334 \begin_layout Description
11335
11336 \lang english
11337 \begin_inset Flex Code
11338 status collapsed
11339
11340 \begin_layout Plain Layout
11341
11342 \lang english
11343 IsAutoNestedBy
11344 \end_layout
11345
11346 \end_inset
11347
11348  Includes a comma-separated list of layouts after which this one should
11349  be nested.
11350  Only makes sense with regard to nestable layouts (such as environments).
11351  Must be ended by 
11352 \begin_inset Quotes eld
11353 \end_inset
11354
11355
11356 \begin_inset Flex Code
11357 status collapsed
11358
11359 \begin_layout Plain Layout
11360
11361 \lang english
11362 EndIsAutoNestedBy
11363 \end_layout
11364
11365 \end_inset
11366
11367
11368 \begin_inset Quotes erd
11369 \end_inset
11370
11371 .
11372  See also 
11373 \begin_inset Flex Code
11374 status collapsed
11375
11376 \begin_layout Plain Layout
11377
11378 \lang english
11379 AutoNests
11380 \end_layout
11381
11382 \end_inset
11383
11384 .
11385 \end_layout
11386
11387 \begin_layout Description
11388 \begin_inset Flex Code
11389 status collapsed
11390
11391 \begin_layout Plain Layout
11392 IsTocCaption
11393 \end_layout
11394
11395 \end_inset
11396
11397  [
11398 \begin_inset Flex Code
11399 status collapsed
11400
11401 \begin_layout Plain Layout
11402
11403 \emph on
11404 0
11405 \end_layout
11406
11407 \end_inset
11408
11409 ,
11410 \begin_inset space \thinspace{}
11411 \end_inset
11412
11413
11414 \begin_inset Flex Code
11415 status collapsed
11416
11417 \begin_layout Plain Layout
11418 1
11419 \end_layout
11420
11421 \end_inset
11422
11423 ] これを1に設定すると,AddToTocが有効になり,段落は,その内容の要約を一覧表の項目に表示します.0に設定すると,ラベルが存在すれば,それのみが表示され
11424 ます.
11425 \end_layout
11426
11427 \begin_layout Description
11428 \begin_inset Flex Code
11429 status collapsed
11430
11431 \begin_layout Plain Layout
11432 ItemCommand
11433 \end_layout
11434
11435 \end_inset
11436
11437  [
11438 \begin_inset Flex Code
11439 status collapsed
11440
11441 \begin_layout Plain Layout
11442 文字列="item"
11443 \end_layout
11444
11445 \end_inset
11446
11447 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
11448 コマンド.コマンドは,前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,\SpecialChar LaTeX
11449 出力中では
11450 \begin_inset Flex Code
11451 status collapsed
11452
11453 \begin_layout Plain Layout
11454
11455 \backslash
11456 item
11457 \end_layout
11458
11459 \end_inset
11460
11461 となります).
11462 \end_layout
11463
11464 \begin_layout Description
11465 \begin_inset Flex Code
11466 status collapsed
11467
11468 \begin_layout Plain Layout
11469 ItemSep
11470 \end_layout
11471
11472 \end_inset
11473
11474  [
11475 \begin_inset Flex Code
11476 status collapsed
11477
11478 \begin_layout Plain Layout
11479 浮動小数点型=0
11480 \end_layout
11481
11482 \end_inset
11483
11484 ] これは,同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,それぞれのレイアウトは,その環境の
11485 \begin_inset Flex Code
11486 status collapsed
11487
11488 \begin_layout Plain Layout
11489 ParSep
11490 \end_layout
11491
11492 \end_inset
11493
11494 だけ分離されます.しかし,その環境の項目全体は,さらにこの
11495 \begin_inset Flex Code
11496 status collapsed
11497
11498 \begin_layout Plain Layout
11499 ItemSep
11500 \end_layout
11501
11502 \end_inset
11503
11504 分だけ離されます.これは
11505 \emph on
11506 乗数
11507 \emph default
11508 であることに注意してください.
11509 \end_layout
11510
11511 \begin_layout Description
11512 \begin_inset Flex Code
11513 status collapsed
11514
11515 \begin_layout Plain Layout
11516 ItemTag
11517 \end_layout
11518
11519 \end_inset
11520
11521  [[FIXME]] (XML型書式でのみ使用されます.)
11522 \end_layout
11523
11524 \begin_layout Description
11525 \begin_inset Flex Code
11526 status collapsed
11527
11528 \begin_layout Plain Layout
11529 KeepEmpty
11530 \end_layout
11531
11532 \end_inset
11533
11534  [
11535 \emph on
11536
11537 \begin_inset Flex Code
11538 status collapsed
11539
11540 \begin_layout Plain Layout
11541 0
11542 \end_layout
11543
11544 \end_inset
11545
11546
11547 \emph default
11548 ,
11549 \begin_inset space \thinspace{}
11550 \end_inset
11551
11552
11553 \begin_inset Flex Code
11554 status collapsed
11555
11556 \begin_layout Plain Layout
11557 1
11558 \end_layout
11559
11560 \end_inset
11561
11562 ] 段落を空のままにすると,\SpecialChar LaTeX
11563 出力が空になってしまうので,通常,\SpecialChar LyX
11564 は段落を空にすることを許可しません.しかしながら,これを無効にすることが望ましい場合が存在します.
11565 たとえば,書簡のひな型では,必須フィールドを人々が忘れないように,空のフィールドのまま提供する手もあります.特別なクラスにおいては,レイアウトを実際には文章を含
11566 まないある種の改行として使用することもあります.
11567 \end_layout
11568
11569 \begin_layout Description
11570 \begin_inset Flex Code
11571 status collapsed
11572
11573 \begin_layout Plain Layout
11574 LabelBottomsep
11575 \end_layout
11576
11577 \end_inset
11578
11579  [
11580 \begin_inset Flex Code
11581 status collapsed
11582
11583 \begin_layout Plain Layout
11584 浮動小数点型=0
11585 \end_layout
11586
11587 \end_inset
11588
11589 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
11590 \begin_inset Flex Code
11591 status collapsed
11592
11593 \begin_layout Plain Layout
11594 Top_Environment
11595 \end_layout
11596
11597 \end_inset
11598
11599 および
11600 \begin_inset Newline linebreak
11601 \end_inset
11602
11603
11604 \begin_inset Flex Code
11605 status collapsed
11606
11607 \begin_layout Plain Layout
11608 Centered_Top_Environment
11609 \end_layout
11610
11611 \end_inset
11612
11613 ).
11614 \end_layout
11615
11616 \begin_layout Description
11617 \begin_inset Flex Code
11618 status collapsed
11619
11620 \begin_layout Plain Layout
11621 LabelCounter
11622 \end_layout
11623
11624 \end_inset
11625
11626  [
11627 \begin_inset Flex Code
11628 status collapsed
11629
11630 \begin_layout Plain Layout
11631 文字列=""
11632 \end_layout
11633
11634 \end_inset
11635
11636 ] 自動連番に使われるカウンタ名(詳しくは第
11637 \begin_inset CommandInset ref
11638 LatexCommand ref
11639 reference "subsec:カウンタ"
11640 plural "false"
11641 caps "false"
11642 noprefix "false"
11643
11644 \end_inset
11645
11646 節参照).カウンタがラベル中に表示されるようにするためには,
11647 \begin_inset Flex Code
11648 status collapsed
11649
11650 \begin_layout Plain Layout
11651 LabelString
11652 \end_layout
11653
11654 \end_inset
11655
11656 中で参照する必要があります.これは,少なくとも
11657 \begin_inset Flex Code
11658 status collapsed
11659
11660 \begin_layout Plain Layout
11661 Static
11662 \end_layout
11663
11664 \end_inset
11665
11666
11667 \begin_inset Flex Code
11668 status collapsed
11669
11670 \begin_layout Plain Layout
11671 Above
11672 \end_layout
11673
11674 \end_inset
11675
11676
11677 \begin_inset Flex Code
11678 status collapsed
11679
11680 \begin_layout Plain Layout
11681 Centered
11682 \end_layout
11683
11684 \end_inset
11685
11686 の各
11687 \begin_inset Flex Code
11688 status collapsed
11689
11690 \begin_layout Plain Layout
11691 LabelType
11692 \end_layout
11693
11694 \end_inset
11695
11696 で動作します.
11697 \begin_inset Newline newline
11698 \end_inset
11699
11700 また,
11701 \begin_inset Flex Code
11702 status collapsed
11703
11704 \begin_layout Plain Layout
11705 LabelType
11706 \end_layout
11707
11708 \end_inset
11709
11710
11711 \begin_inset Flex Code
11712 status collapsed
11713
11714 \begin_layout Plain Layout
11715 Enumerate
11716 \end_layout
11717
11718 \end_inset
11719
11720 型のときにも,若干複雑にはなりますが,本項目を使うことができます.たとえば,「
11721 \begin_inset Flex Code
11722 status collapsed
11723
11724 \begin_layout Plain Layout
11725 LabelCounter myenum
11726 \end_layout
11727
11728 \end_inset
11729
11730 」と宣言したものとしましょう.すると,\SpecialChar LaTeX
11731 におけるのと同様,実際に使われるカウンタは,
11732 \begin_inset Flex Code
11733 status collapsed
11734
11735 \begin_layout Plain Layout
11736 myenumi
11737 \end_layout
11738
11739 \end_inset
11740
11741
11742 \begin_inset Flex Code
11743 status collapsed
11744
11745 \begin_layout Plain Layout
11746 myenumii
11747 \end_layout
11748
11749 \end_inset
11750
11751
11752 \begin_inset Flex Code
11753 status collapsed
11754
11755 \begin_layout Plain Layout
11756 myenumii
11757 \end_layout
11758
11759 \end_inset
11760
11761
11762 \begin_inset Flex Code
11763 status collapsed
11764
11765 \begin_layout Plain Layout
11766 myenumiv
11767 \end_layout
11768
11769 \end_inset
11770
11771 のようになります.これらのカウンタは,全て別々に宣言されなくてはなりません.
11772 \begin_inset Newline newline
11773 \end_inset
11774
11775 カウンタの詳細については,
11776 \begin_inset CommandInset ref
11777 LatexCommand ref
11778 reference "subsec:カウンタ"
11779
11780 \end_inset
11781
11782 をご覧ください.
11783 \end_layout
11784
11785 \begin_layout Description
11786 \begin_inset Flex Code
11787 status collapsed
11788
11789 \begin_layout Plain Layout
11790 LabelFont
11791 \end_layout
11792
11793 \end_inset
11794
11795  ラベルに使用されるフォント.
11796 \begin_inset CommandInset ref
11797 LatexCommand ref
11798 reference "subsec:フォント指定"
11799
11800 \end_inset
11801
11802 を参照.
11803 \end_layout
11804
11805 \begin_layout Description
11806 \begin_inset Flex Code
11807 status collapsed
11808
11809 \begin_layout Plain Layout
11810 LabelIndent
11811 \end_layout
11812
11813 \end_inset
11814
11815  [
11816 \begin_inset Flex Code
11817 status collapsed
11818
11819 \begin_layout Plain Layout
11820 文字列=""
11821 \end_layout
11822
11823 \end_inset
11824
11825 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
11826 \end_layout
11827
11828 \begin_layout Description
11829 \begin_inset Flex Code
11830 status collapsed
11831
11832 \begin_layout Plain Layout
11833 LabelSep
11834 \end_layout
11835
11836 \end_inset
11837
11838  [
11839 \begin_inset Flex Code
11840 status collapsed
11841
11842 \begin_layout Plain Layout
11843 文字列=""
11844 \end_layout
11845
11846 \end_inset
11847
11848 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
11849 \end_layout
11850
11851 \begin_layout Description
11852 \begin_inset Flex Code
11853 status collapsed
11854
11855 \begin_layout Plain Layout
11856 LabelString
11857 \end_layout
11858
11859 \end_inset
11860
11861  [
11862 \begin_inset Flex Code
11863 status collapsed
11864
11865 \begin_layout Plain Layout
11866 文字列=""
11867 \end_layout
11868
11869 \end_inset
11870
11871
11872 \begin_inset Flex Code
11873 status collapsed
11874
11875 \begin_layout Plain Layout
11876 Static
11877 \end_layout
11878
11879 \end_inset
11880
11881 ラベル型でラベルに使用する文字列.
11882 \begin_inset Flex Code
11883 status collapsed
11884
11885 \begin_layout Plain Layout
11886 LabelCounter
11887 \end_layout
11888
11889 \end_inset
11890
11891 を設定している場合,
11892 \begin_inset CommandInset ref
11893 LatexCommand ref
11894 reference "subsec:カウンタ"
11895
11896 \end_inset
11897
11898 に述べられている特別な整形コマンドを含めることができます.
11899 \end_layout
11900
11901 \begin_layout Description
11902 \begin_inset Flex Code
11903 status collapsed
11904
11905 \begin_layout Plain Layout
11906 LabelStringAppendix
11907 \end_layout
11908
11909 \end_inset
11910
11911  [
11912 \begin_inset Flex Code
11913 status collapsed
11914
11915 \begin_layout Plain Layout
11916 文字列=""
11917 \end_layout
11918
11919 \end_inset
11920
11921 ] これは付録の中で
11922 \begin_inset Flex Code
11923 status collapsed
11924
11925 \begin_layout Plain Layout
11926 LabelString
11927 \end_layout
11928
11929 \end_inset
11930
11931 の代わりに用いられます.各
11932 \begin_inset Flex Code
11933 status collapsed
11934
11935 \begin_layout Plain Layout
11936 LabelString
11937 \end_layout
11938
11939 \end_inset
11940
11941 ステートメントは,
11942 \begin_inset Flex Code
11943 status collapsed
11944
11945 \begin_layout Plain Layout
11946 LabelStringAppendix
11947 \end_layout
11948
11949 \end_inset
11950
11951 をもリセットすることに注意してください.
11952 \end_layout
11953
11954 \begin_layout Description
11955 \begin_inset Flex Code
11956 status collapsed
11957
11958 \begin_layout Plain Layout
11959 LabelTag
11960 \end_layout
11961
11962 \end_inset
11963
11964  [FIXME] (XML型書式でのみ使用されます.)
11965 \end_layout
11966
11967 \begin_layout Description
11968 \begin_inset Flex Code
11969 status collapsed
11970
11971 \begin_layout Plain Layout
11972 LabelType
11973 \end_layout
11974
11975 \end_inset
11976
11977  [
11978 \begin_inset Flex Code
11979 status collapsed
11980
11981 \begin_layout Plain Layout
11982
11983 \emph on
11984 No_Label
11985 \emph default
11986 , Manual, Static, Above,
11987 \begin_inset Newline newline
11988 \end_inset
11989
11990 Centered, Sensitive, Enumerate,
11991 \begin_inset Newline newline
11992 \end_inset
11993
11994 Itemize, Bibliography
11995 \end_layout
11996
11997 \end_inset
11998
11999 ]
12000 \end_layout
12001
12002 \begin_deeper
12003 \begin_layout Description
12004 \begin_inset Flex Code
12005 status collapsed
12006
12007 \begin_layout Plain Layout
12008 Manual
12009 \end_layout
12010
12011 \end_inset
12012
12013  は,ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,保護された空白を使用してください.
12014 \end_layout
12015
12016 \begin_layout Description
12017 \begin_inset Flex Code
12018 status collapsed
12019
12020 \begin_layout Plain Layout
12021 Static
12022 \end_layout
12023
12024 \end_inset
12025
12026  は,ラベルが
12027 \begin_inset Flex Code
12028 status collapsed
12029
12030 \begin_layout Plain Layout
12031 LabelString
12032 \end_layout
12033
12034 \end_inset
12035
12036 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
12037 \begin_inset Flex Code
12038 status collapsed
12039
12040 \begin_layout Plain Layout
12041 LatexType
12042 \end_layout
12043
12044 \end_inset
12045
12046
12047 \begin_inset Flex Code
12048 status collapsed
12049
12050 \begin_layout Plain Layout
12051 Environment
12052 \end_layout
12053
12054 \end_inset
12055
12056 のときは,連続する同じ
12057 \begin_inset Flex Code
12058 status collapsed
12059
12060 \begin_layout Plain Layout
12061 Style
12062 \end_layout
12063
12064 \end_inset
12065
12066 の段落中,最初の段落にのみ表示されます.
12067 \end_layout
12068
12069 \begin_layout Description
12070 \begin_inset Flex Code
12071 status collapsed
12072
12073 \begin_layout Plain Layout
12074 Above
12075 \end_layout
12076
12077 \end_inset
12078
12079 および
12080 \begin_inset Flex Code
12081 status collapsed
12082
12083 \begin_layout Plain Layout
12084 Centered
12085 \end_layout
12086
12087 \end_inset
12088
12089  は,
12090 \begin_inset Flex Code
12091 status collapsed
12092
12093 \begin_layout Plain Layout
12094 Static
12095 \end_layout
12096
12097 \end_inset
12098
12099 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
12100 \end_layout
12101
12102 \begin_layout Description
12103 \begin_inset Flex Code
12104 status collapsed
12105
12106 \begin_layout Plain Layout
12107 Sensitive
12108 \end_layout
12109
12110 \end_inset
12111
12112  はキャプションラベルの「図」や「表」の特別な場合です.
12113 \begin_inset Flex Code
12114 status collapsed
12115
12116 \begin_layout Plain Layout
12117 Sensitive
12118 \end_layout
12119
12120 \end_inset
12121
12122 は,(ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,フロートに関連付けられたカウンタの値がNであるものとすると,「Float
12123 Type N」にハードコードされています.キャプションがフロートの外に挿入されると,
12124 \begin_inset Flex Code
12125 status collapsed
12126
12127 \begin_layout Plain Layout
12128 LabelString
12129 \end_layout
12130
12131 \end_inset
12132
12133 は「意味を成しません!」と表示されます.
12134 \end_layout
12135
12136 \begin_layout Description
12137 \begin_inset Flex Code
12138 status collapsed
12139
12140 \begin_layout Plain Layout
12141 Enumerate
12142 \end_layout
12143
12144 \end_inset
12145
12146  は,通常の連番ラベルを生成します.
12147 \lang english
12148 The number type needs to be set in the 
12149 \family sans
12150 Counter
12151 \family default
12152 , see 
12153 \lang japanese
12154
12155 \begin_inset CommandInset ref
12156 LatexCommand ref
12157 reference "subsec:カウンタ"
12158
12159 \end_inset
12160
12161
12162 \end_layout
12163
12164 \begin_layout Description
12165 \begin_inset Flex Code
12166 status collapsed
12167
12168 \begin_layout Plain Layout
12169 Itemize
12170 \end_layout
12171
12172 \end_inset
12173
12174  は,各階層でさまざまなブリットを生成します.
12175 \lang english
12176 The bullet types displayed can be set via 
12177 \begin_inset Flex Noun
12178 status collapsed
12179
12180 \begin_layout Plain Layout
12181
12182 \lang english
12183 Document\SpecialChar menuseparator
12184 Settings\SpecialChar menuseparator
12185 Bullets
12186 \end_layout
12187
12188 \end_inset
12189
12190 .
12191 \end_layout
12192
12193 \begin_layout Description
12194 \begin_inset Flex Code
12195 status collapsed
12196
12197 \begin_layout Plain Layout
12198 Bibliography
12199 \end_layout
12200
12201 \end_inset
12202
12203  は,
12204 \begin_inset Flex Code
12205 status collapsed
12206
12207 \begin_layout Plain Layout
12208 LatexType BibEnvironment
12209 \end_layout
12210
12211 \end_inset
12212
12213 とともにのみ使用されます.
12214 \end_layout
12215
12216 \end_deeper
12217 \begin_layout Description
12218 \begin_inset Flex Code
12219 status collapsed
12220
12221 \begin_layout Plain Layout
12222 LangPreamble
12223 \end_layout
12224
12225 \end_inset
12226
12227  これは,この様式で既に出現した
12228 \begin_inset Flex Code
12229 status collapsed
12230
12231 \begin_layout Plain Layout
12232 LangPreamble
12233 \end_layout
12234
12235 \end_inset
12236
12237 宣言をすべて,完全に上書きしますので,注意してください.使用法についての詳細は,
12238 \begin_inset CommandInset ref
12239 LatexCommand ref
12240 reference "subsec:段落様式の国際化"
12241
12242 \end_inset
12243
12244 をご覧ください.
12245 \end_layout
12246
12247 \begin_layout Description
12248 \begin_inset Flex Code
12249 status collapsed
12250
12251 \begin_layout Plain Layout
12252 LatexName
12253 \end_layout
12254
12255 \end_inset
12256
12257  [
12258 \begin_inset Flex Code
12259 status collapsed
12260
12261 \begin_layout Plain Layout
12262 <名称>
12263 \end_layout
12264
12265 \end_inset
12266
12267 ] 対応する\SpecialChar LaTeX
12268 の名称です.環境名かコマンド名を指します.
12269 \end_layout
12270
12271 \begin_layout Description
12272 \begin_inset Flex Code
12273 status collapsed
12274
12275 \begin_layout Plain Layout
12276 LatexParam
12277 \end_layout
12278
12279 \end_inset
12280
12281  [
12282 \begin_inset Flex Code
12283 status collapsed
12284
12285 \begin_layout Plain Layout
12286 <パラメータ>
12287 \end_layout
12288
12289 \end_inset
12290
12291 ] 対応する
12292 \begin_inset Flex Code
12293 status collapsed
12294
12295 \begin_layout Plain Layout
12296 LatexName
12297 \end_layout
12298
12299 \end_inset
12300
12301 の非必須パラメータです.このパラメータは,\SpecialChar LyX
12302 内部から変更することはできません(変更可能なパラメータには
12303 \begin_inset Flex Code
12304 status collapsed
12305
12306 \begin_layout Plain Layout
12307 Argument
12308 \end_layout
12309
12310 \end_inset
12311
12312 を使用してください).これは,全ての\SpecialChar LaTeX
12313  
12314 \begin_inset Flex Code
12315 status collapsed
12316
12317 \begin_layout Plain Layout
12318 Argument
12319 \end_layout
12320
12321 \end_inset
12322
12323 の後にそのままの形で出力されます.
12324 \end_layout
12325
12326 \begin_layout Description
12327 \begin_inset Flex Code
12328 status collapsed
12329
12330 \begin_layout Plain Layout
12331 LatexType
12332 \end_layout
12333
12334 \end_inset
12335
12336  [
12337 \begin_inset Flex Code
12338 status collapsed
12339
12340 \begin_layout Plain Layout
12341
12342 \emph on
12343 Paragraph
12344 \emph default
12345 , Command, Environment, Item_Environment,
12346 \begin_inset Newline newline
12347 \end_inset
12348
12349 List_Environment, Bib_Environment
12350 \end_layout
12351
12352 \end_inset
12353
12354 ] レイアウトがどのように\SpecialChar LaTeX
12355 に変換されるべきかを示します
12356 \begin_inset Foot
12357 status collapsed
12358
12359 \begin_layout Plain Layout
12360 これらのルールはSGMLクラスにも適用されるので,
12361 \begin_inset Flex Code
12362 status collapsed
12363
12364 \begin_layout Plain Layout
12365 LatexType
12366 \end_layout
12367
12368 \end_inset
12369
12370 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイル(ファイル名
12371 \begin_inset Flex Code
12372 status collapsed
12373
12374 \begin_layout Plain Layout
12375 db_*.inc
12376 \end_layout
12377
12378 \end_inset
12379
12380 )を見てください.
12381 \end_layout
12382
12383 \end_inset
12384
12385
12386 \end_layout
12387
12388 \begin_deeper
12389 \begin_layout Description
12390 \begin_inset Flex Code
12391 status collapsed
12392
12393 \begin_layout Plain Layout
12394 Paragraph
12395 \end_layout
12396
12397 \end_inset
12398
12399  は,何も特別なことは意味しません.
12400 \end_layout
12401
12402 \begin_layout Description
12403 \begin_inset Flex Code
12404 status collapsed
12405
12406 \begin_layout Plain Layout
12407 Command
12408 \end_layout
12409
12410 \end_inset
12411
12412  は,
12413 \begin_inset Flex Code
12414 status collapsed
12415
12416 \begin_layout Plain Layout
12417
12418 \backslash
12419
12420 \emph on
12421 LatexName
12422 \emph default
12423 {\SpecialChar ldots
12424 }
12425 \end_layout
12426
12427 \end_inset
12428
12429 を意味します.
12430 \end_layout
12431
12432 \begin_layout Description
12433 \begin_inset Flex Code
12434 status collapsed
12435
12436 \begin_layout Plain Layout
12437 Environment
12438 \end_layout
12439
12440 \end_inset
12441
12442  は,
12443 \begin_inset Flex Code
12444 status collapsed
12445
12446 \begin_layout Plain Layout
12447
12448 \backslash
12449 begin{
12450 \emph on
12451 LatexName
12452 \emph default
12453 }\SpecialChar ldots
12454
12455 \backslash
12456 end{
12457 \emph on
12458 LatexName
12459 \emph default
12460 }
12461 \end_layout
12462
12463 \end_inset
12464
12465 を意味します.
12466 \end_layout
12467
12468 \begin_layout Description
12469 \begin_inset Flex Code
12470 status collapsed
12471
12472 \begin_layout Plain Layout
12473 Item_Environment
12474 \end_layout
12475
12476 \end_inset
12477
12478  は
12479 \begin_inset Flex Code
12480 status collapsed
12481
12482 \begin_layout Plain Layout
12483 Environment
12484 \end_layout
12485
12486 \end_inset
12487
12488 と同じですが,
12489 \begin_inset Flex Code
12490 status collapsed
12491
12492 \begin_layout Plain Layout
12493
12494 \backslash
12495 item
12496 \end_layout
12497
12498 \end_inset
12499
12500 がこの環境のすべての段落に付けられるところだけが異なっています.
12501 \end_layout
12502
12503 \begin_layout Description
12504 \begin_inset Flex Code
12505 status collapsed
12506
12507 \begin_layout Plain Layout
12508 List_Environment
12509 \end_layout
12510
12511 \end_inset
12512
12513  は
12514 \begin_inset Flex Code
12515 status collapsed
12516
12517 \begin_layout Plain Layout
12518 Item_Environment
12519 \end_layout
12520
12521 \end_inset
12522
12523 と同じですが,
12524 \begin_inset Flex Code
12525 status collapsed
12526
12527 \begin_layout Plain Layout
12528 LabelWidthString
12529 \end_layout
12530
12531 \end_inset
12532
12533 が環境の引数として渡されるところだけが異なっています.
12534 \begin_inset Flex Code
12535 status collapsed
12536
12537 \begin_layout Plain Layout
12538 LabelWidthString
12539 \end_layout
12540
12541 \end_inset
12542
12543 は,
12544 \begin_inset Flex MenuItem
12545 status collapsed
12546
12547 \begin_layout Plain Layout
12548 編集\SpecialChar menuseparator
12549 段落設定
12550 \end_layout
12551
12552 \end_inset
12553
12554 ダイアログで定義することができます.
12555 \end_layout
12556
12557 \begin_layout Description
12558 \begin_inset Flex Code
12559 status collapsed
12560
12561 \begin_layout Plain Layout
12562 Bib_Environment
12563 \end_layout
12564
12565 \end_inset
12566
12567  は
12568 \begin_inset Flex Code
12569 status collapsed
12570
12571 \begin_layout Plain Layout
12572 Environment
12573 \end_layout
12574
12575 \end_inset
12576
12577 に似ていますが,以下のように,書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
12578 \begin_inset Newline newline
12579 \end_inset
12580
12581
12582 \begin_inset Flex Code
12583 status collapsed
12584
12585 \begin_layout Plain Layout
12586
12587 \backslash
12588 begin{thebibliography}{99}
12589 \end_layout
12590
12591 \end_inset
12592
12593
12594 \begin_inset Newline newline
12595 \end_inset
12596
12597 したがって,これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,書誌情報項目の段落設定で,ユーザーが変更することができます.
12598 \end_layout
12599
12600 \begin_layout Standard
12601 上記最後のいくつかをまとめると,\SpecialChar LaTeX
12602 出力は,\SpecialChar LaTeX
12603 型に依存して
12604 \end_layout
12605
12606 \begin_layout LyX-Code
12607
12608 \backslash
12609 LatexName[LatexParam]{\SpecialChar ldots
12610 }
12611 \end_layout
12612
12613 \begin_layout Standard
12614 のようになるか,
12615 \end_layout
12616
12617 \begin_layout LyX-Code
12618
12619 \backslash
12620 begin{LatexName}[LatexParam] \SpecialChar ldots
12621  
12622 \backslash
12623 end{LatexName}.
12624 \end_layout
12625
12626 \begin_layout Standard
12627 となります.
12628 \end_layout
12629
12630 \end_deeper
12631 \begin_layout Description
12632 \begin_inset Flex Code
12633 status collapsed
12634
12635 \begin_layout Plain Layout
12636 LeftDelim
12637 \end_layout
12638
12639 \end_inset
12640
12641  [
12642 \begin_inset Flex Code
12643 status collapsed
12644
12645 \begin_layout Plain Layout
12646 文字列
12647 \end_layout
12648
12649 \end_inset
12650
12651 ] 様式の内容の最初に置かれる文字列.出力中の改行は
12652 \begin_inset Flex Code
12653 status collapsed
12654
12655 \begin_layout Plain Layout
12656 <br/>
12657 \end_layout
12658
12659 \end_inset
12660
12661 で指示できます.
12662 \end_layout
12663
12664 \begin_layout Description
12665 \begin_inset Flex Code
12666 status collapsed
12667
12668 \begin_layout Plain Layout
12669 LeftMargin
12670 \end_layout
12671
12672 \end_inset
12673
12674  [
12675 \begin_inset Flex Code
12676 status collapsed
12677
12678 \begin_layout Plain Layout
12679 文字列=""
12680 \end_layout
12681
12682 \end_inset
12683
12684 ] レイアウトを環境の中に入れた場合,左余白は単純に加えられるのではなく,因子
12685 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
12686 \end_inset
12687
12688 をかけて加えられます.このパラメータは,
12689 \begin_inset Flex Code
12690 status collapsed
12691
12692 \begin_layout Plain Layout
12693 Margin
12694 \end_layout
12695
12696 \end_inset
12697
12698
12699 \begin_inset Flex Code
12700 status collapsed
12701
12702 \begin_layout Plain Layout
12703 Manual
12704 \end_layout
12705
12706 \end_inset
12707
12708 あるいは
12709 \begin_inset Flex Code
12710 status collapsed
12711
12712 \begin_layout Plain Layout
12713 Dynamic
12714 \end_layout
12715
12716 \end_inset
12717
12718 に設定されているときにも用いられることに注意してください.その場合には,これは手動設定余白または動的設定余白に加えられることに注意してください.
12719 \begin_inset Newline newline
12720 \end_inset
12721
12722 たとえば「
12723 \begin_inset Flex Code
12724 status collapsed
12725
12726 \begin_layout Plain Layout
12727 MM
12728 \end_layout
12729
12730 \end_inset
12731
12732 」と指定すると,段落を通常フォントの「
12733 \begin_inset Flex Code
12734 status collapsed
12735
12736 \begin_layout Plain Layout
12737 MM
12738 \end_layout
12739
12740 \end_inset
12741
12742 」の幅だけ行頭下げを行います.文字列の前に「
12743 \begin_inset Flex Code
12744 status collapsed
12745
12746 \begin_layout Plain Layout
12747 -
12748 \end_layout
12749
12750 \end_inset
12751
12752 」を付けると,負の幅を与えることができます.この方法が採用されたのは,どの画面フォントでも見かけが同じになるようにするためです.
12753 \end_layout
12754
12755 \begin_layout Description
12756 \begin_inset Flex Code
12757 status collapsed
12758
12759 \begin_layout Plain Layout
12760 Margin
12761 \end_layout
12762
12763 \end_inset
12764
12765  [
12766 \begin_inset Flex Code
12767 status collapsed
12768
12769 \begin_layout Plain Layout
12770
12771 \emph on
12772 Static
12773 \emph default
12774 , Manual, Dynamic, First_Dynamic, Right_Address_Box
12775 \end_layout
12776
12777 \end_inset
12778
12779
12780 \begin_inset Newline newline
12781 \end_inset
12782
12783 このレイアウトの左余白の種類です.
12784 \end_layout
12785
12786 \begin_deeper
12787 \begin_layout Description
12788 \begin_inset Flex Code
12789 status collapsed
12790
12791 \begin_layout Plain Layout
12792 Static
12793 \end_layout
12794
12795 \end_inset
12796
12797  は固定余白を示します.
12798 \end_layout
12799
12800 \begin_layout Description
12801 \begin_inset Flex Code
12802 status collapsed
12803
12804 \begin_layout Plain Layout
12805 Manual
12806 \end_layout
12807
12808 \end_inset
12809
12810  は,左余白が
12811 \begin_inset Flex MenuItem
12812 status collapsed
12813
12814 \begin_layout Plain Layout
12815 編集\SpecialChar menuseparator
12816 段落設定
12817 \end_layout
12818
12819 \end_inset
12820
12821 ダイアログで入力した文字列によって決められることを示します.これは,タブを用いずに整った一覧表を組むのに使用されます.
12822 \end_layout
12823
12824 \begin_layout Description
12825 \begin_inset Flex Code
12826 status collapsed
12827
12828 \begin_layout Plain Layout
12829 Dynamic
12830 \end_layout
12831
12832 \end_inset
12833
12834  は,余白がラベルの大きさに依存することを示します.これは,自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,「3.2
12835  非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
12836 \end_layout
12837
12838 \begin_layout Description
12839 \begin_inset Flex Code
12840 status collapsed
12841
12842 \begin_layout Plain Layout
12843 First_Dynamic
12844 \end_layout
12845
12846 \end_inset
12847
12848  は似ていますが,段落の最初の行だけがDynamicでその他の行はStaticです.これは,たとえば,箇条書き(記述)に使用されます.
12849 \end_layout
12850
12851 \begin_layout Description
12852 \begin_inset Flex Code
12853 status collapsed
12854
12855 \begin_layout Plain Layout
12856 Right_Address_Box
12857 \end_layout
12858
12859 \end_inset
12860
12861  は,段落中,最も長い行が右余白に合うように余白を選択します.これは,ページの右端に住所を組版するのに用いられます.
12862 \end_layout
12863
12864 \end_deeper
12865 \begin_layout Description
12866 \begin_inset Flex Code
12867 status collapsed
12868
12869 \begin_layout Plain Layout
12870 NeedProtect
12871 \end_layout
12872
12873 \end_inset
12874
12875  [
12876 \begin_inset Flex Code
12877 status collapsed
12878
12879 \begin_layout Plain Layout
12880
12881 \emph on
12882 0
12883 \end_layout
12884
12885 \end_inset
12886
12887 ,
12888 \begin_inset space \thinspace{}
12889 \end_inset
12890
12891
12892 \begin_inset Flex Code
12893 status collapsed
12894
12895 \begin_layout Plain Layout
12896 1
12897 \end_layout
12898
12899 \end_inset
12900
12901 ] このレイアウト中の脆弱なコマンドが
12902 \begin_inset Flex Code
12903 status collapsed
12904
12905 \begin_layout Plain Layout
12906
12907 \backslash
12908 protect
12909 \end_layout
12910
12911 \end_inset
12912
12913 されるべきか否か(註:これはこのコマンド自体が
12914 \begin_inset Flex Code
12915 status collapsed
12916
12917 \begin_layout Plain Layout
12918
12919 \backslash
12920 protect
12921 \end_layout
12922
12923 \end_inset
12924
12925 されるべきかでは
12926 \emph on
12927 ありません
12928 \emph default
12929 ).
12930 \end_layout
12931
12932 \begin_layout Description
12933 \begin_inset Flex Code
12934 status collapsed
12935
12936 \begin_layout Plain Layout
12937 Newline
12938 \end_layout
12939
12940 \end_inset
12941
12942  [
12943 \begin_inset Flex Code
12944 status collapsed
12945
12946 \begin_layout Plain Layout
12947 0
12948 \end_layout
12949
12950 \end_inset
12951
12952 ,
12953 \begin_inset space \thinspace{}
12954 \end_inset
12955
12956
12957 \begin_inset Flex Code
12958 status collapsed
12959
12960 \begin_layout Plain Layout
12961
12962 \emph on
12963 1
12964 \end_layout
12965
12966 \end_inset
12967
12968 ] 新規行を\SpecialChar LaTeX
12969 の新規行(
12970 \begin_inset Flex Code
12971 status collapsed
12972
12973 \begin_layout Plain Layout
12974
12975 \backslash
12976
12977 \backslash
12978
12979 \end_layout
12980
12981 \end_inset
12982
12983 )に変換するか否か.\SpecialChar LyX
12984 中で\SpecialChar LaTeX
12985 編集をやりやすくするために,変換は無効にすることができます.
12986 \end_layout
12987
12988 \begin_layout Description
12989 \begin_inset Flex Code
12990 status collapsed
12991
12992 \begin_layout Plain Layout
12993 NextNoIndent
12994 \end_layout
12995
12996 \end_inset
12997
12998  [
12999 \begin_inset Flex Code
13000 status collapsed
13001
13002 \begin_layout Plain Layout
13003
13004 \emph on
13005 0
13006 \end_layout
13007
13008 \end_inset
13009
13010 ,
13011 \begin_inset space \thinspace{}
13012 \end_inset
13013
13014
13015 \begin_inset Flex Code
13016 status collapsed
13017
13018 \begin_layout Plain Layout
13019 1
13020 \end_layout
13021
13022 \end_inset
13023
13024 ] 真に設定すると,
13025 \begin_inset Flex Code
13026 status collapsed
13027
13028 \begin_layout Plain Layout
13029 DefaultStyle
13030 \end_layout
13031
13032 \end_inset
13033
13034  (通常
13035 \begin_inset Flex Code
13036 status collapsed
13037
13038 \begin_layout Plain Layout
13039 Standard
13040 \end_layout
13041
13042 \end_inset
13043
13044 )段落が行頭下げになっている場合でも,この型の段落に続くそれらの段落は,字下げされません(逆に言えば,既定でない段落には影響を与えません).
13045 \end_layout
13046
13047 \begin_layout Description
13048 \begin_inset Flex Code
13049 status collapsed
13050
13051 \begin_layout Plain Layout
13052 ObsoletedBy
13053 \end_layout
13054
13055 \end_inset
13056
13057  [
13058 \begin_inset Flex Code
13059 status collapsed
13060
13061 \begin_layout Plain Layout
13062 <名称>
13063 \end_layout
13064
13065 \end_inset
13066
13067 ] このレイアウトが置き換えられたレイアウト名.これは,後方互換性を維持しながら,レイアウトの名称を変更するのに使用されます.
13068 \end_layout
13069
13070 \begin_layout Description
13071 \begin_inset Flex Code
13072 status collapsed
13073
13074 \begin_layout Plain Layout
13075 ParagraphGroup
13076 \end_layout
13077
13078 \end_inset
13079
13080  [
13081 \begin_inset Flex Code
13082 status collapsed
13083
13084 \begin_layout Plain Layout
13085 0
13086 \end_layout
13087
13088 \end_inset
13089
13090 ,
13091 \begin_inset space \thinspace{}
13092 \end_inset
13093
13094
13095 \begin_inset Flex Code
13096 status collapsed
13097
13098 \begin_layout Plain Layout
13099 1
13100 \end_layout
13101
13102 \end_inset
13103
13104 ] 同じ型の段落が引き続く場合,同じ段落として取り扱うか否かを決定します.これは,そのような連続グループに対して,
13105 \begin_inset Flex Code
13106 status collapsed
13107
13108 \begin_layout Plain Layout
13109 GuiLabel
13110 \end_layout
13111
13112 \end_inset
13113
13114 が一度だけ出力される効果があります.既定では,
13115 \begin_inset Flex Code
13116 status collapsed
13117
13118 \begin_layout Plain Layout
13119 LaTeXType
13120 \end_layout
13121
13122 \end_inset
13123
13124
13125 \begin_inset Flex Code
13126 status collapsed
13127
13128 \begin_layout Plain Layout
13129 Environment
13130 \end_layout
13131
13132 \end_inset
13133
13134 および
13135 \begin_inset Flex Code
13136 status collapsed
13137
13138 \begin_layout Plain Layout
13139 Bib_Environment
13140 \end_layout
13141
13142 \end_inset
13143
13144  については有効であり,他の型すべてについて無効になっています.
13145 \end_layout
13146
13147 \begin_layout Description
13148 \begin_inset Flex Code
13149 status collapsed
13150
13151 \begin_layout Plain Layout
13152 ParbreakIsNewline
13153 \end_layout
13154
13155 \end_inset
13156
13157  [
13158 \begin_inset Flex Code
13159 status collapsed
13160
13161 \begin_layout Plain Layout
13162
13163 \emph on
13164 0
13165 \end_layout
13166
13167 \end_inset
13168
13169 ,
13170 \begin_inset space \thinspace{}
13171 \end_inset
13172
13173
13174 \begin_inset Flex Code
13175 status collapsed
13176
13177 \begin_layout Plain Layout
13178 1
13179 \end_layout
13180
13181 \end_inset
13182
13183 ] \SpecialChar LaTeX
13184 出力中で,段落を空行ではなく,改行で区切るよう指定します.
13185 \begin_inset Flex Code
13186 status collapsed
13187
13188 \begin_layout Plain Layout
13189 PassThru 1
13190 \end_layout
13191
13192 \end_inset
13193
13194 と併用すれば,(\SpecialChar TeX
13195 コードを使用したときのように)テキストエディタをエミュレートすることができます.
13196 \end_layout
13197
13198 \begin_layout Description
13199 \begin_inset Flex Code
13200 status collapsed
13201
13202 \begin_layout Plain Layout
13203 ParIndent
13204 \end_layout
13205
13206 \end_inset
13207
13208  [
13209 \begin_inset Flex Code
13210 status collapsed
13211
13212 \begin_layout Plain Layout
13213 文字列=""
13214 \end_layout
13215
13216 \end_inset
13217
13218 ] 段落の最初の行の行頭下げ.レイアウトによっては
13219 \begin_inset Flex Code
13220 status collapsed
13221
13222 \begin_layout Plain Layout
13223 Parindent
13224 \end_layout
13225
13226 \end_inset
13227
13228 は固定されています.例外には標準レイアウトがあり,標準レイアウトの段落の行頭下げは,
13229 \begin_inset Flex Code
13230 status collapsed
13231
13232 \begin_layout Plain Layout
13233 NextNoIndent
13234 \end_layout
13235
13236 \end_inset
13237
13238 で禁止することができるようになっています.また,環境中の標準レイアウト段落は,当該段落の
13239 \begin_inset Flex Code
13240 status collapsed
13241
13242 \begin_layout Plain Layout
13243 Parindent
13244 \end_layout
13245
13246 \end_inset
13247
13248 ではなく,この環境の
13249 \begin_inset Flex Code
13250 status collapsed
13251
13252 \begin_layout Plain Layout
13253 Parindent
13254 \end_layout
13255
13256 \end_inset
13257
13258 を使用します.たとえば,箇条書き(連番)内の標準段落は,行頭下げされません.
13259 \end_layout
13260
13261 \begin_layout Description
13262 \begin_inset Flex Code
13263 status collapsed
13264
13265 \begin_layout Plain Layout
13266 ParSep
13267 \end_layout
13268
13269 \end_inset
13270
13271  [
13272 \begin_inset Flex Code
13273 status collapsed
13274
13275 \begin_layout Plain Layout
13276 浮動小数点型=0
13277 \end_layout
13278
13279 \end_inset
13280
13281 ] このレイアウトの2段落間の垂直余白.
13282 \end_layout
13283
13284 \begin_layout Description
13285 \begin_inset Flex Code
13286 status collapsed
13287
13288 \begin_layout Plain Layout
13289 Parskip
13290 \end_layout
13291
13292 \end_inset
13293
13294  [
13295 \begin_inset Flex Code
13296 status collapsed
13297
13298 \begin_layout Plain Layout
13299 浮動小数点型=0
13300 \end_layout
13301
13302 \end_inset
13303
13304 ] \SpecialChar LyX
13305 では,文書を組版するのに,ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,この値は完全に無視されます.「スキップ」を選
13306 択した際には,\SpecialChar LaTeX
13307 型「段落」レイアウトの
13308 \begin_inset Flex Code
13309 status collapsed
13310
13311 \begin_layout Plain Layout
13312 ParIndent
13313 \end_layout
13314
13315 \end_inset
13316
13317 は無視され,すべての段落はこの
13318 \begin_inset Flex Code
13319 status collapsed
13320
13321 \begin_layout Plain Layout
13322 Parskip
13323 \end_layout
13324
13325 \end_inset
13326
13327 引数分だけ引き離されます.垂直余白は,
13328 \begin_inset Flex Code
13329 status collapsed
13330
13331 \begin_layout Plain Layout
13332 DefaultHeight
13333 \end_layout
13334
13335 \end_inset
13336
13337 を標準フォントでの1行の高さとすると,
13338 \begin_inset Flex Code
13339 status collapsed
13340
13341 \begin_layout Plain Layout
13342 Parskipの値
13343 \end_layout
13344
13345 \end_inset
13346
13347
13348 \begin_inset Formula $\times$
13349 \end_inset
13350
13351
13352 \begin_inset Flex Code
13353 status collapsed
13354
13355 \begin_layout Plain Layout
13356 DefaultHeight
13357 \end_layout
13358
13359 \end_inset
13360
13361 によって計算されます.このようにして,画面フォントを変更しても同じように表示されるのです.
13362 \end_layout
13363
13364 \begin_layout Description
13365 \begin_inset Flex Code
13366 status collapsed
13367
13368 \begin_layout Plain Layout
13369 PassThru
13370 \end_layout
13371
13372 \end_inset
13373
13374  [
13375 \emph on
13376
13377 \begin_inset Flex Code
13378 status collapsed
13379
13380 \begin_layout Plain Layout
13381 0
13382 \end_layout
13383
13384 \end_inset
13385
13386
13387 \emph default
13388 ,
13389 \begin_inset space \thinspace{}
13390 \end_inset
13391
13392
13393 \begin_inset Flex Code
13394 status collapsed
13395
13396 \begin_layout Plain Layout
13397 1
13398 \end_layout
13399
13400 \end_inset
13401
13402 ] この段落の内容が,\SpecialChar LaTeX
13403 が必要とするような特別な変換を行わずに,生の形で出力されるべきかどうか.
13404 \end_layout
13405
13406 \begin_layout Description
13407 \begin_inset Flex Code
13408 status collapsed
13409
13410 \begin_layout Plain Layout
13411 PassThruChars
13412 \end_layout
13413
13414 \end_inset
13415
13416  [
13417 \begin_inset Flex Code
13418 status collapsed
13419
13420 \begin_layout Plain Layout
13421 文字列
13422 \end_layout
13423
13424 \end_inset
13425
13426 ]
13427 \family typewriter
13428  
13429 \family default
13430 \SpecialChar LaTeX
13431 が要請する特別な翻訳なしで.生の形で出力されるべき,それぞれの文字を定義します.
13432 \end_layout
13433
13434 \begin_layout Description
13435 \begin_inset Flex Code
13436 status collapsed
13437
13438 \begin_layout Plain Layout
13439 Preamble
13440 \end_layout
13441
13442 \end_inset
13443
13444  この様式が使用されたときに,\SpecialChar LaTeX
13445 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,パッケージを読み込んだりと言ったことに使用します.「
13446 \begin_inset Flex Code
13447 status collapsed
13448
13449 \begin_layout Plain Layout
13450 EndPreamble
13451 \end_layout
13452
13453 \end_inset
13454
13455 」で閉じる必要があります.
13456 \end_layout
13457
13458 \begin_layout Description
13459 \begin_inset Flex Code
13460 status collapsed
13461
13462 \begin_layout Plain Layout
13463 RefPrefix
13464 \end_layout
13465
13466 \end_inset
13467
13468  [
13469 \begin_inset Flex Code
13470 status collapsed
13471
13472 \begin_layout Plain Layout
13473 文字列
13474 \end_layout
13475
13476 \end_inset
13477
13478 ] この型の段落を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
13479 \end_layout
13480
13481 \begin_layout Description
13482 \begin_inset Flex Code
13483 status collapsed
13484
13485 \begin_layout Plain Layout
13486 Requires
13487 \end_layout
13488
13489 \end_inset
13490
13491  [
13492 \begin_inset Flex Code
13493 status collapsed
13494
13495 \begin_layout Plain Layout
13496 文字列
13497 \end_layout
13498
13499 \end_inset
13500
13501 ] この様式が機能
13502 \begin_inset Flex Code
13503 status collapsed
13504
13505 \begin_layout Plain Layout
13506 文字列
13507 \end_layout
13508
13509 \end_inset
13510
13511 を必要とするかどうか(機能詳細については,第
13512 \begin_inset CommandInset ref
13513 LatexCommand ref
13514 reference "chap:関数一覧"
13515
13516 \end_inset
13517
13518 節参照).特定のオプションをとるパッケージを要求する場合,
13519 \begin_inset Flex Code
13520 status collapsed
13521
13522 \begin_layout Plain Layout
13523 PackageOptions
13524 \end_layout
13525
13526 \end_inset
13527
13528 を汎用テキストクラスパラメータとして追加して使うことができます(
13529 \begin_inset CommandInset ref
13530 LatexCommand ref
13531 reference "subsec:汎用テキストクラスパラメータ"
13532
13533 \end_inset
13534
13535 を参照).
13536 \end_layout
13537
13538 \begin_layout Description
13539 \begin_inset Flex Code
13540 status collapsed
13541
13542 \begin_layout Plain Layout
13543 ResetArgs
13544 \end_layout
13545
13546 \end_inset
13547
13548  [
13549 \begin_inset Flex Code
13550 status collapsed
13551
13552 \begin_layout Plain Layout
13553
13554 \emph on
13555 0
13556 \end_layout
13557
13558 \end_inset
13559
13560 ,
13561 \begin_inset Flex Code
13562 status collapsed
13563
13564 \begin_layout Plain Layout
13565 1
13566 \end_layout
13567
13568 \end_inset
13569
13570 ] (
13571 \begin_inset Flex Code
13572 status collapsed
13573
13574 \begin_layout Plain Layout
13575 Argument
13576 \end_layout
13577
13578 \end_inset
13579
13580 タグで定義された)この様式の\SpecialChar LaTeX
13581 引数をリセットします.これは,様式を
13582 \begin_inset Flex Code
13583 status collapsed
13584
13585 \begin_layout Plain Layout
13586 CopyStyle
13587 \end_layout
13588
13589 \end_inset
13590
13591 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
13592 \end_layout
13593
13594 \begin_layout Description
13595 \begin_inset Flex Code
13596 status collapsed
13597
13598 \begin_layout Plain Layout
13599 ResumeCounter
13600 \end_layout
13601
13602 \end_inset
13603
13604  [
13605 \begin_inset Flex Code
13606 status collapsed
13607
13608 \begin_layout Plain Layout
13609
13610 \emph on
13611 0
13612 \end_layout
13613
13614 \end_inset
13615
13616 ,
13617 \begin_inset Flex Code
13618 status collapsed
13619
13620 \begin_layout Plain Layout
13621 1
13622 \end_layout
13623
13624 \end_inset
13625
13626 ] レイアウトの新しい一群で通常リセットされるカウンタを元に戻します.これは,
13627 \begin_inset Flex Code
13628 status collapsed
13629
13630 \begin_layout Plain Layout
13631 LabelType
13632 \end_layout
13633
13634 \end_inset
13635
13636
13637 \begin_inset Flex Code
13638 status collapsed
13639
13640 \begin_layout Plain Layout
13641 Enumerate
13642 \end_layout
13643
13644 \end_inset
13645
13646 の時のみ有効です.
13647 \end_layout
13648
13649 \begin_layout Description
13650 \begin_inset Flex Code
13651 status collapsed
13652
13653 \begin_layout Plain Layout
13654 RightDelim
13655 \end_layout
13656
13657 \end_inset
13658
13659  [
13660 \begin_inset Flex Code
13661 status collapsed
13662
13663 \begin_layout Plain Layout
13664 文字列
13665 \end_layout
13666
13667 \end_inset
13668
13669 ] 様式の内容の最後に置かれる文字列.出力中の改行は
13670 \begin_inset Flex Code
13671 status collapsed
13672
13673 \begin_layout Plain Layout
13674 <br/>
13675 \end_layout
13676
13677 \end_inset
13678
13679 で指示できます.
13680 \end_layout
13681
13682 \begin_layout Description
13683 \begin_inset Flex Code
13684 status collapsed
13685
13686 \begin_layout Plain Layout
13687 RightMargin
13688 \end_layout
13689
13690 \end_inset
13691
13692  [
13693 \begin_inset Flex Code
13694 status collapsed
13695
13696 \begin_layout Plain Layout
13697 文字列=""
13698 \end_layout
13699
13700 \end_inset
13701
13702
13703 \begin_inset Flex Code
13704 status collapsed
13705
13706 \begin_layout Plain Layout
13707 LeftMargin
13708 \end_layout
13709
13710 \end_inset
13711
13712 に同様.
13713 \end_layout
13714
13715 \begin_layout Description
13716 \begin_inset Flex Code
13717 status collapsed
13718
13719 \begin_layout Plain Layout
13720 Spacing
13721 \end_layout
13722
13723 \end_inset
13724
13725  [
13726 \begin_inset Flex Code
13727 status collapsed
13728
13729 \begin_layout Plain Layout
13730
13731 \emph on
13732 single
13733 \end_layout
13734
13735 \end_inset
13736
13737
13738 \begin_inset Flex Code
13739 status collapsed
13740
13741 \begin_layout Plain Layout
13742 onehalf
13743 \end_layout
13744
13745 \end_inset
13746
13747
13748 \begin_inset Flex Code
13749 status collapsed
13750
13751 \begin_layout Plain Layout
13752 double
13753 \end_layout
13754
13755 \end_inset
13756
13757
13758 \begin_inset Flex Code
13759 status collapsed
13760
13761 \begin_layout Plain Layout
13762 other
13763 \begin_inset space ~
13764 \end_inset
13765
13766 <
13767 \emph on
13768
13769 \emph default
13770 >
13771 \end_layout
13772
13773 \end_inset
13774
13775 ]
13776 \lang english
13777  
13778 \lang japanese
13779 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
13780 \begin_inset Flex Code
13781 status collapsed
13782
13783 \begin_layout Plain Layout
13784 single
13785 \end_layout
13786
13787 \end_inset
13788
13789
13790 \begin_inset Flex Code
13791 status collapsed
13792
13793 \begin_layout Plain Layout
13794 onehalf
13795 \end_layout
13796
13797 \end_inset
13798
13799
13800 \begin_inset Flex Code
13801 status collapsed
13802
13803 \begin_layout Plain Layout
13804 double
13805 \end_layout
13806
13807 \end_inset
13808
13809 は,それぞれ乗数1・1.25・1.667に対応します.引数
13810 \begin_inset Flex Code
13811 status collapsed
13812
13813 \begin_layout Plain Layout
13814 other
13815 \end_layout
13816
13817 \end_inset
13818
13819 を指定した場合には,実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
13820 \begin_inset Flex Code
13821 status collapsed
13822
13823 \begin_layout Plain Layout
13824 Spacing
13825 \end_layout
13826
13827 \end_inset
13828
13829 は,\SpecialChar LaTeX
13830 パッケージ
13831 \begin_inset Flex Code
13832 status collapsed
13833
13834 \begin_layout Plain Layout
13835 setspace
13836 \end_layout
13837
13838 \end_inset
13839
13840 パッケージを使用した,限定的な\SpecialChar LaTeX
13841 コードを生成することを意味することにご注意ください.
13842 \end_layout
13843
13844 \begin_layout Description
13845 \begin_inset Flex Code
13846 status collapsed
13847
13848 \begin_layout Plain Layout
13849 Spellcheck
13850 \end_layout
13851
13852 \end_inset
13853
13854  [
13855 \begin_inset Flex Code
13856 status collapsed
13857
13858 \begin_layout Plain Layout
13859 0
13860 \end_layout
13861
13862 \end_inset
13863
13864 ,
13865 \begin_inset space \thinspace{}
13866 \end_inset
13867
13868
13869 \begin_inset Flex Code
13870 status collapsed
13871
13872 \begin_layout Plain Layout
13873 1
13874 \end_layout
13875
13876 \end_inset
13877
13878 ] この様式の段落をスペルチェックするか否か.既定値は真です.
13879 \end_layout
13880
13881 \begin_layout Description
13882 \begin_inset Flex Code
13883 status collapsed
13884
13885 \begin_layout Plain Layout
13886 StepMasterCounter
13887 \end_layout
13888
13889 \end_inset
13890
13891  [
13892 \begin_inset Flex Code
13893 status collapsed
13894
13895 \begin_layout Plain Layout
13896
13897 \emph on
13898 0
13899 \end_layout
13900
13901 \end_inset
13902
13903 ,
13904 \begin_inset Flex Code
13905 status collapsed
13906
13907 \begin_layout Plain Layout
13908 1
13909 \end_layout
13910
13911 \end_inset
13912
13913 ] 新しいレイアウト群を開始する際に,このカウンタの親カウンタを進めるか否か.これは,現在のところ,
13914 \begin_inset Flex Code
13915 status collapsed
13916
13917 \begin_layout Plain Layout
13918 LabelType
13919 \end_layout
13920
13921 \end_inset
13922
13923
13924 \begin_inset Flex Code
13925 status collapsed
13926
13927 \begin_layout Plain Layout
13928 Enumerate
13929 \end_layout
13930
13931 \end_inset
13932
13933 の時のみ有効です.
13934 \end_layout
13935
13936 \begin_layout Description
13937 \begin_inset Flex Code
13938 status collapsed
13939
13940 \begin_layout Plain Layout
13941 TextFont
13942 \end_layout
13943
13944 \end_inset
13945
13946  本文に使うフォント.第
13947 \begin_inset CommandInset ref
13948 LatexCommand ref
13949 reference "subsec:フォント指定"
13950
13951 \end_inset
13952
13953 節参照.
13954 \end_layout
13955
13956 \begin_layout Description
13957 \begin_inset Flex Code
13958 status collapsed
13959
13960 \begin_layout Plain Layout
13961 TocLevel
13962 \end_layout
13963
13964 \end_inset
13965
13966  [
13967 \begin_inset Flex Code
13968 status collapsed
13969
13970 \begin_layout Plain Layout
13971 整数型=3
13972 \end_layout
13973
13974 \end_inset
13975
13976 ] 目次中でのこの様式の階層.これは,節見出しの自動連番に使用されます.
13977 \end_layout
13978
13979 \begin_layout Description
13980 \begin_inset Flex Code
13981 status collapsed
13982
13983 \begin_layout Plain Layout
13984 ToggleIndent
13985 \end_layout
13986
13987 \end_inset
13988
13989  [
13990 \emph on
13991
13992 \begin_inset Flex Code
13993 status collapsed
13994
13995 \begin_layout Plain Layout
13996 default
13997 \end_layout
13998
13999 \end_inset
14000
14001
14002 \emph default
14003
14004 \begin_inset Flex Code
14005 status collapsed
14006
14007 \begin_layout Plain Layout
14008 always
14009 \end_layout
14010
14011 \end_inset
14012
14013
14014 \begin_inset Flex Code
14015 status collapsed
14016
14017 \begin_layout Plain Layout
14018 never
14019 \end_layout
14020
14021 \end_inset
14022
14023 ] このタグは,この段落の1行目の行頭下げが,段落設定ダイアログで切り替えられるかどうかを決めます.
14024 \begin_inset Flex Code
14025 status collapsed
14026
14027 \begin_layout Plain Layout
14028 default
14029 \end_layout
14030
14031 \end_inset
14032
14033 が指定されると,文書設定が「行頭下げ」段落様式を使用しているときに,行頭下げを変更することができます.
14034 \begin_inset Flex Code
14035 status collapsed
14036
14037 \begin_layout Plain Layout
14038 always
14039 \end_layout
14040
14041 \end_inset
14042
14043 は,文書設定にかかわらず変更することができ,
14044 \begin_inset Flex Code
14045 status collapsed
14046
14047 \begin_layout Plain Layout
14048 never
14049 \end_layout
14050
14051 \end_inset
14052
14053 は,どのような場合でも変更することができません.
14054 \end_layout
14055
14056 \begin_layout Description
14057 \begin_inset Flex Code
14058 status collapsed
14059
14060 \begin_layout Plain Layout
14061 TopSep
14062 \end_layout
14063
14064 \end_inset
14065
14066  [
14067 \begin_inset Flex Code
14068 status collapsed
14069
14070 \begin_layout Plain Layout
14071 浮動小数点型=0
14072 \end_layout
14073
14074 \end_inset
14075
14076 ] このレイアウトを持つ一連の段落群の最初の段落と,その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,余白は単純に追加されるのではなく,それら
14077 の最大値がとられます.
14078 \end_layout
14079
14080 \begin_layout Subsection
14081 段落様式の国際化
14082 \begin_inset CommandInset label
14083 LatexCommand label
14084 name "subsec:段落様式の国際化"
14085
14086 \end_inset
14087
14088
14089 \end_layout
14090
14091 \begin_layout Standard
14092 \SpecialChar LyX
14093 は,長きにわたってレイアウト情報の国際化をサポートしてきましたが,第2.0版までは,これは操作画面にのみ適用されるものであって,たとえばPDF出力には適用されませ
14094 んでした.たとえば,フランスの著者が,「Theorem 1」の代わりに「
14095 \lang french
14096 Théorème
14097 \lang japanese
14098  1」としたければ,醜いハックに頼るしかありませんでした.Georg Baumのおかげで,これは解消されました.
14099 \end_layout
14100
14101 \begin_layout Standard
14102 もし
14103 \begin_inset Flex MenuItem
14104 status collapsed
14105
14106 \begin_layout Plain Layout
14107 Style
14108 \end_layout
14109
14110 \end_inset
14111
14112 が,組版文書に出力される文字列を定義するのであれば,非英語文書や複数言語文書をサポートするために,
14113 \begin_inset Flex MenuItem
14114 status collapsed
14115
14116 \begin_layout Plain Layout
14117 LangPreamble
14118 \end_layout
14119
14120 \end_inset
14121
14122
14123 \begin_inset Flex MenuItem
14124 status collapsed
14125
14126 \begin_layout Plain Layout
14127 BabelPreamble
14128 \end_layout
14129
14130 \end_inset
14131
14132 を使用することができます.以下の抜粋(
14133 \begin_inset Flex MenuItem
14134 status collapsed
14135
14136 \begin_layout Plain Layout
14137 theorems-ams.inc
14138 \end_layout
14139
14140 \end_inset
14141
14142 より)は,これがどう動作するかを示すものです.
14143 \end_layout
14144
14145 \begin_layout LyX-Code
14146 Preamble
14147 \end_layout
14148
14149 \begin_deeper
14150 \begin_layout LyX-Code
14151   
14152 \backslash
14153 theoremstyle{remark}
14154 \end_layout
14155
14156 \begin_layout LyX-Code
14157   
14158 \backslash
14159 newtheorem{claim}[thm]{
14160 \backslash
14161 protect
14162 \backslash
14163 claimname}
14164 \end_layout
14165
14166 \begin_layout LyX-Code
14167 EndPreamble
14168 \end_layout
14169
14170 \begin_layout LyX-Code
14171 LangPreamble
14172 \end_layout
14173
14174 \begin_layout LyX-Code
14175   
14176 \backslash
14177 providecommand{
14178 \backslash
14179 claimname}{_(Claim)}
14180 \end_layout
14181
14182 \begin_layout LyX-Code
14183 EndLangPreamble
14184 \end_layout
14185
14186 \begin_layout LyX-Code
14187 BabelPreamble
14188 \end_layout
14189
14190 \begin_layout LyX-Code
14191     
14192 \backslash
14193 addto
14194 \backslash
14195 captions$$lang{
14196 \backslash
14197 renewcommand{
14198 \backslash
14199 claimname}{_(Claim)}}
14200 \end_layout
14201
14202 \begin_layout LyX-Code
14203 EndBabelPreamble
14204 \end_layout
14205
14206 \end_deeper
14207 \begin_layout Standard
14208 原則として,
14209 \begin_inset Flex MenuItem
14210 status collapsed
14211
14212 \begin_layout Plain Layout
14213 LangPreamble
14214 \end_layout
14215
14216 \end_inset
14217
14218
14219 \begin_inset Flex MenuItem
14220 status collapsed
14221
14222 \begin_layout Plain Layout
14223 BabelPreamble
14224 \end_layout
14225
14226 \end_inset
14227
14228 タグ内には,有効な\SpecialChar LaTeX
14229 コードはすべて用いることができますが,実際においては,ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるの
14230 は,\SpecialChar LaTeX
14231 コマンド
14232 \begin_inset Flex Code
14233 status collapsed
14234
14235 \begin_layout Plain Layout
14236
14237 \backslash
14238 claimname
14239 \end_layout
14240
14241 \end_inset
14242
14243 とその
14244 \begin_inset Flex Code
14245 status collapsed
14246
14247 \begin_layout Plain Layout
14248
14249 \backslash
14250 newtheorem
14251 \end_layout
14252
14253 \end_inset
14254
14255 中での用い方です.
14256 \end_layout
14257
14258 \begin_layout Standard
14259 \begin_inset Flex Code
14260 status collapsed
14261
14262 \begin_layout Plain Layout
14263 LangPreamble
14264 \end_layout
14265
14266 \end_inset
14267
14268 タグは,文書全体の言語に基づいた国際化を提供します.タグの内容は,
14269 \begin_inset Flex Code
14270 status collapsed
14271
14272 \begin_layout Plain Layout
14273 Preamble
14274 \end_layout
14275
14276 \end_inset
14277
14278 タグと同様,プリアンブルに置かれるのですが,これを特別なものにしているのは,「関数」
14279 \begin_inset Flex Code
14280 status collapsed
14281
14282 \begin_layout Plain Layout
14283 _()
14284 \end_layout
14285
14286 \end_inset
14287
14288 が使用されていることです.これは,\SpecialChar LyX
14289 が\SpecialChar LaTeX
14290 出力を生成する際,その引数を文書言語に翻訳したもので置き換えられます.
14291 \end_layout
14292
14293 \begin_layout Standard
14294 \begin_inset Flex Code
14295 status collapsed
14296
14297 \begin_layout Plain Layout
14298 BabelPreamble
14299 \end_layout
14300
14301 \end_inset
14302
14303 タグは,複数言語文書をサポートし,
14304 \begin_inset Flex Code
14305 status collapsed
14306
14307 \begin_layout Plain Layout
14308 babel
14309 \end_layout
14310
14311 \end_inset
14312
14313 パッケージへのインタフェースを提供することを意図しているので,もう少し複雑です.その内容は,文書に現れる言語それぞれについて一度,プリアンブルに追加されます.こ
14314 の場合には,
14315 \begin_inset Flex Code
14316 status collapsed
14317
14318 \begin_layout Plain Layout
14319 _()
14320 \end_layout
14321
14322 \end_inset
14323
14324 の引数は,その当該言語への翻訳で置き換えられ,
14325 \begin_inset Flex Code
14326 status collapsed
14327
14328 \begin_layout Plain Layout
14329 $$lang
14330 \end_layout
14331
14332 \end_inset
14333
14334 は言語名(babelパッケージで使用されるもの)で置き換えられます.
14335 \end_layout
14336
14337 \begin_layout Standard
14338 したがって,フランス語のセクションを持つドイツ語文書では,以下のような内容がプリアンブルに追加されます
14339 \end_layout
14340
14341 \begin_layout LyX-Code
14342
14343 \backslash
14344 addto
14345 \backslash
14346 captionsfrench{
14347 \backslash
14348 renewcommand{
14349 \backslash
14350 claimname}{Affirmation}}
14351 \begin_inset Newline newline
14352 \end_inset
14353
14354
14355 \backslash
14356 addto
14357 \backslash
14358 captionsngerman{
14359 \backslash
14360 renewcommand{
14361 \backslash
14362 claimname}{Behauptung}}
14363 \begin_inset Newline newline
14364 \end_inset
14365
14366
14367 \backslash
14368 providecommand{
14369 \backslash
14370 claimname}{Behauptung}
14371 \end_layout
14372
14373 \begin_layout Standard
14374 それから,\SpecialChar LaTeX
14375
14376 \begin_inset Flex Code
14377 status collapsed
14378
14379 \begin_layout Plain Layout
14380 babel
14381 \end_layout
14382
14383 \end_inset
14384
14385 は協力して,出力に正しい文字列を生成します.
14386 \end_layout
14387
14388 \begin_layout Standard
14389 ここで注意しておくべき一つの重要な点は,翻訳は,
14390 \begin_inset Flex Code
14391 status collapsed
14392
14393 \begin_layout Plain Layout
14394 layouttranslations
14395 \end_layout
14396
14397 \end_inset
14398
14399 ファイルを通じて,\SpecialChar LyX
14400 自身によって提供されるということです.つまり,ユーザー作成のレイアウトファイルに入力された文字列は,
14401 \begin_inset Flex Code
14402 status collapsed
14403
14404 \begin_layout Plain Layout
14405 layouttranslations
14406 \end_layout
14407
14408 \end_inset
14409
14410 ファイルをそれに応じて変更しない限り,\SpecialChar LyX
14411 の国際化ルーチンでは取り扱われないので,
14412 \begin_inset Flex MenuItem
14413 status collapsed
14414
14415 \begin_layout Plain Layout
14416 LangPreamble
14417 \end_layout
14418
14419 \end_inset
14420
14421
14422 \begin_inset Flex MenuItem
14423 status collapsed
14424
14425 \begin_layout Plain Layout
14426 BabelPreamble
14427 \end_layout
14428
14429 \end_inset
14430
14431 は,事実上,\SpecialChar LyX
14432 とともに提供されるレイアウトファイルでのみ,使うことができるということを意味します.とはいえ,こういうことでありますので,将来的に\SpecialChar LyX
14433 に同梱させようとい
14434 う意図を以て作成されたレイアウトは,適切なところではすべて,これらのタグを使用するべきです.\SpecialChar LyX
14435 が提供する段落様式の翻訳は,マイナー更新(例えば2.1.x版から2.1.y版
14436 )では変更されないことに注意してください.しかしながら,メジャー更新(例えば2.0.x版から2.1.y版)では,新しい翻訳や修正が導入される可能性は大いにあります.
14437 \end_layout
14438
14439 \begin_layout Subsection
14440 フロート
14441 \begin_inset CommandInset label
14442 LatexCommand label
14443 name "subsec:フロート"
14444
14445 \end_inset
14446
14447
14448 \end_layout
14449
14450 \begin_layout Standard
14451 \SpecialChar LyX
14452 第1.3.0版以来,テキストクラス自体の中でフロート(
14453 \begin_inset Flex MenuItem
14454 status collapsed
14455
14456 \begin_layout Plain Layout
14457 figure
14458 \end_layout
14459
14460 \end_inset
14461
14462
14463 \begin_inset Flex MenuItem
14464 status collapsed
14465
14466 \begin_layout Plain Layout
14467 table
14468 \end_layout
14469
14470 \end_inset
14471
14472 ・\SpecialChar ldots
14473 )を定義することが可能となり,かつ必要となりました.標準的なフロートは
14474 \begin_inset Flex Code
14475 status collapsed
14476
14477 \begin_layout Plain Layout
14478 stdfloats.inc
14479 \end_layout
14480
14481 \end_inset
14482
14483 ファイルに含まれているので,作業中のレイアウトファイルに
14484 \end_layout
14485
14486 \begin_layout LyX-Code
14487 Input stdfloats.inc
14488 \end_layout
14489
14490 \begin_layout Standard
14491 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
14492 に同梱されているAGUクラスのように,それ以外のフロート型を提供するテキストクラスを実装するには,以下の情報が役立つであり
14493 ましょう.
14494 \end_layout
14495
14496 \begin_layout Description
14497 \begin_inset Flex Code
14498 status collapsed
14499
14500 \begin_layout Plain Layout
14501 AllowedPlacement
14502 \end_layout
14503
14504 \end_inset
14505
14506  [
14507 \begin_inset Flex Code
14508 status collapsed
14509
14510 \begin_layout Plain Layout
14511 文字列
14512 \end_layout
14513
14514 \end_inset
14515
14516 =!htbpH] このフロート型に許可された配置用の選択肢.値は,配置文字からなる文字列です.使用できる文字には,
14517 \emph on
14518 h
14519 \emph default
14520  (
14521 \begin_inset Quotes eld
14522 \end_inset
14523
14524 here if possible:可能ならば現在位置に
14525 \begin_inset Quotes erd
14526 \end_inset
14527
14528 ), 
14529 \emph on
14530 t
14531 \emph default
14532  (
14533 \begin_inset Quotes eld
14534 \end_inset
14535
14536 top of page:ページ上部
14537 \begin_inset Quotes erd
14538 \end_inset
14539
14540 )・
14541 \emph on
14542 b
14543 \emph default
14544  (
14545 \begin_inset Quotes eld
14546 \end_inset
14547
14548 bottom of page:ページ下部
14549 \begin_inset Quotes erd
14550 \end_inset
14551
14552 )・
14553 \emph on
14554 p
14555 \emph default
14556  (
14557 \begin_inset Quotes eld
14558 \end_inset
14559
14560 page of floats:フロートを独立したページに
14561 \begin_inset Quotes erd
14562 \end_inset
14563
14564 )・
14565 \emph on
14566 H
14567 \emph default
14568  (
14569 \begin_inset Quotes eld
14570 \end_inset
14571
14572 here definitely:何としても現在位置に置く
14573 \begin_inset Quotes erd
14574 \end_inset
14575
14576 )・
14577 \emph on
14578 !
14579 \emph default
14580  (
14581 \begin_inset Quotes eld
14582 \end_inset
14583
14584 ignore LaTeX rules:LaTeXの規則を無視する
14585 \begin_inset Quotes erd
14586 \end_inset
14587
14588 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,文字列として
14589 \emph on
14590 none
14591 \emph default
14592 を与えてください.
14593 \end_layout
14594
14595 \begin_layout Description
14596 \begin_inset Flex Code
14597 status collapsed
14598
14599 \begin_layout Plain Layout
14600 AllowsSideways
14601 \end_layout
14602
14603 \end_inset
14604
14605  [
14606 \begin_inset Flex Code
14607 status collapsed
14608
14609 \begin_layout Plain Layout
14610 0
14611 \end_layout
14612
14613 \end_inset
14614
14615 ,
14616 \begin_inset space \thinspace{}
14617 \end_inset
14618
14619
14620 \emph on
14621
14622 \begin_inset Flex Code
14623 status collapsed
14624
14625 \begin_layout Plain Layout
14626 1
14627 \end_layout
14628
14629 \end_inset
14630
14631
14632 \emph default
14633 ] フロートを,\SpecialChar LaTeX
14634 パッケージの
14635 \family typewriter
14636 rotfloat
14637 \family default
14638  (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
14639 \begin_inset Flex Code
14640 status collapsed
14641
14642 \begin_layout Plain Layout
14643 0
14644 \end_layout
14645
14646 \end_inset
14647
14648 を指定してください.
14649 \end_layout
14650
14651 \begin_layout Description
14652 \begin_inset Flex Code
14653 status collapsed
14654
14655 \begin_layout Plain Layout
14656 AllowsWide
14657 \end_layout
14658
14659 \end_inset
14660
14661  [
14662 \begin_inset Flex Code
14663 status collapsed
14664
14665 \begin_layout Plain Layout
14666 0
14667 \end_layout
14668
14669 \end_inset
14670
14671 ,
14672 \begin_inset space \thinspace{}
14673 \end_inset
14674
14675
14676 \emph on
14677
14678 \begin_inset Flex Code
14679 status collapsed
14680
14681 \begin_layout Plain Layout
14682 1
14683 \end_layout
14684
14685 \end_inset
14686
14687
14688 \emph default
14689 ] このフロートに,二段組段落において段落をまたぐ,星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
14690 \begin_inset Flex Code
14691 status collapsed
14692
14693 \begin_layout Plain Layout
14694 0
14695 \end_layout
14696
14697 \end_inset
14698
14699 を指定してください.
14700 \end_layout
14701
14702 \begin_layout Description
14703 \begin_inset Flex Code
14704 status collapsed
14705
14706 \begin_layout Plain Layout
14707 Extension
14708 \end_layout
14709
14710 \end_inset
14711
14712  [
14713 \begin_inset Flex Code
14714 status collapsed
14715
14716 \begin_layout Plain Layout
14717 文字列
14718 \end_layout
14719
14720 \end_inset
14721
14722 =
14723 \begin_inset Quotes erd
14724 \end_inset
14725
14726
14727 \begin_inset Quotes erd
14728 \end_inset
14729
14730 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
14731 がキャプションを書き込むファイルです.
14732 \end_layout
14733
14734 \begin_layout Description
14735 \begin_inset Flex Code
14736 status collapsed
14737
14738 \begin_layout Plain Layout
14739 GuiName
14740 \end_layout
14741
14742 \end_inset
14743
14744  [
14745 \begin_inset Flex Code
14746 status collapsed
14747
14748 \begin_layout Plain Layout
14749 文字列
14750 \end_layout
14751
14752 \end_inset
14753
14754 =
14755 \begin_inset Quotes erd
14756 \end_inset
14757
14758
14759 \begin_inset Quotes erd
14760 \end_inset
14761
14762 ] メニューとキャプションに使用される文字列.babelが使用される場合には,これは現在の言語に翻訳されます.
14763 \end_layout
14764
14765 \begin_layout Description
14766 \begin_inset Flex Code
14767 status collapsed
14768
14769 \begin_layout Plain Layout
14770 HTML*
14771 \end_layout
14772
14773 \end_inset
14774
14775  これらは,XHTML出力で使用されます.
14776 \begin_inset CommandInset ref
14777 LatexCommand ref
14778 reference "sec:XHTML出力のタグ"
14779
14780 \end_inset
14781
14782 をご覧ください.
14783 \end_layout
14784
14785 \begin_layout Description
14786 \begin_inset Flex Code
14787 status collapsed
14788
14789 \begin_layout Plain Layout
14790 IsPredefined
14791 \end_layout
14792
14793 \end_inset
14794
14795  [
14796 \begin_inset Flex Code
14797 status collapsed
14798
14799 \begin_layout Plain Layout
14800
14801 \emph on
14802 0
14803 \end_layout
14804
14805 \end_inset
14806
14807 ,
14808 \begin_inset space \thinspace{}
14809 \end_inset
14810
14811
14812 \begin_inset Flex Code
14813 status collapsed
14814
14815 \begin_layout Plain Layout
14816 1
14817 \end_layout
14818
14819 \end_inset
14820
14821 ] フロートがドキュメントクラス中に既に定義されているのか,あるいは\SpecialChar LaTeX
14822 パッケージ
14823 \begin_inset Flex Code
14824 status collapsed
14825
14826 \begin_layout Plain Layout
14827 float
14828 \end_layout
14829
14830 \end_inset
14831
14832 を読み込む必要があり,そのファイル内のものを使用して,オン・ザ・フライで定義するかを示します.既定は
14833 \begin_inset Flex Code
14834 status collapsed
14835
14836 \begin_layout Plain Layout
14837 0
14838 \end_layout
14839
14840 \end_inset
14841
14842 で,この場合
14843 \begin_inset Flex Code
14844 status collapsed
14845
14846 \begin_layout Plain Layout
14847 float
14848 \end_layout
14849
14850 \end_inset
14851
14852 を使用します.\SpecialChar LaTeX
14853 ドキュメントクラス中に既に定義されているときには,
14854 \begin_inset Flex Code
14855 status collapsed
14856
14857 \begin_layout Plain Layout
14858 0
14859 \end_layout
14860
14861 \end_inset
14862
14863 に設定しなくてはなりません.
14864 \end_layout
14865
14866 \begin_layout Description
14867 \begin_inset Flex Code
14868 status collapsed
14869
14870 \begin_layout Plain Layout
14871 ListCommand
14872 \end_layout
14873
14874 \end_inset
14875
14876  [
14877 \begin_inset Flex Code
14878 status collapsed
14879
14880 \begin_layout Plain Layout
14881 文字列
14882 \end_layout
14883
14884 \end_inset
14885
14886 =
14887 \begin_inset Quotes erd
14888 \end_inset
14889
14890
14891 \begin_inset Quotes erd
14892 \end_inset
14893
14894 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
14895 \backslash
14896 」は書きません.
14897 \begin_inset Flex Code
14898 status collapsed
14899
14900 \begin_layout Plain Layout
14901 NeedsFloatPkg
14902 \end_layout
14903
14904 \end_inset
14905
14906 が偽の時には,このコマンドを生成する標準的な方法はないので,これは
14907 \emph on
14908 必ず
14909 \emph default
14910 指定しなくてはなりません.
14911 \begin_inset Flex Code
14912 status collapsed
14913
14914 \begin_layout Plain Layout
14915 NeedsFloatPkg
14916 \end_layout
14917
14918 \end_inset
14919
14920 が真の時は,標準的な方法が存在するので,これは無視されます.
14921 \end_layout
14922
14923 \begin_layout Description
14924 \begin_inset Flex Code
14925 status collapsed
14926
14927 \begin_layout Plain Layout
14928 ListName
14929 \end_layout
14930
14931 \end_inset
14932
14933  [
14934 \begin_inset Flex Code
14935 status collapsed
14936
14937 \begin_layout Plain Layout
14938 文字列
14939 \end_layout
14940
14941 \end_inset
14942
14943 =
14944 \begin_inset Quotes erd
14945 \end_inset
14946
14947
14948 \begin_inset Quotes erd
14949 \end_inset
14950
14951 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
14952 中では,これは画面上のラベルとして使用されます.また,見出しとして使用するために,La\SpecialChar TeX
14953 に渡さ
14954 れ,XHTML出力でも見出しとして使用されます.これは,文書言語に翻訳されます.
14955 \end_layout
14956
14957 \begin_layout Description
14958 \begin_inset Flex Code
14959 status collapsed
14960
14961 \begin_layout Plain Layout
14962 NumberWithin
14963 \end_layout
14964
14965 \end_inset
14966
14967  [
14968 \begin_inset Flex Code
14969 status collapsed
14970
14971 \begin_layout Plain Layout
14972 文字列
14973 \end_layout
14974
14975 \end_inset
14976
14977 =
14978 \begin_inset Quotes erd
14979 \end_inset
14980
14981
14982 \begin_inset Quotes erd
14983 \end_inset
14984
14985 ] この(非必須の)引数は,このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
14986 \begin_inset Flex Code
14987 status collapsed
14988
14989 \begin_layout Plain Layout
14990 NumberWithin
14991 \end_layout
14992
14993 \end_inset
14994
14995 が「
14996 \begin_inset Flex Code
14997 status collapsed
14998
14999 \begin_layout Plain Layout
15000 chapter
15001 \end_layout
15002
15003 \end_inset
15004
15005 」に指定されていれば,フロートは章ごとに番号が振り直されます.
15006 \end_layout
15007
15008 \begin_layout Description
15009 \begin_inset Flex Code
15010 status collapsed
15011
15012 \begin_layout Plain Layout
15013 Placement
15014 \end_layout
15015
15016 \end_inset
15017
15018  [
15019 \begin_inset Flex Code
15020 status collapsed
15021
15022 \begin_layout Plain Layout
15023 文字列
15024 \end_layout
15025
15026 \end_inset
15027
15028 =
15029 \begin_inset Quotes erd
15030 \end_inset
15031
15032
15033 \begin_inset Quotes erd
15034 \end_inset
15035
15036 ] このクラスのフロートの既定の配置法.文字列は,標準的な\SpecialChar LaTeX
15037 表記に従い,
15038 \begin_inset Flex Code
15039 status collapsed
15040
15041 \begin_layout Plain Layout
15042 t
15043 \end_layout
15044
15045 \end_inset
15046
15047 ならば上部(top),
15048 \begin_inset Flex Code
15049 status collapsed
15050
15051 \begin_layout Plain Layout
15052 b
15053 \end_layout
15054
15055 \end_inset
15056
15057 ならば下部(bottom),
15058 \begin_inset Flex Code
15059 status collapsed
15060
15061 \begin_layout Plain Layout
15062 p
15063 \end_layout
15064
15065 \end_inset
15066
15067 ならばページ(page),
15068 \begin_inset Flex Code
15069 status collapsed
15070
15071 \begin_layout Plain Layout
15072 h
15073 \end_layout
15074
15075 \end_inset
15076
15077 ならばここ(here)を表します
15078 \begin_inset Foot
15079 status collapsed
15080
15081 \begin_layout Plain Layout
15082 \SpecialChar LaTeX
15083 同様,文字列中でのこれらの文字の順序は関係ありません.
15084 \end_layout
15085
15086 \end_inset
15087
15088 .これらの他に新しい型
15089 \begin_inset Flex Code
15090 status collapsed
15091
15092 \begin_layout Plain Layout
15093 H
15094 \end_layout
15095
15096 \end_inset
15097
15098 があり,これはフロートを「ここ」に置いていいけれども他の場所はだめ,というものなので,本当はフロートにあるものではありません.しかし,
15099 \begin_inset Flex Code
15100 status collapsed
15101
15102 \begin_layout Plain Layout
15103 H
15104 \end_layout
15105
15106 \end_inset
15107
15108 指定子は特別なものであり,その細かい実装上の理由で,組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,代わり
15109 に「
15110 \begin_inset Flex Code
15111 status collapsed
15112
15113 \begin_layout Plain Layout
15114 tbp
15115 \end_layout
15116
15117 \end_inset
15118
15119 」を指定してください.
15120 \end_layout
15121
15122 \begin_layout Description
15123 \begin_inset Flex Code
15124 status collapsed
15125
15126 \begin_layout Plain Layout
15127 RefPrefix
15128 \end_layout
15129
15130 \end_inset
15131
15132  [
15133 \begin_inset Flex Code
15134 status collapsed
15135
15136 \begin_layout Plain Layout
15137 文字列
15138 \end_layout
15139
15140 \end_inset
15141
15142 ] この型のフロートを参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.コピーした様式が設定した
15143 \begin_inset Flex Code
15144 status collapsed
15145
15146 \begin_layout Plain Layout
15147 RefPrefix
15148 \end_layout
15149
15150 \end_inset
15151
15152 は,特別な文字列「OFF」(すべて大文字)を使えば,いつでも削除することができます.
15153 \end_layout
15154
15155 \begin_layout Description
15156 \begin_inset Flex Code
15157 status collapsed
15158
15159 \begin_layout Plain Layout
15160 Style
15161 \end_layout
15162
15163 \end_inset
15164
15165  [
15166 \begin_inset Flex Code
15167 status collapsed
15168
15169 \begin_layout Plain Layout
15170 文字列
15171 \end_layout
15172
15173 \end_inset
15174
15175 =
15176 \begin_inset Quotes erd
15177 \end_inset
15178
15179
15180 \begin_inset Quotes erd
15181 \end_inset
15182
15183
15184 \begin_inset Flex Code
15185 status collapsed
15186
15187 \begin_layout Plain Layout
15188
15189 \backslash
15190 newfloat
15191 \end_layout
15192
15193 \end_inset
15194
15195 を使用してフロートを定義する際に使用される様式.
15196 \end_layout
15197
15198 \begin_layout Description
15199 \begin_inset Flex Code
15200 status collapsed
15201
15202 \begin_layout Plain Layout
15203 Type
15204 \end_layout
15205
15206 \end_inset
15207
15208  [
15209 \begin_inset Flex Code
15210 status collapsed
15211
15212 \begin_layout Plain Layout
15213 文字列
15214 \end_layout
15215
15216 \end_inset
15217
15218 =
15219 \begin_inset Quotes erd
15220 \end_inset
15221
15222
15223 \begin_inset Quotes erd
15224 \end_inset
15225
15226 ] プログラムやアルゴリズムのような,フロートの新しいクラス「型」.適切な
15227 \begin_inset Flex Code
15228 status collapsed
15229
15230 \begin_layout Plain Layout
15231
15232 \backslash
15233 newfloat
15234 \end_layout
15235
15236 \end_inset
15237
15238 の後で,
15239 \begin_inset Flex Code
15240 status collapsed
15241
15242 \begin_layout Plain Layout
15243
15244 \backslash
15245 begin{program}
15246 \end_layout
15247
15248 \end_inset
15249
15250
15251 \begin_inset Flex Code
15252 status collapsed
15253
15254 \begin_layout Plain Layout
15255
15256 \backslash
15257 end{algorithm*}
15258 \end_layout
15259
15260 \end_inset
15261
15262 といったコマンドが利用できます.
15263 \end_layout
15264
15265 \begin_layout Description
15266 \begin_inset Flex Code
15267 status collapsed
15268
15269 \begin_layout Plain Layout
15270 UsesFloatPkg
15271 \end_layout
15272
15273 \end_inset
15274
15275  [
15276 \begin_inset Flex Code
15277 status collapsed
15278
15279 \begin_layout Plain Layout
15280 0
15281 \end_layout
15282
15283 \end_inset
15284
15285 ,
15286 \begin_inset space \thinspace{}
15287 \end_inset
15288
15289
15290 \begin_inset Flex Code
15291 status collapsed
15292
15293 \begin_layout Plain Layout
15294
15295 \emph on
15296 1
15297 \end_layout
15298
15299 \end_inset
15300
15301 ] このフロートが,クラスファイルやパッケージ中で,\SpecialChar LaTeX
15302 パッケージ
15303 \begin_inset Flex Code
15304 status collapsed
15305
15306 \begin_layout Plain Layout
15307 float
15308 \end_layout
15309
15310 \end_inset
15311
15312 が提供しているものを使用して定義されているのか,\SpecialChar LyX
15313 自身がオン・ザ・フライで定義しているのかを示します.
15314 \end_layout
15315
15316 \begin_layout Standard
15317 \begin_inset Flex Code
15318 status collapsed
15319
15320 \begin_layout Plain Layout
15321
15322 \emph on
15323 type
15324 \end_layout
15325
15326 \end_inset
15327
15328 型のフロートを定義すると,自動的に
15329 \emph on
15330 対応する
15331 \emph default
15332
15333 \begin_inset Flex Code
15334 status collapsed
15335
15336 \begin_layout Plain Layout
15337
15338 \emph on
15339 type
15340 \end_layout
15341
15342 \end_inset
15343
15344 名カウンタが定義されます.
15345 \end_layout
15346
15347 \begin_layout Subsection
15348 自由差込枠と差込枠レイアウト
15349 \begin_inset CommandInset label
15350 LatexCommand label
15351 name "subsec:任意設定差込枠"
15352
15353 \end_inset
15354
15355
15356 \end_layout
15357
15358 \begin_layout Standard
15359 自由差込枠には次の3種類があります.
15360 \end_layout
15361
15362 \begin_layout Itemize
15363 文字様式(
15364 \begin_inset Flex Code
15365 status collapsed
15366
15367 \begin_layout Plain Layout
15368 CharStyle
15369 \end_layout
15370
15371 \end_inset
15372
15373 ).これは,
15374 \begin_inset Flex Code
15375 status collapsed
15376
15377 \begin_layout Plain Layout
15378
15379 \backslash
15380 noun
15381 \end_layout
15382
15383 \end_inset
15384
15385
15386 \begin_inset Flex Code
15387 status collapsed
15388
15389 \begin_layout Plain Layout
15390
15391 \backslash
15392 code
15393 \end_layout
15394
15395 \end_inset
15396
15397 などの\SpecialChar LaTeX
15398 コマンドに対応した意味論的マークアップを定義するものです.
15399 \end_layout
15400
15401 \begin_layout Itemize
15402 ユーザ設定(
15403 \begin_inset Flex Code
15404 status collapsed
15405
15406 \begin_layout Plain Layout
15407 Custom
15408 \end_layout
15409
15410 \end_inset
15411
15412 ).これは,\SpecialChar TeX
15413 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,これは
15414 \begin_inset Flex Code
15415 status collapsed
15416
15417 \begin_layout Plain Layout
15418 endnote
15419 \end_layout
15420
15421 \end_inset
15422
15423 モジュール中で定義されています.
15424 \end_layout
15425
15426 \begin_layout Itemize
15427 XML要素(
15428 \begin_inset Flex Code
15429 status collapsed
15430
15431 \begin_layout Plain Layout
15432 Element
15433 \end_layout
15434
15435 \end_inset
15436
15437 ).DocBookクラスで使用するものです.
15438 \end_layout
15439
15440 \begin_layout Standard
15441 自由差込枠は,以下で説明する
15442 \begin_inset Flex Code
15443 status collapsed
15444
15445 \begin_layout Plain Layout
15446 InsetLayout
15447 \end_layout
15448
15449 \end_inset
15450
15451 タグを使用して定義されます.
15452 \end_layout
15453
15454 \begin_layout Standard
15455 \begin_inset Flex Code
15456 status collapsed
15457
15458 \begin_layout Plain Layout
15459 InsetLayout
15460 \end_layout
15461
15462 \end_inset
15463
15464 タグは,もう一つ別の機能も提供します.これを使えば,いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
15465 \begin_inset Flex Code
15466 status collapsed
15467
15468 \begin_layout Plain Layout
15469 InsetLayout
15470 \end_layout
15471
15472 \end_inset
15473
15474 は自由差込枠を定義することの他に,脚註・傍註・註釈差込枠・\SpecialChar TeX
15475 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザ
15476 ー定義するのに使用されます.
15477 \end_layout
15478
15479 \begin_layout Standard
15480 \begin_inset Flex Code
15481 status collapsed
15482
15483 \begin_layout Plain Layout
15484 InsetLayout
15485 \end_layout
15486
15487 \end_inset
15488
15489 定義は以下の形の行では始まらなくてはなりません.
15490 \end_layout
15491
15492 \begin_layout LyX-Code
15493 InsetLayout <型>
15494 \end_layout
15495
15496 \begin_layout Standard
15497 ここで
15498 \begin_inset Flex Code
15499 status collapsed
15500
15501 \begin_layout Plain Layout
15502 <型>
15503 \end_layout
15504
15505 \end_inset
15506
15507 は,レイアウトを定義しようとしている差込枠を指し,4つの場合があります.
15508 \end_layout
15509
15510 \begin_layout Enumerate
15511 既存の差込枠のレイアウトを変更する場合.この場合,
15512 \begin_inset Flex Code
15513 status collapsed
15514
15515 \begin_layout Plain Layout
15516 <型>
15517 \end_layout
15518
15519 \end_inset
15520
15521 は以下のいずれかになります:
15522 \begin_inset Flex Code
15523 status collapsed
15524
15525 \begin_layout Plain Layout
15526 Algorithm
15527 \end_layout
15528
15529 \end_inset
15530
15531
15532 \begin_inset Flex Code
15533 status collapsed
15534
15535 \begin_layout Plain Layout
15536 Branch
15537 \end_layout
15538
15539 \end_inset
15540
15541
15542 \begin_inset Flex Code
15543 status collapsed
15544
15545 \begin_layout Plain Layout
15546 Box
15547 \end_layout
15548
15549 \end_inset
15550
15551
15552 \begin_inset Flex Code
15553 status collapsed
15554
15555 \begin_layout Plain Layout
15556 Box:shaded
15557 \end_layout
15558
15559 \end_inset
15560
15561
15562 \begin_inset Flex Code
15563 status collapsed
15564
15565 \begin_layout Plain Layout
15566 Caption:Standard
15567 \end_layout
15568
15569 \end_inset
15570
15571
15572 \begin_inset Flex Code
15573 status collapsed
15574
15575 \begin_layout Plain Layout
15576 ERT
15577 \end_layout
15578
15579 \end_inset
15580
15581
15582 \begin_inset Flex Code
15583 status collapsed
15584
15585 \begin_layout Plain Layout
15586 Figure
15587 \end_layout
15588
15589 \end_inset
15590
15591
15592 \begin_inset Flex Code
15593 status collapsed
15594
15595 \begin_layout Plain Layout
15596 Foot
15597 \end_layout
15598
15599 \end_inset
15600
15601
15602 \begin_inset Flex Code
15603 status collapsed
15604
15605 \begin_layout Plain Layout
15606 Index
15607 \end_layout
15608
15609 \end_inset
15610
15611
15612 \begin_inset Flex Code
15613 status collapsed
15614
15615 \begin_layout Plain Layout
15616 Info
15617 \end_layout
15618
15619 \end_inset
15620
15621
15622 \begin_inset Flex Code
15623 status collapsed
15624
15625 \begin_layout Plain Layout
15626 Info:menu
15627 \end_layout
15628
15629 \end_inset
15630
15631
15632 \begin_inset Flex Code
15633 status collapsed
15634
15635 \begin_layout Plain Layout
15636 Info:shortcut
15637 \end_layout
15638
15639 \end_inset
15640
15641
15642 \begin_inset Flex Code
15643 status collapsed
15644
15645 \begin_layout Plain Layout
15646 Info:shortcuts
15647 \end_layout
15648
15649 \end_inset
15650
15651
15652 \begin_inset Flex Code
15653 status collapsed
15654
15655 \begin_layout Plain Layout
15656 Listings
15657 \end_layout
15658
15659 \end_inset
15660
15661
15662 \begin_inset Flex Code
15663 status collapsed
15664
15665 \begin_layout Plain Layout
15666 Marginal
15667 \end_layout
15668
15669 \end_inset
15670
15671
15672 \begin_inset Flex Code
15673 status collapsed
15674
15675 \begin_layout Plain Layout
15676 Note:Comment
15677 \end_layout
15678
15679 \end_inset
15680
15681
15682 \begin_inset Flex Code
15683 status collapsed
15684
15685 \begin_layout Plain Layout
15686 Note:Note
15687 \end_layout
15688
15689 \end_inset
15690
15691
15692 \begin_inset Flex Code
15693 status collapsed
15694
15695 \begin_layout Plain Layout
15696 Note:GreyedOut
15697 \end_layout
15698
15699 \end_inset
15700
15701
15702 \begin_inset Flex Code
15703 status collapsed
15704
15705 \begin_layout Plain Layout
15706 Table
15707 \end_layout
15708
15709 \end_inset
15710
15711
15712 \begin_inset Flex Code
15713 status collapsed
15714
15715 \begin_layout Plain Layout
15716 URL
15717 \end_layout
15718
15719 \end_inset
15720
15721
15722 \end_layout
15723
15724 \begin_layout Enumerate
15725 自由差込枠のレイアウトを定義する場合.この場合,
15726 \begin_inset Flex Code
15727 status collapsed
15728
15729 \begin_layout Plain Layout
15730 <型>
15731 \end_layout
15732
15733 \end_inset
15734
15735
15736 \begin_inset Flex Code
15737 status collapsed
15738
15739 \begin_layout Plain Layout
15740 Flex:<名称>
15741 \end_layout
15742
15743 \end_inset
15744
15745 の形でなくてはなりません.ここで,
15746 \begin_inset Flex Code
15747 status collapsed
15748
15749 \begin_layout Plain Layout
15750 名称
15751 \end_layout
15752
15753 \end_inset
15754
15755 は,既存の自由差込枠で使用されていない有効な識別子であれば,何でも構いません.識別子には空白を入れることもできますが,この場合には全体を引用符で囲まなくてはなり
15756 ません.自由差込枠の定義には,この定義がどの差込枠型なのか宣言するために,
15757 \begin_inset Flex Code
15758 status collapsed
15759
15760 \begin_layout Plain Layout
15761 LyXType
15762 \end_layout
15763
15764 \end_inset
15765
15766 項目が含まれていなくてはならないことに注意してください.
15767 \end_layout
15768
15769 \begin_layout Enumerate
15770 ユーザー定義派生枝を定義する場合.この場合,
15771 \begin_inset Flex Code
15772 status collapsed
15773
15774 \begin_layout Plain Layout
15775 <型>
15776 \end_layout
15777
15778 \end_inset
15779
15780 は「
15781 \begin_inset Flex Code
15782 status collapsed
15783
15784 \begin_layout Plain Layout
15785 Branch:<名称>
15786 \end_layout
15787
15788 \end_inset
15789
15790 」の形でなくてはなりません.ここで,
15791 \begin_inset Flex Code
15792 status collapsed
15793
15794 \begin_layout Plain Layout
15795 名称
15796 \end_layout
15797
15798 \end_inset
15799
15800 は,ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主
15801 な目的は,ユーザーの必要に応じて,特定の派生枝を\SpecialChar LaTeX
15802 がくるむことができるようにすることです.
15803 \end_layout
15804
15805 \begin_layout Enumerate
15806 ユーザー(またはクラス)定義のキャプションを定義する場合.この場合,
15807 \begin_inset Flex Code
15808 status collapsed
15809
15810 \begin_layout Plain Layout
15811 <型>
15812 \end_layout
15813
15814 \end_inset
15815
15816 は「
15817 \begin_inset Flex Code
15818 status collapsed
15819
15820 \begin_layout Plain Layout
15821 Caption:<名称>
15822 \end_layout
15823
15824 \end_inset
15825
15826 」の形でなくてはなりません.ここで,
15827 \begin_inset Flex Code
15828 status collapsed
15829
15830 \begin_layout Plain Layout
15831 名称
15832 \end_layout
15833
15834 \end_inset
15835
15836 は,メニューに表示されるキャプション名です.応用例については,標準キャプション(
15837 \begin_inset Flex Code
15838 status collapsed
15839
15840 \begin_layout Plain Layout
15841 Caption:Standard
15842 \end_layout
15843
15844 \end_inset
15845
15846 ),若しくはKOMA-Scriptクラスのクラス定義キャプション(
15847 \begin_inset Flex Code
15848 status collapsed
15849
15850 \begin_layout Plain Layout
15851 Caption:Above
15852 \end_layout
15853
15854 \end_inset
15855
15856
15857 \begin_inset Flex Code
15858 status collapsed
15859
15860 \begin_layout Plain Layout
15861 Caption:Below
15862 \end_layout
15863
15864 \end_inset
15865
15866 ),
15867 \family sans
15868 多言語キャプション
15869 \family default
15870 モジュール(
15871 \begin_inset Flex Code
15872 status collapsed
15873
15874 \begin_layout Plain Layout
15875 Caption:\SpecialChar allowbreak
15876 Bicaption
15877 \end_layout
15878
15879 \end_inset
15880
15881 )をご覧ください.
15882 \end_layout
15883
15884 \begin_layout Standard
15885 \begin_inset Flex Code
15886 status collapsed
15887
15888 \begin_layout Plain Layout
15889 InsetLayout
15890 \end_layout
15891
15892 \end_inset
15893
15894 定義には以下の項目を入れることができます.
15895 \end_layout
15896
15897 \begin_layout Description
15898 \begin_inset Flex Code
15899 status collapsed
15900
15901 \begin_layout Plain Layout
15902 AddToToc
15903 \end_layout
15904
15905 \end_inset
15906
15907  [
15908 \begin_inset Flex Code
15909 status collapsed
15910
15911 \begin_layout Plain Layout
15912 文字列
15913 \end_layout
15914
15915 \end_inset
15916
15917 =""] この差込枠は,この型の一覧表に表示されます.空の文字列を入れると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドも参
15918 照してください.これは,自由差込枠にのみ実装されています.既定値:無効.
15919 \end_layout
15920
15921 \begin_layout Description
15922 \begin_inset Flex Code
15923 status collapsed
15924
15925 \begin_layout Plain Layout
15926 Argument
15927 \end_layout
15928
15929 \end_inset
15930
15931  [
15932 \begin_inset Flex Code
15933 status collapsed
15934
15935 \begin_layout Plain Layout
15936 整数
15937 \end_layout
15938
15939 \end_inset
15940
15941 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引数番号を定義します.定義は
15942 \begin_inset Flex Code
15943 status collapsed
15944
15945 \begin_layout Plain Layout
15946 EndArgument
15947 \end_layout
15948
15949 \end_inset
15950
15951 で閉じなくてはなりません.詳細は第
15952 \begin_inset CommandInset ref
15953 LatexCommand ref
15954 reference "subsec:段落様式"
15955
15956 \end_inset
15957
15958 節参照.
15959 \end_layout
15960
15961 \begin_layout Description
15962 \begin_inset Flex Code
15963 status collapsed
15964
15965 \begin_layout Plain Layout
15966 BabelPreamble
15967 \end_layout
15968
15969 \end_inset
15970
15971  言語コマンドを変更するプリアンブル.第
15972 \begin_inset CommandInset ref
15973 LatexCommand ref
15974 reference "subsec:段落様式の国際化"
15975
15976 \end_inset
15977
15978 節参照.
15979 \end_layout
15980
15981 \begin_layout Description
15982 \begin_inset Flex Code
15983 status collapsed
15984
15985 \begin_layout Plain Layout
15986 BgColor
15987 \end_layout
15988
15989 \end_inset
15990
15991  [
15992 \begin_inset Flex Code
15993 status collapsed
15994
15995 \begin_layout Plain Layout
15996 <名称>
15997 \end_layout
15998
15999 \end_inset
16000
16001 ] 差込枠の背景色.使用できる色名一覧は第
16002 \begin_inset CommandInset ref
16003 LatexCommand ref
16004 reference "chap:色名"
16005
16006 \end_inset
16007
16008 節参照.
16009 \end_layout
16010
16011 \begin_layout Description
16012 \begin_inset Flex Code
16013 status collapsed
16014
16015 \begin_layout Plain Layout
16016 ContentAsLabel
16017 \end_layout
16018
16019 \end_inset
16020
16021  [
16022 \begin_inset Flex Code
16023 status collapsed
16024
16025 \begin_layout Plain Layout
16026
16027 \emph on
16028 0
16029 \end_layout
16030
16031 \end_inset
16032
16033 ,
16034 \begin_inset space \thinspace{}
16035 \end_inset
16036
16037
16038 \begin_inset Flex Code
16039 status collapsed
16040
16041 \begin_layout Plain Layout
16042 1
16043 \end_layout
16044
16045 \end_inset
16046
16047 ] 差込枠を閉じた際,差込枠の内容をラベルとして使用するか否か.既定値は偽です.
16048 \end_layout
16049
16050 \begin_layout Description
16051 \begin_inset Flex Code
16052 status collapsed
16053
16054 \begin_layout Plain Layout
16055 CopyStyle
16056 \end_layout
16057
16058 \end_inset
16059
16060  [<型>] 段落様式と同様です.第
16061 \begin_inset CommandInset ref
16062 LatexCommand ref
16063 reference "subsec:段落様式"
16064
16065 \end_inset
16066
16067 節参照のこと.完全な型を指定する必要があることに注意してください.例:
16068 \begin_inset Flex Code
16069 status collapsed
16070
16071 \begin_layout Plain Layout
16072 CopyStyle Flex:<名称>
16073 \end_layout
16074
16075 \end_inset
16076
16077
16078 \end_layout
16079
16080 \begin_layout Description
16081 \begin_inset Flex Code
16082 status collapsed
16083
16084 \begin_layout Plain Layout
16085 CustomPars
16086 \end_layout
16087
16088 \end_inset
16089
16090  [
16091 \begin_inset Flex Code
16092 status collapsed
16093
16094 \begin_layout Plain Layout
16095
16096 \emph on
16097 0
16098 \end_layout
16099
16100 \end_inset
16101
16102 ,
16103 \begin_inset space \thinspace{}
16104 \end_inset
16105
16106
16107 \begin_inset Flex Code
16108 status collapsed
16109
16110 \begin_layout Plain Layout
16111 1
16112 \end_layout
16113
16114 \end_inset
16115
16116 ] 段落を設定するのに,段落設定ダイアログをユーザが使えるかどうかを指定します.
16117 \end_layout
16118
16119 \begin_layout Description
16120 \begin_inset Flex Code
16121 status collapsed
16122
16123 \begin_layout Plain Layout
16124 Decoration
16125 \end_layout
16126
16127 \end_inset
16128
16129  差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
16130 \begin_inset Flex Code
16131 status collapsed
16132
16133 \begin_layout Plain Layout
16134 Classic
16135 \end_layout
16136
16137 \end_inset
16138
16139
16140 \begin_inset Flex Code
16141 status collapsed
16142
16143 \begin_layout Plain Layout
16144 Minimalistic
16145 \end_layout
16146
16147 \end_inset
16148
16149
16150 \begin_inset Flex Code
16151 status collapsed
16152
16153 \begin_layout Plain Layout
16154 Conglomerate
16155 \end_layout
16156
16157 \end_inset
16158
16159 のいずれかを指定することができます.脚註は通常
16160 \begin_inset Flex Code
16161 status collapsed
16162
16163 \begin_layout Plain Layout
16164 Classic
16165 \end_layout
16166
16167 \end_inset
16168
16169 を使用し,\SpecialChar TeX
16170 コード差込枠は通常
16171 \begin_inset Flex Code
16172 status collapsed
16173
16174 \begin_layout Plain Layout
16175 Minimalistic
16176 \end_layout
16177
16178 \end_inset
16179
16180 ,文字様式は
16181 \begin_inset Flex Code
16182 status collapsed
16183
16184 \begin_layout Plain Layout
16185 Conglomerate
16186 \end_layout
16187
16188 \end_inset
16189
16190 を使用します.
16191 \end_layout
16192
16193 \begin_layout Description
16194 \begin_inset Flex Code
16195 status collapsed
16196
16197 \begin_layout Plain Layout
16198 Display
16199 \end_layout
16200
16201 \end_inset
16202
16203  [
16204 \begin_inset Flex Code
16205 status collapsed
16206
16207 \begin_layout Plain Layout
16208 0
16209 \end_layout
16210
16211 \end_inset
16212
16213 ,
16214 \begin_inset space \thinspace{}
16215 \end_inset
16216
16217
16218 \begin_inset Flex Code
16219 status collapsed
16220
16221 \begin_layout Plain Layout
16222
16223 \emph on
16224 1
16225 \end_layout
16226
16227 \end_inset
16228
16229
16230 \begin_inset Flex Code
16231 status collapsed
16232
16233 \begin_layout Plain Layout
16234 LatexType
16235 \end_layout
16236
16237 \end_inset
16238
16239
16240 \begin_inset Flex Code
16241 status collapsed
16242
16243 \begin_layout Plain Layout
16244 Environment
16245 \end_layout
16246
16247 \end_inset
16248
16249 の時のみ意味をもちます.環境を,出力中で独立して出力させるか,周囲のテキストとインラインで出力させるかを示します.偽にすると,\SpecialChar LaTeX
16250 環境は,
16251 \begin_inset Flex Code
16252 status collapsed
16253
16254 \begin_layout Plain Layout
16255
16256 \backslash
16257 begin{LatexName}
16258 \end_layout
16259
16260 \end_inset
16261
16262 タグと
16263 \begin_inset Flex Code
16264 status collapsed
16265
16266 \begin_layout Plain Layout
16267
16268 \backslash
16269 end{LatexName}
16270 \end_layout
16271
16272 \end_inset
16273
16274 タグの後の空白(改行文字を含む)を無視するものと仮定します.
16275 \end_layout
16276
16277 \begin_layout Description
16278 \begin_inset Flex Code
16279 status collapsed
16280
16281 \begin_layout Plain Layout
16282 End
16283 \end_layout
16284
16285 \end_inset
16286
16287  
16288 \begin_inset Flex Code
16289 status collapsed
16290
16291 \begin_layout Plain Layout
16292 InsetLayout
16293 \end_layout
16294
16295 \end_inset
16296
16297 宣言を閉じるのに必要です.
16298 \end_layout
16299
16300 \begin_layout Description
16301 \begin_inset Flex Code
16302 status collapsed
16303
16304 \begin_layout Plain Layout
16305 Font
16306 \end_layout
16307
16308 \end_inset
16309
16310  本文本体とラベル
16311 \emph on
16312 両方に
16313 \emph default
16314 使用されるフォントです.第
16315 \begin_inset CommandInset ref
16316 LatexCommand ref
16317 reference "subsec:フォント指定"
16318
16319 \end_inset
16320
16321 節を参照.このフォントを定義すると自動的に
16322 \begin_inset Flex Code
16323 status collapsed
16324
16325 \begin_layout Plain Layout
16326 LabelFont
16327 \end_layout
16328
16329 \end_inset
16330
16331 も同じ値に定義されるので,これらを別々の値にしたいときは,これを先に定義してから後に
16332 \begin_inset Flex Code
16333 status collapsed
16334
16335 \begin_layout Plain Layout
16336 LabelFont
16337 \end_layout
16338
16339 \end_inset
16340
16341 を定義しなくてはならないことに注意してください.
16342 \end_layout
16343
16344 \begin_layout Description
16345 \begin_inset Flex Code
16346 status collapsed
16347
16348 \begin_layout Plain Layout
16349 FixedWidthPreambleEncoding
16350 \end_layout
16351
16352 \end_inset
16353
16354  [
16355 \begin_inset Flex Code
16356 status collapsed
16357
16358 \begin_layout Plain Layout
16359
16360 \emph on
16361 0
16362 \end_layout
16363
16364 \end_inset
16365
16366 ,
16367 \begin_inset space \thinspace{}
16368 \end_inset
16369
16370
16371 \begin_inset Flex Code
16372 status collapsed
16373
16374 \begin_layout Plain Layout
16375 1
16376 \end_layout
16377
16378 \end_inset
16379
16380 ] このレイアウトによって生成される
16381 \begin_inset Flex Code
16382 status collapsed
16383
16384 \begin_layout Plain Layout
16385 BabelPreamble
16386 \end_layout
16387
16388 \end_inset
16389
16390 および
16391 \begin_inset Flex Code
16392 status collapsed
16393
16394 \begin_layout Plain Layout
16395 LangPreamble
16396 \end_layout
16397
16398 \end_inset
16399
16400 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
16401 \family typewriter
16402 listings
16403 \family default
16404 のように,
16405 \family sans
16406 utf8
16407 \family default
16408 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
16409 パッケージのために必要です.この設定は,Xe\SpecialChar TeX
16410 やLua\SpecialChar TeX
16411 のようなUnicodeを完全に解する\SpecialChar LaTeX
16412 バックエンドを使用してい
16413 る場合には,無視されます.
16414 \end_layout
16415
16416 \begin_layout Description
16417 \begin_inset Flex Code
16418 status collapsed
16419
16420 \begin_layout Plain Layout
16421 ForceLocalFontSwitch
16422 \end_layout
16423
16424 \end_inset
16425
16426  [
16427 \begin_inset Flex Code
16428 status collapsed
16429
16430 \begin_layout Plain Layout
16431
16432 \emph on
16433 0
16434 \end_layout
16435
16436 \end_inset
16437
16438 ,
16439 \begin_inset space \thinspace{}
16440 \end_inset
16441
16442
16443 \begin_inset Flex Code
16444 status collapsed
16445
16446 \begin_layout Plain Layout
16447 1
16448 \end_layout
16449
16450 \end_inset
16451
16452 ] babel使用時に,常にローカルフォント切替(
16453 \begin_inset Flex Code
16454 status collapsed
16455
16456 \begin_layout Plain Layout
16457
16458 \backslash
16459 foreignlanguage
16460 \end_layout
16461
16462 \end_inset
16463
16464 )を使い,グローバル切替(
16465 \begin_inset Flex Code
16466 status collapsed
16467
16468 \begin_layout Plain Layout
16469
16470 \backslash
16471 selectlanguage
16472 \end_layout
16473
16474 \end_inset
16475
16476 など)は使わない.
16477 \end_layout
16478
16479 \begin_layout Description
16480 \begin_inset Flex Code
16481 status collapsed
16482
16483 \begin_layout Plain Layout
16484 ForceLTR
16485 \end_layout
16486
16487 \end_inset
16488
16489  [
16490 \begin_inset Flex Code
16491 status collapsed
16492
16493 \begin_layout Plain Layout
16494
16495 \emph on
16496 0
16497 \end_layout
16498
16499 \end_inset
16500
16501 ,
16502 \begin_inset space \thinspace{}
16503 \end_inset
16504
16505
16506 \begin_inset Flex Code
16507 status collapsed
16508
16509 \begin_layout Plain Layout
16510 1
16511 \end_layout
16512
16513 \end_inset
16514
16515 ] たとえば\SpecialChar TeX
16516 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
16517 \end_layout
16518
16519 \begin_layout Description
16520 \begin_inset Flex Code
16521 status collapsed
16522
16523 \begin_layout Plain Layout
16524 ForceOwnlines
16525 \end_layout
16526
16527 \end_inset
16528
16529  [
16530 \begin_inset Flex Code
16531 status collapsed
16532
16533 \begin_layout Plain Layout
16534
16535 \emph on
16536 0
16537 \end_layout
16538
16539 \end_inset
16540
16541 ,
16542 \begin_inset space \thinspace{}
16543 \end_inset
16544
16545
16546 \begin_inset Flex Code
16547 status collapsed
16548
16549 \begin_layout Plain Layout
16550 1
16551 \end_layout
16552
16553 \end_inset
16554
16555 ] \SpecialChar LaTeX
16556 出力において,この差込枠が開始する前と終了する後に,改行を強制します.これは,解析上の目的のために,差込枠が単独行に出力されるように保証します.
16557 \end_layout
16558
16559 \begin_layout Description
16560 \begin_inset Flex Code
16561 status collapsed
16562
16563 \begin_layout Plain Layout
16564 ForcePlain
16565 \end_layout
16566
16567 \end_inset
16568
16569  [
16570 \begin_inset Flex Code
16571 status collapsed
16572
16573 \begin_layout Plain Layout
16574
16575 \emph on
16576 0
16577 \end_layout
16578
16579 \end_inset
16580
16581 ,
16582 \begin_inset space \thinspace{}
16583 \end_inset
16584
16585
16586 \begin_inset Flex Code
16587 status collapsed
16588
16589 \begin_layout Plain Layout
16590 1
16591 \end_layout
16592
16593 \end_inset
16594
16595 ] PlainLayoutを使用するべきなのか,それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
16596 \end_layout
16597
16598 \begin_layout Description
16599 \begin_inset Flex Code
16600 status collapsed
16601
16602 \begin_layout Plain Layout
16603 FreeSpacing
16604 \end_layout
16605
16606 \end_inset
16607
16608  [
16609 \emph on
16610
16611 \begin_inset Flex Code
16612 status collapsed
16613
16614 \begin_layout Plain Layout
16615 0
16616 \end_layout
16617
16618 \end_inset
16619
16620
16621 \emph default
16622 ,
16623 \begin_inset space \thinspace{}
16624 \end_inset
16625
16626
16627 \begin_inset Flex Code
16628 status collapsed
16629
16630 \begin_layout Plain Layout
16631 1
16632 \end_layout
16633
16634 \end_inset
16635
16636 ] 段落様式と同様.第
16637 \begin_inset CommandInset ref
16638 LatexCommand ref
16639 reference "subsec:段落様式"
16640
16641 \end_inset
16642
16643 節参照.
16644 \end_layout
16645
16646 \begin_layout Description
16647 \begin_inset Flex Code
16648 status collapsed
16649
16650 \begin_layout Plain Layout
16651 HTML*
16652 \end_layout
16653
16654 \end_inset
16655
16656  これらは,XHTML出力で使用されます.第
16657 \begin_inset CommandInset ref
16658 LatexCommand ref
16659 reference "sec:XHTML出力のタグ"
16660
16661 \end_inset
16662
16663 節をご覧ください.
16664 \end_layout
16665
16666 \begin_layout Description
16667 \begin_inset Flex Code
16668 status collapsed
16669
16670 \begin_layout Plain Layout
16671 InToc
16672 \end_layout
16673
16674 \end_inset
16675
16676  [
16677 \begin_inset Flex Code
16678 status collapsed
16679
16680 \begin_layout Plain Layout
16681
16682 \emph on
16683 0
16684 \end_layout
16685
16686 \end_inset
16687
16688 ,
16689 \begin_inset space \thinspace{}
16690 \end_inset
16691
16692
16693 \begin_inset Flex Code
16694 status collapsed
16695
16696 \begin_layout Plain Layout
16697 1
16698 \end_layout
16699
16700 \end_inset
16701
16702 ] AddToTocの設定に関わらず,「文書構造」面用に出力される文字列に,この差込枠の内容を含めるかどうか.たとえば,節見出しの脚註の内容が,文書構造の目次に
16703 表示されることは望まないでしょうが,通常,文字様式の内容は表示されることを望むでしょう.既定値は偽,すなわち含めません.
16704 \end_layout
16705
16706 \begin_layout Description
16707 \begin_inset Flex Code
16708 status collapsed
16709
16710 \begin_layout Plain Layout
16711 IsTocCaption
16712 \end_layout
16713
16714 \end_inset
16715
16716  [
16717 \begin_inset Flex Code
16718 status collapsed
16719
16720 \begin_layout Plain Layout
16721
16722 \emph on
16723 0
16724 \end_layout
16725
16726 \end_inset
16727
16728 ,
16729 \begin_inset space \thinspace{}
16730 \end_inset
16731
16732
16733 \begin_inset Flex Code
16734 status collapsed
16735
16736 \begin_layout Plain Layout
16737 1
16738 \end_layout
16739
16740 \end_inset
16741
16742 ] AddToTocが有効なときに,これが1に設定されていると,差込枠の内容の要約が,目次項目に表示されます.0の場合は,ラベルのみが表示されます.
16743 \end_layout
16744
16745 \begin_layout Description
16746 \begin_inset Flex Code
16747 status collapsed
16748
16749 \begin_layout Plain Layout
16750 KeepEmpty
16751 \end_layout
16752
16753 \end_inset
16754
16755  [
16756 \emph on
16757
16758 \begin_inset Flex Code
16759 status collapsed
16760
16761 \begin_layout Plain Layout
16762 0
16763 \end_layout
16764
16765 \end_inset
16766
16767
16768 \emph default
16769 ,
16770 \begin_inset space \thinspace{}
16771 \end_inset
16772
16773
16774 \begin_inset Flex Code
16775 status collapsed
16776
16777 \begin_layout Plain Layout
16778 1
16779 \end_layout
16780
16781 \end_inset
16782
16783 ] 段落様式と同様.第
16784 \begin_inset CommandInset ref
16785 LatexCommand ref
16786 reference "subsec:段落様式"
16787
16788 \end_inset
16789
16790 節参照.
16791 \end_layout
16792
16793 \begin_layout Description
16794 \begin_inset Flex Code
16795 status collapsed
16796
16797 \begin_layout Plain Layout
16798 LabelFont
16799 \end_layout
16800
16801 \end_inset
16802
16803  ラベルに使用されるフォント.第
16804 \begin_inset CommandInset ref
16805 LatexCommand ref
16806 reference "subsec:フォント指定"
16807
16808 \end_inset
16809
16810 節を参照.非効率を回避するため,この定義は
16811 \begin_inset Flex Code
16812 status collapsed
16813
16814 \begin_layout Plain Layout
16815 Font
16816 \end_layout
16817
16818 \end_inset
16819
16820 の前には決して現れてはなりません.
16821 \end_layout
16822
16823 \begin_layout Description
16824 \begin_inset Flex Code
16825 status collapsed
16826
16827 \begin_layout Plain Layout
16828 LabelString
16829 \end_layout
16830
16831 \end_inset
16832
16833  [
16834 \begin_inset Flex Code
16835 status collapsed
16836
16837 \begin_layout Plain Layout
16838 文字列
16839 \end_layout
16840
16841 \end_inset
16842
16843 =
16844 \begin_inset Quotes erd
16845 \end_inset
16846
16847
16848 \begin_inset Quotes erd
16849 \end_inset
16850
16851 ]
16852 \lang english
16853  
16854 \lang japanese
16855 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
16856 コードや派生枝),ラベルが動的に変更されます.
16857 \end_layout
16858
16859 \begin_layout Description
16860 \begin_inset Flex Code
16861 status collapsed
16862
16863 \begin_layout Plain Layout
16864 LangPreamble
16865 \end_layout
16866
16867 \end_inset
16868
16869  言語依存のプリアンブル.第
16870 \begin_inset CommandInset ref
16871 LatexCommand ref
16872 reference "subsec:段落様式の国際化"
16873
16874 \end_inset
16875
16876 節参照.
16877 \end_layout
16878
16879 \begin_layout Description
16880 \begin_inset Flex Code
16881 status collapsed
16882
16883 \begin_layout Plain Layout
16884 LatexName
16885 \end_layout
16886
16887 \end_inset
16888
16889  [
16890 \begin_inset Flex Code
16891 status collapsed
16892
16893 \begin_layout Plain Layout
16894 <名称>
16895 \end_layout
16896
16897 \end_inset
16898
16899 ] 対応する\SpecialChar LaTeX
16900 関連物の名称.環境名ないしはコマンド名.
16901 \end_layout
16902
16903 \begin_layout Description
16904 \begin_inset Flex Code
16905 status collapsed
16906
16907 \begin_layout Plain Layout
16908 LatexParam
16909 \end_layout
16910
16911 \end_inset
16912
16913  [
16914 \begin_inset Flex Code
16915 status collapsed
16916
16917 \begin_layout Plain Layout
16918 <パラメータ>
16919 \end_layout
16920
16921 \end_inset
16922
16923 ]
16924 \lang english
16925  
16926 \lang japanese
16927 対応する
16928 \begin_inset Flex Code
16929 status collapsed
16930
16931 \begin_layout Plain Layout
16932 LatexName
16933 \end_layout
16934
16935 \end_inset
16936
16937 関連物の非必須パラメータ.
16938 \begin_inset Flex Code
16939 status collapsed
16940
16941 \begin_layout Plain Layout
16942 []
16943 \end_layout
16944
16945 \end_inset
16946
16947 のような括弧対を含む.このパラメータは\SpecialChar LyX
16948 内部から変更することはできません(変更可能なパラメータには
16949 \begin_inset Flex Code
16950 status collapsed
16951
16952 \begin_layout Plain Layout
16953 Argument
16954 \end_layout
16955
16956 \end_inset
16957
16958 を使用してください).これは,全ての\SpecialChar LaTeX
16959  
16960 \begin_inset Flex Code
16961 status collapsed
16962
16963 \begin_layout Plain Layout
16964 Argument
16965 \end_layout
16966
16967 \end_inset
16968
16969 の後にそのままの形で出力されます.
16970 \end_layout
16971
16972 \begin_layout Description
16973 \begin_inset Flex Code
16974 status collapsed
16975
16976 \begin_layout Plain Layout
16977 LatexType
16978 \end_layout
16979
16980 \end_inset
16981
16982  [
16983 \begin_inset Flex Code
16984 status collapsed
16985
16986 \begin_layout Plain Layout
16987 Command, Environment, None
16988 \end_layout
16989
16990 \end_inset
16991
16992 ] 様式がどのように\SpecialChar LaTeX
16993 に変換されるべきかを示します
16994 \begin_inset Foot
16995 status collapsed
16996
16997 \begin_layout Plain Layout
16998 これらのルールはSGMLクラスにも適用されるので,
16999 \begin_inset Flex Code
17000 status collapsed
17001
17002 \begin_layout Plain Layout
17003 LatexType
17004 \end_layout
17005
17006 \end_inset
17007
17008 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイルを見てください.
17009 \end_layout
17010
17011 \end_inset
17012
17013
17014 \end_layout
17015
17016 \begin_deeper
17017 \begin_layout Description
17018 \begin_inset Flex Code
17019 status collapsed
17020
17021 \begin_layout Plain Layout
17022 None
17023 \end_layout
17024
17025 \end_inset
17026
17027  は,何も特別なことは意味しません
17028 \end_layout
17029
17030 \begin_layout Description
17031 \begin_inset Flex Code
17032 status collapsed
17033
17034 \begin_layout Plain Layout
17035 Command
17036 \end_layout
17037
17038 \end_inset
17039
17040  は,
17041 \begin_inset Flex Code
17042 status collapsed
17043
17044 \begin_layout Plain Layout
17045
17046 \backslash
17047
17048 \emph on
17049 LatexName
17050 \emph default
17051 {\SpecialChar ldots
17052 }
17053 \end_layout
17054
17055 \end_inset
17056
17057 を意味します
17058 \end_layout
17059
17060 \begin_layout Description
17061 \begin_inset Flex Code
17062 status collapsed
17063
17064 \begin_layout Plain Layout
17065 Environment
17066 \end_layout
17067
17068 \end_inset
17069
17070  は,
17071 \begin_inset Flex Code
17072 status collapsed
17073
17074 \begin_layout Plain Layout
17075
17076 \backslash
17077 begin{
17078 \emph on
17079 LatexName
17080 \emph default
17081 }\SpecialChar ldots
17082
17083 \backslash
17084 end{
17085 \emph on
17086 LatexName
17087 \emph default
17088 }
17089 \end_layout
17090
17091 \end_inset
17092
17093 を意味します
17094 \end_layout
17095
17096 \begin_layout Standard
17097 上記最後のいくつかをまとめると,\SpecialChar LaTeX
17098 出力は,\SpecialChar LaTeX
17099 型に依存して
17100 \end_layout
17101
17102 \begin_layout LyX-Code
17103
17104 \backslash
17105 LatexName[LatexParam]{\SpecialChar ldots
17106 }
17107 \end_layout
17108
17109 \begin_layout Standard
17110 のようになるか,
17111 \end_layout
17112
17113 \begin_layout LyX-Code
17114
17115 \backslash
17116 begin{LatexName}[LatexParam] \SpecialChar ldots
17117  
17118 \backslash
17119 end{LatexName}.
17120 \end_layout
17121
17122 \begin_layout Standard
17123 となります.
17124 \end_layout
17125
17126 \end_deeper
17127 \begin_layout Description
17128 \begin_inset Flex Code
17129 status collapsed
17130
17131 \begin_layout Plain Layout
17132 LeftDelim
17133 \end_layout
17134
17135 \end_inset
17136
17137  [
17138 \begin_inset Flex Code
17139 status collapsed
17140
17141 \begin_layout Plain Layout
17142 文字列
17143 \end_layout
17144
17145 \end_inset
17146
17147 ] 様式の内容の最初に置かれる文字列.出力中の改行は
17148 \begin_inset Flex Code
17149 status collapsed
17150
17151 \begin_layout Plain Layout
17152 <br/>
17153 \end_layout
17154
17155 \end_inset
17156
17157 で指示できます.
17158 \end_layout
17159
17160 \begin_layout Description
17161 \begin_inset Flex Code
17162 status collapsed
17163
17164 \begin_layout Plain Layout
17165 LyxType
17166 \end_layout
17167
17168 \end_inset
17169
17170  
17171 \begin_inset Flex Code
17172 status collapsed
17173
17174 \begin_layout Plain Layout
17175 charstyle
17176 \end_layout
17177
17178 \end_inset
17179
17180
17181 \begin_inset Flex Code
17182 status collapsed
17183
17184 \begin_layout Plain Layout
17185 custom
17186 \end_layout
17187
17188 \end_inset
17189
17190
17191 \begin_inset Flex Code
17192 status collapsed
17193
17194 \begin_layout Plain Layout
17195 element
17196 \end_layout
17197
17198 \end_inset
17199
17200
17201 \begin_inset Flex Code
17202 status collapsed
17203
17204 \begin_layout Plain Layout
17205 end
17206 \end_layout
17207
17208 \end_inset
17209
17210 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,自由差込枠に必須であり,かつ自由差込枠でしか意味を持ちません.こ
17211 の項目は,就中,差込枠がどのメニューに表示されるかを決定します.
17212 \begin_inset Flex Code
17213 status collapsed
17214
17215 \begin_layout Plain Layout
17216 LyxType
17217 \end_layout
17218
17219 \end_inset
17220
17221
17222 \begin_inset Flex Code
17223 status collapsed
17224
17225 \begin_layout Plain Layout
17226 charstyle
17227 \end_layout
17228
17229 \end_inset
17230
17231 に設定すると,
17232 \begin_inset Flex Code
17233 status collapsed
17234
17235 \begin_layout Plain Layout
17236 MultiPar
17237 \end_layout
17238
17239 \end_inset
17240
17241 が偽に設定されます
17242 \lang english
17243  and 
17244 \lang japanese
17245
17246 \begin_inset Flex Code
17247 status collapsed
17248
17249 \begin_layout Plain Layout
17250 ForcePlain
17251 \end_layout
17252
17253 \end_inset
17254
17255
17256 \lang english
17257  to true
17258 \lang japanese
17259 .文字様式差込枠で
17260 \begin_inset Flex Code
17261 status collapsed
17262
17263 \begin_layout Plain Layout
17264 MultiPar
17265 \end_layout
17266
17267 \end_inset
17268
17269 を真にしたい時には
17270 \lang english
17271 , or 
17272 \lang japanese
17273
17274 \begin_inset Flex Code
17275 status collapsed
17276
17277 \begin_layout Plain Layout
17278 ForcePlain
17279 \end_layout
17280
17281 \end_inset
17282
17283
17284 \lang english
17285  to false
17286 \lang japanese
17287
17288 \begin_inset Flex Code
17289 status collapsed
17290
17291 \begin_layout Plain Layout
17292 LyxType
17293 \end_layout
17294
17295 \end_inset
17296
17297 を設定した
17298 \emph on
17299 後に
17300 \emph default
17301 設定すれば,真に設定することができます.
17302 \end_layout
17303
17304 \begin_layout Description
17305 \begin_inset Flex Code
17306 status collapsed
17307
17308 \begin_layout Plain Layout
17309 MultiPar
17310 \end_layout
17311
17312 \end_inset
17313
17314  [
17315 \begin_inset Flex Code
17316 status collapsed
17317
17318 \begin_layout Plain Layout
17319
17320 \emph on
17321 0
17322 \end_layout
17323
17324 \end_inset
17325
17326 ,
17327 \begin_inset space \thinspace{}
17328 \end_inset
17329
17330
17331 \begin_inset Flex Code
17332 status collapsed
17333
17334 \begin_layout Plain Layout
17335 1
17336 \end_layout
17337
17338 \end_inset
17339
17340 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
17341 \begin_inset Flex Code
17342 status collapsed
17343
17344 \begin_layout Plain Layout
17345 CustomPars
17346 \end_layout
17347
17348 \end_inset
17349
17350 を同じ値に設定し,
17351 \begin_inset Flex Code
17352 status collapsed
17353
17354 \begin_layout Plain Layout
17355 ForcePlain
17356 \end_layout
17357
17358 \end_inset
17359
17360 を逆の値に設定します.これらは,
17361 \begin_inset Flex Code
17362 status collapsed
17363
17364 \begin_layout Plain Layout
17365 MultiPar
17366 \end_layout
17367
17368 \end_inset
17369
17370
17371 \emph on
17372 後に
17373 \emph default
17374 指定されれば,他の値に指定し直すことができます.既定値は真です.
17375 \end_layout
17376
17377 \begin_layout Description
17378 \begin_inset Flex Code
17379 status collapsed
17380
17381 \begin_layout Plain Layout
17382 NeedProtect
17383 \end_layout
17384
17385 \end_inset
17386
17387  [
17388 \begin_inset Flex Code
17389 status collapsed
17390
17391 \begin_layout Plain Layout
17392
17393 \emph on
17394 0
17395 \end_layout
17396
17397 \end_inset
17398
17399 ,
17400 \begin_inset space \thinspace{}
17401 \end_inset
17402
17403
17404 \begin_inset Flex Code
17405 status collapsed
17406
17407 \begin_layout Plain Layout
17408 1
17409 \end_layout
17410
17411 \end_inset
17412
17413 ] 本レイアウト中で脆弱なコマンドを
17414 \begin_inset Flex Code
17415 status collapsed
17416
17417 \begin_layout Plain Layout
17418
17419 \backslash
17420 protect
17421 \end_layout
17422
17423 \end_inset
17424
17425 するか否か(註:当該コマンド自身をprotectするかどうかでは
17426 \emph on
17427 ありません
17428 \emph default
17429 ).既定値は偽です.
17430 \end_layout
17431
17432 \begin_layout Description
17433 \begin_inset Flex Code
17434 status collapsed
17435
17436 \begin_layout Plain Layout
17437 NoInsetLayout
17438 \end_layout
17439
17440 \end_inset
17441
17442  [
17443 \begin_inset Flex Code
17444 status collapsed
17445
17446 \begin_layout Plain Layout
17447 <レイアウト>
17448 \end_layout
17449
17450 \end_inset
17451
17452 ] 既存の
17453 \begin_inset Flex Code
17454 status collapsed
17455
17456 \begin_layout Plain Layout
17457 InsetLayout
17458 \end_layout
17459
17460 \end_inset
17461
17462 を削除します.
17463 \end_layout
17464
17465 \begin_layout Description
17466 \begin_inset Flex Code
17467 status collapsed
17468
17469 \begin_layout Plain Layout
17470 ObsoletedBy
17471 \end_layout
17472
17473 \end_inset
17474
17475  [
17476 \begin_inset Flex Code
17477 status collapsed
17478
17479 \begin_layout Plain Layout
17480 <レイアウト>
17481 \end_layout
17482
17483 \end_inset
17484
17485 ] この古い
17486 \begin_inset Flex Code
17487 status collapsed
17488
17489 \begin_layout Plain Layout
17490 InsetLayout
17491 \end_layout
17492
17493 \end_inset
17494
17495 を引き継いだ
17496 \begin_inset Flex Code
17497 status collapsed
17498
17499 \begin_layout Plain Layout
17500 InsetLayout
17501 \end_layout
17502
17503 \end_inset
17504
17505 の名称.これは,
17506 \begin_inset Flex Code
17507 status collapsed
17508
17509 \begin_layout Plain Layout
17510 InsetLayout
17511 \end_layout
17512
17513 \end_inset
17514
17515 の改名を,後方互換性を維持しながら行うために用いられます.
17516 \end_layout
17517
17518 \begin_layout Description
17519 \begin_inset Flex Code
17520 status collapsed
17521
17522 \begin_layout Plain Layout
17523 ParbreakIsNewline
17524 \end_layout
17525
17526 \end_inset
17527
17528  [
17529 \begin_inset Flex Code
17530 status collapsed
17531
17532 \begin_layout Plain Layout
17533
17534 \emph on
17535 0
17536 \end_layout
17537
17538 \end_inset
17539
17540 ,
17541 \begin_inset space \thinspace{}
17542 \end_inset
17543
17544
17545 \begin_inset Flex Code
17546 status collapsed
17547
17548 \begin_layout Plain Layout
17549 1
17550 \end_layout
17551
17552 \end_inset
17553
17554 ] 段落様式と同様.第
17555 \begin_inset CommandInset ref
17556 LatexCommand ref
17557 reference "subsec:段落様式"
17558
17559 \end_inset
17560
17561 節参照.
17562 \end_layout
17563
17564 \begin_layout Description
17565 \begin_inset Flex Code
17566 status collapsed
17567
17568 \begin_layout Plain Layout
17569 PassThru
17570 \end_layout
17571
17572 \end_inset
17573
17574  [
17575 \emph on
17576
17577 \begin_inset Flex Code
17578 status collapsed
17579
17580 \begin_layout Plain Layout
17581 0
17582 \end_layout
17583
17584 \end_inset
17585
17586
17587 \emph default
17588 ,
17589 \begin_inset space \thinspace{}
17590 \end_inset
17591
17592
17593 \begin_inset Flex Code
17594 status collapsed
17595
17596 \begin_layout Plain Layout
17597 1
17598 \end_layout
17599
17600 \end_inset
17601
17602 ] 段落様式と同様.第
17603 \begin_inset CommandInset ref
17604 LatexCommand ref
17605 reference "subsec:段落様式"
17606
17607 \end_inset
17608
17609 節参照.
17610 \end_layout
17611
17612 \begin_layout Description
17613 \begin_inset Flex Code
17614 status collapsed
17615
17616 \begin_layout Plain Layout
17617 Preamble
17618 \end_layout
17619
17620 \end_inset
17621
17622  段落様式と同様.第
17623 \begin_inset CommandInset ref
17624 LatexCommand ref
17625 reference "subsec:段落様式"
17626
17627 \end_inset
17628
17629 節参照.
17630 \end_layout
17631
17632 \begin_layout Description
17633 \begin_inset Flex Code
17634 status collapsed
17635
17636 \begin_layout Plain Layout
17637 RefPrefix
17638 \end_layout
17639
17640 \end_inset
17641
17642  [
17643 \begin_inset Flex Code
17644 status collapsed
17645
17646 \begin_layout Plain Layout
17647 文字列
17648 \end_layout
17649
17650 \end_inset
17651
17652 ] この型の差込枠を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
17653 \end_layout
17654
17655 \begin_layout Description
17656 \begin_inset Flex Code
17657 status collapsed
17658
17659 \begin_layout Plain Layout
17660 Requires
17661 \end_layout
17662
17663 \end_inset
17664
17665  [
17666 \begin_inset Flex Code
17667 status collapsed
17668
17669 \begin_layout Plain Layout
17670 文字列
17671 \end_layout
17672
17673 \end_inset
17674
17675 ] 段落様式と同様.第
17676 \begin_inset CommandInset ref
17677 LatexCommand ref
17678 reference "subsec:段落様式"
17679
17680 \end_inset
17681
17682 節参照.
17683 \end_layout
17684
17685 \begin_layout Description
17686 \begin_inset Flex Code
17687 status collapsed
17688
17689 \begin_layout Plain Layout
17690 ResetArgs
17691 \end_layout
17692
17693 \end_inset
17694
17695  [
17696 \begin_inset Flex Code
17697 status collapsed
17698
17699 \begin_layout Plain Layout
17700
17701 \emph on
17702 0
17703 \end_layout
17704
17705 \end_inset
17706
17707 ,
17708 \begin_inset space \thinspace{}
17709 \end_inset
17710
17711
17712 \begin_inset Flex Code
17713 status collapsed
17714
17715 \begin_layout Plain Layout
17716 1
17717 \end_layout
17718
17719 \end_inset
17720
17721 ] (
17722 \begin_inset Flex Code
17723 status collapsed
17724
17725 \begin_layout Plain Layout
17726 Argument
17727 \end_layout
17728
17729 \end_inset
17730
17731 タグで定義された)この様式の\SpecialChar LaTeX
17732 引数をリセットします.これは,様式を
17733 \begin_inset Flex Code
17734 status collapsed
17735
17736 \begin_layout Plain Layout
17737 CopyStyle
17738 \end_layout
17739
17740 \end_inset
17741
17742 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
17743 \end_layout
17744
17745 \begin_layout Description
17746 \begin_inset Flex Code
17747 status collapsed
17748
17749 \begin_layout Plain Layout
17750 ResetsFont
17751 \end_layout
17752
17753 \end_inset
17754
17755  [
17756 \begin_inset Flex Code
17757 status collapsed
17758
17759 \begin_layout Plain Layout
17760 0
17761 \end_layout
17762
17763 \end_inset
17764
17765 ,
17766 \begin_inset space \thinspace{}
17767 \end_inset
17768
17769
17770 \begin_inset Flex Code
17771 status collapsed
17772
17773 \begin_layout Plain Layout
17774
17775 \emph on
17776 1
17777 \end_layout
17778
17779 \end_inset
17780
17781 ] この差込枠が周囲の環境と同じフォントを用いるか,独自のフォントを用いるか.既定値は真,すなわち独自のフォントを用います.
17782 \begin_inset Note Note
17783 status open
17784
17785 \begin_layout Plain Layout
17786 This is outdated: The default changed from 1 to 0
17787 \end_layout
17788
17789 \end_inset
17790
17791
17792 \end_layout
17793
17794 \begin_layout Description
17795 \begin_inset Flex Code
17796 status collapsed
17797
17798 \begin_layout Plain Layout
17799 RightDelim
17800 \end_layout
17801
17802 \end_inset
17803
17804  [
17805 \begin_inset Flex Code
17806 status collapsed
17807
17808 \begin_layout Plain Layout
17809 文字列
17810 \end_layout
17811
17812 \end_inset
17813
17814 ] 様式の内容の最後に置かれる文字列.出力中の改行は
17815 \begin_inset Flex Code
17816 status collapsed
17817
17818 \begin_layout Plain Layout
17819 <br/>
17820 \end_layout
17821
17822 \end_inset
17823
17824 で指示できます.
17825 \end_layout
17826
17827 \begin_layout Description
17828 \begin_inset Flex Code
17829 status collapsed
17830
17831 \begin_layout Plain Layout
17832 Spellcheck
17833 \end_layout
17834
17835 \end_inset
17836
17837  [
17838 \begin_inset Flex Code
17839 status collapsed
17840
17841 \begin_layout Plain Layout
17842 0
17843 \end_layout
17844
17845 \end_inset
17846
17847 ,
17848 \begin_inset space \thinspace{}
17849 \end_inset
17850
17851
17852 \begin_inset Flex Code
17853 status collapsed
17854
17855 \begin_layout Plain Layout
17856
17857 \emph on
17858 1
17859 \end_layout
17860
17861 \end_inset
17862
17863 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
17864 \end_layout
17865
17866 \begin_layout Subsection
17867 カウンタ
17868 \begin_inset CommandInset label
17869 LatexCommand label
17870 name "subsec:カウンタ"
17871
17872 \end_inset
17873
17874
17875 \end_layout
17876
17877 \begin_layout Standard
17878 テキストクラスには,カウンタ(
17879 \begin_inset Flex MenuItem
17880 status collapsed
17881
17882 \begin_layout Plain Layout
17883 chapter
17884 \end_layout
17885
17886 \end_inset
17887
17888
17889 \begin_inset Flex MenuItem
17890 status collapsed
17891
17892 \begin_layout Plain Layout
17893 figure
17894 \end_layout
17895
17896 \end_inset
17897
17898 ・\SpecialChar ldots
17899 )を定義することが必要です.標準的なカウンタは
17900 \begin_inset Flex Code
17901 status collapsed
17902
17903 \begin_layout Plain Layout
17904 stdcounters.inc
17905 \end_layout
17906
17907 \end_inset
17908
17909 ファイルに含まれているので,作業中のレイアウトファイルに
17910 \end_layout
17911
17912 \begin_layout LyX-Code
17913 Input stdcounters.inc
17914 \end_layout
17915
17916 \begin_layout Standard
17917 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,そうすることもできます.カウンタ宣言は,
17918 \end_layout
17919
17920 \begin_layout LyX-Code
17921 Counter カウンタ名
17922 \end_layout
17923
17924 \begin_layout Standard
17925 で始まらなくてはなりません.ここで「
17926 \begin_inset Flex Code
17927 status collapsed
17928
17929 \begin_layout Plain Layout
17930 カウンタ名
17931 \end_layout
17932
17933 \end_inset
17934
17935 」は,実際のカウンタ名で置き換えます.また,宣言は「
17936 \begin_inset Flex Code
17937 status collapsed
17938
17939 \begin_layout Plain Layout
17940 End
17941 \end_layout
17942
17943 \end_inset
17944
17945 」で終わらなくてはなりません.
17946 \end_layout
17947
17948 \begin_layout Standard
17949 以下のパラメータを使用することができます.
17950 \end_layout
17951
17952 \begin_layout Description
17953 \begin_inset Flex Code
17954 status collapsed
17955
17956 \begin_layout Plain Layout
17957 InitialValue
17958 \end_layout
17959
17960 \end_inset
17961
17962  [
17963 \begin_inset Flex Code
17964 status collapsed
17965
17966 \begin_layout Plain Layout
17967 整数=1
17968 \end_layout
17969
17970 \end_inset
17971
17972 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,既定値1のままで充分でしょう.
17973 \end_layout
17974
17975 \begin_layout Description
17976 \begin_inset Flex Code
17977 status collapsed
17978
17979 \begin_layout Plain Layout
17980 LabelString [文字列=""]
17981 \end_layout
17982
17983 \end_inset
17984
17985  定義されていると,ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
17986 \begin_inset Flex Code
17987 status collapsed
17988
17989 \begin_layout Plain Layout
17990 LabelStringAppendix
17991 \end_layout
17992
17993 \end_inset
17994
17995 も同じ値に設定されます.文字列中では,以下の構成要素を使用することができます.
17996 \end_layout
17997
17998 \begin_deeper
17999 \begin_layout Itemize
18000 \begin_inset Flex Code
18001 status collapsed
18002
18003 \begin_layout Plain Layout
18004
18005 \backslash
18006 thecounter
18007 \end_layout
18008
18009 \end_inset
18010
18011 は,カウンタ
18012 \begin_inset Flex Code
18013 status collapsed
18014
18015 \begin_layout Plain Layout
18016 counter
18017 \end_layout
18018
18019 \end_inset
18020
18021
18022 \begin_inset Flex Code
18023 status collapsed
18024
18025 \begin_layout Plain Layout
18026 LabelString
18027 \end_layout
18028
18029 \end_inset
18030
18031 (または
18032 \begin_inset Newline linebreak
18033 \end_inset
18034
18035
18036 \begin_inset Flex Code
18037 status collapsed
18038
18039 \begin_layout Plain Layout
18040 LabelStringAppendix
18041 \end_layout
18042
18043 \end_inset
18044
18045 )を展開したもので置き換えられます. 
18046 \end_layout
18047
18048 \begin_layout Itemize
18049 カウンタ値は,\SpecialChar LaTeX
18050 型マクロ
18051 \begin_inset Flex Code
18052 status collapsed
18053
18054 \begin_layout Plain Layout
18055
18056 \backslash
18057
18058 \emph on
18059 numbertype
18060 \emph default
18061 {
18062 \emph on
18063 カウンタ
18064 \emph default
18065 }
18066 \end_layout
18067
18068 \end_inset
18069
18070 を用いて表現することができます.ここで
18071 \begin_inset Flex Code
18072 status collapsed
18073
18074 \begin_layout Plain Layout
18075
18076 \emph on
18077 numbertype
18078 \end_layout
18079
18080 \end_inset
18081
18082 は以下のいずれかです.
18083 \begin_inset Flex Code
18084 status collapsed
18085
18086 \begin_layout Plain Layout
18087 arabic
18088 \end_layout
18089
18090 \end_inset
18091
18092 :1, 2, 3,\SpecialChar ldots
18093
18094 \begin_inset Flex Code
18095 status collapsed
18096
18097 \begin_layout Plain Layout
18098 alph
18099 \end_layout
18100
18101 \end_inset
18102
18103 :a, b, c, \SpecialChar ldots
18104 (小文字);
18105 \begin_inset Flex Code
18106 status collapsed
18107
18108 \begin_layout Plain Layout
18109 Alph
18110 \end_layout
18111
18112 \end_inset
18113
18114 :A, B, C, \SpecialChar ldots
18115 (大文字);
18116 \begin_inset Flex Code
18117 status collapsed
18118
18119 \begin_layout Plain Layout
18120 roman
18121 \end_layout
18122
18123 \end_inset
18124
18125 :i, ii, iii, \SpecialChar ldots
18126 (小文字ローマ数字);
18127 \begin_inset Flex Code
18128 status collapsed
18129
18130 \begin_layout Plain Layout
18131 Roman
18132 \end_layout
18133
18134 \end_inset
18135
18136 :I, II, III\SpecialChar ldots
18137 (大文字ローマ数字).
18138 \end_layout
18139
18140 \end_deeper
18141 \begin_layout Standard
18142 \begin_inset Flex Code
18143 status collapsed
18144
18145 \begin_layout Plain Layout
18146 LabelString
18147 \end_layout
18148
18149 \end_inset
18150
18151 が定義されていないときは,既定値は以下のように組み立てられます.このカウンタに親カウンタ
18152 \begin_inset Flex Code
18153 status collapsed
18154
18155 \begin_layout Plain Layout
18156 master
18157 \end_layout
18158
18159 \end_inset
18160
18161
18162 \begin_inset Flex Code
18163 status collapsed
18164
18165 \begin_layout Plain Layout
18166 Within
18167 \end_layout
18168
18169 \end_inset
18170
18171 で定義)があるときには,文字列
18172 \begin_inset Newline linebreak
18173 \end_inset
18174
18175
18176 \begin_inset Flex Code
18177 status collapsed
18178
18179 \begin_layout Plain Layout
18180
18181 \backslash
18182 themaster.
18183 \backslash
18184 arabic{カウンタ}
18185 \end_layout
18186
18187 \end_inset
18188
18189 が使用されます.それ以外の場合は,
18190 \begin_inset Flex Code
18191 status collapsed
18192
18193 \begin_layout Plain Layout
18194
18195 \backslash
18196 arabic{カウンタ}
18197 \end_layout
18198
18199 \end_inset
18200
18201 が使用されます.
18202 \end_layout
18203
18204 \begin_layout Description
18205 \begin_inset Flex Code
18206 status collapsed
18207
18208 \begin_layout Plain Layout
18209 LabelStringAppendix
18210 \end_layout
18211
18212 \end_inset
18213
18214  [
18215 \begin_inset Flex Code
18216 status collapsed
18217
18218 \begin_layout Plain Layout
18219 文字列
18220 \end_layout
18221
18222 \end_inset
18223
18224 =""] 
18225 \begin_inset Flex Code
18226 status collapsed
18227
18228 \begin_layout Plain Layout
18229 LabelString
18230 \end_layout
18231
18232 \end_inset
18233
18234 と同様ですが,付録で使用するためのものです.
18235 \end_layout
18236
18237 \begin_layout Description
18238 \begin_inset Flex Code
18239 status collapsed
18240
18241 \begin_layout Plain Layout
18242 PrettyFormat
18243 \end_layout
18244
18245 \end_inset
18246
18247  [
18248 \begin_inset Flex Code
18249 status collapsed
18250
18251 \begin_layout Plain Layout
18252 文字列
18253 \end_layout
18254
18255 \end_inset
18256
18257 =
18258 \begin_inset Quotes erd
18259 \end_inset
18260
18261
18262 \begin_inset Quotes erd
18263 \end_inset
18264
18265 ] このカウンタの整形参照で使用する書式.たとえば,節番号への参照を「Section
18266 \begin_inset space ~
18267 \end_inset
18268
18269 2.4」のように表示させたい場合には,文字列に「##」を含めます.これは,カウンタ番号で置換されます.したがって,節の場合には「Section ##」のようにしま
18270 す.
18271 \end_layout
18272
18273 \begin_layout Description
18274 \begin_inset Flex Code
18275 status collapsed
18276
18277 \begin_layout Plain Layout
18278 Within
18279 \end_layout
18280
18281 \end_inset
18282
18283  [
18284 \begin_inset Flex Code
18285 status collapsed
18286
18287 \begin_layout Plain Layout
18288 文字列
18289 \end_layout
18290
18291 \end_inset
18292
18293 =
18294 \begin_inset Quotes erd
18295 \end_inset
18296
18297
18298 \begin_inset Quotes erd
18299 \end_inset
18300
18301 ] これを別のカウンタ名に設定すると,現在のカウンタは,別のカウンタが増加する毎にリセットされます.たとえば,
18302 \begin_inset Flex Code
18303 status collapsed
18304
18305 \begin_layout Plain Layout
18306 subsection
18307 \end_layout
18308
18309 \end_inset
18310
18311
18312 \begin_inset Flex Code
18313 status collapsed
18314
18315 \begin_layout Plain Layout
18316 section
18317 \end_layout
18318
18319 \end_inset
18320
18321 毎に番号がリセットされます.
18322 \end_layout
18323
18324 \begin_layout Subsection
18325 フォント指定
18326 \begin_inset CommandInset label
18327 LatexCommand label
18328 name "subsec:フォント指定"
18329
18330 \end_inset
18331
18332
18333 \end_layout
18334
18335 \begin_layout Standard
18336 フォント指定は,以下のような形を取ります.
18337 \end_layout
18338
18339 \begin_layout LyX-Code
18340 Font 
18341 \family roman
18342 \emph on
18343 または
18344 \family default
18345 \emph default
18346  LabelFont 
18347 \family roman
18348 \emph on
18349 または
18350 \family default
18351 \emph default
18352  DefaultFont
18353 \end_layout
18354
18355 \begin_layout LyX-Code
18356  ...
18357 \end_layout
18358
18359 \begin_layout LyX-Code
18360 EndFont
18361 \end_layout
18362
18363 \begin_layout Standard
18364 以下のコマンドを使用することができます.
18365 \end_layout
18366
18367 \begin_layout Description
18368 \begin_inset Flex Code
18369 status collapsed
18370
18371 \begin_layout Plain Layout
18372 Color
18373 \end_layout
18374
18375 \end_inset
18376
18377  [
18378 \begin_inset Flex Code
18379 status collapsed
18380
18381 \begin_layout Plain Layout
18382
18383 \emph on
18384 none
18385 \end_layout
18386
18387 \end_inset
18388
18389
18390 \begin_inset Flex Code
18391 status collapsed
18392
18393 \begin_layout Plain Layout
18394 black
18395 \end_layout
18396
18397 \end_inset
18398
18399
18400 \begin_inset Flex Code
18401 status collapsed
18402
18403 \begin_layout Plain Layout
18404 white
18405 \end_layout
18406
18407 \end_inset
18408
18409
18410 \begin_inset Flex Code
18411 status collapsed
18412
18413 \begin_layout Plain Layout
18414 red
18415 \end_layout
18416
18417 \end_inset
18418
18419
18420 \begin_inset Flex Code
18421 status collapsed
18422
18423 \begin_layout Plain Layout
18424 green
18425 \end_layout
18426
18427 \end_inset
18428
18429
18430 \begin_inset Flex Code
18431 status collapsed
18432
18433 \begin_layout Plain Layout
18434 blue
18435 \end_layout
18436
18437 \end_inset
18438
18439
18440 \begin_inset Flex Code
18441 status collapsed
18442
18443 \begin_layout Plain Layout
18444 cyan
18445 \end_layout
18446
18447 \end_inset
18448
18449
18450 \begin_inset Flex Code
18451 status collapsed
18452
18453 \begin_layout Plain Layout
18454 magenta
18455 \end_layout
18456
18457 \end_inset
18458
18459
18460 \begin_inset Flex Code
18461 status collapsed
18462
18463 \begin_layout Plain Layout
18464 yellow
18465 \end_layout
18466
18467 \end_inset
18468
18469
18470 \begin_inset Flex Code
18471 status collapsed
18472
18473 \begin_layout Plain Layout
18474 brown
18475 \end_layout
18476
18477 \end_inset
18478
18479
18480 \begin_inset Flex Code
18481 status collapsed
18482
18483 \begin_layout Plain Layout
18484 darkgray
18485 \end_layout
18486
18487 \end_inset
18488
18489
18490 \begin_inset Flex Code
18491 status collapsed
18492
18493 \begin_layout Plain Layout
18494 gray
18495 \end_layout
18496
18497 \end_inset
18498
18499
18500 \begin_inset Flex Code
18501 status collapsed
18502
18503 \begin_layout Plain Layout
18504 lightgray
18505 \end_layout
18506
18507 \end_inset
18508
18509
18510 \begin_inset Flex Code
18511 status collapsed
18512
18513 \begin_layout Plain Layout
18514 lime
18515 \end_layout
18516
18517 \end_inset
18518
18519
18520 \begin_inset Flex Code
18521 status collapsed
18522
18523 \begin_layout Plain Layout
18524 orange
18525 \end_layout
18526
18527 \end_inset
18528
18529
18530 \begin_inset Flex Code
18531 status collapsed
18532
18533 \begin_layout Plain Layout
18534 olive
18535 \end_layout
18536
18537 \end_inset
18538
18539
18540 \begin_inset Flex Code
18541 status collapsed
18542
18543 \begin_layout Plain Layout
18544 pink
18545 \end_layout
18546
18547 \end_inset
18548
18549
18550 \begin_inset Flex Code
18551 status collapsed
18552
18553 \begin_layout Plain Layout
18554 purple
18555 \end_layout
18556
18557 \end_inset
18558
18559
18560 \begin_inset Flex Code
18561 status collapsed
18562
18563 \begin_layout Plain Layout
18564 teal
18565 \end_layout
18566
18567 \end_inset
18568
18569
18570 \begin_inset Flex Code
18571 status collapsed
18572
18573 \begin_layout Plain Layout
18574 violet
18575 \end_layout
18576
18577 \end_inset
18578
18579 ]
18580 \end_layout
18581
18582 \begin_layout Description
18583 \begin_inset Flex Code
18584 status collapsed
18585
18586 \begin_layout Plain Layout
18587 Family
18588 \end_layout
18589
18590 \end_inset
18591
18592  [
18593 \emph on
18594
18595 \begin_inset Flex Code
18596 status collapsed
18597
18598 \begin_layout Plain Layout
18599 Roman
18600 \end_layout
18601
18602 \end_inset
18603
18604
18605 \emph default
18606
18607 \begin_inset Flex Code
18608 status collapsed
18609
18610 \begin_layout Plain Layout
18611 Sans
18612 \end_layout
18613
18614 \end_inset
18615
18616
18617 \begin_inset Flex Code
18618 status collapsed
18619
18620 \begin_layout Plain Layout
18621 Typewriter
18622 \end_layout
18623
18624 \end_inset
18625
18626
18627 \end_layout
18628
18629 \begin_layout Description
18630 \begin_inset Flex Code
18631 status collapsed
18632
18633 \begin_layout Plain Layout
18634 Misc
18635 \end_layout
18636
18637 \end_inset
18638
18639  [
18640 \begin_inset Flex Code
18641 status collapsed
18642
18643 \begin_layout Plain Layout
18644 文字列
18645 \end_layout
18646
18647 \end_inset
18648
18649 ] 有効な引数は,
18650 \begin_inset Flex Code
18651 status collapsed
18652
18653 \begin_layout Plain Layout
18654 emph
18655 \end_layout
18656
18657 \end_inset
18658
18659
18660 \begin_inset Flex Code
18661 status collapsed
18662
18663 \begin_layout Plain Layout
18664 noun
18665 \end_layout
18666
18667 \end_inset
18668
18669
18670 \begin_inset Flex Code
18671 status collapsed
18672
18673 \begin_layout Plain Layout
18674 strikeout
18675 \end_layout
18676
18677 \end_inset
18678
18679
18680 \begin_inset Flex Code
18681 status collapsed
18682
18683 \begin_layout Plain Layout
18684 underbar
18685 \end_layout
18686
18687 \end_inset
18688
18689
18690 \begin_inset Flex Code
18691 status collapsed
18692
18693 \begin_layout Plain Layout
18694 uuline
18695 \end_layout
18696
18697 \end_inset
18698
18699
18700 \begin_inset Flex Code
18701 status collapsed
18702
18703 \begin_layout Plain Layout
18704 uwave
18705 \end_layout
18706
18707 \end_inset
18708
18709
18710 \begin_inset Flex Code
18711 status collapsed
18712
18713 \begin_layout Plain Layout
18714 no_emph
18715 \end_layout
18716
18717 \end_inset
18718
18719
18720 \begin_inset Flex Code
18721 status collapsed
18722
18723 \begin_layout Plain Layout
18724 no_noun
18725 \end_layout
18726
18727 \end_inset
18728
18729
18730 \begin_inset Flex Code
18731 status collapsed
18732
18733 \begin_layout Plain Layout
18734 no_strikeout
18735 \end_layout
18736
18737 \end_inset
18738
18739
18740 \begin_inset Flex Code
18741 status collapsed
18742
18743 \begin_layout Plain Layout
18744 no_bar
18745 \end_layout
18746
18747 \end_inset
18748
18749
18750 \begin_inset Flex Code
18751 status collapsed
18752
18753 \begin_layout Plain Layout
18754 no_uuline
18755 \end_layout
18756
18757 \end_inset
18758
18759
18760 \begin_inset Flex Code
18761 status collapsed
18762
18763 \begin_layout Plain Layout
18764 no_uwave
18765 \end_layout
18766
18767 \end_inset
18768
18769 です.それぞれ,対応する属性を有効にしたり無効にしたりします.
18770 \begin_inset Newline newline
18771 \end_inset
18772
18773 たとえば,
18774 \begin_inset Flex Code
18775 status collapsed
18776
18777 \begin_layout Plain Layout
18778 emph
18779 \end_layout
18780
18781 \end_inset
18782
18783 は強調を有効にし,
18784 \begin_inset Flex Code
18785 status collapsed
18786
18787 \begin_layout Plain Layout
18788 no_emph
18789 \end_layout
18790
18791 \end_inset
18792
18793 はそれを無効にします.もし後者がわかりにくければ,現在のコンテクストのフォント設定は,一般的に周囲のコンテクストから継承していることを思い出してください.ですか
18794
18795 \begin_inset Flex Code
18796 status collapsed
18797
18798 \begin_layout Plain Layout
18799 no_emph
18800 \end_layout
18801
18802 \end_inset
18803
18804 は,たとえば定理環境で,何をせずとも有効となっている強調を無効にするのです.
18805 \end_layout
18806
18807 \begin_layout Description
18808 \begin_inset Flex Code
18809 status collapsed
18810
18811 \begin_layout Plain Layout
18812 Series
18813 \end_layout
18814
18815 \end_inset
18816
18817  [
18818 \emph on
18819
18820 \begin_inset Flex Code
18821 status collapsed
18822
18823 \begin_layout Plain Layout
18824 Medium
18825 \end_layout
18826
18827 \end_inset
18828
18829
18830 \emph default
18831
18832 \begin_inset Flex Code
18833 status collapsed
18834
18835 \begin_layout Plain Layout
18836 Bold
18837 \end_layout
18838
18839 \end_inset
18840
18841
18842 \end_layout
18843
18844 \begin_layout Description
18845 \begin_inset Flex Code
18846 status collapsed
18847
18848 \begin_layout Plain Layout
18849 Shape
18850 \end_layout
18851
18852 \end_inset
18853
18854  [
18855 \emph on
18856
18857 \begin_inset Flex Code
18858 status collapsed
18859
18860 \begin_layout Plain Layout
18861 Up
18862 \end_layout
18863
18864 \end_inset
18865
18866
18867 \emph default
18868
18869 \begin_inset Flex Code
18870 status collapsed
18871
18872 \begin_layout Plain Layout
18873 Italic
18874 \end_layout
18875
18876 \end_inset
18877
18878
18879 \begin_inset Flex Code
18880 status collapsed
18881
18882 \begin_layout Plain Layout
18883 SmallCaps
18884 \end_layout
18885
18886 \end_inset
18887
18888
18889 \begin_inset Flex Code
18890 status collapsed
18891
18892 \begin_layout Plain Layout
18893 Slanted
18894 \end_layout
18895
18896 \end_inset
18897
18898
18899 \end_layout
18900
18901 \begin_layout Description
18902 \begin_inset Flex Code
18903 status collapsed
18904
18905 \begin_layout Plain Layout
18906 Size
18907 \end_layout
18908
18909 \end_inset
18910
18911  [
18912 \begin_inset Flex Code
18913 status collapsed
18914
18915 \begin_layout Plain Layout
18916 tiny
18917 \end_layout
18918
18919 \end_inset
18920
18921
18922 \begin_inset Flex Code
18923 status collapsed
18924
18925 \begin_layout Plain Layout
18926 small
18927 \end_layout
18928
18929 \end_inset
18930
18931
18932 \begin_inset Flex Code
18933 status collapsed
18934
18935 \begin_layout Plain Layout
18936
18937 \emph on
18938 normal
18939 \end_layout
18940
18941 \end_inset
18942
18943
18944 \begin_inset Flex Code
18945 status collapsed
18946
18947 \begin_layout Plain Layout
18948 large
18949 \end_layout
18950
18951 \end_inset
18952
18953
18954 \begin_inset Flex Code
18955 status collapsed
18956
18957 \begin_layout Plain Layout
18958 larger
18959 \end_layout
18960
18961 \end_inset
18962
18963
18964 \begin_inset Flex Code
18965 status collapsed
18966
18967 \begin_layout Plain Layout
18968 largest
18969 \end_layout
18970
18971 \end_inset
18972
18973
18974 \begin_inset Flex Code
18975 status collapsed
18976
18977 \begin_layout Plain Layout
18978 huge
18979 \end_layout
18980
18981 \end_inset
18982
18983
18984 \begin_inset Flex Code
18985 status collapsed
18986
18987 \begin_layout Plain Layout
18988 giant
18989 \end_layout
18990
18991 \end_inset
18992
18993 ]
18994 \end_layout
18995
18996 \begin_layout Subsection
18997 \begin_inset CommandInset label
18998 LatexCommand label
18999 name "subsec:引用エンジンの説明"
19000
19001 \end_inset
19002
19003 引用エンジンの説明
19004 \end_layout
19005
19006 \begin_layout Standard
19007 主に引用エンジンファイル(第
19008 \begin_inset CommandInset ref
19009 LatexCommand ref
19010 reference "subsec:引用エンジンファイル"
19011 plural "false"
19012 caps "false"
19013 noprefix "false"
19014
19015 \end_inset
19016
19017 節参照)で用いられる
19018 \begin_inset Flex Code
19019 status collapsed
19020
19021 \begin_layout Plain Layout
19022 CiteEngine
19023 \end_layout
19024
19025 \end_inset
19026
19027 ブロックは,特定の「引用エンジン」で提供される引用コマンドを定義します.\SpecialChar LyX
19028 の用語では,引用エンジンとは,番号や著者名,刊行年を使って,引用を整形する特定の方法のこ
19029 とを指します.\SpecialChar LyX
19030 は,3つのエンジンの型をサポートします.すなわち,
19031 \end_layout
19032
19033 \begin_layout Enumerate
19034 \begin_inset Flex Code
19035 status collapsed
19036
19037 \begin_layout Plain Layout
19038 default
19039 \end_layout
19040
19041 \end_inset
19042
19043 : 既定のBib\SpecialChar TeX
19044 流の引用方法である,単純な番号による様式(例:「[1]」)
19045 \end_layout
19046
19047 \begin_layout Enumerate
19048 \begin_inset Flex Code
19049 status collapsed
19050
19051 \begin_layout Plain Layout
19052 authoryear
19053 \end_layout
19054
19055 \end_inset
19056
19057 : 著者名と刊行年を使ったHarvard様式の引用(例:「Smith and Miller (2017b)」)
19058 \end_layout
19059
19060 \begin_layout Enumerate
19061 \begin_inset Flex Code
19062 status collapsed
19063
19064 \begin_layout Plain Layout
19065 numerical
19066 \end_layout
19067
19068 \end_inset
19069
19070 : 番号に隣接して著者名やタイトルを付けることのできる拡張された番号引用(例:「Smith and Miller [1]」)
19071 \end_layout
19072
19073 \begin_layout Standard
19074 \begin_inset Flex Code
19075 status collapsed
19076
19077 \begin_layout Plain Layout
19078 CiteEngine
19079 \end_layout
19080
19081 \end_inset
19082
19083 ブロックは以下のようになります.
19084 \end_layout
19085
19086 \begin_layout LyX-Code
19087 CiteEngine default
19088 \end_layout
19089
19090 \begin_layout LyX-Code
19091  cite
19092 \end_layout
19093
19094 \begin_layout LyX-Code
19095  Citep*[][]
19096 \end_layout
19097
19098 \begin_layout LyX-Code
19099  citeyearpar[][]=parencite*
19100 \end_layout
19101
19102 \begin_layout LyX-Code
19103  ...
19104 \end_layout
19105
19106 \begin_layout LyX-Code
19107 End
19108 \end_layout
19109
19110 \begin_layout Standard
19111 \begin_inset Flex Code
19112 status collapsed
19113
19114 \begin_layout Plain Layout
19115 CiteEngine
19116 \end_layout
19117
19118 \end_inset
19119
19120 に続くタグがエンジンを表します.各行は,このエンジンによってサポートされる引用コマンドや引用コマンドパラダイムを定義します.行は,\SpecialChar LyX
19121 コマンドと\SpecialChar LaTeX
19122 出力を命名するのに使
19123 われる引用コマンドのみを含むこともあれば,色々変えるために複雑なこともあります.完全な文法は
19124 \end_layout
19125
19126 \begin_layout LyX-Code
19127 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
19128 \end_layout
19129
19130 \begin_layout Standard
19131 という形になっています.ここで
19132 \end_layout
19133
19134 \begin_layout Itemize
19135 \begin_inset Flex Code
19136 status collapsed
19137
19138 \begin_layout Plain Layout
19139 LyXName
19140 \end_layout
19141
19142 \end_inset
19143
19144
19145 \begin_inset Flex Code
19146 status collapsed
19147
19148 \begin_layout Plain Layout
19149 *.lyx
19150 \end_layout
19151
19152 \end_inset
19153
19154 ファイルで使用される名前.
19155 \end_layout
19156
19157 \begin_deeper
19158 \begin_layout Standard
19159 可搬性のために,異なる引用パッケージ中の同じ形をしたコマンドには,同じ名前をつけるようにしています(したがって,多くの名前がnatbibから派生しており,\SpecialChar LaTeX
19160 コマン
19161 ド名が異なる場合には,しばしば
19162 \begin_inset Flex Code
19163 status collapsed
19164
19165 \begin_layout Plain Layout
19166 latexcmd
19167 \end_layout
19168
19169 \end_inset
19170
19171 を変える必要があります).
19172 \end_layout
19173
19174 \end_deeper
19175 \begin_layout Itemize
19176 \begin_inset Flex Code
19177 status collapsed
19178
19179 \begin_layout Plain Layout
19180 alias
19181 \end_layout
19182
19183 \end_inset
19184
19185 : このエンジンにおいて,与えられた
19186 \begin_inset Flex Code
19187 status collapsed
19188
19189 \begin_layout Plain Layout
19190 LyXName
19191 \end_layout
19192
19193 \end_inset
19194
19195 にフォールバックするコマンドの(コンマで区切られた)リスト.これによって,引用パッケージとエンジンを切り替えるのが楽になります.
19196 \begin_inset Flex Code
19197 status collapsed
19198
19199 \begin_layout Plain Layout
19200 alias
19201 \end_layout
19202
19203 \end_inset
19204
19205 はレイアウト定義中での
19206 \begin_inset Flex Code
19207 status collapsed
19208
19209 \begin_layout Plain Layout
19210 ObsoletedBy
19211 \end_layout
19212
19213 \end_inset
19214
19215 に相当するものと考えてよいでしょう.
19216 \end_layout
19217
19218 \begin_layout Itemize
19219 \begin_inset Flex Code
19220 status collapsed
19221
19222 \begin_layout Plain Layout
19223 latexcmd
19224 \end_layout
19225
19226 \end_inset
19227
19228 : 出力される実際の\SpecialChar LaTeX
19229 コマンド.
19230 \end_layout
19231
19232 \begin_layout Standard
19233 \begin_inset Flex Code
19234 status collapsed
19235
19236 \begin_layout Plain Layout
19237 Alias
19238 \end_layout
19239
19240 \end_inset
19241
19242
19243 \begin_inset Flex Code
19244 status collapsed
19245
19246 \begin_layout Plain Layout
19247 latexcmd
19248 \end_layout
19249
19250 \end_inset
19251
19252 は必須ではありません.
19253 \begin_inset Flex Code
19254 status collapsed
19255
19256 \begin_layout Plain Layout
19257 latexcmd
19258 \end_layout
19259
19260 \end_inset
19261
19262 が与えられない時は,
19263 \begin_inset Flex Code
19264 status collapsed
19265
19266 \begin_layout Plain Layout
19267 LyXName
19268 \end_layout
19269
19270 \end_inset
19271
19272 が\SpecialChar LaTeX
19273 に出力されます.
19274 \end_layout
19275
19276 \begin_layout Standard
19277 さらに,下記の点に注意してください.
19278 \end_layout
19279
19280 \begin_layout Itemize
19281 大文字にするとコマンドも大文字化されたものになります(
19282 \begin_inset Flex Code
19283 status collapsed
19284
19285 \begin_layout Plain Layout
19286
19287 \backslash
19288 latexcmd
19289 \end_layout
19290
19291 \end_inset
19292
19293
19294 \begin_inset Flex Code
19295 status collapsed
19296
19297 \begin_layout Plain Layout
19298
19299 \backslash
19300 Latexcmd
19301 \end_layout
19302
19303 \end_inset
19304
19305 に).これらは通常,名前の前置詞を大文字化するのを確実にします(
19306 \emph on
19307 von Goethe
19308 \emph default
19309  
19310 \begin_inset Formula $\Rightarrow$
19311 \end_inset
19312
19313  
19314 \emph on
19315 Von Goethe
19316 \emph default
19317 ).
19318 \end_layout
19319
19320 \begin_layout Itemize
19321 括弧
19322 \begin_inset Flex Code
19323 status collapsed
19324
19325 \begin_layout Plain Layout
19326 []
19327 \end_layout
19328
19329 \end_inset
19330
19331 は非必須引数の数を表します(0-2をとりえます).
19332 \end_layout
19333
19334 \begin_layout Itemize
19335 星印
19336 \begin_inset Flex Code
19337 status collapsed
19338
19339 \begin_layout Plain Layout
19340 *
19341 \end_layout
19342
19343 \end_inset
19344
19345 は星印付きコマンドを示します(
19346 \begin_inset Flex Code
19347 status collapsed
19348
19349 \begin_layout Plain Layout
19350
19351 \backslash
19352 latexcmd
19353 \end_layout
19354
19355 \end_inset
19356
19357
19358 \begin_inset Flex Code
19359 status collapsed
19360
19361 \begin_layout Plain Layout
19362
19363 \backslash
19364 latexcmd*
19365 \end_layout
19366
19367 \end_inset
19368
19369 に).
19370 \end_layout
19371
19372 \begin_deeper
19373 \begin_layout Standard
19374 既定では,星印付きバージョンは,
19375 \begin_inset Flex Code
19376 status collapsed
19377
19378 \begin_layout Plain Layout
19379 MaxCiteNames
19380 \end_layout
19381
19382 \end_inset
19383
19384 の閾値を超えたために「et al.」に省略されるべき時にも全ての著者を出力することを意味します.
19385 \end_layout
19386
19387 \begin_layout Standard
19388 星印が,当該コマンドについては別の意味を持つ場合には,
19389 \begin_inset Flex Code
19390 status collapsed
19391
19392 \begin_layout Plain Layout
19393 <!_stardesc!_stardesctooltip>
19394 \end_layout
19395
19396 \end_inset
19397
19398 のように三角括弧で指定することができます.前置詞
19399 \begin_inset Flex Code
19400 status collapsed
19401
19402 \begin_layout Plain Layout
19403 !_
19404 \end_layout
19405
19406 \end_inset
19407
19408 で標識した,翻訳可能なキーワードを最大2つ与えることができます.最初のキーワードは,引用ダイアログ中の「Full aut&hor list」チェックボックスラベ
19409 ルを書き換える文字列を指し,二つ目のキーワードは,このチェックボックスに対する非必須のツールチップの文字列を指します.
19410 \end_layout
19411
19412 \begin_layout Standard
19413 これらの2つのマクロは,下記のように,前置詞から
19414 \begin_inset Flex Code
19415 status collapsed
19416
19417 \begin_layout Plain Layout
19418 !
19419 \end_layout
19420
19421 \end_inset
19422
19423 を落とした形で
19424 \begin_inset Flex Code
19425 status collapsed
19426
19427 \begin_layout Plain Layout
19428 CiteFormat
19429 \end_layout
19430
19431 \end_inset
19432
19433 (次節参照)で定義されなくてはなりません.
19434 \end_layout
19435
19436 \begin_layout LyX-Code
19437 _stardesc Sta&rred command label
19438 \end_layout
19439
19440 \begin_layout LyX-Code
19441 _stardesctooltip Tooltip for the starred command checkbox.
19442 \end_layout
19443
19444 \end_deeper
19445 \begin_layout Itemize
19446 ドル記号
19447 \begin_inset Flex Code
19448 status collapsed
19449
19450 \begin_layout Plain Layout
19451 $
19452 \end_layout
19453
19454 \end_inset
19455
19456 は,このコマンドが「qualified citation lists」を取り扱うことを示します.これは,リスト中の個別の引用に対して,前置文字列と後置文字列を置
19457 くことができる,
19458 \family sans
19459 Biblatex
19460 \family default
19461 に特有の複数文献引用機能です.詳細については,
19462 \family sans
19463 Biblatex
19464 \family default
19465 の取扱説明書をご覧ください.
19466 \end_layout
19467
19468 \begin_layout Subsection
19469 \begin_inset CommandInset label
19470 LatexCommand label
19471 name "subsec:引用書式指定"
19472
19473 \end_inset
19474
19475 引用書式指定
19476 \end_layout
19477
19478 \begin_layout Standard
19479 (引用ダイアログやツールチップなどの)\SpecialChar LyX
19480 内部やXHTML出力において,書誌情報をどのように表示するべきかの叙述には,
19481 \begin_inset Flex Code
19482 status collapsed
19483
19484 \begin_layout Plain Layout
19485 CiteFormat
19486 \end_layout
19487
19488 \end_inset
19489
19490 ブロックが使用されています.このブロックは,以下のような形をしています.
19491 \end_layout
19492
19493 \begin_layout LyX-Code
19494 CiteFormat
19495 \end_layout
19496
19497 \begin_layout LyX-Code
19498  article ...
19499 \end_layout
19500
19501 \begin_layout LyX-Code
19502  book ...
19503 \end_layout
19504
19505 \begin_layout LyX-Code
19506 End
19507 \end_layout
19508
19509 \begin_layout Standard
19510 あるいは
19511 \end_layout
19512
19513 \begin_layout LyX-Code
19514 CiteFormat
19515 \end_layout
19516
19517 \begin_layout LyX-Code
19518  cite ...
19519 \end_layout
19520
19521 \begin_layout LyX-Code
19522  citet*[][] ...
19523 \end_layout
19524
19525 \begin_layout LyX-Code
19526 End
19527 \end_layout
19528
19529 \begin_layout Standard
19530 最初の例の各行は,それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,このような定義は,Bib\SpecialChar TeX
19531 ファイル中に存
19532 在しうる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,\SpecialChar LyX
19533 は,ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
19534 は,いくつかの書式を
19535 \begin_inset Flex Code
19536 status collapsed
19537
19538 \begin_layout Plain Layout
19539 stdciteformats.inc
19540 \end_layout
19541
19542 \end_inset
19543
19544 ファイルで事前定義しており,これはほとんどの\SpecialChar LyX
19545 文書クラスにインクルードされています.
19546 \end_layout
19547
19548 \begin_layout Standard
19549 2つ目の例では,各行は,特定の引用コマンド(この例では
19550 \begin_inset Flex Code
19551 status collapsed
19552
19553 \begin_layout Plain Layout
19554
19555 \backslash
19556 cite
19557 \end_layout
19558
19559 \end_inset
19560
19561 及び
19562 \begin_inset Flex Code
19563 status collapsed
19564
19565 \begin_layout Plain Layout
19566
19567 \backslash
19568 citet
19569 \end_layout
19570
19571 \end_inset
19572
19573 )が,引用差込枠ラベルや引用ダイアログ,メニュー,XHTML出力でどのように表示されるべきかを定義しています.\SpecialChar LyX
19574 は,\SpecialChar LyX
19575 に同梱されている個別の
19576 \begin_inset Flex Code
19577 status collapsed
19578
19579 \begin_layout Plain Layout
19580 *.citeengine
19581 \end_layout
19582
19583 \end_inset
19584
19585 ファイル中において,
19586 \family sans
19587 文書\SpecialChar menuseparator
19588 設定\SpecialChar menuseparator
19589 書誌情報\SpecialChar ldots
19590
19591 \family default
19592 でサポートしている引用様式用に,そのような書式を定義しています(第
19593 \begin_inset CommandInset ref
19594 LatexCommand ref
19595 reference "subsec:引用エンジンファイル"
19596 plural "false"
19597 caps "false"
19598 noprefix "false"
19599
19600 \end_inset
19601
19602 節参照).
19603 \end_layout
19604
19605 \begin_layout Standard
19606 この定義は,Bib\SpecialChar TeX
19607 キーをその値で置換できる機能を持った,簡単な言語を使用しています.キーは,
19608 \begin_inset Flex Code
19609 status collapsed
19610
19611 \begin_layout Plain Layout
19612 %author%
19613 \end_layout
19614
19615 \end_inset
19616
19617 のように
19618 \begin_inset Flex Code
19619 status collapsed
19620
19621 \begin_layout Plain Layout
19622 %
19623 \end_layout
19624
19625 \end_inset
19626
19627 記号でくくらなくてはなりません.したがって,簡単な定義は以下のようになります.
19628 \end_layout
19629
19630 \begin_layout LyX-Code
19631 misc %author%, 
19632 \begin_inset Quotes eld
19633 \end_inset
19634
19635 %title%
19636 \begin_inset Quotes erd
19637 \end_inset
19638
19639
19640 \end_layout
19641
19642 \begin_layout Standard
19643 これは,「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
19644 \end_layout
19645
19646 \begin_layout Standard
19647 もちろん,キーが存在するときのみ,そのキーを出力したい時があるはずです.このようなときには
19648 \begin_inset Flex Code
19649 status collapsed
19650
19651 \begin_layout Plain Layout
19652 {%volume%[[vol.
19653 \begin_inset space ~
19654 \end_inset
19655
19656 %volume%]]}
19657 \end_layout
19658
19659 \end_inset
19660
19661 のように,条件付きの構成を使用することができます.これは,
19662 \begin_inset Flex Code
19663 status collapsed
19664
19665 \begin_layout Plain Layout
19666 volume
19667 \end_layout
19668
19669 \end_inset
19670
19671 が存在するならば,「vol.
19672 \begin_inset space ~
19673 \end_inset
19674
19675 」とvolumeキーを出力するという意味です.また,
19676 \begin_inset Newline newline
19677 \end_inset
19678
19679
19680 \begin_inset Flex Code
19681 status collapsed
19682
19683 \begin_layout Plain Layout
19684 {%author%[[%author%]][[%editor%, ed.]]}
19685 \end_layout
19686
19687 \end_inset
19688
19689
19690 \begin_inset Newline newline
19691 \end_inset
19692
19693 のように,条件の中にelse節を含めることも可能です.ここでは,もし
19694 \begin_inset Flex Code
19695 status collapsed
19696
19697 \begin_layout Plain Layout
19698 author
19699 \end_layout
19700
19701 \end_inset
19702
19703 キーが存在するならば出力され,そうでなければeditorキーと「,
19704 \begin_inset space ~
19705 \end_inset
19706
19707 ed.」が出力されます.ここでもキーは,
19708 \begin_inset Flex Code
19709 status collapsed
19710
19711 \begin_layout Plain Layout
19712 %
19713 \end_layout
19714
19715 \end_inset
19716
19717 記号でくくられていることに注意してください.条件全体は,波括弧で囲まれています.if節およびelse節は,「
19718 \begin_inset Flex Code
19719 status collapsed
19720
19721 \begin_layout Plain Layout
19722 [[
19723 \end_layout
19724
19725 \end_inset
19726
19727 」と「
19728 \begin_inset Flex Code
19729 status collapsed
19730
19731 \begin_layout Plain Layout
19732 ]]
19733 \end_layout
19734
19735 \end_inset
19736
19737 」の二重角括弧で囲まれています.これらすべてのあいだには,空白は入ってはなりません.
19738 \end_layout
19739
19740 \begin_layout Standard
19741 これらの条件文に使うことができるものには,項目キーの他に,以下の特殊キーがあります.
19742 \end_layout
19743
19744 \begin_layout Itemize
19745 \begin_inset Flex Code
19746 status collapsed
19747
19748 \begin_layout Plain Layout
19749 {%dialog%[[真]][[偽]]}
19750 \end_layout
19751
19752 \end_inset
19753
19754 : ダイアログとメニューに対しては「真」の部分を処理し,他の文脈(作業領域や書き出し)には「偽」の部分を処理します
19755 \end_layout
19756
19757 \begin_layout Itemize
19758 \begin_inset Flex Code
19759 status collapsed
19760
19761 \begin_layout Plain Layout
19762 {%export%[[真]][[偽]]}
19763 \end_layout
19764
19765 \end_inset
19766
19767 : 書き出しとメニューに対しては「真」の部分を処理し,他の文脈(作業領域やダイアログ)には「偽」の部分を処理します
19768 \end_layout
19769
19770 \begin_layout Itemize
19771 \begin_inset Flex Code
19772 status collapsed
19773
19774 \begin_layout Plain Layout
19775 {%next%[[真]]}
19776 \end_layout
19777
19778 \end_inset
19779
19780 : 他の項目が続く場合には「真」の部分を処理します(複数キーを持つ引用など)
19781 \end_layout
19782
19783 \begin_layout Itemize
19784 \begin_inset Flex Code
19785 status collapsed
19786
19787 \begin_layout Plain Layout
19788 {%second%[[真]][[偽]]}
19789 \end_layout
19790
19791 \end_inset
19792
19793 : これが複数項目の2番目の場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19794 \end_layout
19795
19796 \begin_layout Itemize
19797 \begin_inset Flex Code
19798 status collapsed
19799
19800 \begin_layout Plain Layout
19801 {%ifstar%[[真]][[偽]]}
19802 \end_layout
19803
19804 \end_inset
19805
19806 : (
19807 \begin_inset Flex Code
19808 status collapsed
19809
19810 \begin_layout Plain Layout
19811
19812 \backslash
19813 cite*
19814 \end_layout
19815
19816 \end_inset
19817
19818 など)星印付き引用コマンドの場合には「真」の部分を処理し,星印付きでない場合には「偽」の部分を処理します
19819 \end_layout
19820
19821 \begin_layout Itemize
19822 \begin_inset Flex Code
19823 status collapsed
19824
19825 \begin_layout Plain Layout
19826 {%ifentrytype:<type>%[[真]][[偽]]}
19827 \end_layout
19828
19829 \end_inset
19830
19831 : 現行の項目が
19832 \begin_inset Flex Code
19833 status collapsed
19834
19835 \begin_layout Plain Layout
19836 <型>
19837 \end_layout
19838
19839 \end_inset
19840
19841 に一致する場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:引用定義において
19842 \begin_inset Flex Code
19843 status collapsed
19844
19845 \begin_layout Plain Layout
19846 {%ifentrytype:book%[[これはbookです]][[これはbookではありません]]}
19847 \end_layout
19848
19849 \end_inset
19850
19851
19852 \end_layout
19853
19854 \begin_layout Itemize
19855 \begin_inset Flex Code
19856 status collapsed
19857
19858 \begin_layout Plain Layout
19859 {%ifmultiple:<authortype>%[[真]][[偽]]}
19860 \end_layout
19861
19862 \end_inset
19863
19864 : 現行の項目が著者型(著者・編者など)が複数の著者を含む場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:書誌情報定義において
19865 \begin_inset Flex Code
19866 status collapsed
19867
19868 \begin_layout Plain Layout
19869 {%ifmultiple:editor%[[eds.]][[ed.]]}
19870 \end_layout
19871
19872 \end_inset
19873
19874
19875 \end_layout
19876
19877 \begin_layout Itemize
19878 \begin_inset Flex Code
19879 status collapsed
19880
19881 \begin_layout Plain Layout
19882 {%ifqualified%[[真]][[偽]]}
19883 \end_layout
19884
19885 \end_inset
19886
19887 : 現行の引用がqualified citation listである(複数文献引用に対する
19888 \family sans
19889 Biblatex
19890 \family default
19891 特有の形式)場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19892 \end_layout
19893
19894 \begin_layout Standard
19895 \begin_inset Flex Code
19896 status collapsed
19897
19898 \begin_layout Plain Layout
19899 %author%
19900 \end_layout
19901
19902 \end_inset
19903
19904 は書誌情報ファイルに記録されている形のままの著者キーを出力すると述べました.これは「Miller, Peter and Smith, Mary
19905  and White, Jane」のような文字列に終わることがあり(Bib\SpecialChar TeX
19906 では著者を区切るのに「and」が用いられるため),望ましい結果ではありません.したがっ
19907 て,\SpecialChar LyX
19908 は,正しく整形された名前のリスト(これも翻訳の対象となります)を得るための方法を提供しています.以下のキーが提供されています.
19909 \end_layout
19910
19911 \begin_layout Enumerate
19912 書誌情報項目の主要著者・編者に適した,姓名付き名前リスト用.
19913 \begin_inset Flex Code
19914 status collapsed
19915
19916 \begin_layout Plain Layout
19917 <nametype>
19918 \end_layout
19919
19920 \end_inset
19921
19922 部分は要請されているリスト型を表します(例:
19923 \begin_inset Flex Code
19924 status collapsed
19925
19926 \begin_layout Plain Layout
19927 <nametype:author>
19928 \end_layout
19929
19930 \end_inset
19931
19932
19933 \end_layout
19934
19935 \begin_deeper
19936 \begin_layout Itemize
19937 \begin_inset Flex Code
19938 status collapsed
19939
19940 \begin_layout Plain Layout
19941 %abbrvnames:<nametype>%
19942 \end_layout
19943
19944 \end_inset
19945
19946
19947 \begin_inset Flex Code
19948 status collapsed
19949
19950 \begin_layout Plain Layout
19951 MaxCiteNames
19952 \end_layout
19953
19954 \end_inset
19955
19956 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
19957 \end_layout
19958
19959 \begin_layout Itemize
19960 \begin_inset Flex Code
19961 status collapsed
19962
19963 \begin_layout Plain Layout
19964 %fullnames:<nametype>%
19965 \end_layout
19966
19967 \end_inset
19968
19969 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
19970 \end_layout
19971
19972 \begin_layout Itemize
19973 \begin_inset Flex Code
19974 status collapsed
19975
19976 \begin_layout Plain Layout
19977 %forceabbrvnames:<nametype>%
19978 \end_layout
19979
19980 \end_inset
19981
19982
19983 \begin_inset Flex Code
19984 status collapsed
19985
19986 \begin_layout Plain Layout
19987 MaxCiteNames
19988 \end_layout
19989
19990 \end_inset
19991
19992 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
19993 \end_layout
19994
19995 \end_deeper
19996 \begin_layout Enumerate
19997 書誌情報項目中の姓名の順序が異なっている場合の,姓名付き名前リスト(例:「Miller, John: 何らかの文, in: Mary Smith,
19998  ed.: A volume」
19999 \end_layout
20000
20001 \begin_deeper
20002 \begin_layout Itemize
20003 \begin_inset Flex Code
20004 status collapsed
20005
20006 \begin_layout Plain Layout
20007 %abbrvbynames:<nametype>%
20008 \end_layout
20009
20010 \end_inset
20011
20012
20013 \begin_inset Flex Code
20014 status collapsed
20015
20016 \begin_layout Plain Layout
20017 MaxCiteNames
20018 \end_layout
20019
20020 \end_inset
20021
20022 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
20023 \end_layout
20024
20025 \begin_layout Itemize
20026 \begin_inset Flex Code
20027 status collapsed
20028
20029 \begin_layout Plain Layout
20030 %fullbynames:<nametype>%
20031 \end_layout
20032
20033 \end_inset
20034
20035 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
20036 \end_layout
20037
20038 \begin_layout Itemize
20039 \begin_inset Flex Code
20040 status collapsed
20041
20042 \begin_layout Plain Layout
20043 %forceabbrvbynames:<nametype>%
20044 \end_layout
20045
20046 \end_inset
20047
20048
20049 \begin_inset Flex Code
20050 status collapsed
20051
20052 \begin_layout Plain Layout
20053 MaxCiteNames
20054 \end_layout
20055
20056 \end_inset
20057
20058 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20059 \end_layout
20060
20061 \end_deeper
20062 \begin_layout Enumerate
20063 著者-発行年引用ラベルで用いられるような,姓のみを含む姓リスト.これらは
20064 \begin_inset Flex Code
20065 status collapsed
20066
20067 \begin_layout Plain Layout
20068 <nametype>
20069 \end_layout
20070
20071 \end_inset
20072
20073 部分を取りませんが,(著者-発行年ラベルで通例であるように)常に著者リストか,存在しない場合には編者リストを返します.
20074 \end_layout
20075
20076 \begin_deeper
20077 \begin_layout Itemize
20078 \begin_inset Flex Code
20079 status collapsed
20080
20081 \begin_layout Plain Layout
20082 %abbrvciteauthor%
20083 \end_layout
20084
20085 \end_inset
20086
20087
20088 \begin_inset Flex Code
20089 status collapsed
20090
20091 \begin_layout Plain Layout
20092 MaxCiteNames
20093 \end_layout
20094
20095 \end_inset
20096
20097 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
20098 \end_layout
20099
20100 \begin_layout Itemize
20101 \begin_inset Flex Code
20102 status collapsed
20103
20104 \begin_layout Plain Layout
20105 %fullciteauthor%
20106 \end_layout
20107
20108 \end_inset
20109
20110 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
20111 \end_layout
20112
20113 \begin_layout Itemize
20114 \begin_inset Flex Code
20115 status collapsed
20116
20117 \begin_layout Plain Layout
20118 %forceabbrvciteauthor%
20119 \end_layout
20120
20121 \end_inset
20122
20123
20124 \begin_inset Flex Code
20125 status collapsed
20126
20127 \begin_layout Plain Layout
20128 MaxCiteNames
20129 \end_layout
20130
20131 \end_inset
20132
20133 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20134 \end_layout
20135
20136 \end_deeper
20137 \begin_layout Standard
20138 前二者の姓名の順序は,下記のマクロで変更することができます.
20139 \end_layout
20140
20141 \begin_layout Itemize
20142 \begin_inset Flex Code
20143 status collapsed
20144
20145 \begin_layout Plain Layout
20146 !firstnameform %surname%, %prename%
20147 \end_layout
20148
20149 \end_inset
20150
20151 (1の場合の最初の著者)
20152 \end_layout
20153
20154 \begin_layout Itemize
20155 \begin_inset Flex Code
20156 status collapsed
20157
20158 \begin_layout Plain Layout
20159 !othernameform %surname%, %prename%
20160 \end_layout
20161
20162 \end_inset
20163
20164 (1の場合の他の著者)
20165 \end_layout
20166
20167 \begin_layout Itemize
20168 \begin_inset Flex Code
20169 status collapsed
20170
20171 \begin_layout Plain Layout
20172 !firstbynameform %prename% %surname%
20173 \end_layout
20174
20175 \end_inset
20176
20177 (2の場合の最初の著者)
20178 \end_layout
20179
20180 \begin_layout Itemize
20181 \begin_inset Flex Code
20182 status collapsed
20183
20184 \begin_layout Plain Layout
20185 !otherbynameform %prename% %surname%
20186 \end_layout
20187
20188 \end_inset
20189
20190 (2の場合の他の著者)
20191 \end_layout
20192
20193 \begin_layout Standard
20194 これによって,名前を「Miller, Peter and Mary Smith: \SpecialChar ldots
20195 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
20196 」のように
20197 設定することができます.
20198 \end_layout
20199
20200 \begin_layout Standard
20201 もう一つ,定義中で使用することのできる文法として,
20202 \begin_inset Flex Code
20203 status collapsed
20204
20205 \begin_layout Plain Layout
20206 {!<i>!}
20207 \end_layout
20208
20209 \end_inset
20210
20211 という形をしたものがあります.これは,「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,平文を書き出すときには,HTMLタ
20212 グを出力させたくはありませんから,HTMLタグは「
20213 \begin_inset Flex Code
20214 status collapsed
20215
20216 \begin_layout Plain Layout
20217 {!
20218 \end_layout
20219
20220 \end_inset
20221
20222 」と「
20223 \begin_inset Flex Code
20224 status collapsed
20225
20226 \begin_layout Plain Layout
20227 !}
20228 \end_layout
20229
20230 \end_inset
20231
20232 」でくるんでやらなくてはならないのです.
20233 \end_layout
20234
20235 \begin_layout Standard
20236 \begin_inset Flex Code
20237 status collapsed
20238
20239 \begin_layout Plain Layout
20240 CiteFormat
20241 \end_layout
20242
20243 \end_inset
20244
20245 ブロックでは,他に2つの特殊な定義が可能です.一つめの例としては,
20246 \end_layout
20247
20248 \begin_layout LyX-Code
20249 !quotetitle 
20250 \begin_inset Quotes eld
20251 \end_inset
20252
20253 %title%
20254 \begin_inset Quotes erd
20255 \end_inset
20256
20257
20258 \end_layout
20259
20260 \begin_layout Standard
20261 といった例が挙げられます.これは,短縮形ないしはマクロであり,
20262 \begin_inset Flex Code
20263 status collapsed
20264
20265 \begin_layout Plain Layout
20266 %!quotetitle%
20267 \end_layout
20268
20269 \end_inset
20270
20271 のように,これがキーであるかのように扱って使用することができます.\SpecialChar LyX
20272 は,
20273 \begin_inset Flex Code
20274 status collapsed
20275
20276 \begin_layout Plain Layout
20277 %!quotetitle%
20278 \end_layout
20279
20280 \end_inset
20281
20282 を,そこで定義されているものを扱う場合と同じように取り扱います.ですから,明白な警告を敢えてさせて頂くと,
20283 \end_layout
20284
20285 \begin_layout LyX-Code
20286 !funfun %funfun%
20287 \end_layout
20288
20289 \begin_layout Standard
20290 のようなことはしないでください.\SpecialChar LyX
20291 は,無限ループに陥るようなことはありませんが,諦めるまでに時間のかかる長いループに入るかもしれません.
20292 \end_layout
20293
20294 \begin_layout Standard
20295 特殊な定義の二つめは,
20296 \end_layout
20297
20298 \begin_layout LyX-Code
20299 _pptext pp.
20300 \end_layout
20301
20302 \begin_layout Standard
20303 のようなものです.これは翻訳対象となるテキスト部分を定義し,これによって書誌情報や引用の対応する部分が翻訳されるようになります.
20304 \begin_inset Flex Code
20305 status collapsed
20306
20307 \begin_layout Plain Layout
20308 %_pptext%
20309 \end_layout
20310
20311 \end_inset
20312
20313 のように,これをキーとして扱って,定義の中に入れることもできます.これらのうちいくつかは,
20314 \begin_inset Flex Code
20315 status collapsed
20316
20317 \begin_layout Plain Layout
20318 stdciteformats.inc
20319 \end_layout
20320
20321 \end_inset
20322
20323 及び様々な
20324 \begin_inset Flex Code
20325 status collapsed
20326
20327 \begin_layout Plain Layout
20328 *.citeengine
20329 \end_layout
20330
20331 \end_inset
20332
20333 ファイル中に事前定義されています.これは,上記で述べたような意味でのマクロではないことに注意してください.
20334 \end_layout
20335
20336 \begin_layout Standard
20337 以下は,これらの機能を全て使った例です.
20338 \begin_inset VSpace defskip
20339 \end_inset
20340
20341
20342 \end_layout
20343
20344 \begin_layout Standard
20345 \noindent
20346
20347 \family sans
20348 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
20349 \end_layout
20350
20351 \begin_layout Standard
20352 \begin_inset VSpace defskip
20353 \end_inset
20354
20355 これは,
20356 \begin_inset Flex Code
20357 status collapsed
20358
20359 \begin_layout Plain Layout
20360 author
20361 \end_layout
20362
20363 \end_inset
20364
20365 キーが定義されているならば,著者とコンマを出力し,
20366 \begin_inset Flex Code
20367 status collapsed
20368
20369 \begin_layout Plain Layout
20370 author
20371 \end_layout
20372
20373 \end_inset
20374
20375 キーが定義されておらず,
20376 \begin_inset Flex Code
20377 status collapsed
20378
20379 \begin_layout Plain Layout
20380 editor
20381 \end_layout
20382
20383 \end_inset
20384
20385 キーが定義されているならば,編集者名の後に
20386 \begin_inset Flex Code
20387 status collapsed
20388
20389 \begin_layout Plain Layout
20390 _edtext
20391 \end_layout
20392
20393 \end_inset
20394
20395 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
20396 \begin_inset Flex Code
20397 status collapsed
20398
20399 \begin_layout Plain Layout
20400 stdciteformats.inc
20401 \end_layout
20402
20403 \end_inset
20404
20405 の中で定義されていますので,このファイルをまず読みこめば,ご自身の定義ないしは再定義の中で使用することができます.
20406 \end_layout
20407
20408 \begin_layout Section
20409 \begin_inset CommandInset label
20410 LatexCommand label
20411 name "sec:XHTML出力のタグ"
20412
20413 \end_inset
20414
20415 XHTML出力のタグ
20416 \end_layout
20417
20418 \begin_layout Standard
20419 \SpecialChar LaTeX
20420 やDocBookと同様,\SpecialChar LyX
20421 のXHTML出力の書式も,レイアウト情報によって制御することができます.一般的に,\SpecialChar LyX
20422 は適切な既定値を提供し,前述したように,他のレイアウト
20423 タグに基づいて,既定のCSSスタイルの構成まで行ないます.たとえば,章見出しを適切に整形するためのCSSを書き出すために,\SpecialChar LyX
20424 は,章様式の
20425 \begin_inset Flex Code
20426 status collapsed
20427
20428 \begin_layout Plain Layout
20429 Font
20430 \end_layout
20431
20432 \end_inset
20433
20434 宣言で提供されている情報を利用しようと試みます.
20435 \end_layout
20436
20437 \begin_layout Standard
20438 したがって,多くの場合,使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,まったく何もしなくてよいことになるでしょう.しかしながら
20439 ,これが必要になる場合もあるので,\SpecialChar LyX
20440 は,生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,たくさん提供しています.
20441 \end_layout
20442
20443 \begin_layout Standard
20444 様式宣言や差込枠宣言の外で使用することができるタグに,
20445 \begin_inset Flex Code
20446 status collapsed
20447
20448 \begin_layout Plain Layout
20449 HTMLPreamble
20450 \end_layout
20451
20452 \end_inset
20453
20454
20455 \begin_inset Flex Code
20456 status collapsed
20457
20458 \begin_layout Plain Layout
20459 AddToHTMLPreamble
20460 \end_layout
20461
20462 \end_inset
20463
20464 の2つがあることに注意してください.これらの詳細については,
20465 \begin_inset CommandInset ref
20466 LatexCommand ref
20467 reference "subsec:汎用テキストクラスパラメータ"
20468
20469 \end_inset
20470
20471 をご覧ください.
20472 \end_layout
20473
20474 \begin_layout Subsection
20475 \begin_inset CommandInset label
20476 LatexCommand label
20477 name "subsec:段落様式-XHTML"
20478
20479 \end_inset
20480
20481 段落様式
20482 \end_layout
20483
20484 \begin_layout Standard
20485 \SpecialChar LyX
20486 が段落のために出力するXHTMLの種類は,通常の段落を取り扱っているのか,コマンドを取り扱っているのか,あるいは環境を取り扱っているのかに依存し,これは対応する
20487 \begin_inset Flex Code
20488 status collapsed
20489
20490 \begin_layout Plain Layout
20491 \SpecialChar LaTeX
20492 Type
20493 \end_layout
20494
20495 \end_inset
20496
20497 タグの内容によって決定されます.
20498 \end_layout
20499
20500 \begin_layout Standard
20501 コマンドや通常の段落の場合には,XHTML出力は以下の形になります.
20502 \end_layout
20503
20504 \begin_layout LyX-Code
20505
20506 \family sans
20507 <tag attr=
20508 \begin_inset Quotes erd
20509 \end_inset
20510
20511 value
20512 \begin_inset Quotes erd
20513 \end_inset
20514
20515 >
20516 \end_layout
20517
20518 \begin_layout LyX-Code
20519
20520 \family sans
20521 <labeltag attr=
20522 \begin_inset Quotes erd
20523 \end_inset
20524
20525 value
20526 \begin_inset Quotes erd
20527 \end_inset
20528
20529 >ラベル</labeltag>
20530 \end_layout
20531
20532 \begin_layout LyX-Code
20533
20534 \family sans
20535 段落の内容
20536 \end_layout
20537
20538 \begin_layout LyX-Code
20539
20540 \family sans
20541 </tag>
20542 \end_layout
20543
20544 \begin_layout Standard
20545 もちろん,段落にラベルがなければ,ラベルタグは省略することができます.
20546 \end_layout
20547
20548 \begin_layout Standard
20549 環境のうち,リストの変種でないものに関しては,XHTMLは以下の形を取ります.
20550 \end_layout
20551
20552 \begin_layout LyX-Code
20553
20554 \family sans
20555 <tag attr=
20556 \begin_inset Quotes erd
20557 \end_inset
20558
20559 value
20560 \begin_inset Quotes erd
20561 \end_inset
20562
20563 >
20564 \end_layout
20565
20566 \begin_layout LyX-Code
20567
20568 \family sans
20569 <itemtag attr=
20570 \begin_inset Quotes erd
20571 \end_inset
20572
20573 value
20574 \begin_inset Quotes erd
20575 \end_inset
20576
20577 ><labeltag attr=
20578 \begin_inset Quotes erd
20579 \end_inset
20580
20581 value
20582 \begin_inset Quotes erd
20583 \end_inset
20584
20585 >環境ラベル</labeltag>最初の段落.
20586 \end_layout
20587
20588 \begin_layout LyX-Code
20589
20590 \family sans
20591 </itemtag>
20592 \end_layout
20593
20594 \begin_layout LyX-Code
20595
20596 \family sans
20597 <itemtag>二つめの段落.</itemtag>
20598 \end_layout
20599
20600 \begin_layout LyX-Code
20601
20602 \family sans
20603 </tag>
20604 \end_layout
20605
20606 \begin_layout Standard
20607 ラベルは,たとえば定理の場合にそうであるように,最初の段落にだけ出力されることに注意してください.
20608 \end_layout
20609
20610 \begin_layout Standard
20611 リストに関しては,次のような形になります.
20612 \end_layout
20613
20614 \begin_layout LyX-Code
20615
20616 \family sans
20617 <tag attr=
20618 \begin_inset Quotes erd
20619 \end_inset
20620
20621 value
20622 \begin_inset Quotes erd
20623 \end_inset
20624
20625 >
20626 \end_layout
20627
20628 \begin_layout LyX-Code
20629
20630 \family sans
20631 <itemtag attr=
20632 \begin_inset Quotes erd
20633 \end_inset
20634
20635 value
20636 \begin_inset Quotes erd
20637 \end_inset
20638
20639 ><labeltag attr=
20640 \begin_inset Quotes erd
20641 \end_inset
20642
20643 value
20644 \begin_inset Quotes erd
20645 \end_inset
20646
20647 >リストのラベル</labeltag>最初の項目.</itemtag>
20648 \end_layout
20649
20650 \begin_layout LyX-Code
20651
20652 \family sans
20653 <itemtag attr=
20654 \begin_inset Quotes erd
20655 \end_inset
20656
20657 value
20658 \begin_inset Quotes erd
20659 \end_inset
20660
20661 ><labeltag attr=
20662 \begin_inset Quotes erd
20663 \end_inset
20664
20665 value
20666 \begin_inset Quotes erd
20667 \end_inset
20668
20669 >リストのラベル</labeltag>二つめの項目.</itemtag>
20670 \end_layout
20671
20672 \begin_layout LyX-Code
20673
20674 \family sans
20675 </tag>
20676 \end_layout
20677
20678 \begin_layout LyX-Code
20679
20680 \end_layout
20681
20682 \begin_layout LyX-Code
20683
20684 \family sans
20685 <tag attr=
20686 \begin_inset Quotes erd
20687 \end_inset
20688
20689 value
20690 \begin_inset Quotes erd
20691 \end_inset
20692
20693 >
20694 \end_layout
20695
20696 \begin_layout LyX-Code
20697
20698 \family sans
20699 <labeltag attr=
20700 \begin_inset Quotes erd
20701 \end_inset
20702
20703 value
20704 \begin_inset Quotes erd
20705 \end_inset
20706
20707 >リストのラベル</labeltag><itemtag attr=
20708 \begin_inset Quotes erd
20709 \end_inset
20710
20711 value
20712 \begin_inset Quotes erd
20713 \end_inset
20714
20715 >最初の項目.</itemtag>
20716 \end_layout
20717
20718 \begin_layout LyX-Code
20719
20720 \family sans
20721 <labeltag attr=
20722 \begin_inset Quotes erd
20723 \end_inset
20724
20725 value
20726 \begin_inset Quotes erd
20727 \end_inset
20728
20729 >リストのラベル</labeltag><itemtag attr=
20730 \begin_inset Quotes erd
20731 \end_inset
20732
20733 value
20734 \begin_inset Quotes erd
20735 \end_inset
20736
20737 >二つめの項目</itemtag>
20738 \end_layout
20739
20740 \begin_layout LyX-Code
20741
20742 \family sans
20743 </tag>
20744 \end_layout
20745
20746 \begin_layout Standard
20747 ここで
20748 \begin_inset Flex Code
20749 status collapsed
20750
20751 \begin_layout Plain Layout
20752 labeltag
20753 \end_layout
20754
20755 \end_inset
20756
20757
20758 \begin_inset Flex Code
20759 status collapsed
20760
20761 \begin_layout Plain Layout
20762 itemtag
20763 \end_layout
20764
20765 \end_inset
20766
20767 の順序が違っていることに注意してください.どちらの順序になるかは,
20768 \begin_inset Flex Code
20769 status collapsed
20770
20771 \begin_layout Plain Layout
20772 HTMLLabelFirst
20773 \end_layout
20774
20775 \end_inset
20776
20777 の設定に依存します.もし
20778 \begin_inset Flex Code
20779 status collapsed
20780
20781 \begin_layout Plain Layout
20782 HTMLLabelFirst
20783 \end_layout
20784
20785 \end_inset
20786
20787 が偽であれば(既定値),最初のケースのようになり,これが真であれば,二番めのケースのように,labelがitemの外側に来るようになります.
20788 \end_layout
20789
20790 \begin_layout Standard
20791 各段落の特定のタグ出力や属性出力は,以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,前述のように,多くの場合,\SpecialChar LyX
20792 は適切な既定値を生成
20793 するので,たいしたことをしなくても,望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,自分の好みにあわせて微調整する目的
20794 でここにあるものと考えてください.
20795 \end_layout
20796
20797 \begin_layout Description
20798 \begin_inset Flex Code
20799 status collapsed
20800
20801 \begin_layout Plain Layout
20802 HTMLAttr
20803 \end_layout
20804
20805 \end_inset
20806
20807  [
20808 \begin_inset Flex Code
20809 status collapsed
20810
20811 \begin_layout Plain Layout
20812 文字列
20813 \end_layout
20814
20815 \end_inset
20816
20817 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
20818 \begin_inset Flex Code
20819 status collapsed
20820
20821 \begin_layout Plain Layout
20822 class=`mydiv'
20823 \end_layout
20824
20825 \end_inset
20826
20827 」のようなものです.既定においては,\SpecialChar LyX
20828 は「
20829 \begin_inset Flex Code
20830 status collapsed
20831
20832 \begin_layout Plain Layout
20833 class=`レイアウト名'
20834 \end_layout
20835
20836 \end_inset
20837
20838 」と出力します.ここで
20839 \begin_inset Flex Code
20840 status collapsed
20841
20842 \begin_layout Plain Layout
20843 レイアウト名
20844 \end_layout
20845
20846 \end_inset
20847
20848 は,レイアウトの\SpecialChar LyX
20849 名であり,chapterのように小文字で記述します.
20850 \end_layout
20851
20852 \begin_layout Description
20853 \begin_inset Flex Code
20854 status collapsed
20855
20856 \begin_layout Plain Layout
20857 HTMLForceCSS
20858 \end_layout
20859
20860 \end_inset
20861
20862  [
20863 \begin_inset Flex Code
20864 status collapsed
20865
20866 \begin_layout Plain Layout
20867
20868 \emph on
20869 0
20870 \emph default
20871 ,1
20872 \end_layout
20873
20874 \end_inset
20875
20876 ] 
20877 \begin_inset Flex Code
20878 status collapsed
20879
20880 \begin_layout Plain Layout
20881 HTMLStyle
20882 \end_layout
20883
20884 \end_inset
20885
20886 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
20887 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
20888 \begin_inset Flex Code
20889 status collapsed
20890
20891 \begin_layout Plain Layout
20892 1
20893 \end_layout
20894
20895 \end_inset
20896
20897 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
20898 \begin_inset Flex Code
20899 status collapsed
20900
20901 \begin_layout Plain Layout
20902 0
20903 \end_layout
20904
20905 \end_inset
20906
20907 です.
20908 \end_layout
20909
20910 \begin_layout Description
20911 \begin_inset Flex Code
20912 status collapsed
20913
20914 \begin_layout Plain Layout
20915 HTMLItem
20916 \end_layout
20917
20918 \end_inset
20919
20920  [
20921 \begin_inset Flex Code
20922 status collapsed
20923
20924 \begin_layout Plain Layout
20925 文字列
20926 \end_layout
20927
20928 \end_inset
20929
20930 ] 環境の段落に使用されるタグ.上記各例の
20931 \begin_inset Flex Code
20932 status collapsed
20933
20934 \begin_layout Plain Layout
20935 itemtag
20936 \end_layout
20937
20938 \end_inset
20939
20940 を置き換えます.既定値は
20941 \begin_inset Flex Code
20942 status collapsed
20943
20944 \begin_layout Plain Layout
20945 div
20946 \end_layout
20947
20948 \end_inset
20949
20950 です.
20951 \end_layout
20952
20953 \begin_layout Description
20954 \begin_inset Flex Code
20955 status collapsed
20956
20957 \begin_layout Plain Layout
20958 HTMLItemAttr
20959 \end_layout
20960
20961 \end_inset
20962
20963  [
20964 \begin_inset Flex Code
20965 status collapsed
20966
20967 \begin_layout Plain Layout
20968 文字列
20969 \end_layout
20970
20971 \end_inset
20972
20973 ] itemタグの属性.既定値は
20974 \begin_inset Flex Code
20975 status collapsed
20976
20977 \begin_layout Plain Layout
20978 class=`レイアウト名_item'
20979 \end_layout
20980
20981 \end_inset
20982
20983 です.ここには,様式情報は含まれては
20984 \emph on
20985 なりません
20986 \emph default
20987 .その目的のためには,
20988 \begin_inset Flex Code
20989 status collapsed
20990
20991 \begin_layout Plain Layout
20992 HTMLStyle
20993 \end_layout
20994
20995 \end_inset
20996
20997 を使用してください.
20998 \end_layout
20999
21000 \begin_layout Description
21001 \begin_inset Flex Code
21002 status collapsed
21003
21004 \begin_layout Plain Layout
21005 HTMLLabel
21006 \end_layout
21007
21008 \end_inset
21009
21010  [
21011 \begin_inset Flex Code
21012 status collapsed
21013
21014 \begin_layout Plain Layout
21015 文字列
21016 \end_layout
21017
21018 \end_inset
21019
21020 ] 段落と項目ラベルに使用されるタグ.上記各例の
21021 \begin_inset Flex Code
21022 status collapsed
21023
21024 \begin_layout Plain Layout
21025 labeltag
21026 \end_layout
21027
21028 \end_inset
21029
21030 を置き換えます.
21031 \begin_inset Flex Code
21032 status collapsed
21033
21034 \begin_layout Plain Layout
21035 LabelType
21036 \end_layout
21037
21038 \end_inset
21039
21040
21041 \begin_inset Flex Code
21042 status collapsed
21043
21044 \begin_layout Plain Layout
21045 Top_Environment
21046 \end_layout
21047
21048 \end_inset
21049
21050
21051 \begin_inset Flex Code
21052 status collapsed
21053
21054 \begin_layout Plain Layout
21055 Centered_Top_Environment
21056 \end_layout
21057
21058 \end_inset
21059
21060 の時は,既定値は
21061 \begin_inset Flex Code
21062 status collapsed
21063
21064 \begin_layout Plain Layout
21065 div
21066 \end_layout
21067
21068 \end_inset
21069
21070 ですが,それ以外の時の既定値は
21071 \begin_inset Flex Code
21072 status collapsed
21073
21074 \begin_layout Plain Layout
21075 span
21076 \end_layout
21077
21078 \end_inset
21079
21080 です.
21081 \end_layout
21082
21083 \begin_layout Description
21084 \begin_inset Flex Code
21085 status collapsed
21086
21087 \begin_layout Plain Layout
21088 HTMLLabelAttr
21089 \end_layout
21090
21091 \end_inset
21092
21093  [
21094 \begin_inset Flex Code
21095 status collapsed
21096
21097 \begin_layout Plain Layout
21098 文字列
21099 \end_layout
21100
21101 \end_inset
21102
21103 ] labelタグの属性.既定値は
21104 \begin_inset Flex Code
21105 status collapsed
21106
21107 \begin_layout Plain Layout
21108 class=`レイアウト名_label'
21109 \end_layout
21110
21111 \end_inset
21112
21113 です.ここには,様式情報は含まれては
21114 \emph on
21115 なりません
21116 \emph default
21117 .その目的のためには,
21118 \begin_inset Flex Code
21119 status collapsed
21120
21121 \begin_layout Plain Layout
21122 HTMLStyle
21123 \end_layout
21124
21125 \end_inset
21126
21127 を使用してください.
21128 \end_layout
21129
21130 \begin_layout Description
21131 \begin_inset Flex Code
21132 status collapsed
21133
21134 \begin_layout Plain Layout
21135 HTMLLabelFirst
21136 \end_layout
21137
21138 \end_inset
21139
21140  [
21141 \begin_inset Flex Code
21142 status collapsed
21143
21144 \begin_layout Plain Layout
21145
21146 \emph on
21147 0
21148 \emph default
21149 ,1
21150 \end_layout
21151
21152 \end_inset
21153
21154 ] このタグは,リスト関係環境でのみ意味を持ち,labelタグが,itemタグの前に出力されるか,中に出力されるかを制御します.これは,たとえば,descrip
21155 tion環境の中で,
21156 \begin_inset Flex Code
21157 status collapsed
21158
21159 \begin_layout Plain Layout
21160 `<dt>\SpecialChar ldots
21161 </dt><dd>\SpecialChar ldots
21162 </dd>
21163 \end_layout
21164
21165 \end_inset
21166
21167 という形を得るために使用されます.既定値は
21168 \begin_inset Flex Code
21169 status collapsed
21170
21171 \begin_layout Plain Layout
21172 0
21173 \end_layout
21174
21175 \end_inset
21176
21177 で,labelタグはitemタグの中に出力されます.
21178 \end_layout
21179
21180 \begin_layout Description
21181 \begin_inset Flex Code
21182 status collapsed
21183
21184 \begin_layout Plain Layout
21185 HTMLPreamble
21186 \end_layout
21187
21188 \end_inset
21189
21190  この様式が使用されたときに,
21191 \begin_inset Flex Code
21192 status collapsed
21193
21194 \begin_layout Plain Layout
21195 <head>
21196 \end_layout
21197
21198 \end_inset
21199
21200 セクションに出力される情報.これは,たとえば,
21201 \begin_inset Flex Code
21202 status collapsed
21203
21204 \begin_layout Plain Layout
21205 onclick
21206 \end_layout
21207
21208 \end_inset
21209
21210 ハンドラを定義するために
21211 \begin_inset Flex Code
21212 status collapsed
21213
21214 \begin_layout Plain Layout
21215 <script>
21216 \end_layout
21217
21218 \end_inset
21219
21220 ブロックをインクルードするのに使用することができます.
21221 \end_layout
21222
21223 \begin_layout Description
21224 \begin_inset Flex Code
21225 status collapsed
21226
21227 \begin_layout Plain Layout
21228 HTMLStyle
21229 \end_layout
21230
21231 \end_inset
21232
21233   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21234 \begin_inset Flex Code
21235 status collapsed
21236
21237 \begin_layout Plain Layout
21238 <style>
21239 \end_layout
21240
21241 \end_inset
21242
21243 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21244 \begin_inset Flex Code
21245 status collapsed
21246
21247 \begin_layout Plain Layout
21248 EndHTMLStyle
21249 \end_layout
21250
21251 \end_inset
21252
21253 で閉じなくてはなりません.
21254 \end_layout
21255
21256 \begin_layout Description
21257 \begin_inset Flex Code
21258 status collapsed
21259
21260 \begin_layout Plain Layout
21261 HTMLTag
21262 \end_layout
21263
21264 \end_inset
21265
21266  [
21267 \begin_inset Flex Code
21268 status collapsed
21269
21270 \begin_layout Plain Layout
21271 文字列
21272 \end_layout
21273
21274 \end_inset
21275
21276 ] 主幹ラベルに使用されるタグ.上記各例の
21277 \begin_inset Flex Code
21278 status collapsed
21279
21280 \begin_layout Plain Layout
21281 tag
21282 \end_layout
21283
21284 \end_inset
21285
21286 を置き換えます.既定値は
21287 \begin_inset Flex Code
21288 status collapsed
21289
21290 \begin_layout Plain Layout
21291 div
21292 \end_layout
21293
21294 \end_inset
21295
21296 です.
21297 \end_layout
21298
21299 \begin_layout Description
21300 \begin_inset Flex Code
21301 status collapsed
21302
21303 \begin_layout Plain Layout
21304 HTMLTitle
21305 \end_layout
21306
21307 \end_inset
21308
21309  [
21310 \begin_inset Flex Code
21311 status collapsed
21312
21313 \begin_layout Plain Layout
21314
21315 \emph on
21316 0
21317 \emph default
21318 ,1
21319 \end_layout
21320
21321 \end_inset
21322
21323 ] この様式が,XHTMLファイルの
21324 \begin_inset Flex Code
21325 status collapsed
21326
21327 \begin_layout Plain Layout
21328 <title>
21329 \end_layout
21330
21331 \end_inset
21332
21333 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
21334 \begin_inset Flex Code
21335 status collapsed
21336
21337 \begin_layout Plain Layout
21338 stdtitle.inc
21339 \end_layout
21340
21341 \end_inset
21342
21343 ファイルでは,
21344 \begin_inset Flex Code
21345 status collapsed
21346
21347 \begin_layout Plain Layout
21348 title
21349 \end_layout
21350
21351 \end_inset
21352
21353 環境のこの項目を真に設定しています.
21354 \end_layout
21355
21356 \begin_layout Subsection
21357 差込枠レイアウトXHTML
21358 \end_layout
21359
21360 \begin_layout Standard
21361 差込枠のXHTML出力も,レイアウトファイル内の情報によって制御することができます
21362 \begin_inset Foot
21363 status collapsed
21364
21365 \begin_layout Plain Layout
21366 現在のところ,これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されませ
21367 ん.
21368 \end_layout
21369
21370 \end_inset
21371
21372 .ここでも,\SpecialChar LyX
21373 は適切な既定値を提供しようと試み,既定のCSS様式を構成します.しかし,すべてカスタマイズ可能です.
21374 \end_layout
21375
21376 \begin_layout Standard
21377 \SpecialChar LyX
21378 が差込枠用に出力するXHTMLは,以下の形を取ります.
21379 \end_layout
21380
21381 \begin_layout LyX-Code
21382 <tag attr=
21383 \begin_inset Quotes erd
21384 \end_inset
21385
21386 value
21387 \begin_inset Quotes erd
21388 \end_inset
21389
21390 >
21391 \end_layout
21392
21393 \begin_layout LyX-Code
21394 <labeltag>ラベル</labeltag>
21395 \end_layout
21396
21397 \begin_layout LyX-Code
21398 <innertag attr=
21399 \begin_inset Quotes erd
21400 \end_inset
21401
21402 value
21403 \begin_inset Quotes erd
21404 \end_inset
21405
21406 >差込枠の内容.</innertag>
21407 \end_layout
21408
21409 \begin_layout LyX-Code
21410 </tag>
21411 \end_layout
21412
21413 \begin_layout Standard
21414 差込枠が多段落を許可している—つまり
21415 \begin_inset Flex Code
21416 status collapsed
21417
21418 \begin_layout Plain Layout
21419 MultiPar
21420 \end_layout
21421
21422 \end_inset
21423
21424 が真—ならば,差込枠の内容は,それ自身段落として出力され,それらの段落に用いられる様式(標準,引用など)を用いて整形されます.もちろん,段落にラベルがなければ,
21425 labelタグは省略され,ラベルがあれば,現在のところ,つねに
21426 \begin_inset Flex Code
21427 status collapsed
21428
21429 \begin_layout Plain Layout
21430 span
21431 \end_layout
21432
21433 \end_inset
21434
21435 が用いられます.innerタグは非必須であり,既定では出力されません.各差込枠用に出力される特定のタグや属性は,以下のレイアウトタグによって制御することができま
21436 す.
21437 \end_layout
21438
21439 \begin_layout Description
21440 \begin_inset Flex Code
21441 status collapsed
21442
21443 \begin_layout Plain Layout
21444 HTMLAttr
21445 \end_layout
21446
21447 \end_inset
21448
21449  [
21450 \begin_inset Flex Code
21451 status collapsed
21452
21453 \begin_layout Plain Layout
21454 文字列
21455 \end_layout
21456
21457 \end_inset
21458
21459 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21460 \begin_inset Flex Code
21461 status collapsed
21462
21463 \begin_layout Plain Layout
21464 class=`myinset' onclick=`\SpecialChar ldots
21465 '
21466 \end_layout
21467
21468 \end_inset
21469
21470 」のようなものです.既定においては,\SpecialChar LyX
21471 は「
21472 \begin_inset Flex Code
21473 status collapsed
21474
21475 \begin_layout Plain Layout
21476 class=`差込枠名'
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 は,差込枠の\SpecialChar LyX
21492 名であり,小文字で記述します.アルファベットや数字以外の文字は,アンダースコアに置き換えられます.
21493 \end_layout
21494
21495 \begin_layout Description
21496 \begin_inset Flex Code
21497 status collapsed
21498
21499 \begin_layout Plain Layout
21500 HTMLForceCSS
21501 \end_layout
21502
21503 \end_inset
21504
21505  [
21506 \begin_inset Flex Code
21507 status collapsed
21508
21509 \begin_layout Plain Layout
21510
21511 \emph on
21512 0
21513 \emph default
21514 ,1
21515 \end_layout
21516
21517 \end_inset
21518
21519 ] 
21520 \begin_inset Flex Code
21521 status collapsed
21522
21523 \begin_layout Plain Layout
21524 HTMLStyle
21525 \end_layout
21526
21527 \end_inset
21528
21529 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
21530 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
21531 \begin_inset Flex Code
21532 status collapsed
21533
21534 \begin_layout Plain Layout
21535 1
21536 \end_layout
21537
21538 \end_inset
21539
21540 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
21541 \begin_inset Flex Code
21542 status collapsed
21543
21544 \begin_layout Plain Layout
21545 0
21546 \end_layout
21547
21548 \end_inset
21549
21550 です.
21551 \end_layout
21552
21553 \begin_layout Description
21554 \begin_inset Flex Code
21555 status collapsed
21556
21557 \begin_layout Plain Layout
21558 HTMLInnerAttr
21559 \end_layout
21560
21561 \end_inset
21562
21563  [
21564 \begin_inset Flex Code
21565 status collapsed
21566
21567 \begin_layout Plain Layout
21568 文字列
21569 \end_layout
21570
21571 \end_inset
21572
21573 ] innerタグの属性.既定値は
21574 \begin_inset Flex Code
21575 status collapsed
21576
21577 \begin_layout Plain Layout
21578 class=`差込枠名_inner'
21579 \end_layout
21580
21581 \end_inset
21582
21583 です.
21584 \end_layout
21585
21586 \begin_layout Description
21587 \begin_inset Flex Code
21588 status collapsed
21589
21590 \begin_layout Plain Layout
21591 HTMLInnerTag
21592 \end_layout
21593
21594 \end_inset
21595
21596  [
21597 \begin_inset Flex Code
21598 status collapsed
21599
21600 \begin_layout Plain Layout
21601 文字列
21602 \end_layout
21603
21604 \end_inset
21605
21606 ] innerタグです.上記各例の
21607 \begin_inset Flex Code
21608 status collapsed
21609
21610 \begin_layout Plain Layout
21611 innertag
21612 \end_layout
21613
21614 \end_inset
21615
21616 を置き換えます.既定値はなしです.
21617 \end_layout
21618
21619 \begin_layout Description
21620 \begin_inset Flex Code
21621 status collapsed
21622
21623 \begin_layout Plain Layout
21624 HTMLIsBlock
21625 \end_layout
21626
21627 \end_inset
21628
21629  [
21630 \begin_inset Flex Code
21631 status collapsed
21632
21633 \begin_layout Plain Layout
21634 0,
21635 \emph on
21636 1
21637 \end_layout
21638
21639 \end_inset
21640
21641 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,それとも,(派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
21642 \end_layout
21643
21644 \begin_layout Description
21645 \begin_inset Flex Code
21646 status collapsed
21647
21648 \begin_layout Plain Layout
21649 HTMLLabel
21650 \end_layout
21651
21652 \end_inset
21653
21654  [
21655 \begin_inset Flex Code
21656 status collapsed
21657
21658 \begin_layout Plain Layout
21659 文字列
21660 \end_layout
21661
21662 \end_inset
21663
21664 ] 場合によっては,カウンタへの参照を含む,この差込枠のラベル.たとえば,脚註用には
21665 \begin_inset Flex Code
21666 status collapsed
21667
21668 \begin_layout Plain Layout
21669
21670 \backslash
21671 arabic{footnote}
21672 \end_layout
21673
21674 \end_inset
21675
21676 など.これは非必須であり,既定値はありません.
21677 \end_layout
21678
21679 \begin_layout Description
21680 \begin_inset Flex Code
21681 status collapsed
21682
21683 \begin_layout Plain Layout
21684 HTMLPreamble
21685 \end_layout
21686
21687 \end_inset
21688
21689  この様式が使用されたときに,
21690 \begin_inset Flex Code
21691 status collapsed
21692
21693 \begin_layout Plain Layout
21694 <head>
21695 \end_layout
21696
21697 \end_inset
21698
21699 セクションに出力される情報.これは,たとえば,
21700 \begin_inset Flex Code
21701 status collapsed
21702
21703 \begin_layout Plain Layout
21704 onclick
21705 \end_layout
21706
21707 \end_inset
21708
21709 ハンドラを定義するために
21710 \begin_inset Flex Code
21711 status collapsed
21712
21713 \begin_layout Plain Layout
21714 <script>
21715 \end_layout
21716
21717 \end_inset
21718
21719 ブロックをインクルードするのに使用することができます.
21720 \end_layout
21721
21722 \begin_layout Description
21723 \begin_inset Flex Code
21724 status collapsed
21725
21726 \begin_layout Plain Layout
21727 HTMLStyle
21728 \end_layout
21729
21730 \end_inset
21731
21732   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21733 \begin_inset Flex Code
21734 status collapsed
21735
21736 \begin_layout Plain Layout
21737 <style>
21738 \end_layout
21739
21740 \end_inset
21741
21742 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21743 \end_layout
21744
21745 \begin_layout Description
21746 \begin_inset Flex Code
21747 status collapsed
21748
21749 \begin_layout Plain Layout
21750 HTMLTag
21751 \end_layout
21752
21753 \end_inset
21754
21755  [
21756 \begin_inset Flex Code
21757 status collapsed
21758
21759 \begin_layout Plain Layout
21760 文字列
21761 \end_layout
21762
21763 \end_inset
21764
21765 ] 主幹ラベルに使用されるタグ.上記各例の
21766 \begin_inset Flex Code
21767 status collapsed
21768
21769 \begin_layout Plain Layout
21770 tag
21771 \end_layout
21772
21773 \end_inset
21774
21775 を置き換えます.既定値は
21776 \begin_inset Flex Code
21777 status collapsed
21778
21779 \begin_layout Plain Layout
21780 MultiPar
21781 \end_layout
21782
21783 \end_inset
21784
21785 の設定に依存し,
21786 \begin_inset Flex Code
21787 status collapsed
21788
21789 \begin_layout Plain Layout
21790 MultiPar
21791 \end_layout
21792
21793 \end_inset
21794
21795 が真ならば
21796 \begin_inset Flex Code
21797 status collapsed
21798
21799 \begin_layout Plain Layout
21800 div
21801 \end_layout
21802
21803 \end_inset
21804
21805 ,偽ならば
21806 \begin_inset Flex Code
21807 status collapsed
21808
21809 \begin_layout Plain Layout
21810 span
21811 \end_layout
21812
21813 \end_inset
21814
21815 です.
21816 \end_layout
21817
21818 \begin_layout Subsection
21819 フロートXHTML
21820 \end_layout
21821
21822 \begin_layout Standard
21823 フロートのXHTML出力も,レイアウトファイル内の情報によって制御することができます.出力は,以下の形を取ります.
21824 \end_layout
21825
21826 \begin_layout LyX-Code
21827 <tag attr=
21828 \begin_inset Quotes erd
21829 \end_inset
21830
21831 value
21832 \begin_inset Quotes erd
21833 \end_inset
21834
21835 >
21836 \end_layout
21837
21838 \begin_layout LyX-Code
21839 フロートの内容.
21840 \end_layout
21841
21842 \begin_layout LyX-Code
21843 </tag>
21844 \end_layout
21845
21846 \begin_layout Standard
21847 キャプションは,存在している場合には,独立した差込枠となり,そのような形で出力されます.その外観は,キャプション差込枠のInsetLayoutで制御することがで
21848 きます.
21849 \end_layout
21850
21851 \begin_layout Description
21852 \begin_inset Flex Code
21853 status collapsed
21854
21855 \begin_layout Plain Layout
21856 HTMLAttr
21857 \end_layout
21858
21859 \end_inset
21860
21861  [
21862 \begin_inset Flex Code
21863 status collapsed
21864
21865 \begin_layout Plain Layout
21866 文字列
21867 \end_layout
21868
21869 \end_inset
21870
21871 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21872 \begin_inset Flex Code
21873 status collapsed
21874
21875 \begin_layout Plain Layout
21876 class=`myfloat' onclick=`\SpecialChar ldots
21877 '
21878 \end_layout
21879
21880 \end_inset
21881
21882 」のようなものです.既定においては,\SpecialChar LyX
21883 は「
21884 \begin_inset Flex Code
21885 status collapsed
21886
21887 \begin_layout Plain Layout
21888 class=`float フロート-フロート型'
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 CommandInset ref
21905 LatexCommand ref
21906 reference "subsec:フロート"
21907
21908 \end_inset
21909
21910 参照),この型のフロートの\SpecialChar LyX
21911 名です.ただし,これは小文字に変換され,アルファベットや数字でない文字はアンダースコアに変換されます.例:float-table.
21912 \end_layout
21913
21914 \begin_layout Description
21915 \begin_inset Flex Code
21916 status collapsed
21917
21918 \begin_layout Plain Layout
21919 HTMLStyle
21920 \end_layout
21921
21922 \end_inset
21923
21924   このフロートが使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21925 \begin_inset Flex Code
21926 status collapsed
21927
21928 \begin_layout Plain Layout
21929 <style>
21930 \end_layout
21931
21932 \end_inset
21933
21934 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21935 \end_layout
21936
21937 \begin_layout Description
21938 \begin_inset Flex Code
21939 status collapsed
21940
21941 \begin_layout Plain Layout
21942 HTMLTag
21943 \end_layout
21944
21945 \end_inset
21946
21947  [
21948 \begin_inset Flex Code
21949 status collapsed
21950
21951 \begin_layout Plain Layout
21952 文字列
21953 \end_layout
21954
21955 \end_inset
21956
21957 ] このフロートに使用されるタグ.上記各例の
21958 \begin_inset Flex Code
21959 status collapsed
21960
21961 \begin_layout Plain Layout
21962 tag
21963 \end_layout
21964
21965 \end_inset
21966
21967 を置き換えます.既定値は
21968 \begin_inset Flex Code
21969 status collapsed
21970
21971 \begin_layout Plain Layout
21972 div
21973 \end_layout
21974
21975 \end_inset
21976
21977 であり,ほとんどの場合変更する必要はありません.
21978 \end_layout
21979
21980 \begin_layout Subsection
21981 書誌情報の整形
21982 \end_layout
21983
21984 \begin_layout Standard
21985 書誌情報は,
21986 \begin_inset Flex Code
21987 status collapsed
21988
21989 \begin_layout Plain Layout
21990 CiteFormat
21991 \end_layout
21992
21993 \end_inset
21994
21995 ブロックを使用して整形することができます.詳細については,
21996 \begin_inset CommandInset ref
21997 LatexCommand ref
21998 reference "subsec:引用書式指定"
21999
22000 \end_inset
22001
22002 を参照してください.
22003 \end_layout
22004
22005 \begin_layout Subsection
22006 \SpecialChar LyX
22007 が生成したCSS
22008 \end_layout
22009
22010 \begin_layout Standard
22011 \SpecialChar LyX
22012 は,提供されている他のレイアウト情報に基づいて,差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,これまでに何度か触れました.この節では,\SpecialChar LyX
22013
22014 がどのレイアウト情報を,どのように使うのか,ひとこと述べておきたいと思います.
22015 \end_layout
22016
22017 \begin_layout Standard
22018 \SpecialChar LyX
22019 は,現在のところ,
22020 \begin_inset Flex Code
22021 status collapsed
22022
22023 \begin_layout Plain Layout
22024 Font
22025 \end_layout
22026
22027 \end_inset
22028
22029 宣言で指定されている
22030 \begin_inset Flex Code
22031 status collapsed
22032
22033 \begin_layout Plain Layout
22034 Family
22035 \end_layout
22036
22037 \end_inset
22038
22039
22040 \begin_inset Flex Code
22041 status collapsed
22042
22043 \begin_layout Plain Layout
22044 Series
22045 \end_layout
22046
22047 \end_inset
22048
22049
22050 \begin_inset Flex Code
22051 status collapsed
22052
22053 \begin_layout Plain Layout
22054 Shape
22055 \end_layout
22056
22057 \end_inset
22058
22059
22060 \begin_inset Flex Code
22061 status collapsed
22062
22063 \begin_layout Plain Layout
22064 Size
22065 \end_layout
22066
22067 \end_inset
22068
22069 を利用して,フォント情報についてのみCSSを自動生成します(
22070 \begin_inset CommandInset ref
22071 LatexCommand ref
22072 reference "subsec:フォント指定"
22073
22074 \end_inset
22075
22076 を参照).この変換は,きわめて分かりやすく自明です.たとえば,「
22077 \begin_inset Flex Code
22078 status collapsed
22079
22080 \begin_layout Plain Layout
22081 Family Sans
22082 \end_layout
22083
22084 \end_inset
22085
22086 」は「
22087 \begin_inset Flex Code
22088 status collapsed
22089
22090 \begin_layout Plain Layout
22091 font-family: sans-serif
22092 \end_layout
22093
22094 \end_inset
22095
22096 」になります.\SpecialChar LyX
22097 の寸法とCSSの寸法のあいだの対応は,少し複雑ですが,それでも直感的に分かります.詳細については,
22098 \begin_inset Flex URL
22099 status collapsed
22100
22101 \begin_layout Plain Layout
22102
22103 src/FontInfo.cpp
22104 \end_layout
22105
22106 \end_inset
22107
22108
22109 \begin_inset Flex Code
22110 status collapsed
22111
22112 \begin_layout Plain Layout
22113 getSizeCSS()
22114 \end_layout
22115
22116 \end_inset
22117
22118 関数をご覧ください.
22119 \end_layout
22120
22121 \begin_layout Chapter
22122 外部素材を取り込む
22123 \begin_inset CommandInset label
22124 LatexCommand label
22125 name "chap:外部素材を取り込む"
22126
22127 \end_inset
22128
22129
22130 \end_layout
22131
22132 \begin_layout Standard
22133 \begin_inset Box Shadowbox
22134 position "t"
22135 hor_pos "c"
22136 has_inner_box 1
22137 inner_pos "t"
22138 use_parbox 0
22139 use_makebox 0
22140 width "100col%"
22141 special "none"
22142 height "1in"
22143 height_special "totalheight"
22144 thickness "0.4pt"
22145 separation "3pt"
22146 shadowsize "4pt"
22147 framecolor "black"
22148 backgroundcolor "none"
22149 status open
22150
22151 \begin_layout Plain Layout
22152 【警告】本説明書のこの部分は,しばらく更新されていません.もちろんまだ正確であることを期待していますが,保証の限りではありません.
22153 \end_layout
22154
22155 \end_inset
22156
22157
22158 \end_layout
22159
22160 \begin_layout Standard
22161 \SpecialChar LyX
22162 外部のソースから素材を使用する方法は,取扱説明書『
22163 \emph on
22164 埋込オブジェクト篇
22165 \emph default
22166 』で詳細にカバーされています.本章は,新種の素材を取り込む際に,舞台裏で何をする必要があるかをカバーします.
22167 \end_layout
22168
22169 \begin_layout Section
22170 どのように機能するのか
22171 \end_layout
22172
22173 \begin_layout Standard
22174 外部素材の機能は,ひな型の概念に基づいています.ひな型は,\SpecialChar LyX
22175 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,\SpecialChar LyX
22176 は,Xfigの図や,様々
22177 なラスター形式画像,チェス棋譜,LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
22178 \begin_inset Flex MenuItem
22179 status collapsed
22180
22181 \begin_layout Plain Layout
22182 挿入\SpecialChar menuseparator
22183 ファイル\SpecialChar menuseparator
22184 外部素材
22185 \end_layout
22186
22187 \end_inset
22188
22189 メニューで見ることができます.さらに,特定の型の素材をサポートするのに,自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しま
22190 すが,できればあなたが作ったすべてのひな型を投稿して,我々が\SpecialChar LyX
22191 の後の版に取り込むことができるようにしてくださることを希望します.
22192 \end_layout
22193
22194 \begin_layout Standard
22195 外部素材の機能におけるもう一つの基本的な発想は,最終素材の元となるオリジナルファイルと,書き出された文書や印刷された文書に取り込むための生成ファイルとを区別して
22196 いることです.たとえば,
22197 \begin_inset Flex Code
22198 status collapsed
22199
22200 \begin_layout Plain Layout
22201 Xfig
22202 \end_layout
22203
22204 \end_inset
22205
22206 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
22207 \begin_inset Flex Code
22208 status collapsed
22209
22210 \begin_layout Plain Layout
22211 .fig
22212 \end_layout
22213
22214 \end_inset
22215
22216 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,作業が終われば
22217 \begin_inset Flex Code
22218 status collapsed
22219
22220 \begin_layout Plain Layout
22221 fig
22222 \end_layout
22223
22224 \end_inset
22225
22226 ファイルに保存します.この図をお使いの文書に取り込みたいときには,\SpecialChar LaTeX
22227 ファイルにそのままインクルードできるように,
22228 \begin_inset Flex Code
22229 status collapsed
22230
22231 \begin_layout Plain Layout
22232 transfig
22233 \end_layout
22234
22235 \end_inset
22236
22237 を呼び出してPostScriptファイルを生成します.この場合には,
22238 \begin_inset Flex Code
22239 status collapsed
22240
22241 \begin_layout Plain Layout
22242 .fig
22243 \end_layout
22244
22245 \end_inset
22246
22247 ファイルがオリジナルファイルであり,PostScriptファイルが生成ファイルになります.
22248 \end_layout
22249
22250 \begin_layout Standard
22251 この区別は,文書を執筆している最中に,素材を更新することができるようにするために重要です.さらに,これによって,複数の書き出し書式をサポートするために必要な柔軟
22252 性が提供されます.たとえば,平文テキストファイルの場合には,図を生のPostScriptファイルとして取り込むのは,とても褒められた発想とはいえません.むしろ,
22253 その図への参照だけを含めるか,最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
22254 の外部素材マネジメントは
22255 ,\SpecialChar LyX
22256 がサポートする各書き出し書式別に仕分けしているので,ユーザがこれを行うことが可能となっています.
22257 \end_layout
22258
22259 \begin_layout Standard
22260 \SpecialChar LyX
22261 の外部素材マネジメントは,書き出し書式によって異なる生成物をサポートすることの他に,編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図
22262 の場合には,\SpecialChar LyX
22263 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,ダブルクリックすることで生成されたPostScriptファイ
22264 ルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファ
22265 イルブラウザをいじくり回す必要はないのです.このようにして,文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,最終的により生産性を上げることが
22266 できるようになるのです.
22267 \end_layout
22268
22269 \begin_layout Section
22270 外用ひな型設定ファイル
22271 \end_layout
22272
22273 \begin_layout Standard
22274 \SpecialChar LyX
22275 に自製の外用ひな型を付け加えるのは,比較的簡単です.しかしながら,これを不用心に行ってしまうと,たいていの場合,簡単に濫用されてしまうようなセキュリティホールを
22276 作ってしまいがちであることを心に留めておいてください.したがって,これを実行に移す前に,
22277 \begin_inset CommandInset ref
22278 LatexCommand ref
22279 reference "sec:セキュリティに関する論点"
22280
22281 \end_inset
22282
22283 のセキュリティに関する議論を読んでおいてください.
22284 \end_layout
22285
22286 \begin_layout Standard
22287 このことに言及した上で,あなたが作成した面白いひな型は,ぜひ投稿してください.
22288 \end_layout
22289
22290 \begin_layout Standard
22291 外用ひな型ファイルは,
22292 \begin_inset Flex Code
22293 status collapsed
22294
22295 \begin_layout Plain Layout
22296 LyXDir/lib/xtemplates/
22297 \end_layout
22298
22299 \end_inset
22300
22301 ディレクトリ中にある
22302 \begin_inset Flex Code
22303 status collapsed
22304
22305 \begin_layout Plain Layout
22306 *.xtemplate
22307 \end_layout
22308
22309 \end_inset
22310
22311 ファイルに定義されています.各ひな型は,そのファイル完結で定義されています.自分専用のひな型を
22312 \begin_inset Flex Code
22313 status collapsed
22314
22315 \begin_layout Plain Layout
22316 UserDir/xtemplates/
22317 \end_layout
22318
22319 \end_inset
22320
22321 に置くこともできますし,既存のひな型をそのデイレク取りにコピーして修正を加えることもできます.
22322 \end_layout
22323
22324 \begin_layout Standard
22325 典型的なひな型は以下のようになります.
22326 \end_layout
22327
22328 \begin_layout LyX-Code
22329 Template XFig
22330 \end_layout
22331
22332 \begin_layout LyX-Code
22333 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22334 \end_layout
22335
22336 \begin_layout LyX-Code
22337 HelpText
22338 \end_layout
22339
22340 \begin_layout LyX-Code
22341 An XFig figure.
22342 \end_layout
22343
22344 \begin_layout LyX-Code
22345 HelpTextEnd
22346 \end_layout
22347
22348 \begin_layout LyX-Code
22349 InputFormat fig
22350 \end_layout
22351
22352 \begin_layout LyX-Code
22353 FileFilter "*.fig"
22354 \end_layout
22355
22356 \begin_layout LyX-Code
22357 AutomaticProduction true
22358 \end_layout
22359
22360 \begin_layout LyX-Code
22361 Transform Rotate
22362 \end_layout
22363
22364 \begin_layout LyX-Code
22365 Transform Resize
22366 \end_layout
22367
22368 \begin_layout LyX-Code
22369 Format LaTeX
22370 \end_layout
22371
22372 \begin_layout LyX-Code
22373 TransformCommand Rotate RotationLatexCommand
22374 \end_layout
22375
22376 \begin_layout LyX-Code
22377 TransformCommand Resize ResizeLatexCommand
22378 \end_layout
22379
22380 \begin_layout LyX-Code
22381 Product "$$RotateFront$$ResizeFront
22382 \end_layout
22383
22384 \begin_layout LyX-Code
22385          
22386 \backslash
22387
22388 \backslash
22389 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22390 \end_layout
22391
22392 \begin_layout LyX-Code
22393          $$ResizeBack$$RotateBack"
22394 \end_layout
22395
22396 \begin_layout LyX-Code
22397 UpdateFormat pstex
22398 \end_layout
22399
22400 \begin_layout LyX-Code
22401 UpdateResult "$$AbsPath$$Basename.pstex_t"
22402 \end_layout
22403
22404 \begin_layout LyX-Code
22405 Requirement "graphicx"
22406 \end_layout
22407
22408 \begin_layout LyX-Code
22409 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22410 \end_layout
22411
22412 \begin_layout LyX-Code
22413 ReferencedFile latex "$$AbsPath$$Basename.eps"
22414 \end_layout
22415
22416 \begin_layout LyX-Code
22417 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22418 \end_layout
22419
22420 \begin_layout LyX-Code
22421 FormatEnd
22422 \end_layout
22423
22424 \begin_layout LyX-Code
22425 Format PDFLaTeX
22426 \end_layout
22427
22428 \begin_layout LyX-Code
22429 TransformCommand Rotate RotationLatexCommand
22430 \end_layout
22431
22432 \begin_layout LyX-Code
22433 TransformCommand Resize ResizeLatexCommand
22434 \end_layout
22435
22436 \begin_layout LyX-Code
22437 Product "$$RotateFront$$ResizeFront
22438 \end_layout
22439
22440 \begin_layout LyX-Code
22441          
22442 \backslash
22443
22444 \backslash
22445 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22446 \end_layout
22447
22448 \begin_layout LyX-Code
22449          $$ResizeBack$$RotateBack"
22450 \end_layout
22451
22452 \begin_layout LyX-Code
22453 UpdateFormat pdftex
22454 \end_layout
22455
22456 \begin_layout LyX-Code
22457 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22458 \end_layout
22459
22460 \begin_layout LyX-Code
22461 Requirement "graphicx"
22462 \end_layout
22463
22464 \begin_layout LyX-Code
22465 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22466 \end_layout
22467
22468 \begin_layout LyX-Code
22469 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22470 \end_layout
22471
22472 \begin_layout LyX-Code
22473 FormatEnd
22474 \end_layout
22475
22476 \begin_layout LyX-Code
22477 Format Ascii
22478 \end_layout
22479
22480 \begin_layout LyX-Code
22481 Product "$$Contents(
22482 \backslash
22483 "$$AbsPath$$Basename.asc
22484 \backslash
22485 ")"
22486 \end_layout
22487
22488 \begin_layout LyX-Code
22489 UpdateFormat asciixfig
22490 \end_layout
22491
22492 \begin_layout LyX-Code
22493 UpdateResult "$$AbsPath$$Basename.asc"
22494 \end_layout
22495
22496 \begin_layout LyX-Code
22497 FormatEnd
22498 \end_layout
22499
22500 \begin_layout LyX-Code
22501 Format DocBook
22502 \end_layout
22503
22504 \begin_layout LyX-Code
22505 Product "<graphic fileref=
22506 \backslash
22507 "$$AbsOrRelPathMaster$$Basename.eps
22508 \backslash
22509 ">
22510 \end_layout
22511
22512 \begin_layout LyX-Code
22513          </graphic>"
22514 \end_layout
22515
22516 \begin_layout LyX-Code
22517 UpdateFormat eps
22518 \end_layout
22519
22520 \begin_layout LyX-Code
22521 UpdateResult "$$AbsPath$$Basename.eps"
22522 \end_layout
22523
22524 \begin_layout LyX-Code
22525 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22526 \end_layout
22527
22528 \begin_layout LyX-Code
22529 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22530 \end_layout
22531
22532 \begin_layout LyX-Code
22533 FormatEnd
22534 \end_layout
22535
22536 \begin_layout LyX-Code
22537 Product "[XFig: $$FName]"
22538 \end_layout
22539
22540 \begin_layout LyX-Code
22541 FormatEnd
22542 \end_layout
22543
22544 \begin_layout LyX-Code
22545 TemplateEnd
22546 \end_layout
22547
22548 \begin_layout Standard
22549 ご覧の通り,ひな型は
22550 \begin_inset Flex Code
22551 status collapsed
22552
22553 \begin_layout Plain Layout
22554 Template
22555 \end_layout
22556
22557 \end_inset
22558
22559  \SpecialChar ldots
22560  
22561 \begin_inset Flex Code
22562 status collapsed
22563
22564 \begin_layout Plain Layout
22565 TemplateEnd
22566 \end_layout
22567
22568 \end_inset
22569
22570 で閉じられます.ひな型には,一般的な設定を行うヘッダ部と,サポートされている主要な文書ファイル形式の設定を行う
22571 \begin_inset Flex Code
22572 status collapsed
22573
22574 \begin_layout Plain Layout
22575 Format
22576 \end_layout
22577
22578 \end_inset
22579
22580  \SpecialChar ldots
22581  
22582 \begin_inset Flex Code
22583 status collapsed
22584
22585 \begin_layout Plain Layout
22586 FormatEnd
22587 \end_layout
22588
22589 \end_inset
22590
22591 部があります.
22592 \end_layout
22593
22594 \begin_layout Subsection
22595 ひな型のヘッダ
22596 \end_layout
22597
22598 \begin_layout Description
22599 \begin_inset Flex Code
22600 status collapsed
22601
22602 \begin_layout Plain Layout
22603 AutomaticProduction
22604 \begin_inset space ~
22605 \end_inset
22606
22607 true|false
22608 \end_layout
22609
22610 \end_inset
22611
22612  このひな型で扱うファイルを\SpecialChar LyX
22613 が生成しなくてはならないか否か.このコマンドは,一度だけ必ず現れなくてはなりません.
22614 \end_layout
22615
22616 \begin_layout Description
22617 \begin_inset Flex Code
22618 status collapsed
22619
22620 \begin_layout Plain Layout
22621 FileFilter
22622 \begin_inset space ~
22623 \end_inset
22624
22625 <パターン>
22626 \end_layout
22627
22628 \end_inset
22629
22630  望むファイル群を表示するために,ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,tgifには
22631 \begin_inset Flex Code
22632 status collapsed
22633
22634 \begin_layout Plain Layout
22635 .obj
22636 \end_layout
22637
22638 \end_inset
22639
22640
22641 \begin_inset Flex Code
22642 status collapsed
22643
22644 \begin_layout Plain Layout
22645 .tgo
22646 \end_layout
22647
22648 \end_inset
22649
22650 があります),「
22651 \begin_inset Flex Code
22652 status collapsed
22653
22654 \begin_layout Plain Layout
22655 *.{obj,tgo}
22656 \end_layout
22657
22658 \end_inset
22659
22660 」の様なパターンを使用してください.このコマンドは,一度だけ必ず現れなくてはなりません.
22661 \end_layout
22662
22663 \begin_layout Description
22664 \begin_inset Flex Code
22665 status collapsed
22666
22667 \begin_layout Plain Layout
22668 GuiName
22669 \begin_inset space ~
22670 \end_inset
22671
22672 <GUI名>
22673 \end_layout
22674
22675 \end_inset
22676
22677  この文字列はボタン上に表示されます.このコマンドは,一度だけ必ず現れなくてはなりません.
22678 \end_layout
22679
22680 \begin_layout Description
22681 \begin_inset Flex Code
22682 status collapsed
22683
22684 \begin_layout Plain Layout
22685 HelpText
22686 \begin_inset space ~
22687 \end_inset
22688
22689 <文章>
22690 \begin_inset space ~
22691 \end_inset
22692
22693 HelpTextEnd
22694 \end_layout
22695
22696 \end_inset
22697
22698  外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,一度だけ必
22699 ず現れなくてはなりません.
22700 \end_layout
22701
22702 \begin_layout Description
22703 \begin_inset Flex Code
22704 status collapsed
22705
22706 \begin_layout Plain Layout
22707 InputFormat
22708 \begin_inset space ~
22709 \end_inset
22710
22711 <書式>
22712 \end_layout
22713
22714 \end_inset
22715
22716  オリジナルファイルのファイル形式.これは,\SpecialChar LyX
22717 が知っている書式名でなくてはなりません(
22718 \begin_inset CommandInset ref
22719 LatexCommand ref
22720 reference "sec:ファイル形式"
22721
22722 \end_inset
22723
22724 参照).このひな型が,2つ以上の書式のオリジナルファイルを取り扱える場合は,「
22725 \begin_inset Flex Code
22726 status collapsed
22727
22728 \begin_layout Plain Layout
22729 *
22730 \end_layout
22731
22732 \end_inset
22733
22734 」を使用してください.この場合,\SpecialChar LyX
22735 はファイル形式を推定するために,ファイル自体に詮索を試みます.このコマンドは,一度だけ必ず現れなくてはなりません.
22736 \end_layout
22737
22738 \begin_layout Description
22739 \begin_inset Flex Code
22740 status collapsed
22741
22742 \begin_layout Plain Layout
22743 Template
22744 \begin_inset space ~
22745 \end_inset
22746
22747 <ID>
22748 \end_layout
22749
22750 \end_inset
22751
22752  このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
22753 \end_layout
22754
22755 \begin_layout Description
22756 \begin_inset Flex Code
22757 status collapsed
22758
22759 \begin_layout Plain Layout
22760 Transform
22761 \begin_inset space ~
22762 \end_inset
22763
22764 Rotate|Resize|Clip|Extra
22765 \end_layout
22766
22767 \end_inset
22768
22769  このコマンドは,このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,外部素材ダイア
22770 ログ中の対応するタブを使用可能にします.
22771 \begin_inset Flex Code
22772 status collapsed
22773
22774 \begin_layout Plain Layout
22775 Transform
22776 \end_layout
22777
22778 \end_inset
22779
22780 コマンド一つずつに応じて,
22781 \begin_inset Flex Code
22782 status collapsed
22783
22784 \begin_layout Plain Layout
22785 Format
22786 \end_layout
22787
22788 \end_inset
22789
22790 部に,対応する
22791 \begin_inset Flex Code
22792 status collapsed
22793
22794 \begin_layout Plain Layout
22795 TransformCommand
22796 \end_layout
22797
22798 \end_inset
22799
22800 コマンドか
22801 \begin_inset Flex Code
22802 status collapsed
22803
22804 \begin_layout Plain Layout
22805 TransformOption
22806 \end_layout
22807
22808 \end_inset
22809
22810 コマンドを置かなくてはなりません.これを行わないと,この書式での変換はサポートされません.
22811 \end_layout
22812
22813 \begin_layout Subsection
22814 \begin_inset Flex Code
22815 status collapsed
22816
22817 \begin_layout Plain Layout
22818 Format
22819 \end_layout
22820
22821 \end_inset
22822
22823
22824 \end_layout
22825
22826 \begin_layout Description
22827 \begin_inset Flex Code
22828 status collapsed
22829
22830 \begin_layout Plain Layout
22831 Format
22832 \begin_inset space ~
22833 \end_inset
22834
22835 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
22836 \end_layout
22837
22838 \end_inset
22839
22840  この書式定義が定める主要な文書ファイル形式.すべてのひな型が,全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,全書式に対して
22841 \begin_inset Flex Code
22842 status collapsed
22843
22844 \begin_layout Plain Layout
22845 Format
22846 \end_layout
22847
22848 \end_inset
22849
22850 部を定義してください.表示する方法がないときは,ダミーテキストを使用してください.これによって,書き出した文書内で,少なくとも外部素材への参照を見ることができる
22851 ようになります.
22852 \end_layout
22853
22854 \begin_layout Description
22855 \begin_inset Flex Code
22856 status collapsed
22857
22858 \begin_layout Plain Layout
22859 Option
22860 \begin_inset space ~
22861 \end_inset
22862
22863 <名称>
22864 \begin_inset space ~
22865 \end_inset
22866
22867 <値>
22868 \end_layout
22869
22870 \end_inset
22871
22872  このコマンドは,
22873 \begin_inset Flex Code
22874 status collapsed
22875
22876 \begin_layout Plain Layout
22877 Product
22878 \end_layout
22879
22880 \end_inset
22881
22882 での代入に使うマクロ
22883 \begin_inset Flex Code
22884 status collapsed
22885
22886 \begin_layout Plain Layout
22887 $$<名称>
22888 \end_layout
22889
22890 \end_inset
22891
22892 を新たに定義します.
22893 \begin_inset Flex Code
22894 status collapsed
22895
22896 \begin_layout Plain Layout
22897 <値>
22898 \end_layout
22899
22900 \end_inset
22901
22902 自体にも代入マクロを使うことができます.
22903 \begin_inset Flex Code
22904 status collapsed
22905
22906 \begin_layout Plain Layout
22907 Product
22908 \end_layout
22909
22910 \end_inset
22911
22912
22913 \begin_inset Flex Code
22914 status collapsed
22915
22916 \begin_layout Plain Layout
22917 <値>
22918 \end_layout
22919
22920 \end_inset
22921
22922 を直接使用するよりも優れた点は,
22923 \begin_inset Flex Code
22924 status collapsed
22925
22926 \begin_layout Plain Layout
22927 $$<名称>
22928 \end_layout
22929
22930 \end_inset
22931
22932 に代入された値が,その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
22933 \end_layout
22934
22935 \begin_layout Description
22936 \begin_inset Flex Code
22937 status collapsed
22938
22939 \begin_layout Plain Layout
22940 Product
22941 \begin_inset space ~
22942 \end_inset
22943
22944 <文>
22945 \end_layout
22946
22947 \end_inset
22948
22949  書き出された文書に挿入される文.実のところ,これが最も重要なコマンドであり,とても複雑になることがあります.このコマンドは,一度だけ必ず現れなくてはなりません
22950
22951 \end_layout
22952
22953 \begin_layout Description
22954 \begin_inset Flex Code
22955 status collapsed
22956
22957 \begin_layout Plain Layout
22958 Preamble
22959 \begin_inset space ~
22960 \end_inset
22961
22962 <名称>
22963 \end_layout
22964
22965 \end_inset
22966
22967  このコマンドは,\SpecialChar LaTeX
22968 プリアンブルに入れるプリアンブル片を指定します.これは
22969 \begin_inset Flex Code
22970 status collapsed
22971
22972 \begin_layout Plain Layout
22973 PreambleDef
22974 \end_layout
22975
22976 \end_inset
22977
22978  \SpecialChar ldots
22979  
22980 \begin_inset Flex Code
22981 status collapsed
22982
22983 \begin_layout Plain Layout
22984 PreambleDefEnd
22985 \end_layout
22986
22987 \end_inset
22988
22989 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
22990 \end_layout
22991
22992 \begin_layout Description
22993 \begin_inset Flex Code
22994 status collapsed
22995
22996 \begin_layout Plain Layout
22997 ReferencedFile
22998 \begin_inset space ~
22999 \end_inset
23000
23001 <書式>
23002 \begin_inset space ~
23003 \end_inset
23004
23005 <ファイル名>
23006 \end_layout
23007
23008 \end_inset
23009
23010  このコマンドは,変換過程で生成され,特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,親文書に対する相対パスとして解釈さ
23011 れます.このコマンドは全く登場しなくても1回以上現れても構いません.
23012 \end_layout
23013
23014 \begin_layout Description
23015 \begin_inset Flex Code
23016 status collapsed
23017
23018 \begin_layout Plain Layout
23019 Requirement
23020 \begin_inset space ~
23021 \end_inset
23022
23023 <package>
23024 \end_layout
23025
23026 \end_inset
23027
23028  必要とされる\SpecialChar LaTeX
23029 パッケージ名.パッケージは,\SpecialChar LaTeX
23030 プリアンブル中で
23031 \begin_inset Flex Code
23032 status collapsed
23033
23034 \begin_layout Plain Layout
23035
23036 \backslash
23037 usepackage{}
23038 \end_layout
23039
23040 \end_inset
23041
23042 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
23043 \end_layout
23044
23045 \begin_layout Description
23046 \begin_inset Flex Code
23047 status collapsed
23048
23049 \begin_layout Plain Layout
23050 TransformCommand
23051 \begin_inset space ~
23052 \end_inset
23053
23054 Rotate
23055 \begin_inset space ~
23056 \end_inset
23057
23058 RotationLatexCommand
23059 \end_layout
23060
23061 \end_inset
23062
23063  このコマンドは,回転用に,組み込みの\SpecialChar LaTeX
23064 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23065 \end_layout
23066
23067 \begin_layout Description
23068 \begin_inset Flex Code
23069 status collapsed
23070
23071 \begin_layout Plain Layout
23072 TransformCommand
23073 \begin_inset space ~
23074 \end_inset
23075
23076 Resize
23077 \begin_inset space ~
23078 \end_inset
23079
23080 ResizeLatexCommand
23081 \end_layout
23082
23083 \end_inset
23084
23085  このコマンドは,伸縮用に,組み込みの\SpecialChar LaTeX
23086 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23087 \end_layout
23088
23089 \begin_layout Description
23090 \begin_inset Flex Code
23091 status collapsed
23092
23093 \begin_layout Plain Layout
23094 TransformOption
23095 \begin_inset space ~
23096 \end_inset
23097
23098 Rotate
23099 \begin_inset space ~
23100 \end_inset
23101
23102 RotationLatexOption
23103 \end_layout
23104
23105 \end_inset
23106
23107  このコマンドは,回転が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23108 \end_layout
23109
23110 \begin_layout Description
23111 \begin_inset Flex Code
23112 status collapsed
23113
23114 \begin_layout Plain Layout
23115 TransformOption
23116 \begin_inset space ~
23117 \end_inset
23118
23119 Resize
23120 \begin_inset space ~
23121 \end_inset
23122
23123 ResizeLatexOption
23124 \end_layout
23125
23126 \end_inset
23127
23128  このコマンドは,伸縮が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23129 \end_layout
23130
23131 \begin_layout Description
23132 \begin_inset Flex Code
23133 status collapsed
23134
23135 \begin_layout Plain Layout
23136 TransformOption
23137 \begin_inset space ~
23138 \end_inset
23139
23140 Clip
23141 \begin_inset space ~
23142 \end_inset
23143
23144 ClipLatexOption
23145 \end_layout
23146
23147 \end_inset
23148
23149  このコマンドは,切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23150 \end_layout
23151
23152 \begin_layout Description
23153 \begin_inset Flex Code
23154 status collapsed
23155
23156 \begin_layout Plain Layout
23157 TransformOption
23158 \begin_inset space ~
23159 \end_inset
23160
23161 Extra
23162 \begin_inset space ~
23163 \end_inset
23164
23165 ExtraLatexOption
23166 \end_layout
23167
23168 \end_inset
23169
23170  このコマンドは,追加の非必須引数を使用することを指定します.このコマンドは,1回現れても全く現れなくても構いません.
23171 \end_layout
23172
23173 \begin_layout Description
23174 \begin_inset Flex Code
23175 status collapsed
23176
23177 \begin_layout Plain Layout
23178 UpdateFormat
23179 \begin_inset space ~
23180 \end_inset
23181
23182 <書式>
23183 \end_layout
23184
23185 \end_inset
23186
23187  変換されたファイルのファイル形式.これは,\SpecialChar LyX
23188 が知っている書式名でなくてはなりません(
23189 \begin_inset Flex MenuItem
23190 status collapsed
23191
23192 \begin_layout Plain Layout
23193 ツール\SpecialChar menuseparator
23194 設定\SpecialChar menuseparator
23195 ファイル処理\SpecialChar menuseparator
23196 ファイル書式
23197 \end_layout
23198
23199 \end_inset
23200
23201 ダイアログを参照).このコマンドは,一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,書式
23202 \begin_inset Flex Code
23203 status collapsed
23204
23205 \begin_layout Plain Layout
23206 pdf6
23207 \end_layout
23208
23209 \end_inset
23210
23211 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
23212 \end_layout
23213
23214 \begin_layout Description
23215 \begin_inset Flex Code
23216 status collapsed
23217
23218 \begin_layout Plain Layout
23219 UpdateResult
23220 \begin_inset space ~
23221 \end_inset
23222
23223 <ファイル名>
23224 \end_layout
23225
23226 \end_inset
23227
23228  変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,一度だけ必ず現れなくてはなりません.
23229 \end_layout
23230
23231 \begin_layout Subsection
23232 プリアンブルの定義
23233 \end_layout
23234
23235 \begin_layout Standard
23236 外用ひな型設定ファイルには,
23237 \begin_inset Flex Code
23238 status collapsed
23239
23240 \begin_layout Plain Layout
23241 PreambleDef
23242 \end_layout
23243
23244 \end_inset
23245
23246  \SpecialChar ldots
23247  
23248 \begin_inset Flex Code
23249 status collapsed
23250
23251 \begin_layout Plain Layout
23252 PreambleDefEnd
23253 \end_layout
23254
23255 \end_inset
23256
23257 で囲んだプリアンブル定義を追加することができます.これらの定義は,ひな型の
23258 \begin_inset Flex Code
23259 status collapsed
23260
23261 \begin_layout Plain Layout
23262 Format
23263 \end_layout
23264
23265 \end_inset
23266
23267 部で使用することができます.
23268 \end_layout
23269
23270 \begin_layout Section
23271 代入機構
23272 \end_layout
23273
23274 \begin_layout Standard
23275 外部素材機構が外部プログラムを呼び出すときには,ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,実行前に展開されるマクロをい
23276 ろいろ入れることができます.実行は,つねに元の文書があるディレクトリで行われます.
23277 \end_layout
23278
23279 \begin_layout Standard
23280 また,外部素材が表示されるときにはいつでも,その名称は代入機構によって組み立てられ,ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
23281 \end_layout
23282
23283 \begin_layout Standard
23284 使用できるマクロは以下の通りです.
23285 \end_layout
23286
23287 \begin_layout Description
23288 \begin_inset Flex Code
23289 status collapsed
23290
23291 \begin_layout Plain Layout
23292 $$AbsOrRelPathMaster
23293 \end_layout
23294
23295 \end_inset
23296
23297  \SpecialChar LyX
23298 親文書への絶対ファイルパスないしは相対ファイルパス
23299 \end_layout
23300
23301 \begin_layout Description
23302 \begin_inset Flex Code
23303 status collapsed
23304
23305 \begin_layout Plain Layout
23306 $$AbsOrRelPathParent
23307 \end_layout
23308
23309 \end_inset
23310
23311  \SpecialChar LyX
23312 文書への絶対ファイルパスないしは相対ファイルパス
23313 \end_layout
23314
23315 \begin_layout Description
23316 \begin_inset Flex Code
23317 status collapsed
23318
23319 \begin_layout Plain Layout
23320 $$AbsPath
23321 \end_layout
23322
23323 \end_inset
23324
23325  絶対ファイルパス
23326 \end_layout
23327
23328 \begin_layout Description
23329 \begin_inset Flex Code
23330 status collapsed
23331
23332 \begin_layout Plain Layout
23333 $$Basename
23334 \end_layout
23335
23336 \end_inset
23337
23338  パスおよび拡張子を除いたファイル名
23339 \end_layout
23340
23341 \begin_layout Description
23342 \begin_inset Flex Code
23343 status collapsed
23344
23345 \begin_layout Plain Layout
23346 $$Contents(
23347 \begin_inset Quotes eld
23348 \end_inset
23349
23350 filename.ext
23351 \begin_inset Quotes erd
23352 \end_inset
23353
23354 )
23355 \end_layout
23356
23357 \end_inset
23358
23359  このマクロは,
23360 \begin_inset Flex Code
23361 status collapsed
23362
23363 \begin_layout Plain Layout
23364 filename.ext
23365 \end_layout
23366
23367 \end_inset
23368
23369 と云う名のファイルの中身を展開します.
23370 \end_layout
23371
23372 \begin_layout Description
23373 \begin_inset Flex Code
23374 status collapsed
23375
23376 \begin_layout Plain Layout
23377 $$Extension
23378 \end_layout
23379
23380 \end_inset
23381
23382  ファイル拡張子(点を含む)
23383 \end_layout
23384
23385 \begin_layout Description
23386 \begin_inset Flex Code
23387 status collapsed
23388
23389 \begin_layout Plain Layout
23390 $$pngOrjpg
23391 \end_layout
23392
23393 \end_inset
23394
23395  これは,ファイルがJPEG形式の場合は,文字列「jpg」となり,それ以外では文字列「png」となります.これは,PNG形式とJPEG形式の両方をサポートする出
23396 力形式に対して,不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,pdf\SpecialChar TeX
23397 出力形式に対してこのマクロを使用します.
23398 \end_layout
23399
23400 \begin_layout Description
23401 \begin_inset Flex Code
23402 status collapsed
23403
23404 \begin_layout Plain Layout
23405 $$FName
23406 \end_layout
23407
23408 \end_inset
23409
23410  外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
23411 文書への絶対パスでも良いですし,相対パスでも構いません.
23412 \end_layout
23413
23414 \begin_layout Description
23415 \begin_inset Flex Code
23416 status collapsed
23417
23418 \begin_layout Plain Layout
23419 $$FPath
23420 \end_layout
23421
23422 \end_inset
23423
23424  
23425 \begin_inset Flex Code
23426 status collapsed
23427
23428 \begin_layout Plain Layout
23429 $$FName
23430 \end_layout
23431
23432 \end_inset
23433
23434 のパス部分(\SpecialChar LyX
23435 文書への絶対パス名か相対パス名)
23436 \end_layout
23437
23438 \begin_layout Description
23439 \begin_inset Flex Code
23440 status collapsed
23441
23442 \begin_layout Plain Layout
23443 $$RelPathMaster
23444 \end_layout
23445
23446 \end_inset
23447
23448  \SpecialChar LyX
23449 親文書への相対ファイルパス
23450 \end_layout
23451
23452 \begin_layout Description
23453 \begin_inset Flex Code
23454 status collapsed
23455
23456 \begin_layout Plain Layout
23457 $$RelPathParent
23458 \end_layout
23459
23460 \end_inset
23461
23462  \SpecialChar LyX
23463 文書への相対ファイルパス
23464 \end_layout
23465
23466 \begin_layout Description
23467 \begin_inset Flex Code
23468 status collapsed
23469
23470 \begin_layout Plain Layout
23471 $$Sysdir
23472 \end_layout
23473
23474 \end_inset
23475
23476  このマクロは,システムディレクトリの絶対パスを展開します.これは,典型的には,\SpecialChar LyX
23477 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
23478 \end_layout
23479
23480 \begin_layout Description
23481 \begin_inset Flex Code
23482 status collapsed
23483
23484 \begin_layout Plain Layout
23485 $$Tempname
23486 \end_layout
23487
23488 \end_inset
23489
23490  元の文書が閉じられたり,挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
23491 \end_layout
23492
23493 \begin_layout Standard
23494 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,たとえば絶対パスのファイル名を 
23495 \begin_inset Flex Code
23496 status collapsed
23497
23498 \begin_layout Plain Layout
23499 $$AbsPath$$Basename$$Extension
23500 \end_layout
23501
23502 \end_inset
23503
23504 のようにして作ることができます.
23505 \end_layout
23506
23507 \begin_layout Standard
23508 上記マクロは,特記しない限りはすべてのコマンドで代入が行われます.
23509 \begin_inset Flex Code
23510 status collapsed
23511
23512 \begin_layout Plain Layout
23513 Transform
23514 \end_layout
23515
23516 \end_inset
23517
23518 コマンドと
23519 \begin_inset Flex Code
23520 status collapsed
23521
23522 \begin_layout Plain Layout
23523 TransformCommand
23524 \end_layout
23525
23526 \end_inset
23527
23528 コマンドが有効にされている場合,
23529 \begin_inset Flex Code
23530 status collapsed
23531
23532 \begin_layout Plain Layout
23533 Product
23534 \end_layout
23535
23536 \end_inset
23537
23538 コマンドは,これらに加えて以下の代入もサポートします.
23539 \end_layout
23540
23541 \begin_layout Description
23542 \begin_inset Flex Code
23543 status collapsed
23544
23545 \begin_layout Plain Layout
23546 $$ResizeFront
23547 \end_layout
23548
23549 \end_inset
23550
23551  伸縮コマンドの前置部.
23552 \end_layout
23553
23554 \begin_layout Description
23555 \begin_inset Flex Code
23556 status collapsed
23557
23558 \begin_layout Plain Layout
23559 $$ResizeBack
23560 \end_layout
23561
23562 \end_inset
23563
23564  伸縮コマンドの後置部.
23565 \end_layout
23566
23567 \begin_layout Description
23568 \begin_inset Flex Code
23569 status collapsed
23570
23571 \begin_layout Plain Layout
23572 $$RotateFront
23573 \end_layout
23574
23575 \end_inset
23576
23577  回転コマンドの前置部.
23578 \end_layout
23579
23580 \begin_layout Description
23581 \begin_inset Flex Code
23582 status collapsed
23583
23584 \begin_layout Plain Layout
23585 $$RotateBack
23586 \end_layout
23587
23588 \end_inset
23589
23590  回転コマンドの後置部.
23591 \end_layout
23592
23593 \begin_layout Standard
23594 \begin_inset Flex Code
23595 status collapsed
23596
23597 \begin_layout Plain Layout
23598 Option
23599 \end_layout
23600
23601 \end_inset
23602
23603 コマンドの値に入れる文字列では,
23604 \begin_inset Flex Code
23605 status collapsed
23606
23607 \begin_layout Plain Layout
23608 Transform
23609 \end_layout
23610
23611 \end_inset
23612
23613 コマンドと
23614 \begin_inset Flex Code
23615 status collapsed
23616
23617 \begin_layout Plain Layout
23618 TransformOption
23619 \end_layout
23620
23621 \end_inset
23622
23623 コマンドが有効にされていれば,以下の代入もサポートされます.
23624 \end_layout
23625
23626 \begin_layout Description
23627 \begin_inset Flex Code
23628 status collapsed
23629
23630 \begin_layout Plain Layout
23631 $$Clip
23632 \end_layout
23633
23634 \end_inset
23635
23636  切り抜きオプション.
23637 \end_layout
23638
23639 \begin_layout Description
23640 \begin_inset Flex Code
23641 status collapsed
23642
23643 \begin_layout Plain Layout
23644 $$Extra
23645 \end_layout
23646
23647 \end_inset
23648
23649  追加オプション.
23650 \end_layout
23651
23652 \begin_layout Description
23653 \begin_inset Flex Code
23654 status collapsed
23655
23656 \begin_layout Plain Layout
23657 $$Resize
23658 \end_layout
23659
23660 \end_inset
23661
23662  伸縮オプション.
23663 \end_layout
23664
23665 \begin_layout Description
23666 \begin_inset Flex Code
23667 status collapsed
23668
23669 \begin_layout Plain Layout
23670 $$Rotate
23671 \end_layout
23672
23673 \end_inset
23674
23675  回転オプション.
23676 \end_layout
23677
23678 \begin_layout Standard
23679 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
23680 \end_layout
23681
23682 \begin_layout Enumerate
23683 相対ファイル名と絶対ファイル名は,それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえ
23684 ば相対名は,いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,プログラムによっては必要とされることがあり得ます.
23685 \end_layout
23686
23687 \begin_layout Enumerate
23688 \SpecialChar LaTeX
23689 は,相対ファイル名に関して,\SpecialChar LyX
23690 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
23691 にとって相対ファイル名とは,常にこのファイル名が書か
23692 れている文書に対して相対的なものになります.\SpecialChar LaTeX
23693 にとっての相対ファイル名は,常に親文書に対するものになります.これら二つの定義は,一つの文書しかないときには同じです
23694 が,部分文書を含む親文書があるときには異なったものとなってきます.つまり,相対ファイル名は,\SpecialChar LaTeX
23695 に提示されるときに変換されなくてはならないのです.幸い,正しいマクロ
23696 を選びさえすれば,これは\SpecialChar LyX
23697 が自動的に行ってくれます.
23698 \end_layout
23699
23700 \begin_layout Standard
23701 すると,新しく作ったひな型定義では,どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
23702 \end_layout
23703
23704 \begin_layout Itemize
23705 絶対パスが必要とされるときには
23706 \begin_inset Flex Code
23707 status collapsed
23708
23709 \begin_layout Plain Layout
23710 $$AbsPath
23711 \end_layout
23712
23713 \end_inset
23714
23715 を使う.
23716 \end_layout
23717
23718 \begin_layout Itemize
23719 代入された文字列が,\SpecialChar LaTeX
23720 インプットの一種である場合には,
23721 \begin_inset Flex Code
23722 status collapsed
23723
23724 \begin_layout Plain Layout
23725 $$AbsOrRelPathMaster
23726 \end_layout
23727
23728 \end_inset
23729
23730 を使う.
23731 \end_layout
23732
23733 \begin_layout Itemize
23734 それ以外ならば,ユーザの選択を尊重するために
23735 \begin_inset Flex Code
23736 status collapsed
23737
23738 \begin_layout Plain Layout
23739 $$AbsOrRelPathParent
23740 \end_layout
23741
23742 \end_inset
23743
23744 を使う.
23745 \end_layout
23746
23747 \begin_layout Standard
23748 このルールが機能せずに,たとえば相対名が必要となる特殊な場合もありますが,通常,上記でうまく動作します.特殊例の例としては,上述のXFigひな型での
23749 \begin_inset Flex Code
23750 status collapsed
23751
23752 \begin_layout Plain Layout
23753 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23754 \end_layout
23755
23756 \end_inset
23757
23758 というコマンドがあります.この場合,
23759 \begin_inset Flex Code
23760 status collapsed
23761
23762 \begin_layout Plain Layout
23763 .pstex_t
23764 \end_layout
23765
23766 \end_inset
23767
23768 ファイルの複写子は,ファイル内容を書き換えるのに相対名を必要とするために,絶対名を使用することができないのです.
23769 \end_layout
23770
23771 \begin_layout Section
23772 セキュリティに関する論点
23773 \begin_inset CommandInset label
23774 LatexCommand label
23775 name "sec:セキュリティに関する論点"
23776
23777 \end_inset
23778
23779
23780 \end_layout
23781
23782 \begin_layout Standard
23783 外部素材機能は,多くの外部プログラムとの橋渡しをし,しかもそれを自動的に行うので,そのセキュリティ面での帰結を考慮しなくてはなりません.特に,ユーザは好きなファ
23784 イル名やパラメータ文字列を含めることが許されていて,しかもそれらがコマンドに展開されるので,ユーザが文書を閲覧したり印刷したりしたときに,任意のコマンドを実行す
23785 ることができるような悪意ある文書を作成することが可能となりましょう.これは,我々がぜひとも避けたいことなのです.
23786 \end_layout
23787
23788 \begin_layout Standard
23789 しかしながら,外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,\SpecialChar LyX
23790 が安全なひな型でのみ適切に設定されているならば,セキュリティ上の問題は発生しま
23791 せん.これは,外部プログラムが
23792 \begin_inset Flex Code
23793 status collapsed
23794
23795 \begin_layout Plain Layout
23796 system
23797 \end_layout
23798
23799 \end_inset
23800
23801 システムコールではなく,
23802 \begin_inset Flex Code
23803 status collapsed
23804
23805 \begin_layout Plain Layout
23806 execvp
23807 \end_layout
23808
23809 \end_inset
23810
23811 システムコールで呼び出されているため,ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
23812 \end_layout
23813
23814 \begin_layout Standard
23815 これは,外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,制限があることを意味します.特に,パイプやリダイレクトはそのまま使用することは
23816 できません.これは,\SpecialChar LyX
23817 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,これを完全に統御の下においたまま行う安全なス
23818 クリプトを書いた上で,このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
23819 \end_layout
23820
23821 \begin_layout Standard
23822 シェルと直接やりとりするひな型を設計することは可能ではありますが,悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,任意のコマンドを実行できるよ
23823 うになるため,一般的には,統御下に置いた状態で
23824 \begin_inset Flex Code
23825 status collapsed
23826
23827 \begin_layout Plain Layout
23828 execvp
23829 \end_layout
23830
23831 \end_inset
23832
23833 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,管理された環境下で使用する分には,通常のシェルスクリプトを使用する方に流れる誘
23834 惑はあります.そうした場合には,お使いのシステムに簡単に濫用することのできるセキュリティホールを,
23835 \emph on
23836 間違いなく
23837 \emph default
23838 導入することを理解しておいてください.オープンソースの伝統に従って,私たちは人々に新しいひな型を投稿してくれるよう促していますが,そのような安全でないひな型はL
23839 yXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
23840 には,安全でないひな型は決して入っていません
23841
23842 \end_layout
23843
23844 \begin_layout Standard
23845 外部素材を含めることで強力な力を手に入れることができますが,この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリ
23846 プトのたった一行に入り込んだ,ちょっとしたエラーが,巨大なセキュリティ上の問題に扉を開きうるのです.したがって,もしこの問題を完全に理解していないならば,特定の
23847 ひな型が安全であるかどうか疑問がある際には,知識豊富なセキュリティの専門家か,\SpecialChar LyX
23848 開発チームに相談してみてください.そしてこの相談は,管理されていない環境下でこれを
23849 使用する前に,行うようにしてください.
23850 \end_layout
23851
23852 \begin_layout Chapter
23853 \start_of_appendix
23854 サポートされているレイアウト用\SpecialChar LyX
23855 関数一覧
23856 \begin_inset CommandInset label
23857 LatexCommand label
23858 name "chap:関数一覧"
23859
23860 \end_inset
23861
23862
23863 \end_layout
23864
23865 \begin_layout Standard
23866 \align center
23867 \begin_inset Tabular
23868 <lyxtabular version="3" rows="11" columns="8">
23869 <features tabularvalignment="middle">
23870 <column alignment="left" valignment="top">
23871 <column alignment="left" valignment="top">
23872 <column alignment="left" valignment="top">
23873 <column alignment="left" valignment="top">
23874 <column alignment="left" valignment="top">
23875 <column alignment="left" valignment="top">
23876 <column alignment="left" valignment="top">
23877 <column alignment="left" valignment="top">
23878 <row>
23879 <cell alignment="left" valignment="top" usebox="none">
23880 \begin_inset Text
23881
23882 \begin_layout Plain Layout
23883 accents
23884 \end_layout
23885
23886 \end_inset
23887 </cell>
23888 <cell alignment="left" valignment="top" usebox="none">
23889 \begin_inset Text
23890
23891 \begin_layout Plain Layout
23892 booktabs
23893 \end_layout
23894
23895 \end_inset
23896 </cell>
23897 <cell alignment="left" valignment="top" usebox="none">
23898 \begin_inset Text
23899
23900 \begin_layout Plain Layout
23901 feyn
23902 \end_layout
23903
23904 \end_inset
23905 </cell>
23906 <cell alignment="left" valignment="top" usebox="none">
23907 \begin_inset Text
23908
23909 \begin_layout Plain Layout
23910 listings
23911 \end_layout
23912
23913 \end_inset
23914 </cell>
23915 <cell alignment="center" valignment="top" usebox="none">
23916 \begin_inset Text
23917
23918 \begin_layout Plain Layout
23919 natbib
23920 \end_layout
23921
23922 \end_inset
23923 </cell>
23924 <cell alignment="center" valignment="top" usebox="none">
23925 \begin_inset Text
23926
23927 \begin_layout Plain Layout
23928 rotfloat
23929 \end_layout
23930
23931 \end_inset
23932 </cell>
23933 <cell alignment="center" valignment="top" usebox="none">
23934 \begin_inset Text
23935
23936 \begin_layout Plain Layout
23937 tfrupee
23938 \end_layout
23939
23940 \end_inset
23941 </cell>
23942 <cell alignment="center" valignment="top" usebox="none">
23943 \begin_inset Text
23944
23945 \begin_layout Plain Layout
23946 wasysym
23947 \end_layout
23948
23949 \end_inset
23950 </cell>
23951 </row>
23952 <row>
23953 <cell alignment="left" valignment="top" usebox="none">
23954 \begin_inset Text
23955
23956 \begin_layout Plain Layout
23957 amsbsy
23958 \end_layout
23959
23960 \end_inset
23961 </cell>
23962 <cell alignment="left" valignment="top" usebox="none">
23963 \begin_inset Text
23964
23965 \begin_layout Plain Layout
23966 calc
23967 \end_layout
23968
23969 \end_inset
23970 </cell>
23971 <cell alignment="left" valignment="top" usebox="none">
23972 \begin_inset Text
23973
23974 \begin_layout Plain Layout
23975 fixltx2e
23976 \end_layout
23977
23978 \end_inset
23979 </cell>
23980 <cell alignment="left" valignment="top" usebox="none">
23981 \begin_inset Text
23982
23983 \begin_layout Plain Layout
23984 longtable
23985 \end_layout
23986
23987 \end_inset
23988 </cell>
23989 <cell alignment="center" valignment="top" usebox="none">
23990 \begin_inset Text
23991
23992 \begin_layout Plain Layout
23993 nomencl
23994 \end_layout
23995
23996 \end_inset
23997 </cell>
23998 <cell alignment="center" valignment="top" usebox="none">
23999 \begin_inset Text
24000
24001 \begin_layout Plain Layout
24002 rsphrase
24003 \end_layout
24004
24005 \end_inset
24006 </cell>
24007 <cell alignment="center" valignment="top" usebox="none">
24008 \begin_inset Text
24009
24010 \begin_layout Plain Layout
24011 tipa
24012 \end_layout
24013
24014 \end_inset
24015 </cell>
24016 <cell alignment="center" valignment="top" usebox="none">
24017 \begin_inset Text
24018
24019 \begin_layout Plain Layout
24020 wrapfig
24021 \end_layout
24022
24023 \end_inset
24024 </cell>
24025 </row>
24026 <row>
24027 <cell alignment="left" valignment="top" usebox="none">
24028 \begin_inset Text
24029
24030 \begin_layout Plain Layout
24031 amscd
24032 \end_layout
24033
24034 \end_inset
24035 </cell>
24036 <cell alignment="left" valignment="top" usebox="none">
24037 \begin_inset Text
24038
24039 \begin_layout Plain Layout
24040 CJK
24041 \end_layout
24042
24043 \end_inset
24044 </cell>
24045 <cell alignment="left" valignment="top" usebox="none">
24046 \begin_inset Text
24047
24048 \begin_layout Plain Layout
24049 float
24050 \end_layout
24051
24052 \end_inset
24053 </cell>
24054 <cell alignment="left" valignment="top" usebox="none">
24055 \begin_inset Text
24056
24057 \begin_layout Plain Layout
24058 lyxskak
24059 \end_layout
24060
24061 \end_inset
24062 </cell>
24063 <cell alignment="center" valignment="top" usebox="none">
24064 \begin_inset Text
24065
24066 \begin_layout Plain Layout
24067 pdfcolmk
24068 \end_layout
24069
24070 \end_inset
24071 </cell>
24072 <cell alignment="center" valignment="top" usebox="none">
24073 \begin_inset Text
24074
24075 \begin_layout Plain Layout
24076 setspace
24077 \end_layout
24078
24079 \end_inset
24080 </cell>
24081 <cell alignment="center" valignment="top" usebox="none">
24082 \begin_inset Text
24083
24084 \begin_layout Plain Layout
24085 tipx
24086 \end_layout
24087
24088 \end_inset
24089 </cell>
24090 <cell alignment="center" valignment="top" usebox="none">
24091 \begin_inset Text
24092
24093 \begin_layout Plain Layout
24094 xargs
24095 \end_layout
24096
24097 \end_inset
24098 </cell>
24099 </row>
24100 <row>
24101 <cell alignment="left" valignment="top" usebox="none">
24102 \begin_inset Text
24103
24104 \begin_layout Plain Layout
24105 amsmath
24106 \end_layout
24107
24108 \end_inset
24109 </cell>
24110 <cell alignment="left" valignment="top" usebox="none">
24111 \begin_inset Text
24112
24113 \begin_layout Plain Layout
24114 color
24115 \end_layout
24116
24117 \end_inset
24118 </cell>
24119 <cell alignment="left" valignment="top" usebox="none">
24120 \begin_inset Text
24121
24122 \begin_layout Plain Layout
24123 framed
24124 \end_layout
24125
24126 \end_inset
24127 </cell>
24128 <cell alignment="left" valignment="top" usebox="none">
24129 \begin_inset Text
24130
24131 \begin_layout Plain Layout
24132 makeidx
24133 \end_layout
24134
24135 \end_inset
24136 </cell>
24137 <cell alignment="center" valignment="top" usebox="none">
24138 \begin_inset Text
24139
24140 \begin_layout Plain Layout
24141 pdfpages
24142 \end_layout
24143
24144 \end_inset
24145 </cell>
24146 <cell alignment="center" valignment="top" usebox="none">
24147 \begin_inset Text
24148
24149 \begin_layout Plain Layout
24150 shapepar
24151 \end_layout
24152
24153 \end_inset
24154 </cell>
24155 <cell alignment="center" valignment="top" usebox="none">
24156 \begin_inset Text
24157
24158 \begin_layout Plain Layout
24159 tone
24160 \end_layout
24161
24162 \end_inset
24163 </cell>
24164 <cell alignment="center" valignment="top" usebox="none">
24165 \begin_inset Text
24166
24167 \begin_layout Plain Layout
24168 xcolor
24169 \end_layout
24170
24171 \end_inset
24172 </cell>
24173 </row>
24174 <row>
24175 <cell alignment="left" valignment="top" usebox="none">
24176 \begin_inset Text
24177
24178 \begin_layout Plain Layout
24179 amssymb
24180 \end_layout
24181
24182 \end_inset
24183 </cell>
24184 <cell alignment="left" valignment="top" usebox="none">
24185 \begin_inset Text
24186
24187 \begin_layout Plain Layout
24188 covington
24189 \end_layout
24190
24191 \end_inset
24192 </cell>
24193 <cell alignment="left" valignment="top" usebox="none">
24194 \begin_inset Text
24195
24196 \begin_layout Plain Layout
24197 graphicx
24198 \end_layout
24199
24200 \end_inset
24201 </cell>
24202 <cell alignment="left" valignment="top" usebox="none">
24203 \begin_inset Text
24204
24205 \begin_layout Plain Layout
24206 marvosym
24207 \end_layout
24208
24209 \end_inset
24210 </cell>
24211 <cell alignment="center" valignment="top" usebox="none">
24212 \begin_inset Text
24213
24214 \begin_layout Plain Layout
24215 pifont
24216 \end_layout
24217
24218 \end_inset
24219 </cell>
24220 <cell alignment="center" valignment="top" usebox="none">
24221 \begin_inset Text
24222
24223 \begin_layout Plain Layout
24224 slashed
24225 \end_layout
24226
24227 \end_inset
24228 </cell>
24229 <cell alignment="center" valignment="top" usebox="none">
24230 \begin_inset Text
24231
24232 \begin_layout Plain Layout
24233 txfonts
24234 \end_layout
24235
24236 \end_inset
24237 </cell>
24238 <cell alignment="center" valignment="top" usebox="none">
24239 \begin_inset Text
24240
24241 \begin_layout Plain Layout
24242 xy
24243 \end_layout
24244
24245 \end_inset
24246 </cell>
24247 </row>
24248 <row>
24249 <cell alignment="left" valignment="top" usebox="none">
24250 \begin_inset Text
24251
24252 \begin_layout Plain Layout
24253 amstext
24254 \end_layout
24255
24256 \end_inset
24257 </cell>
24258 <cell alignment="left" valignment="top" usebox="none">
24259 \begin_inset Text
24260
24261 \begin_layout Plain Layout
24262 csquotes
24263 \end_layout
24264
24265 \end_inset
24266 </cell>
24267 <cell alignment="left" valignment="top" usebox="none">
24268 \begin_inset Text
24269
24270 \begin_layout Plain Layout
24271 hhline
24272 \end_layout
24273
24274 \end_inset
24275 </cell>
24276 <cell alignment="left" valignment="top" usebox="none">
24277 \begin_inset Text
24278
24279 \begin_layout Plain Layout
24280 mathdesign
24281 \end_layout
24282
24283 \end_inset
24284 </cell>
24285 <cell alignment="center" valignment="top" usebox="none">
24286 \begin_inset Text
24287
24288 \begin_layout Plain Layout
24289 pmboxdraw
24290 \end_layout
24291
24292 \end_inset
24293 </cell>
24294 <cell alignment="center" valignment="top" usebox="none">
24295 \begin_inset Text
24296
24297 \begin_layout Plain Layout
24298 soul
24299 \end_layout
24300
24301 \end_inset
24302 </cell>
24303 <cell alignment="center" valignment="top" usebox="none">
24304 \begin_inset Text
24305
24306 \begin_layout Plain Layout
24307 ulem
24308 \end_layout
24309
24310 \end_inset
24311 </cell>
24312 <cell alignment="center" valignment="top" usebox="none">
24313 \begin_inset Text
24314
24315 \begin_layout Plain Layout
24316 yhmath
24317 \end_layout
24318
24319 \end_inset
24320 </cell>
24321 </row>
24322 <row>
24323 <cell alignment="left" valignment="top" usebox="none">
24324 \begin_inset Text
24325
24326 \begin_layout Plain Layout
24327 amsthm
24328 \end_layout
24329
24330 \end_inset
24331 </cell>
24332 <cell alignment="left" valignment="top" usebox="none">
24333 \begin_inset Text
24334
24335 \begin_layout Plain Layout
24336 dvipost
24337 \end_layout
24338
24339 \end_inset
24340 </cell>
24341 <cell alignment="left" valignment="top" usebox="none">
24342 \begin_inset Text
24343
24344 \begin_layout Plain Layout
24345 hyperref
24346 \end_layout
24347
24348 \end_inset
24349 </cell>
24350 <cell alignment="left" valignment="top" usebox="none">
24351 \begin_inset Text
24352
24353 \begin_layout Plain Layout
24354 mathdots
24355 \end_layout
24356
24357 \end_inset
24358 </cell>
24359 <cell alignment="center" valignment="top" usebox="none">
24360 \begin_inset Text
24361
24362 \begin_layout Plain Layout
24363 polyglossia
24364 \end_layout
24365
24366 \end_inset
24367 </cell>
24368 <cell alignment="center" valignment="top" usebox="none">
24369 \begin_inset Text
24370
24371 \begin_layout Plain Layout
24372 splitidx
24373 \end_layout
24374
24375 \end_inset
24376 </cell>
24377 <cell alignment="center" valignment="top" usebox="none">
24378 \begin_inset Text
24379
24380 \begin_layout Plain Layout
24381 undertilde
24382 \end_layout
24383
24384 \end_inset
24385 </cell>
24386 <cell alignment="center" valignment="top" usebox="none">
24387 \begin_inset Text
24388
24389 \begin_layout Plain Layout
24390
24391 \end_layout
24392
24393 \end_inset
24394 </cell>
24395 </row>
24396 <row>
24397 <cell alignment="left" valignment="top" usebox="none">
24398 \begin_inset Text
24399
24400 \begin_layout Plain Layout
24401 array
24402 \end_layout
24403
24404 \end_inset
24405 </cell>
24406 <cell alignment="left" valignment="top" usebox="none">
24407 \begin_inset Text
24408
24409 \begin_layout Plain Layout
24410 endnotes
24411 \end_layout
24412
24413 \end_inset
24414 </cell>
24415 <cell alignment="left" valignment="top" usebox="none">
24416 \begin_inset Text
24417
24418 \begin_layout Plain Layout
24419 ifsym
24420 \end_layout
24421
24422 \end_inset
24423 </cell>
24424 <cell alignment="left" valignment="top" usebox="none">
24425 \begin_inset Text
24426
24427 \begin_layout Plain Layout
24428 mathrsfs
24429 \end_layout
24430
24431 \end_inset
24432 </cell>
24433 <cell alignment="center" valignment="top" usebox="none">
24434 \begin_inset Text
24435
24436 \begin_layout Plain Layout
24437 prettyref
24438 \end_layout
24439
24440 \end_inset
24441 </cell>
24442 <cell alignment="center" valignment="top" usebox="none">
24443 \begin_inset Text
24444
24445 \begin_layout Plain Layout
24446 subfig
24447 \end_layout
24448
24449 \end_inset
24450 </cell>
24451 <cell alignment="center" valignment="top" usebox="none">
24452 \begin_inset Text
24453
24454 \begin_layout Plain Layout
24455 units
24456 \end_layout
24457
24458 \end_inset
24459 </cell>
24460 <cell alignment="center" valignment="top" usebox="none">
24461 \begin_inset Text
24462
24463 \begin_layout Plain Layout
24464
24465 \end_layout
24466
24467 \end_inset
24468 </cell>
24469 </row>
24470 <row>
24471 <cell alignment="left" valignment="top" usebox="none">
24472 \begin_inset Text
24473
24474 \begin_layout Plain Layout
24475 ascii
24476 \end_layout
24477
24478 \end_inset
24479 </cell>
24480 <cell alignment="left" valignment="top" usebox="none">
24481 \begin_inset Text
24482
24483 \begin_layout Plain Layout
24484 enumitem
24485 \end_layout
24486
24487 \end_inset
24488 </cell>
24489 <cell alignment="left" valignment="top" usebox="none">
24490 \begin_inset Text
24491
24492 \begin_layout Plain Layout
24493 ifthen
24494 \end_layout
24495
24496 \end_inset
24497 </cell>
24498 <cell alignment="left" valignment="top" usebox="none">
24499 \begin_inset Text
24500
24501 \begin_layout Plain Layout
24502 mhchem
24503 \end_layout
24504
24505 \end_inset
24506 </cell>
24507 <cell alignment="center" valignment="top" usebox="none">
24508 \begin_inset Text
24509
24510 \begin_layout Plain Layout
24511 pxfonts
24512 \end_layout
24513
24514 \end_inset
24515 </cell>
24516 <cell alignment="center" valignment="top" usebox="none">
24517 \begin_inset Text
24518
24519 \begin_layout Plain Layout
24520 subscript
24521 \end_layout
24522
24523 \end_inset
24524 </cell>
24525 <cell alignment="center" valignment="top" usebox="none">
24526 \begin_inset Text
24527
24528 \begin_layout Plain Layout
24529 url
24530 \end_layout
24531
24532 \end_inset
24533 </cell>
24534 <cell alignment="center" valignment="top" usebox="none">
24535 \begin_inset Text
24536
24537 \begin_layout Plain Layout
24538
24539 \end_layout
24540
24541 \end_inset
24542 </cell>
24543 </row>
24544 <row>
24545 <cell alignment="left" valignment="top" usebox="none">
24546 \begin_inset Text
24547
24548 \begin_layout Plain Layout
24549 bbding
24550 \end_layout
24551
24552 \end_inset
24553 </cell>
24554 <cell alignment="left" valignment="top" usebox="none">
24555 \begin_inset Text
24556
24557 \begin_layout Plain Layout
24558 esint
24559 \end_layout
24560
24561 \end_inset
24562 </cell>
24563 <cell alignment="left" valignment="top" usebox="none">
24564 \begin_inset Text
24565
24566 \begin_layout Plain Layout
24567 jurabib
24568 \end_layout
24569
24570 \end_inset
24571 </cell>
24572 <cell alignment="left" valignment="top" usebox="none">
24573 \begin_inset Text
24574
24575 \begin_layout Plain Layout
24576 multicol
24577 \end_layout
24578
24579 \end_inset
24580 </cell>
24581 <cell alignment="center" valignment="top" usebox="none">
24582 \begin_inset Text
24583
24584 \begin_layout Plain Layout
24585 refstyle
24586 \end_layout
24587
24588 \end_inset
24589 </cell>
24590 <cell alignment="center" valignment="top" usebox="none">
24591 \begin_inset Text
24592
24593 \begin_layout Plain Layout
24594 textcomp
24595 \end_layout
24596
24597 \end_inset
24598 </cell>
24599 <cell alignment="center" valignment="top" usebox="none">
24600 \begin_inset Text
24601
24602 \begin_layout Plain Layout
24603 varioref
24604 \end_layout
24605
24606 \end_inset
24607 </cell>
24608 <cell alignment="center" valignment="top" usebox="none">
24609 \begin_inset Text
24610
24611 \begin_layout Plain Layout
24612
24613 \end_layout
24614
24615 \end_inset
24616 </cell>
24617 </row>
24618 <row>
24619 <cell alignment="center" valignment="top" usebox="none">
24620 \begin_inset Text
24621
24622 \begin_layout Plain Layout
24623 bm
24624 \end_layout
24625
24626 \end_inset
24627 </cell>
24628 <cell alignment="center" valignment="top" usebox="none">
24629 \begin_inset Text
24630
24631 \begin_layout Plain Layout
24632 fancybox
24633 \end_layout
24634
24635 \end_inset
24636 </cell>
24637 <cell alignment="center" valignment="top" usebox="none">
24638 \begin_inset Text
24639
24640 \begin_layout Plain Layout
24641 latexsym
24642 \end_layout
24643
24644 \end_inset
24645 </cell>
24646 <cell alignment="center" valignment="top" usebox="none">
24647 \begin_inset Text
24648
24649 \begin_layout Plain Layout
24650 multirow
24651 \end_layout
24652
24653 \end_inset
24654 </cell>
24655 <cell alignment="center" valignment="top" usebox="none">
24656 \begin_inset Text
24657
24658 \begin_layout Plain Layout
24659 rotating
24660 \end_layout
24661
24662 \end_inset
24663 </cell>
24664 <cell alignment="center" valignment="top" usebox="none">
24665 \begin_inset Text
24666
24667 \begin_layout Plain Layout
24668 textgreek
24669 \end_layout
24670
24671 \end_inset
24672 </cell>
24673 <cell alignment="center" valignment="top" usebox="none">
24674 \begin_inset Text
24675
24676 \begin_layout Plain Layout
24677 verbatim
24678 \end_layout
24679
24680 \end_inset
24681 </cell>
24682 <cell alignment="center" valignment="top" usebox="none">
24683 \begin_inset Text
24684
24685 \begin_layout Plain Layout
24686
24687 \end_layout
24688
24689 \end_inset
24690 </cell>
24691 </row>
24692 </lyxtabular>
24693
24694 \end_inset
24695
24696
24697 \end_layout
24698
24699 \begin_layout Chapter
24700 レイアウトで使用できる色名
24701 \begin_inset CommandInset label
24702 LatexCommand label
24703 name "chap:色名"
24704
24705 \end_inset
24706
24707
24708 \end_layout
24709
24710 \begin_layout Standard
24711 ここに列挙されている色は標準色であり,\SpecialChar LyX
24712 設定で調整できるものです.
24713 \end_layout
24714
24715 \begin_layout Section
24716
24717 \lang english
24718 Color functions
24719 \end_layout
24720
24721 \begin_layout Standard
24722
24723 \lang english
24724 The following are no real colors, but rather act on color definitions:
24725 \end_layout
24726
24727 \begin_layout Description
24728 ignore この色を無視します
24729 \end_layout
24730
24731 \begin_layout Description
24732 inherit この色を継承します
24733 \end_layout
24734
24735 \begin_layout Description
24736 none
24737 \series medium
24738  
24739 \series default
24740 特定の色ではありません – 透明か既定色です
24741 \end_layout
24742
24743 \begin_layout Section
24744
24745 \lang english
24746 Static colors
24747 \end_layout
24748
24749 \begin_layout Standard
24750
24751 \lang english
24752 These are fixed colors that cannot me customized:
24753 \end_layout
24754
24755 \begin_layout Description
24756 black
24757 \end_layout
24758
24759 \begin_layout Description
24760 white
24761 \end_layout
24762
24763 \begin_layout Description
24764 blue
24765 \end_layout
24766
24767 \begin_layout Description
24768 brown
24769 \end_layout
24770
24771 \begin_layout Description
24772 cyan
24773 \end_layout
24774
24775 \begin_layout Description
24776 darkgray
24777 \end_layout
24778
24779 \begin_layout Description
24780 gray
24781 \end_layout
24782
24783 \begin_layout Description
24784 green
24785 \end_layout
24786
24787 \begin_layout Description
24788 lightgray
24789 \end_layout
24790
24791 \begin_layout Description
24792 lime
24793 \end_layout
24794
24795 \begin_layout Description
24796 magenta
24797 \end_layout
24798
24799 \begin_layout Description
24800 olive
24801 \end_layout
24802
24803 \begin_layout Description
24804 orange
24805 \end_layout
24806
24807 \begin_layout Description
24808 pink
24809 \end_layout
24810
24811 \begin_layout Description
24812 purple
24813 \end_layout
24814
24815 \begin_layout Description
24816 red
24817 \end_layout
24818
24819 \begin_layout Description
24820 teal
24821 \end_layout
24822
24823 \begin_layout Description
24824 violet
24825 \end_layout
24826
24827 \begin_layout Description
24828 yellow
24829 \end_layout
24830
24831 \begin_layout Section
24832
24833 \lang english
24834 Dynamic colors
24835 \end_layout
24836
24837 \begin_layout Standard
24838
24839 \lang english
24840 These are the colors allocated to specific elements in
24841 \lang japanese
24842
24843 \begin_inset Flex MenuItem
24844 status collapsed
24845
24846 \begin_layout Plain Layout
24847 ツール\SpecialChar menuseparator
24848 設定
24849 \end_layout
24850
24851 \end_inset
24852
24853 :
24854 \end_layout
24855
24856 \begin_layout Description
24857 added_space 空白マーカ色
24858 \end_layout
24859
24860 \begin_layout Description
24861 addedtext 追加された文章色
24862 \end_layout
24863
24864 \begin_layout Description
24865 appendix 付録マーカ色
24866 \end_layout
24867
24868 \begin_layout Description
24869 background 背景色
24870 \end_layout
24871
24872 \begin_layout Description
24873 bottomarea 下部領域色
24874 \end_layout
24875
24876 \begin_layout Description
24877 branchlabel 派生枝ラベル色
24878 \end_layout
24879
24880 \begin_layout Description
24881 buttonbg ボタンの背景色
24882 \end_layout
24883
24884 \begin_layout Description
24885 buttonframe 差込枠の縁色
24886 \end_layout
24887
24888 \begin_layout Description
24889 buttonhoverbg フォーカスを得ているボタンの背景色
24890 \end_layout
24891
24892 \begin_layout Description
24893 changebar 変更バー色
24894 \end_layout
24895
24896 \begin_layout Description
24897 changedtextauthor1 変更された文章:第1著者の色
24898 \end_layout
24899
24900 \begin_layout Description
24901 changedtextauthor2 変更された文章:第2著者の色
24902 \end_layout
24903
24904 \begin_layout Description
24905 changedtextauthor3 変更された文章:第3著者の色
24906 \end_layout
24907
24908 \begin_layout Description
24909 changedtextauthor4 変更された文章:第4著者の色
24910 \end_layout
24911
24912 \begin_layout Description
24913 changedtextauthor5 変更された文章:第5著者の色
24914 \end_layout
24915
24916 \begin_layout Description
24917 collapsibletext 畳み込み可能枠の文字色
24918 \end_layout
24919
24920 \begin_layout Description
24921 collapsibleframe 畳み込み可能枠の縁色
24922 \end_layout
24923
24924 \begin_layout Description
24925 command コマンド差込枠の文字色
24926 \end_layout
24927
24928 \begin_layout Description
24929 commandbg コマンド差込枠の背景色
24930 \end_layout
24931
24932 \begin_layout Description
24933 commandframe コマンド差込枠の縁色
24934 \end_layout
24935
24936 \begin_layout Description
24937 comment コメント色
24938 \end_layout
24939
24940 \begin_layout Description
24941 commentbg コメントの背景色
24942 \end_layout
24943
24944 \begin_layout Description
24945 cursor カーソル色
24946 \end_layout
24947
24948 \begin_layout Description
24949 deletedtext 削除された文章の色
24950 \end_layout
24951
24952 \begin_layout Description
24953 deletedtextmodifier 削除された文章の修飾子の色
24954 \end_layout
24955
24956 \begin_layout Description
24957 depthbar 余白部の階層表示線の色
24958 \end_layout
24959
24960 \begin_layout Description
24961 eolmarker 行末標色
24962 \end_layout
24963
24964 \begin_layout Description
24965 error \SpecialChar LaTeX
24966 エラーボックス色
24967 \end_layout
24968
24969 \begin_layout Description
24970 footlabel 脚註ラベル色
24971 \end_layout
24972
24973 \begin_layout Description
24974 foreground 
24975 \lang english
24976 Foreground color
24977 \end_layout
24978
24979 \begin_layout Description
24980 graphicsbg 画像差込枠の背景色
24981 \end_layout
24982
24983 \begin_layout Description
24984 greyedoutbg 淡色表示差込枠の背景色
24985 \end_layout
24986
24987 \begin_layout Description
24988 greyedoutlabel 淡色表示差込枠のラベル色
24989 \end_layout
24990
24991 \begin_layout Description
24992 greyedouttext 淡色表示差込枠の文字色
24993 \end_layout
24994
24995 \begin_layout Description
24996 indexlabel 索引差込枠のラベル色
24997 \end_layout
24998
24999 \begin_layout Description
25000 inlinecompletion 行内補完色
25001 \end_layout
25002
25003 \begin_layout Description
25004 insetbg 差込枠標の背景色
25005 \end_layout
25006
25007 \begin_layout Description
25008 insetframe 差込枠標の縁色
25009 \end_layout
25010
25011 \begin_layout Description
25012 language 外国語の単語を標識するための色
25013 \end_layout
25014
25015 \begin_layout Description
25016 latex \SpecialChar LaTeX
25017 モードの文字色
25018 \end_layout
25019
25020 \begin_layout Description
25021 listingsbg プログラムリスト差込枠の背景色
25022 \end_layout
25023
25024 \begin_layout Description
25025 marginlabel 傍註のラベル色
25026 \end_layout
25027
25028 \begin_layout Description
25029 math 数式差込枠の文字色
25030 \end_layout
25031
25032 \begin_layout Description
25033 mathbg 数式差込枠の背景色
25034 \end_layout
25035
25036 \begin_layout Description
25037 mathcorners フォーカスを得ていない数式差込枠の縁色
25038 \end_layout
25039
25040 \begin_layout Description
25041 mathframe フォーカスを得ている数式差込枠の縁色
25042 \end_layout
25043
25044 \begin_layout Description
25045 mathline 数式行色
25046 \end_layout
25047
25048 \begin_layout Description
25049 mathmacrobg 数式マクロ差込枠の背景色
25050 \end_layout
25051
25052 \begin_layout Description
25053 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
25054 \end_layout
25055
25056 \begin_layout Description
25057 mathmacroframe 数式マクロ差込枠の縁色
25058 \end_layout
25059
25060 \begin_layout Description
25061 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
25062 \end_layout
25063
25064 \begin_layout Description
25065 mathmacrolabel 数式マクロ差込枠のラベル色
25066 \end_layout
25067
25068 \begin_layout Description
25069 mathmacronewarg 数式マクロ新パラメーターのひな型色
25070 \end_layout
25071
25072 \begin_layout Description
25073 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
25074 \end_layout
25075
25076 \begin_layout Description
25077 newpage 新規頁色
25078 \end_layout
25079
25080 \begin_layout Description
25081 nonunique_inlinecompletion 行内補完の一意でない部分の色
25082 \end_layout
25083
25084 \begin_layout Description
25085 note 註釈のラベル色
25086 \end_layout
25087
25088 \begin_layout Description
25089 notebg 註釈の背景色
25090 \end_layout
25091
25092 \begin_layout Description
25093 pagebreak 改頁/改行色
25094 \end_layout
25095
25096 \begin_layout Description
25097 paragraphmarker 段落末を標識するための段落標の色
25098 \end_layout
25099
25100 \begin_layout Description
25101 phantomtext 埋め草差込枠の文字色
25102 \end_layout
25103
25104 \begin_layout Description
25105 preview プレビューに用いられる色
25106 \end_layout
25107
25108 \begin_layout Description
25109 previewframe プレビュー縁色
25110 \end_layout
25111
25112 \begin_layout Description
25113 regexpframe 正規表現枠の色
25114 \end_layout
25115
25116 \begin_layout Description
25117 scroll 
25118 \lang english
25119 Color that indicates when a row can be scrolled
25120 \end_layout
25121
25122 \begin_layout Description
25123 selection 文章選択部の背景色
25124 \end_layout
25125
25126 \begin_layout Description
25127 selectiontext 文章選択部の前景色
25128 \end_layout
25129
25130 \begin_layout Description
25131 shadedbg 影付きボックスの背景色
25132 \end_layout
25133
25134 \begin_layout Description
25135 special 特殊文字の色
25136 \end_layout
25137
25138 \begin_layout Description
25139 tabularline 罫線色
25140 \end_layout
25141
25142 \begin_layout Description
25143 tabularonoffline 罫線色
25144 \end_layout
25145
25146 \begin_layout Description
25147 urllabel URL差込枠のラベル色
25148 \end_layout
25149
25150 \begin_layout Description
25151 urltext URL差込枠の文字色
25152 \end_layout
25153
25154 \end_body
25155 \end_document