]> git.lyx.org Git - features.git/blob - lib/doc/ja/Customization.lyx
f90386764886a383ae6ee664a956fe71d75a1a33
[features.git] / lib / doc / ja / Customization.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties false
6 \origin /systemlyxdir/doc/ja/
7 \textclass scrbook
8 \begin_preamble
9 % DO NOT ALTER THIS PREAMBLE!!!
10 %
11 % This preamble is designed to ensure that this document prints
12 % out as advertised. If you mess with this preamble,
13 % parts of this document may not print out as expected.  If you
14 % have problems LaTeXing this file, please contact 
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
17
18 % the pages of the TOC is numbered roman
19 % and a pdf-bookmark for the TOC is added
20 \let\myTOC\tableofcontents
21 \renewcommand\tableofcontents{%
22   \frontmatter
23   \pdfbookmark[1]{\contentsname}{}
24   \myTOC
25   \mainmatter }
26
27 % Added only for Japanese translation
28 % This is needed to use \textquotedbl (this doesn't exist in OT1 encoding)
29 \usepackage[T1]{fontenc}
30 \end_preamble
31 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
32 \use_default_options false
33 \begin_modules
34 logicalmkup
35 \end_modules
36 \maintain_unincluded_children false
37 \begin_local_layout
38 Format 57
39 InsetLayout Flex:MenuItem
40 LyxType               charstyle
41 LabelString           menu
42 LatexType             command
43 LatexName             menuitem
44 Font
45 Family              Sans
46 EndFont
47 Preamble
48 \newcommand*{\menuitem}[1]{{\sffamily #1}}
49 EndPreamble
50 ResetsFont true
51 End
52 # In case we need to do with sans...
53 #InsetLayout CharStyle:Code
54 #Font
55 #Family              Sans
56 #EndFont
57 #Preamble
58 #\renewcommand{\code}[1]{{\sffamily #1}}
59 #EndPreamble
60 #End
61 InsetLayout             Flex:Ruby
62 LyxType         charstyle
63 LatexType               command
64 LatexName               ruby
65 BgColor         none
66 LabelString             "ルビ"
67 Decoration              Conglomerate
68 Argument post:1
69 LabelString     "ルビ文"
70 MenuString      "ルビ文(S)|S"
71 Decoration      Conglomerate
72 Font
73 Size            tiny
74 EndFont
75 LabelFont
76 Size            tiny
77 EndFont
78 Mandatory       1
79 EndArgument
80 Preamble
81 \IfFileExists{okumacro.sty}
82 {\usepackage{okumacro}}
83 {\newcommand{\ruby}[2]{#2}}
84 EndPreamble
85 ResetsFont true
86 End
87 \end_local_layout
88 \language japanese
89 \language_package default
90 \inputencoding auto
91 \fontencoding global
92 \font_roman "default" "default"
93 \font_sans "default" "default"
94 \font_typewriter "default" "default"
95 \font_math "auto" "auto"
96 \font_default_family default
97 \use_non_tex_fonts false
98 \font_sc false
99 \font_osf false
100 \font_sf_scale 100 100
101 \font_tt_scale 100 100
102 \use_microtype false
103 \use_dash_ligatures false
104 \graphics default
105 \default_output_format default
106 \output_sync 0
107 \bibtex_command default
108 \index_command default
109 \paperfontsize 12
110 \spacing single
111 \use_hyperref true
112 \pdf_title "LyX Configuration Manual"
113 \pdf_author "LyX Team"
114 \pdf_subject "LyX-Documentation Customization"
115 \pdf_keywords "LyX, documentation, customization"
116 \pdf_bookmarks false
117 \pdf_bookmarksnumbered true
118 \pdf_bookmarksopen true
119 \pdf_bookmarksopenlevel 1
120 \pdf_breaklinks false
121 \pdf_pdfborder false
122 \pdf_colorlinks true
123 \pdf_backref false
124 \pdf_pdfusetitle false
125 \pdf_quoted_options "driverfallback=dvipdfmx, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
126 \papersize default
127 \use_geometry false
128 \use_package amsmath 1
129 \use_package amssymb 1
130 \use_package cancel 1
131 \use_package esint 1
132 \use_package mathdots 1
133 \use_package mathtools 1
134 \use_package mhchem 1
135 \use_package stackrel 1
136 \use_package stmaryrd 1
137 \use_package undertilde 1
138 \cite_engine basic
139 \cite_engine_type default
140 \biblio_style plain
141 \use_bibtopic false
142 \use_indices false
143 \paperorientation portrait
144 \suppress_date false
145 \justification false
146 \use_refstyle 0
147 \use_minted 0
148 \notefontcolor #0000ff
149 \branch OutDated
150 \selected 0
151 \filename_suffix 0
152 \color #f5fae7
153 \end_branch
154 \index 索引
155 \shortcut idx
156 \color #008000
157 \end_index
158 \secnumdepth 3
159 \tocdepth 3
160 \paragraph_separation indent
161 \paragraph_indentation default
162 \is_math_indent 1
163 \math_indentation default
164 \math_numbering_side default
165 \quotes_style english
166 \dynamic_quotes 0
167 \papercolumns 1
168 \papersides 2
169 \paperpagestyle headings
170 \tracking_changes false
171 \output_changes false
172 \html_math_output 0
173 \html_css_as_file 0
174 \html_be_strict true
175 \end_header
176
177 \begin_body
178
179 \begin_layout Title
180 \SpecialChar LyX
181 の高度設定
182 \begin_inset Newline newline
183 \end_inset
184
185 熟練ユーザのための各機能
186 \end_layout
187
188 \begin_layout Author
189 \SpecialChar LyX
190 開発チーム
191 \begin_inset Foot
192 status collapsed
193
194 \begin_layout Plain Layout
195 \noindent
196 もしコメントや誤りの修正をお持ちでしたら,\SpecialChar LyX
197 文書化メーリングリスト
198 \begin_inset CommandInset href
199 LatexCommand href
200 target "lyx-docs@lists.lyx.org"
201 type "mailto:"
202 literal "false"
203
204 \end_inset
205
206 宛お送りください.件名ヘッダに「[Customization]」という文字を入れ,このファイルの現在のメンテナRichard Heck <rgheck@comc
207 ast.net>をccにして送ってください.
208 \end_layout
209
210 \end_inset
211
212
213 \begin_inset Newline newline
214 \end_inset
215
216
217 \begin_inset Newline newline
218 \end_inset
219
220 第2.3.x版
221 \end_layout
222
223 \begin_layout Standard
224 \begin_inset CommandInset toc
225 LatexCommand tableofcontents
226
227 \end_inset
228
229
230 \begin_inset Note Note
231 status open
232
233 \begin_layout Plain Layout
234 本文書を修正する際には,変更追跡機能を使用してください.これによって,
235 \end_layout
236
237 \begin_layout Plain Layout
238 \SpecialChar LyX
239 翻訳者陣が変更点を認識しやすくなり,メンテナが最新の状態を維持することが容易になります.
240 \end_layout
241
242 \end_inset
243
244
245 \end_layout
246
247 \begin_layout Chapter
248 はじめに
249 \end_layout
250
251 \begin_layout Standard
252 この取扱説明書は,\SpecialChar LyX
253 に備わっている高度設定機能を取り扱います.ここでは,
254 \begin_inset Flex Ruby
255 status collapsed
256
257 \begin_layout Plain Layout
258 捷径
259 \begin_inset Argument post:1
260 status collapsed
261
262 \begin_layout Plain Layout
263 ショートカット
264 \end_layout
265
266 \end_inset
267
268
269 \end_layout
270
271 \end_inset
272
273 や画面プレビューオプション,プリンタオプション,\SpecialChar LyX
274 サーバ経由での\SpecialChar LyX
275 へのコマンド送信,国際化,新しい\SpecialChar LaTeX
276 クラスや\SpecialChar LyX
277 レイアウトの導入などの題材について論じます.おそらくは変更
278 可能なことすべてについて触れることは無理でしょうが—私たちの開発者たちは私たちが文書化できる速さよりも速く新しい機能を付け加えてしまうので—,もっとも一般的な高
279 度設定については説明を行い,わかりにくいものについては正しい方向を指し示すことができるようにしていくつもりです.
280 \end_layout
281
282 \begin_layout Standard
283 \begin_inset Branch OutDated
284 inverted 0
285 status collapsed
286
287 \begin_layout Standard
288 Information from previous versions of this document that now seems to be
289  outdated is contained in the OutDated branch of this document.
290  By default, this information will not appear in the \SpecialChar LaTeX
291  output.
292 \end_layout
293
294 \end_inset
295
296
297 \end_layout
298
299 \begin_layout Chapter
300 \SpecialChar LyX
301 設定ファイル
302 \end_layout
303
304 \begin_layout Standard
305 本章の目的は,\SpecialChar LyX
306 設定ファイル群を理解するための一助となることです.本章を読み進める前に,
307 \begin_inset Flex MenuItem
308 status collapsed
309
310 \begin_layout Plain Layout
311 ヘルプ\SpecialChar menuseparator
312 LyXについて
313 \end_layout
314
315 \end_inset
316
317 を使って,\SpecialChar LyX
318 ライブラリとユーザディレクトリがどこにあるかを確認しておいてください.ライブラリディレクトリは,\SpecialChar LyX
319 がシステム全体の設定ファイルを置いておくところです.一
320 方,ユーザディレクトリは,自身がそれを修正した版を置いておくところです.私たちは,本書の以下の部分で,前者を
321 \begin_inset Flex Code
322 status collapsed
323
324 \begin_layout Plain Layout
325 LyXDir
326 \end_layout
327
328 \end_inset
329
330 と呼び,後者を
331 \begin_inset Flex MenuItem
332 status collapsed
333
334 \begin_layout Plain Layout
335 UserDir
336 \end_layout
337
338 \end_inset
339
340 と呼ぶことにします.
341 \end_layout
342
343 \begin_layout Section
344 \begin_inset Flex Code
345 status collapsed
346
347 \begin_layout Plain Layout
348 LyXDir
349 \end_layout
350
351 \end_inset
352
353 にはなにがあるの?
354 \end_layout
355
356 \begin_layout Standard
357 \begin_inset Flex Code
358 status collapsed
359
360 \begin_layout Plain Layout
361 LyXDir
362 \end_layout
363
364 \end_inset
365
366 とそのサブディレクトリには,多くのファイルがあり,\SpecialChar LyX
367 の挙動を高度設定するのに使用されます.これらのファイルの多くは,\SpecialChar LyX
368 内の
369 \begin_inset Flex MenuItem
370 status collapsed
371
372 \begin_layout Plain Layout
373 ツール\SpecialChar menuseparator
374 設定
375 \end_layout
376
377 \end_inset
378
379 ダイアログから変更することができます.\SpecialChar LyX
380 中で行いたいと思うような高度設定は,ほとんどこのダイアログから行うことができるようになっています.しかしながら,LyXの他
381 の多くの内部動作は,
382 \begin_inset Flex Code
383 status collapsed
384
385 \begin_layout Plain Layout
386 LyXDir
387 \end_layout
388
389 \end_inset
390
391 のファイルを修正することで高度設定されます.これらのファイルは様々なカテゴリに分類しうるので,以下の各小節で説明します.
392 \end_layout
393
394 \begin_layout Subsection
395 自動的に生成されるファイル
396 \end_layout
397
398 \begin_layout Standard
399 \begin_inset Flex MenuItem
400 status collapsed
401
402 \begin_layout Plain Layout
403 UserDir
404 \end_layout
405
406 \end_inset
407
408 にある各ファイルは,\SpecialChar LyX
409 が自動設定を行ったときに生成されます.これらのファイルは,内部調査中に推測された様々な既定値が置かれています.これらは,随時上書きされてしま
410 うので,一般的には修正しないことが望まれます.
411 \end_layout
412
413 \begin_layout Labeling
414 \labelwidthstring 00.00.0000
415 \begin_inset Flex Code
416 status collapsed
417
418 \begin_layout Plain Layout
419 lyxrc.defaults
420 \end_layout
421
422 \end_inset
423
424  このファイルには,様々な既定コマンドが置かれています.
425 \end_layout
426
427 \begin_layout Labeling
428 \labelwidthstring 00.00.0000
429 \begin_inset Flex Code
430 status collapsed
431
432 \begin_layout Plain Layout
433 packages.lst
434 \end_layout
435
436 \end_inset
437
438  このファイルには,\SpecialChar LyX
439 が認識したパッケージの一覧が収められています.現在のところ,これは\SpecialChar LyX
440 プログラム自体には使用されていませんが,抽出された情報その他は,
441 \begin_inset Flex MenuItem
442 status collapsed
443
444 \begin_layout Plain Layout
445 ヘルプ\SpecialChar menuseparator
446 LaTeXの設定
447 \end_layout
448
449 \end_inset
450
451 で見ることができます.
452 \end_layout
453
454 \begin_layout Labeling
455 \labelwidthstring 00.00.0000
456 \begin_inset Flex Code
457 status collapsed
458
459 \begin_layout Plain Layout
460 textclass.lst
461 \end_layout
462
463 \end_inset
464
465  ユーザの
466 \begin_inset Flex Code
467 status collapsed
468
469 \begin_layout Plain Layout
470 Plain L
471 \end_layout
472
473 \end_inset
474
475 ディレクトリで検出されたテキストクラスと,関連した\SpecialChar LaTeX
476 文書クラスおよびその説明の一覧です.
477 \end_layout
478
479 \begin_layout Labeling
480 \labelwidthstring 00.00.0000
481 \begin_inset Flex Code
482 status collapsed
483
484 \begin_layout Plain Layout
485 lyxmodules.lst
486 \end_layout
487
488 \end_inset
489
490  ユーザの
491 \begin_inset Flex Code
492 status collapsed
493
494 \begin_layout Plain Layout
495 layout/
496 \end_layout
497
498 \end_inset
499
500 ディレクトリで検出されたレイアウトモジュールの一覧です.
501 \end_layout
502
503 \begin_layout Labeling
504 \labelwidthstring 00.00.0000
505 \begin_inset Flex Code
506 status collapsed
507
508 \begin_layout Plain Layout
509 *files.lst
510 \end_layout
511
512 \end_inset
513
514  ご使用のシステムで検出された様々な種類の\SpecialChar LaTeX
515 関連ファイルの一覧です.
516 \end_layout
517
518 \begin_layout Labeling
519 \labelwidthstring 00.00.0000
520 \begin_inset Flex Code
521 status collapsed
522
523 \begin_layout Plain Layout
524 doc/LaTeXConfig.lyx
525 \end_layout
526
527 \end_inset
528
529  このファイルは,自動設定中に
530 \begin_inset Flex Code
531 status collapsed
532
533 \begin_layout Plain Layout
534 LaTeXConfig.lyx.in
535 \end_layout
536
537 \end_inset
538
539 から自動的に生成されます.ご使用中の\SpecialChar LaTeX
540 の設定に関する情報が納められています.
541 \end_layout
542
543 \begin_layout Subsection
544 ディレクトリ
545 \end_layout
546
547 \begin_layout Standard
548 以下の各ディレクトリは,
549 \begin_inset Flex Code
550 status collapsed
551
552 \begin_layout Plain Layout
553 LyXDir
554 \end_layout
555
556 \end_inset
557
558
559 \begin_inset Flex Code
560 status collapsed
561
562 \begin_layout Plain Layout
563 UserDir
564 \end_layout
565
566 \end_inset
567
568 に重複して存在します.特定のファイルが両方の場所にある場合には,
569 \begin_inset Flex Code
570 status collapsed
571
572 \begin_layout Plain Layout
573 UserDir
574 \end_layout
575
576 \end_inset
577
578 の方にあるものが使用されます.
579 \end_layout
580
581 \begin_layout Labeling
582 \labelwidthstring 00.00.0000
583 \begin_inset Flex Code
584 status collapsed
585
586 \begin_layout Plain Layout
587 bind/
588 \end_layout
589
590 \end_inset
591
592  このディレクトリには,\SpecialChar LyX
593 で使用されるキー割当を定義している,拡張子が
594 \begin_inset Flex Code
595 status collapsed
596
597 \begin_layout Plain Layout
598 .bind
599 \end_layout
600
601 \end_inset
602
603 のファイルが置かれています.
604 \begin_inset Flex Code
605 status collapsed
606
607 \begin_layout Plain Layout
608 $LANG_xxx.bind
609 \end_layout
610
611 \end_inset
612
613 という名称の割当ファイルの各国語版がある場合には,そちらが用いられます.
614 \end_layout
615
616 \begin_layout Labeling
617 \labelwidthstring 00.00.0000
618 \begin_inset Flex Code
619 status collapsed
620
621 \begin_layout Plain Layout
622 citeengines/
623 \end_layout
624
625 \end_inset
626
627  このディレクトリには,幅広い文献引用力(natbib, biblatexなど)を定義する,拡張子が
628 \begin_inset Flex Code
629 status collapsed
630
631 \begin_layout Plain Layout
632 .citeengine
633 \end_layout
634
635 \end_inset
636
637 のファイルが置かれています.詳細については,第
638 \begin_inset CommandInset ref
639 LatexCommand ref
640 reference "subsec:引用エンジンファイル"
641 plural "false"
642 caps "false"
643 noprefix "false"
644
645 \end_inset
646
647 節をご覧ください.
648 \end_layout
649
650 \begin_layout Labeling
651 \labelwidthstring 00.00.0000
652 \begin_inset Flex Code
653 status collapsed
654
655 \begin_layout Plain Layout
656 clipart/
657 \end_layout
658
659 \end_inset
660
661  このディレクトリには,文書に取り込むことのできる画像ファイルが納められています.
662 \end_layout
663
664 \begin_layout Labeling
665 \labelwidthstring 00.00.0000
666 \begin_inset Flex Code
667 status collapsed
668
669 \begin_layout Plain Layout
670 doc/
671 \end_layout
672
673 \end_inset
674
675  このディレクトリには,\SpecialChar LyX
676 の取扱説明書ファイル(今お読みのものも含めて)が納められています.上述のように,
677 \begin_inset Flex Code
678 status collapsed
679
680 \begin_layout Plain Layout
681 LaTeXConfig.lyx
682 \end_layout
683
684 \end_inset
685
686 ファイルは特に注目に値します.各国語版のヘルプ文書は,
687 \begin_inset Flex Code
688 status collapsed
689
690 \begin_layout Plain Layout
691 doc/xx
692 \end_layout
693
694 \end_inset
695
696 (「xx」はISO言語コード)サブディレクトリにあります.詳しくは,
697 \begin_inset CommandInset ref
698 LatexCommand ref
699 reference "cha:LyXの各国語対応"
700
701 \end_inset
702
703 をご覧ください.
704 \end_layout
705
706 \begin_layout Labeling
707 \labelwidthstring 00.00.0000
708 \begin_inset Flex Code
709 status collapsed
710
711 \begin_layout Plain Layout
712 examples/
713 \end_layout
714
715 \end_inset
716
717  このディレクトリには,何らかの機能の使い方を説明する例示ファイルが納められています.ファイルブラウザ中で
718 \begin_inset Flex MenuItem
719 status collapsed
720
721 \begin_layout Plain Layout
722 用例
723 \end_layout
724
725 \end_inset
726
727 ボタンを押すと,このディレクトリが表示されます.
728 \end_layout
729
730 \begin_layout Labeling
731 \labelwidthstring 00.00.0000
732 \begin_inset Flex Code
733 status collapsed
734
735 \begin_layout Plain Layout
736 images/
737 \end_layout
738
739 \end_inset
740
741  このディレクトリには,
742 \begin_inset Flex MenuItem
743 status collapsed
744
745 \begin_layout Plain Layout
746 文書
747 \end_layout
748
749 \end_inset
750
751 ダイアログで使用される画像ファイルが納められています.さらに,ツールバーの各アイコンや,\SpecialChar LyX
752 を起動したときに現れるバナーも納められています.
753 \end_layout
754
755 \begin_layout Labeling
756 \labelwidthstring 00.00.0000
757 \begin_inset Flex Code
758 status collapsed
759
760 \begin_layout Plain Layout
761 kbd/
762 \end_layout
763
764 \end_inset
765
766  このディレクトリには,キーボードのキー割当ファイルが納められています.詳細については,
767 \begin_inset CommandInset ref
768 LatexCommand ref
769 reference "sec:国際キー配列"
770
771 \end_inset
772
773 をご覧ください.
774 \end_layout
775
776 \begin_layout Labeling
777 \labelwidthstring 00.00.0000
778 \begin_inset Flex Code
779 status collapsed
780
781 \begin_layout Plain Layout
782 layouts/
783 \end_layout
784
785 \end_inset
786
787  このディレクトリには,
788 \begin_inset CommandInset ref
789 LatexCommand ref
790 reference "cha:新規文書を導入"
791
792 \end_inset
793
794 に述べられているテキストクラスおよびモジュールのファイルが納められています.
795 \end_layout
796
797 \begin_layout Labeling
798 \labelwidthstring 00.00.0000
799 \begin_inset Flex Code
800 status collapsed
801
802 \begin_layout Plain Layout
803 lyx2lyx
804 \end_layout
805
806 \end_inset
807
808  このディレクトリには,\SpecialChar LyX
809 の各バージョン間の変換に使用される
810 \begin_inset Flex Code
811 status collapsed
812
813 \begin_layout Plain Layout
814 lyx2lyx
815 \end_layout
816
817 \end_inset
818
819  Pythonスクリプトが納められています.たとえば,複数のファイルの変換をバッチ処理したい場合には,これらをコマンドラインから実行することもできます.
820 \end_layout
821
822 \begin_layout Labeling
823 \labelwidthstring 00.00.0000
824 \begin_inset Flex Code
825 status collapsed
826
827 \begin_layout Plain Layout
828 scripts/
829 \end_layout
830
831 \end_inset
832
833  このディレクトリには,
834 \begin_inset Flex MenuItem
835 status collapsed
836
837 \begin_layout Plain Layout
838 外用ひな型
839 \end_layout
840
841 \end_inset
842
843 機能の有用性を示すためのファイルがいくつか納められています.\SpecialChar LyX
844 自身が使用するスクリプトもいくつか収められています.
845 \end_layout
846
847 \begin_layout Labeling
848 \labelwidthstring 00.00.0000
849 \begin_inset Flex Code
850 status collapsed
851
852 \begin_layout Plain Layout
853 templates/
854 \end_layout
855
856 \end_inset
857
858  このディレクトリには,
859 \begin_inset CommandInset ref
860 LatexCommand ref
861 reference "sec:ひな型を作成する"
862
863 \end_inset
864
865 で述べられている標準の\SpecialChar LyX
866 ひな型ファイルが納められています.
867 \end_layout
868
869 \begin_layout Labeling
870 \labelwidthstring 00.00.0000
871 \begin_inset Flex Code
872 status collapsed
873
874 \begin_layout Plain Layout
875 ui/
876 \end_layout
877
878 \end_inset
879
880  このディレクトリには,\SpecialChar LyX
881 の操作画面を定義する拡張子
882 \begin_inset Flex Code
883 status collapsed
884
885 \begin_layout Plain Layout
886 .ui
887 \end_layout
888
889 \end_inset
890
891 のファイルが納められています.つまり,これらのファイルは,どのメニュー項目がどのメニューに現れるかを定義し,どの項目がツールバーに現れるかを定義しています.
892 \end_layout
893
894 \begin_layout Labeling
895 \labelwidthstring 00.00.0000
896 \begin_inset Flex Code
897 status collapsed
898
899 \begin_layout Plain Layout
900 xtemplates/
901 \end_layout
902
903 \end_inset
904
905  このディレクトリには,\SpecialChar LyX
906 文書への外部素材の挿入のひな型を定義する,拡張子が
907 \begin_inset Flex Code
908 status collapsed
909
910 \begin_layout Plain Layout
911 .xtemplate
912 \end_layout
913
914 \end_inset
915
916 のファイルが置かれています.第
917 \begin_inset CommandInset ref
918 LatexCommand ref
919 reference "chap:外部素材を取り込む"
920 plural "false"
921 caps "false"
922 noprefix "false"
923
924 \end_inset
925
926 節参照.
927 \end_layout
928
929 \begin_layout Subsection
930 変更を加えない方がよいファイル
931 \end_layout
932
933 \begin_layout Standard
934 これらのファイルは\SpecialChar LyX
935 が内部的に使用するもので,あなたが開発者でない限りは,凡そこれらに変更を加える必要はありません.
936 \end_layout
937
938 \begin_layout Labeling
939 \labelwidthstring 00.00.0000
940 \begin_inset Flex Code
941 status collapsed
942
943 \begin_layout Plain Layout
944 CREDITS
945 \end_layout
946
947 \end_inset
948
949  このファイルは,\SpecialChar LyX
950 開発陣の名簿です.この内容は,メニュー項目
951 \begin_inset Flex MenuItem
952 status collapsed
953
954 \begin_layout Plain Layout
955 ヘルプ\SpecialChar menuseparator
956 LyXについて
957 \end_layout
958
959 \end_inset
960
961 で表示されます.
962 \end_layout
963
964 \begin_layout Labeling
965 \labelwidthstring 00.00.0000
966 \begin_inset Flex Code
967 status collapsed
968
969 \begin_layout Plain Layout
970 chkconfig.ltx
971 \end_layout
972
973 \end_inset
974
975  これは,自動設定プロセスによって使用される\SpecialChar LaTeX
976 スクリプトです.直接実行しないでください.
977 \end_layout
978
979 \begin_layout Labeling
980 \labelwidthstring 00.00.0000
981 \begin_inset Flex Code
982 status collapsed
983
984 \begin_layout Plain Layout
985 configure.py
986 \end_layout
987
988 \end_inset
989
990  これは,\SpecialChar LyX
991 の環境構成によって使用されるスクリプトです.これは,このスクリプトを実行したディレクトリに設定ファイルを生成します.
992 \end_layout
993
994 \begin_layout Subsection
995 ひとこと必要なファイル群
996 \end_layout
997
998 \begin_layout Labeling
999 \labelwidthstring 00.00.0000
1000 \begin_inset Flex Code
1001 status collapsed
1002
1003 \begin_layout Plain Layout
1004 encodings
1005 \end_layout
1006
1007 \end_inset
1008
1009  このファイルには,各文字エンコーディングがどのようにUnicodeにマップされるかを示した表が載っています.
1010 \end_layout
1011
1012 \begin_layout Labeling
1013 \labelwidthstring 00.00.0000
1014 \begin_inset Flex Code
1015 status collapsed
1016
1017 \begin_layout Plain Layout
1018 languages
1019 \end_layout
1020
1021 \end_inset
1022
1023  このファイルには,現在\SpecialChar LyX
1024 がサポートしている言語の全一覧が載っています.
1025 \end_layout
1026
1027 \begin_layout Labeling
1028 \labelwidthstring 00.00.0000
1029 \begin_inset Flex Code
1030 status collapsed
1031
1032 \begin_layout Plain Layout
1033 latexfonts
1034 \end_layout
1035
1036 \end_inset
1037
1038  サポートされているフォントに関する情報が掲載されています.
1039 \end_layout
1040
1041 \begin_layout Labeling
1042 \labelwidthstring 00.00.0000
1043 \begin_inset Flex Code
1044 status collapsed
1045
1046 \begin_layout Plain Layout
1047 layouttranslations
1048 \end_layout
1049
1050 \end_inset
1051
1052  このファイルは,国際化された段落様式の翻訳が収録されています(
1053 \begin_inset CommandInset ref
1054 LatexCommand ref
1055 reference "subsec:段落様式の国際化"
1056
1057 \end_inset
1058
1059 参照).
1060 \end_layout
1061
1062 \begin_layout Labeling
1063 \labelwidthstring 00.00.0000
1064 \begin_inset Flex Code
1065 status collapsed
1066
1067 \begin_layout Plain Layout
1068 unicodesymbols
1069 \end_layout
1070
1071 \end_inset
1072
1073  このファイルは,unicodeエンコーディングされたグリフに関する情報と,\SpecialChar LyX
1074 が\SpecialChar LaTeX
1075 を介してそれらをどのようにサポートしているかについての情報を含んでいます.
1076 \end_layout
1077
1078 \begin_layout Section
1079 ユーザのローカル設定ディレクトリ
1080 \end_layout
1081
1082 \begin_layout Standard
1083 \SpecialChar LyX
1084 を非特権ユーザとして利用している場合でも,自分自身で使うために,\SpecialChar LyX
1085 の設定を変更したいと思うかもしれません.
1086 \begin_inset Flex Code
1087 status collapsed
1088
1089 \begin_layout Plain Layout
1090 UserDir
1091 \end_layout
1092
1093 \end_inset
1094
1095 ディレクトリには,すべての個人設定ファイルが収められています.これは,
1096 \begin_inset Flex MenuItem
1097 status collapsed
1098
1099 \begin_layout Plain Layout
1100 ヘルプ\SpecialChar menuseparator
1101 LyXについて
1102 \end_layout
1103
1104 \end_inset
1105
1106 で「ユーザーディレクトリ」として言及されているディレクトリです.このディレクトリは,
1107 \begin_inset Flex Code
1108 status collapsed
1109
1110 \begin_layout Plain Layout
1111 LyXDir
1112 \end_layout
1113
1114 \end_inset
1115
1116 のミラーとして使用されており,これは
1117 \begin_inset Flex Code
1118 status collapsed
1119
1120 \begin_layout Plain Layout
1121 UserDir
1122 \end_layout
1123
1124 \end_inset
1125
1126 内のすべてのファイルが,
1127 \begin_inset Flex Code
1128 status collapsed
1129
1130 \begin_layout Plain Layout
1131 LyXDir
1132 \end_layout
1133
1134 \end_inset
1135
1136 すし,自分自身で使うために個人のローカルディレクトリに置くこともできます.
1137 \end_layout
1138
1139 \begin_layout Standard
1140 わかりやすくするために,いくつか例を挙げましょう.
1141 \end_layout
1142
1143 \begin_layout Itemize
1144 \begin_inset Flex MenuItem
1145 status collapsed
1146
1147 \begin_layout Plain Layout
1148 ツール\SpecialChar menuseparator
1149 設定
1150 \end_layout
1151
1152 \end_inset
1153
1154 ダイアログで設定されるユーザ設定は,
1155 \begin_inset Flex Code
1156 status collapsed
1157
1158 \begin_layout Plain Layout
1159 UserDir
1160 \end_layout
1161
1162 \end_inset
1163
1164 中の
1165 \begin_inset Flex Code
1166 status collapsed
1167
1168 \begin_layout Plain Layout
1169 preferences
1170 \end_layout
1171
1172 \end_inset
1173
1174 ファイルに保存されます.
1175 \end_layout
1176
1177 \begin_layout Itemize
1178 \begin_inset Flex MenuItem
1179 status collapsed
1180
1181 \begin_layout Plain Layout
1182 ツール\SpecialChar menuseparator
1183 環境構成
1184 \end_layout
1185
1186 \end_inset
1187
1188 を使用して環境構成を行うと,\SpecialChar LyX
1189
1190 \begin_inset Flex Code
1191 status collapsed
1192
1193 \begin_layout Plain Layout
1194 configure.py
1195 \end_layout
1196
1197 \end_inset
1198
1199 スクリプトを実行し,その結果のファイルは,ご自身のローカル設定ディレクトリに書き込まれます.これはすなわち,
1200 \begin_inset Flex Code
1201 status collapsed
1202
1203 \begin_layout Plain Layout
1204 UserDir/layouts
1205 \end_layout
1206
1207 \end_inset
1208
1209 にご自身で追加したテキストファイルは,
1210 \begin_inset Flex MenuItem
1211 status collapsed
1212
1213 \begin_layout Plain Layout
1214 文書\SpecialChar menuseparator
1215 設定
1216 \end_layout
1217
1218 \end_inset
1219
1220 ダイアログのクラス一覧に表示されるようになることを意味します.
1221 \end_layout
1222
1223 \begin_layout Itemize
1224 たとえば,\SpecialChar LyX
1225 のFTPサイトから最新の取扱説明書をとってきたものの,使用中のシステム上で管理者権限がないために,それをインストールすることができなかったとしても,そ
1226 れらのファイルを
1227 \begin_inset Flex Code
1228 status collapsed
1229
1230 \begin_layout Plain Layout
1231 UserDir/doc/
1232 \end_layout
1233
1234 \end_inset
1235
1236 ディレクトリにコピーすれば,
1237 \begin_inset Flex MenuItem
1238 status collapsed
1239
1240 \begin_layout Plain Layout
1241 ヘルプ
1242 \end_layout
1243
1244 \end_inset
1245
1246 メニュー項目はこれらを開くようになります!
1247 \end_layout
1248
1249 \begin_layout Section
1250 \SpecialChar LyX
1251 を複数の設定を使って実行するには
1252 \end_layout
1253
1254 \begin_layout Standard
1255 ローカル設定ディレクトリにおいて設定の自由度があるだけでは,2つ以上の設定を自由に使いこなしたい場合には充分ではないかもしれません.たとえば,使用する度に異なる
1256 キー割当を使用したり,異なるプリンタ設定を使用したいことがあるかもしれません.これは,複数の設定ディレクトリを作ることで実現することができます.そして,実行時に
1257 どのディレクトリを使用するか指定するのです.
1258 \end_layout
1259
1260 \begin_layout Standard
1261 \SpecialChar LyX
1262 をコマンドラインスイッチ
1263 \begin_inset Flex Code
1264 status collapsed
1265
1266 \begin_layout Plain Layout
1267 -userdir
1268 \end_layout
1269
1270 \end_inset
1271
1272 P
1273 \emph on
1274 <ディレクトリ名>
1275 \emph default
1276 と共に起動すると,設定を既定のディレクトリではなく,指定したディレクトリから読み込むように,指示することになります(\SpecialChar LyX
1277
1278 \begin_inset Flex Code
1279 status collapsed
1280
1281 \begin_layout Plain Layout
1282 -userdir
1283 \end_layout
1284
1285 \end_inset
1286
1287 スイッチなしで実行すれば,既定ディレクトリを指定することになります).指定したディレクトリが存在しない場合には,\SpecialChar LyX
1288 は,初めて\SpecialChar LyX
1289 を実行したときに既定ディレクトリを訊い
1290 てくるのと同様に,そのディレクトリを作るかどうか訊いてきます.この追加したユーザディレクトリでは,既定ディレクトリで行うのと全く同じように設定オプションを修正す
1291 ることができます.これらのディレクトリは完全に独立しています(が,読み進めてください).また,環境変数
1292 \begin_inset Flex Code
1293 status collapsed
1294
1295 \begin_layout Plain Layout
1296 LYX_USERDIR_20x
1297 \end_layout
1298
1299 \end_inset
1300
1301 を特定の値に設定しても,全く同じ効果があります.
1302 \end_layout
1303
1304 \begin_layout Standard
1305 複数の設定を持つことはまた,維持の手間も増えるということです.もし新しいレイアウトを
1306 \begin_inset Flex Code
1307 status collapsed
1308
1309 \begin_layout Plain Layout
1310 NewUserDir/layouts
1311 \end_layout
1312
1313 \end_inset
1314
1315 に加えて,これをすべての設定で利用できるようにしたいならば,これをすべての設定ディレクトリで個々に付け加えなくてはなりません.これを避けるには,次のようなトリッ
1316 クを使用してください.\SpecialChar LyX
1317 が新しい設定ディレクトリを生成すると,そのサブディレクトリ(上記参照)はほとんど空です.新しい設定が既存のものをミラーするようにするには,
1318 空のサブディレクトリを,既存の設定の対応するサブディレクトリへのシンボリックリンクに置き換えてください.ただし
1319 \begin_inset Flex Code
1320 status collapsed
1321
1322 \begin_layout Plain Layout
1323 doc/
1324 \end_layout
1325
1326 \end_inset
1327
1328 サブディレクトリには,設定スクリプト(
1329 \begin_inset Flex MenuItem
1330 status collapsed
1331
1332 \begin_layout Plain Layout
1333 ツール\SpecialChar menuseparator
1334 環境構成
1335 \end_layout
1336
1337 \end_inset
1338
1339 で使用可能)が書き出した,設定毎に異なるファイルが含まれていますので,注意を払ってください.
1340 \end_layout
1341
1342 \begin_layout Chapter
1343 設定ダイアログ
1344 \end_layout
1345
1346 \begin_layout Standard
1347 設定ダイアログのオプションのすべては,
1348 \emph on
1349 ユーザーの手引き
1350 \emph default
1351 の付録
1352 \emph on
1353 設定ダイアログ
1354 \emph default
1355 に述べられています.オプションのうちいくつかについて,ここでさらに詳細に説明します.
1356 \end_layout
1357
1358 \begin_layout Section
1359 ファイル形式
1360 \begin_inset CommandInset label
1361 LatexCommand label
1362 name "sec:ファイル形式"
1363
1364 \end_inset
1365
1366
1367 \end_layout
1368
1369 \begin_layout Standard
1370 ファイル形式が定義されていない場合,はじめの一歩は,使いたいと思うファイル形式を定義することです.それには,
1371 \begin_inset Flex MenuItem
1372 status collapsed
1373
1374 \begin_layout Plain Layout
1375 ツール\SpecialChar menuseparator
1376 設定
1377 \end_layout
1378
1379 \end_inset
1380
1381 ダイアログを開いてください.
1382 \begin_inset Flex MenuItem
1383 status collapsed
1384
1385 \begin_layout Plain Layout
1386 ファイル処理\SpecialChar menuseparator
1387 ファイル形式
1388 \end_layout
1389
1390 \end_inset
1391
1392 の中で
1393 \begin_inset Flex MenuItem
1394 status collapsed
1395
1396 \begin_layout Plain Layout
1397 新規\SpecialChar ldots
1398
1399 \end_layout
1400
1401 \end_inset
1402
1403 ボタンを押して,登録する新しい形式を定義してください.
1404 \begin_inset Flex MenuItem
1405 status collapsed
1406
1407 \begin_layout Plain Layout
1408 形式
1409 \end_layout
1410
1411 \end_inset
1412
1413 フィールドは,GUI中で形式を認識するために用いられる名称です.
1414 \begin_inset Flex MenuItem
1415 status collapsed
1416
1417 \begin_layout Plain Layout
1418 短縮名
1419 \end_layout
1420
1421 \end_inset
1422
1423 は,形式を内部的に識別するために用いられます.さらにファイル拡張子も入力する必要があります.これらはすべて必須事項です.オプションの
1424 \begin_inset Flex MenuItem
1425 status collapsed
1426
1427 \begin_layout Plain Layout
1428 捷径
1429 \end_layout
1430
1431 \end_inset
1432
1433 フィールドは,メニュー中で
1434 \begin_inset Flex Ruby
1435 status collapsed
1436
1437 \begin_layout Plain Layout
1438 捷径
1439 \begin_inset Argument post:1
1440 status collapsed
1441
1442 \begin_layout Plain Layout
1443 ショートカット
1444 \end_layout
1445
1446 \end_inset
1447
1448
1449 \end_layout
1450
1451 \end_inset
1452
1453 を提供するのに使用されます(たとえば,
1454 \begin_inset Flex MenuItem
1455 status collapsed
1456
1457 \begin_layout Plain Layout
1458 Ctrl+D
1459 \end_layout
1460
1461 \end_inset
1462
1463 を押すと
1464 \begin_inset Flex MenuItem
1465 status collapsed
1466
1467 \begin_layout Plain Layout
1468 表示\SpecialChar menuseparator
1469 DVI
1470 \end_layout
1471
1472 \end_inset
1473
1474 となります).
1475 \end_layout
1476
1477 \begin_layout Standard
1478 形式には,
1479 \begin_inset Flex MenuItem
1480 status collapsed
1481
1482 \begin_layout Plain Layout
1483 閲覧プログラム
1484 \end_layout
1485
1486 \end_inset
1487
1488
1489 \begin_inset Flex MenuItem
1490 status collapsed
1491
1492 \begin_layout Plain Layout
1493 編集プログラム
1494 \end_layout
1495
1496 \end_inset
1497
1498 を関連づけることができます.たとえば,PostScriptファイルを閲覧するのに
1499 \begin_inset Flex MenuItem
1500 status collapsed
1501
1502 \begin_layout Plain Layout
1503 Ghostview
1504 \end_layout
1505
1506 \end_inset
1507
1508 を使用したいとしましょう.このプログラムを起動するのに必要なコマンドを対応するフィールドに入力します.ここで,コマンドを定義するのに,次節に掲げる4つの変数を用
1509 いることができます.この閲覧プログラムは,\SpecialChar LyX
1510 中で画像を閲覧したり
1511 \begin_inset Flex MenuItem
1512 status collapsed
1513
1514 \begin_layout Plain Layout
1515 表示
1516 \end_layout
1517
1518 \end_inset
1519
1520 メニューを使用したときに起動されます.一方,編集プログラムは,たとえば,画像を右クリックして現れるコンテクストメニューで
1521 \begin_inset Flex MenuItem
1522 status collapsed
1523
1524 \begin_layout Plain Layout
1525 外部で編集
1526 \end_layout
1527
1528 \end_inset
1529
1530 を選択したときに起動します.
1531 \end_layout
1532
1533 \begin_layout Standard
1534 ファイル形式の
1535 \begin_inset Flex MenuItem
1536 status collapsed
1537
1538 \begin_layout Plain Layout
1539 MIME
1540 \end_layout
1541
1542 \end_inset
1543
1544 型は必須ではありませんが,指定するときには,すべての形式の中で一意的なものでなくてはなりません.これは,この形式のファイルをファイル内容から検出するのに用いられ
1545 ます.重要なファイル形式のうちには,
1546 \begin_inset CommandInset href
1547 LatexCommand href
1548 name "IANA"
1549 target "http://www.iana.org/assignments/media-types/"
1550 literal "false"
1551
1552 \end_inset
1553
1554 に公式に登録されたMIME型がないものがあります.そこで,\SpecialChar LyX
1555 は,
1556 \begin_inset CommandInset href
1557 LatexCommand href
1558 name "freedesktop.org"
1559 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1560 literal "false"
1561
1562 \end_inset
1563
1564 で指定されているMIME型拡張表を使用しています.
1565 \end_layout
1566
1567 \begin_layout Standard
1568 \begin_inset Flex MenuItem
1569 status collapsed
1570
1571 \begin_layout Plain Layout
1572 文書形式
1573 \end_layout
1574
1575 \end_inset
1576
1577 オプションは,\SpecialChar LyX
1578 に,この形式が文書として書き出すのに適していることを指示するものです.このオプションが有効となっていて,適切な変換経路が存在する場合には(第
1579 \begin_inset CommandInset ref
1580 LatexCommand ref
1581 reference "sec:変換子"
1582
1583 \end_inset
1584
1585 節を参照),この形式が
1586 \begin_inset Flex MenuItem
1587 status collapsed
1588
1589 \begin_layout Plain Layout
1590 ファイル\SpecialChar menuseparator
1591 書き出し
1592 \end_layout
1593
1594 \end_inset
1595
1596
1597 \begin_inset Flex MenuItem
1598 status collapsed
1599
1600 \begin_layout Plain Layout
1601 表示
1602 \end_layout
1603
1604 \end_inset
1605
1606 footlabel Label color for footnotす.
1607 \begin_inset Flex Code
1608 status collapsed
1609
1610 \begin_layout Plain Layout
1611 png
1612 \end_layout
1613
1614 \end_inset
1615
1616 のような純粋な画像形式は,このオプションを有効にしてはいけません.
1617 \begin_inset Flex Code
1618 status collapsed
1619
1620 \begin_layout Plain Layout
1621 pdf
1622 \end_layout
1623
1624 \end_inset
1625
1626 のようにベクター画像であると同時に文書でもあるような形式は,これを有効にします.
1627 \end_layout
1628
1629 \begin_layout Standard
1630 \begin_inset Flex MenuItem
1631 status collapsed
1632
1633 \begin_layout Plain Layout
1634 ベクター画像形式
1635 \end_layout
1636
1637 \end_inset
1638
1639 オプションは,\SpecialChar LyX
1640 にこの形式がベクター画像を含みうることを教示するものです.この情報は,
1641 \begin_inset Flex MenuItem
1642 status collapsed
1643
1644 \begin_layout Plain Layout
1645 pdflatex
1646 \end_layout
1647
1648 \end_inset
1649
1650 を書き出す際に,内包されている画像をどの形式に変換するかを決定するのに使用されます.
1651 \begin_inset Flex MenuItem
1652 status collapsed
1653
1654 \begin_layout Plain Layout
1655 pdflatex
1656 \end_layout
1657
1658 \end_inset
1659
1660 は,
1661 \begin_inset Flex MenuItem
1662 status collapsed
1663
1664 \begin_layout Plain Layout
1665 pdf
1666 \end_layout
1667
1668 \end_inset
1669
1670
1671 \begin_inset Flex MenuItem
1672 status collapsed
1673
1674 \begin_layout Plain Layout
1675 png
1676 \end_layout
1677
1678 \end_inset
1679
1680
1681 \begin_inset Flex MenuItem
1682 status collapsed
1683
1684 \begin_layout Plain Layout
1685 Des
1686 \end_layout
1687
1688 \end_inset
1689
1690 以外の画像形式を取り扱うことができないので,内包されている画像は,これらの形式に変換される必要があるかもしれない為です.内包されている画像が既に
1691 \begin_inset Flex MenuItem
1692 status collapsed
1693
1694 \begin_layout Plain Layout
1695 pdf
1696 \end_layout
1697
1698 \end_inset
1699
1700
1701 \begin_inset Flex MenuItem
1702 status collapsed
1703
1704 \begin_layout Plain Layout
1705 png
1706 \end_layout
1707
1708 \end_inset
1709
1710
1711 \begin_inset Flex MenuItem
1712 status collapsed
1713
1714 \begin_layout Plain Layout
1715 jpg
1716 \end_layout
1717
1718 \end_inset
1719
1720 のいずれかになっていない場合には,ベクター画像形式オプションが有効になっている場合には
1721 \begin_inset Flex MenuItem
1722 status collapsed
1723
1724 \begin_layout Plain Layout
1725 pdf
1726 \end_layout
1727
1728 \end_inset
1729
1730 に変換され,そうでない場合には
1731 \begin_inset Flex MenuItem
1732 status collapsed
1733
1734 \begin_layout Plain Layout
1735 png
1736 \end_layout
1737
1738 \end_inset
1739
1740 に変換されます.
1741 \end_layout
1742
1743 \begin_layout Section
1744 複写子
1745 \end_layout
1746
1747 \begin_layout Standard
1748 形式の変換はすべて,\SpecialChar LyX
1749 の一時ディレクトリで行われるため,変換用にファイルを一時ディレクトリにコピーする前段階で,ファイルに変更を加える必要のあることがあります
1750 \begin_inset Foot
1751 status collapsed
1752
1753 \begin_layout Plain Layout
1754 たとえば,ファイルが他のファイル—たとえば画像—を,相対ファイル名を用いて参照している場合,このファイルが一時ディレクトリにコピーされると参照が無効になる場合が
1755 あります.
1756 \end_layout
1757
1758 \end_inset
1759
1760 .これは複写子によって取り扱われ,複写子は,ファイルを一時ディレクトリに(あるいは一時ディレクトリから)コピーすると同時に,その過程でファイルに変更を加えます.
1761 \end_layout
1762
1763 \begin_layout Standard
1764 複写子の定義においては,以下の8つの変数を用いることができます.
1765 \end_layout
1766
1767 \begin_layout Labeling
1768 \labelwidthstring 00.00.0000
1769 \begin_inset Flex Code
1770 status collapsed
1771
1772 \begin_layout Plain Layout
1773 $$s
1774 \end_layout
1775
1776 \end_inset
1777
1778  \SpecialChar LyX
1779 のシステムディレクトリ(例:
1780 \begin_inset Flex MenuItem
1781 status collapsed
1782
1783 \begin_layout Plain Layout
1784 /usr/share/lyx
1785 \end_layout
1786
1787 \end_inset
1788
1789
1790 \end_layout
1791
1792 \begin_layout Labeling
1793 \labelwidthstring 00.00.0000
1794 \begin_inset Flex Code
1795 status collapsed
1796
1797 \begin_layout Plain Layout
1798 $$i
1799 \end_layout
1800
1801 \end_inset
1802
1803  入力ファイル
1804 \end_layout
1805
1806 \begin_layout Labeling
1807 \labelwidthstring 00.00.0000
1808 \begin_inset Flex Code
1809 status collapsed
1810
1811 \begin_layout Plain Layout
1812 $$o
1813 \end_layout
1814
1815 \end_inset
1816
1817  出力ファイル
1818 \end_layout
1819
1820 \begin_layout Labeling
1821 \labelwidthstring 00.00.0000
1822 \begin_inset Flex Code
1823 status collapsed
1824
1825 \begin_layout Plain Layout
1826 $$b
1827 \end_layout
1828
1829 \end_inset
1830
1831  \SpecialChar LyX
1832 一時ディレクトリ内でのベース名(ファイル拡張子なし)
1833 \end_layout
1834
1835 \begin_layout Labeling
1836 \labelwidthstring 00.00.0000
1837 \begin_inset Flex Code
1838 status collapsed
1839
1840 \begin_layout Plain Layout
1841 $$p
1842 \end_layout
1843
1844 \end_inset
1845
1846  \SpecialChar LyX
1847 一時ディレクトリのフルパス名
1848 \end_layout
1849
1850 \begin_layout Labeling
1851 \labelwidthstring 00.00.0000
1852 \begin_inset Flex Code
1853 status collapsed
1854
1855 \begin_layout Plain Layout
1856 $$r
1857 \end_layout
1858
1859 \end_inset
1860
1861  処理されている元の\SpecialChar LyX
1862 ファイルのフルパス名
1863 \end_layout
1864
1865 \begin_layout Labeling
1866 \labelwidthstring 00.00.0000
1867 \begin_inset Flex Code
1868 status collapsed
1869
1870 \begin_layout Plain Layout
1871 $$f
1872 \end_layout
1873
1874 \end_inset
1875
1876  \SpecialChar LyX
1877 ファイルのファイル名(ディレクトリパスなし)
1878 \end_layout
1879
1880 \begin_layout Labeling
1881 \labelwidthstring 00.00.0000
1882 \begin_inset Flex Code
1883 status collapsed
1884
1885 \begin_layout Plain Layout
1886 $$l
1887 \end_layout
1888
1889 \end_inset
1890
1891  「\SpecialChar LaTeX
1892 名」
1893 \end_layout
1894
1895 \begin_layout Standard
1896 最後の変数は,\SpecialChar LaTeX
1897
1898 \series bold
1899
1900 \backslash
1901 include
1902 \series default
1903 コマンドで使用されるのと同形式のファイル名です.これは,書き出すファイルがそのようなインクルードに適している場合のみ,使用さるべきものです.
1904 \end_layout
1905
1906 \begin_layout Standard
1907 複写子は,出力ファイルに関する操作であれば,ほとんどすべてに対応することができます.たとえば,生成したPDFファイルを,
1908 \begin_inset Flex Code
1909 status collapsed
1910
1911 \begin_layout Plain Layout
1912 /home/you/pdf/
1913 \end_layout
1914
1915 \end_inset
1916
1917 という特別なディレクトリにコピーしたいものとしましょう.その場合には,以下のようなシェルスクリプトを書きます.
1918 \end_layout
1919
1920 \begin_layout Standard
1921 \begin_inset listings
1922 inline false
1923 status open
1924
1925 \begin_layout Plain Layout
1926
1927 #!/bin/bash
1928 \end_layout
1929
1930 \begin_layout Plain Layout
1931
1932 FROMFILE=$1
1933 \end_layout
1934
1935 \begin_layout Plain Layout
1936
1937 TOFILE=`basename $2`
1938 \end_layout
1939
1940 \begin_layout Plain Layout
1941
1942 DescriptionE /home/you/pdf/$TOFILE
1943 \end_layout
1944
1945 \end_inset
1946
1947 これを,例えば
1948 \begin_inset Flex Code
1949 status collapsed
1950
1951 \begin_layout Plain Layout
1952 /home/you/.lyx/scripts/pdfcopier.sh
1953 \end_layout
1954
1955 \end_inset
1956
1957 のような,自身のローカル\SpecialChar LyX
1958 ディレクトリに保存し,お使いのプラットフォームが必要とするならば,実行可能属性を付与します.それから,
1959 \begin_inset Flex MenuItem
1960 status collapsed
1961
1962 \begin_layout Plain Layout
1963 ツール\SpecialChar menuseparator
1964 設定
1965 \end_layout
1966
1967 \end_inset
1968
1969 ダイアログの
1970 \begin_inset Flex MenuItem
1971 status collapsed
1972
1973 \begin_layout Plain Layout
1974 ファイル処理\SpecialChar menuseparator
1975 ファイル形式
1976 \end_layout
1977
1978 \end_inset
1979
1980 の中で,
1981 \begin_inset Flex MenuItem
1982 status collapsed
1983
1984 \begin_layout Plain Layout
1985 PDF(pdflatex)
1986 \end_layout
1987
1988 \end_inset
1989
1990 形式—あるいは他のPDF形式のうちどれか—を選択し,
1991 \begin_inset Flex MenuItem
1992 status collapsed
1993
1994 \begin_layout Plain Layout
1995 複写子
1996 \end_layout
1997
1998 \end_inset
1999
2000 フィールドに
2001 \begin_inset Flex Code
2002 status collapsed
2003
2004 \begin_layout Plain Layout
2005 pdfcopier.sh $$i $$o
2006 \end_layout
2007
2008 \end_inset
2009
2010 と入力します.
2011 \end_layout
2012
2013 \begin_layout Standard
2014 複写子は,\SpecialChar LyX
2015 自身が様々な変換に使用します.たとえば,適切なプログラムが検出された場合,\SpecialChar LyX
2016 は自動的に
2017 \begin_inset Flex MenuItem
2018 status collapsed
2019
2020 \begin_layout Plain Layout
2021 HTML
2022 \end_layout
2023
2024 \end_inset
2025
2026 形式と
2027 \begin_inset Flex MenuItem
2028 status collapsed
2029
2030 \begin_layout Plain Layout
2031 HTML
2032 \begin_inset space ~
2033 \end_inset
2034
2035 (MS Word)
2036 \end_layout
2037
2038 \end_inset
2039
2040 形式の複写子を導入します.これらの形式を書き出す際,複写子は,本体のHTMLファイルだけでなく,関連した様々なファイル(スタイルファイルや画像など)もコピーされ
2041 るように手配します.これらのファイルはすべて,元の\SpecialChar LyX
2042 ファイルのあるディレクトリのサブディレクトリに書き込まれます.
2043 \begin_inset Foot
2044 status collapsed
2045
2046 \begin_layout Plain Layout
2047 この複写子の挙動は調整することができます.非必須の「-e」オプションは,コピーする拡張子をコンマ区切りで羅列したものを引数にとります.これを省略した場合には,す
2048 べてのファイルがコピーされます.「-t」引数は,生成したディレクトリに書き加える拡張子を指定するものです.既定値では,これは「
2049 \begin_inset Flex MenuItem
2050 status collapsed
2051
2052 \begin_layout Plain Layout
2053 LyXconv
2054 \end_layout
2055
2056 \end_inset
2057
2058 」となっているので,
2059 \begin_inset Flex MenuItem
2060 status collapsed
2061
2062 \begin_layout Plain Layout
2063 /path/to/filename.lyx
2064 \end_layout
2065
2066 \end_inset
2067
2068 から生成されたHTMLファイルは,
2069 \begin_inset Flex MenuItem
2070 status collapsed
2071
2072 \begin_layout Plain Layout
2073 /path/to/filename.html.LyXconv
2074 \end_layout
2075
2076 \end_inset
2077
2078 となります..
2079  
2080 \end_layout
2081
2082 \end_inset
2083
2084
2085 \end_layout
2086
2087 \begin_layout Section
2088 変換子
2089 \begin_inset CommandInset label
2090 LatexCommand label
2091 name "sec:変換子"
2092
2093 \end_inset
2094
2095
2096 \end_layout
2097
2098 \begin_layout Standard
2099 各形式間でファイルを変換するために,ご自身の変換子を定義することができます.これは,
2100 \begin_inset Flex MenuItem
2101 status collapsed
2102
2103 \begin_layout Plain Layout
2104 ツール\SpecialChar menuseparator
2105 設定\SpecialChar menuseparator
2106 ファイル処理\SpecialChar menuseparator
2107 変換子
2108 \end_layout
2109
2110 \end_inset
2111
2112 ダイアログで行います.
2113 \end_layout
2114
2115 \begin_layout Standard
2116 新規に変換子を定義するには,ドロップダウンリストから
2117 \begin_inset Flex MenuItem
2118 status collapsed
2119
2120 \begin_layout Plain Layout
2121 変換元の形式
2122 \end_layout
2123
2124 \end_inset
2125
2126
2127 \begin_inset Flex MenuItem
2128 status collapsed
2129
2130 \begin_layout Plain Layout
2131 変換先の形式
2132 \end_layout
2133
2134 \end_inset
2135
2136 を選択し,変換に必要なコマンドを入力してから
2137 \begin_inset Flex MenuItem
2138 status collapsed
2139
2140 \begin_layout Plain Layout
2141 追加
2142 \end_layout
2143
2144 \end_inset
2145
2146 ボタンを押してください.変換子の定義には,以下のような変数を使用することができます.
2147 \end_layout
2148
2149 \begin_layout Labeling
2150 \labelwidthstring 00.00.0000
2151 \begin_inset Flex Code
2152 status collapsed
2153
2154 \begin_layout Plain Layout
2155 $$s
2156 \end_layout
2157
2158 \end_inset
2159
2160  \SpecialChar LyX
2161 システムディレクトリ
2162 \end_layout
2163
2164 \begin_layout Labeling
2165 \labelwidthstring 00.00.0000
2166 \begin_inset Flex Code
2167 status collapsed
2168
2169 \begin_layout Plain Layout
2170 $$i
2171 \end_layout
2172
2173 \end_inset
2174
2175  入力ファイル
2176 \end_layout
2177
2178 \begin_layout Labeling
2179 \labelwidthstring 00.00.0000
2180 \begin_inset Flex Code
2181 status collapsed
2182
2183 \begin_layout Plain Layout
2184 $$o
2185 \end_layout
2186
2187 \end_inset
2188
2189  出力ファイル
2190 \end_layout
2191
2192 \begin_layout Labeling
2193 \labelwidthstring 00.00.0000
2194 \begin_inset Flex Code
2195 status collapsed
2196
2197 \begin_layout Plain Layout
2198 $$b
2199 \end_layout
2200
2201 \end_inset
2202
2203  入力ファイルのベースファイル名(拡張子をとった部分)
2204 \end_layout
2205
2206 \begin_layout Labeling
2207 \labelwidthstring 00.00.0000
2208 \begin_inset Flex Code
2209 status collapsed
2210
2211 \begin_layout Plain Layout
2212 $$p
2213 \end_layout
2214
2215 \end_inset
2216
2217  入力ファイルのパス
2218 \end_layout
2219
2220 \begin_layout Labeling
2221 \labelwidthstring 00.00.0000
2222 \begin_inset Flex Code
2223 status collapsed
2224
2225 \begin_layout Plain Layout
2226 $$r
2227 \end_layout
2228
2229 \end_inset
2230
2231  元の入力ファイルのパス(変換子が連鎖して呼び出されたときの挙動が$$pとは異なります)
2232 \end_layout
2233
2234 \begin_layout Labeling
2235 \labelwidthstring 00.00.0000
2236 \begin_inset Flex Code
2237 status collapsed
2238
2239 \begin_layout Plain Layout
2240 $$e
2241 \end_layout
2242
2243 \end_inset
2244
2245  文書エンコーディングのiconv名
2246 \end_layout
2247
2248 \begin_layout Standard
2249 \begin_inset Flex MenuItem
2250 status collapsed
2251
2252 \begin_layout Plain Layout
2253 追加フラグ
2254 \end_layout
2255
2256 \end_inset
2257
2258 フィールドには,以下のフラグをコンマで区切って入力することができます.
2259 \end_layout
2260
2261 \begin_layout Labeling
2262 \labelwidthstring 00.00.0000
2263 \begin_inset Flex Code
2264 status collapsed
2265
2266 \begin_layout Plain Layout
2267 latex
2268 \end_layout
2269
2270 \end_inset
2271
2272  この変換子が\SpecialChar LaTeX
2273 の一種を実行することを示します.これによって,\SpecialChar LyX
2274 の\SpecialChar LaTeX
2275 エラーログに記録を残せるようになります.
2276 \end_layout
2277
2278 \begin_layout Labeling
2279 \labelwidthstring 00.00.0000
2280 \begin_inset Flex Code
2281 status collapsed
2282
2283 \begin_layout Plain Layout
2284 needaux
2285 \end_layout
2286
2287 \end_inset
2288
2289  変換に\SpecialChar LaTeX
2290
2291 \begin_inset Flex MenuItem
2292 status collapsed
2293
2294 \begin_layout Plain Layout
2295 .aux
2296 \end_layout
2297
2298 \end_inset
2299
2300 ファイルが必要であることを示します.
2301 \end_layout
2302
2303 \begin_layout Labeling
2304 \labelwidthstring 00.00.0000
2305 \begin_inset Flex Code
2306 status collapsed
2307
2308 \begin_layout Plain Layout
2309 nice
2310 \end_layout
2311
2312 \end_inset
2313
2314  バックエンドからの
2315 \begin_inset Quotes erd
2316 \end_inset
2317
2318 nice
2319 \begin_inset Quotes erd
2320 \end_inset
2321
2322 なファイル,つまり\SpecialChar LyX
2323 が書き出す\SpecialChar LaTeX
2324 ファイルのように,
2325 \begin_inset Flex Code
2326 status open
2327
2328 \begin_layout Plain Layout
2329 input@path
2330 \end_layout
2331
2332 \end_inset
2333
2334 のない\SpecialChar LaTeX
2335 ファイルを必要とします.
2336 \end_layout
2337
2338 \begin_layout Labeling
2339 \labelwidthstring 00.00.0000
2340 \begin_inset Flex Code
2341 status collapsed
2342
2343 \begin_layout Plain Layout
2344 xml
2345 \end_layout
2346
2347 \end_inset
2348
2349  出力がXMLであることを示します.
2350 \end_layout
2351
2352 \begin_layout Standard
2353 以下の3つのフラグは 
2354 \begin_inset Flex MenuItem
2355 status collapsed
2356
2357 \begin_layout Plain Layout
2358 key
2359 \begin_inset space ~
2360 \end_inset
2361
2362 =
2363 \begin_inset space ~
2364 \end_inset
2365
2366 value
2367 \end_layout
2368
2369 \end_inset
2370
2371 形式の引数をとります(したがって厳密にはフラグとは呼べません).
2372 \end_layout
2373
2374 \begin_layout Labeling
2375 \labelwidthstring 00.00.0000
2376 \begin_inset Flex Code
2377 status collapsed
2378
2379 \begin_layout Plain Layout
2380 parselog
2381 \end_layout
2382
2383 \end_inset
2384
2385  これを指定すると,変換子の標準エラーが
2386 \begin_inset Flex Code
2387 status collapsed
2388
2389 \begin_layout Plain Layout
2390 infile.out
2391 \end_layout
2392
2393 \end_inset
2394
2395 ファイルにリダイレクトされ,引数に指定されたスクリプトが
2396 \begin_inset Flex Code
2397 status collapsed
2398
2399 \begin_layout Plain Layout
2400 script < infile.out > infile.log
2401 \end_layout
2402
2403 \end_inset
2404
2405 の形で実行されるようになります.引数には
2406 \begin_inset Flex Code
2407 status collapsed
2408
2409 \begin_layout Plain Layout
2410 $$s
2411 \end_layout
2412
2413 \end_inset
2414
2415 を指定することができます.
2416 \end_layout
2417
2418 \begin_layout Labeling
2419 \labelwidthstring 00.00.0000
2420 \begin_inset Flex Code
2421 status collapsed
2422
2423 \begin_layout Plain Layout
2424 resultdir
2425 \end_layout
2426
2427 \end_inset
2428
2429  これには,変換子が生成したファイルをダンプするディレクトリ名を指定します.\SpecialChar LyX
2430 はこのディレクトリを作成せず,ここに何もコピーしませんが,このディレクトリを宛先にコ
2431 ピーします.引数には,
2432 \begin_inset Flex Code
2433 status collapsed
2434
2435 \begin_layout Plain Layout
2436 $$b
2437 \end_layout
2438
2439 \end_inset
2440
2441 を使用することができ,これはディレクトリがコピーされる際に,入力ファイルおよび出力ファイルのベース名で置換されます.
2442 \begin_inset Newline newline
2443 \end_inset
2444
2445 resultdirとusetempdirは,同時に用いることはできませんのでご注意ください.前者が指定されているときには,後者は無視されます.
2446 \end_layout
2447
2448 \begin_layout Labeling
2449 \labelwidthstring 00.00.0000
2450 \begin_inset Flex Code
2451 status collapsed
2452
2453 \begin_layout Plain Layout
2454 resultfile
2455 \end_layout
2456
2457 \end_inset
2458
2459  これは出力ファイル名を指定するもので,
2460 \begin_inset Flex Code
2461 status collapsed
2462
2463 \begin_layout Plain Layout
2464 $$b
2465 \end_layout
2466
2467 \end_inset
2468
2469 を使用することができます.resultdirが指定されているときのみ有効で,必ず用いる必要はありません.指定されていなければ,既定値は「index」です.
2470 \end_layout
2471
2472 \begin_layout Standard
2473 最後の3つは,\SpecialChar LyX
2474 とともに導入される変換子には,現在いずれも使用されておりません.
2475 \end_layout
2476
2477 \begin_layout Standard
2478 変換しようとするすべての形式のあいだに変換子を定義する必要はありません.たとえば,「\SpecialChar LyX
2479 からPostScript」変換子が定義されていないのに,\SpecialChar LyX
2480 はPostScrip
2481 tを書き出していることに気づかれることでしょう.これは,まず\SpecialChar LaTeX
2482 ファイルを生成した後に(これには変換子を定義する必要はありません),「LaTeXからDVI」変換子を
2483 使用してDVIに変換し,最後に,得られたDVIをPostScriptに変換することによって実現しています.\SpecialChar LyX
2484 はこのような変換子の「連鎖」を自動的に見つけ,つねに最
2485 も短い連鎖を選択します.しかしながら,なお形式間に複数の変換方法を定義することも可能です.たとえば,標準的な\SpecialChar LyX
2486 設定は,\SpecialChar LaTeX
2487 からPDFへ変換するのに,以下の3つの方法を
2488 用意しています.
2489 \end_layout
2490
2491 \begin_layout Enumerate
2492 直接
2493 \begin_inset Flex MenuItem
2494 status collapsed
2495
2496 \begin_layout Plain Layout
2497 pdflatex
2498 \end_layout
2499
2500 \end_inset
2501
2502 を使用するもの
2503 \end_layout
2504
2505 \begin_layout Enumerate
2506 (DVIと)PostScriptを経由して
2507 \begin_inset Flex MenuItem
2508 status collapsed
2509
2510 \begin_layout Plain Layout
2511 ps2pdf
2512 \end_layout
2513
2514 \end_inset
2515
2516 を使用するもの
2517 \end_layout
2518
2519 \begin_layout Enumerate
2520 DVI経由で
2521 \begin_inset Flex MenuItem
2522 status collapsed
2523
2524 \begin_layout Plain Layout
2525 dvipdfm
2526 \end_layout
2527
2528 \end_inset
2529
2530 を使用するもの
2531 \end_layout
2532
2533 \begin_layout Enumerate
2534 直接
2535 \begin_inset Flex MenuItem
2536 status collapsed
2537
2538 \begin_layout Plain Layout
2539 Xe\SpecialChar TeX
2540
2541 \end_layout
2542
2543 \end_inset
2544
2545 を使用するもの
2546 \end_layout
2547
2548 \begin_layout Enumerate
2549 直接
2550 \begin_inset Flex MenuItem
2551 status collapsed
2552
2553 \begin_layout Plain Layout
2554 Lua\SpecialChar TeX
2555
2556 \end_layout
2557
2558 \end_inset
2559
2560 を使用するもの
2561 \end_layout
2562
2563 \begin_layout Standard
2564 このように代替連鎖を定義するには,第
2565 \begin_inset CommandInset ref
2566 LatexCommand ref
2567 reference "sec:ファイル形式"
2568
2569 \end_inset
2570
2571 節に述べられているように,ターゲットとなる「ファイル形式」を複数定義しなくてはなりません.たとえば,標準設定では,
2572 \begin_inset Flex MenuItem
2573 status collapsed
2574
2575 \begin_layout Plain Layout
2576 pdf
2577 \end_layout
2578
2579 \end_inset
2580
2581 (
2582 \begin_inset Flex MenuItem
2583 status collapsed
2584
2585 \begin_layout Plain Layout
2586 ps2pdf
2587 \end_layout
2588
2589 \end_inset
2590
2591 用)・
2592 \begin_inset Flex MenuItem
2593 status collapsed
2594
2595 \begin_layout Plain Layout
2596 pdf2
2597 \end_layout
2598
2599 \end_inset
2600
2601 (
2602 \begin_inset Flex MenuItem
2603 status collapsed
2604
2605 \begin_layout Plain Layout
2606 pdflatex
2607 \end_layout
2608
2609 \end_inset
2610
2611 用)・
2612 \begin_inset Flex MenuItem
2613 status collapsed
2614
2615 \begin_layout Plain Layout
2616 pdf3
2617 \end_layout
2618
2619 \end_inset
2620
2621 (
2622 \begin_inset Flex MenuItem
2623 status collapsed
2624
2625 \begin_layout Plain Layout
2626 dvipdfm
2627 \end_layout
2628
2629 \end_inset
2630
2631 用)・
2632 \begin_inset Flex MenuItem
2633 status collapsed
2634
2635 \begin_layout Plain Layout
2636 pdf4
2637 \end_layout
2638
2639 \end_inset
2640
2641 (
2642 \begin_inset Flex MenuItem
2643 status collapsed
2644
2645 \begin_layout Plain Layout
2646 Xe\SpecialChar TeX
2647
2648 \end_layout
2649
2650 \end_inset
2651
2652 用)・
2653 \begin_inset Flex MenuItem
2654 status collapsed
2655
2656 \begin_layout Plain Layout
2657 pdf5
2658 \end_layout
2659
2660 \end_inset
2661
2662 (
2663 \begin_inset Flex MenuItem
2664 status collapsed
2665
2666 \begin_layout Plain Layout
2667 Lua\SpecialChar TeX
2668
2669 \end_layout
2670
2671 \end_inset
2672
2673 用\SpecialChar softhyphen
2674 ) と命名された形式が定義されていて,すべて共通の拡張子
2675 \begin_inset Flex MenuItem
2676 status collapsed
2677
2678 \begin_layout Plain Layout
2679 .pdf
2680 \end_layout
2681
2682 \end_inset
2683
2684 を持ち,上記で言及した各変換方法に対応しています.
2685 \end_layout
2686
2687 \begin_layout Chapter
2688 \SpecialChar LyX
2689 の各国語対応
2690 \begin_inset CommandInset label
2691 LatexCommand label
2692 name "cha:LyXの各国語対応"
2693
2694 \end_inset
2695
2696
2697 \end_layout
2698
2699 \begin_layout Standard
2700 \SpecialChar LyX
2701 は,翻訳された操作画面の利用をサポートしています.私たちが最後に確かめたところでは,\SpecialChar LyX
2702 は30言語の翻訳を提供しています.選択した言語は,使用する
2703 \emph on
2704 ロケール
2705 \emph default
2706 と呼ばれます(ロケール設定についての詳しい資料は,お使いの基本ソフトに添付のロケール関連説明書をご覧ください.Linuxの場合は,マニュアルページの
2707 \begin_inset Flex Code
2708 status collapsed
2709
2710 \begin_layout Plain Layout
2711 locale(5)
2712 \end_layout
2713
2714 \end_inset
2715
2716 から見ると良いかもしれません).
2717 \end_layout
2718
2719 \begin_layout Standard
2720 これらの翻訳は適切に機能しますが,欠点もいくつかあることに注意してください.たとえば,ダイアログはすべて英文を念頭にデザインされているため,翻訳文の一部は,割り
2721 当てられたスペースに収めるには大きすぎるかもしれません.これは表示上の問題に過ぎず,他の障害は引き起こしません.また,翻訳によっては,すべての
2722 \begin_inset Flex Ruby
2723 status collapsed
2724
2725 \begin_layout Plain Layout
2726 捷径
2727 \begin_inset Argument post:1
2728 status collapsed
2729
2730 \begin_layout Plain Layout
2731 ショートカット
2732 \end_layout
2733
2734 \end_inset
2735
2736
2737 \end_layout
2738
2739 \end_inset
2740
2741 が定義されていないことに気づかれるでしょう.捷径のために空いている文字が十分ないことが時々あるのです.単に翻訳者がまだ捷径を定義していないこともあるでしょう.も
2742 ちろん,私たちの各国語対応チーム—あなたも参加したいと思われるかもしれません
2743 \begin_inset Foot
2744 status collapsed
2745
2746 \begin_layout Plain Layout
2747 もしあなたが英語以外の言語を流暢に操れるならば,これらのチームに参加することは,\SpecialChar LyX
2748 コミュニティに報いるたいへん素晴らしい方法です!
2749 \end_layout
2750
2751 \end_inset
2752
2753 —は,\SpecialChar LyX
2754 の将来のバージョンでこれらの欠点を修正しようとするでしょう.
2755 \end_layout
2756
2757 \begin_layout Section
2758 \SpecialChar LyX
2759 を翻訳する
2760 \end_layout
2761
2762 \begin_layout Subsection
2763 グラフィカル・ユーザ・インタフェース(テキスト・メッセージ)を翻訳する
2764 \begin_inset Argument 1
2765 status collapsed
2766
2767 \begin_layout Plain Layout
2768 GUI(テキストメッセージ)を翻訳する
2769 \end_layout
2770
2771 \end_inset
2772
2773
2774 \end_layout
2775
2776 \begin_layout Standard
2777 \SpecialChar LyX
2778 は,操作画面の国際化対応にGNU 
2779 \begin_inset Flex Code
2780 status collapsed
2781
2782 \begin_layout Plain Layout
2783 gettext
2784 \end_layout
2785
2786 \end_inset
2787
2788 ライブラリを使用します.\SpecialChar LyX
2789 のすべてのメニューやダイアログでお好みの言語を話させたいときには,その言語の
2790 \begin_inset Flex Code
2791 status collapsed
2792
2793 \begin_layout Plain Layout
2794 po
2795 \end_layout
2796
2797 \end_inset
2798
2799 ファイルが必要です.このファイルが利用可能であれば,そこから
2800 \begin_inset Flex Code
2801 status collapsed
2802
2803 \begin_layout Plain Layout
2804 mo
2805 \end_layout
2806
2807 \end_inset
2808
2809 ファイルを生成して,この
2810 \begin_inset Flex Code
2811 status collapsed
2812
2813 \begin_layout Plain Layout
2814 mo
2815 \end_layout
2816
2817 \end_inset
2818
2819 ファイルをインストールしなくてはなりません.この全過程は,GNU 
2820 \begin_inset Flex Code
2821 status collapsed
2822
2823 \begin_layout Plain Layout
2824 gettext
2825 \end_layout
2826
2827 \end_inset
2828
2829 の取扱説明書に説明があります.この作業をあなたのためだけに行うこともできますが,もしせっかくするのであれば,あなたの骨折りの結果を\SpecialChar LyX
2830 コミュニティの他の人々と分かち
2831 合いませんか.どのように段取りを進めればよいか,詳しくは\SpecialChar LyX
2832 開発者メーリングリストにメールを送ってください.
2833 \end_layout
2834
2835 \begin_layout Standard
2836 要約すれば,以下のように行います(xxは言語コードを表します).
2837 \end_layout
2838
2839 \begin_layout Itemize
2840 \SpecialChar LyX
2841 ソースコードをチェックアウトしてください(
2842 \begin_inset CommandInset href
2843 LatexCommand href
2844 name "ウェブ上の情報"
2845 target "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 \begin_inset Flex Code
10621 status collapsed
10622
10623 \begin_layout Plain Layout
10624 BabelPreamble
10625 \end_layout
10626
10627 \end_inset
10628
10629  これは,前に現れたこの様式の
10630 \begin_inset Flex Code
10631 status collapsed
10632
10633 \begin_layout Plain Layout
10634 BabelPreamble
10635 \end_layout
10636
10637 \end_inset
10638
10639 宣言をすべて,完全に上書きしますので注意してください.「
10640 \begin_inset Flex Code
10641 status collapsed
10642
10643 \begin_layout Plain Layout
10644 EndBabelPreamble
10645 \end_layout
10646
10647 \end_inset
10648
10649 」で閉じる必要があります.これの利用法についての詳細は,第
10650 \begin_inset CommandInset ref
10651 LatexCommand ref
10652 reference "subsec:段落様式の国際化"
10653
10654 \end_inset
10655
10656 節をご覧ください.
10657 \end_layout
10658
10659 \begin_layout Description
10660 \begin_inset Flex Code
10661 status collapsed
10662
10663 \begin_layout Plain Layout
10664 BottomSep
10665 \end_layout
10666
10667 \end_inset
10668
10669  [
10670 \begin_inset Flex Code
10671 status collapsed
10672
10673 \begin_layout Plain Layout
10674 浮動小数点型=0
10675 \end_layout
10676
10677 \end_inset
10678
10679 ]
10680 \begin_inset Foot
10681 status collapsed
10682
10683 \begin_layout Plain Layout
10684 ここで「浮動小数点型」とは1.5のような実数を指します.
10685 \end_layout
10686
10687 \end_inset
10688
10689  このレイアウト型の段落塊の最後の段落と,次の段落とを分離する垂直空白.次の段落が別のレイアウト型である場合,分離幅は足し上げられるのではなく,最大値がとられま
10690 す.
10691 \end_layout
10692
10693 \begin_layout Description
10694 \begin_inset Flex Code
10695 status collapsed
10696
10697 \begin_layout Plain Layout
10698 Category
10699 \end_layout
10700
10701 \end_inset
10702
10703  [
10704 \begin_inset Flex Code
10705 status collapsed
10706
10707 \begin_layout Plain Layout
10708 文字列
10709 \end_layout
10710
10711 \end_inset
10712
10713 ] この様式のカテゴリです.これは,ツールバーのレイアウト・コンボボックスで関連した様式をグループ化するのに用いられます.任意の文字列を使用することができますが
10714 ,作成した様式に既存のカテゴリを使用したいと思うことが多いでしょう.
10715 \end_layout
10716
10717 \begin_layout Description
10718 \begin_inset Flex Code
10719 status collapsed
10720
10721 \begin_layout Plain Layout
10722 CommandDepth
10723 \end_layout
10724
10725 \end_inset
10726
10727  XMLコマンドの深度.XML型の書式でのみ使用されます.
10728 \end_layout
10729
10730 \begin_layout Description
10731 \begin_inset Flex Code
10732 status collapsed
10733
10734 \begin_layout Plain Layout
10735 CopyStyle
10736 \end_layout
10737
10738 \end_inset
10739
10740  [
10741 \begin_inset Flex Code
10742 status collapsed
10743
10744 \begin_layout Plain Layout
10745 文字列
10746 \end_layout
10747
10748 \end_inset
10749
10750 ] 既存の様式から,すべての機能を現在の様式にコピーします.
10751 \end_layout
10752
10753 \begin_layout Description
10754 \begin_inset Flex Code
10755 status collapsed
10756
10757 \begin_layout Plain Layout
10758 DependsOn
10759 \end_layout
10760
10761 \end_inset
10762
10763  [
10764 \begin_inset Flex Code
10765 status collapsed
10766
10767 \begin_layout Plain Layout
10768 <名称>
10769 \end_layout
10770
10771 \end_inset
10772
10773 ]
10774 \lang english
10775  
10776 \lang japanese
10777 この
10778 \emph on
10779 前に
10780 \emph default
10781 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,プリアンブルの断片の順序を確実にするためのものです
10782 \begin_inset Foot
10783 status collapsed
10784
10785 \begin_layout Plain Layout
10786 この機能以外には,プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
10787 の特定のバージョンで観察された順序は,将来のバージョンで警告なしに変わる可能性が
10788 あります.
10789 \end_layout
10790
10791 \end_inset
10792
10793
10794 \end_layout
10795
10796 \begin_layout Description
10797 \begin_inset Flex Code
10798 status collapsed
10799
10800 \begin_layout Plain Layout
10801 EndLabeltype
10802 \end_layout
10803
10804 \end_inset
10805
10806  [
10807 \begin_inset Flex Code
10808 status collapsed
10809
10810 \begin_layout Plain Layout
10811
10812 \emph on
10813 No_Label
10814 \emph default
10815 , Box, Filled_Box, Static
10816 \end_layout
10817
10818 \end_inset
10819
10820 ] 段落の最後(あるいは
10821 \begin_inset Flex Code
10822 status collapsed
10823
10824 \begin_layout Plain Layout
10825 LatexType
10826 \end_layout
10827
10828 \end_inset
10829
10830 が,
10831 \begin_inset Flex Code
10832 status collapsed
10833
10834 \begin_layout Plain Layout
10835 Environment
10836 \end_layout
10837
10838 \end_inset
10839
10840
10841 \begin_inset Flex Code
10842 status collapsed
10843
10844 \begin_layout Plain Layout
10845 Item_Environment
10846 \end_layout
10847
10848 \end_inset
10849
10850
10851 \begin_inset Flex Code
10852 status collapsed
10853
10854 \begin_layout Plain Layout
10855 List_Environment
10856 \end_layout
10857
10858 \end_inset
10859
10860 のいずれかの場合は,段落群の最後)に置くラベル.
10861 \begin_inset Flex Code
10862 status collapsed
10863
10864 \begin_layout Plain Layout
10865 No_Label
10866 \end_layout
10867
10868 \end_inset
10869
10870 の場合は「何もない」ことを指し,
10871 \begin_inset Flex Code
10872 status collapsed
10873
10874 \begin_layout Plain Layout
10875 Box
10876 \end_layout
10877
10878 \end_inset
10879
10880 (あるいは
10881 \begin_inset Flex Code
10882 status collapsed
10883
10884 \begin_layout Plain Layout
10885 Filled_Box
10886 \end_layout
10887
10888 \end_inset
10889
10890 )の場合は,証明終了マーカ用の白い箱型(あるいは黒い箱型)を指し,
10891 \begin_inset Flex Code
10892 status collapsed
10893
10894 \begin_layout Plain Layout
10895 Static
10896 \end_layout
10897
10898 \end_inset
10899
10900 は明示したテキスト文字列を指します.
10901 \end_layout
10902
10903 \begin_layout Description
10904 \begin_inset Flex Code
10905 status collapsed
10906
10907 \begin_layout Plain Layout
10908 EndLabelString
10909 \end_layout
10910
10911 \end_inset
10912
10913  [
10914 \begin_inset Flex Code
10915 status collapsed
10916
10917 \begin_layout Plain Layout
10918 文字列=""
10919 \end_layout
10920
10921 \end_inset
10922
10923
10924 \begin_inset Flex Code
10925 status collapsed
10926
10927 \begin_layout Plain Layout
10928 Static
10929 \end_layout
10930
10931 \end_inset
10932
10933
10934 \begin_inset Flex Code
10935 status collapsed
10936
10937 \begin_layout Plain Layout
10938 EndLabelType
10939 \end_layout
10940
10941 \end_inset
10942
10943 のラベルで用いる文字列.
10944 \end_layout
10945
10946 \begin_layout Description
10947 \begin_inset Flex Code
10948 status collapsed
10949
10950 \begin_layout Plain Layout
10951 Font
10952 \end_layout
10953
10954 \end_inset
10955
10956  本文テキストとラベルの
10957 \emph on
10958 両方で
10959 \emph default
10960 用いられるフォント.第
10961 \begin_inset CommandInset ref
10962 LatexCommand ref
10963 reference "subsec:フォント指定"
10964
10965 \end_inset
10966
10967 節を参照.このフォントを定義すると,自動的に
10968 \begin_inset Flex Code
10969 status collapsed
10970
10971 \begin_layout Plain Layout
10972 LabelFont
10973 \end_layout
10974
10975 \end_inset
10976
10977 も同じ値で定義されることに注意してください.したがって,
10978 \begin_inset Flex Code
10979 status collapsed
10980
10981 \begin_layout Plain Layout
10982 LabelFont
10983 \end_layout
10984
10985 \end_inset
10986
10987 も同時に定義したい場合には,これを先に定義してください.
10988 \end_layout
10989
10990 \begin_layout Description
10991 \begin_inset Flex Code
10992 status collapsed
10993
10994 \begin_layout Plain Layout
10995 ForceLocal
10996 \end_layout
10997
10998 \end_inset
10999
11000  [
11001 \begin_inset Flex Code
11002 status collapsed
11003
11004 \begin_layout Plain Layout
11005 int=0
11006 \end_layout
11007
11008 \end_inset
11009
11010 ] 新しい様式を\SpecialChar LyX
11011 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
11012  2.1.0です.引数は数字で,0・-1・1以上の任意の数をとることが
11013 できます.様式の
11014 \begin_inset Flex Code
11015 status collapsed
11016
11017 \begin_layout Plain Layout
11018 ForceLocal
11019 \end_layout
11020
11021 \end_inset
11022
11023 フラグが1以上ならば,これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,文書ヘッダからの様式定義が文書クラスに追加されます.したがって,古い
11024 版の\SpecialChar LyX
11025 もこの様式を取り扱えるようになります.
11026 \begin_inset Flex Code
11027 status collapsed
11028
11029 \begin_layout Plain Layout
11030 ForceLocal
11031 \end_layout
11032
11033 \end_inset
11034
11035 の引数は版数です.様式が読み込まれたときに,文書クラス中の既存の様式の版数よりも小さいと,新しい様式は無視されます.版数が大きいと,既存の様式に代わって新しい様
11036 式が用いられます.値-1は無限大の版数を意味し,この様式が常に用いられることになります.
11037 \end_layout
11038
11039 \begin_layout Description
11040 \begin_inset Flex Code
11041 status collapsed
11042
11043 \begin_layout Plain Layout
11044 FreeSpacing
11045 \end_layout
11046
11047 \end_inset
11048
11049  [
11050 \emph on
11051
11052 \begin_inset Flex Code
11053 status collapsed
11054
11055 \begin_layout Plain Layout
11056 0
11057 \end_layout
11058
11059 \end_inset
11060
11061
11062 \emph default
11063 ,
11064 \begin_inset space \thinspace{}
11065 \end_inset
11066
11067
11068 \begin_inset Flex Code
11069 status collapsed
11070
11071 \begin_layout Plain Layout
11072 1
11073 \end_layout
11074
11075 \end_inset
11076
11077 ] \SpecialChar LyX
11078 は,空白をそれ自体文字や記号ではなく,2つの単語の間の分割子として捉えているため,単語間に2つ以上の空白を入れることは,通常許可していません.これ自体はとて
11079 も素晴らしいことですが,たとえばプログラムコードや生の\SpecialChar LaTeX
11080 コードを入力しようとするときなどに,煩わしくなることがあります.このことから,
11081 \begin_inset Flex Code
11082 status collapsed
11083
11084 \begin_layout Plain Layout
11085 FreeSpacing
11086 \end_layout
11087
11088 \end_inset
11089
11090 を有効にすることが認められています.\SpecialChar LyX
11091 は,\SpecialChar LaTeX
11092 モード以外では2つめ以降の空白には,保護された空白を使用することに注意してください.
11093 \end_layout
11094
11095 \begin_layout Description
11096 \begin_inset Flex Code
11097 status collapsed
11098
11099 \begin_layout Plain Layout
11100 HTML*
11101 \end_layout
11102
11103 \end_inset
11104
11105  これらのタグは,XHTML出力で使用されます.第
11106 \begin_inset CommandInset ref
11107 LatexCommand ref
11108 reference "subsec:段落様式-XHTML"
11109
11110 \end_inset
11111
11112 節をご覧ください.
11113 \end_layout
11114
11115 \begin_layout Description
11116 \begin_inset Flex Code
11117 status collapsed
11118
11119 \begin_layout Plain Layout
11120 InnerTag
11121 \end_layout
11122
11123 \end_inset
11124
11125  [[FIXME]] (XML型書式でのみ使用されます.)
11126 \end_layout
11127
11128 \begin_layout Description
11129 \begin_inset Flex Code
11130 status collapsed
11131
11132 \begin_layout Plain Layout
11133 InPreamble
11134 \end_layout
11135
11136 \end_inset
11137
11138  [
11139 \emph on
11140
11141 \begin_inset Flex Code
11142 status collapsed
11143
11144 \begin_layout Plain Layout
11145 0
11146 \end_layout
11147
11148 \end_inset
11149
11150
11151 \emph default
11152 ,
11153 \begin_inset space \thinspace{}
11154 \end_inset
11155
11156
11157 \begin_inset Flex Code
11158 status collapsed
11159
11160 \begin_layout Plain Layout
11161 1
11162 \end_layout
11163
11164 \end_inset
11165
11166
11167 \begin_inset Flex Code
11168 status collapsed
11169
11170 \begin_layout Plain Layout
11171 1
11172 \end_layout
11173
11174 \end_inset
11175
11176 の場合,様式が文書本体ではなく,文書プリアンブルにインクルードされるようにします.これは,タイトルや著者の情報をプリアンブルで設定する必要のある文書クラスに便利
11177 です.これは,
11178 \begin_inset Flex Code
11179 status collapsed
11180
11181 \begin_layout Plain Layout
11182 LatexType
11183 \end_layout
11184
11185 \end_inset
11186
11187
11188 \begin_inset Flex Code
11189 status collapsed
11190
11191 \begin_layout Plain Layout
11192 Command
11193 \end_layout
11194
11195 \end_inset
11196
11197 または
11198 \begin_inset Flex Code
11199 status collapsed
11200
11201 \begin_layout Plain Layout
11202 Paragraph
11203 \end_layout
11204
11205 \end_inset
11206
11207 の様式に対してのみ動作します.
11208 \end_layout
11209
11210 \begin_layout Description
11211 \begin_inset Flex Code
11212 status collapsed
11213
11214 \begin_layout Plain Layout
11215 InTitle
11216 \end_layout
11217
11218 \end_inset
11219
11220  [
11221 \emph on
11222
11223 \begin_inset Flex Code
11224 status collapsed
11225
11226 \begin_layout Plain Layout
11227 0
11228 \end_layout
11229
11230 \end_inset
11231
11232
11233 \emph default
11234 ,
11235 \begin_inset space \thinspace{}
11236 \end_inset
11237
11238
11239 \begin_inset Flex Code
11240 status collapsed
11241
11242 \begin_layout Plain Layout
11243 1
11244 \end_layout
11245
11246 \end_inset
11247
11248
11249 \begin_inset Flex Code
11250 status collapsed
11251
11252 \begin_layout Plain Layout
11253 1
11254 \end_layout
11255
11256 \end_inset
11257
11258 の場合,このレイアウトをタイトルブロックの一部としてマークします(大域項目の
11259 \begin_inset Flex Code
11260 status collapsed
11261
11262 \begin_layout Plain Layout
11263 TitleLatexType
11264 \end_layout
11265
11266 \end_inset
11267
11268
11269 \begin_inset Flex Code
11270 status collapsed
11271
11272 \begin_layout Plain Layout
11273 TitleLatexName
11274 \end_layout
11275
11276 \end_inset
11277
11278 も参照).
11279 \end_layout
11280
11281 \begin_layout Description
11282 \begin_inset Flex Code
11283 status collapsed
11284
11285 \begin_layout Plain Layout
11286 IsTocCaption
11287 \end_layout
11288
11289 \end_inset
11290
11291  [
11292 \begin_inset Flex Code
11293 status collapsed
11294
11295 \begin_layout Plain Layout
11296
11297 \emph on
11298 0
11299 \end_layout
11300
11301 \end_inset
11302
11303 ,
11304 \begin_inset space \thinspace{}
11305 \end_inset
11306
11307
11308 \begin_inset Flex Code
11309 status collapsed
11310
11311 \begin_layout Plain Layout
11312 1
11313 \end_layout
11314
11315 \end_inset
11316
11317 ] これを1に設定すると,AddToTocが有効になり,段落は,その内容の要約を一覧表の項目に表示します.0に設定すると,ラベルが存在すれば,それのみが表示され
11318 ます.
11319 \end_layout
11320
11321 \begin_layout Description
11322 \begin_inset Flex Code
11323 status collapsed
11324
11325 \begin_layout Plain Layout
11326 ItemCommand
11327 \end_layout
11328
11329 \end_inset
11330
11331  [
11332 \begin_inset Flex Code
11333 status collapsed
11334
11335 \begin_layout Plain Layout
11336 文字列="item"
11337 \end_layout
11338
11339 \end_inset
11340
11341 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
11342 コマンド.コマンドは,前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,\SpecialChar LaTeX
11343 出力中では
11344 \begin_inset Flex Code
11345 status collapsed
11346
11347 \begin_layout Plain Layout
11348
11349 \backslash
11350 item
11351 \end_layout
11352
11353 \end_inset
11354
11355 となります).
11356 \end_layout
11357
11358 \begin_layout Description
11359 \begin_inset Flex Code
11360 status collapsed
11361
11362 \begin_layout Plain Layout
11363 ItemSep
11364 \end_layout
11365
11366 \end_inset
11367
11368  [
11369 \begin_inset Flex Code
11370 status collapsed
11371
11372 \begin_layout Plain Layout
11373 浮動小数点型=0
11374 \end_layout
11375
11376 \end_inset
11377
11378 ] これは,同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,それぞれのレイアウトは,その環境の
11379 \begin_inset Flex Code
11380 status collapsed
11381
11382 \begin_layout Plain Layout
11383 ParSep
11384 \end_layout
11385
11386 \end_inset
11387
11388 だけ分離されます.しかし,その環境の項目全体は,さらにこの
11389 \begin_inset Flex Code
11390 status collapsed
11391
11392 \begin_layout Plain Layout
11393 ItemSep
11394 \end_layout
11395
11396 \end_inset
11397
11398 分だけ離されます.これは
11399 \emph on
11400 乗数
11401 \emph default
11402 であることに注意してください.
11403 \end_layout
11404
11405 \begin_layout Description
11406 \begin_inset Flex Code
11407 status collapsed
11408
11409 \begin_layout Plain Layout
11410 ItemTag
11411 \end_layout
11412
11413 \end_inset
11414
11415  [[FIXME]] (XML型書式でのみ使用されます.)
11416 \end_layout
11417
11418 \begin_layout Description
11419 \begin_inset Flex Code
11420 status collapsed
11421
11422 \begin_layout Plain Layout
11423 KeepEmpty
11424 \end_layout
11425
11426 \end_inset
11427
11428  [
11429 \emph on
11430
11431 \begin_inset Flex Code
11432 status collapsed
11433
11434 \begin_layout Plain Layout
11435 0
11436 \end_layout
11437
11438 \end_inset
11439
11440
11441 \emph default
11442 ,
11443 \begin_inset space \thinspace{}
11444 \end_inset
11445
11446
11447 \begin_inset Flex Code
11448 status collapsed
11449
11450 \begin_layout Plain Layout
11451 1
11452 \end_layout
11453
11454 \end_inset
11455
11456 ] 段落を空のままにすると,\SpecialChar LaTeX
11457 出力が空になってしまうので,通常,\SpecialChar LyX
11458 は段落を空にすることを許可しません.しかしながら,これを無効にすることが望ましい場合が存在します.
11459 たとえば,書簡のひな型では,必須フィールドを人々が忘れないように,空のフィールドのまま提供する手もあります.特別なクラスにおいては,レイアウトを実際には文章を含
11460 まないある種の改行として使用することもあります.
11461 \end_layout
11462
11463 \begin_layout Description
11464 \begin_inset Flex Code
11465 status collapsed
11466
11467 \begin_layout Plain Layout
11468 LabelBottomsep
11469 \end_layout
11470
11471 \end_inset
11472
11473  [
11474 \begin_inset Flex Code
11475 status collapsed
11476
11477 \begin_layout Plain Layout
11478 浮動小数点型=0
11479 \end_layout
11480
11481 \end_inset
11482
11483 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
11484 \begin_inset Flex Code
11485 status collapsed
11486
11487 \begin_layout Plain Layout
11488 Top_Environment
11489 \end_layout
11490
11491 \end_inset
11492
11493 および
11494 \begin_inset Newline linebreak
11495 \end_inset
11496
11497
11498 \begin_inset Flex Code
11499 status collapsed
11500
11501 \begin_layout Plain Layout
11502 Centered_Top_Environment
11503 \end_layout
11504
11505 \end_inset
11506
11507 ).
11508 \end_layout
11509
11510 \begin_layout Description
11511 \begin_inset Flex Code
11512 status collapsed
11513
11514 \begin_layout Plain Layout
11515 LabelCounter
11516 \end_layout
11517
11518 \end_inset
11519
11520  [
11521 \begin_inset Flex Code
11522 status collapsed
11523
11524 \begin_layout Plain Layout
11525 文字列=""
11526 \end_layout
11527
11528 \end_inset
11529
11530 ] 自動連番に使われるカウンタ名(詳しくは第
11531 \begin_inset CommandInset ref
11532 LatexCommand ref
11533 reference "subsec:カウンタ"
11534 plural "false"
11535 caps "false"
11536 noprefix "false"
11537
11538 \end_inset
11539
11540 節参照).カウンタがラベル中に表示されるようにするためには,
11541 \begin_inset Flex Code
11542 status collapsed
11543
11544 \begin_layout Plain Layout
11545 LabelString
11546 \end_layout
11547
11548 \end_inset
11549
11550 中で参照する必要があります.これは,少なくとも
11551 \begin_inset Flex Code
11552 status collapsed
11553
11554 \begin_layout Plain Layout
11555 Static
11556 \end_layout
11557
11558 \end_inset
11559
11560
11561 \begin_inset Flex Code
11562 status collapsed
11563
11564 \begin_layout Plain Layout
11565 Above
11566 \end_layout
11567
11568 \end_inset
11569
11570
11571 \begin_inset Flex Code
11572 status collapsed
11573
11574 \begin_layout Plain Layout
11575 Centered
11576 \end_layout
11577
11578 \end_inset
11579
11580 の各
11581 \begin_inset Flex Code
11582 status collapsed
11583
11584 \begin_layout Plain Layout
11585 LabelType
11586 \end_layout
11587
11588 \end_inset
11589
11590 で動作します.
11591 \begin_inset Newline newline
11592 \end_inset
11593
11594 また,
11595 \begin_inset Flex Code
11596 status collapsed
11597
11598 \begin_layout Plain Layout
11599 LabelType
11600 \end_layout
11601
11602 \end_inset
11603
11604
11605 \begin_inset Flex Code
11606 status collapsed
11607
11608 \begin_layout Plain Layout
11609 Enumerate
11610 \end_layout
11611
11612 \end_inset
11613
11614 型のときにも,若干複雑にはなりますが,本項目を使うことができます.たとえば,「
11615 \begin_inset Flex Code
11616 status collapsed
11617
11618 \begin_layout Plain Layout
11619 LabelCounter myenum
11620 \end_layout
11621
11622 \end_inset
11623
11624 」と宣言したものとしましょう.すると,\SpecialChar LaTeX
11625 におけるのと同様,実際に使われるカウンタは,
11626 \begin_inset Flex Code
11627 status collapsed
11628
11629 \begin_layout Plain Layout
11630 myenumi
11631 \end_layout
11632
11633 \end_inset
11634
11635
11636 \begin_inset Flex Code
11637 status collapsed
11638
11639 \begin_layout Plain Layout
11640 myenumii
11641 \end_layout
11642
11643 \end_inset
11644
11645
11646 \begin_inset Flex Code
11647 status collapsed
11648
11649 \begin_layout Plain Layout
11650 myenumii
11651 \end_layout
11652
11653 \end_inset
11654
11655
11656 \begin_inset Flex Code
11657 status collapsed
11658
11659 \begin_layout Plain Layout
11660 myenumiv
11661 \end_layout
11662
11663 \end_inset
11664
11665 のようになります.これらのカウンタは,全て別々に宣言されなくてはなりません.
11666 \begin_inset Newline newline
11667 \end_inset
11668
11669 カウンタの詳細については,
11670 \begin_inset CommandInset ref
11671 LatexCommand ref
11672 reference "subsec:カウンタ"
11673
11674 \end_inset
11675
11676 をご覧ください.
11677 \end_layout
11678
11679 \begin_layout Description
11680 \begin_inset Flex Code
11681 status collapsed
11682
11683 \begin_layout Plain Layout
11684 LabelFont
11685 \end_layout
11686
11687 \end_inset
11688
11689  ラベルに使用されるフォント.
11690 \begin_inset CommandInset ref
11691 LatexCommand ref
11692 reference "subsec:フォント指定"
11693
11694 \end_inset
11695
11696 を参照.
11697 \end_layout
11698
11699 \begin_layout Description
11700 \begin_inset Flex Code
11701 status collapsed
11702
11703 \begin_layout Plain Layout
11704 LabelIndent
11705 \end_layout
11706
11707 \end_inset
11708
11709  [
11710 \begin_inset Flex Code
11711 status collapsed
11712
11713 \begin_layout Plain Layout
11714 文字列=""
11715 \end_layout
11716
11717 \end_inset
11718
11719 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
11720 \end_layout
11721
11722 \begin_layout Description
11723 \begin_inset Flex Code
11724 status collapsed
11725
11726 \begin_layout Plain Layout
11727 LabelSep
11728 \end_layout
11729
11730 \end_inset
11731
11732  [
11733 \begin_inset Flex Code
11734 status collapsed
11735
11736 \begin_layout Plain Layout
11737 文字列=""
11738 \end_layout
11739
11740 \end_inset
11741
11742 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
11743 \end_layout
11744
11745 \begin_layout Description
11746 \begin_inset Flex Code
11747 status collapsed
11748
11749 \begin_layout Plain Layout
11750 LabelString
11751 \end_layout
11752
11753 \end_inset
11754
11755  [
11756 \begin_inset Flex Code
11757 status collapsed
11758
11759 \begin_layout Plain Layout
11760 文字列=""
11761 \end_layout
11762
11763 \end_inset
11764
11765
11766 \begin_inset Flex Code
11767 status collapsed
11768
11769 \begin_layout Plain Layout
11770 Static
11771 \end_layout
11772
11773 \end_inset
11774
11775 ラベル型でラベルに使用する文字列.
11776 \begin_inset Flex Code
11777 status collapsed
11778
11779 \begin_layout Plain Layout
11780 LabelCounter
11781 \end_layout
11782
11783 \end_inset
11784
11785 を設定している場合,
11786 \begin_inset CommandInset ref
11787 LatexCommand ref
11788 reference "subsec:カウンタ"
11789
11790 \end_inset
11791
11792 に述べられている特別な整形コマンドを含めることができます.
11793 \end_layout
11794
11795 \begin_layout Description
11796 \begin_inset Flex Code
11797 status collapsed
11798
11799 \begin_layout Plain Layout
11800 LabelStringAppendix
11801 \end_layout
11802
11803 \end_inset
11804
11805  [
11806 \begin_inset Flex Code
11807 status collapsed
11808
11809 \begin_layout Plain Layout
11810 文字列=""
11811 \end_layout
11812
11813 \end_inset
11814
11815 ] これは付録の中で
11816 \begin_inset Flex Code
11817 status collapsed
11818
11819 \begin_layout Plain Layout
11820 LabelString
11821 \end_layout
11822
11823 \end_inset
11824
11825 の代わりに用いられます.各
11826 \begin_inset Flex Code
11827 status collapsed
11828
11829 \begin_layout Plain Layout
11830 LabelString
11831 \end_layout
11832
11833 \end_inset
11834
11835 ステートメントは,
11836 \begin_inset Flex Code
11837 status collapsed
11838
11839 \begin_layout Plain Layout
11840 LabelStringAppendix
11841 \end_layout
11842
11843 \end_inset
11844
11845 をもリセットすることに注意してください.
11846 \end_layout
11847
11848 \begin_layout Description
11849 \begin_inset Flex Code
11850 status collapsed
11851
11852 \begin_layout Plain Layout
11853 LabelTag
11854 \end_layout
11855
11856 \end_inset
11857
11858  [FIXME] (XML型書式でのみ使用されます.)
11859 \end_layout
11860
11861 \begin_layout Description
11862 \begin_inset Flex Code
11863 status collapsed
11864
11865 \begin_layout Plain Layout
11866 LabelType
11867 \end_layout
11868
11869 \end_inset
11870
11871  [
11872 \begin_inset Flex Code
11873 status collapsed
11874
11875 \begin_layout Plain Layout
11876
11877 \emph on
11878 No_Label
11879 \emph default
11880 , Manual, Static, Above,
11881 \begin_inset Newline newline
11882 \end_inset
11883
11884 Centered, Sensitive, Enumerate,
11885 \begin_inset Newline newline
11886 \end_inset
11887
11888 Itemize, Bibliography
11889 \end_layout
11890
11891 \end_inset
11892
11893 ]
11894 \end_layout
11895
11896 \begin_deeper
11897 \begin_layout Description
11898 \begin_inset Flex Code
11899 status collapsed
11900
11901 \begin_layout Plain Layout
11902 Manual
11903 \end_layout
11904
11905 \end_inset
11906
11907  は,ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,保護された空白を使用してください.
11908 \end_layout
11909
11910 \begin_layout Description
11911 \begin_inset Flex Code
11912 status collapsed
11913
11914 \begin_layout Plain Layout
11915 Static
11916 \end_layout
11917
11918 \end_inset
11919
11920  は,ラベルが
11921 \begin_inset Flex Code
11922 status collapsed
11923
11924 \begin_layout Plain Layout
11925 LabelString
11926 \end_layout
11927
11928 \end_inset
11929
11930 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
11931 \begin_inset Flex Code
11932 status collapsed
11933
11934 \begin_layout Plain Layout
11935 LatexType
11936 \end_layout
11937
11938 \end_inset
11939
11940
11941 \begin_inset Flex Code
11942 status collapsed
11943
11944 \begin_layout Plain Layout
11945 Environment
11946 \end_layout
11947
11948 \end_inset
11949
11950 のときは,連続する同じ
11951 \begin_inset Flex Code
11952 status collapsed
11953
11954 \begin_layout Plain Layout
11955 Style
11956 \end_layout
11957
11958 \end_inset
11959
11960 の段落中,最初の段落にのみ表示されます.
11961 \end_layout
11962
11963 \begin_layout Description
11964 \begin_inset Flex Code
11965 status collapsed
11966
11967 \begin_layout Plain Layout
11968 Above
11969 \end_layout
11970
11971 \end_inset
11972
11973 および
11974 \begin_inset Flex Code
11975 status collapsed
11976
11977 \begin_layout Plain Layout
11978 Centered
11979 \end_layout
11980
11981 \end_inset
11982
11983  は,
11984 \begin_inset Flex Code
11985 status collapsed
11986
11987 \begin_layout Plain Layout
11988 Static
11989 \end_layout
11990
11991 \end_inset
11992
11993 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
11994 \end_layout
11995
11996 \begin_layout Description
11997 \begin_inset Flex Code
11998 status collapsed
11999
12000 \begin_layout Plain Layout
12001 Sensitive
12002 \end_layout
12003
12004 \end_inset
12005
12006  はキャプションラベルの「図」や「表」の特別な場合です.
12007 \begin_inset Flex Code
12008 status collapsed
12009
12010 \begin_layout Plain Layout
12011 Sensitive
12012 \end_layout
12013
12014 \end_inset
12015
12016 は,(ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,フロートに関連付けられたカウンタの値がNであるものとすると,「Float
12017 Type N」にハードコードされています.キャプションがフロートの外に挿入されると,
12018 \begin_inset Flex Code
12019 status collapsed
12020
12021 \begin_layout Plain Layout
12022 LabelString
12023 \end_layout
12024
12025 \end_inset
12026
12027 は「意味を成しません!」と表示されます.
12028 \end_layout
12029
12030 \begin_layout Description
12031 \begin_inset Flex Code
12032 status collapsed
12033
12034 \begin_layout Plain Layout
12035 Enumerate
12036 \end_layout
12037
12038 \end_inset
12039
12040  は,通常の連番ラベルを生成します.
12041 \lang english
12042 The number type needs to be set in the 
12043 \family sans
12044 Counter
12045 \family default
12046 , see 
12047 \lang japanese
12048
12049 \begin_inset CommandInset ref
12050 LatexCommand ref
12051 reference "subsec:カウンタ"
12052
12053 \end_inset
12054
12055
12056 \end_layout
12057
12058 \begin_layout Description
12059 \begin_inset Flex Code
12060 status collapsed
12061
12062 \begin_layout Plain Layout
12063 Itemize
12064 \end_layout
12065
12066 \end_inset
12067
12068  は,各階層でさまざまなブリットを生成します.
12069 \lang english
12070 The bullet types displayed can be set via 
12071 \begin_inset Flex Noun
12072 status collapsed
12073
12074 \begin_layout Plain Layout
12075
12076 \lang english
12077 Document\SpecialChar menuseparator
12078 Settings\SpecialChar menuseparator
12079 Bullets
12080 \end_layout
12081
12082 \end_inset
12083
12084 .
12085 \end_layout
12086
12087 \begin_layout Description
12088 \begin_inset Flex Code
12089 status collapsed
12090
12091 \begin_layout Plain Layout
12092 Bibliography
12093 \end_layout
12094
12095 \end_inset
12096
12097  は,
12098 \begin_inset Flex Code
12099 status collapsed
12100
12101 \begin_layout Plain Layout
12102 LatexType BibEnvironment
12103 \end_layout
12104
12105 \end_inset
12106
12107 とともにのみ使用されます.
12108 \end_layout
12109
12110 \end_deeper
12111 \begin_layout Description
12112 \begin_inset Flex Code
12113 status collapsed
12114
12115 \begin_layout Plain Layout
12116 LangPreamble
12117 \end_layout
12118
12119 \end_inset
12120
12121  これは,この様式で既に出現した
12122 \begin_inset Flex Code
12123 status collapsed
12124
12125 \begin_layout Plain Layout
12126 LangPreamble
12127 \end_layout
12128
12129 \end_inset
12130
12131 宣言をすべて,完全に上書きしますので,注意してください.使用法についての詳細は,
12132 \begin_inset CommandInset ref
12133 LatexCommand ref
12134 reference "subsec:段落様式の国際化"
12135
12136 \end_inset
12137
12138 をご覧ください.
12139 \end_layout
12140
12141 \begin_layout Description
12142 \begin_inset Flex Code
12143 status collapsed
12144
12145 \begin_layout Plain Layout
12146 LatexName
12147 \end_layout
12148
12149 \end_inset
12150
12151  [
12152 \begin_inset Flex Code
12153 status collapsed
12154
12155 \begin_layout Plain Layout
12156 <名称>
12157 \end_layout
12158
12159 \end_inset
12160
12161 ] 対応する\SpecialChar LaTeX
12162 の名称です.環境名かコマンド名を指します.
12163 \end_layout
12164
12165 \begin_layout Description
12166 \begin_inset Flex Code
12167 status collapsed
12168
12169 \begin_layout Plain Layout
12170 LatexParam
12171 \end_layout
12172
12173 \end_inset
12174
12175  [
12176 \begin_inset Flex Code
12177 status collapsed
12178
12179 \begin_layout Plain Layout
12180 <パラメータ>
12181 \end_layout
12182
12183 \end_inset
12184
12185 ] 対応する
12186 \begin_inset Flex Code
12187 status collapsed
12188
12189 \begin_layout Plain Layout
12190 LatexName
12191 \end_layout
12192
12193 \end_inset
12194
12195 の非必須パラメータです.このパラメータは,\SpecialChar LyX
12196 内部から変更することはできません(変更可能なパラメータには
12197 \begin_inset Flex Code
12198 status collapsed
12199
12200 \begin_layout Plain Layout
12201 Argument
12202 \end_layout
12203
12204 \end_inset
12205
12206 を使用してください).これは,全ての\SpecialChar LaTeX
12207  
12208 \begin_inset Flex Code
12209 status collapsed
12210
12211 \begin_layout Plain Layout
12212 Argument
12213 \end_layout
12214
12215 \end_inset
12216
12217 の後にそのままの形で出力されます.
12218 \end_layout
12219
12220 \begin_layout Description
12221 \begin_inset Flex Code
12222 status collapsed
12223
12224 \begin_layout Plain Layout
12225 LatexType
12226 \end_layout
12227
12228 \end_inset
12229
12230  [
12231 \begin_inset Flex Code
12232 status collapsed
12233
12234 \begin_layout Plain Layout
12235
12236 \emph on
12237 Paragraph
12238 \emph default
12239 , Command, Environment, Item_Environment,
12240 \begin_inset Newline newline
12241 \end_inset
12242
12243 List_Environment, Bib_Environment
12244 \end_layout
12245
12246 \end_inset
12247
12248 ] レイアウトがどのように\SpecialChar LaTeX
12249 に変換されるべきかを示します
12250 \begin_inset Foot
12251 status collapsed
12252
12253 \begin_layout Plain Layout
12254 これらのルールはSGMLクラスにも適用されるので,
12255 \begin_inset Flex Code
12256 status collapsed
12257
12258 \begin_layout Plain Layout
12259 LatexType
12260 \end_layout
12261
12262 \end_inset
12263
12264 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイル(ファイル名
12265 \begin_inset Flex Code
12266 status collapsed
12267
12268 \begin_layout Plain Layout
12269 db_*.inc
12270 \end_layout
12271
12272 \end_inset
12273
12274 )を見てください.
12275 \end_layout
12276
12277 \end_inset
12278
12279
12280 \end_layout
12281
12282 \begin_deeper
12283 \begin_layout Description
12284 \begin_inset Flex Code
12285 status collapsed
12286
12287 \begin_layout Plain Layout
12288 Paragraph
12289 \end_layout
12290
12291 \end_inset
12292
12293  は,何も特別なことは意味しません.
12294 \end_layout
12295
12296 \begin_layout Description
12297 \begin_inset Flex Code
12298 status collapsed
12299
12300 \begin_layout Plain Layout
12301 Command
12302 \end_layout
12303
12304 \end_inset
12305
12306  は,
12307 \begin_inset Flex Code
12308 status collapsed
12309
12310 \begin_layout Plain Layout
12311
12312 \backslash
12313
12314 \emph on
12315 LatexName
12316 \emph default
12317 {\SpecialChar ldots
12318 }
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 Environment
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 \backslash
12343 begin{
12344 \emph on
12345 LatexName
12346 \emph default
12347 }\SpecialChar ldots
12348
12349 \backslash
12350 end{
12351 \emph on
12352 LatexName
12353 \emph default
12354 }
12355 \end_layout
12356
12357 \end_inset
12358
12359 を意味します.
12360 \end_layout
12361
12362 \begin_layout Description
12363 \begin_inset Flex Code
12364 status collapsed
12365
12366 \begin_layout Plain Layout
12367 Item_Environment
12368 \end_layout
12369
12370 \end_inset
12371
12372  は
12373 \begin_inset Flex Code
12374 status collapsed
12375
12376 \begin_layout Plain Layout
12377 Environment
12378 \end_layout
12379
12380 \end_inset
12381
12382 と同じですが,
12383 \begin_inset Flex Code
12384 status collapsed
12385
12386 \begin_layout Plain Layout
12387
12388 \backslash
12389 item
12390 \end_layout
12391
12392 \end_inset
12393
12394 がこの環境のすべての段落に付けられるところだけが異なっています.
12395 \end_layout
12396
12397 \begin_layout Description
12398 \begin_inset Flex Code
12399 status collapsed
12400
12401 \begin_layout Plain Layout
12402 List_Environment
12403 \end_layout
12404
12405 \end_inset
12406
12407  は
12408 \begin_inset Flex Code
12409 status collapsed
12410
12411 \begin_layout Plain Layout
12412 Item_Environment
12413 \end_layout
12414
12415 \end_inset
12416
12417 と同じですが,
12418 \begin_inset Flex Code
12419 status collapsed
12420
12421 \begin_layout Plain Layout
12422 LabelWidthString
12423 \end_layout
12424
12425 \end_inset
12426
12427 が環境の引数として渡されるところだけが異なっています.
12428 \begin_inset Flex Code
12429 status collapsed
12430
12431 \begin_layout Plain Layout
12432 LabelWidthString
12433 \end_layout
12434
12435 \end_inset
12436
12437 は,
12438 \begin_inset Flex MenuItem
12439 status collapsed
12440
12441 \begin_layout Plain Layout
12442 編集\SpecialChar menuseparator
12443 段落設定
12444 \end_layout
12445
12446 \end_inset
12447
12448 ダイアログで定義することができます.
12449 \end_layout
12450
12451 \begin_layout Description
12452 \begin_inset Flex Code
12453 status collapsed
12454
12455 \begin_layout Plain Layout
12456 Bib_Environment
12457 \end_layout
12458
12459 \end_inset
12460
12461  は
12462 \begin_inset Flex Code
12463 status collapsed
12464
12465 \begin_layout Plain Layout
12466 Environment
12467 \end_layout
12468
12469 \end_inset
12470
12471 に似ていますが,以下のように,書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
12472 \begin_inset Newline newline
12473 \end_inset
12474
12475
12476 \begin_inset Flex Code
12477 status collapsed
12478
12479 \begin_layout Plain Layout
12480
12481 \backslash
12482 begin{thebibliography}{99}
12483 \end_layout
12484
12485 \end_inset
12486
12487
12488 \begin_inset Newline newline
12489 \end_inset
12490
12491 したがって,これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,書誌情報項目の段落設定で,ユーザーが変更することができます.
12492 \end_layout
12493
12494 \begin_layout Standard
12495 上記最後のいくつかをまとめると,\SpecialChar LaTeX
12496 出力は,\SpecialChar LaTeX
12497 型に依存して
12498 \end_layout
12499
12500 \begin_layout LyX-Code
12501
12502 \backslash
12503 LatexName[LatexParam]{\SpecialChar ldots
12504 }
12505 \end_layout
12506
12507 \begin_layout Standard
12508 のようになるか,
12509 \end_layout
12510
12511 \begin_layout LyX-Code
12512
12513 \backslash
12514 begin{LatexName}[LatexParam] \SpecialChar ldots
12515  
12516 \backslash
12517 end{LatexName}.
12518 \end_layout
12519
12520 \begin_layout Standard
12521 となります.
12522 \end_layout
12523
12524 \end_deeper
12525 \begin_layout Description
12526 \begin_inset Flex Code
12527 status collapsed
12528
12529 \begin_layout Plain Layout
12530 LeftDelim
12531 \end_layout
12532
12533 \end_inset
12534
12535  [
12536 \begin_inset Flex Code
12537 status collapsed
12538
12539 \begin_layout Plain Layout
12540 文字列
12541 \end_layout
12542
12543 \end_inset
12544
12545 ] 様式の内容の最初に置かれる文字列.出力中の改行は
12546 \begin_inset Flex Code
12547 status collapsed
12548
12549 \begin_layout Plain Layout
12550 <br/>
12551 \end_layout
12552
12553 \end_inset
12554
12555 で指示できます.
12556 \end_layout
12557
12558 \begin_layout Description
12559 \begin_inset Flex Code
12560 status collapsed
12561
12562 \begin_layout Plain Layout
12563 LeftMargin
12564 \end_layout
12565
12566 \end_inset
12567
12568  [
12569 \begin_inset Flex Code
12570 status collapsed
12571
12572 \begin_layout Plain Layout
12573 文字列=""
12574 \end_layout
12575
12576 \end_inset
12577
12578 ] レイアウトを環境の中に入れた場合,左余白は単純に加えられるのではなく,因子
12579 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
12580 \end_inset
12581
12582 をかけて加えられます.このパラメータは,
12583 \begin_inset Flex Code
12584 status collapsed
12585
12586 \begin_layout Plain Layout
12587 Margin
12588 \end_layout
12589
12590 \end_inset
12591
12592
12593 \begin_inset Flex Code
12594 status collapsed
12595
12596 \begin_layout Plain Layout
12597 Manual
12598 \end_layout
12599
12600 \end_inset
12601
12602 あるいは
12603 \begin_inset Flex Code
12604 status collapsed
12605
12606 \begin_layout Plain Layout
12607 Dynamic
12608 \end_layout
12609
12610 \end_inset
12611
12612 に設定されているときにも用いられることに注意してください.その場合には,これは手動設定余白または動的設定余白に加えられることに注意してください.
12613 \begin_inset Newline newline
12614 \end_inset
12615
12616 たとえば「
12617 \begin_inset Flex Code
12618 status collapsed
12619
12620 \begin_layout Plain Layout
12621 MM
12622 \end_layout
12623
12624 \end_inset
12625
12626 」と指定すると,段落を通常フォントの「
12627 \begin_inset Flex Code
12628 status collapsed
12629
12630 \begin_layout Plain Layout
12631 MM
12632 \end_layout
12633
12634 \end_inset
12635
12636 」の幅だけ行頭下げを行います.文字列の前に「
12637 \begin_inset Flex Code
12638 status collapsed
12639
12640 \begin_layout Plain Layout
12641 -
12642 \end_layout
12643
12644 \end_inset
12645
12646 」を付けると,負の幅を与えることができます.この方法が採用されたのは,どの画面フォントでも見かけが同じになるようにするためです.
12647 \end_layout
12648
12649 \begin_layout Description
12650 \begin_inset Flex Code
12651 status collapsed
12652
12653 \begin_layout Plain Layout
12654 Margin
12655 \end_layout
12656
12657 \end_inset
12658
12659  [
12660 \begin_inset Flex Code
12661 status collapsed
12662
12663 \begin_layout Plain Layout
12664
12665 \emph on
12666 Static
12667 \emph default
12668 , Manual, Dynamic, First_Dynamic, Right_Address_Box
12669 \end_layout
12670
12671 \end_inset
12672
12673
12674 \begin_inset Newline newline
12675 \end_inset
12676
12677 このレイアウトの左余白の種類です.
12678 \end_layout
12679
12680 \begin_deeper
12681 \begin_layout Description
12682 \begin_inset Flex Code
12683 status collapsed
12684
12685 \begin_layout Plain Layout
12686 Static
12687 \end_layout
12688
12689 \end_inset
12690
12691  は固定余白を示します.
12692 \end_layout
12693
12694 \begin_layout Description
12695 \begin_inset Flex Code
12696 status collapsed
12697
12698 \begin_layout Plain Layout
12699 Manual
12700 \end_layout
12701
12702 \end_inset
12703
12704  は,左余白が
12705 \begin_inset Flex MenuItem
12706 status collapsed
12707
12708 \begin_layout Plain Layout
12709 編集\SpecialChar menuseparator
12710 段落設定
12711 \end_layout
12712
12713 \end_inset
12714
12715 ダイアログで入力した文字列によって決められることを示します.これは,タブを用いずに整った一覧表を組むのに使用されます.
12716 \end_layout
12717
12718 \begin_layout Description
12719 \begin_inset Flex Code
12720 status collapsed
12721
12722 \begin_layout Plain Layout
12723 Dynamic
12724 \end_layout
12725
12726 \end_inset
12727
12728  は,余白がラベルの大きさに依存することを示します.これは,自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,「3.2
12729  非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
12730 \end_layout
12731
12732 \begin_layout Description
12733 \begin_inset Flex Code
12734 status collapsed
12735
12736 \begin_layout Plain Layout
12737 First_Dynamic
12738 \end_layout
12739
12740 \end_inset
12741
12742  は似ていますが,段落の最初の行だけがDynamicでその他の行はStaticです.これは,たとえば,箇条書き(記述)に使用されます.
12743 \end_layout
12744
12745 \begin_layout Description
12746 \begin_inset Flex Code
12747 status collapsed
12748
12749 \begin_layout Plain Layout
12750 Right_Address_Box
12751 \end_layout
12752
12753 \end_inset
12754
12755  は,段落中,最も長い行が右余白に合うように余白を選択します.これは,ページの右端に住所を組版するのに用いられます.
12756 \end_layout
12757
12758 \end_deeper
12759 \begin_layout Description
12760 \begin_inset Flex Code
12761 status collapsed
12762
12763 \begin_layout Plain Layout
12764 NeedProtect
12765 \end_layout
12766
12767 \end_inset
12768
12769  [
12770 \begin_inset Flex Code
12771 status collapsed
12772
12773 \begin_layout Plain Layout
12774
12775 \emph on
12776 0
12777 \end_layout
12778
12779 \end_inset
12780
12781 ,
12782 \begin_inset space \thinspace{}
12783 \end_inset
12784
12785
12786 \begin_inset Flex Code
12787 status collapsed
12788
12789 \begin_layout Plain Layout
12790 1
12791 \end_layout
12792
12793 \end_inset
12794
12795 ] このレイアウト中の脆弱なコマンドが
12796 \begin_inset Flex Code
12797 status collapsed
12798
12799 \begin_layout Plain Layout
12800
12801 \backslash
12802 protect
12803 \end_layout
12804
12805 \end_inset
12806
12807 されるべきか否か(註:これはこのコマンド自体が
12808 \begin_inset Flex Code
12809 status collapsed
12810
12811 \begin_layout Plain Layout
12812
12813 \backslash
12814 protect
12815 \end_layout
12816
12817 \end_inset
12818
12819 されるべきかでは
12820 \emph on
12821 ありません
12822 \emph default
12823 ).
12824 \end_layout
12825
12826 \begin_layout Description
12827 \begin_inset Flex Code
12828 status collapsed
12829
12830 \begin_layout Plain Layout
12831 Newline
12832 \end_layout
12833
12834 \end_inset
12835
12836  [
12837 \begin_inset Flex Code
12838 status collapsed
12839
12840 \begin_layout Plain Layout
12841 0
12842 \end_layout
12843
12844 \end_inset
12845
12846 ,
12847 \begin_inset space \thinspace{}
12848 \end_inset
12849
12850
12851 \begin_inset Flex Code
12852 status collapsed
12853
12854 \begin_layout Plain Layout
12855
12856 \emph on
12857 1
12858 \end_layout
12859
12860 \end_inset
12861
12862 ] 新規行を\SpecialChar LaTeX
12863 の新規行(
12864 \begin_inset Flex Code
12865 status collapsed
12866
12867 \begin_layout Plain Layout
12868
12869 \backslash
12870
12871 \backslash
12872
12873 \end_layout
12874
12875 \end_inset
12876
12877 )に変換するか否か.\SpecialChar LyX
12878 中で\SpecialChar LaTeX
12879 編集をやりやすくするために,変換は無効にすることができます.
12880 \end_layout
12881
12882 \begin_layout Description
12883 \begin_inset Flex Code
12884 status collapsed
12885
12886 \begin_layout Plain Layout
12887 NextNoIndent
12888 \end_layout
12889
12890 \end_inset
12891
12892  [
12893 \begin_inset Flex Code
12894 status collapsed
12895
12896 \begin_layout Plain Layout
12897
12898 \emph on
12899 0
12900 \end_layout
12901
12902 \end_inset
12903
12904 ,
12905 \begin_inset space \thinspace{}
12906 \end_inset
12907
12908
12909 \begin_inset Flex Code
12910 status collapsed
12911
12912 \begin_layout Plain Layout
12913 1
12914 \end_layout
12915
12916 \end_inset
12917
12918 ] 真に設定すると,
12919 \begin_inset Flex Code
12920 status collapsed
12921
12922 \begin_layout Plain Layout
12923 DefaultStyle
12924 \end_layout
12925
12926 \end_inset
12927
12928  (通常
12929 \begin_inset Flex Code
12930 status collapsed
12931
12932 \begin_layout Plain Layout
12933 Standard
12934 \end_layout
12935
12936 \end_inset
12937
12938 )段落が行頭下げになっている場合でも,この型の段落に続くそれらの段落は,字下げされません(逆に言えば,既定でない段落には影響を与えません).
12939 \end_layout
12940
12941 \begin_layout Description
12942 \begin_inset Flex Code
12943 status collapsed
12944
12945 \begin_layout Plain Layout
12946 ObsoletedBy
12947 \end_layout
12948
12949 \end_inset
12950
12951  [
12952 \begin_inset Flex Code
12953 status collapsed
12954
12955 \begin_layout Plain Layout
12956 <名称>
12957 \end_layout
12958
12959 \end_inset
12960
12961 ] このレイアウトが置き換えられたレイアウト名.これは,後方互換性を維持しながら,レイアウトの名称を変更するのに使用されます.
12962 \end_layout
12963
12964 \begin_layout Description
12965 \begin_inset Flex Code
12966 status collapsed
12967
12968 \begin_layout Plain Layout
12969 ParagraphGroup
12970 \end_layout
12971
12972 \end_inset
12973
12974  [
12975 \begin_inset Flex Code
12976 status collapsed
12977
12978 \begin_layout Plain Layout
12979 0
12980 \end_layout
12981
12982 \end_inset
12983
12984 ,
12985 \begin_inset space \thinspace{}
12986 \end_inset
12987
12988
12989 \begin_inset Flex Code
12990 status collapsed
12991
12992 \begin_layout Plain Layout
12993 1
12994 \end_layout
12995
12996 \end_inset
12997
12998 ] 同じ型の段落が引き続く場合,同じ段落として取り扱うか否かを決定します.これは,そのような連続グループに対して,
12999 \begin_inset Flex Code
13000 status collapsed
13001
13002 \begin_layout Plain Layout
13003 GuiLabel
13004 \end_layout
13005
13006 \end_inset
13007
13008 が一度だけ出力される効果があります.既定では,
13009 \begin_inset Flex Code
13010 status collapsed
13011
13012 \begin_layout Plain Layout
13013 LaTeXType
13014 \end_layout
13015
13016 \end_inset
13017
13018
13019 \begin_inset Flex Code
13020 status collapsed
13021
13022 \begin_layout Plain Layout
13023 Environment
13024 \end_layout
13025
13026 \end_inset
13027
13028 および
13029 \begin_inset Flex Code
13030 status collapsed
13031
13032 \begin_layout Plain Layout
13033 Bib_Environment
13034 \end_layout
13035
13036 \end_inset
13037
13038  については有効であり,他の型すべてについて無効になっています.
13039 \end_layout
13040
13041 \begin_layout Description
13042 \begin_inset Flex Code
13043 status collapsed
13044
13045 \begin_layout Plain Layout
13046 ParbreakIsNewline
13047 \end_layout
13048
13049 \end_inset
13050
13051  [
13052 \begin_inset Flex Code
13053 status collapsed
13054
13055 \begin_layout Plain Layout
13056
13057 \emph on
13058 0
13059 \end_layout
13060
13061 \end_inset
13062
13063 ,
13064 \begin_inset space \thinspace{}
13065 \end_inset
13066
13067
13068 \begin_inset Flex Code
13069 status collapsed
13070
13071 \begin_layout Plain Layout
13072 1
13073 \end_layout
13074
13075 \end_inset
13076
13077 ] \SpecialChar LaTeX
13078 出力中で,段落を空行ではなく,改行で区切るよう指定します.
13079 \begin_inset Flex Code
13080 status collapsed
13081
13082 \begin_layout Plain Layout
13083 PassThru 1
13084 \end_layout
13085
13086 \end_inset
13087
13088 と併用すれば,(\SpecialChar TeX
13089 コードを使用したときのように)テキストエディタをエミュレートすることができます.
13090 \end_layout
13091
13092 \begin_layout Description
13093 \begin_inset Flex Code
13094 status collapsed
13095
13096 \begin_layout Plain Layout
13097 ParIndent
13098 \end_layout
13099
13100 \end_inset
13101
13102  [
13103 \begin_inset Flex Code
13104 status collapsed
13105
13106 \begin_layout Plain Layout
13107 文字列=""
13108 \end_layout
13109
13110 \end_inset
13111
13112 ] 段落の最初の行の行頭下げ.レイアウトによっては
13113 \begin_inset Flex Code
13114 status collapsed
13115
13116 \begin_layout Plain Layout
13117 Parindent
13118 \end_layout
13119
13120 \end_inset
13121
13122 は固定されています.例外には標準レイアウトがあり,標準レイアウトの段落の行頭下げは,
13123 \begin_inset Flex Code
13124 status collapsed
13125
13126 \begin_layout Plain Layout
13127 NextNoIndent
13128 \end_layout
13129
13130 \end_inset
13131
13132 で禁止することができるようになっています.また,環境中の標準レイアウト段落は,当該段落の
13133 \begin_inset Flex Code
13134 status collapsed
13135
13136 \begin_layout Plain Layout
13137 Parindent
13138 \end_layout
13139
13140 \end_inset
13141
13142 ではなく,この環境の
13143 \begin_inset Flex Code
13144 status collapsed
13145
13146 \begin_layout Plain Layout
13147 Parindent
13148 \end_layout
13149
13150 \end_inset
13151
13152 を使用します.たとえば,箇条書き(連番)内の標準段落は,行頭下げされません.
13153 \end_layout
13154
13155 \begin_layout Description
13156 \begin_inset Flex Code
13157 status collapsed
13158
13159 \begin_layout Plain Layout
13160 ParSep
13161 \end_layout
13162
13163 \end_inset
13164
13165  [
13166 \begin_inset Flex Code
13167 status collapsed
13168
13169 \begin_layout Plain Layout
13170 浮動小数点型=0
13171 \end_layout
13172
13173 \end_inset
13174
13175 ] このレイアウトの2段落間の垂直余白.
13176 \end_layout
13177
13178 \begin_layout Description
13179 \begin_inset Flex Code
13180 status collapsed
13181
13182 \begin_layout Plain Layout
13183 Parskip
13184 \end_layout
13185
13186 \end_inset
13187
13188  [
13189 \begin_inset Flex Code
13190 status collapsed
13191
13192 \begin_layout Plain Layout
13193 浮動小数点型=0
13194 \end_layout
13195
13196 \end_inset
13197
13198 ] \SpecialChar LyX
13199 では,文書を組版するのに,ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,この値は完全に無視されます.「スキップ」を選
13200 択した際には,\SpecialChar LaTeX
13201 型「段落」レイアウトの
13202 \begin_inset Flex Code
13203 status collapsed
13204
13205 \begin_layout Plain Layout
13206 ParIndent
13207 \end_layout
13208
13209 \end_inset
13210
13211 は無視され,すべての段落はこの
13212 \begin_inset Flex Code
13213 status collapsed
13214
13215 \begin_layout Plain Layout
13216 Parskip
13217 \end_layout
13218
13219 \end_inset
13220
13221 引数分だけ引き離されます.垂直余白は,
13222 \begin_inset Flex Code
13223 status collapsed
13224
13225 \begin_layout Plain Layout
13226 DefaultHeight
13227 \end_layout
13228
13229 \end_inset
13230
13231 を標準フォントでの1行の高さとすると,
13232 \begin_inset Flex Code
13233 status collapsed
13234
13235 \begin_layout Plain Layout
13236 Parskipの値
13237 \end_layout
13238
13239 \end_inset
13240
13241
13242 \begin_inset Formula $\times$
13243 \end_inset
13244
13245
13246 \begin_inset Flex Code
13247 status collapsed
13248
13249 \begin_layout Plain Layout
13250 DefaultHeight
13251 \end_layout
13252
13253 \end_inset
13254
13255 によって計算されます.このようにして,画面フォントを変更しても同じように表示されるのです.
13256 \end_layout
13257
13258 \begin_layout Description
13259 \begin_inset Flex Code
13260 status collapsed
13261
13262 \begin_layout Plain Layout
13263 PassThru
13264 \end_layout
13265
13266 \end_inset
13267
13268  [
13269 \emph on
13270
13271 \begin_inset Flex Code
13272 status collapsed
13273
13274 \begin_layout Plain Layout
13275 0
13276 \end_layout
13277
13278 \end_inset
13279
13280
13281 \emph default
13282 ,
13283 \begin_inset space \thinspace{}
13284 \end_inset
13285
13286
13287 \begin_inset Flex Code
13288 status collapsed
13289
13290 \begin_layout Plain Layout
13291 1
13292 \end_layout
13293
13294 \end_inset
13295
13296 ] この段落の内容が,\SpecialChar LaTeX
13297 が必要とするような特別な変換を行わずに,生の形で出力されるべきかどうか.
13298 \end_layout
13299
13300 \begin_layout Description
13301 \begin_inset Flex Code
13302 status collapsed
13303
13304 \begin_layout Plain Layout
13305 PassThruChars
13306 \end_layout
13307
13308 \end_inset
13309
13310  [
13311 \begin_inset Flex Code
13312 status collapsed
13313
13314 \begin_layout Plain Layout
13315 文字列
13316 \end_layout
13317
13318 \end_inset
13319
13320 ]
13321 \family typewriter
13322  
13323 \family default
13324 \SpecialChar LaTeX
13325 が要請する特別な翻訳なしで.生の形で出力されるべき,それぞれの文字を定義します.
13326 \end_layout
13327
13328 \begin_layout Description
13329 \begin_inset Flex Code
13330 status collapsed
13331
13332 \begin_layout Plain Layout
13333 Preamble
13334 \end_layout
13335
13336 \end_inset
13337
13338  この様式が使用されたときに,\SpecialChar LaTeX
13339 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,パッケージを読み込んだりと言ったことに使用します.「
13340 \begin_inset Flex Code
13341 status collapsed
13342
13343 \begin_layout Plain Layout
13344 EndPreamble
13345 \end_layout
13346
13347 \end_inset
13348
13349 」で閉じる必要があります.
13350 \end_layout
13351
13352 \begin_layout Description
13353 \begin_inset Flex Code
13354 status collapsed
13355
13356 \begin_layout Plain Layout
13357 RefPrefix
13358 \end_layout
13359
13360 \end_inset
13361
13362  [
13363 \begin_inset Flex Code
13364 status collapsed
13365
13366 \begin_layout Plain Layout
13367 文字列
13368 \end_layout
13369
13370 \end_inset
13371
13372 ] この型の段落を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
13373 \end_layout
13374
13375 \begin_layout Description
13376 \begin_inset Flex Code
13377 status collapsed
13378
13379 \begin_layout Plain Layout
13380 Requires
13381 \end_layout
13382
13383 \end_inset
13384
13385  [
13386 \begin_inset Flex Code
13387 status collapsed
13388
13389 \begin_layout Plain Layout
13390 文字列
13391 \end_layout
13392
13393 \end_inset
13394
13395 ] この様式が機能
13396 \begin_inset Flex Code
13397 status collapsed
13398
13399 \begin_layout Plain Layout
13400 文字列
13401 \end_layout
13402
13403 \end_inset
13404
13405 を必要とするかどうか(機能詳細については,第
13406 \begin_inset CommandInset ref
13407 LatexCommand ref
13408 reference "chap:関数一覧"
13409
13410 \end_inset
13411
13412 節参照).特定のオプションをとるパッケージを要求する場合,
13413 \begin_inset Flex Code
13414 status collapsed
13415
13416 \begin_layout Plain Layout
13417 PackageOptions
13418 \end_layout
13419
13420 \end_inset
13421
13422 を汎用テキストクラスパラメータとして追加して使うことができます(
13423 \begin_inset CommandInset ref
13424 LatexCommand ref
13425 reference "subsec:汎用テキストクラスパラメータ"
13426
13427 \end_inset
13428
13429 を参照).
13430 \end_layout
13431
13432 \begin_layout Description
13433 \begin_inset Flex Code
13434 status collapsed
13435
13436 \begin_layout Plain Layout
13437 ResetArgs
13438 \end_layout
13439
13440 \end_inset
13441
13442  [
13443 \begin_inset Flex Code
13444 status collapsed
13445
13446 \begin_layout Plain Layout
13447
13448 \emph on
13449 0
13450 \end_layout
13451
13452 \end_inset
13453
13454 ,
13455 \begin_inset Flex Code
13456 status collapsed
13457
13458 \begin_layout Plain Layout
13459 1
13460 \end_layout
13461
13462 \end_inset
13463
13464 ] (
13465 \begin_inset Flex Code
13466 status collapsed
13467
13468 \begin_layout Plain Layout
13469 Argument
13470 \end_layout
13471
13472 \end_inset
13473
13474 タグで定義された)この様式の\SpecialChar LaTeX
13475 引数をリセットします.これは,様式を
13476 \begin_inset Flex Code
13477 status collapsed
13478
13479 \begin_layout Plain Layout
13480 CopyStyle
13481 \end_layout
13482
13483 \end_inset
13484
13485 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
13486 \end_layout
13487
13488 \begin_layout Description
13489 \begin_inset Flex Code
13490 status collapsed
13491
13492 \begin_layout Plain Layout
13493 ResumeCounter
13494 \end_layout
13495
13496 \end_inset
13497
13498  [
13499 \begin_inset Flex Code
13500 status collapsed
13501
13502 \begin_layout Plain Layout
13503
13504 \emph on
13505 0
13506 \end_layout
13507
13508 \end_inset
13509
13510 ,
13511 \begin_inset Flex Code
13512 status collapsed
13513
13514 \begin_layout Plain Layout
13515 1
13516 \end_layout
13517
13518 \end_inset
13519
13520 ] レイアウトの新しい一群で通常リセットされるカウンタを元に戻します.これは,
13521 \begin_inset Flex Code
13522 status collapsed
13523
13524 \begin_layout Plain Layout
13525 LabelType
13526 \end_layout
13527
13528 \end_inset
13529
13530
13531 \begin_inset Flex Code
13532 status collapsed
13533
13534 \begin_layout Plain Layout
13535 Enumerate
13536 \end_layout
13537
13538 \end_inset
13539
13540 の時のみ有効です.
13541 \end_layout
13542
13543 \begin_layout Description
13544 \begin_inset Flex Code
13545 status collapsed
13546
13547 \begin_layout Plain Layout
13548 RightDelim
13549 \end_layout
13550
13551 \end_inset
13552
13553  [
13554 \begin_inset Flex Code
13555 status collapsed
13556
13557 \begin_layout Plain Layout
13558 文字列
13559 \end_layout
13560
13561 \end_inset
13562
13563 ] 様式の内容の最後に置かれる文字列.出力中の改行は
13564 \begin_inset Flex Code
13565 status collapsed
13566
13567 \begin_layout Plain Layout
13568 <br/>
13569 \end_layout
13570
13571 \end_inset
13572
13573 で指示できます.
13574 \end_layout
13575
13576 \begin_layout Description
13577 \begin_inset Flex Code
13578 status collapsed
13579
13580 \begin_layout Plain Layout
13581 RightMargin
13582 \end_layout
13583
13584 \end_inset
13585
13586  [
13587 \begin_inset Flex Code
13588 status collapsed
13589
13590 \begin_layout Plain Layout
13591 文字列=""
13592 \end_layout
13593
13594 \end_inset
13595
13596
13597 \begin_inset Flex Code
13598 status collapsed
13599
13600 \begin_layout Plain Layout
13601 LeftMargin
13602 \end_layout
13603
13604 \end_inset
13605
13606 に同様.
13607 \end_layout
13608
13609 \begin_layout Description
13610 \begin_inset Flex Code
13611 status collapsed
13612
13613 \begin_layout Plain Layout
13614 Spacing
13615 \end_layout
13616
13617 \end_inset
13618
13619  [
13620 \begin_inset Flex Code
13621 status collapsed
13622
13623 \begin_layout Plain Layout
13624
13625 \emph on
13626 single
13627 \end_layout
13628
13629 \end_inset
13630
13631
13632 \begin_inset Flex Code
13633 status collapsed
13634
13635 \begin_layout Plain Layout
13636 onehalf
13637 \end_layout
13638
13639 \end_inset
13640
13641
13642 \begin_inset Flex Code
13643 status collapsed
13644
13645 \begin_layout Plain Layout
13646 double
13647 \end_layout
13648
13649 \end_inset
13650
13651
13652 \begin_inset Flex Code
13653 status collapsed
13654
13655 \begin_layout Plain Layout
13656 other
13657 \begin_inset space ~
13658 \end_inset
13659
13660 <
13661 \emph on
13662
13663 \emph default
13664 >
13665 \end_layout
13666
13667 \end_inset
13668
13669 ]
13670 \lang english
13671  
13672 \lang japanese
13673 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
13674 \begin_inset Flex Code
13675 status collapsed
13676
13677 \begin_layout Plain Layout
13678 single
13679 \end_layout
13680
13681 \end_inset
13682
13683
13684 \begin_inset Flex Code
13685 status collapsed
13686
13687 \begin_layout Plain Layout
13688 onehalf
13689 \end_layout
13690
13691 \end_inset
13692
13693
13694 \begin_inset Flex Code
13695 status collapsed
13696
13697 \begin_layout Plain Layout
13698 double
13699 \end_layout
13700
13701 \end_inset
13702
13703 は,それぞれ乗数1・1.25・1.667に対応します.引数
13704 \begin_inset Flex Code
13705 status collapsed
13706
13707 \begin_layout Plain Layout
13708 other
13709 \end_layout
13710
13711 \end_inset
13712
13713 を指定した場合には,実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
13714 \begin_inset Flex Code
13715 status collapsed
13716
13717 \begin_layout Plain Layout
13718 Spacing
13719 \end_layout
13720
13721 \end_inset
13722
13723 は,\SpecialChar LaTeX
13724 パッケージ
13725 \begin_inset Flex Code
13726 status collapsed
13727
13728 \begin_layout Plain Layout
13729 setspace
13730 \end_layout
13731
13732 \end_inset
13733
13734 パッケージを使用した,限定的な\SpecialChar LaTeX
13735 コードを生成することを意味することにご注意ください.
13736 \end_layout
13737
13738 \begin_layout Description
13739 \begin_inset Flex Code
13740 status collapsed
13741
13742 \begin_layout Plain Layout
13743 Spellcheck
13744 \end_layout
13745
13746 \end_inset
13747
13748  [
13749 \begin_inset Flex Code
13750 status collapsed
13751
13752 \begin_layout Plain Layout
13753 0
13754 \end_layout
13755
13756 \end_inset
13757
13758 ,
13759 \begin_inset space \thinspace{}
13760 \end_inset
13761
13762
13763 \begin_inset Flex Code
13764 status collapsed
13765
13766 \begin_layout Plain Layout
13767 1
13768 \end_layout
13769
13770 \end_inset
13771
13772 ] この様式の段落をスペルチェックするか否か.既定値は真です.
13773 \end_layout
13774
13775 \begin_layout Description
13776 \begin_inset Flex Code
13777 status collapsed
13778
13779 \begin_layout Plain Layout
13780 StepMasterCounter
13781 \end_layout
13782
13783 \end_inset
13784
13785  [
13786 \begin_inset Flex Code
13787 status collapsed
13788
13789 \begin_layout Plain Layout
13790
13791 \emph on
13792 0
13793 \end_layout
13794
13795 \end_inset
13796
13797 ,
13798 \begin_inset Flex Code
13799 status collapsed
13800
13801 \begin_layout Plain Layout
13802 1
13803 \end_layout
13804
13805 \end_inset
13806
13807 ] 新しいレイアウト群を開始する際に,このカウンタの親カウンタを進めるか否か.これは,現在のところ,
13808 \begin_inset Flex Code
13809 status collapsed
13810
13811 \begin_layout Plain Layout
13812 LabelType
13813 \end_layout
13814
13815 \end_inset
13816
13817
13818 \begin_inset Flex Code
13819 status collapsed
13820
13821 \begin_layout Plain Layout
13822 Enumerate
13823 \end_layout
13824
13825 \end_inset
13826
13827 の時のみ有効です.
13828 \end_layout
13829
13830 \begin_layout Description
13831 \begin_inset Flex Code
13832 status collapsed
13833
13834 \begin_layout Plain Layout
13835 TextFont
13836 \end_layout
13837
13838 \end_inset
13839
13840  本文に使うフォント.第
13841 \begin_inset CommandInset ref
13842 LatexCommand ref
13843 reference "subsec:フォント指定"
13844
13845 \end_inset
13846
13847 節参照.
13848 \end_layout
13849
13850 \begin_layout Description
13851 \begin_inset Flex Code
13852 status collapsed
13853
13854 \begin_layout Plain Layout
13855 TocLevel
13856 \end_layout
13857
13858 \end_inset
13859
13860  [
13861 \begin_inset Flex Code
13862 status collapsed
13863
13864 \begin_layout Plain Layout
13865 整数型=3
13866 \end_layout
13867
13868 \end_inset
13869
13870 ] 目次中でのこの様式の階層.これは,節見出しの自動連番に使用されます.
13871 \end_layout
13872
13873 \begin_layout Description
13874 \begin_inset Flex Code
13875 status collapsed
13876
13877 \begin_layout Plain Layout
13878 ToggleIndent
13879 \end_layout
13880
13881 \end_inset
13882
13883  [
13884 \emph on
13885
13886 \begin_inset Flex Code
13887 status collapsed
13888
13889 \begin_layout Plain Layout
13890 default
13891 \end_layout
13892
13893 \end_inset
13894
13895
13896 \emph default
13897
13898 \begin_inset Flex Code
13899 status collapsed
13900
13901 \begin_layout Plain Layout
13902 always
13903 \end_layout
13904
13905 \end_inset
13906
13907
13908 \begin_inset Flex Code
13909 status collapsed
13910
13911 \begin_layout Plain Layout
13912 never
13913 \end_layout
13914
13915 \end_inset
13916
13917 ] このタグは,この段落の1行目の行頭下げが,段落設定ダイアログで切り替えられるかどうかを決めます.
13918 \begin_inset Flex Code
13919 status collapsed
13920
13921 \begin_layout Plain Layout
13922 default
13923 \end_layout
13924
13925 \end_inset
13926
13927 が指定されると,文書設定が「行頭下げ」段落様式を使用しているときに,行頭下げを変更することができます.
13928 \begin_inset Flex Code
13929 status collapsed
13930
13931 \begin_layout Plain Layout
13932 always
13933 \end_layout
13934
13935 \end_inset
13936
13937 は,文書設定にかかわらず変更することができ,
13938 \begin_inset Flex Code
13939 status collapsed
13940
13941 \begin_layout Plain Layout
13942 never
13943 \end_layout
13944
13945 \end_inset
13946
13947 は,どのような場合でも変更することができません.
13948 \end_layout
13949
13950 \begin_layout Description
13951 \begin_inset Flex Code
13952 status collapsed
13953
13954 \begin_layout Plain Layout
13955 TopSep
13956 \end_layout
13957
13958 \end_inset
13959
13960  [
13961 \begin_inset Flex Code
13962 status collapsed
13963
13964 \begin_layout Plain Layout
13965 浮動小数点型=0
13966 \end_layout
13967
13968 \end_inset
13969
13970 ] このレイアウトを持つ一連の段落群の最初の段落と,その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,余白は単純に追加されるのではなく,それら
13971 の最大値がとられます.
13972 \end_layout
13973
13974 \begin_layout Subsection
13975 段落様式の国際化
13976 \begin_inset CommandInset label
13977 LatexCommand label
13978 name "subsec:段落様式の国際化"
13979
13980 \end_inset
13981
13982
13983 \end_layout
13984
13985 \begin_layout Standard
13986 \SpecialChar LyX
13987 は,長きにわたってレイアウト情報の国際化をサポートしてきましたが,第2.0版までは,これは操作画面にのみ適用されるものであって,たとえばPDF出力には適用されませ
13988 んでした.たとえば,フランスの著者が,「Theorem 1」の代わりに「
13989 \lang french
13990 Théorème
13991 \lang japanese
13992  1」としたければ,醜いハックに頼るしかありませんでした.Georg Baumのおかげで,これは解消されました.
13993 \end_layout
13994
13995 \begin_layout Standard
13996 もし
13997 \begin_inset Flex MenuItem
13998 status collapsed
13999
14000 \begin_layout Plain Layout
14001 Style
14002 \end_layout
14003
14004 \end_inset
14005
14006 が,組版文書に出力される文字列を定義するのであれば,非英語文書や複数言語文書をサポートするために,
14007 \begin_inset Flex MenuItem
14008 status collapsed
14009
14010 \begin_layout Plain Layout
14011 LangPreamble
14012 \end_layout
14013
14014 \end_inset
14015
14016
14017 \begin_inset Flex MenuItem
14018 status collapsed
14019
14020 \begin_layout Plain Layout
14021 BabelPreamble
14022 \end_layout
14023
14024 \end_inset
14025
14026 を使用することができます.以下の抜粋(
14027 \begin_inset Flex MenuItem
14028 status collapsed
14029
14030 \begin_layout Plain Layout
14031 theorems-ams.inc
14032 \end_layout
14033
14034 \end_inset
14035
14036 より)は,これがどう動作するかを示すものです.
14037 \end_layout
14038
14039 \begin_layout LyX-Code
14040 Preamble
14041 \end_layout
14042
14043 \begin_deeper
14044 \begin_layout LyX-Code
14045   
14046 \backslash
14047 theoremstyle{remark}
14048 \end_layout
14049
14050 \begin_layout LyX-Code
14051   
14052 \backslash
14053 newtheorem{claim}[thm]{
14054 \backslash
14055 protect
14056 \backslash
14057 claimname}
14058 \end_layout
14059
14060 \begin_layout LyX-Code
14061 EndPreamble
14062 \end_layout
14063
14064 \begin_layout LyX-Code
14065 LangPreamble
14066 \end_layout
14067
14068 \begin_layout LyX-Code
14069   
14070 \backslash
14071 providecommand{
14072 \backslash
14073 claimname}{_(Claim)}
14074 \end_layout
14075
14076 \begin_layout LyX-Code
14077 EndLangPreamble
14078 \end_layout
14079
14080 \begin_layout LyX-Code
14081 BabelPreamble
14082 \end_layout
14083
14084 \begin_layout LyX-Code
14085     
14086 \backslash
14087 addto
14088 \backslash
14089 captions$$lang{
14090 \backslash
14091 renewcommand{
14092 \backslash
14093 claimname}{_(Claim)}}
14094 \end_layout
14095
14096 \begin_layout LyX-Code
14097 EndBabelPreamble
14098 \end_layout
14099
14100 \end_deeper
14101 \begin_layout Standard
14102 原則として,
14103 \begin_inset Flex MenuItem
14104 status collapsed
14105
14106 \begin_layout Plain Layout
14107 LangPreamble
14108 \end_layout
14109
14110 \end_inset
14111
14112
14113 \begin_inset Flex MenuItem
14114 status collapsed
14115
14116 \begin_layout Plain Layout
14117 BabelPreamble
14118 \end_layout
14119
14120 \end_inset
14121
14122 タグ内には,有効な\SpecialChar LaTeX
14123 コードはすべて用いることができますが,実際においては,ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるの
14124 は,\SpecialChar LaTeX
14125 コマンド
14126 \begin_inset Flex Code
14127 status collapsed
14128
14129 \begin_layout Plain Layout
14130
14131 \backslash
14132 claimname
14133 \end_layout
14134
14135 \end_inset
14136
14137 とその
14138 \begin_inset Flex Code
14139 status collapsed
14140
14141 \begin_layout Plain Layout
14142
14143 \backslash
14144 newtheorem
14145 \end_layout
14146
14147 \end_inset
14148
14149 中での用い方です.
14150 \end_layout
14151
14152 \begin_layout Standard
14153 \begin_inset Flex Code
14154 status collapsed
14155
14156 \begin_layout Plain Layout
14157 LangPreamble
14158 \end_layout
14159
14160 \end_inset
14161
14162 タグは,文書全体の言語に基づいた国際化を提供します.タグの内容は,
14163 \begin_inset Flex Code
14164 status collapsed
14165
14166 \begin_layout Plain Layout
14167 Preamble
14168 \end_layout
14169
14170 \end_inset
14171
14172 タグと同様,プリアンブルに置かれるのですが,これを特別なものにしているのは,「関数」
14173 \begin_inset Flex Code
14174 status collapsed
14175
14176 \begin_layout Plain Layout
14177 _()
14178 \end_layout
14179
14180 \end_inset
14181
14182 が使用されていることです.これは,\SpecialChar LyX
14183 が\SpecialChar LaTeX
14184 出力を生成する際,その引数を文書言語に翻訳したもので置き換えられます.
14185 \end_layout
14186
14187 \begin_layout Standard
14188 \begin_inset Flex Code
14189 status collapsed
14190
14191 \begin_layout Plain Layout
14192 BabelPreamble
14193 \end_layout
14194
14195 \end_inset
14196
14197 タグは,複数言語文書をサポートし,
14198 \begin_inset Flex Code
14199 status collapsed
14200
14201 \begin_layout Plain Layout
14202 babel
14203 \end_layout
14204
14205 \end_inset
14206
14207 パッケージへのインタフェースを提供することを意図しているので,もう少し複雑です.その内容は,文書に現れる言語それぞれについて一度,プリアンブルに追加されます.こ
14208 の場合には,
14209 \begin_inset Flex Code
14210 status collapsed
14211
14212 \begin_layout Plain Layout
14213 _()
14214 \end_layout
14215
14216 \end_inset
14217
14218 の引数は,その当該言語への翻訳で置き換えられ,
14219 \begin_inset Flex Code
14220 status collapsed
14221
14222 \begin_layout Plain Layout
14223 $$lang
14224 \end_layout
14225
14226 \end_inset
14227
14228 は言語名(babelパッケージで使用されるもの)で置き換えられます.
14229 \end_layout
14230
14231 \begin_layout Standard
14232 したがって,フランス語のセクションを持つドイツ語文書では,以下のような内容がプリアンブルに追加されます
14233 \end_layout
14234
14235 \begin_layout LyX-Code
14236
14237 \backslash
14238 addto
14239 \backslash
14240 captionsfrench{
14241 \backslash
14242 renewcommand{
14243 \backslash
14244 claimname}{Affirmation}}
14245 \begin_inset Newline newline
14246 \end_inset
14247
14248
14249 \backslash
14250 addto
14251 \backslash
14252 captionsngerman{
14253 \backslash
14254 renewcommand{
14255 \backslash
14256 claimname}{Behauptung}}
14257 \begin_inset Newline newline
14258 \end_inset
14259
14260
14261 \backslash
14262 providecommand{
14263 \backslash
14264 claimname}{Behauptung}
14265 \end_layout
14266
14267 \begin_layout Standard
14268 それから,\SpecialChar LaTeX
14269
14270 \begin_inset Flex Code
14271 status collapsed
14272
14273 \begin_layout Plain Layout
14274 babel
14275 \end_layout
14276
14277 \end_inset
14278
14279 は協力して,出力に正しい文字列を生成します.
14280 \end_layout
14281
14282 \begin_layout Standard
14283 ここで注意しておくべき一つの重要な点は,翻訳は,
14284 \begin_inset Flex Code
14285 status collapsed
14286
14287 \begin_layout Plain Layout
14288 layouttranslations
14289 \end_layout
14290
14291 \end_inset
14292
14293 ファイルを通じて,\SpecialChar LyX
14294 自身によって提供されるということです.つまり,ユーザー作成のレイアウトファイルに入力された文字列は,
14295 \begin_inset Flex Code
14296 status collapsed
14297
14298 \begin_layout Plain Layout
14299 layouttranslations
14300 \end_layout
14301
14302 \end_inset
14303
14304 ファイルをそれに応じて変更しない限り,\SpecialChar LyX
14305 の国際化ルーチンでは取り扱われないので,
14306 \begin_inset Flex MenuItem
14307 status collapsed
14308
14309 \begin_layout Plain Layout
14310 LangPreamble
14311 \end_layout
14312
14313 \end_inset
14314
14315
14316 \begin_inset Flex MenuItem
14317 status collapsed
14318
14319 \begin_layout Plain Layout
14320 BabelPreamble
14321 \end_layout
14322
14323 \end_inset
14324
14325 は,事実上,\SpecialChar LyX
14326 とともに提供されるレイアウトファイルでのみ,使うことができるということを意味します.とはいえ,こういうことでありますので,将来的に\SpecialChar LyX
14327 に同梱させようとい
14328 う意図を以て作成されたレイアウトは,適切なところではすべて,これらのタグを使用するべきです.\SpecialChar LyX
14329 が提供する段落様式の翻訳は,マイナー更新(例えば2.1.x版から2.1.y版
14330 )では変更されないことに注意してください.しかしながら,メジャー更新(例えば2.0.x版から2.1.y版)では,新しい翻訳や修正が導入される可能性は大いにあります.
14331 \end_layout
14332
14333 \begin_layout Subsection
14334 フロート
14335 \begin_inset CommandInset label
14336 LatexCommand label
14337 name "subsec:フロート"
14338
14339 \end_inset
14340
14341
14342 \end_layout
14343
14344 \begin_layout Standard
14345 \SpecialChar LyX
14346 第1.3.0版以来,テキストクラス自体の中でフロート(
14347 \begin_inset Flex MenuItem
14348 status collapsed
14349
14350 \begin_layout Plain Layout
14351 figure
14352 \end_layout
14353
14354 \end_inset
14355
14356
14357 \begin_inset Flex MenuItem
14358 status collapsed
14359
14360 \begin_layout Plain Layout
14361 table
14362 \end_layout
14363
14364 \end_inset
14365
14366 ・\SpecialChar ldots
14367 )を定義することが可能となり,かつ必要となりました.標準的なフロートは
14368 \begin_inset Flex Code
14369 status collapsed
14370
14371 \begin_layout Plain Layout
14372 stdfloats.inc
14373 \end_layout
14374
14375 \end_inset
14376
14377 ファイルに含まれているので,作業中のレイアウトファイルに
14378 \end_layout
14379
14380 \begin_layout LyX-Code
14381 Input stdfloats.inc
14382 \end_layout
14383
14384 \begin_layout Standard
14385 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
14386 に同梱されているAGUクラスのように,それ以外のフロート型を提供するテキストクラスを実装するには,以下の情報が役立つであり
14387 ましょう.
14388 \end_layout
14389
14390 \begin_layout Description
14391 \begin_inset Flex Code
14392 status collapsed
14393
14394 \begin_layout Plain Layout
14395 AllowedPlacement
14396 \end_layout
14397
14398 \end_inset
14399
14400  [
14401 \begin_inset Flex Code
14402 status collapsed
14403
14404 \begin_layout Plain Layout
14405 文字列
14406 \end_layout
14407
14408 \end_inset
14409
14410 =!htbpH] このフロート型に許可された配置用の選択肢.値は,配置文字からなる文字列です.使用できる文字には,
14411 \emph on
14412 h
14413 \emph default
14414  (
14415 \begin_inset Quotes eld
14416 \end_inset
14417
14418 here if possible:可能ならば現在位置に
14419 \begin_inset Quotes erd
14420 \end_inset
14421
14422 ), 
14423 \emph on
14424 t
14425 \emph default
14426  (
14427 \begin_inset Quotes eld
14428 \end_inset
14429
14430 top of page:ページ上部
14431 \begin_inset Quotes erd
14432 \end_inset
14433
14434 )・
14435 \emph on
14436 b
14437 \emph default
14438  (
14439 \begin_inset Quotes eld
14440 \end_inset
14441
14442 bottom of page:ページ下部
14443 \begin_inset Quotes erd
14444 \end_inset
14445
14446 )・
14447 \emph on
14448 p
14449 \emph default
14450  (
14451 \begin_inset Quotes eld
14452 \end_inset
14453
14454 page of floats:フロートを独立したページに
14455 \begin_inset Quotes erd
14456 \end_inset
14457
14458 )・
14459 \emph on
14460 H
14461 \emph default
14462  (
14463 \begin_inset Quotes eld
14464 \end_inset
14465
14466 here definitely:何としても現在位置に置く
14467 \begin_inset Quotes erd
14468 \end_inset
14469
14470 )・
14471 \emph on
14472 !
14473 \emph default
14474  (
14475 \begin_inset Quotes eld
14476 \end_inset
14477
14478 ignore LaTeX rules:LaTeXの規則を無視する
14479 \begin_inset Quotes erd
14480 \end_inset
14481
14482 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,文字列として
14483 \emph on
14484 none
14485 \emph default
14486 を与えてください.
14487 \end_layout
14488
14489 \begin_layout Description
14490 \begin_inset Flex Code
14491 status collapsed
14492
14493 \begin_layout Plain Layout
14494 AllowsSideways
14495 \end_layout
14496
14497 \end_inset
14498
14499  [
14500 \begin_inset Flex Code
14501 status collapsed
14502
14503 \begin_layout Plain Layout
14504 0
14505 \end_layout
14506
14507 \end_inset
14508
14509 ,
14510 \begin_inset space \thinspace{}
14511 \end_inset
14512
14513
14514 \emph on
14515
14516 \begin_inset Flex Code
14517 status collapsed
14518
14519 \begin_layout Plain Layout
14520 1
14521 \end_layout
14522
14523 \end_inset
14524
14525
14526 \emph default
14527 ] フロートを,\SpecialChar LaTeX
14528 パッケージの
14529 \family typewriter
14530 rotfloat
14531 \family default
14532  (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
14533 \begin_inset Flex Code
14534 status collapsed
14535
14536 \begin_layout Plain Layout
14537 0
14538 \end_layout
14539
14540 \end_inset
14541
14542 を指定してください.
14543 \end_layout
14544
14545 \begin_layout Description
14546 \begin_inset Flex Code
14547 status collapsed
14548
14549 \begin_layout Plain Layout
14550 AllowsWide
14551 \end_layout
14552
14553 \end_inset
14554
14555  [
14556 \begin_inset Flex Code
14557 status collapsed
14558
14559 \begin_layout Plain Layout
14560 0
14561 \end_layout
14562
14563 \end_inset
14564
14565 ,
14566 \begin_inset space \thinspace{}
14567 \end_inset
14568
14569
14570 \emph on
14571
14572 \begin_inset Flex Code
14573 status collapsed
14574
14575 \begin_layout Plain Layout
14576 1
14577 \end_layout
14578
14579 \end_inset
14580
14581
14582 \emph default
14583 ] このフロートに,二段組段落において段落をまたぐ,星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
14584 \begin_inset Flex Code
14585 status collapsed
14586
14587 \begin_layout Plain Layout
14588 0
14589 \end_layout
14590
14591 \end_inset
14592
14593 を指定してください.
14594 \end_layout
14595
14596 \begin_layout Description
14597 \begin_inset Flex Code
14598 status collapsed
14599
14600 \begin_layout Plain Layout
14601 Extension
14602 \end_layout
14603
14604 \end_inset
14605
14606  [
14607 \begin_inset Flex Code
14608 status collapsed
14609
14610 \begin_layout Plain Layout
14611 文字列
14612 \end_layout
14613
14614 \end_inset
14615
14616 =
14617 \begin_inset Quotes erd
14618 \end_inset
14619
14620
14621 \begin_inset Quotes erd
14622 \end_inset
14623
14624 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
14625 がキャプションを書き込むファイルです.
14626 \end_layout
14627
14628 \begin_layout Description
14629 \begin_inset Flex Code
14630 status collapsed
14631
14632 \begin_layout Plain Layout
14633 GuiName
14634 \end_layout
14635
14636 \end_inset
14637
14638  [
14639 \begin_inset Flex Code
14640 status collapsed
14641
14642 \begin_layout Plain Layout
14643 文字列
14644 \end_layout
14645
14646 \end_inset
14647
14648 =
14649 \begin_inset Quotes erd
14650 \end_inset
14651
14652
14653 \begin_inset Quotes erd
14654 \end_inset
14655
14656 ] メニューとキャプションに使用される文字列.babelが使用される場合には,これは現在の言語に翻訳されます.
14657 \end_layout
14658
14659 \begin_layout Description
14660 \begin_inset Flex Code
14661 status collapsed
14662
14663 \begin_layout Plain Layout
14664 HTML*
14665 \end_layout
14666
14667 \end_inset
14668
14669  これらは,XHTML出力で使用されます.
14670 \begin_inset CommandInset ref
14671 LatexCommand ref
14672 reference "sec:XHTML出力のタグ"
14673
14674 \end_inset
14675
14676 をご覧ください.
14677 \end_layout
14678
14679 \begin_layout Description
14680 \begin_inset Flex Code
14681 status collapsed
14682
14683 \begin_layout Plain Layout
14684 IsPredefined
14685 \end_layout
14686
14687 \end_inset
14688
14689  [
14690 \begin_inset Flex Code
14691 status collapsed
14692
14693 \begin_layout Plain Layout
14694
14695 \emph on
14696 0
14697 \end_layout
14698
14699 \end_inset
14700
14701 ,
14702 \begin_inset space \thinspace{}
14703 \end_inset
14704
14705
14706 \begin_inset Flex Code
14707 status collapsed
14708
14709 \begin_layout Plain Layout
14710 1
14711 \end_layout
14712
14713 \end_inset
14714
14715 ] フロートがドキュメントクラス中に既に定義されているのか,あるいは\SpecialChar LaTeX
14716 パッケージ
14717 \begin_inset Flex Code
14718 status collapsed
14719
14720 \begin_layout Plain Layout
14721 float
14722 \end_layout
14723
14724 \end_inset
14725
14726 を読み込む必要があり,そのファイル内のものを使用して,オン・ザ・フライで定義するかを示します.既定は
14727 \begin_inset Flex Code
14728 status collapsed
14729
14730 \begin_layout Plain Layout
14731 0
14732 \end_layout
14733
14734 \end_inset
14735
14736 で,この場合
14737 \begin_inset Flex Code
14738 status collapsed
14739
14740 \begin_layout Plain Layout
14741 float
14742 \end_layout
14743
14744 \end_inset
14745
14746 を使用します.\SpecialChar LaTeX
14747 ドキュメントクラス中に既に定義されているときには,
14748 \begin_inset Flex Code
14749 status collapsed
14750
14751 \begin_layout Plain Layout
14752 0
14753 \end_layout
14754
14755 \end_inset
14756
14757 に設定しなくてはなりません.
14758 \end_layout
14759
14760 \begin_layout Description
14761 \begin_inset Flex Code
14762 status collapsed
14763
14764 \begin_layout Plain Layout
14765 ListCommand
14766 \end_layout
14767
14768 \end_inset
14769
14770  [
14771 \begin_inset Flex Code
14772 status collapsed
14773
14774 \begin_layout Plain Layout
14775 文字列
14776 \end_layout
14777
14778 \end_inset
14779
14780 =
14781 \begin_inset Quotes erd
14782 \end_inset
14783
14784
14785 \begin_inset Quotes erd
14786 \end_inset
14787
14788 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
14789 \backslash
14790 」は書きません.
14791 \begin_inset Flex Code
14792 status collapsed
14793
14794 \begin_layout Plain Layout
14795 NeedsFloatPkg
14796 \end_layout
14797
14798 \end_inset
14799
14800 が偽の時には,このコマンドを生成する標準的な方法はないので,これは
14801 \emph on
14802 必ず
14803 \emph default
14804 指定しなくてはなりません.
14805 \begin_inset Flex Code
14806 status collapsed
14807
14808 \begin_layout Plain Layout
14809 NeedsFloatPkg
14810 \end_layout
14811
14812 \end_inset
14813
14814 が真の時は,標準的な方法が存在するので,これは無視されます.
14815 \end_layout
14816
14817 \begin_layout Description
14818 \begin_inset Flex Code
14819 status collapsed
14820
14821 \begin_layout Plain Layout
14822 ListName
14823 \end_layout
14824
14825 \end_inset
14826
14827  [
14828 \begin_inset Flex Code
14829 status collapsed
14830
14831 \begin_layout Plain Layout
14832 文字列
14833 \end_layout
14834
14835 \end_inset
14836
14837 =
14838 \begin_inset Quotes erd
14839 \end_inset
14840
14841
14842 \begin_inset Quotes erd
14843 \end_inset
14844
14845 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
14846 中では,これは画面上のラベルとして使用されます.また,見出しとして使用するために,La\SpecialChar TeX
14847 に渡さ
14848 れ,XHTML出力でも見出しとして使用されます.これは,文書言語に翻訳されます.
14849 \end_layout
14850
14851 \begin_layout Description
14852 \begin_inset Flex Code
14853 status collapsed
14854
14855 \begin_layout Plain Layout
14856 NumberWithin
14857 \end_layout
14858
14859 \end_inset
14860
14861  [
14862 \begin_inset Flex Code
14863 status collapsed
14864
14865 \begin_layout Plain Layout
14866 文字列
14867 \end_layout
14868
14869 \end_inset
14870
14871 =
14872 \begin_inset Quotes erd
14873 \end_inset
14874
14875
14876 \begin_inset Quotes erd
14877 \end_inset
14878
14879 ] この(非必須の)引数は,このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
14880 \begin_inset Flex Code
14881 status collapsed
14882
14883 \begin_layout Plain Layout
14884 NumberWithin
14885 \end_layout
14886
14887 \end_inset
14888
14889 が「
14890 \begin_inset Flex Code
14891 status collapsed
14892
14893 \begin_layout Plain Layout
14894 chapter
14895 \end_layout
14896
14897 \end_inset
14898
14899 」に指定されていれば,フロートは章ごとに番号が振り直されます.
14900 \end_layout
14901
14902 \begin_layout Description
14903 \begin_inset Flex Code
14904 status collapsed
14905
14906 \begin_layout Plain Layout
14907 Placement
14908 \end_layout
14909
14910 \end_inset
14911
14912  [
14913 \begin_inset Flex Code
14914 status collapsed
14915
14916 \begin_layout Plain Layout
14917 文字列
14918 \end_layout
14919
14920 \end_inset
14921
14922 =
14923 \begin_inset Quotes erd
14924 \end_inset
14925
14926
14927 \begin_inset Quotes erd
14928 \end_inset
14929
14930 ] このクラスのフロートの既定の配置法.文字列は,標準的な\SpecialChar LaTeX
14931 表記に従い,
14932 \begin_inset Flex Code
14933 status collapsed
14934
14935 \begin_layout Plain Layout
14936 t
14937 \end_layout
14938
14939 \end_inset
14940
14941 ならば上部(top),
14942 \begin_inset Flex Code
14943 status collapsed
14944
14945 \begin_layout Plain Layout
14946 b
14947 \end_layout
14948
14949 \end_inset
14950
14951 ならば下部(bottom),
14952 \begin_inset Flex Code
14953 status collapsed
14954
14955 \begin_layout Plain Layout
14956 p
14957 \end_layout
14958
14959 \end_inset
14960
14961 ならばページ(page),
14962 \begin_inset Flex Code
14963 status collapsed
14964
14965 \begin_layout Plain Layout
14966 h
14967 \end_layout
14968
14969 \end_inset
14970
14971 ならばここ(here)を表します
14972 \begin_inset Foot
14973 status collapsed
14974
14975 \begin_layout Plain Layout
14976 \SpecialChar LaTeX
14977 同様,文字列中でのこれらの文字の順序は関係ありません.
14978 \end_layout
14979
14980 \end_inset
14981
14982 .これらの他に新しい型
14983 \begin_inset Flex Code
14984 status collapsed
14985
14986 \begin_layout Plain Layout
14987 H
14988 \end_layout
14989
14990 \end_inset
14991
14992 があり,これはフロートを「ここ」に置いていいけれども他の場所はだめ,というものなので,本当はフロートにあるものではありません.しかし,
14993 \begin_inset Flex Code
14994 status collapsed
14995
14996 \begin_layout Plain Layout
14997 H
14998 \end_layout
14999
15000 \end_inset
15001
15002 指定子は特別なものであり,その細かい実装上の理由で,組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,代わり
15003 に「
15004 \begin_inset Flex Code
15005 status collapsed
15006
15007 \begin_layout Plain Layout
15008 tbp
15009 \end_layout
15010
15011 \end_inset
15012
15013 」を指定してください.
15014 \end_layout
15015
15016 \begin_layout Description
15017 \begin_inset Flex Code
15018 status collapsed
15019
15020 \begin_layout Plain Layout
15021 RefPrefix
15022 \end_layout
15023
15024 \end_inset
15025
15026  [
15027 \begin_inset Flex Code
15028 status collapsed
15029
15030 \begin_layout Plain Layout
15031 文字列
15032 \end_layout
15033
15034 \end_inset
15035
15036 ] この型のフロートを参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.コピーした様式が設定した
15037 \begin_inset Flex Code
15038 status collapsed
15039
15040 \begin_layout Plain Layout
15041 RefPrefix
15042 \end_layout
15043
15044 \end_inset
15045
15046 は,特別な文字列「OFF」(すべて大文字)を使えば,いつでも削除することができます.
15047 \end_layout
15048
15049 \begin_layout Description
15050 \begin_inset Flex Code
15051 status collapsed
15052
15053 \begin_layout Plain Layout
15054 Style
15055 \end_layout
15056
15057 \end_inset
15058
15059  [
15060 \begin_inset Flex Code
15061 status collapsed
15062
15063 \begin_layout Plain Layout
15064 文字列
15065 \end_layout
15066
15067 \end_inset
15068
15069 =
15070 \begin_inset Quotes erd
15071 \end_inset
15072
15073
15074 \begin_inset Quotes erd
15075 \end_inset
15076
15077
15078 \begin_inset Flex Code
15079 status collapsed
15080
15081 \begin_layout Plain Layout
15082
15083 \backslash
15084 newfloat
15085 \end_layout
15086
15087 \end_inset
15088
15089 を使用してフロートを定義する際に使用される様式.
15090 \end_layout
15091
15092 \begin_layout Description
15093 \begin_inset Flex Code
15094 status collapsed
15095
15096 \begin_layout Plain Layout
15097 Type
15098 \end_layout
15099
15100 \end_inset
15101
15102  [
15103 \begin_inset Flex Code
15104 status collapsed
15105
15106 \begin_layout Plain Layout
15107 文字列
15108 \end_layout
15109
15110 \end_inset
15111
15112 =
15113 \begin_inset Quotes erd
15114 \end_inset
15115
15116
15117 \begin_inset Quotes erd
15118 \end_inset
15119
15120 ] プログラムやアルゴリズムのような,フロートの新しいクラス「型」.適切な
15121 \begin_inset Flex Code
15122 status collapsed
15123
15124 \begin_layout Plain Layout
15125
15126 \backslash
15127 newfloat
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 \backslash
15139 begin{program}
15140 \end_layout
15141
15142 \end_inset
15143
15144
15145 \begin_inset Flex Code
15146 status collapsed
15147
15148 \begin_layout Plain Layout
15149
15150 \backslash
15151 end{algorithm*}
15152 \end_layout
15153
15154 \end_inset
15155
15156 といったコマンドが利用できます.
15157 \end_layout
15158
15159 \begin_layout Description
15160 \begin_inset Flex Code
15161 status collapsed
15162
15163 \begin_layout Plain Layout
15164 UsesFloatPkg
15165 \end_layout
15166
15167 \end_inset
15168
15169  [
15170 \begin_inset Flex Code
15171 status collapsed
15172
15173 \begin_layout Plain Layout
15174 0
15175 \end_layout
15176
15177 \end_inset
15178
15179 ,
15180 \begin_inset space \thinspace{}
15181 \end_inset
15182
15183
15184 \begin_inset Flex Code
15185 status collapsed
15186
15187 \begin_layout Plain Layout
15188
15189 \emph on
15190 1
15191 \end_layout
15192
15193 \end_inset
15194
15195 ] このフロートが,クラスファイルやパッケージ中で,\SpecialChar LaTeX
15196 パッケージ
15197 \begin_inset Flex Code
15198 status collapsed
15199
15200 \begin_layout Plain Layout
15201 float
15202 \end_layout
15203
15204 \end_inset
15205
15206 が提供しているものを使用して定義されているのか,\SpecialChar LyX
15207 自身がオン・ザ・フライで定義しているのかを示します.
15208 \end_layout
15209
15210 \begin_layout Standard
15211 \begin_inset Flex Code
15212 status collapsed
15213
15214 \begin_layout Plain Layout
15215
15216 \emph on
15217 type
15218 \end_layout
15219
15220 \end_inset
15221
15222 型のフロートを定義すると,自動的に
15223 \emph on
15224 対応する
15225 \emph default
15226
15227 \begin_inset Flex Code
15228 status collapsed
15229
15230 \begin_layout Plain Layout
15231
15232 \emph on
15233 type
15234 \end_layout
15235
15236 \end_inset
15237
15238 名カウンタが定義されます.
15239 \end_layout
15240
15241 \begin_layout Subsection
15242 自由差込枠と差込枠レイアウト
15243 \begin_inset CommandInset label
15244 LatexCommand label
15245 name "subsec:任意設定差込枠"
15246
15247 \end_inset
15248
15249
15250 \end_layout
15251
15252 \begin_layout Standard
15253 自由差込枠には次の3種類があります.
15254 \end_layout
15255
15256 \begin_layout Itemize
15257 文字様式(
15258 \begin_inset Flex Code
15259 status collapsed
15260
15261 \begin_layout Plain Layout
15262 CharStyle
15263 \end_layout
15264
15265 \end_inset
15266
15267 ).これは,
15268 \begin_inset Flex Code
15269 status collapsed
15270
15271 \begin_layout Plain Layout
15272
15273 \backslash
15274 noun
15275 \end_layout
15276
15277 \end_inset
15278
15279
15280 \begin_inset Flex Code
15281 status collapsed
15282
15283 \begin_layout Plain Layout
15284
15285 \backslash
15286 code
15287 \end_layout
15288
15289 \end_inset
15290
15291 などの\SpecialChar LaTeX
15292 コマンドに対応した意味論的マークアップを定義するものです.
15293 \end_layout
15294
15295 \begin_layout Itemize
15296 ユーザ設定(
15297 \begin_inset Flex Code
15298 status collapsed
15299
15300 \begin_layout Plain Layout
15301 Custom
15302 \end_layout
15303
15304 \end_inset
15305
15306 ).これは,\SpecialChar TeX
15307 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,これは
15308 \begin_inset Flex Code
15309 status collapsed
15310
15311 \begin_layout Plain Layout
15312 endnote
15313 \end_layout
15314
15315 \end_inset
15316
15317 モジュール中で定義されています.
15318 \end_layout
15319
15320 \begin_layout Itemize
15321 XML要素(
15322 \begin_inset Flex Code
15323 status collapsed
15324
15325 \begin_layout Plain Layout
15326 Element
15327 \end_layout
15328
15329 \end_inset
15330
15331 ).DocBookクラスで使用するものです.
15332 \end_layout
15333
15334 \begin_layout Standard
15335 自由差込枠は,以下で説明する
15336 \begin_inset Flex Code
15337 status collapsed
15338
15339 \begin_layout Plain Layout
15340 InsetLayout
15341 \end_layout
15342
15343 \end_inset
15344
15345 タグを使用して定義されます.
15346 \end_layout
15347
15348 \begin_layout Standard
15349 \begin_inset Flex Code
15350 status collapsed
15351
15352 \begin_layout Plain Layout
15353 InsetLayout
15354 \end_layout
15355
15356 \end_inset
15357
15358 タグは,もう一つ別の機能も提供します.これを使えば,いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
15359 \begin_inset Flex Code
15360 status collapsed
15361
15362 \begin_layout Plain Layout
15363 InsetLayout
15364 \end_layout
15365
15366 \end_inset
15367
15368 は自由差込枠を定義することの他に,脚註・傍註・註釈差込枠・\SpecialChar TeX
15369 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザ
15370 ー定義するのに使用されます.
15371 \end_layout
15372
15373 \begin_layout Standard
15374 \begin_inset Flex Code
15375 status collapsed
15376
15377 \begin_layout Plain Layout
15378 InsetLayout
15379 \end_layout
15380
15381 \end_inset
15382
15383 定義は以下の形の行では始まらなくてはなりません.
15384 \end_layout
15385
15386 \begin_layout LyX-Code
15387 InsetLayout <型>
15388 \end_layout
15389
15390 \begin_layout Standard
15391 ここで
15392 \begin_inset Flex Code
15393 status collapsed
15394
15395 \begin_layout Plain Layout
15396 <型>
15397 \end_layout
15398
15399 \end_inset
15400
15401 は,レイアウトを定義しようとしている差込枠を指し,4つの場合があります.
15402 \end_layout
15403
15404 \begin_layout Enumerate
15405 既存の差込枠のレイアウトを変更する場合.この場合,
15406 \begin_inset Flex Code
15407 status collapsed
15408
15409 \begin_layout Plain Layout
15410 <型>
15411 \end_layout
15412
15413 \end_inset
15414
15415 は以下のいずれかになります:
15416 \begin_inset Flex Code
15417 status collapsed
15418
15419 \begin_layout Plain Layout
15420 Algorithm
15421 \end_layout
15422
15423 \end_inset
15424
15425
15426 \begin_inset Flex Code
15427 status collapsed
15428
15429 \begin_layout Plain Layout
15430 Branch
15431 \end_layout
15432
15433 \end_inset
15434
15435
15436 \begin_inset Flex Code
15437 status collapsed
15438
15439 \begin_layout Plain Layout
15440 Box
15441 \end_layout
15442
15443 \end_inset
15444
15445
15446 \begin_inset Flex Code
15447 status collapsed
15448
15449 \begin_layout Plain Layout
15450 Box:shaded
15451 \end_layout
15452
15453 \end_inset
15454
15455
15456 \begin_inset Flex Code
15457 status collapsed
15458
15459 \begin_layout Plain Layout
15460 Caption:Standard
15461 \end_layout
15462
15463 \end_inset
15464
15465
15466 \begin_inset Flex Code
15467 status collapsed
15468
15469 \begin_layout Plain Layout
15470 ERT
15471 \end_layout
15472
15473 \end_inset
15474
15475
15476 \begin_inset Flex Code
15477 status collapsed
15478
15479 \begin_layout Plain Layout
15480 Figure
15481 \end_layout
15482
15483 \end_inset
15484
15485
15486 \begin_inset Flex Code
15487 status collapsed
15488
15489 \begin_layout Plain Layout
15490 Foot
15491 \end_layout
15492
15493 \end_inset
15494
15495
15496 \begin_inset Flex Code
15497 status collapsed
15498
15499 \begin_layout Plain Layout
15500 Index
15501 \end_layout
15502
15503 \end_inset
15504
15505
15506 \begin_inset Flex Code
15507 status collapsed
15508
15509 \begin_layout Plain Layout
15510 Info
15511 \end_layout
15512
15513 \end_inset
15514
15515
15516 \begin_inset Flex Code
15517 status collapsed
15518
15519 \begin_layout Plain Layout
15520 Info:menu
15521 \end_layout
15522
15523 \end_inset
15524
15525
15526 \begin_inset Flex Code
15527 status collapsed
15528
15529 \begin_layout Plain Layout
15530 Info:shortcut
15531 \end_layout
15532
15533 \end_inset
15534
15535
15536 \begin_inset Flex Code
15537 status collapsed
15538
15539 \begin_layout Plain Layout
15540 Info:shortcuts
15541 \end_layout
15542
15543 \end_inset
15544
15545
15546 \begin_inset Flex Code
15547 status collapsed
15548
15549 \begin_layout Plain Layout
15550 Listings
15551 \end_layout
15552
15553 \end_inset
15554
15555
15556 \begin_inset Flex Code
15557 status collapsed
15558
15559 \begin_layout Plain Layout
15560 Marginal
15561 \end_layout
15562
15563 \end_inset
15564
15565
15566 \begin_inset Flex Code
15567 status collapsed
15568
15569 \begin_layout Plain Layout
15570 Note:Comment
15571 \end_layout
15572
15573 \end_inset
15574
15575
15576 \begin_inset Flex Code
15577 status collapsed
15578
15579 \begin_layout Plain Layout
15580 Note:Note
15581 \end_layout
15582
15583 \end_inset
15584
15585
15586 \begin_inset Flex Code
15587 status collapsed
15588
15589 \begin_layout Plain Layout
15590 Note:GreyedOut
15591 \end_layout
15592
15593 \end_inset
15594
15595
15596 \begin_inset Flex Code
15597 status collapsed
15598
15599 \begin_layout Plain Layout
15600 Table
15601 \end_layout
15602
15603 \end_inset
15604
15605
15606 \begin_inset Flex Code
15607 status collapsed
15608
15609 \begin_layout Plain Layout
15610 URL
15611 \end_layout
15612
15613 \end_inset
15614
15615
15616 \end_layout
15617
15618 \begin_layout Enumerate
15619 自由差込枠のレイアウトを定義する場合.この場合,
15620 \begin_inset Flex Code
15621 status collapsed
15622
15623 \begin_layout Plain Layout
15624 <型>
15625 \end_layout
15626
15627 \end_inset
15628
15629
15630 \begin_inset Flex Code
15631 status collapsed
15632
15633 \begin_layout Plain Layout
15634 Flex:<名称>
15635 \end_layout
15636
15637 \end_inset
15638
15639 の形でなくてはなりません.ここで,
15640 \begin_inset Flex Code
15641 status collapsed
15642
15643 \begin_layout Plain Layout
15644 名称
15645 \end_layout
15646
15647 \end_inset
15648
15649 は,既存の自由差込枠で使用されていない有効な識別子であれば,何でも構いません.識別子には空白を入れることもできますが,この場合には全体を引用符で囲まなくてはなり
15650 ません.自由差込枠の定義には,この定義がどの差込枠型なのか宣言するために,
15651 \begin_inset Flex Code
15652 status collapsed
15653
15654 \begin_layout Plain Layout
15655 LyXType
15656 \end_layout
15657
15658 \end_inset
15659
15660 項目が含まれていなくてはならないことに注意してください.
15661 \end_layout
15662
15663 \begin_layout Enumerate
15664 ユーザー定義派生枝を定義する場合.この場合,
15665 \begin_inset Flex Code
15666 status collapsed
15667
15668 \begin_layout Plain Layout
15669 <型>
15670 \end_layout
15671
15672 \end_inset
15673
15674 は「
15675 \begin_inset Flex Code
15676 status collapsed
15677
15678 \begin_layout Plain Layout
15679 Branch:<名称>
15680 \end_layout
15681
15682 \end_inset
15683
15684 」の形でなくてはなりません.ここで,
15685 \begin_inset Flex Code
15686 status collapsed
15687
15688 \begin_layout Plain Layout
15689 名称
15690 \end_layout
15691
15692 \end_inset
15693
15694 は,ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主
15695 な目的は,ユーザーの必要に応じて,特定の派生枝を\SpecialChar LaTeX
15696 がくるむことができるようにすることです.
15697 \end_layout
15698
15699 \begin_layout Enumerate
15700 ユーザー(またはクラス)定義のキャプションを定義する場合.この場合,
15701 \begin_inset Flex Code
15702 status collapsed
15703
15704 \begin_layout Plain Layout
15705 <型>
15706 \end_layout
15707
15708 \end_inset
15709
15710 は「
15711 \begin_inset Flex Code
15712 status collapsed
15713
15714 \begin_layout Plain Layout
15715 Caption:<名称>
15716 \end_layout
15717
15718 \end_inset
15719
15720 」の形でなくてはなりません.ここで,
15721 \begin_inset Flex Code
15722 status collapsed
15723
15724 \begin_layout Plain Layout
15725 名称
15726 \end_layout
15727
15728 \end_inset
15729
15730 は,メニューに表示されるキャプション名です.応用例については,標準キャプション(
15731 \begin_inset Flex Code
15732 status collapsed
15733
15734 \begin_layout Plain Layout
15735 Caption:Standard
15736 \end_layout
15737
15738 \end_inset
15739
15740 ),若しくはKOMA-Scriptクラスのクラス定義キャプション(
15741 \begin_inset Flex Code
15742 status collapsed
15743
15744 \begin_layout Plain Layout
15745 Caption:Above
15746 \end_layout
15747
15748 \end_inset
15749
15750
15751 \begin_inset Flex Code
15752 status collapsed
15753
15754 \begin_layout Plain Layout
15755 Caption:Below
15756 \end_layout
15757
15758 \end_inset
15759
15760 ),
15761 \family sans
15762 多言語キャプション
15763 \family default
15764 モジュール(
15765 \begin_inset Flex Code
15766 status collapsed
15767
15768 \begin_layout Plain Layout
15769 Caption:\SpecialChar allowbreak
15770 Bicaption
15771 \end_layout
15772
15773 \end_inset
15774
15775 )をご覧ください.
15776 \end_layout
15777
15778 \begin_layout Standard
15779 \begin_inset Flex Code
15780 status collapsed
15781
15782 \begin_layout Plain Layout
15783 InsetLayout
15784 \end_layout
15785
15786 \end_inset
15787
15788 定義には以下の項目を入れることができます.
15789 \end_layout
15790
15791 \begin_layout Description
15792 \begin_inset Flex Code
15793 status collapsed
15794
15795 \begin_layout Plain Layout
15796 AddToToc
15797 \end_layout
15798
15799 \end_inset
15800
15801  [
15802 \begin_inset Flex Code
15803 status collapsed
15804
15805 \begin_layout Plain Layout
15806 文字列
15807 \end_layout
15808
15809 \end_inset
15810
15811 =""] この差込枠は,この型の一覧表に表示されます.空の文字列を入れると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドも参
15812 照してください.これは,自由差込枠にのみ実装されています.既定値:無効.
15813 \end_layout
15814
15815 \begin_layout Description
15816 \begin_inset Flex Code
15817 status collapsed
15818
15819 \begin_layout Plain Layout
15820 Argument
15821 \end_layout
15822
15823 \end_inset
15824
15825  [
15826 \begin_inset Flex Code
15827 status collapsed
15828
15829 \begin_layout Plain Layout
15830 整数
15831 \end_layout
15832
15833 \end_inset
15834
15835 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引数番号を定義します.定義は
15836 \begin_inset Flex Code
15837 status collapsed
15838
15839 \begin_layout Plain Layout
15840 EndArgument
15841 \end_layout
15842
15843 \end_inset
15844
15845 で閉じなくてはなりません.詳細は第
15846 \begin_inset CommandInset ref
15847 LatexCommand ref
15848 reference "subsec:段落様式"
15849
15850 \end_inset
15851
15852 節参照.
15853 \end_layout
15854
15855 \begin_layout Description
15856 \begin_inset Flex Code
15857 status collapsed
15858
15859 \begin_layout Plain Layout
15860 BabelPreamble
15861 \end_layout
15862
15863 \end_inset
15864
15865  言語コマンドを変更するプリアンブル.第
15866 \begin_inset CommandInset ref
15867 LatexCommand ref
15868 reference "subsec:段落様式の国際化"
15869
15870 \end_inset
15871
15872 節参照.
15873 \end_layout
15874
15875 \begin_layout Description
15876 \begin_inset Flex Code
15877 status collapsed
15878
15879 \begin_layout Plain Layout
15880 BgColor
15881 \end_layout
15882
15883 \end_inset
15884
15885  [
15886 \begin_inset Flex Code
15887 status collapsed
15888
15889 \begin_layout Plain Layout
15890 <名称>
15891 \end_layout
15892
15893 \end_inset
15894
15895 ] 差込枠の背景色.使用できる色名一覧は第
15896 \begin_inset CommandInset ref
15897 LatexCommand ref
15898 reference "chap:色名"
15899
15900 \end_inset
15901
15902 節参照.
15903 \end_layout
15904
15905 \begin_layout Description
15906 \begin_inset Flex Code
15907 status collapsed
15908
15909 \begin_layout Plain Layout
15910 ContentAsLabel
15911 \end_layout
15912
15913 \end_inset
15914
15915  [
15916 \begin_inset Flex Code
15917 status collapsed
15918
15919 \begin_layout Plain Layout
15920
15921 \emph on
15922 0
15923 \end_layout
15924
15925 \end_inset
15926
15927 ,
15928 \begin_inset space \thinspace{}
15929 \end_inset
15930
15931
15932 \begin_inset Flex Code
15933 status collapsed
15934
15935 \begin_layout Plain Layout
15936 1
15937 \end_layout
15938
15939 \end_inset
15940
15941 ] 差込枠を閉じた際,差込枠の内容をラベルとして使用するか否か.既定値は偽です.
15942 \end_layout
15943
15944 \begin_layout Description
15945 \begin_inset Flex Code
15946 status collapsed
15947
15948 \begin_layout Plain Layout
15949 CopyStyle
15950 \end_layout
15951
15952 \end_inset
15953
15954  [<型>] 段落様式と同様です.第
15955 \begin_inset CommandInset ref
15956 LatexCommand ref
15957 reference "subsec:段落様式"
15958
15959 \end_inset
15960
15961 節参照のこと.完全な型を指定する必要があることに注意してください.例:
15962 \begin_inset Flex Code
15963 status collapsed
15964
15965 \begin_layout Plain Layout
15966 CopyStyle Flex:<名称>
15967 \end_layout
15968
15969 \end_inset
15970
15971
15972 \end_layout
15973
15974 \begin_layout Description
15975 \begin_inset Flex Code
15976 status collapsed
15977
15978 \begin_layout Plain Layout
15979 CustomPars
15980 \end_layout
15981
15982 \end_inset
15983
15984  [
15985 \begin_inset Flex Code
15986 status collapsed
15987
15988 \begin_layout Plain Layout
15989
15990 \emph on
15991 0
15992 \end_layout
15993
15994 \end_inset
15995
15996 ,
15997 \begin_inset space \thinspace{}
15998 \end_inset
15999
16000
16001 \begin_inset Flex Code
16002 status collapsed
16003
16004 \begin_layout Plain Layout
16005 1
16006 \end_layout
16007
16008 \end_inset
16009
16010 ] 段落を設定するのに,段落設定ダイアログをユーザが使えるかどうかを指定します.
16011 \end_layout
16012
16013 \begin_layout Description
16014 \begin_inset Flex Code
16015 status collapsed
16016
16017 \begin_layout Plain Layout
16018 Decoration
16019 \end_layout
16020
16021 \end_inset
16022
16023  差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
16024 \begin_inset Flex Code
16025 status collapsed
16026
16027 \begin_layout Plain Layout
16028 Classic
16029 \end_layout
16030
16031 \end_inset
16032
16033
16034 \begin_inset Flex Code
16035 status collapsed
16036
16037 \begin_layout Plain Layout
16038 Minimalistic
16039 \end_layout
16040
16041 \end_inset
16042
16043
16044 \begin_inset Flex Code
16045 status collapsed
16046
16047 \begin_layout Plain Layout
16048 Conglomerate
16049 \end_layout
16050
16051 \end_inset
16052
16053 のいずれかを指定することができます.脚註は通常
16054 \begin_inset Flex Code
16055 status collapsed
16056
16057 \begin_layout Plain Layout
16058 Classic
16059 \end_layout
16060
16061 \end_inset
16062
16063 を使用し,\SpecialChar TeX
16064 コード差込枠は通常
16065 \begin_inset Flex Code
16066 status collapsed
16067
16068 \begin_layout Plain Layout
16069 Minimalistic
16070 \end_layout
16071
16072 \end_inset
16073
16074 ,文字様式は
16075 \begin_inset Flex Code
16076 status collapsed
16077
16078 \begin_layout Plain Layout
16079 Conglomerate
16080 \end_layout
16081
16082 \end_inset
16083
16084 を使用します.
16085 \end_layout
16086
16087 \begin_layout Description
16088 \begin_inset Flex Code
16089 status collapsed
16090
16091 \begin_layout Plain Layout
16092 Display
16093 \end_layout
16094
16095 \end_inset
16096
16097  [
16098 \begin_inset Flex Code
16099 status collapsed
16100
16101 \begin_layout Plain Layout
16102 0
16103 \end_layout
16104
16105 \end_inset
16106
16107 ,
16108 \begin_inset space \thinspace{}
16109 \end_inset
16110
16111
16112 \begin_inset Flex Code
16113 status collapsed
16114
16115 \begin_layout Plain Layout
16116
16117 \emph on
16118 1
16119 \end_layout
16120
16121 \end_inset
16122
16123
16124 \begin_inset Flex Code
16125 status collapsed
16126
16127 \begin_layout Plain Layout
16128 LatexType
16129 \end_layout
16130
16131 \end_inset
16132
16133
16134 \begin_inset Flex Code
16135 status collapsed
16136
16137 \begin_layout Plain Layout
16138 Environment
16139 \end_layout
16140
16141 \end_inset
16142
16143 の時のみ意味をもちます.環境を,出力中で独立して出力させるか,周囲のテキストとインラインで出力させるかを示します.偽にすると,\SpecialChar LaTeX
16144 環境は,
16145 \begin_inset Flex Code
16146 status collapsed
16147
16148 \begin_layout Plain Layout
16149
16150 \backslash
16151 begin{LatexName}
16152 \end_layout
16153
16154 \end_inset
16155
16156 タグと
16157 \begin_inset Flex Code
16158 status collapsed
16159
16160 \begin_layout Plain Layout
16161
16162 \backslash
16163 end{LatexName}
16164 \end_layout
16165
16166 \end_inset
16167
16168 タグの後の空白(改行文字を含む)を無視するものと仮定します.
16169 \end_layout
16170
16171 \begin_layout Description
16172 \begin_inset Flex Code
16173 status collapsed
16174
16175 \begin_layout Plain Layout
16176 End
16177 \end_layout
16178
16179 \end_inset
16180
16181  
16182 \begin_inset Flex Code
16183 status collapsed
16184
16185 \begin_layout Plain Layout
16186 InsetLayout
16187 \end_layout
16188
16189 \end_inset
16190
16191 宣言を閉じるのに必要です.
16192 \end_layout
16193
16194 \begin_layout Description
16195 \begin_inset Flex Code
16196 status collapsed
16197
16198 \begin_layout Plain Layout
16199 Font
16200 \end_layout
16201
16202 \end_inset
16203
16204  本文本体とラベル
16205 \emph on
16206 両方に
16207 \emph default
16208 使用されるフォントです.第
16209 \begin_inset CommandInset ref
16210 LatexCommand ref
16211 reference "subsec:フォント指定"
16212
16213 \end_inset
16214
16215 節を参照.このフォントを定義すると自動的に
16216 \begin_inset Flex Code
16217 status collapsed
16218
16219 \begin_layout Plain Layout
16220 LabelFont
16221 \end_layout
16222
16223 \end_inset
16224
16225 も同じ値に定義されるので,これらを別々の値にしたいときは,これを先に定義してから後に
16226 \begin_inset Flex Code
16227 status collapsed
16228
16229 \begin_layout Plain Layout
16230 LabelFont
16231 \end_layout
16232
16233 \end_inset
16234
16235 を定義しなくてはならないことに注意してください.
16236 \end_layout
16237
16238 \begin_layout Description
16239 \begin_inset Flex Code
16240 status collapsed
16241
16242 \begin_layout Plain Layout
16243 FixedWidthPreambleEncoding
16244 \end_layout
16245
16246 \end_inset
16247
16248  [
16249 \begin_inset Flex Code
16250 status collapsed
16251
16252 \begin_layout Plain Layout
16253
16254 \emph on
16255 0
16256 \end_layout
16257
16258 \end_inset
16259
16260 ,
16261 \begin_inset space \thinspace{}
16262 \end_inset
16263
16264
16265 \begin_inset Flex Code
16266 status collapsed
16267
16268 \begin_layout Plain Layout
16269 1
16270 \end_layout
16271
16272 \end_inset
16273
16274 ] このレイアウトによって生成される
16275 \begin_inset Flex Code
16276 status collapsed
16277
16278 \begin_layout Plain Layout
16279 BabelPreamble
16280 \end_layout
16281
16282 \end_inset
16283
16284 および
16285 \begin_inset Flex Code
16286 status collapsed
16287
16288 \begin_layout Plain Layout
16289 LangPreamble
16290 \end_layout
16291
16292 \end_inset
16293
16294 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
16295 \family typewriter
16296 listings
16297 \family default
16298 のように,
16299 \family sans
16300 utf8
16301 \family default
16302 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
16303 パッケージのために必要です.この設定は,Xe\SpecialChar TeX
16304 やLua\SpecialChar TeX
16305 のようなUnicodeを完全に解する\SpecialChar LaTeX
16306 バックエンドを使用してい
16307 る場合には,無視されます.
16308 \end_layout
16309
16310 \begin_layout Description
16311 \begin_inset Flex Code
16312 status collapsed
16313
16314 \begin_layout Plain Layout
16315 ForceLocalFontSwitch
16316 \end_layout
16317
16318 \end_inset
16319
16320  [
16321 \begin_inset Flex Code
16322 status collapsed
16323
16324 \begin_layout Plain Layout
16325
16326 \emph on
16327 0
16328 \end_layout
16329
16330 \end_inset
16331
16332 ,
16333 \begin_inset space \thinspace{}
16334 \end_inset
16335
16336
16337 \begin_inset Flex Code
16338 status collapsed
16339
16340 \begin_layout Plain Layout
16341 1
16342 \end_layout
16343
16344 \end_inset
16345
16346 ] babel使用時に,常にローカルフォント切替(
16347 \begin_inset Flex Code
16348 status collapsed
16349
16350 \begin_layout Plain Layout
16351
16352 \backslash
16353 foreignlanguage
16354 \end_layout
16355
16356 \end_inset
16357
16358 )を使い,グローバル切替(
16359 \begin_inset Flex Code
16360 status collapsed
16361
16362 \begin_layout Plain Layout
16363
16364 \backslash
16365 selectlanguage
16366 \end_layout
16367
16368 \end_inset
16369
16370 など)は使わない.
16371 \end_layout
16372
16373 \begin_layout Description
16374 \begin_inset Flex Code
16375 status collapsed
16376
16377 \begin_layout Plain Layout
16378 ForceLTR
16379 \end_layout
16380
16381 \end_inset
16382
16383  [
16384 \begin_inset Flex Code
16385 status collapsed
16386
16387 \begin_layout Plain Layout
16388
16389 \emph on
16390 0
16391 \end_layout
16392
16393 \end_inset
16394
16395 ,
16396 \begin_inset space \thinspace{}
16397 \end_inset
16398
16399
16400 \begin_inset Flex Code
16401 status collapsed
16402
16403 \begin_layout Plain Layout
16404 1
16405 \end_layout
16406
16407 \end_inset
16408
16409 ] たとえば\SpecialChar TeX
16410 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
16411 \end_layout
16412
16413 \begin_layout Description
16414 \begin_inset Flex Code
16415 status collapsed
16416
16417 \begin_layout Plain Layout
16418 ForceOwnlines
16419 \end_layout
16420
16421 \end_inset
16422
16423  [
16424 \begin_inset Flex Code
16425 status collapsed
16426
16427 \begin_layout Plain Layout
16428
16429 \emph on
16430 0
16431 \end_layout
16432
16433 \end_inset
16434
16435 ,
16436 \begin_inset space \thinspace{}
16437 \end_inset
16438
16439
16440 \begin_inset Flex Code
16441 status collapsed
16442
16443 \begin_layout Plain Layout
16444 1
16445 \end_layout
16446
16447 \end_inset
16448
16449 ] \SpecialChar LaTeX
16450 出力において,この差込枠が開始する前と終了する後に,改行を強制します.これは,解析上の目的のために,差込枠が単独行に出力されるように保証します.
16451 \end_layout
16452
16453 \begin_layout Description
16454 \begin_inset Flex Code
16455 status collapsed
16456
16457 \begin_layout Plain Layout
16458 ForcePlain
16459 \end_layout
16460
16461 \end_inset
16462
16463  [
16464 \begin_inset Flex Code
16465 status collapsed
16466
16467 \begin_layout Plain Layout
16468
16469 \emph on
16470 0
16471 \end_layout
16472
16473 \end_inset
16474
16475 ,
16476 \begin_inset space \thinspace{}
16477 \end_inset
16478
16479
16480 \begin_inset Flex Code
16481 status collapsed
16482
16483 \begin_layout Plain Layout
16484 1
16485 \end_layout
16486
16487 \end_inset
16488
16489 ] PlainLayoutを使用するべきなのか,それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
16490 \end_layout
16491
16492 \begin_layout Description
16493 \begin_inset Flex Code
16494 status collapsed
16495
16496 \begin_layout Plain Layout
16497 FreeSpacing
16498 \end_layout
16499
16500 \end_inset
16501
16502  [
16503 \emph on
16504
16505 \begin_inset Flex Code
16506 status collapsed
16507
16508 \begin_layout Plain Layout
16509 0
16510 \end_layout
16511
16512 \end_inset
16513
16514
16515 \emph default
16516 ,
16517 \begin_inset space \thinspace{}
16518 \end_inset
16519
16520
16521 \begin_inset Flex Code
16522 status collapsed
16523
16524 \begin_layout Plain Layout
16525 1
16526 \end_layout
16527
16528 \end_inset
16529
16530 ] 段落様式と同様.第
16531 \begin_inset CommandInset ref
16532 LatexCommand ref
16533 reference "subsec:段落様式"
16534
16535 \end_inset
16536
16537 節参照.
16538 \end_layout
16539
16540 \begin_layout Description
16541 \begin_inset Flex Code
16542 status collapsed
16543
16544 \begin_layout Plain Layout
16545 HTML*
16546 \end_layout
16547
16548 \end_inset
16549
16550  これらは,XHTML出力で使用されます.第
16551 \begin_inset CommandInset ref
16552 LatexCommand ref
16553 reference "sec:XHTML出力のタグ"
16554
16555 \end_inset
16556
16557 節をご覧ください.
16558 \end_layout
16559
16560 \begin_layout Description
16561 \begin_inset Flex Code
16562 status collapsed
16563
16564 \begin_layout Plain Layout
16565 InToc
16566 \end_layout
16567
16568 \end_inset
16569
16570  [
16571 \begin_inset Flex Code
16572 status collapsed
16573
16574 \begin_layout Plain Layout
16575
16576 \emph on
16577 0
16578 \end_layout
16579
16580 \end_inset
16581
16582 ,
16583 \begin_inset space \thinspace{}
16584 \end_inset
16585
16586
16587 \begin_inset Flex Code
16588 status collapsed
16589
16590 \begin_layout Plain Layout
16591 1
16592 \end_layout
16593
16594 \end_inset
16595
16596 ] AddToTocの設定に関わらず,「文書構造」面用に出力される文字列に,この差込枠の内容を含めるかどうか.たとえば,節見出しの脚註の内容が,文書構造の目次に
16597 表示されることは望まないでしょうが,通常,文字様式の内容は表示されることを望むでしょう.既定値は偽,すなわち含めません.
16598 \end_layout
16599
16600 \begin_layout Description
16601 \begin_inset Flex Code
16602 status collapsed
16603
16604 \begin_layout Plain Layout
16605 IsTocCaption
16606 \end_layout
16607
16608 \end_inset
16609
16610  [
16611 \begin_inset Flex Code
16612 status collapsed
16613
16614 \begin_layout Plain Layout
16615
16616 \emph on
16617 0
16618 \end_layout
16619
16620 \end_inset
16621
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 ] AddToTocが有効なときに,これが1に設定されていると,差込枠の内容の要約が,目次項目に表示されます.0の場合は,ラベルのみが表示されます.
16637 \end_layout
16638
16639 \begin_layout Description
16640 \begin_inset Flex Code
16641 status collapsed
16642
16643 \begin_layout Plain Layout
16644 KeepEmpty
16645 \end_layout
16646
16647 \end_inset
16648
16649  [
16650 \emph on
16651
16652 \begin_inset Flex Code
16653 status collapsed
16654
16655 \begin_layout Plain Layout
16656 0
16657 \end_layout
16658
16659 \end_inset
16660
16661
16662 \emph default
16663 ,
16664 \begin_inset space \thinspace{}
16665 \end_inset
16666
16667
16668 \begin_inset Flex Code
16669 status collapsed
16670
16671 \begin_layout Plain Layout
16672 1
16673 \end_layout
16674
16675 \end_inset
16676
16677 ] 段落様式と同様.第
16678 \begin_inset CommandInset ref
16679 LatexCommand ref
16680 reference "subsec:段落様式"
16681
16682 \end_inset
16683
16684 節参照.
16685 \end_layout
16686
16687 \begin_layout Description
16688 \begin_inset Flex Code
16689 status collapsed
16690
16691 \begin_layout Plain Layout
16692 LabelFont
16693 \end_layout
16694
16695 \end_inset
16696
16697  ラベルに使用されるフォント.第
16698 \begin_inset CommandInset ref
16699 LatexCommand ref
16700 reference "subsec:フォント指定"
16701
16702 \end_inset
16703
16704 節を参照.非効率を回避するため,この定義は
16705 \begin_inset Flex Code
16706 status collapsed
16707
16708 \begin_layout Plain Layout
16709 Font
16710 \end_layout
16711
16712 \end_inset
16713
16714 の前には決して現れてはなりません.
16715 \end_layout
16716
16717 \begin_layout Description
16718 \begin_inset Flex Code
16719 status collapsed
16720
16721 \begin_layout Plain Layout
16722 LabelString
16723 \end_layout
16724
16725 \end_inset
16726
16727  [
16728 \begin_inset Flex Code
16729 status collapsed
16730
16731 \begin_layout Plain Layout
16732 文字列
16733 \end_layout
16734
16735 \end_inset
16736
16737 =
16738 \begin_inset Quotes erd
16739 \end_inset
16740
16741
16742 \begin_inset Quotes erd
16743 \end_inset
16744
16745 ]
16746 \lang english
16747  
16748 \lang japanese
16749 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
16750 コードや派生枝),ラベルが動的に変更されます.
16751 \end_layout
16752
16753 \begin_layout Description
16754 \begin_inset Flex Code
16755 status collapsed
16756
16757 \begin_layout Plain Layout
16758 LangPreamble
16759 \end_layout
16760
16761 \end_inset
16762
16763  言語依存のプリアンブル.第
16764 \begin_inset CommandInset ref
16765 LatexCommand ref
16766 reference "subsec:段落様式の国際化"
16767
16768 \end_inset
16769
16770 節参照.
16771 \end_layout
16772
16773 \begin_layout Description
16774 \begin_inset Flex Code
16775 status collapsed
16776
16777 \begin_layout Plain Layout
16778 LatexName
16779 \end_layout
16780
16781 \end_inset
16782
16783  [
16784 \begin_inset Flex Code
16785 status collapsed
16786
16787 \begin_layout Plain Layout
16788 <名称>
16789 \end_layout
16790
16791 \end_inset
16792
16793 ] 対応する\SpecialChar LaTeX
16794 関連物の名称.環境名ないしはコマンド名.
16795 \end_layout
16796
16797 \begin_layout Description
16798 \begin_inset Flex Code
16799 status collapsed
16800
16801 \begin_layout Plain Layout
16802 LatexParam
16803 \end_layout
16804
16805 \end_inset
16806
16807  [
16808 \begin_inset Flex Code
16809 status collapsed
16810
16811 \begin_layout Plain Layout
16812 <パラメータ>
16813 \end_layout
16814
16815 \end_inset
16816
16817 ]
16818 \lang english
16819  
16820 \lang japanese
16821 対応する
16822 \begin_inset Flex Code
16823 status collapsed
16824
16825 \begin_layout Plain Layout
16826 LatexName
16827 \end_layout
16828
16829 \end_inset
16830
16831 関連物の非必須パラメータ.
16832 \begin_inset Flex Code
16833 status collapsed
16834
16835 \begin_layout Plain Layout
16836 []
16837 \end_layout
16838
16839 \end_inset
16840
16841 のような括弧対を含む.このパラメータは\SpecialChar LyX
16842 内部から変更することはできません(変更可能なパラメータには
16843 \begin_inset Flex Code
16844 status collapsed
16845
16846 \begin_layout Plain Layout
16847 Argument
16848 \end_layout
16849
16850 \end_inset
16851
16852 を使用してください).これは,全ての\SpecialChar LaTeX
16853  
16854 \begin_inset Flex Code
16855 status collapsed
16856
16857 \begin_layout Plain Layout
16858 Argument
16859 \end_layout
16860
16861 \end_inset
16862
16863 の後にそのままの形で出力されます.
16864 \end_layout
16865
16866 \begin_layout Description
16867 \begin_inset Flex Code
16868 status collapsed
16869
16870 \begin_layout Plain Layout
16871 LatexType
16872 \end_layout
16873
16874 \end_inset
16875
16876  [
16877 \begin_inset Flex Code
16878 status collapsed
16879
16880 \begin_layout Plain Layout
16881 Command, Environment, None
16882 \end_layout
16883
16884 \end_inset
16885
16886 ] 様式がどのように\SpecialChar LaTeX
16887 に変換されるべきかを示します
16888 \begin_inset Foot
16889 status collapsed
16890
16891 \begin_layout Plain Layout
16892 これらのルールはSGMLクラスにも適用されるので,
16893 \begin_inset Flex Code
16894 status collapsed
16895
16896 \begin_layout Plain Layout
16897 LatexType
16898 \end_layout
16899
16900 \end_inset
16901
16902 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイルを見てください.
16903 \end_layout
16904
16905 \end_inset
16906
16907
16908 \end_layout
16909
16910 \begin_deeper
16911 \begin_layout Description
16912 \begin_inset Flex Code
16913 status collapsed
16914
16915 \begin_layout Plain Layout
16916 None
16917 \end_layout
16918
16919 \end_inset
16920
16921  は,何も特別なことは意味しません
16922 \end_layout
16923
16924 \begin_layout Description
16925 \begin_inset Flex Code
16926 status collapsed
16927
16928 \begin_layout Plain Layout
16929 Command
16930 \end_layout
16931
16932 \end_inset
16933
16934  は,
16935 \begin_inset Flex Code
16936 status collapsed
16937
16938 \begin_layout Plain Layout
16939
16940 \backslash
16941
16942 \emph on
16943 LatexName
16944 \emph default
16945 {\SpecialChar ldots
16946 }
16947 \end_layout
16948
16949 \end_inset
16950
16951 を意味します
16952 \end_layout
16953
16954 \begin_layout Description
16955 \begin_inset Flex Code
16956 status collapsed
16957
16958 \begin_layout Plain Layout
16959 Environment
16960 \end_layout
16961
16962 \end_inset
16963
16964  は,
16965 \begin_inset Flex Code
16966 status collapsed
16967
16968 \begin_layout Plain Layout
16969
16970 \backslash
16971 begin{
16972 \emph on
16973 LatexName
16974 \emph default
16975 }\SpecialChar ldots
16976
16977 \backslash
16978 end{
16979 \emph on
16980 LatexName
16981 \emph default
16982 }
16983 \end_layout
16984
16985 \end_inset
16986
16987 を意味します
16988 \end_layout
16989
16990 \begin_layout Standard
16991 上記最後のいくつかをまとめると,\SpecialChar LaTeX
16992 出力は,\SpecialChar LaTeX
16993 型に依存して
16994 \end_layout
16995
16996 \begin_layout LyX-Code
16997
16998 \backslash
16999 LatexName[LatexParam]{\SpecialChar ldots
17000 }
17001 \end_layout
17002
17003 \begin_layout Standard
17004 のようになるか,
17005 \end_layout
17006
17007 \begin_layout LyX-Code
17008
17009 \backslash
17010 begin{LatexName}[LatexParam] \SpecialChar ldots
17011  
17012 \backslash
17013 end{LatexName}.
17014 \end_layout
17015
17016 \begin_layout Standard
17017 となります.
17018 \end_layout
17019
17020 \end_deeper
17021 \begin_layout Description
17022 \begin_inset Flex Code
17023 status collapsed
17024
17025 \begin_layout Plain Layout
17026 LeftDelim
17027 \end_layout
17028
17029 \end_inset
17030
17031  [
17032 \begin_inset Flex Code
17033 status collapsed
17034
17035 \begin_layout Plain Layout
17036 文字列
17037 \end_layout
17038
17039 \end_inset
17040
17041 ] 様式の内容の最初に置かれる文字列.出力中の改行は
17042 \begin_inset Flex Code
17043 status collapsed
17044
17045 \begin_layout Plain Layout
17046 <br/>
17047 \end_layout
17048
17049 \end_inset
17050
17051 で指示できます.
17052 \end_layout
17053
17054 \begin_layout Description
17055 \begin_inset Flex Code
17056 status collapsed
17057
17058 \begin_layout Plain Layout
17059 LyxType
17060 \end_layout
17061
17062 \end_inset
17063
17064  
17065 \begin_inset Flex Code
17066 status collapsed
17067
17068 \begin_layout Plain Layout
17069 charstyle
17070 \end_layout
17071
17072 \end_inset
17073
17074
17075 \begin_inset Flex Code
17076 status collapsed
17077
17078 \begin_layout Plain Layout
17079 custom
17080 \end_layout
17081
17082 \end_inset
17083
17084
17085 \begin_inset Flex Code
17086 status collapsed
17087
17088 \begin_layout Plain Layout
17089 element
17090 \end_layout
17091
17092 \end_inset
17093
17094
17095 \begin_inset Flex Code
17096 status collapsed
17097
17098 \begin_layout Plain Layout
17099 end
17100 \end_layout
17101
17102 \end_inset
17103
17104 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,自由差込枠に必須であり,かつ自由差込枠でしか意味を持ちません.こ
17105 の項目は,就中,差込枠がどのメニューに表示されるかを決定します.
17106 \begin_inset Flex Code
17107 status collapsed
17108
17109 \begin_layout Plain Layout
17110 LyxType
17111 \end_layout
17112
17113 \end_inset
17114
17115
17116 \begin_inset Flex Code
17117 status collapsed
17118
17119 \begin_layout Plain Layout
17120 charstyle
17121 \end_layout
17122
17123 \end_inset
17124
17125 に設定すると,
17126 \begin_inset Flex Code
17127 status collapsed
17128
17129 \begin_layout Plain Layout
17130 MultiPar
17131 \end_layout
17132
17133 \end_inset
17134
17135 が偽に設定されます
17136 \lang english
17137  and 
17138 \lang japanese
17139
17140 \begin_inset Flex Code
17141 status collapsed
17142
17143 \begin_layout Plain Layout
17144 ForcePlain
17145 \end_layout
17146
17147 \end_inset
17148
17149
17150 \lang english
17151  to true
17152 \lang japanese
17153 .文字様式差込枠で
17154 \begin_inset Flex Code
17155 status collapsed
17156
17157 \begin_layout Plain Layout
17158 MultiPar
17159 \end_layout
17160
17161 \end_inset
17162
17163 を真にしたい時には
17164 \lang english
17165 , or 
17166 \lang japanese
17167
17168 \begin_inset Flex Code
17169 status collapsed
17170
17171 \begin_layout Plain Layout
17172 ForcePlain
17173 \end_layout
17174
17175 \end_inset
17176
17177
17178 \lang english
17179  to false
17180 \lang japanese
17181
17182 \begin_inset Flex Code
17183 status collapsed
17184
17185 \begin_layout Plain Layout
17186 LyxType
17187 \end_layout
17188
17189 \end_inset
17190
17191 を設定した
17192 \emph on
17193 後に
17194 \emph default
17195 設定すれば,真に設定することができます.
17196 \end_layout
17197
17198 \begin_layout Description
17199 \begin_inset Flex Code
17200 status collapsed
17201
17202 \begin_layout Plain Layout
17203 MultiPar
17204 \end_layout
17205
17206 \end_inset
17207
17208  [
17209 \begin_inset Flex Code
17210 status collapsed
17211
17212 \begin_layout Plain Layout
17213
17214 \emph on
17215 0
17216 \end_layout
17217
17218 \end_inset
17219
17220 ,
17221 \begin_inset space \thinspace{}
17222 \end_inset
17223
17224
17225 \begin_inset Flex Code
17226 status collapsed
17227
17228 \begin_layout Plain Layout
17229 1
17230 \end_layout
17231
17232 \end_inset
17233
17234 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
17235 \begin_inset Flex Code
17236 status collapsed
17237
17238 \begin_layout Plain Layout
17239 CustomPars
17240 \end_layout
17241
17242 \end_inset
17243
17244 を同じ値に設定し,
17245 \begin_inset Flex Code
17246 status collapsed
17247
17248 \begin_layout Plain Layout
17249 ForcePlain
17250 \end_layout
17251
17252 \end_inset
17253
17254 を逆の値に設定します.これらは,
17255 \begin_inset Flex Code
17256 status collapsed
17257
17258 \begin_layout Plain Layout
17259 MultiPar
17260 \end_layout
17261
17262 \end_inset
17263
17264
17265 \emph on
17266 後に
17267 \emph default
17268 指定されれば,他の値に指定し直すことができます.既定値は真です.
17269 \end_layout
17270
17271 \begin_layout Description
17272 \begin_inset Flex Code
17273 status collapsed
17274
17275 \begin_layout Plain Layout
17276 NeedProtect
17277 \end_layout
17278
17279 \end_inset
17280
17281  [
17282 \begin_inset Flex Code
17283 status collapsed
17284
17285 \begin_layout Plain Layout
17286
17287 \emph on
17288 0
17289 \end_layout
17290
17291 \end_inset
17292
17293 ,
17294 \begin_inset space \thinspace{}
17295 \end_inset
17296
17297
17298 \begin_inset Flex Code
17299 status collapsed
17300
17301 \begin_layout Plain Layout
17302 1
17303 \end_layout
17304
17305 \end_inset
17306
17307 ] 本レイアウト中で脆弱なコマンドを
17308 \begin_inset Flex Code
17309 status collapsed
17310
17311 \begin_layout Plain Layout
17312
17313 \backslash
17314 protect
17315 \end_layout
17316
17317 \end_inset
17318
17319 するか否か(註:当該コマンド自身をprotectするかどうかでは
17320 \emph on
17321 ありません
17322 \emph default
17323 ).既定値は偽です.
17324 \end_layout
17325
17326 \begin_layout Description
17327 \begin_inset Flex Code
17328 status collapsed
17329
17330 \begin_layout Plain Layout
17331 NoInsetLayout
17332 \end_layout
17333
17334 \end_inset
17335
17336  [
17337 \begin_inset Flex Code
17338 status collapsed
17339
17340 \begin_layout Plain Layout
17341 <レイアウト>
17342 \end_layout
17343
17344 \end_inset
17345
17346 ] 既存の
17347 \begin_inset Flex Code
17348 status collapsed
17349
17350 \begin_layout Plain Layout
17351 InsetLayout
17352 \end_layout
17353
17354 \end_inset
17355
17356 を削除します.
17357 \end_layout
17358
17359 \begin_layout Description
17360 \begin_inset Flex Code
17361 status collapsed
17362
17363 \begin_layout Plain Layout
17364 ObsoletedBy
17365 \end_layout
17366
17367 \end_inset
17368
17369  [
17370 \begin_inset Flex Code
17371 status collapsed
17372
17373 \begin_layout Plain Layout
17374 <レイアウト>
17375 \end_layout
17376
17377 \end_inset
17378
17379 ] この古い
17380 \begin_inset Flex Code
17381 status collapsed
17382
17383 \begin_layout Plain Layout
17384 InsetLayout
17385 \end_layout
17386
17387 \end_inset
17388
17389 を引き継いだ
17390 \begin_inset Flex Code
17391 status collapsed
17392
17393 \begin_layout Plain Layout
17394 InsetLayout
17395 \end_layout
17396
17397 \end_inset
17398
17399 の名称.これは,
17400 \begin_inset Flex Code
17401 status collapsed
17402
17403 \begin_layout Plain Layout
17404 InsetLayout
17405 \end_layout
17406
17407 \end_inset
17408
17409 の改名を,後方互換性を維持しながら行うために用いられます.
17410 \end_layout
17411
17412 \begin_layout Description
17413 \begin_inset Flex Code
17414 status collapsed
17415
17416 \begin_layout Plain Layout
17417 ParbreakIsNewline
17418 \end_layout
17419
17420 \end_inset
17421
17422  [
17423 \begin_inset Flex Code
17424 status collapsed
17425
17426 \begin_layout Plain Layout
17427
17428 \emph on
17429 0
17430 \end_layout
17431
17432 \end_inset
17433
17434 ,
17435 \begin_inset space \thinspace{}
17436 \end_inset
17437
17438
17439 \begin_inset Flex Code
17440 status collapsed
17441
17442 \begin_layout Plain Layout
17443 1
17444 \end_layout
17445
17446 \end_inset
17447
17448 ] 段落様式と同様.第
17449 \begin_inset CommandInset ref
17450 LatexCommand ref
17451 reference "subsec:段落様式"
17452
17453 \end_inset
17454
17455 節参照.
17456 \end_layout
17457
17458 \begin_layout Description
17459 \begin_inset Flex Code
17460 status collapsed
17461
17462 \begin_layout Plain Layout
17463 PassThru
17464 \end_layout
17465
17466 \end_inset
17467
17468  [
17469 \emph on
17470
17471 \begin_inset Flex Code
17472 status collapsed
17473
17474 \begin_layout Plain Layout
17475 0
17476 \end_layout
17477
17478 \end_inset
17479
17480
17481 \emph default
17482 ,
17483 \begin_inset space \thinspace{}
17484 \end_inset
17485
17486
17487 \begin_inset Flex Code
17488 status collapsed
17489
17490 \begin_layout Plain Layout
17491 1
17492 \end_layout
17493
17494 \end_inset
17495
17496 ] 段落様式と同様.第
17497 \begin_inset CommandInset ref
17498 LatexCommand ref
17499 reference "subsec:段落様式"
17500
17501 \end_inset
17502
17503 節参照.
17504 \end_layout
17505
17506 \begin_layout Description
17507 \begin_inset Flex Code
17508 status collapsed
17509
17510 \begin_layout Plain Layout
17511 Preamble
17512 \end_layout
17513
17514 \end_inset
17515
17516  段落様式と同様.第
17517 \begin_inset CommandInset ref
17518 LatexCommand ref
17519 reference "subsec:段落様式"
17520
17521 \end_inset
17522
17523 節参照.
17524 \end_layout
17525
17526 \begin_layout Description
17527 \begin_inset Flex Code
17528 status collapsed
17529
17530 \begin_layout Plain Layout
17531 RefPrefix
17532 \end_layout
17533
17534 \end_inset
17535
17536  [
17537 \begin_inset Flex Code
17538 status collapsed
17539
17540 \begin_layout Plain Layout
17541 文字列
17542 \end_layout
17543
17544 \end_inset
17545
17546 ] この型の差込枠を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
17547 \end_layout
17548
17549 \begin_layout Description
17550 \begin_inset Flex Code
17551 status collapsed
17552
17553 \begin_layout Plain Layout
17554 Requires
17555 \end_layout
17556
17557 \end_inset
17558
17559  [
17560 \begin_inset Flex Code
17561 status collapsed
17562
17563 \begin_layout Plain Layout
17564 文字列
17565 \end_layout
17566
17567 \end_inset
17568
17569 ] 段落様式と同様.第
17570 \begin_inset CommandInset ref
17571 LatexCommand ref
17572 reference "subsec:段落様式"
17573
17574 \end_inset
17575
17576 節参照.
17577 \end_layout
17578
17579 \begin_layout Description
17580 \begin_inset Flex Code
17581 status collapsed
17582
17583 \begin_layout Plain Layout
17584 ResetArgs
17585 \end_layout
17586
17587 \end_inset
17588
17589  [
17590 \begin_inset Flex Code
17591 status collapsed
17592
17593 \begin_layout Plain Layout
17594
17595 \emph on
17596 0
17597 \end_layout
17598
17599 \end_inset
17600
17601 ,
17602 \begin_inset space \thinspace{}
17603 \end_inset
17604
17605
17606 \begin_inset Flex Code
17607 status collapsed
17608
17609 \begin_layout Plain Layout
17610 1
17611 \end_layout
17612
17613 \end_inset
17614
17615 ] (
17616 \begin_inset Flex Code
17617 status collapsed
17618
17619 \begin_layout Plain Layout
17620 Argument
17621 \end_layout
17622
17623 \end_inset
17624
17625 タグで定義された)この様式の\SpecialChar LaTeX
17626 引数をリセットします.これは,様式を
17627 \begin_inset Flex Code
17628 status collapsed
17629
17630 \begin_layout Plain Layout
17631 CopyStyle
17632 \end_layout
17633
17634 \end_inset
17635
17636 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
17637 \end_layout
17638
17639 \begin_layout Description
17640 \begin_inset Flex Code
17641 status collapsed
17642
17643 \begin_layout Plain Layout
17644 ResetsFont
17645 \end_layout
17646
17647 \end_inset
17648
17649  [
17650 \begin_inset Flex Code
17651 status collapsed
17652
17653 \begin_layout Plain Layout
17654 0
17655 \end_layout
17656
17657 \end_inset
17658
17659 ,
17660 \begin_inset space \thinspace{}
17661 \end_inset
17662
17663
17664 \begin_inset Flex Code
17665 status collapsed
17666
17667 \begin_layout Plain Layout
17668
17669 \emph on
17670 1
17671 \end_layout
17672
17673 \end_inset
17674
17675 ] この差込枠が周囲の環境と同じフォントを用いるか,独自のフォントを用いるか.既定値は真,すなわち独自のフォントを用います.
17676 \begin_inset Note Note
17677 status open
17678
17679 \begin_layout Plain Layout
17680 This is outdated: The default changed from 1 to 0
17681 \end_layout
17682
17683 \end_inset
17684
17685
17686 \end_layout
17687
17688 \begin_layout Description
17689 \begin_inset Flex Code
17690 status collapsed
17691
17692 \begin_layout Plain Layout
17693 RightDelim
17694 \end_layout
17695
17696 \end_inset
17697
17698  [
17699 \begin_inset Flex Code
17700 status collapsed
17701
17702 \begin_layout Plain Layout
17703 文字列
17704 \end_layout
17705
17706 \end_inset
17707
17708 ] 様式の内容の最後に置かれる文字列.出力中の改行は
17709 \begin_inset Flex Code
17710 status collapsed
17711
17712 \begin_layout Plain Layout
17713 <br/>
17714 \end_layout
17715
17716 \end_inset
17717
17718 で指示できます.
17719 \end_layout
17720
17721 \begin_layout Description
17722 \begin_inset Flex Code
17723 status collapsed
17724
17725 \begin_layout Plain Layout
17726 Spellcheck
17727 \end_layout
17728
17729 \end_inset
17730
17731  [
17732 \begin_inset Flex Code
17733 status collapsed
17734
17735 \begin_layout Plain Layout
17736 0
17737 \end_layout
17738
17739 \end_inset
17740
17741 ,
17742 \begin_inset space \thinspace{}
17743 \end_inset
17744
17745
17746 \begin_inset Flex Code
17747 status collapsed
17748
17749 \begin_layout Plain Layout
17750
17751 \emph on
17752 1
17753 \end_layout
17754
17755 \end_inset
17756
17757 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
17758 \end_layout
17759
17760 \begin_layout Subsection
17761 カウンタ
17762 \begin_inset CommandInset label
17763 LatexCommand label
17764 name "subsec:カウンタ"
17765
17766 \end_inset
17767
17768
17769 \end_layout
17770
17771 \begin_layout Standard
17772 テキストクラスには,カウンタ(
17773 \begin_inset Flex MenuItem
17774 status collapsed
17775
17776 \begin_layout Plain Layout
17777 chapter
17778 \end_layout
17779
17780 \end_inset
17781
17782
17783 \begin_inset Flex MenuItem
17784 status collapsed
17785
17786 \begin_layout Plain Layout
17787 figure
17788 \end_layout
17789
17790 \end_inset
17791
17792 ・\SpecialChar ldots
17793 )を定義することが必要です.標準的なカウンタは
17794 \begin_inset Flex Code
17795 status collapsed
17796
17797 \begin_layout Plain Layout
17798 stdcounters.inc
17799 \end_layout
17800
17801 \end_inset
17802
17803 ファイルに含まれているので,作業中のレイアウトファイルに
17804 \end_layout
17805
17806 \begin_layout LyX-Code
17807 Input stdcounters.inc
17808 \end_layout
17809
17810 \begin_layout Standard
17811 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,そうすることもできます.カウンタ宣言は,
17812 \end_layout
17813
17814 \begin_layout LyX-Code
17815 Counter カウンタ名
17816 \end_layout
17817
17818 \begin_layout Standard
17819 で始まらなくてはなりません.ここで「
17820 \begin_inset Flex Code
17821 status collapsed
17822
17823 \begin_layout Plain Layout
17824 カウンタ名
17825 \end_layout
17826
17827 \end_inset
17828
17829 」は,実際のカウンタ名で置き換えます.また,宣言は「
17830 \begin_inset Flex Code
17831 status collapsed
17832
17833 \begin_layout Plain Layout
17834 End
17835 \end_layout
17836
17837 \end_inset
17838
17839 」で終わらなくてはなりません.
17840 \end_layout
17841
17842 \begin_layout Standard
17843 以下のパラメータを使用することができます.
17844 \end_layout
17845
17846 \begin_layout Description
17847 \begin_inset Flex Code
17848 status collapsed
17849
17850 \begin_layout Plain Layout
17851 InitialValue
17852 \end_layout
17853
17854 \end_inset
17855
17856  [
17857 \begin_inset Flex Code
17858 status collapsed
17859
17860 \begin_layout Plain Layout
17861 整数=1
17862 \end_layout
17863
17864 \end_inset
17865
17866 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,既定値1のままで充分でしょう.
17867 \end_layout
17868
17869 \begin_layout Description
17870 \begin_inset Flex Code
17871 status collapsed
17872
17873 \begin_layout Plain Layout
17874 LabelString [文字列=""]
17875 \end_layout
17876
17877 \end_inset
17878
17879  定義されていると,ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
17880 \begin_inset Flex Code
17881 status collapsed
17882
17883 \begin_layout Plain Layout
17884 LabelStringAppendix
17885 \end_layout
17886
17887 \end_inset
17888
17889 も同じ値に設定されます.文字列中では,以下の構成要素を使用することができます.
17890 \end_layout
17891
17892 \begin_deeper
17893 \begin_layout Itemize
17894 \begin_inset Flex Code
17895 status collapsed
17896
17897 \begin_layout Plain Layout
17898
17899 \backslash
17900 thecounter
17901 \end_layout
17902
17903 \end_inset
17904
17905 は,カウンタ
17906 \begin_inset Flex Code
17907 status collapsed
17908
17909 \begin_layout Plain Layout
17910 counter
17911 \end_layout
17912
17913 \end_inset
17914
17915
17916 \begin_inset Flex Code
17917 status collapsed
17918
17919 \begin_layout Plain Layout
17920 LabelString
17921 \end_layout
17922
17923 \end_inset
17924
17925 (または
17926 \begin_inset Newline linebreak
17927 \end_inset
17928
17929
17930 \begin_inset Flex Code
17931 status collapsed
17932
17933 \begin_layout Plain Layout
17934 LabelStringAppendix
17935 \end_layout
17936
17937 \end_inset
17938
17939 )を展開したもので置き換えられます. 
17940 \end_layout
17941
17942 \begin_layout Itemize
17943 カウンタ値は,\SpecialChar LaTeX
17944 型マクロ
17945 \begin_inset Flex Code
17946 status collapsed
17947
17948 \begin_layout Plain Layout
17949
17950 \backslash
17951
17952 \emph on
17953 numbertype
17954 \emph default
17955 {
17956 \emph on
17957 カウンタ
17958 \emph default
17959 }
17960 \end_layout
17961
17962 \end_inset
17963
17964 を用いて表現することができます.ここで
17965 \begin_inset Flex Code
17966 status collapsed
17967
17968 \begin_layout Plain Layout
17969
17970 \emph on
17971 numbertype
17972 \end_layout
17973
17974 \end_inset
17975
17976 は以下のいずれかです.
17977 \begin_inset Flex Code
17978 status collapsed
17979
17980 \begin_layout Plain Layout
17981 arabic
17982 \end_layout
17983
17984 \end_inset
17985
17986 :1, 2, 3,\SpecialChar ldots
17987
17988 \begin_inset Flex Code
17989 status collapsed
17990
17991 \begin_layout Plain Layout
17992 alph
17993 \end_layout
17994
17995 \end_inset
17996
17997 :a, b, c, \SpecialChar ldots
17998 (小文字);
17999 \begin_inset Flex Code
18000 status collapsed
18001
18002 \begin_layout Plain Layout
18003 Alph
18004 \end_layout
18005
18006 \end_inset
18007
18008 :A, B, C, \SpecialChar ldots
18009 (大文字);
18010 \begin_inset Flex Code
18011 status collapsed
18012
18013 \begin_layout Plain Layout
18014 roman
18015 \end_layout
18016
18017 \end_inset
18018
18019 :i, ii, iii, \SpecialChar ldots
18020 (小文字ローマ数字);
18021 \begin_inset Flex Code
18022 status collapsed
18023
18024 \begin_layout Plain Layout
18025 Roman
18026 \end_layout
18027
18028 \end_inset
18029
18030 :I, II, III\SpecialChar ldots
18031 (大文字ローマ数字).
18032 \end_layout
18033
18034 \end_deeper
18035 \begin_layout Standard
18036 \begin_inset Flex Code
18037 status collapsed
18038
18039 \begin_layout Plain Layout
18040 LabelString
18041 \end_layout
18042
18043 \end_inset
18044
18045 が定義されていないときは,既定値は以下のように組み立てられます.このカウンタに親カウンタ
18046 \begin_inset Flex Code
18047 status collapsed
18048
18049 \begin_layout Plain Layout
18050 master
18051 \end_layout
18052
18053 \end_inset
18054
18055
18056 \begin_inset Flex Code
18057 status collapsed
18058
18059 \begin_layout Plain Layout
18060 Within
18061 \end_layout
18062
18063 \end_inset
18064
18065 で定義)があるときには,文字列
18066 \begin_inset Newline linebreak
18067 \end_inset
18068
18069
18070 \begin_inset Flex Code
18071 status collapsed
18072
18073 \begin_layout Plain Layout
18074
18075 \backslash
18076 themaster.
18077 \backslash
18078 arabic{カウンタ}
18079 \end_layout
18080
18081 \end_inset
18082
18083 が使用されます.それ以外の場合は,
18084 \begin_inset Flex Code
18085 status collapsed
18086
18087 \begin_layout Plain Layout
18088
18089 \backslash
18090 arabic{カウンタ}
18091 \end_layout
18092
18093 \end_inset
18094
18095 が使用されます.
18096 \end_layout
18097
18098 \begin_layout Description
18099 \begin_inset Flex Code
18100 status collapsed
18101
18102 \begin_layout Plain Layout
18103 LabelStringAppendix
18104 \end_layout
18105
18106 \end_inset
18107
18108  [
18109 \begin_inset Flex Code
18110 status collapsed
18111
18112 \begin_layout Plain Layout
18113 文字列
18114 \end_layout
18115
18116 \end_inset
18117
18118 =""] 
18119 \begin_inset Flex Code
18120 status collapsed
18121
18122 \begin_layout Plain Layout
18123 LabelString
18124 \end_layout
18125
18126 \end_inset
18127
18128 と同様ですが,付録で使用するためのものです.
18129 \end_layout
18130
18131 \begin_layout Description
18132 \begin_inset Flex Code
18133 status collapsed
18134
18135 \begin_layout Plain Layout
18136 PrettyFormat
18137 \end_layout
18138
18139 \end_inset
18140
18141  [
18142 \begin_inset Flex Code
18143 status collapsed
18144
18145 \begin_layout Plain Layout
18146 文字列
18147 \end_layout
18148
18149 \end_inset
18150
18151 =
18152 \begin_inset Quotes erd
18153 \end_inset
18154
18155
18156 \begin_inset Quotes erd
18157 \end_inset
18158
18159 ] このカウンタの整形参照で使用する書式.たとえば,節番号への参照を「Section
18160 \begin_inset space ~
18161 \end_inset
18162
18163 2.4」のように表示させたい場合には,文字列に「##」を含めます.これは,カウンタ番号で置換されます.したがって,節の場合には「Section ##」のようにしま
18164 す.
18165 \end_layout
18166
18167 \begin_layout Description
18168 \begin_inset Flex Code
18169 status collapsed
18170
18171 \begin_layout Plain Layout
18172 Within
18173 \end_layout
18174
18175 \end_inset
18176
18177  [
18178 \begin_inset Flex Code
18179 status collapsed
18180
18181 \begin_layout Plain Layout
18182 文字列
18183 \end_layout
18184
18185 \end_inset
18186
18187 =
18188 \begin_inset Quotes erd
18189 \end_inset
18190
18191
18192 \begin_inset Quotes erd
18193 \end_inset
18194
18195 ] これを別のカウンタ名に設定すると,現在のカウンタは,別のカウンタが増加する毎にリセットされます.たとえば,
18196 \begin_inset Flex Code
18197 status collapsed
18198
18199 \begin_layout Plain Layout
18200 subsection
18201 \end_layout
18202
18203 \end_inset
18204
18205
18206 \begin_inset Flex Code
18207 status collapsed
18208
18209 \begin_layout Plain Layout
18210 section
18211 \end_layout
18212
18213 \end_inset
18214
18215 毎に番号がリセットされます.
18216 \end_layout
18217
18218 \begin_layout Subsection
18219 フォント指定
18220 \begin_inset CommandInset label
18221 LatexCommand label
18222 name "subsec:フォント指定"
18223
18224 \end_inset
18225
18226
18227 \end_layout
18228
18229 \begin_layout Standard
18230 フォント指定は,以下のような形を取ります.
18231 \end_layout
18232
18233 \begin_layout LyX-Code
18234 Font 
18235 \family roman
18236 \emph on
18237 または
18238 \family default
18239 \emph default
18240  LabelFont 
18241 \family roman
18242 \emph on
18243 または
18244 \family default
18245 \emph default
18246  DefaultFont
18247 \end_layout
18248
18249 \begin_layout LyX-Code
18250  ...
18251 \end_layout
18252
18253 \begin_layout LyX-Code
18254 EndFont
18255 \end_layout
18256
18257 \begin_layout Standard
18258 以下のコマンドを使用することができます.
18259 \end_layout
18260
18261 \begin_layout Description
18262 \begin_inset Flex Code
18263 status collapsed
18264
18265 \begin_layout Plain Layout
18266 Color
18267 \end_layout
18268
18269 \end_inset
18270
18271  [
18272 \begin_inset Flex Code
18273 status collapsed
18274
18275 \begin_layout Plain Layout
18276
18277 \emph on
18278 none
18279 \end_layout
18280
18281 \end_inset
18282
18283
18284 \begin_inset Flex Code
18285 status collapsed
18286
18287 \begin_layout Plain Layout
18288 black
18289 \end_layout
18290
18291 \end_inset
18292
18293
18294 \begin_inset Flex Code
18295 status collapsed
18296
18297 \begin_layout Plain Layout
18298 white
18299 \end_layout
18300
18301 \end_inset
18302
18303
18304 \begin_inset Flex Code
18305 status collapsed
18306
18307 \begin_layout Plain Layout
18308 red
18309 \end_layout
18310
18311 \end_inset
18312
18313
18314 \begin_inset Flex Code
18315 status collapsed
18316
18317 \begin_layout Plain Layout
18318 green
18319 \end_layout
18320
18321 \end_inset
18322
18323
18324 \begin_inset Flex Code
18325 status collapsed
18326
18327 \begin_layout Plain Layout
18328 blue
18329 \end_layout
18330
18331 \end_inset
18332
18333
18334 \begin_inset Flex Code
18335 status collapsed
18336
18337 \begin_layout Plain Layout
18338 cyan
18339 \end_layout
18340
18341 \end_inset
18342
18343
18344 \begin_inset Flex Code
18345 status collapsed
18346
18347 \begin_layout Plain Layout
18348 magenta
18349 \end_layout
18350
18351 \end_inset
18352
18353
18354 \begin_inset Flex Code
18355 status collapsed
18356
18357 \begin_layout Plain Layout
18358 yellow
18359 \end_layout
18360
18361 \end_inset
18362
18363
18364 \begin_inset Flex Code
18365 status collapsed
18366
18367 \begin_layout Plain Layout
18368 brown
18369 \end_layout
18370
18371 \end_inset
18372
18373
18374 \begin_inset Flex Code
18375 status collapsed
18376
18377 \begin_layout Plain Layout
18378 darkgray
18379 \end_layout
18380
18381 \end_inset
18382
18383
18384 \begin_inset Flex Code
18385 status collapsed
18386
18387 \begin_layout Plain Layout
18388 gray
18389 \end_layout
18390
18391 \end_inset
18392
18393
18394 \begin_inset Flex Code
18395 status collapsed
18396
18397 \begin_layout Plain Layout
18398 lightgray
18399 \end_layout
18400
18401 \end_inset
18402
18403
18404 \begin_inset Flex Code
18405 status collapsed
18406
18407 \begin_layout Plain Layout
18408 lime
18409 \end_layout
18410
18411 \end_inset
18412
18413
18414 \begin_inset Flex Code
18415 status collapsed
18416
18417 \begin_layout Plain Layout
18418 orange
18419 \end_layout
18420
18421 \end_inset
18422
18423
18424 \begin_inset Flex Code
18425 status collapsed
18426
18427 \begin_layout Plain Layout
18428 olive
18429 \end_layout
18430
18431 \end_inset
18432
18433
18434 \begin_inset Flex Code
18435 status collapsed
18436
18437 \begin_layout Plain Layout
18438 pink
18439 \end_layout
18440
18441 \end_inset
18442
18443
18444 \begin_inset Flex Code
18445 status collapsed
18446
18447 \begin_layout Plain Layout
18448 purple
18449 \end_layout
18450
18451 \end_inset
18452
18453
18454 \begin_inset Flex Code
18455 status collapsed
18456
18457 \begin_layout Plain Layout
18458 teal
18459 \end_layout
18460
18461 \end_inset
18462
18463
18464 \begin_inset Flex Code
18465 status collapsed
18466
18467 \begin_layout Plain Layout
18468 violet
18469 \end_layout
18470
18471 \end_inset
18472
18473 ]
18474 \end_layout
18475
18476 \begin_layout Description
18477 \begin_inset Flex Code
18478 status collapsed
18479
18480 \begin_layout Plain Layout
18481 Family
18482 \end_layout
18483
18484 \end_inset
18485
18486  [
18487 \emph on
18488
18489 \begin_inset Flex Code
18490 status collapsed
18491
18492 \begin_layout Plain Layout
18493 Roman
18494 \end_layout
18495
18496 \end_inset
18497
18498
18499 \emph default
18500
18501 \begin_inset Flex Code
18502 status collapsed
18503
18504 \begin_layout Plain Layout
18505 Sans
18506 \end_layout
18507
18508 \end_inset
18509
18510
18511 \begin_inset Flex Code
18512 status collapsed
18513
18514 \begin_layout Plain Layout
18515 Typewriter
18516 \end_layout
18517
18518 \end_inset
18519
18520
18521 \end_layout
18522
18523 \begin_layout Description
18524 \begin_inset Flex Code
18525 status collapsed
18526
18527 \begin_layout Plain Layout
18528 Misc
18529 \end_layout
18530
18531 \end_inset
18532
18533  [
18534 \begin_inset Flex Code
18535 status collapsed
18536
18537 \begin_layout Plain Layout
18538 文字列
18539 \end_layout
18540
18541 \end_inset
18542
18543 ] 有効な引数は,
18544 \begin_inset Flex Code
18545 status collapsed
18546
18547 \begin_layout Plain Layout
18548 emph
18549 \end_layout
18550
18551 \end_inset
18552
18553
18554 \begin_inset Flex Code
18555 status collapsed
18556
18557 \begin_layout Plain Layout
18558 noun
18559 \end_layout
18560
18561 \end_inset
18562
18563
18564 \begin_inset Flex Code
18565 status collapsed
18566
18567 \begin_layout Plain Layout
18568 strikeout
18569 \end_layout
18570
18571 \end_inset
18572
18573
18574 \begin_inset Flex Code
18575 status collapsed
18576
18577 \begin_layout Plain Layout
18578 underbar
18579 \end_layout
18580
18581 \end_inset
18582
18583
18584 \begin_inset Flex Code
18585 status collapsed
18586
18587 \begin_layout Plain Layout
18588 uuline
18589 \end_layout
18590
18591 \end_inset
18592
18593
18594 \begin_inset Flex Code
18595 status collapsed
18596
18597 \begin_layout Plain Layout
18598 uwave
18599 \end_layout
18600
18601 \end_inset
18602
18603
18604 \begin_inset Flex Code
18605 status collapsed
18606
18607 \begin_layout Plain Layout
18608 no_emph
18609 \end_layout
18610
18611 \end_inset
18612
18613
18614 \begin_inset Flex Code
18615 status collapsed
18616
18617 \begin_layout Plain Layout
18618 no_noun
18619 \end_layout
18620
18621 \end_inset
18622
18623
18624 \begin_inset Flex Code
18625 status collapsed
18626
18627 \begin_layout Plain Layout
18628 no_strikeout
18629 \end_layout
18630
18631 \end_inset
18632
18633
18634 \begin_inset Flex Code
18635 status collapsed
18636
18637 \begin_layout Plain Layout
18638 no_bar
18639 \end_layout
18640
18641 \end_inset
18642
18643
18644 \begin_inset Flex Code
18645 status collapsed
18646
18647 \begin_layout Plain Layout
18648 no_uuline
18649 \end_layout
18650
18651 \end_inset
18652
18653
18654 \begin_inset Flex Code
18655 status collapsed
18656
18657 \begin_layout Plain Layout
18658 no_uwave
18659 \end_layout
18660
18661 \end_inset
18662
18663 です.それぞれ,対応する属性を有効にしたり無効にしたりします.
18664 \begin_inset Newline newline
18665 \end_inset
18666
18667 たとえば,
18668 \begin_inset Flex Code
18669 status collapsed
18670
18671 \begin_layout Plain Layout
18672 emph
18673 \end_layout
18674
18675 \end_inset
18676
18677 は強調を有効にし,
18678 \begin_inset Flex Code
18679 status collapsed
18680
18681 \begin_layout Plain Layout
18682 no_emph
18683 \end_layout
18684
18685 \end_inset
18686
18687 はそれを無効にします.もし後者がわかりにくければ,現在のコンテクストのフォント設定は,一般的に周囲のコンテクストから継承していることを思い出してください.ですか
18688
18689 \begin_inset Flex Code
18690 status collapsed
18691
18692 \begin_layout Plain Layout
18693 no_emph
18694 \end_layout
18695
18696 \end_inset
18697
18698 は,たとえば定理環境で,何をせずとも有効となっている強調を無効にするのです.
18699 \end_layout
18700
18701 \begin_layout Description
18702 \begin_inset Flex Code
18703 status collapsed
18704
18705 \begin_layout Plain Layout
18706 Series
18707 \end_layout
18708
18709 \end_inset
18710
18711  [
18712 \emph on
18713
18714 \begin_inset Flex Code
18715 status collapsed
18716
18717 \begin_layout Plain Layout
18718 Medium
18719 \end_layout
18720
18721 \end_inset
18722
18723
18724 \emph default
18725
18726 \begin_inset Flex Code
18727 status collapsed
18728
18729 \begin_layout Plain Layout
18730 Bold
18731 \end_layout
18732
18733 \end_inset
18734
18735
18736 \end_layout
18737
18738 \begin_layout Description
18739 \begin_inset Flex Code
18740 status collapsed
18741
18742 \begin_layout Plain Layout
18743 Shape
18744 \end_layout
18745
18746 \end_inset
18747
18748  [
18749 \emph on
18750
18751 \begin_inset Flex Code
18752 status collapsed
18753
18754 \begin_layout Plain Layout
18755 Up
18756 \end_layout
18757
18758 \end_inset
18759
18760
18761 \emph default
18762
18763 \begin_inset Flex Code
18764 status collapsed
18765
18766 \begin_layout Plain Layout
18767 Italic
18768 \end_layout
18769
18770 \end_inset
18771
18772
18773 \begin_inset Flex Code
18774 status collapsed
18775
18776 \begin_layout Plain Layout
18777 SmallCaps
18778 \end_layout
18779
18780 \end_inset
18781
18782
18783 \begin_inset Flex Code
18784 status collapsed
18785
18786 \begin_layout Plain Layout
18787 Slanted
18788 \end_layout
18789
18790 \end_inset
18791
18792
18793 \end_layout
18794
18795 \begin_layout Description
18796 \begin_inset Flex Code
18797 status collapsed
18798
18799 \begin_layout Plain Layout
18800 Size
18801 \end_layout
18802
18803 \end_inset
18804
18805  [
18806 \begin_inset Flex Code
18807 status collapsed
18808
18809 \begin_layout Plain Layout
18810 tiny
18811 \end_layout
18812
18813 \end_inset
18814
18815
18816 \begin_inset Flex Code
18817 status collapsed
18818
18819 \begin_layout Plain Layout
18820 small
18821 \end_layout
18822
18823 \end_inset
18824
18825
18826 \begin_inset Flex Code
18827 status collapsed
18828
18829 \begin_layout Plain Layout
18830
18831 \emph on
18832 normal
18833 \end_layout
18834
18835 \end_inset
18836
18837
18838 \begin_inset Flex Code
18839 status collapsed
18840
18841 \begin_layout Plain Layout
18842 large
18843 \end_layout
18844
18845 \end_inset
18846
18847
18848 \begin_inset Flex Code
18849 status collapsed
18850
18851 \begin_layout Plain Layout
18852 larger
18853 \end_layout
18854
18855 \end_inset
18856
18857
18858 \begin_inset Flex Code
18859 status collapsed
18860
18861 \begin_layout Plain Layout
18862 largest
18863 \end_layout
18864
18865 \end_inset
18866
18867
18868 \begin_inset Flex Code
18869 status collapsed
18870
18871 \begin_layout Plain Layout
18872 huge
18873 \end_layout
18874
18875 \end_inset
18876
18877
18878 \begin_inset Flex Code
18879 status collapsed
18880
18881 \begin_layout Plain Layout
18882 giant
18883 \end_layout
18884
18885 \end_inset
18886
18887 ]
18888 \end_layout
18889
18890 \begin_layout Subsection
18891 \begin_inset CommandInset label
18892 LatexCommand label
18893 name "subsec:引用エンジンの説明"
18894
18895 \end_inset
18896
18897 引用エンジンの説明
18898 \end_layout
18899
18900 \begin_layout Standard
18901 主に引用エンジンファイル(第
18902 \begin_inset CommandInset ref
18903 LatexCommand ref
18904 reference "subsec:引用エンジンファイル"
18905 plural "false"
18906 caps "false"
18907 noprefix "false"
18908
18909 \end_inset
18910
18911 節参照)で用いられる
18912 \begin_inset Flex Code
18913 status collapsed
18914
18915 \begin_layout Plain Layout
18916 CiteEngine
18917 \end_layout
18918
18919 \end_inset
18920
18921 ブロックは,特定の「引用エンジン」で提供される引用コマンドを定義します.\SpecialChar LyX
18922 の用語では,引用エンジンとは,番号や著者名,刊行年を使って,引用を整形する特定の方法のこ
18923 とを指します.\SpecialChar LyX
18924 は,3つのエンジンの型をサポートします.すなわち,
18925 \end_layout
18926
18927 \begin_layout Enumerate
18928 \begin_inset Flex Code
18929 status collapsed
18930
18931 \begin_layout Plain Layout
18932 default
18933 \end_layout
18934
18935 \end_inset
18936
18937 : 既定のBib\SpecialChar TeX
18938 流の引用方法である,単純な番号による様式(例:「[1]」)
18939 \end_layout
18940
18941 \begin_layout Enumerate
18942 \begin_inset Flex Code
18943 status collapsed
18944
18945 \begin_layout Plain Layout
18946 authoryear
18947 \end_layout
18948
18949 \end_inset
18950
18951 : 著者名と刊行年を使ったHarvard様式の引用(例:「Smith and Miller (2017b)」)
18952 \end_layout
18953
18954 \begin_layout Enumerate
18955 \begin_inset Flex Code
18956 status collapsed
18957
18958 \begin_layout Plain Layout
18959 numerical
18960 \end_layout
18961
18962 \end_inset
18963
18964 : 番号に隣接して著者名やタイトルを付けることのできる拡張された番号引用(例:「Smith and Miller [1]」)
18965 \end_layout
18966
18967 \begin_layout Standard
18968 \begin_inset Flex Code
18969 status collapsed
18970
18971 \begin_layout Plain Layout
18972 CiteEngine
18973 \end_layout
18974
18975 \end_inset
18976
18977 ブロックは以下のようになります.
18978 \end_layout
18979
18980 \begin_layout LyX-Code
18981 CiteEngine default
18982 \end_layout
18983
18984 \begin_layout LyX-Code
18985  cite
18986 \end_layout
18987
18988 \begin_layout LyX-Code
18989  Citep*[][]
18990 \end_layout
18991
18992 \begin_layout LyX-Code
18993  citeyearpar[][]=parencite*
18994 \end_layout
18995
18996 \begin_layout LyX-Code
18997  ...
18998 \end_layout
18999
19000 \begin_layout LyX-Code
19001 End
19002 \end_layout
19003
19004 \begin_layout Standard
19005 \begin_inset Flex Code
19006 status collapsed
19007
19008 \begin_layout Plain Layout
19009 CiteEngine
19010 \end_layout
19011
19012 \end_inset
19013
19014 に続くタグがエンジンを表します.各行は,このエンジンによってサポートされる引用コマンドや引用コマンドパラダイムを定義します.行は,\SpecialChar LyX
19015 コマンドと\SpecialChar LaTeX
19016 出力を命名するのに使
19017 われる引用コマンドのみを含むこともあれば,色々変えるために複雑なこともあります.完全な文法は
19018 \end_layout
19019
19020 \begin_layout LyX-Code
19021 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
19022 \end_layout
19023
19024 \begin_layout Standard
19025 という形になっています.ここで
19026 \end_layout
19027
19028 \begin_layout Itemize
19029 \begin_inset Flex Code
19030 status collapsed
19031
19032 \begin_layout Plain Layout
19033 LyXName
19034 \end_layout
19035
19036 \end_inset
19037
19038
19039 \begin_inset Flex Code
19040 status collapsed
19041
19042 \begin_layout Plain Layout
19043 *.lyx
19044 \end_layout
19045
19046 \end_inset
19047
19048 ファイルで使用される名前.
19049 \end_layout
19050
19051 \begin_deeper
19052 \begin_layout Standard
19053 可搬性のために,異なる引用パッケージ中の同じ形をしたコマンドには,同じ名前をつけるようにしています(したがって,多くの名前がnatbibから派生しており,\SpecialChar LaTeX
19054 コマン
19055 ド名が異なる場合には,しばしば
19056 \begin_inset Flex Code
19057 status collapsed
19058
19059 \begin_layout Plain Layout
19060 latexcmd
19061 \end_layout
19062
19063 \end_inset
19064
19065 を変える必要があります).
19066 \end_layout
19067
19068 \end_deeper
19069 \begin_layout Itemize
19070 \begin_inset Flex Code
19071 status collapsed
19072
19073 \begin_layout Plain Layout
19074 alias
19075 \end_layout
19076
19077 \end_inset
19078
19079 : このエンジンにおいて,与えられた
19080 \begin_inset Flex Code
19081 status collapsed
19082
19083 \begin_layout Plain Layout
19084 LyXName
19085 \end_layout
19086
19087 \end_inset
19088
19089 にフォールバックするコマンドの(コンマで区切られた)リスト.これによって,引用パッケージとエンジンを切り替えるのが楽になります.
19090 \begin_inset Flex Code
19091 status collapsed
19092
19093 \begin_layout Plain Layout
19094 alias
19095 \end_layout
19096
19097 \end_inset
19098
19099 はレイアウト定義中での
19100 \begin_inset Flex Code
19101 status collapsed
19102
19103 \begin_layout Plain Layout
19104 ObsoletedBy
19105 \end_layout
19106
19107 \end_inset
19108
19109 に相当するものと考えてよいでしょう.
19110 \end_layout
19111
19112 \begin_layout Itemize
19113 \begin_inset Flex Code
19114 status collapsed
19115
19116 \begin_layout Plain Layout
19117 latexcmd
19118 \end_layout
19119
19120 \end_inset
19121
19122 : 出力される実際の\SpecialChar LaTeX
19123 コマンド.
19124 \end_layout
19125
19126 \begin_layout Standard
19127 \begin_inset Flex Code
19128 status collapsed
19129
19130 \begin_layout Plain Layout
19131 Alias
19132 \end_layout
19133
19134 \end_inset
19135
19136
19137 \begin_inset Flex Code
19138 status collapsed
19139
19140 \begin_layout Plain Layout
19141 latexcmd
19142 \end_layout
19143
19144 \end_inset
19145
19146 は必須ではありません.
19147 \begin_inset Flex Code
19148 status collapsed
19149
19150 \begin_layout Plain Layout
19151 latexcmd
19152 \end_layout
19153
19154 \end_inset
19155
19156 が与えられない時は,
19157 \begin_inset Flex Code
19158 status collapsed
19159
19160 \begin_layout Plain Layout
19161 LyXName
19162 \end_layout
19163
19164 \end_inset
19165
19166 が\SpecialChar LaTeX
19167 に出力されます.
19168 \end_layout
19169
19170 \begin_layout Standard
19171 さらに,下記の点に注意してください.
19172 \end_layout
19173
19174 \begin_layout Itemize
19175 大文字にするとコマンドも大文字化されたものになります(
19176 \begin_inset Flex Code
19177 status collapsed
19178
19179 \begin_layout Plain Layout
19180
19181 \backslash
19182 latexcmd
19183 \end_layout
19184
19185 \end_inset
19186
19187
19188 \begin_inset Flex Code
19189 status collapsed
19190
19191 \begin_layout Plain Layout
19192
19193 \backslash
19194 Latexcmd
19195 \end_layout
19196
19197 \end_inset
19198
19199 に).これらは通常,名前の前置詞を大文字化するのを確実にします(
19200 \emph on
19201 von Goethe
19202 \emph default
19203  
19204 \begin_inset Formula $\Rightarrow$
19205 \end_inset
19206
19207  
19208 \emph on
19209 Von Goethe
19210 \emph default
19211 ).
19212 \end_layout
19213
19214 \begin_layout Itemize
19215 括弧
19216 \begin_inset Flex Code
19217 status collapsed
19218
19219 \begin_layout Plain Layout
19220 []
19221 \end_layout
19222
19223 \end_inset
19224
19225 は非必須引数の数を表します(0-2をとりえます).
19226 \end_layout
19227
19228 \begin_layout Itemize
19229 星印
19230 \begin_inset Flex Code
19231 status collapsed
19232
19233 \begin_layout Plain Layout
19234 *
19235 \end_layout
19236
19237 \end_inset
19238
19239 は星印付きコマンドを示します(
19240 \begin_inset Flex Code
19241 status collapsed
19242
19243 \begin_layout Plain Layout
19244
19245 \backslash
19246 latexcmd
19247 \end_layout
19248
19249 \end_inset
19250
19251
19252 \begin_inset Flex Code
19253 status collapsed
19254
19255 \begin_layout Plain Layout
19256
19257 \backslash
19258 latexcmd*
19259 \end_layout
19260
19261 \end_inset
19262
19263 に).
19264 \end_layout
19265
19266 \begin_deeper
19267 \begin_layout Standard
19268 既定では,星印付きバージョンは,
19269 \begin_inset Flex Code
19270 status collapsed
19271
19272 \begin_layout Plain Layout
19273 MaxCiteNames
19274 \end_layout
19275
19276 \end_inset
19277
19278 の閾値を超えたために「et al.」に省略されるべき時にも全ての著者を出力することを意味します.
19279 \end_layout
19280
19281 \begin_layout Standard
19282 星印が,当該コマンドについては別の意味を持つ場合には,
19283 \begin_inset Flex Code
19284 status collapsed
19285
19286 \begin_layout Plain Layout
19287 <!_stardesc!_stardesctooltip>
19288 \end_layout
19289
19290 \end_inset
19291
19292 のように三角括弧で指定することができます.前置詞
19293 \begin_inset Flex Code
19294 status collapsed
19295
19296 \begin_layout Plain Layout
19297 !_
19298 \end_layout
19299
19300 \end_inset
19301
19302 で標識した,翻訳可能なキーワードを最大2つ与えることができます.最初のキーワードは,引用ダイアログ中の「Full aut&hor list」チェックボックスラベ
19303 ルを書き換える文字列を指し,二つ目のキーワードは,このチェックボックスに対する非必須のツールチップの文字列を指します.
19304 \end_layout
19305
19306 \begin_layout Standard
19307 これらの2つのマクロは,下記のように,前置詞から
19308 \begin_inset Flex Code
19309 status collapsed
19310
19311 \begin_layout Plain Layout
19312 !
19313 \end_layout
19314
19315 \end_inset
19316
19317 を落とした形で
19318 \begin_inset Flex Code
19319 status collapsed
19320
19321 \begin_layout Plain Layout
19322 CiteFormat
19323 \end_layout
19324
19325 \end_inset
19326
19327 (次節参照)で定義されなくてはなりません.
19328 \end_layout
19329
19330 \begin_layout LyX-Code
19331 _stardesc Sta&rred command label
19332 \end_layout
19333
19334 \begin_layout LyX-Code
19335 _stardesctooltip Tooltip for the starred command checkbox.
19336 \end_layout
19337
19338 \end_deeper
19339 \begin_layout Itemize
19340 ドル記号
19341 \begin_inset Flex Code
19342 status collapsed
19343
19344 \begin_layout Plain Layout
19345 $
19346 \end_layout
19347
19348 \end_inset
19349
19350 は,このコマンドが「qualified citation lists」を取り扱うことを示します.これは,リスト中の個別の引用に対して,前置文字列と後置文字列を置
19351 くことができる,
19352 \family sans
19353 Biblatex
19354 \family default
19355 に特有の複数文献引用機能です.詳細については,
19356 \family sans
19357 Biblatex
19358 \family default
19359 の取扱説明書をご覧ください.
19360 \end_layout
19361
19362 \begin_layout Subsection
19363 \begin_inset CommandInset label
19364 LatexCommand label
19365 name "subsec:引用書式指定"
19366
19367 \end_inset
19368
19369 引用書式指定
19370 \end_layout
19371
19372 \begin_layout Standard
19373 (引用ダイアログやツールチップなどの)\SpecialChar LyX
19374 内部やXHTML出力において,書誌情報をどのように表示するべきかの叙述には,
19375 \begin_inset Flex Code
19376 status collapsed
19377
19378 \begin_layout Plain Layout
19379 CiteFormat
19380 \end_layout
19381
19382 \end_inset
19383
19384 ブロックが使用されています.このブロックは,以下のような形をしています.
19385 \end_layout
19386
19387 \begin_layout LyX-Code
19388 CiteFormat
19389 \end_layout
19390
19391 \begin_layout LyX-Code
19392  article ...
19393 \end_layout
19394
19395 \begin_layout LyX-Code
19396  book ...
19397 \end_layout
19398
19399 \begin_layout LyX-Code
19400 End
19401 \end_layout
19402
19403 \begin_layout Standard
19404 あるいは
19405 \end_layout
19406
19407 \begin_layout LyX-Code
19408 CiteFormat
19409 \end_layout
19410
19411 \begin_layout LyX-Code
19412  cite ...
19413 \end_layout
19414
19415 \begin_layout LyX-Code
19416  citet*[][] ...
19417 \end_layout
19418
19419 \begin_layout LyX-Code
19420 End
19421 \end_layout
19422
19423 \begin_layout Standard
19424 最初の例の各行は,それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,このような定義は,Bib\SpecialChar TeX
19425 ファイル中に存
19426 在しうる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,\SpecialChar LyX
19427 は,ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
19428 は,いくつかの書式を
19429 \begin_inset Flex Code
19430 status collapsed
19431
19432 \begin_layout Plain Layout
19433 stdciteformats.inc
19434 \end_layout
19435
19436 \end_inset
19437
19438 ファイルで事前定義しており,これはほとんどの\SpecialChar LyX
19439 文書クラスにインクルードされています.
19440 \end_layout
19441
19442 \begin_layout Standard
19443 2つ目の例では,各行は,特定の引用コマンド(この例では
19444 \begin_inset Flex Code
19445 status collapsed
19446
19447 \begin_layout Plain Layout
19448
19449 \backslash
19450 cite
19451 \end_layout
19452
19453 \end_inset
19454
19455 及び
19456 \begin_inset Flex Code
19457 status collapsed
19458
19459 \begin_layout Plain Layout
19460
19461 \backslash
19462 citet
19463 \end_layout
19464
19465 \end_inset
19466
19467 )が,引用差込枠ラベルや引用ダイアログ,メニュー,XHTML出力でどのように表示されるべきかを定義しています.\SpecialChar LyX
19468 は,\SpecialChar LyX
19469 に同梱されている個別の
19470 \begin_inset Flex Code
19471 status collapsed
19472
19473 \begin_layout Plain Layout
19474 *.citeengine
19475 \end_layout
19476
19477 \end_inset
19478
19479 ファイル中において,
19480 \family sans
19481 文書\SpecialChar menuseparator
19482 設定\SpecialChar menuseparator
19483 書誌情報\SpecialChar ldots
19484
19485 \family default
19486 でサポートしている引用様式用に,そのような書式を定義しています(第
19487 \begin_inset CommandInset ref
19488 LatexCommand ref
19489 reference "subsec:引用エンジンファイル"
19490 plural "false"
19491 caps "false"
19492 noprefix "false"
19493
19494 \end_inset
19495
19496 節参照).
19497 \end_layout
19498
19499 \begin_layout Standard
19500 この定義は,Bib\SpecialChar TeX
19501 キーをその値で置換できる機能を持った,簡単な言語を使用しています.キーは,
19502 \begin_inset Flex Code
19503 status collapsed
19504
19505 \begin_layout Plain Layout
19506 %author%
19507 \end_layout
19508
19509 \end_inset
19510
19511 のように
19512 \begin_inset Flex Code
19513 status collapsed
19514
19515 \begin_layout Plain Layout
19516 %
19517 \end_layout
19518
19519 \end_inset
19520
19521 記号でくくらなくてはなりません.したがって,簡単な定義は以下のようになります.
19522 \end_layout
19523
19524 \begin_layout LyX-Code
19525 misc %author%, 
19526 \begin_inset Quotes eld
19527 \end_inset
19528
19529 %title%
19530 \begin_inset Quotes erd
19531 \end_inset
19532
19533
19534 \end_layout
19535
19536 \begin_layout Standard
19537 これは,「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
19538 \end_layout
19539
19540 \begin_layout Standard
19541 もちろん,キーが存在するときのみ,そのキーを出力したい時があるはずです.このようなときには
19542 \begin_inset Flex Code
19543 status collapsed
19544
19545 \begin_layout Plain Layout
19546 {%volume%[[vol.
19547 \begin_inset space ~
19548 \end_inset
19549
19550 %volume%]]}
19551 \end_layout
19552
19553 \end_inset
19554
19555 のように,条件付きの構成を使用することができます.これは,
19556 \begin_inset Flex Code
19557 status collapsed
19558
19559 \begin_layout Plain Layout
19560 volume
19561 \end_layout
19562
19563 \end_inset
19564
19565 が存在するならば,「vol.
19566 \begin_inset space ~
19567 \end_inset
19568
19569 」とvolumeキーを出力するという意味です.また,
19570 \begin_inset Newline newline
19571 \end_inset
19572
19573
19574 \begin_inset Flex Code
19575 status collapsed
19576
19577 \begin_layout Plain Layout
19578 {%author%[[%author%]][[%editor%, ed.]]}
19579 \end_layout
19580
19581 \end_inset
19582
19583
19584 \begin_inset Newline newline
19585 \end_inset
19586
19587 のように,条件の中にelse節を含めることも可能です.ここでは,もし
19588 \begin_inset Flex Code
19589 status collapsed
19590
19591 \begin_layout Plain Layout
19592 author
19593 \end_layout
19594
19595 \end_inset
19596
19597 キーが存在するならば出力され,そうでなければeditorキーと「,
19598 \begin_inset space ~
19599 \end_inset
19600
19601 ed.」が出力されます.ここでもキーは,
19602 \begin_inset Flex Code
19603 status collapsed
19604
19605 \begin_layout Plain Layout
19606 %
19607 \end_layout
19608
19609 \end_inset
19610
19611 記号でくくられていることに注意してください.条件全体は,波括弧で囲まれています.if節およびelse節は,「
19612 \begin_inset Flex Code
19613 status collapsed
19614
19615 \begin_layout Plain Layout
19616 [[
19617 \end_layout
19618
19619 \end_inset
19620
19621 」と「
19622 \begin_inset Flex Code
19623 status collapsed
19624
19625 \begin_layout Plain Layout
19626 ]]
19627 \end_layout
19628
19629 \end_inset
19630
19631 」の二重角括弧で囲まれています.これらすべてのあいだには,空白は入ってはなりません.
19632 \end_layout
19633
19634 \begin_layout Standard
19635 これらの条件文に使うことができるものには,項目キーの他に,以下の特殊キーがあります.
19636 \end_layout
19637
19638 \begin_layout Itemize
19639 \begin_inset Flex Code
19640 status collapsed
19641
19642 \begin_layout Plain Layout
19643 {%dialog%[[真]][[偽]]}
19644 \end_layout
19645
19646 \end_inset
19647
19648 : ダイアログとメニューに対しては「真」の部分を処理し,他の文脈(作業領域や書き出し)には「偽」の部分を処理します
19649 \end_layout
19650
19651 \begin_layout Itemize
19652 \begin_inset Flex Code
19653 status collapsed
19654
19655 \begin_layout Plain Layout
19656 {%export%[[真]][[偽]]}
19657 \end_layout
19658
19659 \end_inset
19660
19661 : 書き出しとメニューに対しては「真」の部分を処理し,他の文脈(作業領域やダイアログ)には「偽」の部分を処理します
19662 \end_layout
19663
19664 \begin_layout Itemize
19665 \begin_inset Flex Code
19666 status collapsed
19667
19668 \begin_layout Plain Layout
19669 {%next%[[真]]}
19670 \end_layout
19671
19672 \end_inset
19673
19674 : 他の項目が続く場合には「真」の部分を処理します(複数キーを持つ引用など)
19675 \end_layout
19676
19677 \begin_layout Itemize
19678 \begin_inset Flex Code
19679 status collapsed
19680
19681 \begin_layout Plain Layout
19682 {%second%[[真]][[偽]]}
19683 \end_layout
19684
19685 \end_inset
19686
19687 : これが複数項目の2番目の場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19688 \end_layout
19689
19690 \begin_layout Itemize
19691 \begin_inset Flex Code
19692 status collapsed
19693
19694 \begin_layout Plain Layout
19695 {%ifstar%[[真]][[偽]]}
19696 \end_layout
19697
19698 \end_inset
19699
19700 : (
19701 \begin_inset Flex Code
19702 status collapsed
19703
19704 \begin_layout Plain Layout
19705
19706 \backslash
19707 cite*
19708 \end_layout
19709
19710 \end_inset
19711
19712 など)星印付き引用コマンドの場合には「真」の部分を処理し,星印付きでない場合には「偽」の部分を処理します
19713 \end_layout
19714
19715 \begin_layout Itemize
19716 \begin_inset Flex Code
19717 status collapsed
19718
19719 \begin_layout Plain Layout
19720 {%ifentrytype:<type>%[[真]][[偽]]}
19721 \end_layout
19722
19723 \end_inset
19724
19725 : 現行の項目が
19726 \begin_inset Flex Code
19727 status collapsed
19728
19729 \begin_layout Plain Layout
19730 <型>
19731 \end_layout
19732
19733 \end_inset
19734
19735 に一致する場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:引用定義において
19736 \begin_inset Flex Code
19737 status collapsed
19738
19739 \begin_layout Plain Layout
19740 {%ifentrytype:book%[[これはbookです]][[これはbookではありません]]}
19741 \end_layout
19742
19743 \end_inset
19744
19745
19746 \end_layout
19747
19748 \begin_layout Itemize
19749 \begin_inset Flex Code
19750 status collapsed
19751
19752 \begin_layout Plain Layout
19753 {%ifmultiple:<authortype>%[[真]][[偽]]}
19754 \end_layout
19755
19756 \end_inset
19757
19758 : 現行の項目が著者型(著者・編者など)が複数の著者を含む場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:書誌情報定義において
19759 \begin_inset Flex Code
19760 status collapsed
19761
19762 \begin_layout Plain Layout
19763 {%ifmultiple:editor%[[eds.]][[ed.]]}
19764 \end_layout
19765
19766 \end_inset
19767
19768
19769 \end_layout
19770
19771 \begin_layout Itemize
19772 \begin_inset Flex Code
19773 status collapsed
19774
19775 \begin_layout Plain Layout
19776 {%ifqualified%[[真]][[偽]]}
19777 \end_layout
19778
19779 \end_inset
19780
19781 : 現行の引用がqualified citation listである(複数文献引用に対する
19782 \family sans
19783 Biblatex
19784 \family default
19785 特有の形式)場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19786 \end_layout
19787
19788 \begin_layout Standard
19789 \begin_inset Flex Code
19790 status collapsed
19791
19792 \begin_layout Plain Layout
19793 %author%
19794 \end_layout
19795
19796 \end_inset
19797
19798 は書誌情報ファイルに記録されている形のままの著者キーを出力すると述べました.これは「Miller, Peter and Smith, Mary
19799  and White, Jane」のような文字列に終わることがあり(Bib\SpecialChar TeX
19800 では著者を区切るのに「and」が用いられるため),望ましい結果ではありません.したがっ
19801 て,\SpecialChar LyX
19802 は,正しく整形された名前のリスト(これも翻訳の対象となります)を得るための方法を提供しています.以下のキーが提供されています.
19803 \end_layout
19804
19805 \begin_layout Enumerate
19806 書誌情報項目の主要著者・編者に適した,姓名付き名前リスト用.
19807 \begin_inset Flex Code
19808 status collapsed
19809
19810 \begin_layout Plain Layout
19811 <nametype>
19812 \end_layout
19813
19814 \end_inset
19815
19816 部分は要請されているリスト型を表します(例:
19817 \begin_inset Flex Code
19818 status collapsed
19819
19820 \begin_layout Plain Layout
19821 <nametype:author>
19822 \end_layout
19823
19824 \end_inset
19825
19826
19827 \end_layout
19828
19829 \begin_deeper
19830 \begin_layout Itemize
19831 \begin_inset Flex Code
19832 status collapsed
19833
19834 \begin_layout Plain Layout
19835 %abbrvnames:<nametype>%
19836 \end_layout
19837
19838 \end_inset
19839
19840
19841 \begin_inset Flex Code
19842 status collapsed
19843
19844 \begin_layout Plain Layout
19845 MaxCiteNames
19846 \end_layout
19847
19848 \end_inset
19849
19850 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
19851 \end_layout
19852
19853 \begin_layout Itemize
19854 \begin_inset Flex Code
19855 status collapsed
19856
19857 \begin_layout Plain Layout
19858 %fullnames:<nametype>%
19859 \end_layout
19860
19861 \end_inset
19862
19863 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
19864 \end_layout
19865
19866 \begin_layout Itemize
19867 \begin_inset Flex Code
19868 status collapsed
19869
19870 \begin_layout Plain Layout
19871 %forceabbrvnames:<nametype>%
19872 \end_layout
19873
19874 \end_inset
19875
19876
19877 \begin_inset Flex Code
19878 status collapsed
19879
19880 \begin_layout Plain Layout
19881 MaxCiteNames
19882 \end_layout
19883
19884 \end_inset
19885
19886 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
19887 \end_layout
19888
19889 \end_deeper
19890 \begin_layout Enumerate
19891 書誌情報項目中の姓名の順序が異なっている場合の,姓名付き名前リスト(例:「Miller, John: 何らかの文, in: Mary Smith,
19892  ed.: A volume」
19893 \end_layout
19894
19895 \begin_deeper
19896 \begin_layout Itemize
19897 \begin_inset Flex Code
19898 status collapsed
19899
19900 \begin_layout Plain Layout
19901 %abbrvbynames:<nametype>%
19902 \end_layout
19903
19904 \end_inset
19905
19906
19907 \begin_inset Flex Code
19908 status collapsed
19909
19910 \begin_layout Plain Layout
19911 MaxCiteNames
19912 \end_layout
19913
19914 \end_inset
19915
19916 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
19917 \end_layout
19918
19919 \begin_layout Itemize
19920 \begin_inset Flex Code
19921 status collapsed
19922
19923 \begin_layout Plain Layout
19924 %fullbynames:<nametype>%
19925 \end_layout
19926
19927 \end_inset
19928
19929 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
19930 \end_layout
19931
19932 \begin_layout Itemize
19933 \begin_inset Flex Code
19934 status collapsed
19935
19936 \begin_layout Plain Layout
19937 %forceabbrvbynames:<nametype>%
19938 \end_layout
19939
19940 \end_inset
19941
19942
19943 \begin_inset Flex Code
19944 status collapsed
19945
19946 \begin_layout Plain Layout
19947 MaxCiteNames
19948 \end_layout
19949
19950 \end_inset
19951
19952 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
19953 \end_layout
19954
19955 \end_deeper
19956 \begin_layout Enumerate
19957 著者-発行年引用ラベルで用いられるような,姓のみを含む姓リスト.これらは
19958 \begin_inset Flex Code
19959 status collapsed
19960
19961 \begin_layout Plain Layout
19962 <nametype>
19963 \end_layout
19964
19965 \end_inset
19966
19967 部分を取りませんが,(著者-発行年ラベルで通例であるように)常に著者リストか,存在しない場合には編者リストを返します.
19968 \end_layout
19969
19970 \begin_deeper
19971 \begin_layout Itemize
19972 \begin_inset Flex Code
19973 status collapsed
19974
19975 \begin_layout Plain Layout
19976 %abbrvciteauthor%
19977 \end_layout
19978
19979 \end_inset
19980
19981
19982 \begin_inset Flex Code
19983 status collapsed
19984
19985 \begin_layout Plain Layout
19986 MaxCiteNames
19987 \end_layout
19988
19989 \end_inset
19990
19991 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
19992 \end_layout
19993
19994 \begin_layout Itemize
19995 \begin_inset Flex Code
19996 status collapsed
19997
19998 \begin_layout Plain Layout
19999 %fullciteauthor%
20000 \end_layout
20001
20002 \end_inset
20003
20004 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
20005 \end_layout
20006
20007 \begin_layout Itemize
20008 \begin_inset Flex Code
20009 status collapsed
20010
20011 \begin_layout Plain Layout
20012 %forceabbrvciteauthor%
20013 \end_layout
20014
20015 \end_inset
20016
20017
20018 \begin_inset Flex Code
20019 status collapsed
20020
20021 \begin_layout Plain Layout
20022 MaxCiteNames
20023 \end_layout
20024
20025 \end_inset
20026
20027 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20028 \end_layout
20029
20030 \end_deeper
20031 \begin_layout Standard
20032 前二者の姓名の順序は,下記のマクロで変更することができます.
20033 \end_layout
20034
20035 \begin_layout Itemize
20036 \begin_inset Flex Code
20037 status collapsed
20038
20039 \begin_layout Plain Layout
20040 !firstnameform %surname%, %prename%
20041 \end_layout
20042
20043 \end_inset
20044
20045 (1の場合の最初の著者)
20046 \end_layout
20047
20048 \begin_layout Itemize
20049 \begin_inset Flex Code
20050 status collapsed
20051
20052 \begin_layout Plain Layout
20053 !othernameform %surname%, %prename%
20054 \end_layout
20055
20056 \end_inset
20057
20058 (1の場合の他の著者)
20059 \end_layout
20060
20061 \begin_layout Itemize
20062 \begin_inset Flex Code
20063 status collapsed
20064
20065 \begin_layout Plain Layout
20066 !firstbynameform %prename% %surname%
20067 \end_layout
20068
20069 \end_inset
20070
20071 (2の場合の最初の著者)
20072 \end_layout
20073
20074 \begin_layout Itemize
20075 \begin_inset Flex Code
20076 status collapsed
20077
20078 \begin_layout Plain Layout
20079 !otherbynameform %prename% %surname%
20080 \end_layout
20081
20082 \end_inset
20083
20084 (2の場合の他の著者)
20085 \end_layout
20086
20087 \begin_layout Standard
20088 これによって,名前を「Miller, Peter and Mary Smith: \SpecialChar ldots
20089 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
20090 」のように
20091 設定することができます.
20092 \end_layout
20093
20094 \begin_layout Standard
20095 もう一つ,定義中で使用することのできる文法として,
20096 \begin_inset Flex Code
20097 status collapsed
20098
20099 \begin_layout Plain Layout
20100 {!<i>!}
20101 \end_layout
20102
20103 \end_inset
20104
20105 という形をしたものがあります.これは,「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,平文を書き出すときには,HTMLタ
20106 グを出力させたくはありませんから,HTMLタグは「
20107 \begin_inset Flex Code
20108 status collapsed
20109
20110 \begin_layout Plain Layout
20111 {!
20112 \end_layout
20113
20114 \end_inset
20115
20116 」と「
20117 \begin_inset Flex Code
20118 status collapsed
20119
20120 \begin_layout Plain Layout
20121 !}
20122 \end_layout
20123
20124 \end_inset
20125
20126 」でくるんでやらなくてはならないのです.
20127 \end_layout
20128
20129 \begin_layout Standard
20130 \begin_inset Flex Code
20131 status collapsed
20132
20133 \begin_layout Plain Layout
20134 CiteFormat
20135 \end_layout
20136
20137 \end_inset
20138
20139 ブロックでは,他に2つの特殊な定義が可能です.一つめの例としては,
20140 \end_layout
20141
20142 \begin_layout LyX-Code
20143 !quotetitle 
20144 \begin_inset Quotes eld
20145 \end_inset
20146
20147 %title%
20148 \begin_inset Quotes erd
20149 \end_inset
20150
20151
20152 \end_layout
20153
20154 \begin_layout Standard
20155 といった例が挙げられます.これは,短縮形ないしはマクロであり,
20156 \begin_inset Flex Code
20157 status collapsed
20158
20159 \begin_layout Plain Layout
20160 %!quotetitle%
20161 \end_layout
20162
20163 \end_inset
20164
20165 のように,これがキーであるかのように扱って使用することができます.\SpecialChar LyX
20166 は,
20167 \begin_inset Flex Code
20168 status collapsed
20169
20170 \begin_layout Plain Layout
20171 %!quotetitle%
20172 \end_layout
20173
20174 \end_inset
20175
20176 を,そこで定義されているものを扱う場合と同じように取り扱います.ですから,明白な警告を敢えてさせて頂くと,
20177 \end_layout
20178
20179 \begin_layout LyX-Code
20180 !funfun %funfun%
20181 \end_layout
20182
20183 \begin_layout Standard
20184 のようなことはしないでください.\SpecialChar LyX
20185 は,無限ループに陥るようなことはありませんが,諦めるまでに時間のかかる長いループに入るかもしれません.
20186 \end_layout
20187
20188 \begin_layout Standard
20189 特殊な定義の二つめは,
20190 \end_layout
20191
20192 \begin_layout LyX-Code
20193 _pptext pp.
20194 \end_layout
20195
20196 \begin_layout Standard
20197 のようなものです.これは翻訳対象となるテキスト部分を定義し,これによって書誌情報や引用の対応する部分が翻訳されるようになります.
20198 \begin_inset Flex Code
20199 status collapsed
20200
20201 \begin_layout Plain Layout
20202 %_pptext%
20203 \end_layout
20204
20205 \end_inset
20206
20207 のように,これをキーとして扱って,定義の中に入れることもできます.これらのうちいくつかは,
20208 \begin_inset Flex Code
20209 status collapsed
20210
20211 \begin_layout Plain Layout
20212 stdciteformats.inc
20213 \end_layout
20214
20215 \end_inset
20216
20217 及び様々な
20218 \begin_inset Flex Code
20219 status collapsed
20220
20221 \begin_layout Plain Layout
20222 *.citeengine
20223 \end_layout
20224
20225 \end_inset
20226
20227 ファイル中に事前定義されています.これは,上記で述べたような意味でのマクロではないことに注意してください.
20228 \end_layout
20229
20230 \begin_layout Standard
20231 以下は,これらの機能を全て使った例です.
20232 \begin_inset VSpace defskip
20233 \end_inset
20234
20235
20236 \end_layout
20237
20238 \begin_layout Standard
20239 \noindent
20240
20241 \family sans
20242 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
20243 \end_layout
20244
20245 \begin_layout Standard
20246 \begin_inset VSpace defskip
20247 \end_inset
20248
20249 これは,
20250 \begin_inset Flex Code
20251 status collapsed
20252
20253 \begin_layout Plain Layout
20254 author
20255 \end_layout
20256
20257 \end_inset
20258
20259 キーが定義されているならば,著者とコンマを出力し,
20260 \begin_inset Flex Code
20261 status collapsed
20262
20263 \begin_layout Plain Layout
20264 author
20265 \end_layout
20266
20267 \end_inset
20268
20269 キーが定義されておらず,
20270 \begin_inset Flex Code
20271 status collapsed
20272
20273 \begin_layout Plain Layout
20274 editor
20275 \end_layout
20276
20277 \end_inset
20278
20279 キーが定義されているならば,編集者名の後に
20280 \begin_inset Flex Code
20281 status collapsed
20282
20283 \begin_layout Plain Layout
20284 _edtext
20285 \end_layout
20286
20287 \end_inset
20288
20289 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
20290 \begin_inset Flex Code
20291 status collapsed
20292
20293 \begin_layout Plain Layout
20294 stdciteformats.inc
20295 \end_layout
20296
20297 \end_inset
20298
20299 の中で定義されていますので,このファイルをまず読みこめば,ご自身の定義ないしは再定義の中で使用することができます.
20300 \end_layout
20301
20302 \begin_layout Section
20303 \begin_inset CommandInset label
20304 LatexCommand label
20305 name "sec:XHTML出力のタグ"
20306
20307 \end_inset
20308
20309 XHTML出力のタグ
20310 \end_layout
20311
20312 \begin_layout Standard
20313 \SpecialChar LaTeX
20314 やDocBookと同様,\SpecialChar LyX
20315 のXHTML出力の書式も,レイアウト情報によって制御することができます.一般的に,\SpecialChar LyX
20316 は適切な既定値を提供し,前述したように,他のレイアウト
20317 タグに基づいて,既定のCSSスタイルの構成まで行ないます.たとえば,章見出しを適切に整形するためのCSSを書き出すために,\SpecialChar LyX
20318 は,章様式の
20319 \begin_inset Flex Code
20320 status collapsed
20321
20322 \begin_layout Plain Layout
20323 Font
20324 \end_layout
20325
20326 \end_inset
20327
20328 宣言で提供されている情報を利用しようと試みます.
20329 \end_layout
20330
20331 \begin_layout Standard
20332 したがって,多くの場合,使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,まったく何もしなくてよいことになるでしょう.しかしながら
20333 ,これが必要になる場合もあるので,\SpecialChar LyX
20334 は,生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,たくさん提供しています.
20335 \end_layout
20336
20337 \begin_layout Standard
20338 様式宣言や差込枠宣言の外で使用することができるタグに,
20339 \begin_inset Flex Code
20340 status collapsed
20341
20342 \begin_layout Plain Layout
20343 HTMLPreamble
20344 \end_layout
20345
20346 \end_inset
20347
20348
20349 \begin_inset Flex Code
20350 status collapsed
20351
20352 \begin_layout Plain Layout
20353 AddToHTMLPreamble
20354 \end_layout
20355
20356 \end_inset
20357
20358 の2つがあることに注意してください.これらの詳細については,
20359 \begin_inset CommandInset ref
20360 LatexCommand ref
20361 reference "subsec:汎用テキストクラスパラメータ"
20362
20363 \end_inset
20364
20365 をご覧ください.
20366 \end_layout
20367
20368 \begin_layout Subsection
20369 \begin_inset CommandInset label
20370 LatexCommand label
20371 name "subsec:段落様式-XHTML"
20372
20373 \end_inset
20374
20375 段落様式
20376 \end_layout
20377
20378 \begin_layout Standard
20379 \SpecialChar LyX
20380 が段落のために出力するXHTMLの種類は,通常の段落を取り扱っているのか,コマンドを取り扱っているのか,あるいは環境を取り扱っているのかに依存し,これは対応する
20381 \begin_inset Flex Code
20382 status collapsed
20383
20384 \begin_layout Plain Layout
20385 \SpecialChar LaTeX
20386 Type
20387 \end_layout
20388
20389 \end_inset
20390
20391 タグの内容によって決定されます.
20392 \end_layout
20393
20394 \begin_layout Standard
20395 コマンドや通常の段落の場合には,XHTML出力は以下の形になります.
20396 \end_layout
20397
20398 \begin_layout LyX-Code
20399
20400 \family sans
20401 <tag attr=
20402 \begin_inset Quotes erd
20403 \end_inset
20404
20405 value
20406 \begin_inset Quotes erd
20407 \end_inset
20408
20409 >
20410 \end_layout
20411
20412 \begin_layout LyX-Code
20413
20414 \family sans
20415 <labeltag attr=
20416 \begin_inset Quotes erd
20417 \end_inset
20418
20419 value
20420 \begin_inset Quotes erd
20421 \end_inset
20422
20423 >ラベル</labeltag>
20424 \end_layout
20425
20426 \begin_layout LyX-Code
20427
20428 \family sans
20429 段落の内容
20430 \end_layout
20431
20432 \begin_layout LyX-Code
20433
20434 \family sans
20435 </tag>
20436 \end_layout
20437
20438 \begin_layout Standard
20439 もちろん,段落にラベルがなければ,ラベルタグは省略することができます.
20440 \end_layout
20441
20442 \begin_layout Standard
20443 環境のうち,リストの変種でないものに関しては,XHTMLは以下の形を取ります.
20444 \end_layout
20445
20446 \begin_layout LyX-Code
20447
20448 \family sans
20449 <tag attr=
20450 \begin_inset Quotes erd
20451 \end_inset
20452
20453 value
20454 \begin_inset Quotes erd
20455 \end_inset
20456
20457 >
20458 \end_layout
20459
20460 \begin_layout LyX-Code
20461
20462 \family sans
20463 <itemtag attr=
20464 \begin_inset Quotes erd
20465 \end_inset
20466
20467 value
20468 \begin_inset Quotes erd
20469 \end_inset
20470
20471 ><labeltag attr=
20472 \begin_inset Quotes erd
20473 \end_inset
20474
20475 value
20476 \begin_inset Quotes erd
20477 \end_inset
20478
20479 >環境ラベル</labeltag>最初の段落.
20480 \end_layout
20481
20482 \begin_layout LyX-Code
20483
20484 \family sans
20485 </itemtag>
20486 \end_layout
20487
20488 \begin_layout LyX-Code
20489
20490 \family sans
20491 <itemtag>二つめの段落.</itemtag>
20492 \end_layout
20493
20494 \begin_layout LyX-Code
20495
20496 \family sans
20497 </tag>
20498 \end_layout
20499
20500 \begin_layout Standard
20501 ラベルは,たとえば定理の場合にそうであるように,最初の段落にだけ出力されることに注意してください.
20502 \end_layout
20503
20504 \begin_layout Standard
20505 リストに関しては,次のような形になります.
20506 \end_layout
20507
20508 \begin_layout LyX-Code
20509
20510 \family sans
20511 <tag attr=
20512 \begin_inset Quotes erd
20513 \end_inset
20514
20515 value
20516 \begin_inset Quotes erd
20517 \end_inset
20518
20519 >
20520 \end_layout
20521
20522 \begin_layout LyX-Code
20523
20524 \family sans
20525 <itemtag attr=
20526 \begin_inset Quotes erd
20527 \end_inset
20528
20529 value
20530 \begin_inset Quotes erd
20531 \end_inset
20532
20533 ><labeltag attr=
20534 \begin_inset Quotes erd
20535 \end_inset
20536
20537 value
20538 \begin_inset Quotes erd
20539 \end_inset
20540
20541 >リストのラベル</labeltag>最初の項目.</itemtag>
20542 \end_layout
20543
20544 \begin_layout LyX-Code
20545
20546 \family sans
20547 <itemtag attr=
20548 \begin_inset Quotes erd
20549 \end_inset
20550
20551 value
20552 \begin_inset Quotes erd
20553 \end_inset
20554
20555 ><labeltag attr=
20556 \begin_inset Quotes erd
20557 \end_inset
20558
20559 value
20560 \begin_inset Quotes erd
20561 \end_inset
20562
20563 >リストのラベル</labeltag>二つめの項目.</itemtag>
20564 \end_layout
20565
20566 \begin_layout LyX-Code
20567
20568 \family sans
20569 </tag>
20570 \end_layout
20571
20572 \begin_layout LyX-Code
20573
20574 \end_layout
20575
20576 \begin_layout LyX-Code
20577
20578 \family sans
20579 <tag attr=
20580 \begin_inset Quotes erd
20581 \end_inset
20582
20583 value
20584 \begin_inset Quotes erd
20585 \end_inset
20586
20587 >
20588 \end_layout
20589
20590 \begin_layout LyX-Code
20591
20592 \family sans
20593 <labeltag attr=
20594 \begin_inset Quotes erd
20595 \end_inset
20596
20597 value
20598 \begin_inset Quotes erd
20599 \end_inset
20600
20601 >リストのラベル</labeltag><itemtag attr=
20602 \begin_inset Quotes erd
20603 \end_inset
20604
20605 value
20606 \begin_inset Quotes erd
20607 \end_inset
20608
20609 >最初の項目.</itemtag>
20610 \end_layout
20611
20612 \begin_layout LyX-Code
20613
20614 \family sans
20615 <labeltag attr=
20616 \begin_inset Quotes erd
20617 \end_inset
20618
20619 value
20620 \begin_inset Quotes erd
20621 \end_inset
20622
20623 >リストのラベル</labeltag><itemtag attr=
20624 \begin_inset Quotes erd
20625 \end_inset
20626
20627 value
20628 \begin_inset Quotes erd
20629 \end_inset
20630
20631 >二つめの項目</itemtag>
20632 \end_layout
20633
20634 \begin_layout LyX-Code
20635
20636 \family sans
20637 </tag>
20638 \end_layout
20639
20640 \begin_layout Standard
20641 ここで
20642 \begin_inset Flex Code
20643 status collapsed
20644
20645 \begin_layout Plain Layout
20646 labeltag
20647 \end_layout
20648
20649 \end_inset
20650
20651
20652 \begin_inset Flex Code
20653 status collapsed
20654
20655 \begin_layout Plain Layout
20656 itemtag
20657 \end_layout
20658
20659 \end_inset
20660
20661 の順序が違っていることに注意してください.どちらの順序になるかは,
20662 \begin_inset Flex Code
20663 status collapsed
20664
20665 \begin_layout Plain Layout
20666 HTMLLabelFirst
20667 \end_layout
20668
20669 \end_inset
20670
20671 の設定に依存します.もし
20672 \begin_inset Flex Code
20673 status collapsed
20674
20675 \begin_layout Plain Layout
20676 HTMLLabelFirst
20677 \end_layout
20678
20679 \end_inset
20680
20681 が偽であれば(既定値),最初のケースのようになり,これが真であれば,二番めのケースのように,labelがitemの外側に来るようになります.
20682 \end_layout
20683
20684 \begin_layout Standard
20685 各段落の特定のタグ出力や属性出力は,以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,前述のように,多くの場合,\SpecialChar LyX
20686 は適切な既定値を生成
20687 するので,たいしたことをしなくても,望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,自分の好みにあわせて微調整する目的
20688 でここにあるものと考えてください.
20689 \end_layout
20690
20691 \begin_layout Description
20692 \begin_inset Flex Code
20693 status collapsed
20694
20695 \begin_layout Plain Layout
20696 HTMLAttr
20697 \end_layout
20698
20699 \end_inset
20700
20701  [
20702 \begin_inset Flex Code
20703 status collapsed
20704
20705 \begin_layout Plain Layout
20706 文字列
20707 \end_layout
20708
20709 \end_inset
20710
20711 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
20712 \begin_inset Flex Code
20713 status collapsed
20714
20715 \begin_layout Plain Layout
20716 class=`mydiv'
20717 \end_layout
20718
20719 \end_inset
20720
20721 」のようなものです.既定においては,\SpecialChar LyX
20722 は「
20723 \begin_inset Flex Code
20724 status collapsed
20725
20726 \begin_layout Plain Layout
20727 class=`レイアウト名'
20728 \end_layout
20729
20730 \end_inset
20731
20732 」と出力します.ここで
20733 \begin_inset Flex Code
20734 status collapsed
20735
20736 \begin_layout Plain Layout
20737 レイアウト名
20738 \end_layout
20739
20740 \end_inset
20741
20742 は,レイアウトの\SpecialChar LyX
20743 名であり,chapterのように小文字で記述します.
20744 \end_layout
20745
20746 \begin_layout Description
20747 \begin_inset Flex Code
20748 status collapsed
20749
20750 \begin_layout Plain Layout
20751 HTMLForceCSS
20752 \end_layout
20753
20754 \end_inset
20755
20756  [
20757 \begin_inset Flex Code
20758 status collapsed
20759
20760 \begin_layout Plain Layout
20761
20762 \emph on
20763 0
20764 \emph default
20765 ,1
20766 \end_layout
20767
20768 \end_inset
20769
20770 ] 
20771 \begin_inset Flex Code
20772 status collapsed
20773
20774 \begin_layout Plain Layout
20775 HTMLStyle
20776 \end_layout
20777
20778 \end_inset
20779
20780 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
20781 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
20782 \begin_inset Flex Code
20783 status collapsed
20784
20785 \begin_layout Plain Layout
20786 1
20787 \end_layout
20788
20789 \end_inset
20790
20791 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
20792 \begin_inset Flex Code
20793 status collapsed
20794
20795 \begin_layout Plain Layout
20796 0
20797 \end_layout
20798
20799 \end_inset
20800
20801 です.
20802 \end_layout
20803
20804 \begin_layout Description
20805 \begin_inset Flex Code
20806 status collapsed
20807
20808 \begin_layout Plain Layout
20809 HTMLItem
20810 \end_layout
20811
20812 \end_inset
20813
20814  [
20815 \begin_inset Flex Code
20816 status collapsed
20817
20818 \begin_layout Plain Layout
20819 文字列
20820 \end_layout
20821
20822 \end_inset
20823
20824 ] 環境の段落に使用されるタグ.上記各例の
20825 \begin_inset Flex Code
20826 status collapsed
20827
20828 \begin_layout Plain Layout
20829 itemtag
20830 \end_layout
20831
20832 \end_inset
20833
20834 を置き換えます.既定値は
20835 \begin_inset Flex Code
20836 status collapsed
20837
20838 \begin_layout Plain Layout
20839 div
20840 \end_layout
20841
20842 \end_inset
20843
20844 です.
20845 \end_layout
20846
20847 \begin_layout Description
20848 \begin_inset Flex Code
20849 status collapsed
20850
20851 \begin_layout Plain Layout
20852 HTMLItemAttr
20853 \end_layout
20854
20855 \end_inset
20856
20857  [
20858 \begin_inset Flex Code
20859 status collapsed
20860
20861 \begin_layout Plain Layout
20862 文字列
20863 \end_layout
20864
20865 \end_inset
20866
20867 ] itemタグの属性.既定値は
20868 \begin_inset Flex Code
20869 status collapsed
20870
20871 \begin_layout Plain Layout
20872 class=`レイアウト名_item'
20873 \end_layout
20874
20875 \end_inset
20876
20877 です.ここには,様式情報は含まれては
20878 \emph on
20879 なりません
20880 \emph default
20881 .その目的のためには,
20882 \begin_inset Flex Code
20883 status collapsed
20884
20885 \begin_layout Plain Layout
20886 HTMLStyle
20887 \end_layout
20888
20889 \end_inset
20890
20891 を使用してください.
20892 \end_layout
20893
20894 \begin_layout Description
20895 \begin_inset Flex Code
20896 status collapsed
20897
20898 \begin_layout Plain Layout
20899 HTMLLabel
20900 \end_layout
20901
20902 \end_inset
20903
20904  [
20905 \begin_inset Flex Code
20906 status collapsed
20907
20908 \begin_layout Plain Layout
20909 文字列
20910 \end_layout
20911
20912 \end_inset
20913
20914 ] 段落と項目ラベルに使用されるタグ.上記各例の
20915 \begin_inset Flex Code
20916 status collapsed
20917
20918 \begin_layout Plain Layout
20919 labeltag
20920 \end_layout
20921
20922 \end_inset
20923
20924 を置き換えます.
20925 \begin_inset Flex Code
20926 status collapsed
20927
20928 \begin_layout Plain Layout
20929 LabelType
20930 \end_layout
20931
20932 \end_inset
20933
20934
20935 \begin_inset Flex Code
20936 status collapsed
20937
20938 \begin_layout Plain Layout
20939 Top_Environment
20940 \end_layout
20941
20942 \end_inset
20943
20944
20945 \begin_inset Flex Code
20946 status collapsed
20947
20948 \begin_layout Plain Layout
20949 Centered_Top_Environment
20950 \end_layout
20951
20952 \end_inset
20953
20954 の時は,既定値は
20955 \begin_inset Flex Code
20956 status collapsed
20957
20958 \begin_layout Plain Layout
20959 div
20960 \end_layout
20961
20962 \end_inset
20963
20964 ですが,それ以外の時の既定値は
20965 \begin_inset Flex Code
20966 status collapsed
20967
20968 \begin_layout Plain Layout
20969 span
20970 \end_layout
20971
20972 \end_inset
20973
20974 です.
20975 \end_layout
20976
20977 \begin_layout Description
20978 \begin_inset Flex Code
20979 status collapsed
20980
20981 \begin_layout Plain Layout
20982 HTMLLabelAttr
20983 \end_layout
20984
20985 \end_inset
20986
20987  [
20988 \begin_inset Flex Code
20989 status collapsed
20990
20991 \begin_layout Plain Layout
20992 文字列
20993 \end_layout
20994
20995 \end_inset
20996
20997 ] labelタグの属性.既定値は
20998 \begin_inset Flex Code
20999 status collapsed
21000
21001 \begin_layout Plain Layout
21002 class=`レイアウト名_label'
21003 \end_layout
21004
21005 \end_inset
21006
21007 です.ここには,様式情報は含まれては
21008 \emph on
21009 なりません
21010 \emph default
21011 .その目的のためには,
21012 \begin_inset Flex Code
21013 status collapsed
21014
21015 \begin_layout Plain Layout
21016 HTMLStyle
21017 \end_layout
21018
21019 \end_inset
21020
21021 を使用してください.
21022 \end_layout
21023
21024 \begin_layout Description
21025 \begin_inset Flex Code
21026 status collapsed
21027
21028 \begin_layout Plain Layout
21029 HTMLLabelFirst
21030 \end_layout
21031
21032 \end_inset
21033
21034  [
21035 \begin_inset Flex Code
21036 status collapsed
21037
21038 \begin_layout Plain Layout
21039
21040 \emph on
21041 0
21042 \emph default
21043 ,1
21044 \end_layout
21045
21046 \end_inset
21047
21048 ] このタグは,リスト関係環境でのみ意味を持ち,labelタグが,itemタグの前に出力されるか,中に出力されるかを制御します.これは,たとえば,descrip
21049 tion環境の中で,
21050 \begin_inset Flex Code
21051 status collapsed
21052
21053 \begin_layout Plain Layout
21054 `<dt>\SpecialChar ldots
21055 </dt><dd>\SpecialChar ldots
21056 </dd>
21057 \end_layout
21058
21059 \end_inset
21060
21061 という形を得るために使用されます.既定値は
21062 \begin_inset Flex Code
21063 status collapsed
21064
21065 \begin_layout Plain Layout
21066 0
21067 \end_layout
21068
21069 \end_inset
21070
21071 で,labelタグはitemタグの中に出力されます.
21072 \end_layout
21073
21074 \begin_layout Description
21075 \begin_inset Flex Code
21076 status collapsed
21077
21078 \begin_layout Plain Layout
21079 HTMLPreamble
21080 \end_layout
21081
21082 \end_inset
21083
21084  この様式が使用されたときに,
21085 \begin_inset Flex Code
21086 status collapsed
21087
21088 \begin_layout Plain Layout
21089 <head>
21090 \end_layout
21091
21092 \end_inset
21093
21094 セクションに出力される情報.これは,たとえば,
21095 \begin_inset Flex Code
21096 status collapsed
21097
21098 \begin_layout Plain Layout
21099 onclick
21100 \end_layout
21101
21102 \end_inset
21103
21104 ハンドラを定義するために
21105 \begin_inset Flex Code
21106 status collapsed
21107
21108 \begin_layout Plain Layout
21109 <script>
21110 \end_layout
21111
21112 \end_inset
21113
21114 ブロックをインクルードするのに使用することができます.
21115 \end_layout
21116
21117 \begin_layout Description
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   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21128 \begin_inset Flex Code
21129 status collapsed
21130
21131 \begin_layout Plain Layout
21132 <style>
21133 \end_layout
21134
21135 \end_inset
21136
21137 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21138 \begin_inset Flex Code
21139 status collapsed
21140
21141 \begin_layout Plain Layout
21142 EndHTMLStyle
21143 \end_layout
21144
21145 \end_inset
21146
21147 で閉じなくてはなりません.
21148 \end_layout
21149
21150 \begin_layout Description
21151 \begin_inset Flex Code
21152 status collapsed
21153
21154 \begin_layout Plain Layout
21155 HTMLTag
21156 \end_layout
21157
21158 \end_inset
21159
21160  [
21161 \begin_inset Flex Code
21162 status collapsed
21163
21164 \begin_layout Plain Layout
21165 文字列
21166 \end_layout
21167
21168 \end_inset
21169
21170 ] 主幹ラベルに使用されるタグ.上記各例の
21171 \begin_inset Flex Code
21172 status collapsed
21173
21174 \begin_layout Plain Layout
21175 tag
21176 \end_layout
21177
21178 \end_inset
21179
21180 を置き換えます.既定値は
21181 \begin_inset Flex Code
21182 status collapsed
21183
21184 \begin_layout Plain Layout
21185 div
21186 \end_layout
21187
21188 \end_inset
21189
21190 です.
21191 \end_layout
21192
21193 \begin_layout Description
21194 \begin_inset Flex Code
21195 status collapsed
21196
21197 \begin_layout Plain Layout
21198 HTMLTitle
21199 \end_layout
21200
21201 \end_inset
21202
21203  [
21204 \begin_inset Flex Code
21205 status collapsed
21206
21207 \begin_layout Plain Layout
21208
21209 \emph on
21210 0
21211 \emph default
21212 ,1
21213 \end_layout
21214
21215 \end_inset
21216
21217 ] この様式が,XHTMLファイルの
21218 \begin_inset Flex Code
21219 status collapsed
21220
21221 \begin_layout Plain Layout
21222 <title>
21223 \end_layout
21224
21225 \end_inset
21226
21227 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
21228 \begin_inset Flex Code
21229 status collapsed
21230
21231 \begin_layout Plain Layout
21232 stdtitle.inc
21233 \end_layout
21234
21235 \end_inset
21236
21237 ファイルでは,
21238 \begin_inset Flex Code
21239 status collapsed
21240
21241 \begin_layout Plain Layout
21242 title
21243 \end_layout
21244
21245 \end_inset
21246
21247 環境のこの項目を真に設定しています.
21248 \end_layout
21249
21250 \begin_layout Subsection
21251 差込枠レイアウトXHTML
21252 \end_layout
21253
21254 \begin_layout Standard
21255 差込枠のXHTML出力も,レイアウトファイル内の情報によって制御することができます
21256 \begin_inset Foot
21257 status collapsed
21258
21259 \begin_layout Plain Layout
21260 現在のところ,これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されませ
21261 ん.
21262 \end_layout
21263
21264 \end_inset
21265
21266 .ここでも,\SpecialChar LyX
21267 は適切な既定値を提供しようと試み,既定のCSS様式を構成します.しかし,すべてカスタマイズ可能です.
21268 \end_layout
21269
21270 \begin_layout Standard
21271 \SpecialChar LyX
21272 が差込枠用に出力するXHTMLは,以下の形を取ります.
21273 \end_layout
21274
21275 \begin_layout LyX-Code
21276 <tag attr=
21277 \begin_inset Quotes erd
21278 \end_inset
21279
21280 value
21281 \begin_inset Quotes erd
21282 \end_inset
21283
21284 >
21285 \end_layout
21286
21287 \begin_layout LyX-Code
21288 <labeltag>ラベル</labeltag>
21289 \end_layout
21290
21291 \begin_layout LyX-Code
21292 <innertag attr=
21293 \begin_inset Quotes erd
21294 \end_inset
21295
21296 value
21297 \begin_inset Quotes erd
21298 \end_inset
21299
21300 >差込枠の内容.</innertag>
21301 \end_layout
21302
21303 \begin_layout LyX-Code
21304 </tag>
21305 \end_layout
21306
21307 \begin_layout Standard
21308 差込枠が多段落を許可している—つまり
21309 \begin_inset Flex Code
21310 status collapsed
21311
21312 \begin_layout Plain Layout
21313 MultiPar
21314 \end_layout
21315
21316 \end_inset
21317
21318 が真—ならば,差込枠の内容は,それ自身段落として出力され,それらの段落に用いられる様式(標準,引用など)を用いて整形されます.もちろん,段落にラベルがなければ,
21319 labelタグは省略され,ラベルがあれば,現在のところ,つねに
21320 \begin_inset Flex Code
21321 status collapsed
21322
21323 \begin_layout Plain Layout
21324 span
21325 \end_layout
21326
21327 \end_inset
21328
21329 が用いられます.innerタグは非必須であり,既定では出力されません.各差込枠用に出力される特定のタグや属性は,以下のレイアウトタグによって制御することができま
21330 す.
21331 \end_layout
21332
21333 \begin_layout Description
21334 \begin_inset Flex Code
21335 status collapsed
21336
21337 \begin_layout Plain Layout
21338 HTMLAttr
21339 \end_layout
21340
21341 \end_inset
21342
21343  [
21344 \begin_inset Flex Code
21345 status collapsed
21346
21347 \begin_layout Plain Layout
21348 文字列
21349 \end_layout
21350
21351 \end_inset
21352
21353 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21354 \begin_inset Flex Code
21355 status collapsed
21356
21357 \begin_layout Plain Layout
21358 class=`myinset' onclick=`\SpecialChar ldots
21359 '
21360 \end_layout
21361
21362 \end_inset
21363
21364 」のようなものです.既定においては,\SpecialChar LyX
21365 は「
21366 \begin_inset Flex Code
21367 status collapsed
21368
21369 \begin_layout Plain Layout
21370 class=`差込枠名'
21371 \end_layout
21372
21373 \end_inset
21374
21375 」と出力します.ここで
21376 \begin_inset Flex Code
21377 status collapsed
21378
21379 \begin_layout Plain Layout
21380 差込枠名
21381 \end_layout
21382
21383 \end_inset
21384
21385 は,差込枠の\SpecialChar LyX
21386 名であり,小文字で記述します.アルファベットや数字以外の文字は,アンダースコアに置き換えられます.
21387 \end_layout
21388
21389 \begin_layout Description
21390 \begin_inset Flex Code
21391 status collapsed
21392
21393 \begin_layout Plain Layout
21394 HTMLForceCSS
21395 \end_layout
21396
21397 \end_inset
21398
21399  [
21400 \begin_inset Flex Code
21401 status collapsed
21402
21403 \begin_layout Plain Layout
21404
21405 \emph on
21406 0
21407 \emph default
21408 ,1
21409 \end_layout
21410
21411 \end_inset
21412
21413 ] 
21414 \begin_inset Flex Code
21415 status collapsed
21416
21417 \begin_layout Plain Layout
21418 HTMLStyle
21419 \end_layout
21420
21421 \end_inset
21422
21423 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
21424 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
21425 \begin_inset Flex Code
21426 status collapsed
21427
21428 \begin_layout Plain Layout
21429 1
21430 \end_layout
21431
21432 \end_inset
21433
21434 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
21435 \begin_inset Flex Code
21436 status collapsed
21437
21438 \begin_layout Plain Layout
21439 0
21440 \end_layout
21441
21442 \end_inset
21443
21444 です.
21445 \end_layout
21446
21447 \begin_layout Description
21448 \begin_inset Flex Code
21449 status collapsed
21450
21451 \begin_layout Plain Layout
21452 HTMLInnerAttr
21453 \end_layout
21454
21455 \end_inset
21456
21457  [
21458 \begin_inset Flex Code
21459 status collapsed
21460
21461 \begin_layout Plain Layout
21462 文字列
21463 \end_layout
21464
21465 \end_inset
21466
21467 ] innerタグの属性.既定値は
21468 \begin_inset Flex Code
21469 status collapsed
21470
21471 \begin_layout Plain Layout
21472 class=`差込枠名_inner'
21473 \end_layout
21474
21475 \end_inset
21476
21477 です.
21478 \end_layout
21479
21480 \begin_layout Description
21481 \begin_inset Flex Code
21482 status collapsed
21483
21484 \begin_layout Plain Layout
21485 HTMLInnerTag
21486 \end_layout
21487
21488 \end_inset
21489
21490  [
21491 \begin_inset Flex Code
21492 status collapsed
21493
21494 \begin_layout Plain Layout
21495 文字列
21496 \end_layout
21497
21498 \end_inset
21499
21500 ] innerタグです.上記各例の
21501 \begin_inset Flex Code
21502 status collapsed
21503
21504 \begin_layout Plain Layout
21505 innertag
21506 \end_layout
21507
21508 \end_inset
21509
21510 を置き換えます.既定値はなしです.
21511 \end_layout
21512
21513 \begin_layout Description
21514 \begin_inset Flex Code
21515 status collapsed
21516
21517 \begin_layout Plain Layout
21518 HTMLIsBlock
21519 \end_layout
21520
21521 \end_inset
21522
21523  [
21524 \begin_inset Flex Code
21525 status collapsed
21526
21527 \begin_layout Plain Layout
21528 0,
21529 \emph on
21530 1
21531 \end_layout
21532
21533 \end_inset
21534
21535 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,それとも,(派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
21536 \end_layout
21537
21538 \begin_layout Description
21539 \begin_inset Flex Code
21540 status collapsed
21541
21542 \begin_layout Plain Layout
21543 HTMLLabel
21544 \end_layout
21545
21546 \end_inset
21547
21548  [
21549 \begin_inset Flex Code
21550 status collapsed
21551
21552 \begin_layout Plain Layout
21553 文字列
21554 \end_layout
21555
21556 \end_inset
21557
21558 ] 場合によっては,カウンタへの参照を含む,この差込枠のラベル.たとえば,脚註用には
21559 \begin_inset Flex Code
21560 status collapsed
21561
21562 \begin_layout Plain Layout
21563
21564 \backslash
21565 arabic{footnote}
21566 \end_layout
21567
21568 \end_inset
21569
21570 など.これは非必須であり,既定値はありません.
21571 \end_layout
21572
21573 \begin_layout Description
21574 \begin_inset Flex Code
21575 status collapsed
21576
21577 \begin_layout Plain Layout
21578 HTMLPreamble
21579 \end_layout
21580
21581 \end_inset
21582
21583  この様式が使用されたときに,
21584 \begin_inset Flex Code
21585 status collapsed
21586
21587 \begin_layout Plain Layout
21588 <head>
21589 \end_layout
21590
21591 \end_inset
21592
21593 セクションに出力される情報.これは,たとえば,
21594 \begin_inset Flex Code
21595 status collapsed
21596
21597 \begin_layout Plain Layout
21598 onclick
21599 \end_layout
21600
21601 \end_inset
21602
21603 ハンドラを定義するために
21604 \begin_inset Flex Code
21605 status collapsed
21606
21607 \begin_layout Plain Layout
21608 <script>
21609 \end_layout
21610
21611 \end_inset
21612
21613 ブロックをインクルードするのに使用することができます.
21614 \end_layout
21615
21616 \begin_layout Description
21617 \begin_inset Flex Code
21618 status collapsed
21619
21620 \begin_layout Plain Layout
21621 HTMLStyle
21622 \end_layout
21623
21624 \end_inset
21625
21626   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21627 \begin_inset Flex Code
21628 status collapsed
21629
21630 \begin_layout Plain Layout
21631 <style>
21632 \end_layout
21633
21634 \end_inset
21635
21636 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21637 \end_layout
21638
21639 \begin_layout Description
21640 \begin_inset Flex Code
21641 status collapsed
21642
21643 \begin_layout Plain Layout
21644 HTMLTag
21645 \end_layout
21646
21647 \end_inset
21648
21649  [
21650 \begin_inset Flex Code
21651 status collapsed
21652
21653 \begin_layout Plain Layout
21654 文字列
21655 \end_layout
21656
21657 \end_inset
21658
21659 ] 主幹ラベルに使用されるタグ.上記各例の
21660 \begin_inset Flex Code
21661 status collapsed
21662
21663 \begin_layout Plain Layout
21664 tag
21665 \end_layout
21666
21667 \end_inset
21668
21669 を置き換えます.既定値は
21670 \begin_inset Flex Code
21671 status collapsed
21672
21673 \begin_layout Plain Layout
21674 MultiPar
21675 \end_layout
21676
21677 \end_inset
21678
21679 の設定に依存し,
21680 \begin_inset Flex Code
21681 status collapsed
21682
21683 \begin_layout Plain Layout
21684 MultiPar
21685 \end_layout
21686
21687 \end_inset
21688
21689 が真ならば
21690 \begin_inset Flex Code
21691 status collapsed
21692
21693 \begin_layout Plain Layout
21694 div
21695 \end_layout
21696
21697 \end_inset
21698
21699 ,偽ならば
21700 \begin_inset Flex Code
21701 status collapsed
21702
21703 \begin_layout Plain Layout
21704 span
21705 \end_layout
21706
21707 \end_inset
21708
21709 です.
21710 \end_layout
21711
21712 \begin_layout Subsection
21713 フロートXHTML
21714 \end_layout
21715
21716 \begin_layout Standard
21717 フロートのXHTML出力も,レイアウトファイル内の情報によって制御することができます.出力は,以下の形を取ります.
21718 \end_layout
21719
21720 \begin_layout LyX-Code
21721 <tag attr=
21722 \begin_inset Quotes erd
21723 \end_inset
21724
21725 value
21726 \begin_inset Quotes erd
21727 \end_inset
21728
21729 >
21730 \end_layout
21731
21732 \begin_layout LyX-Code
21733 フロートの内容.
21734 \end_layout
21735
21736 \begin_layout LyX-Code
21737 </tag>
21738 \end_layout
21739
21740 \begin_layout Standard
21741 キャプションは,存在している場合には,独立した差込枠となり,そのような形で出力されます.その外観は,キャプション差込枠のInsetLayoutで制御することがで
21742 きます.
21743 \end_layout
21744
21745 \begin_layout Description
21746 \begin_inset Flex Code
21747 status collapsed
21748
21749 \begin_layout Plain Layout
21750 HTMLAttr
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 class=`myfloat' onclick=`\SpecialChar ldots
21771 '
21772 \end_layout
21773
21774 \end_inset
21775
21776 」のようなものです.既定においては,\SpecialChar LyX
21777 は「
21778 \begin_inset Flex Code
21779 status collapsed
21780
21781 \begin_layout Plain Layout
21782 class=`float フロート-フロート型'
21783 \end_layout
21784
21785 \end_inset
21786
21787 」と出力します.ここで
21788 \begin_inset Flex Code
21789 status collapsed
21790
21791 \begin_layout Plain Layout
21792 フロート型
21793 \end_layout
21794
21795 \end_inset
21796
21797 は,フロート宣言で定義された(
21798 \begin_inset CommandInset ref
21799 LatexCommand ref
21800 reference "subsec:フロート"
21801
21802 \end_inset
21803
21804 参照),この型のフロートの\SpecialChar LyX
21805 名です.ただし,これは小文字に変換され,アルファベットや数字でない文字はアンダースコアに変換されます.例:float-table.
21806 \end_layout
21807
21808 \begin_layout Description
21809 \begin_inset Flex Code
21810 status collapsed
21811
21812 \begin_layout Plain Layout
21813 HTMLStyle
21814 \end_layout
21815
21816 \end_inset
21817
21818   このフロートが使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21819 \begin_inset Flex Code
21820 status collapsed
21821
21822 \begin_layout Plain Layout
21823 <style>
21824 \end_layout
21825
21826 \end_inset
21827
21828 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21829 \end_layout
21830
21831 \begin_layout Description
21832 \begin_inset Flex Code
21833 status collapsed
21834
21835 \begin_layout Plain Layout
21836 HTMLTag
21837 \end_layout
21838
21839 \end_inset
21840
21841  [
21842 \begin_inset Flex Code
21843 status collapsed
21844
21845 \begin_layout Plain Layout
21846 文字列
21847 \end_layout
21848
21849 \end_inset
21850
21851 ] このフロートに使用されるタグ.上記各例の
21852 \begin_inset Flex Code
21853 status collapsed
21854
21855 \begin_layout Plain Layout
21856 tag
21857 \end_layout
21858
21859 \end_inset
21860
21861 を置き換えます.既定値は
21862 \begin_inset Flex Code
21863 status collapsed
21864
21865 \begin_layout Plain Layout
21866 div
21867 \end_layout
21868
21869 \end_inset
21870
21871 であり,ほとんどの場合変更する必要はありません.
21872 \end_layout
21873
21874 \begin_layout Subsection
21875 書誌情報の整形
21876 \end_layout
21877
21878 \begin_layout Standard
21879 書誌情報は,
21880 \begin_inset Flex Code
21881 status collapsed
21882
21883 \begin_layout Plain Layout
21884 CiteFormat
21885 \end_layout
21886
21887 \end_inset
21888
21889 ブロックを使用して整形することができます.詳細については,
21890 \begin_inset CommandInset ref
21891 LatexCommand ref
21892 reference "subsec:引用書式指定"
21893
21894 \end_inset
21895
21896 を参照してください.
21897 \end_layout
21898
21899 \begin_layout Subsection
21900 \SpecialChar LyX
21901 が生成したCSS
21902 \end_layout
21903
21904 \begin_layout Standard
21905 \SpecialChar LyX
21906 は,提供されている他のレイアウト情報に基づいて,差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,これまでに何度か触れました.この節では,\SpecialChar LyX
21907
21908 がどのレイアウト情報を,どのように使うのか,ひとこと述べておきたいと思います.
21909 \end_layout
21910
21911 \begin_layout Standard
21912 \SpecialChar LyX
21913 は,現在のところ,
21914 \begin_inset Flex Code
21915 status collapsed
21916
21917 \begin_layout Plain Layout
21918 Font
21919 \end_layout
21920
21921 \end_inset
21922
21923 宣言で指定されている
21924 \begin_inset Flex Code
21925 status collapsed
21926
21927 \begin_layout Plain Layout
21928 Family
21929 \end_layout
21930
21931 \end_inset
21932
21933
21934 \begin_inset Flex Code
21935 status collapsed
21936
21937 \begin_layout Plain Layout
21938 Series
21939 \end_layout
21940
21941 \end_inset
21942
21943
21944 \begin_inset Flex Code
21945 status collapsed
21946
21947 \begin_layout Plain Layout
21948 Shape
21949 \end_layout
21950
21951 \end_inset
21952
21953
21954 \begin_inset Flex Code
21955 status collapsed
21956
21957 \begin_layout Plain Layout
21958 Size
21959 \end_layout
21960
21961 \end_inset
21962
21963 を利用して,フォント情報についてのみCSSを自動生成します(
21964 \begin_inset CommandInset ref
21965 LatexCommand ref
21966 reference "subsec:フォント指定"
21967
21968 \end_inset
21969
21970 を参照).この変換は,きわめて分かりやすく自明です.たとえば,「
21971 \begin_inset Flex Code
21972 status collapsed
21973
21974 \begin_layout Plain Layout
21975 Family Sans
21976 \end_layout
21977
21978 \end_inset
21979
21980 」は「
21981 \begin_inset Flex Code
21982 status collapsed
21983
21984 \begin_layout Plain Layout
21985 font-family: sans-serif
21986 \end_layout
21987
21988 \end_inset
21989
21990 」になります.\SpecialChar LyX
21991 の寸法とCSSの寸法のあいだの対応は,少し複雑ですが,それでも直感的に分かります.詳細については,
21992 \begin_inset Flex URL
21993 status collapsed
21994
21995 \begin_layout Plain Layout
21996
21997 src/FontInfo.cpp
21998 \end_layout
21999
22000 \end_inset
22001
22002
22003 \begin_inset Flex Code
22004 status collapsed
22005
22006 \begin_layout Plain Layout
22007 getSizeCSS()
22008 \end_layout
22009
22010 \end_inset
22011
22012 関数をご覧ください.
22013 \end_layout
22014
22015 \begin_layout Chapter
22016 外部素材を取り込む
22017 \begin_inset CommandInset label
22018 LatexCommand label
22019 name "chap:外部素材を取り込む"
22020
22021 \end_inset
22022
22023
22024 \end_layout
22025
22026 \begin_layout Standard
22027 \begin_inset Box Shadowbox
22028 position "t"
22029 hor_pos "c"
22030 has_inner_box 1
22031 inner_pos "t"
22032 use_parbox 0
22033 use_makebox 0
22034 width "100col%"
22035 special "none"
22036 height "1in"
22037 height_special "totalheight"
22038 thickness "0.4pt"
22039 separation "3pt"
22040 shadowsize "4pt"
22041 framecolor "black"
22042 backgroundcolor "none"
22043 status open
22044
22045 \begin_layout Plain Layout
22046 【警告】本説明書のこの部分は,しばらく更新されていません.もちろんまだ正確であることを期待していますが,保証の限りではありません.
22047 \end_layout
22048
22049 \end_inset
22050
22051
22052 \end_layout
22053
22054 \begin_layout Standard
22055 \SpecialChar LyX
22056 外部のソースから素材を使用する方法は,取扱説明書『
22057 \emph on
22058 埋込オブジェクト篇
22059 \emph default
22060 』で詳細にカバーされています.本章は,新種の素材を取り込む際に,舞台裏で何をする必要があるかをカバーします.
22061 \end_layout
22062
22063 \begin_layout Section
22064 どのように機能するのか
22065 \end_layout
22066
22067 \begin_layout Standard
22068 外部素材の機能は,ひな型の概念に基づいています.ひな型は,\SpecialChar LyX
22069 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,\SpecialChar LyX
22070 は,Xfigの図や,様々
22071 なラスター形式画像,チェス棋譜,LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
22072 \begin_inset Flex MenuItem
22073 status collapsed
22074
22075 \begin_layout Plain Layout
22076 挿入\SpecialChar menuseparator
22077 ファイル\SpecialChar menuseparator
22078 外部素材
22079 \end_layout
22080
22081 \end_inset
22082
22083 メニューで見ることができます.さらに,特定の型の素材をサポートするのに,自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しま
22084 すが,できればあなたが作ったすべてのひな型を投稿して,我々が\SpecialChar LyX
22085 の後の版に取り込むことができるようにしてくださることを希望します.
22086 \end_layout
22087
22088 \begin_layout Standard
22089 外部素材の機能におけるもう一つの基本的な発想は,最終素材の元となるオリジナルファイルと,書き出された文書や印刷された文書に取り込むための生成ファイルとを区別して
22090 いることです.たとえば,
22091 \begin_inset Flex Code
22092 status collapsed
22093
22094 \begin_layout Plain Layout
22095 Xfig
22096 \end_layout
22097
22098 \end_inset
22099
22100 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
22101 \begin_inset Flex Code
22102 status collapsed
22103
22104 \begin_layout Plain Layout
22105 .fig
22106 \end_layout
22107
22108 \end_inset
22109
22110 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,作業が終われば
22111 \begin_inset Flex Code
22112 status collapsed
22113
22114 \begin_layout Plain Layout
22115 fig
22116 \end_layout
22117
22118 \end_inset
22119
22120 ファイルに保存します.この図をお使いの文書に取り込みたいときには,\SpecialChar LaTeX
22121 ファイルにそのままインクルードできるように,
22122 \begin_inset Flex Code
22123 status collapsed
22124
22125 \begin_layout Plain Layout
22126 transfig
22127 \end_layout
22128
22129 \end_inset
22130
22131 を呼び出してPostScriptファイルを生成します.この場合には,
22132 \begin_inset Flex Code
22133 status collapsed
22134
22135 \begin_layout Plain Layout
22136 .fig
22137 \end_layout
22138
22139 \end_inset
22140
22141 ファイルがオリジナルファイルであり,PostScriptファイルが生成ファイルになります.
22142 \end_layout
22143
22144 \begin_layout Standard
22145 この区別は,文書を執筆している最中に,素材を更新することができるようにするために重要です.さらに,これによって,複数の書き出し書式をサポートするために必要な柔軟
22146 性が提供されます.たとえば,平文テキストファイルの場合には,図を生のPostScriptファイルとして取り込むのは,とても褒められた発想とはいえません.むしろ,
22147 その図への参照だけを含めるか,最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
22148 の外部素材マネジメントは
22149 ,\SpecialChar LyX
22150 がサポートする各書き出し書式別に仕分けしているので,ユーザがこれを行うことが可能となっています.
22151 \end_layout
22152
22153 \begin_layout Standard
22154 \SpecialChar LyX
22155 の外部素材マネジメントは,書き出し書式によって異なる生成物をサポートすることの他に,編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図
22156 の場合には,\SpecialChar LyX
22157 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,ダブルクリックすることで生成されたPostScriptファイ
22158 ルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファ
22159 イルブラウザをいじくり回す必要はないのです.このようにして,文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,最終的により生産性を上げることが
22160 できるようになるのです.
22161 \end_layout
22162
22163 \begin_layout Section
22164 外用ひな型設定ファイル
22165 \end_layout
22166
22167 \begin_layout Standard
22168 \SpecialChar LyX
22169 に自製の外用ひな型を付け加えるのは,比較的簡単です.しかしながら,これを不用心に行ってしまうと,たいていの場合,簡単に濫用されてしまうようなセキュリティホールを
22170 作ってしまいがちであることを心に留めておいてください.したがって,これを実行に移す前に,
22171 \begin_inset CommandInset ref
22172 LatexCommand ref
22173 reference "sec:セキュリティに関する論点"
22174
22175 \end_inset
22176
22177 のセキュリティに関する議論を読んでおいてください.
22178 \end_layout
22179
22180 \begin_layout Standard
22181 このことに言及した上で,あなたが作成した面白いひな型は,ぜひ投稿してください.
22182 \end_layout
22183
22184 \begin_layout Standard
22185 外用ひな型ファイルは,
22186 \begin_inset Flex Code
22187 status collapsed
22188
22189 \begin_layout Plain Layout
22190 LyXDir/lib/xtemplates/
22191 \end_layout
22192
22193 \end_inset
22194
22195 ディレクトリ中にある
22196 \begin_inset Flex Code
22197 status collapsed
22198
22199 \begin_layout Plain Layout
22200 *.xtemplate
22201 \end_layout
22202
22203 \end_inset
22204
22205 ファイルに定義されています.各ひな型は,そのファイル完結で定義されています.自分専用のひな型を
22206 \begin_inset Flex Code
22207 status collapsed
22208
22209 \begin_layout Plain Layout
22210 UserDir/xtemplates/
22211 \end_layout
22212
22213 \end_inset
22214
22215 に置くこともできますし,既存のひな型をそのデイレク取りにコピーして修正を加えることもできます.
22216 \end_layout
22217
22218 \begin_layout Standard
22219 典型的なひな型は以下のようになります.
22220 \end_layout
22221
22222 \begin_layout LyX-Code
22223 Template XFig
22224 \end_layout
22225
22226 \begin_layout LyX-Code
22227 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22228 \end_layout
22229
22230 \begin_layout LyX-Code
22231 HelpText
22232 \end_layout
22233
22234 \begin_layout LyX-Code
22235 An XFig figure.
22236 \end_layout
22237
22238 \begin_layout LyX-Code
22239 HelpTextEnd
22240 \end_layout
22241
22242 \begin_layout LyX-Code
22243 InputFormat fig
22244 \end_layout
22245
22246 \begin_layout LyX-Code
22247 FileFilter "*.fig"
22248 \end_layout
22249
22250 \begin_layout LyX-Code
22251 AutomaticProduction true
22252 \end_layout
22253
22254 \begin_layout LyX-Code
22255 Transform Rotate
22256 \end_layout
22257
22258 \begin_layout LyX-Code
22259 Transform Resize
22260 \end_layout
22261
22262 \begin_layout LyX-Code
22263 Format LaTeX
22264 \end_layout
22265
22266 \begin_layout LyX-Code
22267 TransformCommand Rotate RotationLatexCommand
22268 \end_layout
22269
22270 \begin_layout LyX-Code
22271 TransformCommand Resize ResizeLatexCommand
22272 \end_layout
22273
22274 \begin_layout LyX-Code
22275 Product "$$RotateFront$$ResizeFront
22276 \end_layout
22277
22278 \begin_layout LyX-Code
22279          
22280 \backslash
22281
22282 \backslash
22283 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22284 \end_layout
22285
22286 \begin_layout LyX-Code
22287          $$ResizeBack$$RotateBack"
22288 \end_layout
22289
22290 \begin_layout LyX-Code
22291 UpdateFormat pstex
22292 \end_layout
22293
22294 \begin_layout LyX-Code
22295 UpdateResult "$$AbsPath$$Basename.pstex_t"
22296 \end_layout
22297
22298 \begin_layout LyX-Code
22299 Requirement "graphicx"
22300 \end_layout
22301
22302 \begin_layout LyX-Code
22303 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22304 \end_layout
22305
22306 \begin_layout LyX-Code
22307 ReferencedFile latex "$$AbsPath$$Basename.eps"
22308 \end_layout
22309
22310 \begin_layout LyX-Code
22311 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22312 \end_layout
22313
22314 \begin_layout LyX-Code
22315 FormatEnd
22316 \end_layout
22317
22318 \begin_layout LyX-Code
22319 Format PDFLaTeX
22320 \end_layout
22321
22322 \begin_layout LyX-Code
22323 TransformCommand Rotate RotationLatexCommand
22324 \end_layout
22325
22326 \begin_layout LyX-Code
22327 TransformCommand Resize ResizeLatexCommand
22328 \end_layout
22329
22330 \begin_layout LyX-Code
22331 Product "$$RotateFront$$ResizeFront
22332 \end_layout
22333
22334 \begin_layout LyX-Code
22335          
22336 \backslash
22337
22338 \backslash
22339 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22340 \end_layout
22341
22342 \begin_layout LyX-Code
22343          $$ResizeBack$$RotateBack"
22344 \end_layout
22345
22346 \begin_layout LyX-Code
22347 UpdateFormat pdftex
22348 \end_layout
22349
22350 \begin_layout LyX-Code
22351 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22352 \end_layout
22353
22354 \begin_layout LyX-Code
22355 Requirement "graphicx"
22356 \end_layout
22357
22358 \begin_layout LyX-Code
22359 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22360 \end_layout
22361
22362 \begin_layout LyX-Code
22363 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22364 \end_layout
22365
22366 \begin_layout LyX-Code
22367 FormatEnd
22368 \end_layout
22369
22370 \begin_layout LyX-Code
22371 Format Ascii
22372 \end_layout
22373
22374 \begin_layout LyX-Code
22375 Product "$$Contents(
22376 \backslash
22377 "$$AbsPath$$Basename.asc
22378 \backslash
22379 ")"
22380 \end_layout
22381
22382 \begin_layout LyX-Code
22383 UpdateFormat asciixfig
22384 \end_layout
22385
22386 \begin_layout LyX-Code
22387 UpdateResult "$$AbsPath$$Basename.asc"
22388 \end_layout
22389
22390 \begin_layout LyX-Code
22391 FormatEnd
22392 \end_layout
22393
22394 \begin_layout LyX-Code
22395 Format DocBook
22396 \end_layout
22397
22398 \begin_layout LyX-Code
22399 Product "<graphic fileref=
22400 \backslash
22401 "$$AbsOrRelPathMaster$$Basename.eps
22402 \backslash
22403 ">
22404 \end_layout
22405
22406 \begin_layout LyX-Code
22407          </graphic>"
22408 \end_layout
22409
22410 \begin_layout LyX-Code
22411 UpdateFormat eps
22412 \end_layout
22413
22414 \begin_layout LyX-Code
22415 UpdateResult "$$AbsPath$$Basename.eps"
22416 \end_layout
22417
22418 \begin_layout LyX-Code
22419 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22420 \end_layout
22421
22422 \begin_layout LyX-Code
22423 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22424 \end_layout
22425
22426 \begin_layout LyX-Code
22427 FormatEnd
22428 \end_layout
22429
22430 \begin_layout LyX-Code
22431 Product "[XFig: $$FName]"
22432 \end_layout
22433
22434 \begin_layout LyX-Code
22435 FormatEnd
22436 \end_layout
22437
22438 \begin_layout LyX-Code
22439 TemplateEnd
22440 \end_layout
22441
22442 \begin_layout Standard
22443 ご覧の通り,ひな型は
22444 \begin_inset Flex Code
22445 status collapsed
22446
22447 \begin_layout Plain Layout
22448 Template
22449 \end_layout
22450
22451 \end_inset
22452
22453  \SpecialChar ldots
22454  
22455 \begin_inset Flex Code
22456 status collapsed
22457
22458 \begin_layout Plain Layout
22459 TemplateEnd
22460 \end_layout
22461
22462 \end_inset
22463
22464 で閉じられます.ひな型には,一般的な設定を行うヘッダ部と,サポートされている主要な文書ファイル形式の設定を行う
22465 \begin_inset Flex Code
22466 status collapsed
22467
22468 \begin_layout Plain Layout
22469 Format
22470 \end_layout
22471
22472 \end_inset
22473
22474  \SpecialChar ldots
22475  
22476 \begin_inset Flex Code
22477 status collapsed
22478
22479 \begin_layout Plain Layout
22480 FormatEnd
22481 \end_layout
22482
22483 \end_inset
22484
22485 部があります.
22486 \end_layout
22487
22488 \begin_layout Subsection
22489 ひな型のヘッダ
22490 \end_layout
22491
22492 \begin_layout Description
22493 \begin_inset Flex Code
22494 status collapsed
22495
22496 \begin_layout Plain Layout
22497 AutomaticProduction
22498 \begin_inset space ~
22499 \end_inset
22500
22501 true|false
22502 \end_layout
22503
22504 \end_inset
22505
22506  このひな型で扱うファイルを\SpecialChar LyX
22507 が生成しなくてはならないか否か.このコマンドは,一度だけ必ず現れなくてはなりません.
22508 \end_layout
22509
22510 \begin_layout Description
22511 \begin_inset Flex Code
22512 status collapsed
22513
22514 \begin_layout Plain Layout
22515 FileFilter
22516 \begin_inset space ~
22517 \end_inset
22518
22519 <パターン>
22520 \end_layout
22521
22522 \end_inset
22523
22524  望むファイル群を表示するために,ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,tgifには
22525 \begin_inset Flex Code
22526 status collapsed
22527
22528 \begin_layout Plain Layout
22529 .obj
22530 \end_layout
22531
22532 \end_inset
22533
22534
22535 \begin_inset Flex Code
22536 status collapsed
22537
22538 \begin_layout Plain Layout
22539 .tgo
22540 \end_layout
22541
22542 \end_inset
22543
22544 があります),「
22545 \begin_inset Flex Code
22546 status collapsed
22547
22548 \begin_layout Plain Layout
22549 *.{obj,tgo}
22550 \end_layout
22551
22552 \end_inset
22553
22554 」の様なパターンを使用してください.このコマンドは,一度だけ必ず現れなくてはなりません.
22555 \end_layout
22556
22557 \begin_layout Description
22558 \begin_inset Flex Code
22559 status collapsed
22560
22561 \begin_layout Plain Layout
22562 GuiName
22563 \begin_inset space ~
22564 \end_inset
22565
22566 <GUI名>
22567 \end_layout
22568
22569 \end_inset
22570
22571  この文字列はボタン上に表示されます.このコマンドは,一度だけ必ず現れなくてはなりません.
22572 \end_layout
22573
22574 \begin_layout Description
22575 \begin_inset Flex Code
22576 status collapsed
22577
22578 \begin_layout Plain Layout
22579 HelpText
22580 \begin_inset space ~
22581 \end_inset
22582
22583 <文章>
22584 \begin_inset space ~
22585 \end_inset
22586
22587 HelpTextEnd
22588 \end_layout
22589
22590 \end_inset
22591
22592  外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,一度だけ必
22593 ず現れなくてはなりません.
22594 \end_layout
22595
22596 \begin_layout Description
22597 \begin_inset Flex Code
22598 status collapsed
22599
22600 \begin_layout Plain Layout
22601 InputFormat
22602 \begin_inset space ~
22603 \end_inset
22604
22605 <書式>
22606 \end_layout
22607
22608 \end_inset
22609
22610  オリジナルファイルのファイル形式.これは,\SpecialChar LyX
22611 が知っている書式名でなくてはなりません(
22612 \begin_inset CommandInset ref
22613 LatexCommand ref
22614 reference "sec:ファイル形式"
22615
22616 \end_inset
22617
22618 参照).このひな型が,2つ以上の書式のオリジナルファイルを取り扱える場合は,「
22619 \begin_inset Flex Code
22620 status collapsed
22621
22622 \begin_layout Plain Layout
22623 *
22624 \end_layout
22625
22626 \end_inset
22627
22628 」を使用してください.この場合,\SpecialChar LyX
22629 はファイル形式を推定するために,ファイル自体に詮索を試みます.このコマンドは,一度だけ必ず現れなくてはなりません.
22630 \end_layout
22631
22632 \begin_layout Description
22633 \begin_inset Flex Code
22634 status collapsed
22635
22636 \begin_layout Plain Layout
22637 Template
22638 \begin_inset space ~
22639 \end_inset
22640
22641 <ID>
22642 \end_layout
22643
22644 \end_inset
22645
22646  このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
22647 \end_layout
22648
22649 \begin_layout Description
22650 \begin_inset Flex Code
22651 status collapsed
22652
22653 \begin_layout Plain Layout
22654 Transform
22655 \begin_inset space ~
22656 \end_inset
22657
22658 Rotate|Resize|Clip|Extra
22659 \end_layout
22660
22661 \end_inset
22662
22663  このコマンドは,このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,外部素材ダイア
22664 ログ中の対応するタブを使用可能にします.
22665 \begin_inset Flex Code
22666 status collapsed
22667
22668 \begin_layout Plain Layout
22669 Transform
22670 \end_layout
22671
22672 \end_inset
22673
22674 コマンド一つずつに応じて,
22675 \begin_inset Flex Code
22676 status collapsed
22677
22678 \begin_layout Plain Layout
22679 Format
22680 \end_layout
22681
22682 \end_inset
22683
22684 部に,対応する
22685 \begin_inset Flex Code
22686 status collapsed
22687
22688 \begin_layout Plain Layout
22689 TransformCommand
22690 \end_layout
22691
22692 \end_inset
22693
22694 コマンドか
22695 \begin_inset Flex Code
22696 status collapsed
22697
22698 \begin_layout Plain Layout
22699 TransformOption
22700 \end_layout
22701
22702 \end_inset
22703
22704 コマンドを置かなくてはなりません.これを行わないと,この書式での変換はサポートされません.
22705 \end_layout
22706
22707 \begin_layout Subsection
22708 \begin_inset Flex Code
22709 status collapsed
22710
22711 \begin_layout Plain Layout
22712 Format
22713 \end_layout
22714
22715 \end_inset
22716
22717
22718 \end_layout
22719
22720 \begin_layout Description
22721 \begin_inset Flex Code
22722 status collapsed
22723
22724 \begin_layout Plain Layout
22725 Format
22726 \begin_inset space ~
22727 \end_inset
22728
22729 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
22730 \end_layout
22731
22732 \end_inset
22733
22734  この書式定義が定める主要な文書ファイル形式.すべてのひな型が,全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,全書式に対して
22735 \begin_inset Flex Code
22736 status collapsed
22737
22738 \begin_layout Plain Layout
22739 Format
22740 \end_layout
22741
22742 \end_inset
22743
22744 部を定義してください.表示する方法がないときは,ダミーテキストを使用してください.これによって,書き出した文書内で,少なくとも外部素材への参照を見ることができる
22745 ようになります.
22746 \end_layout
22747
22748 \begin_layout Description
22749 \begin_inset Flex Code
22750 status collapsed
22751
22752 \begin_layout Plain Layout
22753 Option
22754 \begin_inset space ~
22755 \end_inset
22756
22757 <名称>
22758 \begin_inset space ~
22759 \end_inset
22760
22761 <値>
22762 \end_layout
22763
22764 \end_inset
22765
22766  このコマンドは,
22767 \begin_inset Flex Code
22768 status collapsed
22769
22770 \begin_layout Plain Layout
22771 Product
22772 \end_layout
22773
22774 \end_inset
22775
22776 での代入に使うマクロ
22777 \begin_inset Flex Code
22778 status collapsed
22779
22780 \begin_layout Plain Layout
22781 $$<名称>
22782 \end_layout
22783
22784 \end_inset
22785
22786 を新たに定義します.
22787 \begin_inset Flex Code
22788 status collapsed
22789
22790 \begin_layout Plain Layout
22791 <値>
22792 \end_layout
22793
22794 \end_inset
22795
22796 自体にも代入マクロを使うことができます.
22797 \begin_inset Flex Code
22798 status collapsed
22799
22800 \begin_layout Plain Layout
22801 Product
22802 \end_layout
22803
22804 \end_inset
22805
22806
22807 \begin_inset Flex Code
22808 status collapsed
22809
22810 \begin_layout Plain Layout
22811 <値>
22812 \end_layout
22813
22814 \end_inset
22815
22816 を直接使用するよりも優れた点は,
22817 \begin_inset Flex Code
22818 status collapsed
22819
22820 \begin_layout Plain Layout
22821 $$<名称>
22822 \end_layout
22823
22824 \end_inset
22825
22826 に代入された値が,その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
22827 \end_layout
22828
22829 \begin_layout Description
22830 \begin_inset Flex Code
22831 status collapsed
22832
22833 \begin_layout Plain Layout
22834 Product
22835 \begin_inset space ~
22836 \end_inset
22837
22838 <文>
22839 \end_layout
22840
22841 \end_inset
22842
22843  書き出された文書に挿入される文.実のところ,これが最も重要なコマンドであり,とても複雑になることがあります.このコマンドは,一度だけ必ず現れなくてはなりません
22844
22845 \end_layout
22846
22847 \begin_layout Description
22848 \begin_inset Flex Code
22849 status collapsed
22850
22851 \begin_layout Plain Layout
22852 Preamble
22853 \begin_inset space ~
22854 \end_inset
22855
22856 <名称>
22857 \end_layout
22858
22859 \end_inset
22860
22861  このコマンドは,\SpecialChar LaTeX
22862 プリアンブルに入れるプリアンブル片を指定します.これは
22863 \begin_inset Flex Code
22864 status collapsed
22865
22866 \begin_layout Plain Layout
22867 PreambleDef
22868 \end_layout
22869
22870 \end_inset
22871
22872  \SpecialChar ldots
22873  
22874 \begin_inset Flex Code
22875 status collapsed
22876
22877 \begin_layout Plain Layout
22878 PreambleDefEnd
22879 \end_layout
22880
22881 \end_inset
22882
22883 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
22884 \end_layout
22885
22886 \begin_layout Description
22887 \begin_inset Flex Code
22888 status collapsed
22889
22890 \begin_layout Plain Layout
22891 ReferencedFile
22892 \begin_inset space ~
22893 \end_inset
22894
22895 <書式>
22896 \begin_inset space ~
22897 \end_inset
22898
22899 <ファイル名>
22900 \end_layout
22901
22902 \end_inset
22903
22904  このコマンドは,変換過程で生成され,特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,親文書に対する相対パスとして解釈さ
22905 れます.このコマンドは全く登場しなくても1回以上現れても構いません.
22906 \end_layout
22907
22908 \begin_layout Description
22909 \begin_inset Flex Code
22910 status collapsed
22911
22912 \begin_layout Plain Layout
22913 Requirement
22914 \begin_inset space ~
22915 \end_inset
22916
22917 <package>
22918 \end_layout
22919
22920 \end_inset
22921
22922  必要とされる\SpecialChar LaTeX
22923 パッケージ名.パッケージは,\SpecialChar LaTeX
22924 プリアンブル中で
22925 \begin_inset Flex Code
22926 status collapsed
22927
22928 \begin_layout Plain Layout
22929
22930 \backslash
22931 usepackage{}
22932 \end_layout
22933
22934 \end_inset
22935
22936 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
22937 \end_layout
22938
22939 \begin_layout Description
22940 \begin_inset Flex Code
22941 status collapsed
22942
22943 \begin_layout Plain Layout
22944 TransformCommand
22945 \begin_inset space ~
22946 \end_inset
22947
22948 Rotate
22949 \begin_inset space ~
22950 \end_inset
22951
22952 RotationLatexCommand
22953 \end_layout
22954
22955 \end_inset
22956
22957  このコマンドは,回転用に,組み込みの\SpecialChar LaTeX
22958 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
22959 \end_layout
22960
22961 \begin_layout Description
22962 \begin_inset Flex Code
22963 status collapsed
22964
22965 \begin_layout Plain Layout
22966 TransformCommand
22967 \begin_inset space ~
22968 \end_inset
22969
22970 Resize
22971 \begin_inset space ~
22972 \end_inset
22973
22974 ResizeLatexCommand
22975 \end_layout
22976
22977 \end_inset
22978
22979  このコマンドは,伸縮用に,組み込みの\SpecialChar LaTeX
22980 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
22981 \end_layout
22982
22983 \begin_layout Description
22984 \begin_inset Flex Code
22985 status collapsed
22986
22987 \begin_layout Plain Layout
22988 TransformOption
22989 \begin_inset space ~
22990 \end_inset
22991
22992 Rotate
22993 \begin_inset space ~
22994 \end_inset
22995
22996 RotationLatexOption
22997 \end_layout
22998
22999 \end_inset
23000
23001  このコマンドは,回転が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23002 \end_layout
23003
23004 \begin_layout Description
23005 \begin_inset Flex Code
23006 status collapsed
23007
23008 \begin_layout Plain Layout
23009 TransformOption
23010 \begin_inset space ~
23011 \end_inset
23012
23013 Resize
23014 \begin_inset space ~
23015 \end_inset
23016
23017 ResizeLatexOption
23018 \end_layout
23019
23020 \end_inset
23021
23022  このコマンドは,伸縮が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23023 \end_layout
23024
23025 \begin_layout Description
23026 \begin_inset Flex Code
23027 status collapsed
23028
23029 \begin_layout Plain Layout
23030 TransformOption
23031 \begin_inset space ~
23032 \end_inset
23033
23034 Clip
23035 \begin_inset space ~
23036 \end_inset
23037
23038 ClipLatexOption
23039 \end_layout
23040
23041 \end_inset
23042
23043  このコマンドは,切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23044 \end_layout
23045
23046 \begin_layout Description
23047 \begin_inset Flex Code
23048 status collapsed
23049
23050 \begin_layout Plain Layout
23051 TransformOption
23052 \begin_inset space ~
23053 \end_inset
23054
23055 Extra
23056 \begin_inset space ~
23057 \end_inset
23058
23059 ExtraLatexOption
23060 \end_layout
23061
23062 \end_inset
23063
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 UpdateFormat
23073 \begin_inset space ~
23074 \end_inset
23075
23076 <書式>
23077 \end_layout
23078
23079 \end_inset
23080
23081  変換されたファイルのファイル形式.これは,\SpecialChar LyX
23082 が知っている書式名でなくてはなりません(
23083 \begin_inset Flex MenuItem
23084 status collapsed
23085
23086 \begin_layout Plain Layout
23087 ツール\SpecialChar menuseparator
23088 設定\SpecialChar menuseparator
23089 ファイル処理\SpecialChar menuseparator
23090 ファイル書式
23091 \end_layout
23092
23093 \end_inset
23094
23095 ダイアログを参照).このコマンドは,一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,書式
23096 \begin_inset Flex Code
23097 status collapsed
23098
23099 \begin_layout Plain Layout
23100 pdf6
23101 \end_layout
23102
23103 \end_inset
23104
23105 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
23106 \end_layout
23107
23108 \begin_layout Description
23109 \begin_inset Flex Code
23110 status collapsed
23111
23112 \begin_layout Plain Layout
23113 UpdateResult
23114 \begin_inset space ~
23115 \end_inset
23116
23117 <ファイル名>
23118 \end_layout
23119
23120 \end_inset
23121
23122  変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,一度だけ必ず現れなくてはなりません.
23123 \end_layout
23124
23125 \begin_layout Subsection
23126 プリアンブルの定義
23127 \end_layout
23128
23129 \begin_layout Standard
23130 外用ひな型設定ファイルには,
23131 \begin_inset Flex Code
23132 status collapsed
23133
23134 \begin_layout Plain Layout
23135 PreambleDef
23136 \end_layout
23137
23138 \end_inset
23139
23140  \SpecialChar ldots
23141  
23142 \begin_inset Flex Code
23143 status collapsed
23144
23145 \begin_layout Plain Layout
23146 PreambleDefEnd
23147 \end_layout
23148
23149 \end_inset
23150
23151 で囲んだプリアンブル定義を追加することができます.これらの定義は,ひな型の
23152 \begin_inset Flex Code
23153 status collapsed
23154
23155 \begin_layout Plain Layout
23156 Format
23157 \end_layout
23158
23159 \end_inset
23160
23161 部で使用することができます.
23162 \end_layout
23163
23164 \begin_layout Section
23165 代入機構
23166 \end_layout
23167
23168 \begin_layout Standard
23169 外部素材機構が外部プログラムを呼び出すときには,ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,実行前に展開されるマクロをい
23170 ろいろ入れることができます.実行は,つねに元の文書があるディレクトリで行われます.
23171 \end_layout
23172
23173 \begin_layout Standard
23174 また,外部素材が表示されるときにはいつでも,その名称は代入機構によって組み立てられ,ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
23175 \end_layout
23176
23177 \begin_layout Standard
23178 使用できるマクロは以下の通りです.
23179 \end_layout
23180
23181 \begin_layout Description
23182 \begin_inset Flex Code
23183 status collapsed
23184
23185 \begin_layout Plain Layout
23186 $$AbsOrRelPathMaster
23187 \end_layout
23188
23189 \end_inset
23190
23191  \SpecialChar LyX
23192 親文書への絶対ファイルパスないしは相対ファイルパス
23193 \end_layout
23194
23195 \begin_layout Description
23196 \begin_inset Flex Code
23197 status collapsed
23198
23199 \begin_layout Plain Layout
23200 $$AbsOrRelPathParent
23201 \end_layout
23202
23203 \end_inset
23204
23205  \SpecialChar LyX
23206 文書への絶対ファイルパスないしは相対ファイルパス
23207 \end_layout
23208
23209 \begin_layout Description
23210 \begin_inset Flex Code
23211 status collapsed
23212
23213 \begin_layout Plain Layout
23214 $$AbsPath
23215 \end_layout
23216
23217 \end_inset
23218
23219  絶対ファイルパス
23220 \end_layout
23221
23222 \begin_layout Description
23223 \begin_inset Flex Code
23224 status collapsed
23225
23226 \begin_layout Plain Layout
23227 $$Basename
23228 \end_layout
23229
23230 \end_inset
23231
23232  パスおよび拡張子を除いたファイル名
23233 \end_layout
23234
23235 \begin_layout Description
23236 \begin_inset Flex Code
23237 status collapsed
23238
23239 \begin_layout Plain Layout
23240 $$Contents(
23241 \begin_inset Quotes eld
23242 \end_inset
23243
23244 filename.ext
23245 \begin_inset Quotes erd
23246 \end_inset
23247
23248 )
23249 \end_layout
23250
23251 \end_inset
23252
23253  このマクロは,
23254 \begin_inset Flex Code
23255 status collapsed
23256
23257 \begin_layout Plain Layout
23258 filename.ext
23259 \end_layout
23260
23261 \end_inset
23262
23263 と云う名のファイルの中身を展開します.
23264 \end_layout
23265
23266 \begin_layout Description
23267 \begin_inset Flex Code
23268 status collapsed
23269
23270 \begin_layout Plain Layout
23271 $$Extension
23272 \end_layout
23273
23274 \end_inset
23275
23276  ファイル拡張子(点を含む)
23277 \end_layout
23278
23279 \begin_layout Description
23280 \begin_inset Flex Code
23281 status collapsed
23282
23283 \begin_layout Plain Layout
23284 $$pngOrjpg
23285 \end_layout
23286
23287 \end_inset
23288
23289  これは,ファイルがJPEG形式の場合は,文字列「jpg」となり,それ以外では文字列「png」となります.これは,PNG形式とJPEG形式の両方をサポートする出
23290 力形式に対して,不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,pdf\SpecialChar TeX
23291 出力形式に対してこのマクロを使用します.
23292 \end_layout
23293
23294 \begin_layout Description
23295 \begin_inset Flex Code
23296 status collapsed
23297
23298 \begin_layout Plain Layout
23299 $$FName
23300 \end_layout
23301
23302 \end_inset
23303
23304  外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
23305 文書への絶対パスでも良いですし,相対パスでも構いません.
23306 \end_layout
23307
23308 \begin_layout Description
23309 \begin_inset Flex Code
23310 status collapsed
23311
23312 \begin_layout Plain Layout
23313 $$FPath
23314 \end_layout
23315
23316 \end_inset
23317
23318  
23319 \begin_inset Flex Code
23320 status collapsed
23321
23322 \begin_layout Plain Layout
23323 $$FName
23324 \end_layout
23325
23326 \end_inset
23327
23328 のパス部分(\SpecialChar LyX
23329 文書への絶対パス名か相対パス名)
23330 \end_layout
23331
23332 \begin_layout Description
23333 \begin_inset Flex Code
23334 status collapsed
23335
23336 \begin_layout Plain Layout
23337 $$RelPathMaster
23338 \end_layout
23339
23340 \end_inset
23341
23342  \SpecialChar LyX
23343 親文書への相対ファイルパス
23344 \end_layout
23345
23346 \begin_layout Description
23347 \begin_inset Flex Code
23348 status collapsed
23349
23350 \begin_layout Plain Layout
23351 $$RelPathParent
23352 \end_layout
23353
23354 \end_inset
23355
23356  \SpecialChar LyX
23357 文書への相対ファイルパス
23358 \end_layout
23359
23360 \begin_layout Description
23361 \begin_inset Flex Code
23362 status collapsed
23363
23364 \begin_layout Plain Layout
23365 $$Sysdir
23366 \end_layout
23367
23368 \end_inset
23369
23370  このマクロは,システムディレクトリの絶対パスを展開します.これは,典型的には,\SpecialChar LyX
23371 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
23372 \end_layout
23373
23374 \begin_layout Description
23375 \begin_inset Flex Code
23376 status collapsed
23377
23378 \begin_layout Plain Layout
23379 $$Tempname
23380 \end_layout
23381
23382 \end_inset
23383
23384  元の文書が閉じられたり,挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
23385 \end_layout
23386
23387 \begin_layout Standard
23388 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,たとえば絶対パスのファイル名を 
23389 \begin_inset Flex Code
23390 status collapsed
23391
23392 \begin_layout Plain Layout
23393 $$AbsPath$$Basename$$Extension
23394 \end_layout
23395
23396 \end_inset
23397
23398 のようにして作ることができます.
23399 \end_layout
23400
23401 \begin_layout Standard
23402 上記マクロは,特記しない限りはすべてのコマンドで代入が行われます.
23403 \begin_inset Flex Code
23404 status collapsed
23405
23406 \begin_layout Plain Layout
23407 Transform
23408 \end_layout
23409
23410 \end_inset
23411
23412 コマンドと
23413 \begin_inset Flex Code
23414 status collapsed
23415
23416 \begin_layout Plain Layout
23417 TransformCommand
23418 \end_layout
23419
23420 \end_inset
23421
23422 コマンドが有効にされている場合,
23423 \begin_inset Flex Code
23424 status collapsed
23425
23426 \begin_layout Plain Layout
23427 Product
23428 \end_layout
23429
23430 \end_inset
23431
23432 コマンドは,これらに加えて以下の代入もサポートします.
23433 \end_layout
23434
23435 \begin_layout Description
23436 \begin_inset Flex Code
23437 status collapsed
23438
23439 \begin_layout Plain Layout
23440 $$ResizeFront
23441 \end_layout
23442
23443 \end_inset
23444
23445  伸縮コマンドの前置部.
23446 \end_layout
23447
23448 \begin_layout Description
23449 \begin_inset Flex Code
23450 status collapsed
23451
23452 \begin_layout Plain Layout
23453 $$ResizeBack
23454 \end_layout
23455
23456 \end_inset
23457
23458  伸縮コマンドの後置部.
23459 \end_layout
23460
23461 \begin_layout Description
23462 \begin_inset Flex Code
23463 status collapsed
23464
23465 \begin_layout Plain Layout
23466 $$RotateFront
23467 \end_layout
23468
23469 \end_inset
23470
23471  回転コマンドの前置部.
23472 \end_layout
23473
23474 \begin_layout Description
23475 \begin_inset Flex Code
23476 status collapsed
23477
23478 \begin_layout Plain Layout
23479 $$RotateBack
23480 \end_layout
23481
23482 \end_inset
23483
23484  回転コマンドの後置部.
23485 \end_layout
23486
23487 \begin_layout Standard
23488 \begin_inset Flex Code
23489 status collapsed
23490
23491 \begin_layout Plain Layout
23492 Option
23493 \end_layout
23494
23495 \end_inset
23496
23497 コマンドの値に入れる文字列では,
23498 \begin_inset Flex Code
23499 status collapsed
23500
23501 \begin_layout Plain Layout
23502 Transform
23503 \end_layout
23504
23505 \end_inset
23506
23507 コマンドと
23508 \begin_inset Flex Code
23509 status collapsed
23510
23511 \begin_layout Plain Layout
23512 TransformOption
23513 \end_layout
23514
23515 \end_inset
23516
23517 コマンドが有効にされていれば,以下の代入もサポートされます.
23518 \end_layout
23519
23520 \begin_layout Description
23521 \begin_inset Flex Code
23522 status collapsed
23523
23524 \begin_layout Plain Layout
23525 $$Clip
23526 \end_layout
23527
23528 \end_inset
23529
23530  切り抜きオプション.
23531 \end_layout
23532
23533 \begin_layout Description
23534 \begin_inset Flex Code
23535 status collapsed
23536
23537 \begin_layout Plain Layout
23538 $$Extra
23539 \end_layout
23540
23541 \end_inset
23542
23543  追加オプション.
23544 \end_layout
23545
23546 \begin_layout Description
23547 \begin_inset Flex Code
23548 status collapsed
23549
23550 \begin_layout Plain Layout
23551 $$Resize
23552 \end_layout
23553
23554 \end_inset
23555
23556  伸縮オプション.
23557 \end_layout
23558
23559 \begin_layout Description
23560 \begin_inset Flex Code
23561 status collapsed
23562
23563 \begin_layout Plain Layout
23564 $$Rotate
23565 \end_layout
23566
23567 \end_inset
23568
23569  回転オプション.
23570 \end_layout
23571
23572 \begin_layout Standard
23573 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
23574 \end_layout
23575
23576 \begin_layout Enumerate
23577 相対ファイル名と絶対ファイル名は,それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえ
23578 ば相対名は,いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,プログラムによっては必要とされることがあり得ます.
23579 \end_layout
23580
23581 \begin_layout Enumerate
23582 \SpecialChar LaTeX
23583 は,相対ファイル名に関して,\SpecialChar LyX
23584 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
23585 にとって相対ファイル名とは,常にこのファイル名が書か
23586 れている文書に対して相対的なものになります.\SpecialChar LaTeX
23587 にとっての相対ファイル名は,常に親文書に対するものになります.これら二つの定義は,一つの文書しかないときには同じです
23588 が,部分文書を含む親文書があるときには異なったものとなってきます.つまり,相対ファイル名は,\SpecialChar LaTeX
23589 に提示されるときに変換されなくてはならないのです.幸い,正しいマクロ
23590 を選びさえすれば,これは\SpecialChar LyX
23591 が自動的に行ってくれます.
23592 \end_layout
23593
23594 \begin_layout Standard
23595 すると,新しく作ったひな型定義では,どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
23596 \end_layout
23597
23598 \begin_layout Itemize
23599 絶対パスが必要とされるときには
23600 \begin_inset Flex Code
23601 status collapsed
23602
23603 \begin_layout Plain Layout
23604 $$AbsPath
23605 \end_layout
23606
23607 \end_inset
23608
23609 を使う.
23610 \end_layout
23611
23612 \begin_layout Itemize
23613 代入された文字列が,\SpecialChar LaTeX
23614 インプットの一種である場合には,
23615 \begin_inset Flex Code
23616 status collapsed
23617
23618 \begin_layout Plain Layout
23619 $$AbsOrRelPathMaster
23620 \end_layout
23621
23622 \end_inset
23623
23624 を使う.
23625 \end_layout
23626
23627 \begin_layout Itemize
23628 それ以外ならば,ユーザの選択を尊重するために
23629 \begin_inset Flex Code
23630 status collapsed
23631
23632 \begin_layout Plain Layout
23633 $$AbsOrRelPathParent
23634 \end_layout
23635
23636 \end_inset
23637
23638 を使う.
23639 \end_layout
23640
23641 \begin_layout Standard
23642 このルールが機能せずに,たとえば相対名が必要となる特殊な場合もありますが,通常,上記でうまく動作します.特殊例の例としては,上述のXFigひな型での
23643 \begin_inset Flex Code
23644 status collapsed
23645
23646 \begin_layout Plain Layout
23647 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23648 \end_layout
23649
23650 \end_inset
23651
23652 というコマンドがあります.この場合,
23653 \begin_inset Flex Code
23654 status collapsed
23655
23656 \begin_layout Plain Layout
23657 .pstex_t
23658 \end_layout
23659
23660 \end_inset
23661
23662 ファイルの複写子は,ファイル内容を書き換えるのに相対名を必要とするために,絶対名を使用することができないのです.
23663 \end_layout
23664
23665 \begin_layout Section
23666 セキュリティに関する論点
23667 \begin_inset CommandInset label
23668 LatexCommand label
23669 name "sec:セキュリティに関する論点"
23670
23671 \end_inset
23672
23673
23674 \end_layout
23675
23676 \begin_layout Standard
23677 外部素材機能は,多くの外部プログラムとの橋渡しをし,しかもそれを自動的に行うので,そのセキュリティ面での帰結を考慮しなくてはなりません.特に,ユーザは好きなファ
23678 イル名やパラメータ文字列を含めることが許されていて,しかもそれらがコマンドに展開されるので,ユーザが文書を閲覧したり印刷したりしたときに,任意のコマンドを実行す
23679 ることができるような悪意ある文書を作成することが可能となりましょう.これは,我々がぜひとも避けたいことなのです.
23680 \end_layout
23681
23682 \begin_layout Standard
23683 しかしながら,外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,\SpecialChar LyX
23684 が安全なひな型でのみ適切に設定されているならば,セキュリティ上の問題は発生しま
23685 せん.これは,外部プログラムが
23686 \begin_inset Flex Code
23687 status collapsed
23688
23689 \begin_layout Plain Layout
23690 system
23691 \end_layout
23692
23693 \end_inset
23694
23695 システムコールではなく,
23696 \begin_inset Flex Code
23697 status collapsed
23698
23699 \begin_layout Plain Layout
23700 execvp
23701 \end_layout
23702
23703 \end_inset
23704
23705 システムコールで呼び出されているため,ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
23706 \end_layout
23707
23708 \begin_layout Standard
23709 これは,外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,制限があることを意味します.特に,パイプやリダイレクトはそのまま使用することは
23710 できません.これは,\SpecialChar LyX
23711 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,これを完全に統御の下においたまま行う安全なス
23712 クリプトを書いた上で,このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
23713 \end_layout
23714
23715 \begin_layout Standard
23716 シェルと直接やりとりするひな型を設計することは可能ではありますが,悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,任意のコマンドを実行できるよ
23717 うになるため,一般的には,統御下に置いた状態で
23718 \begin_inset Flex Code
23719 status collapsed
23720
23721 \begin_layout Plain Layout
23722 execvp
23723 \end_layout
23724
23725 \end_inset
23726
23727 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,管理された環境下で使用する分には,通常のシェルスクリプトを使用する方に流れる誘
23728 惑はあります.そうした場合には,お使いのシステムに簡単に濫用することのできるセキュリティホールを,
23729 \emph on
23730 間違いなく
23731 \emph default
23732 導入することを理解しておいてください.オープンソースの伝統に従って,私たちは人々に新しいひな型を投稿してくれるよう促していますが,そのような安全でないひな型はL
23733 yXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
23734 には,安全でないひな型は決して入っていません
23735
23736 \end_layout
23737
23738 \begin_layout Standard
23739 外部素材を含めることで強力な力を手に入れることができますが,この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリ
23740 プトのたった一行に入り込んだ,ちょっとしたエラーが,巨大なセキュリティ上の問題に扉を開きうるのです.したがって,もしこの問題を完全に理解していないならば,特定の
23741 ひな型が安全であるかどうか疑問がある際には,知識豊富なセキュリティの専門家か,\SpecialChar LyX
23742 開発チームに相談してみてください.そしてこの相談は,管理されていない環境下でこれを
23743 使用する前に,行うようにしてください.
23744 \end_layout
23745
23746 \begin_layout Chapter
23747 \start_of_appendix
23748 サポートされているレイアウト用\SpecialChar LyX
23749 関数一覧
23750 \begin_inset CommandInset label
23751 LatexCommand label
23752 name "chap:関数一覧"
23753
23754 \end_inset
23755
23756
23757 \end_layout
23758
23759 \begin_layout Standard
23760 \align center
23761 \begin_inset Tabular
23762 <lyxtabular version="3" rows="11" columns="8">
23763 <features tabularvalignment="middle">
23764 <column alignment="left" valignment="top">
23765 <column alignment="left" valignment="top">
23766 <column alignment="left" valignment="top">
23767 <column alignment="left" valignment="top">
23768 <column alignment="left" valignment="top">
23769 <column alignment="left" valignment="top">
23770 <column alignment="left" valignment="top">
23771 <column alignment="left" valignment="top">
23772 <row>
23773 <cell alignment="left" valignment="top" usebox="none">
23774 \begin_inset Text
23775
23776 \begin_layout Plain Layout
23777 accents
23778 \end_layout
23779
23780 \end_inset
23781 </cell>
23782 <cell alignment="left" valignment="top" usebox="none">
23783 \begin_inset Text
23784
23785 \begin_layout Plain Layout
23786 booktabs
23787 \end_layout
23788
23789 \end_inset
23790 </cell>
23791 <cell alignment="left" valignment="top" usebox="none">
23792 \begin_inset Text
23793
23794 \begin_layout Plain Layout
23795 feyn
23796 \end_layout
23797
23798 \end_inset
23799 </cell>
23800 <cell alignment="left" valignment="top" usebox="none">
23801 \begin_inset Text
23802
23803 \begin_layout Plain Layout
23804 listings
23805 \end_layout
23806
23807 \end_inset
23808 </cell>
23809 <cell alignment="center" valignment="top" usebox="none">
23810 \begin_inset Text
23811
23812 \begin_layout Plain Layout
23813 natbib
23814 \end_layout
23815
23816 \end_inset
23817 </cell>
23818 <cell alignment="center" valignment="top" usebox="none">
23819 \begin_inset Text
23820
23821 \begin_layout Plain Layout
23822 rotfloat
23823 \end_layout
23824
23825 \end_inset
23826 </cell>
23827 <cell alignment="center" valignment="top" usebox="none">
23828 \begin_inset Text
23829
23830 \begin_layout Plain Layout
23831 tfrupee
23832 \end_layout
23833
23834 \end_inset
23835 </cell>
23836 <cell alignment="center" valignment="top" usebox="none">
23837 \begin_inset Text
23838
23839 \begin_layout Plain Layout
23840 wasysym
23841 \end_layout
23842
23843 \end_inset
23844 </cell>
23845 </row>
23846 <row>
23847 <cell alignment="left" valignment="top" usebox="none">
23848 \begin_inset Text
23849
23850 \begin_layout Plain Layout
23851 amsbsy
23852 \end_layout
23853
23854 \end_inset
23855 </cell>
23856 <cell alignment="left" valignment="top" usebox="none">
23857 \begin_inset Text
23858
23859 \begin_layout Plain Layout
23860 calc
23861 \end_layout
23862
23863 \end_inset
23864 </cell>
23865 <cell alignment="left" valignment="top" usebox="none">
23866 \begin_inset Text
23867
23868 \begin_layout Plain Layout
23869 fixltx2e
23870 \end_layout
23871
23872 \end_inset
23873 </cell>
23874 <cell alignment="left" valignment="top" usebox="none">
23875 \begin_inset Text
23876
23877 \begin_layout Plain Layout
23878 longtable
23879 \end_layout
23880
23881 \end_inset
23882 </cell>
23883 <cell alignment="center" valignment="top" usebox="none">
23884 \begin_inset Text
23885
23886 \begin_layout Plain Layout
23887 nomencl
23888 \end_layout
23889
23890 \end_inset
23891 </cell>
23892 <cell alignment="center" valignment="top" usebox="none">
23893 \begin_inset Text
23894
23895 \begin_layout Plain Layout
23896 rsphrase
23897 \end_layout
23898
23899 \end_inset
23900 </cell>
23901 <cell alignment="center" valignment="top" usebox="none">
23902 \begin_inset Text
23903
23904 \begin_layout Plain Layout
23905 tipa
23906 \end_layout
23907
23908 \end_inset
23909 </cell>
23910 <cell alignment="center" valignment="top" usebox="none">
23911 \begin_inset Text
23912
23913 \begin_layout Plain Layout
23914 wrapfig
23915 \end_layout
23916
23917 \end_inset
23918 </cell>
23919 </row>
23920 <row>
23921 <cell alignment="left" valignment="top" usebox="none">
23922 \begin_inset Text
23923
23924 \begin_layout Plain Layout
23925 amscd
23926 \end_layout
23927
23928 \end_inset
23929 </cell>
23930 <cell alignment="left" valignment="top" usebox="none">
23931 \begin_inset Text
23932
23933 \begin_layout Plain Layout
23934 CJK
23935 \end_layout
23936
23937 \end_inset
23938 </cell>
23939 <cell alignment="left" valignment="top" usebox="none">
23940 \begin_inset Text
23941
23942 \begin_layout Plain Layout
23943 float
23944 \end_layout
23945
23946 \end_inset
23947 </cell>
23948 <cell alignment="left" valignment="top" usebox="none">
23949 \begin_inset Text
23950
23951 \begin_layout Plain Layout
23952 lyxskak
23953 \end_layout
23954
23955 \end_inset
23956 </cell>
23957 <cell alignment="center" valignment="top" usebox="none">
23958 \begin_inset Text
23959
23960 \begin_layout Plain Layout
23961 pdfcolmk
23962 \end_layout
23963
23964 \end_inset
23965 </cell>
23966 <cell alignment="center" valignment="top" usebox="none">
23967 \begin_inset Text
23968
23969 \begin_layout Plain Layout
23970 setspace
23971 \end_layout
23972
23973 \end_inset
23974 </cell>
23975 <cell alignment="center" valignment="top" usebox="none">
23976 \begin_inset Text
23977
23978 \begin_layout Plain Layout
23979 tipx
23980 \end_layout
23981
23982 \end_inset
23983 </cell>
23984 <cell alignment="center" valignment="top" usebox="none">
23985 \begin_inset Text
23986
23987 \begin_layout Plain Layout
23988 xargs
23989 \end_layout
23990
23991 \end_inset
23992 </cell>
23993 </row>
23994 <row>
23995 <cell alignment="left" valignment="top" usebox="none">
23996 \begin_inset Text
23997
23998 \begin_layout Plain Layout
23999 amsmath
24000 \end_layout
24001
24002 \end_inset
24003 </cell>
24004 <cell alignment="left" valignment="top" usebox="none">
24005 \begin_inset Text
24006
24007 \begin_layout Plain Layout
24008 color
24009 \end_layout
24010
24011 \end_inset
24012 </cell>
24013 <cell alignment="left" valignment="top" usebox="none">
24014 \begin_inset Text
24015
24016 \begin_layout Plain Layout
24017 framed
24018 \end_layout
24019
24020 \end_inset
24021 </cell>
24022 <cell alignment="left" valignment="top" usebox="none">
24023 \begin_inset Text
24024
24025 \begin_layout Plain Layout
24026 makeidx
24027 \end_layout
24028
24029 \end_inset
24030 </cell>
24031 <cell alignment="center" valignment="top" usebox="none">
24032 \begin_inset Text
24033
24034 \begin_layout Plain Layout
24035 pdfpages
24036 \end_layout
24037
24038 \end_inset
24039 </cell>
24040 <cell alignment="center" valignment="top" usebox="none">
24041 \begin_inset Text
24042
24043 \begin_layout Plain Layout
24044 shapepar
24045 \end_layout
24046
24047 \end_inset
24048 </cell>
24049 <cell alignment="center" valignment="top" usebox="none">
24050 \begin_inset Text
24051
24052 \begin_layout Plain Layout
24053 tone
24054 \end_layout
24055
24056 \end_inset
24057 </cell>
24058 <cell alignment="center" valignment="top" usebox="none">
24059 \begin_inset Text
24060
24061 \begin_layout Plain Layout
24062 xcolor
24063 \end_layout
24064
24065 \end_inset
24066 </cell>
24067 </row>
24068 <row>
24069 <cell alignment="left" valignment="top" usebox="none">
24070 \begin_inset Text
24071
24072 \begin_layout Plain Layout
24073 amssymb
24074 \end_layout
24075
24076 \end_inset
24077 </cell>
24078 <cell alignment="left" valignment="top" usebox="none">
24079 \begin_inset Text
24080
24081 \begin_layout Plain Layout
24082 covington
24083 \end_layout
24084
24085 \end_inset
24086 </cell>
24087 <cell alignment="left" valignment="top" usebox="none">
24088 \begin_inset Text
24089
24090 \begin_layout Plain Layout
24091 graphicx
24092 \end_layout
24093
24094 \end_inset
24095 </cell>
24096 <cell alignment="left" valignment="top" usebox="none">
24097 \begin_inset Text
24098
24099 \begin_layout Plain Layout
24100 marvosym
24101 \end_layout
24102
24103 \end_inset
24104 </cell>
24105 <cell alignment="center" valignment="top" usebox="none">
24106 \begin_inset Text
24107
24108 \begin_layout Plain Layout
24109 pifont
24110 \end_layout
24111
24112 \end_inset
24113 </cell>
24114 <cell alignment="center" valignment="top" usebox="none">
24115 \begin_inset Text
24116
24117 \begin_layout Plain Layout
24118 slashed
24119 \end_layout
24120
24121 \end_inset
24122 </cell>
24123 <cell alignment="center" valignment="top" usebox="none">
24124 \begin_inset Text
24125
24126 \begin_layout Plain Layout
24127 txfonts
24128 \end_layout
24129
24130 \end_inset
24131 </cell>
24132 <cell alignment="center" valignment="top" usebox="none">
24133 \begin_inset Text
24134
24135 \begin_layout Plain Layout
24136 xy
24137 \end_layout
24138
24139 \end_inset
24140 </cell>
24141 </row>
24142 <row>
24143 <cell alignment="left" valignment="top" usebox="none">
24144 \begin_inset Text
24145
24146 \begin_layout Plain Layout
24147 amstext
24148 \end_layout
24149
24150 \end_inset
24151 </cell>
24152 <cell alignment="left" valignment="top" usebox="none">
24153 \begin_inset Text
24154
24155 \begin_layout Plain Layout
24156 csquotes
24157 \end_layout
24158
24159 \end_inset
24160 </cell>
24161 <cell alignment="left" valignment="top" usebox="none">
24162 \begin_inset Text
24163
24164 \begin_layout Plain Layout
24165 hhline
24166 \end_layout
24167
24168 \end_inset
24169 </cell>
24170 <cell alignment="left" valignment="top" usebox="none">
24171 \begin_inset Text
24172
24173 \begin_layout Plain Layout
24174 mathdesign
24175 \end_layout
24176
24177 \end_inset
24178 </cell>
24179 <cell alignment="center" valignment="top" usebox="none">
24180 \begin_inset Text
24181
24182 \begin_layout Plain Layout
24183 pmboxdraw
24184 \end_layout
24185
24186 \end_inset
24187 </cell>
24188 <cell alignment="center" valignment="top" usebox="none">
24189 \begin_inset Text
24190
24191 \begin_layout Plain Layout
24192 soul
24193 \end_layout
24194
24195 \end_inset
24196 </cell>
24197 <cell alignment="center" valignment="top" usebox="none">
24198 \begin_inset Text
24199
24200 \begin_layout Plain Layout
24201 ulem
24202 \end_layout
24203
24204 \end_inset
24205 </cell>
24206 <cell alignment="center" valignment="top" usebox="none">
24207 \begin_inset Text
24208
24209 \begin_layout Plain Layout
24210 yhmath
24211 \end_layout
24212
24213 \end_inset
24214 </cell>
24215 </row>
24216 <row>
24217 <cell alignment="left" valignment="top" usebox="none">
24218 \begin_inset Text
24219
24220 \begin_layout Plain Layout
24221 amsthm
24222 \end_layout
24223
24224 \end_inset
24225 </cell>
24226 <cell alignment="left" valignment="top" usebox="none">
24227 \begin_inset Text
24228
24229 \begin_layout Plain Layout
24230 dvipost
24231 \end_layout
24232
24233 \end_inset
24234 </cell>
24235 <cell alignment="left" valignment="top" usebox="none">
24236 \begin_inset Text
24237
24238 \begin_layout Plain Layout
24239 hyperref
24240 \end_layout
24241
24242 \end_inset
24243 </cell>
24244 <cell alignment="left" valignment="top" usebox="none">
24245 \begin_inset Text
24246
24247 \begin_layout Plain Layout
24248 mathdots
24249 \end_layout
24250
24251 \end_inset
24252 </cell>
24253 <cell alignment="center" valignment="top" usebox="none">
24254 \begin_inset Text
24255
24256 \begin_layout Plain Layout
24257 polyglossia
24258 \end_layout
24259
24260 \end_inset
24261 </cell>
24262 <cell alignment="center" valignment="top" usebox="none">
24263 \begin_inset Text
24264
24265 \begin_layout Plain Layout
24266 splitidx
24267 \end_layout
24268
24269 \end_inset
24270 </cell>
24271 <cell alignment="center" valignment="top" usebox="none">
24272 \begin_inset Text
24273
24274 \begin_layout Plain Layout
24275 undertilde
24276 \end_layout
24277
24278 \end_inset
24279 </cell>
24280 <cell alignment="center" valignment="top" usebox="none">
24281 \begin_inset Text
24282
24283 \begin_layout Plain Layout
24284
24285 \end_layout
24286
24287 \end_inset
24288 </cell>
24289 </row>
24290 <row>
24291 <cell alignment="left" valignment="top" usebox="none">
24292 \begin_inset Text
24293
24294 \begin_layout Plain Layout
24295 array
24296 \end_layout
24297
24298 \end_inset
24299 </cell>
24300 <cell alignment="left" valignment="top" usebox="none">
24301 \begin_inset Text
24302
24303 \begin_layout Plain Layout
24304 endnotes
24305 \end_layout
24306
24307 \end_inset
24308 </cell>
24309 <cell alignment="left" valignment="top" usebox="none">
24310 \begin_inset Text
24311
24312 \begin_layout Plain Layout
24313 ifsym
24314 \end_layout
24315
24316 \end_inset
24317 </cell>
24318 <cell alignment="left" valignment="top" usebox="none">
24319 \begin_inset Text
24320
24321 \begin_layout Plain Layout
24322 mathrsfs
24323 \end_layout
24324
24325 \end_inset
24326 </cell>
24327 <cell alignment="center" valignment="top" usebox="none">
24328 \begin_inset Text
24329
24330 \begin_layout Plain Layout
24331 prettyref
24332 \end_layout
24333
24334 \end_inset
24335 </cell>
24336 <cell alignment="center" valignment="top" usebox="none">
24337 \begin_inset Text
24338
24339 \begin_layout Plain Layout
24340 subfig
24341 \end_layout
24342
24343 \end_inset
24344 </cell>
24345 <cell alignment="center" valignment="top" usebox="none">
24346 \begin_inset Text
24347
24348 \begin_layout Plain Layout
24349 units
24350 \end_layout
24351
24352 \end_inset
24353 </cell>
24354 <cell alignment="center" valignment="top" usebox="none">
24355 \begin_inset Text
24356
24357 \begin_layout Plain Layout
24358
24359 \end_layout
24360
24361 \end_inset
24362 </cell>
24363 </row>
24364 <row>
24365 <cell alignment="left" valignment="top" usebox="none">
24366 \begin_inset Text
24367
24368 \begin_layout Plain Layout
24369 ascii
24370 \end_layout
24371
24372 \end_inset
24373 </cell>
24374 <cell alignment="left" valignment="top" usebox="none">
24375 \begin_inset Text
24376
24377 \begin_layout Plain Layout
24378 enumitem
24379 \end_layout
24380
24381 \end_inset
24382 </cell>
24383 <cell alignment="left" valignment="top" usebox="none">
24384 \begin_inset Text
24385
24386 \begin_layout Plain Layout
24387 ifthen
24388 \end_layout
24389
24390 \end_inset
24391 </cell>
24392 <cell alignment="left" valignment="top" usebox="none">
24393 \begin_inset Text
24394
24395 \begin_layout Plain Layout
24396 mhchem
24397 \end_layout
24398
24399 \end_inset
24400 </cell>
24401 <cell alignment="center" valignment="top" usebox="none">
24402 \begin_inset Text
24403
24404 \begin_layout Plain Layout
24405 pxfonts
24406 \end_layout
24407
24408 \end_inset
24409 </cell>
24410 <cell alignment="center" valignment="top" usebox="none">
24411 \begin_inset Text
24412
24413 \begin_layout Plain Layout
24414 subscript
24415 \end_layout
24416
24417 \end_inset
24418 </cell>
24419 <cell alignment="center" valignment="top" usebox="none">
24420 \begin_inset Text
24421
24422 \begin_layout Plain Layout
24423 url
24424 \end_layout
24425
24426 \end_inset
24427 </cell>
24428 <cell alignment="center" valignment="top" usebox="none">
24429 \begin_inset Text
24430
24431 \begin_layout Plain Layout
24432
24433 \end_layout
24434
24435 \end_inset
24436 </cell>
24437 </row>
24438 <row>
24439 <cell alignment="left" valignment="top" usebox="none">
24440 \begin_inset Text
24441
24442 \begin_layout Plain Layout
24443 bbding
24444 \end_layout
24445
24446 \end_inset
24447 </cell>
24448 <cell alignment="left" valignment="top" usebox="none">
24449 \begin_inset Text
24450
24451 \begin_layout Plain Layout
24452 esint
24453 \end_layout
24454
24455 \end_inset
24456 </cell>
24457 <cell alignment="left" valignment="top" usebox="none">
24458 \begin_inset Text
24459
24460 \begin_layout Plain Layout
24461 jurabib
24462 \end_layout
24463
24464 \end_inset
24465 </cell>
24466 <cell alignment="left" valignment="top" usebox="none">
24467 \begin_inset Text
24468
24469 \begin_layout Plain Layout
24470 multicol
24471 \end_layout
24472
24473 \end_inset
24474 </cell>
24475 <cell alignment="center" valignment="top" usebox="none">
24476 \begin_inset Text
24477
24478 \begin_layout Plain Layout
24479 refstyle
24480 \end_layout
24481
24482 \end_inset
24483 </cell>
24484 <cell alignment="center" valignment="top" usebox="none">
24485 \begin_inset Text
24486
24487 \begin_layout Plain Layout
24488 textcomp
24489 \end_layout
24490
24491 \end_inset
24492 </cell>
24493 <cell alignment="center" valignment="top" usebox="none">
24494 \begin_inset Text
24495
24496 \begin_layout Plain Layout
24497 varioref
24498 \end_layout
24499
24500 \end_inset
24501 </cell>
24502 <cell alignment="center" valignment="top" usebox="none">
24503 \begin_inset Text
24504
24505 \begin_layout Plain Layout
24506
24507 \end_layout
24508
24509 \end_inset
24510 </cell>
24511 </row>
24512 <row>
24513 <cell alignment="center" valignment="top" usebox="none">
24514 \begin_inset Text
24515
24516 \begin_layout Plain Layout
24517 bm
24518 \end_layout
24519
24520 \end_inset
24521 </cell>
24522 <cell alignment="center" valignment="top" usebox="none">
24523 \begin_inset Text
24524
24525 \begin_layout Plain Layout
24526 fancybox
24527 \end_layout
24528
24529 \end_inset
24530 </cell>
24531 <cell alignment="center" valignment="top" usebox="none">
24532 \begin_inset Text
24533
24534 \begin_layout Plain Layout
24535 latexsym
24536 \end_layout
24537
24538 \end_inset
24539 </cell>
24540 <cell alignment="center" valignment="top" usebox="none">
24541 \begin_inset Text
24542
24543 \begin_layout Plain Layout
24544 multirow
24545 \end_layout
24546
24547 \end_inset
24548 </cell>
24549 <cell alignment="center" valignment="top" usebox="none">
24550 \begin_inset Text
24551
24552 \begin_layout Plain Layout
24553 rotating
24554 \end_layout
24555
24556 \end_inset
24557 </cell>
24558 <cell alignment="center" valignment="top" usebox="none">
24559 \begin_inset Text
24560
24561 \begin_layout Plain Layout
24562 textgreek
24563 \end_layout
24564
24565 \end_inset
24566 </cell>
24567 <cell alignment="center" valignment="top" usebox="none">
24568 \begin_inset Text
24569
24570 \begin_layout Plain Layout
24571 verbatim
24572 \end_layout
24573
24574 \end_inset
24575 </cell>
24576 <cell alignment="center" valignment="top" usebox="none">
24577 \begin_inset Text
24578
24579 \begin_layout Plain Layout
24580
24581 \end_layout
24582
24583 \end_inset
24584 </cell>
24585 </row>
24586 </lyxtabular>
24587
24588 \end_inset
24589
24590
24591 \end_layout
24592
24593 \begin_layout Chapter
24594 レイアウトで使用できる色名
24595 \begin_inset CommandInset label
24596 LatexCommand label
24597 name "chap:色名"
24598
24599 \end_inset
24600
24601
24602 \end_layout
24603
24604 \begin_layout Standard
24605 ここに列挙されている色は標準色であり,\SpecialChar LyX
24606 設定で調整できるものです.
24607 \end_layout
24608
24609 \begin_layout Section
24610
24611 \lang english
24612 Color functions
24613 \end_layout
24614
24615 \begin_layout Standard
24616
24617 \lang english
24618 The following are no real colors, but rather act on color definitions:
24619 \end_layout
24620
24621 \begin_layout Description
24622 ignore この色を無視します
24623 \end_layout
24624
24625 \begin_layout Description
24626 inherit この色を継承します
24627 \end_layout
24628
24629 \begin_layout Description
24630 none
24631 \series medium
24632  
24633 \series default
24634 特定の色ではありません – 透明か既定色です
24635 \end_layout
24636
24637 \begin_layout Section
24638
24639 \lang english
24640 Static colors
24641 \end_layout
24642
24643 \begin_layout Standard
24644
24645 \lang english
24646 These are fixed colors that cannot me customized:
24647 \end_layout
24648
24649 \begin_layout Description
24650 black
24651 \end_layout
24652
24653 \begin_layout Description
24654 white
24655 \end_layout
24656
24657 \begin_layout Description
24658 blue
24659 \end_layout
24660
24661 \begin_layout Description
24662 brown
24663 \end_layout
24664
24665 \begin_layout Description
24666 cyan
24667 \end_layout
24668
24669 \begin_layout Description
24670 darkgray
24671 \end_layout
24672
24673 \begin_layout Description
24674 gray
24675 \end_layout
24676
24677 \begin_layout Description
24678 green
24679 \end_layout
24680
24681 \begin_layout Description
24682 lightgray
24683 \end_layout
24684
24685 \begin_layout Description
24686 lime
24687 \end_layout
24688
24689 \begin_layout Description
24690 magenta
24691 \end_layout
24692
24693 \begin_layout Description
24694 olive
24695 \end_layout
24696
24697 \begin_layout Description
24698 orange
24699 \end_layout
24700
24701 \begin_layout Description
24702 pink
24703 \end_layout
24704
24705 \begin_layout Description
24706 purple
24707 \end_layout
24708
24709 \begin_layout Description
24710 red
24711 \end_layout
24712
24713 \begin_layout Description
24714 teal
24715 \end_layout
24716
24717 \begin_layout Description
24718 violet
24719 \end_layout
24720
24721 \begin_layout Description
24722 yellow
24723 \end_layout
24724
24725 \begin_layout Section
24726
24727 \lang english
24728 Dynamic colors
24729 \end_layout
24730
24731 \begin_layout Standard
24732
24733 \lang english
24734 These are the colors allocated to specific elements in
24735 \lang japanese
24736
24737 \begin_inset Flex MenuItem
24738 status collapsed
24739
24740 \begin_layout Plain Layout
24741 ツール\SpecialChar menuseparator
24742 設定
24743 \end_layout
24744
24745 \end_inset
24746
24747 :
24748 \end_layout
24749
24750 \begin_layout Description
24751 added_space 空白マーカ色
24752 \end_layout
24753
24754 \begin_layout Description
24755 addedtext 追加された文章色
24756 \end_layout
24757
24758 \begin_layout Description
24759 appendix 付録マーカ色
24760 \end_layout
24761
24762 \begin_layout Description
24763 background 背景色
24764 \end_layout
24765
24766 \begin_layout Description
24767 bottomarea 下部領域色
24768 \end_layout
24769
24770 \begin_layout Description
24771 branchlabel 派生枝ラベル色
24772 \end_layout
24773
24774 \begin_layout Description
24775 buttonbg ボタンの背景色
24776 \end_layout
24777
24778 \begin_layout Description
24779 buttonframe 差込枠の縁色
24780 \end_layout
24781
24782 \begin_layout Description
24783 buttonhoverbg フォーカスを得ているボタンの背景色
24784 \end_layout
24785
24786 \begin_layout Description
24787 changebar 変更バー色
24788 \end_layout
24789
24790 \begin_layout Description
24791 changedtextauthor1 変更された文章:第1著者の色
24792 \end_layout
24793
24794 \begin_layout Description
24795 changedtextauthor2 変更された文章:第2著者の色
24796 \end_layout
24797
24798 \begin_layout Description
24799 changedtextauthor3 変更された文章:第3著者の色
24800 \end_layout
24801
24802 \begin_layout Description
24803 changedtextauthor4 変更された文章:第4著者の色
24804 \end_layout
24805
24806 \begin_layout Description
24807 changedtextauthor5 変更された文章:第5著者の色
24808 \end_layout
24809
24810 \begin_layout Description
24811 collapsibletext 畳み込み可能枠の文字色
24812 \end_layout
24813
24814 \begin_layout Description
24815 collapsibleframe 畳み込み可能枠の縁色
24816 \end_layout
24817
24818 \begin_layout Description
24819 command コマンド差込枠の文字色
24820 \end_layout
24821
24822 \begin_layout Description
24823 commandbg コマンド差込枠の背景色
24824 \end_layout
24825
24826 \begin_layout Description
24827 commandframe コマンド差込枠の縁色
24828 \end_layout
24829
24830 \begin_layout Description
24831 commentbg コメントの背景色
24832 \end_layout
24833
24834 \begin_layout Description
24835 commentlabel コメント色
24836 \end_layout
24837
24838 \begin_layout Description
24839 cursor カーソル色
24840 \end_layout
24841
24842 \begin_layout Description
24843 deletedtext 削除された文章の色
24844 \end_layout
24845
24846 \begin_layout Description
24847 deletedtextmodifier 削除された文章の修飾子の色
24848 \end_layout
24849
24850 \begin_layout Description
24851 depthbar 余白部の階層表示線の色
24852 \end_layout
24853
24854 \begin_layout Description
24855 eolmarker 行末標色
24856 \end_layout
24857
24858 \begin_layout Description
24859 error \SpecialChar LaTeX
24860 エラーボックス色
24861 \end_layout
24862
24863 \begin_layout Description
24864 footlabel 脚註ラベル色
24865 \end_layout
24866
24867 \begin_layout Description
24868 foreground 
24869 \lang english
24870 Foreground color
24871 \end_layout
24872
24873 \begin_layout Description
24874 graphicsbg 画像差込枠の背景色
24875 \end_layout
24876
24877 \begin_layout Description
24878 greyedoutbg 淡色表示差込枠の背景色
24879 \end_layout
24880
24881 \begin_layout Description
24882 greyedoutlabel 淡色表示差込枠のラベル色
24883 \end_layout
24884
24885 \begin_layout Description
24886 greyedouttext 淡色表示差込枠の文字色
24887 \end_layout
24888
24889 \begin_layout Description
24890 indexlabel 索引差込枠のラベル色
24891 \end_layout
24892
24893 \begin_layout Description
24894 inlinecompletion 行内補完色
24895 \end_layout
24896
24897 \begin_layout Description
24898 insetbg 差込枠標の背景色
24899 \end_layout
24900
24901 \begin_layout Description
24902 insetframe 差込枠標の縁色
24903 \end_layout
24904
24905 \begin_layout Description
24906 language 外国語の単語を標識するための色
24907 \end_layout
24908
24909 \begin_layout Description
24910 latex \SpecialChar LaTeX
24911 モードの文字色
24912 \end_layout
24913
24914 \begin_layout Description
24915 listingsbg プログラムリスト差込枠の背景色
24916 \end_layout
24917
24918 \begin_layout Description
24919 marginlabel 傍註のラベル色
24920 \end_layout
24921
24922 \begin_layout Description
24923 math 数式差込枠の文字色
24924 \end_layout
24925
24926 \begin_layout Description
24927 mathbg 数式差込枠の背景色
24928 \end_layout
24929
24930 \begin_layout Description
24931 mathcorners フォーカスを得ていない数式差込枠の縁色
24932 \end_layout
24933
24934 \begin_layout Description
24935 mathframe フォーカスを得ている数式差込枠の縁色
24936 \end_layout
24937
24938 \begin_layout Description
24939 mathline 数式行色
24940 \end_layout
24941
24942 \begin_layout Description
24943 mathmacrobg 数式マクロ差込枠の背景色
24944 \end_layout
24945
24946 \begin_layout Description
24947 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
24948 \end_layout
24949
24950 \begin_layout Description
24951 mathmacroframe 数式マクロ差込枠の縁色
24952 \end_layout
24953
24954 \begin_layout Description
24955 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
24956 \end_layout
24957
24958 \begin_layout Description
24959 mathmacrolabel 数式マクロ差込枠のラベル色
24960 \end_layout
24961
24962 \begin_layout Description
24963 mathmacronewarg 数式マクロ新パラメーターのひな型色
24964 \end_layout
24965
24966 \begin_layout Description
24967 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
24968 \end_layout
24969
24970 \begin_layout Description
24971 newpage 新規頁色
24972 \end_layout
24973
24974 \begin_layout Description
24975 nonunique_inlinecompletion 行内補完の一意でない部分の色
24976 \end_layout
24977
24978 \begin_layout Description
24979 notebg 註釈の背景色
24980 \end_layout
24981
24982 \begin_layout Description
24983 notelabel 註釈のラベル色
24984 \end_layout
24985
24986 \begin_layout Description
24987 pagebreak 改頁/改行色
24988 \end_layout
24989
24990 \begin_layout Description
24991 paragraphmarker 段落末を標識するための段落標の色
24992 \end_layout
24993
24994 \begin_layout Description
24995 phantomtext 埋め草差込枠の文字色
24996 \end_layout
24997
24998 \begin_layout Description
24999 preview プレビューに用いられる色
25000 \end_layout
25001
25002 \begin_layout Description
25003 previewframe プレビュー縁色
25004 \end_layout
25005
25006 \begin_layout Description
25007 regexpframe 正規表現枠の色
25008 \end_layout
25009
25010 \begin_layout Description
25011 scroll 
25012 \lang english
25013 Color that indicates when a row can be scrolled
25014 \end_layout
25015
25016 \begin_layout Description
25017 selection 文章選択部の背景色
25018 \end_layout
25019
25020 \begin_layout Description
25021 selectiontext 文章選択部の前景色
25022 \end_layout
25023
25024 \begin_layout Description
25025 shadedbg 影付きボックスの背景色
25026 \end_layout
25027
25028 \begin_layout Description
25029 special 特殊文字の色
25030 \end_layout
25031
25032 \begin_layout Description
25033 tabularline 罫線色
25034 \end_layout
25035
25036 \begin_layout Description
25037 tabularonoffline 罫線色
25038 \end_layout
25039
25040 \begin_layout Description
25041 urllabel URL差込枠のラベル色
25042 \end_layout
25043
25044 \begin_layout Description
25045 urltext URL差込枠の文字色
25046 \end_layout
25047
25048 \end_body
25049 \end_document