]> git.lyx.org Git - features.git/blob - lib/doc/ja/Customization.lyx
c3b395a8bf5bfcde87736727c8b22c8d725def06
[features.git] / lib / doc / ja / Customization.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 600
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 \end_preamble
27 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,bookmarkpackage=false
28 \use_default_options false
29 \begin_modules
30 logicalmkup
31 ruby
32 \end_modules
33 \maintain_unincluded_children no
34 \begin_local_layout
35 Format 57
36 InsetLayout Flex:MenuItem
37 LyxType               charstyle
38 LabelString           menu
39 LatexType             command
40 LatexName             menuitem
41 Font
42 Family              Sans
43 EndFont
44 Preamble
45 \newcommand*{\menuitem}[1]{{\sffamily #1}}
46 EndPreamble
47 ResetsFont true
48 End
49 # In case we need to do with sans...
50 #InsetLayout CharStyle:Code
51 #Font
52 #Family              Sans
53 #EndFont
54 #Preamble
55 #\renewcommand{\code}[1]{{\sffamily #1}}
56 #EndPreamble
57 #End
58 \end_local_layout
59 \language japanese
60 \language_package default
61 \inputencoding utf8
62 \fontencoding auto
63 \font_roman "lmodern" "IPAexMincho"
64 \font_sans "default" "IPAexGothic"
65 \font_typewriter "default" "default"
66 \font_math "auto" "auto"
67 \font_default_family default
68 \use_non_tex_fonts false
69 \font_sc false
70 \font_sans_osf false
71 \font_typewriter_osf false
72 \font_roman_osf false
73 \font_sf_scale 100 100
74 \font_tt_scale 100 100
75 \use_microtype false
76 \use_dash_ligatures false
77 \graphics default
78 \default_output_format default
79 \output_sync 0
80 \bibtex_command default
81 \index_command default
82 \paperfontsize 12
83 \spacing single
84 \use_hyperref true
85 \pdf_title "LyX Configuration Manual"
86 \pdf_author "LyX Team"
87 \pdf_subject "LyX-Documentation Customization"
88 \pdf_keywords "LyX, documentation, customization"
89 \pdf_bookmarks false
90 \pdf_bookmarksnumbered true
91 \pdf_bookmarksopen true
92 \pdf_bookmarksopenlevel 1
93 \pdf_breaklinks false
94 \pdf_pdfborder false
95 \pdf_colorlinks true
96 \pdf_backref false
97 \pdf_pdfusetitle false
98 \pdf_quoted_options "driverfallback=dvipdfmx, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
99 \papersize default
100 \use_geometry false
101 \use_package amsmath 1
102 \use_package amssymb 1
103 \use_package cancel 1
104 \use_package esint 1
105 \use_package mathdots 1
106 \use_package mathtools 1
107 \use_package mhchem 1
108 \use_package stackrel 1
109 \use_package stmaryrd 1
110 \use_package undertilde 1
111 \cite_engine basic
112 \cite_engine_type default
113 \biblio_style plain
114 \use_bibtopic false
115 \use_indices false
116 \paperorientation portrait
117 \suppress_date false
118 \justification false
119 \use_refstyle 0
120 \use_minted 0
121 \notefontcolor #0000ff
122 \branch OutDated
123 \selected 0
124 \filename_suffix 0
125 \color #f5fae7
126 \end_branch
127 \use_lineno 0
128 \index 索引
129 \shortcut idx
130 \color #008000
131 \end_index
132 \secnumdepth 3
133 \tocdepth 3
134 \paragraph_separation indent
135 \paragraph_indentation default
136 \is_math_indent 1
137 \math_indentation default
138 \math_numbering_side default
139 \quotes_style english
140 \dynamic_quotes 0
141 \papercolumns 1
142 \papersides 2
143 \paperpagestyle headings
144 \tablestyle default
145 \tracking_changes false
146 \postpone_fragile_content false
147 \output_changes false
148 \html_math_output 0
149 \html_css_as_file 0
150 \html_be_strict true
151 \end_header
152
153 \begin_body
154
155 \begin_layout Title
156 \SpecialChar LyX
157 の高度設定
158 \begin_inset Newline newline
159 \end_inset
160
161 熟練ユーザのための各機能
162 \end_layout
163
164 \begin_layout Author
165 \SpecialChar LyX
166 開発チーム
167 \begin_inset Foot
168 status collapsed
169
170 \begin_layout Plain Layout
171 \noindent
172 もしコメントや誤りの修正をお持ちでしたら,\SpecialChar LyX
173 文書化メーリングリスト
174 \begin_inset CommandInset href
175 LatexCommand href
176 target "lyx-docs@lists.lyx.org"
177 type "mailto:"
178 literal "false"
179
180 \end_inset
181
182 宛お送りください.件名ヘッダに「[Customization]」という文字を入れ,このファイルの現在のメンテナRichard Kimberly Heck <rgheck@comc
183 ast.net>をccにして送ってください.
184 \end_layout
185
186 \end_inset
187
188
189 \begin_inset Newline newline
190 \end_inset
191
192
193 \begin_inset Newline newline
194 \end_inset
195
196 第2.3.x版
197 \end_layout
198
199 \begin_layout Standard
200 \begin_inset CommandInset toc
201 LatexCommand tableofcontents
202
203 \end_inset
204
205
206 \begin_inset Note Note
207 status open
208
209 \begin_layout Plain Layout
210 本文書を修正する際には,変更追跡機能を使用してください.これによって,
211 \end_layout
212
213 \begin_layout Plain Layout
214 \SpecialChar LyX
215 翻訳者陣が変更点を認識しやすくなり,メンテナが最新の状態を維持することが容易になります.
216 \end_layout
217
218 \end_inset
219
220
221 \end_layout
222
223 \begin_layout Chapter
224 はじめに
225 \end_layout
226
227 \begin_layout Standard
228 この取扱説明書は,\SpecialChar LyX
229 に備わっている高度設定機能を取り扱います.ここでは,
230 \begin_inset Flex Ruby
231 status collapsed
232
233 \begin_layout Plain Layout
234 捷径
235 \begin_inset Argument post:1
236 status collapsed
237
238 \begin_layout Plain Layout
239 ショートカット
240 \end_layout
241
242 \end_inset
243
244
245 \end_layout
246
247 \end_inset
248
249 や画面プレビューオプション,プリンタオプション,\SpecialChar LyX
250 サーバ経由での\SpecialChar LyX
251 へのコマンド送信,国際化,新しい\SpecialChar LaTeX
252 クラスや\SpecialChar LyX
253 レイアウトの導入などの題材について論じます.おそらくは変更
254 可能なことすべてについて触れることは無理でしょうが—私たちの開発者たちは私たちが文書化できる速さよりも速く新しい機能を付け加えてしまうので—,もっとも一般的な高
255 度設定については説明を行い,わかりにくいものについては正しい方向を指し示すことができるようにしていくつもりです.
256 \end_layout
257
258 \begin_layout Standard
259 \begin_inset Branch OutDated
260 inverted 0
261 status collapsed
262
263 \begin_layout Standard
264 Information from previous versions of this document that now seems to be
265  outdated is contained in the OutDated branch of this document.
266  By default, this information will not appear in the \SpecialChar LaTeX
267  output.
268 \end_layout
269
270 \end_inset
271
272
273 \end_layout
274
275 \begin_layout Chapter
276 \SpecialChar LyX
277 設定ファイル
278 \end_layout
279
280 \begin_layout Standard
281 本章の目的は,\SpecialChar LyX
282 設定ファイル群を理解するための一助となることです.本章を読み進める前に,
283 \begin_inset Flex MenuItem
284 status collapsed
285
286 \begin_layout Plain Layout
287 ヘルプ\SpecialChar menuseparator
288 LyXについて
289 \end_layout
290
291 \end_inset
292
293 を使って,\SpecialChar LyX
294 ライブラリとユーザディレクトリがどこにあるかを確認しておいてください.ライブラリディレクトリは,\SpecialChar LyX
295 がシステム全体の設定ファイルを置いておくところです.一
296 方,ユーザディレクトリは,自身がそれを修正した版を置いておくところです.私たちは,本書の以下の部分で,前者を
297 \begin_inset Flex Code
298 status collapsed
299
300 \begin_layout Plain Layout
301 LyXDir
302 \end_layout
303
304 \end_inset
305
306 と呼び,後者を
307 \begin_inset Flex MenuItem
308 status collapsed
309
310 \begin_layout Plain Layout
311 UserDir
312 \end_layout
313
314 \end_inset
315
316 と呼ぶことにします.
317 \end_layout
318
319 \begin_layout Section
320 \begin_inset Flex Code
321 status collapsed
322
323 \begin_layout Plain Layout
324 LyXDir
325 \end_layout
326
327 \end_inset
328
329 にはなにがあるの?
330 \end_layout
331
332 \begin_layout Standard
333 \begin_inset Flex Code
334 status collapsed
335
336 \begin_layout Plain Layout
337 LyXDir
338 \end_layout
339
340 \end_inset
341
342 とそのサブディレクトリには,多くのファイルがあり,\SpecialChar LyX
343 の挙動を高度設定するのに使用されます.これらのファイルの多くは,\SpecialChar LyX
344 内の
345 \begin_inset Flex MenuItem
346 status collapsed
347
348 \begin_layout Plain Layout
349 ツール\SpecialChar menuseparator
350 設定
351 \end_layout
352
353 \end_inset
354
355 ダイアログから変更することができます.\SpecialChar LyX
356 中で行いたいと思うような高度設定は,ほとんどこのダイアログから行うことができるようになっています.しかしながら,LyXの他
357 の多くの内部動作は,
358 \begin_inset Flex Code
359 status collapsed
360
361 \begin_layout Plain Layout
362 LyXDir
363 \end_layout
364
365 \end_inset
366
367 のファイルを修正することで高度設定されます.これらのファイルは様々なカテゴリに分類しうるので,以下の各小節で説明します.
368 \end_layout
369
370 \begin_layout Subsection
371 自動的に生成されるファイル
372 \end_layout
373
374 \begin_layout Standard
375 \begin_inset Flex MenuItem
376 status collapsed
377
378 \begin_layout Plain Layout
379 UserDir
380 \end_layout
381
382 \end_inset
383
384 にある各ファイルは,\SpecialChar LyX
385 が自動設定を行ったときに生成されます.これらのファイルは,内部調査中に推測された様々な既定値が置かれています.これらは,随時上書きされてしま
386 うので,一般的には修正しないことが望まれます.
387 \end_layout
388
389 \begin_layout Labeling
390 \labelwidthstring 00.00.0000
391 \begin_inset Flex Code
392 status collapsed
393
394 \begin_layout Plain Layout
395 lyxrc.defaults
396 \end_layout
397
398 \end_inset
399
400  このファイルには,様々な既定コマンドが置かれています.
401 \end_layout
402
403 \begin_layout Labeling
404 \labelwidthstring 00.00.0000
405 \begin_inset Flex Code
406 status collapsed
407
408 \begin_layout Plain Layout
409 packages.lst
410 \end_layout
411
412 \end_inset
413
414  このファイルには,\SpecialChar LyX
415 が認識したパッケージの一覧が収められています.現在のところ,これは\SpecialChar LyX
416 プログラム自体には使用されていませんが,抽出された情報その他は,
417 \begin_inset Flex MenuItem
418 status collapsed
419
420 \begin_layout Plain Layout
421 ヘルプ\SpecialChar menuseparator
422 LaTeXの設定
423 \end_layout
424
425 \end_inset
426
427 で見ることができます.
428 \end_layout
429
430 \begin_layout Labeling
431 \labelwidthstring 00.00.0000
432 \begin_inset Flex Code
433 status collapsed
434
435 \begin_layout Plain Layout
436 textclass.lst
437 \end_layout
438
439 \end_inset
440
441  ユーザの
442 \begin_inset Flex Code
443 status collapsed
444
445 \begin_layout Plain Layout
446 Plain L
447 \end_layout
448
449 \end_inset
450
451 ディレクトリで検出されたテキストクラスと,関連した\SpecialChar LaTeX
452 文書クラスおよびその説明の一覧です.
453 \end_layout
454
455 \begin_layout Labeling
456 \labelwidthstring 00.00.0000
457 \begin_inset Flex Code
458 status collapsed
459
460 \begin_layout Plain Layout
461 lyxmodules.lst
462 \end_layout
463
464 \end_inset
465
466  ユーザの
467 \begin_inset Flex Code
468 status collapsed
469
470 \begin_layout Plain Layout
471 layout/
472 \end_layout
473
474 \end_inset
475
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 *files.lst
486 \end_layout
487
488 \end_inset
489
490  ご使用のシステムで検出された様々な種類の\SpecialChar LaTeX
491 関連ファイルの一覧です.
492 \end_layout
493
494 \begin_layout Labeling
495 \labelwidthstring 00.00.0000
496 \begin_inset Flex Code
497 status collapsed
498
499 \begin_layout Plain Layout
500 doc/LaTeXConfig.lyx
501 \end_layout
502
503 \end_inset
504
505  このファイルは,自動設定中に
506 \begin_inset Flex Code
507 status collapsed
508
509 \begin_layout Plain Layout
510 LaTeXConfig.lyx.in
511 \end_layout
512
513 \end_inset
514
515 から自動的に生成されます.ご使用中の\SpecialChar LaTeX
516 の設定に関する情報が納められています.
517 \end_layout
518
519 \begin_layout Subsection
520 ディレクトリ
521 \end_layout
522
523 \begin_layout Standard
524 以下の各ディレクトリは,
525 \begin_inset Flex Code
526 status collapsed
527
528 \begin_layout Plain Layout
529 LyXDir
530 \end_layout
531
532 \end_inset
533
534
535 \begin_inset Flex Code
536 status collapsed
537
538 \begin_layout Plain Layout
539 UserDir
540 \end_layout
541
542 \end_inset
543
544 に重複して存在します.特定のファイルが両方の場所にある場合には,
545 \begin_inset Flex Code
546 status collapsed
547
548 \begin_layout Plain Layout
549 UserDir
550 \end_layout
551
552 \end_inset
553
554 の方にあるものが使用されます.
555 \end_layout
556
557 \begin_layout Labeling
558 \labelwidthstring 00.00.0000
559 \begin_inset Flex Code
560 status collapsed
561
562 \begin_layout Plain Layout
563 bind/
564 \end_layout
565
566 \end_inset
567
568  このディレクトリには,\SpecialChar LyX
569 で使用されるキー割当を定義している,拡張子が
570 \begin_inset Flex Code
571 status collapsed
572
573 \begin_layout Plain Layout
574 .bind
575 \end_layout
576
577 \end_inset
578
579 のファイルが置かれています.
580 \begin_inset Flex Code
581 status collapsed
582
583 \begin_layout Plain Layout
584 $LANG_xxx.bind
585 \end_layout
586
587 \end_inset
588
589 という名称の割当ファイルの各国語版がある場合には,そちらが用いられます.
590 \end_layout
591
592 \begin_layout Labeling
593 \labelwidthstring 00.00.0000
594 \begin_inset Flex Code
595 status collapsed
596
597 \begin_layout Plain Layout
598 citeengines/
599 \end_layout
600
601 \end_inset
602
603  このディレクトリには,幅広い文献引用力(natbib, biblatexなど)を定義する,拡張子が
604 \begin_inset Flex Code
605 status collapsed
606
607 \begin_layout Plain Layout
608 .citeengine
609 \end_layout
610
611 \end_inset
612
613 のファイルが置かれています.詳細については,第
614 \begin_inset CommandInset ref
615 LatexCommand ref
616 reference "subsec:引用エンジンファイル"
617 plural "false"
618 caps "false"
619 noprefix "false"
620
621 \end_inset
622
623 節をご覧ください.
624 \end_layout
625
626 \begin_layout Labeling
627 \labelwidthstring 00.00.0000
628 \begin_inset Flex Code
629 status collapsed
630
631 \begin_layout Plain Layout
632 clipart/
633 \end_layout
634
635 \end_inset
636
637  このディレクトリには,文書に取り込むことのできる画像ファイルが納められています.
638 \end_layout
639
640 \begin_layout Labeling
641 \labelwidthstring 00.00.0000
642 \begin_inset Flex Code
643 status collapsed
644
645 \begin_layout Plain Layout
646 doc/
647 \end_layout
648
649 \end_inset
650
651  このディレクトリには,\SpecialChar LyX
652 の取扱説明書ファイル(今お読みのものも含めて)が納められています.上述のように,
653 \begin_inset Flex Code
654 status collapsed
655
656 \begin_layout Plain Layout
657 LaTeXConfig.lyx
658 \end_layout
659
660 \end_inset
661
662 ファイルは特に注目に値します.各国語版のヘルプ文書は,
663 \begin_inset Flex Code
664 status collapsed
665
666 \begin_layout Plain Layout
667 doc/xx
668 \end_layout
669
670 \end_inset
671
672 (「xx」はISO言語コード)サブディレクトリにあります.詳しくは,
673 \begin_inset CommandInset ref
674 LatexCommand ref
675 reference "cha:LyXの各国語対応"
676
677 \end_inset
678
679 をご覧ください.
680 \end_layout
681
682 \begin_layout Labeling
683 \labelwidthstring 00.00.0000
684 \begin_inset Flex Code
685 status collapsed
686
687 \begin_layout Plain Layout
688 examples/
689 \end_layout
690
691 \end_inset
692
693  このディレクトリには,何らかの機能の使い方を説明する例示ファイルが納められています.ファイルブラウザ中で
694 \begin_inset Flex MenuItem
695 status collapsed
696
697 \begin_layout Plain Layout
698 用例
699 \end_layout
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 images/
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 ダイアログで使用される画像ファイルが納められています.さらに,ツールバーの各アイコンや,\SpecialChar LyX
728 を起動したときに現れるバナーも納められています.
729 \end_layout
730
731 \begin_layout Labeling
732 \labelwidthstring 00.00.0000
733 \begin_inset Flex Code
734 status collapsed
735
736 \begin_layout Plain Layout
737 kbd/
738 \end_layout
739
740 \end_inset
741
742  このディレクトリには,キーボードのキー割当ファイルが納められています.詳細については,
743 \begin_inset CommandInset ref
744 LatexCommand ref
745 reference "sec:国際キー配列"
746
747 \end_inset
748
749 をご覧ください.
750 \end_layout
751
752 \begin_layout Labeling
753 \labelwidthstring 00.00.0000
754 \begin_inset Flex Code
755 status collapsed
756
757 \begin_layout Plain Layout
758 layouts/
759 \end_layout
760
761 \end_inset
762
763  このディレクトリには,
764 \begin_inset CommandInset ref
765 LatexCommand ref
766 reference "cha:新規文書を導入"
767
768 \end_inset
769
770 に述べられているテキストクラスおよびモジュールのファイルが納められています.
771 \end_layout
772
773 \begin_layout Labeling
774 \labelwidthstring 00.00.0000
775 \begin_inset Flex Code
776 status collapsed
777
778 \begin_layout Plain Layout
779 lyx2lyx
780 \end_layout
781
782 \end_inset
783
784  このディレクトリには,\SpecialChar LyX
785 の各バージョン間の変換に使用される
786 \begin_inset Flex Code
787 status collapsed
788
789 \begin_layout Plain Layout
790 lyx2lyx
791 \end_layout
792
793 \end_inset
794
795  Pythonスクリプトが納められています.たとえば,複数のファイルの変換をバッチ処理したい場合には,これらをコマンドラインから実行することもできます.
796 \end_layout
797
798 \begin_layout Labeling
799 \labelwidthstring 00.00.0000
800 \begin_inset Flex Code
801 status collapsed
802
803 \begin_layout Plain Layout
804 scripts/
805 \end_layout
806
807 \end_inset
808
809  このディレクトリには,
810 \begin_inset Flex MenuItem
811 status collapsed
812
813 \begin_layout Plain Layout
814 外用ひな型
815 \end_layout
816
817 \end_inset
818
819 機能の有用性を示すためのファイルがいくつか納められています.\SpecialChar LyX
820 自身が使用するスクリプトもいくつか収められています.
821 \end_layout
822
823 \begin_layout Labeling
824 \labelwidthstring 00.00.0000
825 \begin_inset Flex Code
826 status collapsed
827
828 \begin_layout Plain Layout
829 templates/
830 \end_layout
831
832 \end_inset
833
834  このディレクトリには,
835 \begin_inset CommandInset ref
836 LatexCommand ref
837 reference "sec:ひな型を作成する"
838
839 \end_inset
840
841 で述べられている標準の\SpecialChar LyX
842 ひな型ファイルが納められています.
843 \end_layout
844
845 \begin_layout Labeling
846 \labelwidthstring 00.00.0000
847 \begin_inset Flex Code
848 status collapsed
849
850 \begin_layout Plain Layout
851 ui/
852 \end_layout
853
854 \end_inset
855
856  このディレクトリには,\SpecialChar LyX
857 の操作画面を定義する拡張子
858 \begin_inset Flex Code
859 status collapsed
860
861 \begin_layout Plain Layout
862 .ui
863 \end_layout
864
865 \end_inset
866
867 のファイルが納められています.つまり,これらのファイルは,どのメニュー項目がどのメニューに現れるかを定義し,どの項目がツールバーに現れるかを定義しています.
868 \end_layout
869
870 \begin_layout Labeling
871 \labelwidthstring 00.00.0000
872 \begin_inset Flex Code
873 status collapsed
874
875 \begin_layout Plain Layout
876 xtemplates/
877 \end_layout
878
879 \end_inset
880
881  このディレクトリには,\SpecialChar LyX
882 文書への外部素材の挿入のひな型を定義する,拡張子が
883 \begin_inset Flex Code
884 status collapsed
885
886 \begin_layout Plain Layout
887 .xtemplate
888 \end_layout
889
890 \end_inset
891
892 のファイルが置かれています.第
893 \begin_inset CommandInset ref
894 LatexCommand ref
895 reference "chap:外部素材を取り込む"
896 plural "false"
897 caps "false"
898 noprefix "false"
899
900 \end_inset
901
902 節参照.
903 \end_layout
904
905 \begin_layout Subsection
906 変更を加えない方がよいファイル
907 \end_layout
908
909 \begin_layout Standard
910 これらのファイルは\SpecialChar LyX
911 が内部的に使用するもので,あなたが開発者でない限りは,凡そこれらに変更を加える必要はありません.
912 \end_layout
913
914 \begin_layout Labeling
915 \labelwidthstring 00.00.0000
916 \begin_inset Flex Code
917 status collapsed
918
919 \begin_layout Plain Layout
920 CREDITS
921 \end_layout
922
923 \end_inset
924
925  このファイルは,\SpecialChar LyX
926 開発陣の名簿です.この内容は,メニュー項目
927 \begin_inset Flex MenuItem
928 status collapsed
929
930 \begin_layout Plain Layout
931 ヘルプ\SpecialChar menuseparator
932 LyXについて
933 \end_layout
934
935 \end_inset
936
937 で表示されます.
938 \end_layout
939
940 \begin_layout Labeling
941 \labelwidthstring 00.00.0000
942 \begin_inset Flex Code
943 status collapsed
944
945 \begin_layout Plain Layout
946 chkconfig.ltx
947 \end_layout
948
949 \end_inset
950
951  これは,自動設定プロセスによって使用される\SpecialChar LaTeX
952 スクリプトです.直接実行しないでください.
953 \end_layout
954
955 \begin_layout Labeling
956 \labelwidthstring 00.00.0000
957 \begin_inset Flex Code
958 status collapsed
959
960 \begin_layout Plain Layout
961 configure.py
962 \end_layout
963
964 \end_inset
965
966  これは,\SpecialChar LyX
967 の環境構成によって使用されるスクリプトです.これは,このスクリプトを実行したディレクトリに設定ファイルを生成します.
968 \end_layout
969
970 \begin_layout Subsection
971 ひとこと必要なファイル群
972 \end_layout
973
974 \begin_layout Labeling
975 \labelwidthstring 00.00.0000
976 \begin_inset Flex Code
977 status collapsed
978
979 \begin_layout Plain Layout
980 encodings
981 \end_layout
982
983 \end_inset
984
985  このファイルには,各文字エンコーディングがどのようにUnicodeにマップされるかを示した表が載っています.
986 \end_layout
987
988 \begin_layout Labeling
989 \labelwidthstring 00.00.0000
990 \begin_inset Flex Code
991 status collapsed
992
993 \begin_layout Plain Layout
994 languages
995 \end_layout
996
997 \end_inset
998
999  このファイルには,現在\SpecialChar LyX
1000 がサポートしている言語の全一覧が載っています.
1001 \end_layout
1002
1003 \begin_layout Labeling
1004 \labelwidthstring 00.00.0000
1005 \begin_inset Flex Code
1006 status collapsed
1007
1008 \begin_layout Plain Layout
1009 latexfonts
1010 \end_layout
1011
1012 \end_inset
1013
1014  サポートされているフォントに関する情報が掲載されています.
1015 \end_layout
1016
1017 \begin_layout Labeling
1018 \labelwidthstring 00.00.0000
1019 \begin_inset Flex Code
1020 status collapsed
1021
1022 \begin_layout Plain Layout
1023 layouttranslations
1024 \end_layout
1025
1026 \end_inset
1027
1028  このファイルは,国際化された段落様式の翻訳が収録されています(
1029 \begin_inset CommandInset ref
1030 LatexCommand ref
1031 reference "subsec:段落様式の国際化"
1032
1033 \end_inset
1034
1035 参照).
1036 \end_layout
1037
1038 \begin_layout Labeling
1039 \labelwidthstring 00.00.0000
1040 \begin_inset Flex Code
1041 status collapsed
1042
1043 \begin_layout Plain Layout
1044 unicodesymbols
1045 \end_layout
1046
1047 \end_inset
1048
1049  このファイルは,unicodeエンコーディングされたグリフに関する情報と,\SpecialChar LyX
1050 が\SpecialChar LaTeX
1051 を介してそれらをどのようにサポートしているかについての情報を含んでいます.
1052 \end_layout
1053
1054 \begin_layout Section
1055 ユーザのローカル設定ディレクトリ
1056 \end_layout
1057
1058 \begin_layout Standard
1059 \SpecialChar LyX
1060 を非特権ユーザとして利用している場合でも,自分自身で使うために,\SpecialChar LyX
1061 の設定を変更したいと思うかもしれません.
1062 \begin_inset Flex Code
1063 status collapsed
1064
1065 \begin_layout Plain Layout
1066 UserDir
1067 \end_layout
1068
1069 \end_inset
1070
1071 ディレクトリには,すべての個人設定ファイルが収められています.これは,
1072 \begin_inset Flex MenuItem
1073 status collapsed
1074
1075 \begin_layout Plain Layout
1076 ヘルプ\SpecialChar menuseparator
1077 LyXについて
1078 \end_layout
1079
1080 \end_inset
1081
1082 で「ユーザーディレクトリ」として言及されているディレクトリです.このディレクトリは,
1083 \begin_inset Flex Code
1084 status collapsed
1085
1086 \begin_layout Plain Layout
1087 LyXDir
1088 \end_layout
1089
1090 \end_inset
1091
1092 のミラーとして使用されており,これは
1093 \begin_inset Flex Code
1094 status collapsed
1095
1096 \begin_layout Plain Layout
1097 UserDir
1098 \end_layout
1099
1100 \end_inset
1101
1102 内のすべてのファイルが,
1103 \begin_inset Flex Code
1104 status collapsed
1105
1106 \begin_layout Plain Layout
1107 LyXDir
1108 \end_layout
1109
1110 \end_inset
1111
1112 すし,自分自身で使うために個人のローカルディレクトリに置くこともできます.
1113 \end_layout
1114
1115 \begin_layout Standard
1116 わかりやすくするために,いくつか例を挙げましょう.
1117 \end_layout
1118
1119 \begin_layout Itemize
1120 \begin_inset Flex MenuItem
1121 status collapsed
1122
1123 \begin_layout Plain Layout
1124 ツール\SpecialChar menuseparator
1125 設定
1126 \end_layout
1127
1128 \end_inset
1129
1130 ダイアログで設定されるユーザ設定は,
1131 \begin_inset Flex Code
1132 status collapsed
1133
1134 \begin_layout Plain Layout
1135 UserDir
1136 \end_layout
1137
1138 \end_inset
1139
1140 中の
1141 \begin_inset Flex Code
1142 status collapsed
1143
1144 \begin_layout Plain Layout
1145 preferences
1146 \end_layout
1147
1148 \end_inset
1149
1150 ファイルに保存されます.
1151 \end_layout
1152
1153 \begin_layout Itemize
1154 \begin_inset Flex MenuItem
1155 status collapsed
1156
1157 \begin_layout Plain Layout
1158 ツール\SpecialChar menuseparator
1159 環境構成
1160 \end_layout
1161
1162 \end_inset
1163
1164 を使用して環境構成を行うと,\SpecialChar LyX
1165
1166 \begin_inset Flex Code
1167 status collapsed
1168
1169 \begin_layout Plain Layout
1170 configure.py
1171 \end_layout
1172
1173 \end_inset
1174
1175 スクリプトを実行し,その結果のファイルは,ご自身のローカル設定ディレクトリに書き込まれます.これはすなわち,
1176 \begin_inset Flex Code
1177 status collapsed
1178
1179 \begin_layout Plain Layout
1180 UserDir/layouts
1181 \end_layout
1182
1183 \end_inset
1184
1185 にご自身で追加したテキストファイルは,
1186 \begin_inset Flex MenuItem
1187 status collapsed
1188
1189 \begin_layout Plain Layout
1190 文書\SpecialChar menuseparator
1191 設定
1192 \end_layout
1193
1194 \end_inset
1195
1196 ダイアログのクラス一覧に表示されるようになることを意味します.
1197 \end_layout
1198
1199 \begin_layout Itemize
1200 たとえば,\SpecialChar LyX
1201 のFTPサイトから最新の取扱説明書をとってきたものの,使用中のシステム上で管理者権限がないために,それをインストールすることができなかったとしても,そ
1202 れらのファイルを
1203 \begin_inset Flex Code
1204 status collapsed
1205
1206 \begin_layout Plain Layout
1207 UserDir/doc/
1208 \end_layout
1209
1210 \end_inset
1211
1212 ディレクトリにコピーすれば,
1213 \begin_inset Flex MenuItem
1214 status collapsed
1215
1216 \begin_layout Plain Layout
1217 ヘルプ
1218 \end_layout
1219
1220 \end_inset
1221
1222 メニュー項目はこれらを開くようになります!
1223 \end_layout
1224
1225 \begin_layout Section
1226 \SpecialChar LyX
1227 を複数の設定を使って実行するには
1228 \end_layout
1229
1230 \begin_layout Standard
1231 ローカル設定ディレクトリにおいて設定の自由度があるだけでは,2つ以上の設定を自由に使いこなしたい場合には充分ではないかもしれません.たとえば,使用する度に異なる
1232 キー割当を使用したり,異なるプリンタ設定を使用したいことがあるかもしれません.これは,複数の設定ディレクトリを作ることで実現することができます.そして,実行時に
1233 どのディレクトリを使用するか指定するのです.
1234 \end_layout
1235
1236 \begin_layout Standard
1237 \SpecialChar LyX
1238 をコマンドラインスイッチ
1239 \begin_inset Flex Code
1240 status collapsed
1241
1242 \begin_layout Plain Layout
1243 -userdir
1244 \end_layout
1245
1246 \end_inset
1247
1248 P
1249 \emph on
1250 <ディレクトリ名>
1251 \emph default
1252 と共に起動すると,設定を既定のディレクトリではなく,指定したディレクトリから読み込むように,指示することになります(\SpecialChar LyX
1253
1254 \begin_inset Flex Code
1255 status collapsed
1256
1257 \begin_layout Plain Layout
1258 -userdir
1259 \end_layout
1260
1261 \end_inset
1262
1263 スイッチなしで実行すれば,既定ディレクトリを指定することになります).指定したディレクトリが存在しない場合には,\SpecialChar LyX
1264 は,初めて\SpecialChar LyX
1265 を実行したときに既定ディレクトリを訊い
1266 てくるのと同様に,そのディレクトリを作るかどうか訊いてきます.この追加したユーザディレクトリでは,既定ディレクトリで行うのと全く同じように設定オプションを修正す
1267 ることができます.これらのディレクトリは完全に独立しています(が,読み進めてください).また,環境変数
1268 \begin_inset Flex Code
1269 status collapsed
1270
1271 \begin_layout Plain Layout
1272 LYX_USERDIR_20x
1273 \end_layout
1274
1275 \end_inset
1276
1277 を特定の値に設定しても,全く同じ効果があります.
1278 \end_layout
1279
1280 \begin_layout Standard
1281 複数の設定を持つことはまた,維持の手間も増えるということです.もし新しいレイアウトを
1282 \begin_inset Flex Code
1283 status collapsed
1284
1285 \begin_layout Plain Layout
1286 NewUserDir/layouts
1287 \end_layout
1288
1289 \end_inset
1290
1291 に加えて,これをすべての設定で利用できるようにしたいならば,これをすべての設定ディレクトリで個々に付け加えなくてはなりません.これを避けるには,次のようなトリッ
1292 クを使用してください.\SpecialChar LyX
1293 が新しい設定ディレクトリを生成すると,そのサブディレクトリ(上記参照)はほとんど空です.新しい設定が既存のものをミラーするようにするには,
1294 空のサブディレクトリを,既存の設定の対応するサブディレクトリへのシンボリックリンクに置き換えてください.ただし
1295 \begin_inset Flex Code
1296 status collapsed
1297
1298 \begin_layout Plain Layout
1299 doc/
1300 \end_layout
1301
1302 \end_inset
1303
1304 サブディレクトリには,設定スクリプト(
1305 \begin_inset Flex MenuItem
1306 status collapsed
1307
1308 \begin_layout Plain Layout
1309 ツール\SpecialChar menuseparator
1310 環境構成
1311 \end_layout
1312
1313 \end_inset
1314
1315 で使用可能)が書き出した,設定毎に異なるファイルが含まれていますので,注意を払ってください.
1316 \end_layout
1317
1318 \begin_layout Chapter
1319 設定ダイアログ
1320 \end_layout
1321
1322 \begin_layout Standard
1323 設定ダイアログのオプションのすべては,
1324 \emph on
1325 ユーザーの手引き
1326 \emph default
1327 の付録
1328 \emph on
1329 設定ダイアログ
1330 \emph default
1331 に述べられています.オプションのうちいくつかについて,ここでさらに詳細に説明します.
1332 \end_layout
1333
1334 \begin_layout Section
1335 ファイル形式
1336 \begin_inset CommandInset label
1337 LatexCommand label
1338 name "sec:ファイル形式"
1339
1340 \end_inset
1341
1342
1343 \end_layout
1344
1345 \begin_layout Standard
1346 ファイル形式が定義されていない場合,はじめの一歩は,使いたいと思うファイル形式を定義することです.それには,
1347 \begin_inset Flex MenuItem
1348 status collapsed
1349
1350 \begin_layout Plain Layout
1351 ツール\SpecialChar menuseparator
1352 設定
1353 \end_layout
1354
1355 \end_inset
1356
1357 ダイアログを開いてください.
1358 \begin_inset Flex MenuItem
1359 status collapsed
1360
1361 \begin_layout Plain Layout
1362 ファイル処理\SpecialChar menuseparator
1363 ファイル形式
1364 \end_layout
1365
1366 \end_inset
1367
1368 の中で
1369 \begin_inset Flex MenuItem
1370 status collapsed
1371
1372 \begin_layout Plain Layout
1373 新規\SpecialChar ldots
1374
1375 \end_layout
1376
1377 \end_inset
1378
1379 ボタンを押して,登録する新しい形式を定義してください.
1380 \begin_inset Flex MenuItem
1381 status collapsed
1382
1383 \begin_layout Plain Layout
1384 形式
1385 \end_layout
1386
1387 \end_inset
1388
1389 フィールドは,GUI中で形式を認識するために用いられる名称です.
1390 \begin_inset Flex MenuItem
1391 status collapsed
1392
1393 \begin_layout Plain Layout
1394 短縮名
1395 \end_layout
1396
1397 \end_inset
1398
1399 は,形式を内部的に識別するために用いられます.さらにファイル拡張子も入力する必要があります.これらはすべて必須事項です.オプションの
1400 \begin_inset Flex MenuItem
1401 status collapsed
1402
1403 \begin_layout Plain Layout
1404 捷径
1405 \end_layout
1406
1407 \end_inset
1408
1409 フィールドは,メニュー中で
1410 \begin_inset Flex Ruby
1411 status collapsed
1412
1413 \begin_layout Plain Layout
1414 捷径
1415 \begin_inset Argument post:1
1416 status collapsed
1417
1418 \begin_layout Plain Layout
1419 ショートカット
1420 \end_layout
1421
1422 \end_inset
1423
1424
1425 \end_layout
1426
1427 \end_inset
1428
1429 を提供するのに使用されます(たとえば,
1430 \begin_inset Flex MenuItem
1431 status collapsed
1432
1433 \begin_layout Plain Layout
1434 Ctrl+D
1435 \end_layout
1436
1437 \end_inset
1438
1439 を押すと
1440 \begin_inset Flex MenuItem
1441 status collapsed
1442
1443 \begin_layout Plain Layout
1444 表示\SpecialChar menuseparator
1445 DVI
1446 \end_layout
1447
1448 \end_inset
1449
1450 となります).
1451 \end_layout
1452
1453 \begin_layout Standard
1454 形式には,
1455 \begin_inset Flex MenuItem
1456 status collapsed
1457
1458 \begin_layout Plain Layout
1459 閲覧プログラム
1460 \end_layout
1461
1462 \end_inset
1463
1464
1465 \begin_inset Flex MenuItem
1466 status collapsed
1467
1468 \begin_layout Plain Layout
1469 編集プログラム
1470 \end_layout
1471
1472 \end_inset
1473
1474 を関連づけることができます.たとえば,PostScriptファイルを閲覧するのに
1475 \begin_inset Flex MenuItem
1476 status collapsed
1477
1478 \begin_layout Plain Layout
1479 Ghostview
1480 \end_layout
1481
1482 \end_inset
1483
1484 を使用したいとしましょう.このプログラムを起動するのに必要なコマンドを対応するフィールドに入力します.ここで,コマンドを定義するのに,次節に掲げる4つの変数を用
1485 いることができます.この閲覧プログラムは,\SpecialChar LyX
1486 中で画像を閲覧したり
1487 \begin_inset Flex MenuItem
1488 status collapsed
1489
1490 \begin_layout Plain Layout
1491 表示
1492 \end_layout
1493
1494 \end_inset
1495
1496 メニューを使用したときに起動されます.一方,編集プログラムは,たとえば,画像を右クリックして現れるコンテクストメニューで
1497 \begin_inset Flex MenuItem
1498 status collapsed
1499
1500 \begin_layout Plain Layout
1501 外部で編集
1502 \end_layout
1503
1504 \end_inset
1505
1506 を選択したときに起動します.
1507 \end_layout
1508
1509 \begin_layout Standard
1510 ファイル形式の
1511 \begin_inset Flex MenuItem
1512 status collapsed
1513
1514 \begin_layout Plain Layout
1515 MIME
1516 \end_layout
1517
1518 \end_inset
1519
1520 型は必須ではありませんが,指定するときには,すべての形式の中で一意的なものでなくてはなりません.これは,この形式のファイルをファイル内容から検出するのに用いられ
1521 ます.重要なファイル形式のうちには,
1522 \begin_inset CommandInset href
1523 LatexCommand href
1524 name "IANA"
1525 target "http://www.iana.org/assignments/media-types/"
1526 literal "false"
1527
1528 \end_inset
1529
1530 に公式に登録されたMIME型がないものがあります.そこで,\SpecialChar LyX
1531 は,
1532 \begin_inset CommandInset href
1533 LatexCommand href
1534 name "freedesktop.org"
1535 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1536 literal "false"
1537
1538 \end_inset
1539
1540 で指定されているMIME型拡張表を使用しています.
1541 \end_layout
1542
1543 \begin_layout Standard
1544 \begin_inset Flex MenuItem
1545 status collapsed
1546
1547 \begin_layout Plain Layout
1548 文書形式
1549 \end_layout
1550
1551 \end_inset
1552
1553 オプションは,\SpecialChar LyX
1554 に,この形式が文書として書き出すのに適していることを指示するものです.このオプションが有効となっていて,適切な変換経路が存在する場合には(第
1555 \begin_inset CommandInset ref
1556 LatexCommand ref
1557 reference "sec:変換子"
1558
1559 \end_inset
1560
1561 節を参照),この形式が
1562 \begin_inset Flex MenuItem
1563 status collapsed
1564
1565 \begin_layout Plain Layout
1566 ファイル\SpecialChar menuseparator
1567 書き出し
1568 \end_layout
1569
1570 \end_inset
1571
1572
1573 \begin_inset Flex MenuItem
1574 status collapsed
1575
1576 \begin_layout Plain Layout
1577 表示
1578 \end_layout
1579
1580 \end_inset
1581
1582 footlabel Label color for footnotす.
1583 \begin_inset Flex Code
1584 status collapsed
1585
1586 \begin_layout Plain Layout
1587 png
1588 \end_layout
1589
1590 \end_inset
1591
1592 のような純粋な画像形式は,このオプションを有効にしてはいけません.
1593 \begin_inset Flex Code
1594 status collapsed
1595
1596 \begin_layout Plain Layout
1597 pdf
1598 \end_layout
1599
1600 \end_inset
1601
1602 のようにベクター画像であると同時に文書でもあるような形式は,これを有効にします.
1603 \end_layout
1604
1605 \begin_layout Standard
1606 \begin_inset Flex MenuItem
1607 status collapsed
1608
1609 \begin_layout Plain Layout
1610 ベクター画像形式
1611 \end_layout
1612
1613 \end_inset
1614
1615 オプションは,\SpecialChar LyX
1616 にこの形式がベクター画像を含みうることを教示するものです.この情報は,
1617 \begin_inset Flex MenuItem
1618 status collapsed
1619
1620 \begin_layout Plain Layout
1621 pdflatex
1622 \end_layout
1623
1624 \end_inset
1625
1626 を書き出す際に,内包されている画像をどの形式に変換するかを決定するのに使用されます.
1627 \begin_inset Flex MenuItem
1628 status collapsed
1629
1630 \begin_layout Plain Layout
1631 pdflatex
1632 \end_layout
1633
1634 \end_inset
1635
1636 は,
1637 \begin_inset Flex MenuItem
1638 status collapsed
1639
1640 \begin_layout Plain Layout
1641 pdf
1642 \end_layout
1643
1644 \end_inset
1645
1646
1647 \begin_inset Flex MenuItem
1648 status collapsed
1649
1650 \begin_layout Plain Layout
1651 png
1652 \end_layout
1653
1654 \end_inset
1655
1656
1657 \begin_inset Flex MenuItem
1658 status collapsed
1659
1660 \begin_layout Plain Layout
1661 Des
1662 \end_layout
1663
1664 \end_inset
1665
1666 以外の画像形式を取り扱うことができないので,内包されている画像は,これらの形式に変換される必要があるかもしれない為です.内包されている画像が既に
1667 \begin_inset Flex MenuItem
1668 status collapsed
1669
1670 \begin_layout Plain Layout
1671 pdf
1672 \end_layout
1673
1674 \end_inset
1675
1676
1677 \begin_inset Flex MenuItem
1678 status collapsed
1679
1680 \begin_layout Plain Layout
1681 png
1682 \end_layout
1683
1684 \end_inset
1685
1686
1687 \begin_inset Flex MenuItem
1688 status collapsed
1689
1690 \begin_layout Plain Layout
1691 jpg
1692 \end_layout
1693
1694 \end_inset
1695
1696 のいずれかになっていない場合には,ベクター画像形式オプションが有効になっている場合には
1697 \begin_inset Flex MenuItem
1698 status collapsed
1699
1700 \begin_layout Plain Layout
1701 pdf
1702 \end_layout
1703
1704 \end_inset
1705
1706 に変換され,そうでない場合には
1707 \begin_inset Flex MenuItem
1708 status collapsed
1709
1710 \begin_layout Plain Layout
1711 png
1712 \end_layout
1713
1714 \end_inset
1715
1716 に変換されます.
1717 \end_layout
1718
1719 \begin_layout Section
1720 複写子
1721 \end_layout
1722
1723 \begin_layout Standard
1724 形式の変換はすべて,\SpecialChar LyX
1725 の一時ディレクトリで行われるため,変換用にファイルを一時ディレクトリにコピーする前段階で,ファイルに変更を加える必要のあることがあります
1726 \begin_inset Foot
1727 status collapsed
1728
1729 \begin_layout Plain Layout
1730 たとえば,ファイルが他のファイル—たとえば画像—を,相対ファイル名を用いて参照している場合,このファイルが一時ディレクトリにコピーされると参照が無効になる場合が
1731 あります.
1732 \end_layout
1733
1734 \end_inset
1735
1736 .これは複写子によって取り扱われ,複写子は,ファイルを一時ディレクトリに(あるいは一時ディレクトリから)コピーすると同時に,その過程でファイルに変更を加えます.
1737 \end_layout
1738
1739 \begin_layout Standard
1740 複写子の定義においては,以下の8つの変数を用いることができます.
1741 \end_layout
1742
1743 \begin_layout Labeling
1744 \labelwidthstring 00.00.0000
1745 \begin_inset Flex Code
1746 status collapsed
1747
1748 \begin_layout Plain Layout
1749 $$s
1750 \end_layout
1751
1752 \end_inset
1753
1754  \SpecialChar LyX
1755 のシステムディレクトリ(例:
1756 \begin_inset Flex MenuItem
1757 status collapsed
1758
1759 \begin_layout Plain Layout
1760 /usr/share/lyx
1761 \end_layout
1762
1763 \end_inset
1764
1765
1766 \end_layout
1767
1768 \begin_layout Labeling
1769 \labelwidthstring 00.00.0000
1770 \begin_inset Flex Code
1771 status collapsed
1772
1773 \begin_layout Plain Layout
1774 $$i
1775 \end_layout
1776
1777 \end_inset
1778
1779  入力ファイル
1780 \end_layout
1781
1782 \begin_layout Labeling
1783 \labelwidthstring 00.00.0000
1784 \begin_inset Flex Code
1785 status collapsed
1786
1787 \begin_layout Plain Layout
1788 $$o
1789 \end_layout
1790
1791 \end_inset
1792
1793  出力ファイル
1794 \end_layout
1795
1796 \begin_layout Labeling
1797 \labelwidthstring 00.00.0000
1798 \begin_inset Flex Code
1799 status collapsed
1800
1801 \begin_layout Plain Layout
1802 $$b
1803 \end_layout
1804
1805 \end_inset
1806
1807  \SpecialChar LyX
1808 一時ディレクトリ内でのベース名(ファイル拡張子なし)
1809 \end_layout
1810
1811 \begin_layout Labeling
1812 \labelwidthstring 00.00.0000
1813 \begin_inset Flex Code
1814 status collapsed
1815
1816 \begin_layout Plain Layout
1817 $$p
1818 \end_layout
1819
1820 \end_inset
1821
1822  \SpecialChar LyX
1823 一時ディレクトリのフルパス名
1824 \end_layout
1825
1826 \begin_layout Labeling
1827 \labelwidthstring 00.00.0000
1828 \begin_inset Flex Code
1829 status collapsed
1830
1831 \begin_layout Plain Layout
1832 $$r
1833 \end_layout
1834
1835 \end_inset
1836
1837  処理されている元の\SpecialChar LyX
1838 ファイルのフルパス名
1839 \end_layout
1840
1841 \begin_layout Labeling
1842 \labelwidthstring 00.00.0000
1843 \begin_inset Flex Code
1844 status collapsed
1845
1846 \begin_layout Plain Layout
1847 $$f
1848 \end_layout
1849
1850 \end_inset
1851
1852  \SpecialChar LyX
1853 ファイルのファイル名(ディレクトリパスなし)
1854 \end_layout
1855
1856 \begin_layout Labeling
1857 \labelwidthstring 00.00.0000
1858 \begin_inset Flex Code
1859 status collapsed
1860
1861 \begin_layout Plain Layout
1862 $$l
1863 \end_layout
1864
1865 \end_inset
1866
1867  「\SpecialChar LaTeX
1868 名」
1869 \end_layout
1870
1871 \begin_layout Standard
1872 最後の変数は,\SpecialChar LaTeX
1873
1874 \series bold
1875
1876 \backslash
1877 include
1878 \series default
1879 コマンドで使用されるのと同形式のファイル名です.これは,書き出すファイルがそのようなインクルードに適している場合のみ,使用さるべきものです.
1880 \end_layout
1881
1882 \begin_layout Standard
1883 複写子は,出力ファイルに関する操作であれば,ほとんどすべてに対応することができます.たとえば,生成したPDFファイルを,
1884 \begin_inset Flex Code
1885 status collapsed
1886
1887 \begin_layout Plain Layout
1888 /home/you/pdf/
1889 \end_layout
1890
1891 \end_inset
1892
1893 という特別なディレクトリにコピーしたいものとしましょう.その場合には,以下のようなシェルスクリプトを書きます.
1894 \end_layout
1895
1896 \begin_layout Standard
1897 \begin_inset listings
1898 inline false
1899 status open
1900
1901 \begin_layout Plain Layout
1902
1903 #!/bin/bash
1904 \end_layout
1905
1906 \begin_layout Plain Layout
1907
1908 FROMFILE=$1
1909 \end_layout
1910
1911 \begin_layout Plain Layout
1912
1913 TOFILE=`basename $2`
1914 \end_layout
1915
1916 \begin_layout Plain Layout
1917
1918 DescriptionE /home/you/pdf/$TOFILE
1919 \end_layout
1920
1921 \end_inset
1922
1923 これを,例えば
1924 \begin_inset Flex Code
1925 status collapsed
1926
1927 \begin_layout Plain Layout
1928 /home/you/.lyx/scripts/pdfcopier.sh
1929 \end_layout
1930
1931 \end_inset
1932
1933 のような,自身のローカル\SpecialChar LyX
1934 ディレクトリに保存し,お使いのプラットフォームが必要とするならば,実行可能属性を付与します.それから,
1935 \begin_inset Flex MenuItem
1936 status collapsed
1937
1938 \begin_layout Plain Layout
1939 ツール\SpecialChar menuseparator
1940 設定
1941 \end_layout
1942
1943 \end_inset
1944
1945 ダイアログの
1946 \begin_inset Flex MenuItem
1947 status collapsed
1948
1949 \begin_layout Plain Layout
1950 ファイル処理\SpecialChar menuseparator
1951 ファイル形式
1952 \end_layout
1953
1954 \end_inset
1955
1956 の中で,
1957 \begin_inset Flex MenuItem
1958 status collapsed
1959
1960 \begin_layout Plain Layout
1961 PDF(pdflatex)
1962 \end_layout
1963
1964 \end_inset
1965
1966 形式—あるいは他のPDF形式のうちどれか—を選択し,
1967 \begin_inset Flex MenuItem
1968 status collapsed
1969
1970 \begin_layout Plain Layout
1971 複写子
1972 \end_layout
1973
1974 \end_inset
1975
1976 フィールドに
1977 \begin_inset Flex Code
1978 status collapsed
1979
1980 \begin_layout Plain Layout
1981 pdfcopier.sh $$i $$o
1982 \end_layout
1983
1984 \end_inset
1985
1986 と入力します.
1987 \end_layout
1988
1989 \begin_layout Standard
1990 複写子は,\SpecialChar LyX
1991 自身が様々な変換に使用します.たとえば,適切なプログラムが検出された場合,\SpecialChar LyX
1992 は自動的に
1993 \begin_inset Flex MenuItem
1994 status collapsed
1995
1996 \begin_layout Plain Layout
1997 HTML
1998 \end_layout
1999
2000 \end_inset
2001
2002 形式と
2003 \begin_inset Flex MenuItem
2004 status collapsed
2005
2006 \begin_layout Plain Layout
2007 HTML
2008 \begin_inset space ~
2009 \end_inset
2010
2011 (MS Word)
2012 \end_layout
2013
2014 \end_inset
2015
2016 形式の複写子を導入します.これらの形式を書き出す際,複写子は,本体のHTMLファイルだけでなく,関連した様々なファイル(スタイルファイルや画像など)もコピーされ
2017 るように手配します.これらのファイルはすべて,元の\SpecialChar LyX
2018 ファイルのあるディレクトリのサブディレクトリに書き込まれます.
2019 \begin_inset Foot
2020 status collapsed
2021
2022 \begin_layout Plain Layout
2023 この複写子の挙動は調整することができます.非必須の「-e」オプションは,コピーする拡張子をコンマ区切りで羅列したものを引数にとります.これを省略した場合には,す
2024 べてのファイルがコピーされます.「-t」引数は,生成したディレクトリに書き加える拡張子を指定するものです.既定値では,これは「
2025 \begin_inset Flex MenuItem
2026 status collapsed
2027
2028 \begin_layout Plain Layout
2029 LyXconv
2030 \end_layout
2031
2032 \end_inset
2033
2034 」となっているので,
2035 \begin_inset Flex MenuItem
2036 status collapsed
2037
2038 \begin_layout Plain Layout
2039 /path/to/filename.lyx
2040 \end_layout
2041
2042 \end_inset
2043
2044 から生成されたHTMLファイルは,
2045 \begin_inset Flex MenuItem
2046 status collapsed
2047
2048 \begin_layout Plain Layout
2049 /path/to/filename.html.LyXconv
2050 \end_layout
2051
2052 \end_inset
2053
2054 となります..
2055  
2056 \end_layout
2057
2058 \end_inset
2059
2060
2061 \end_layout
2062
2063 \begin_layout Section
2064 変換子
2065 \begin_inset CommandInset label
2066 LatexCommand label
2067 name "sec:変換子"
2068
2069 \end_inset
2070
2071
2072 \end_layout
2073
2074 \begin_layout Standard
2075 各形式間でファイルを変換するために,ご自身の変換子を定義することができます.これは,
2076 \begin_inset Flex MenuItem
2077 status collapsed
2078
2079 \begin_layout Plain Layout
2080 ツール\SpecialChar menuseparator
2081 設定\SpecialChar menuseparator
2082 ファイル処理\SpecialChar menuseparator
2083 変換子
2084 \end_layout
2085
2086 \end_inset
2087
2088 ダイアログで行います.
2089 \end_layout
2090
2091 \begin_layout Standard
2092 新規に変換子を定義するには,ドロップダウンリストから
2093 \begin_inset Flex MenuItem
2094 status collapsed
2095
2096 \begin_layout Plain Layout
2097 変換元の形式
2098 \end_layout
2099
2100 \end_inset
2101
2102
2103 \begin_inset Flex MenuItem
2104 status collapsed
2105
2106 \begin_layout Plain Layout
2107 変換先の形式
2108 \end_layout
2109
2110 \end_inset
2111
2112 を選択し,変換に必要なコマンドを入力してから
2113 \begin_inset Flex MenuItem
2114 status collapsed
2115
2116 \begin_layout Plain Layout
2117 追加
2118 \end_layout
2119
2120 \end_inset
2121
2122 ボタンを押してください.変換子の定義には,以下のような変数を使用することができます.
2123 \end_layout
2124
2125 \begin_layout Labeling
2126 \labelwidthstring 00.00.0000
2127 \begin_inset Flex Code
2128 status collapsed
2129
2130 \begin_layout Plain Layout
2131 $$s
2132 \end_layout
2133
2134 \end_inset
2135
2136  \SpecialChar LyX
2137 システムディレクトリ
2138 \end_layout
2139
2140 \begin_layout Labeling
2141 \labelwidthstring 00.00.0000
2142 \begin_inset Flex Code
2143 status collapsed
2144
2145 \begin_layout Plain Layout
2146 $$i
2147 \end_layout
2148
2149 \end_inset
2150
2151  入力ファイル
2152 \end_layout
2153
2154 \begin_layout Labeling
2155 \labelwidthstring 00.00.0000
2156 \begin_inset Flex Code
2157 status collapsed
2158
2159 \begin_layout Plain Layout
2160 $$o
2161 \end_layout
2162
2163 \end_inset
2164
2165  出力ファイル
2166 \end_layout
2167
2168 \begin_layout Labeling
2169 \labelwidthstring 00.00.0000
2170 \begin_inset Flex Code
2171 status collapsed
2172
2173 \begin_layout Plain Layout
2174 $$b
2175 \end_layout
2176
2177 \end_inset
2178
2179  入力ファイルのベースファイル名(拡張子をとった部分)
2180 \end_layout
2181
2182 \begin_layout Labeling
2183 \labelwidthstring 00.00.0000
2184 \begin_inset Flex Code
2185 status collapsed
2186
2187 \begin_layout Plain Layout
2188 $$p
2189 \end_layout
2190
2191 \end_inset
2192
2193  入力ファイルのパス
2194 \end_layout
2195
2196 \begin_layout Labeling
2197 \labelwidthstring 00.00.0000
2198 \begin_inset Flex Code
2199 status collapsed
2200
2201 \begin_layout Plain Layout
2202 $$r
2203 \end_layout
2204
2205 \end_inset
2206
2207  元の入力ファイルのパス(変換子が連鎖して呼び出されたときの挙動が$$pとは異なります)
2208 \end_layout
2209
2210 \begin_layout Labeling
2211 \labelwidthstring 00.00.0000
2212 \begin_inset Flex Code
2213 status collapsed
2214
2215 \begin_layout Plain Layout
2216 $$e
2217 \end_layout
2218
2219 \end_inset
2220
2221  文書エンコーディングのiconv名
2222 \end_layout
2223
2224 \begin_layout Standard
2225 \begin_inset Flex MenuItem
2226 status collapsed
2227
2228 \begin_layout Plain Layout
2229 追加フラグ
2230 \end_layout
2231
2232 \end_inset
2233
2234 フィールドには,以下のフラグをコンマで区切って入力することができます.
2235 \end_layout
2236
2237 \begin_layout Labeling
2238 \labelwidthstring 00.00.0000
2239 \begin_inset Flex Code
2240 status collapsed
2241
2242 \begin_layout Plain Layout
2243 latex
2244 \end_layout
2245
2246 \end_inset
2247
2248  この変換子が\SpecialChar LaTeX
2249 の一種を実行することを示します.これによって,\SpecialChar LyX
2250 の\SpecialChar LaTeX
2251 エラーログに記録を残せるようになります.
2252 \end_layout
2253
2254 \begin_layout Labeling
2255 \labelwidthstring 00.00.0000
2256 \begin_inset Flex Code
2257 status collapsed
2258
2259 \begin_layout Plain Layout
2260 needaux
2261 \end_layout
2262
2263 \end_inset
2264
2265  変換に\SpecialChar LaTeX
2266
2267 \begin_inset Flex MenuItem
2268 status collapsed
2269
2270 \begin_layout Plain Layout
2271 .aux
2272 \end_layout
2273
2274 \end_inset
2275
2276 ファイルが必要であることを示します.
2277 \end_layout
2278
2279 \begin_layout Labeling
2280 \labelwidthstring 00.00.0000
2281 \begin_inset Flex Code
2282 status collapsed
2283
2284 \begin_layout Plain Layout
2285 nice
2286 \end_layout
2287
2288 \end_inset
2289
2290  バックエンドからの
2291 \begin_inset Quotes erd
2292 \end_inset
2293
2294 nice
2295 \begin_inset Quotes erd
2296 \end_inset
2297
2298 なファイル,つまり\SpecialChar LyX
2299 が書き出す\SpecialChar LaTeX
2300 ファイルのように,
2301 \begin_inset Flex Code
2302 status open
2303
2304 \begin_layout Plain Layout
2305 input@path
2306 \end_layout
2307
2308 \end_inset
2309
2310 のない\SpecialChar LaTeX
2311 ファイルを必要とします.
2312 \end_layout
2313
2314 \begin_layout Labeling
2315 \labelwidthstring 00.00.0000
2316 \begin_inset Flex Code
2317 status collapsed
2318
2319 \begin_layout Plain Layout
2320 xml
2321 \end_layout
2322
2323 \end_inset
2324
2325  出力がXMLであることを示します.
2326 \end_layout
2327
2328 \begin_layout Standard
2329 以下の3つのフラグは 
2330 \begin_inset Flex MenuItem
2331 status collapsed
2332
2333 \begin_layout Plain Layout
2334 key
2335 \begin_inset space ~
2336 \end_inset
2337
2338 =
2339 \begin_inset space ~
2340 \end_inset
2341
2342 value
2343 \end_layout
2344
2345 \end_inset
2346
2347 形式の引数をとります(したがって厳密にはフラグとは呼べません).
2348 \end_layout
2349
2350 \begin_layout Labeling
2351 \labelwidthstring 00.00.0000
2352 \begin_inset Flex Code
2353 status collapsed
2354
2355 \begin_layout Plain Layout
2356 parselog
2357 \end_layout
2358
2359 \end_inset
2360
2361  これを指定すると,変換子の標準エラーが
2362 \begin_inset Flex Code
2363 status collapsed
2364
2365 \begin_layout Plain Layout
2366 infile.out
2367 \end_layout
2368
2369 \end_inset
2370
2371 ファイルにリダイレクトされ,引数に指定されたスクリプトが
2372 \begin_inset Flex Code
2373 status collapsed
2374
2375 \begin_layout Plain Layout
2376 script < infile.out > infile.log
2377 \end_layout
2378
2379 \end_inset
2380
2381 の形で実行されるようになります.引数には
2382 \begin_inset Flex Code
2383 status collapsed
2384
2385 \begin_layout Plain Layout
2386 $$s
2387 \end_layout
2388
2389 \end_inset
2390
2391 を指定することができます.
2392 \end_layout
2393
2394 \begin_layout Labeling
2395 \labelwidthstring 00.00.0000
2396 \begin_inset Flex Code
2397 status collapsed
2398
2399 \begin_layout Plain Layout
2400 resultdir
2401 \end_layout
2402
2403 \end_inset
2404
2405  これには,変換子が生成したファイルをダンプするディレクトリ名を指定します.\SpecialChar LyX
2406 はこのディレクトリを作成せず,ここに何もコピーしませんが,このディレクトリを宛先にコ
2407 ピーします.引数には,
2408 \begin_inset Flex Code
2409 status collapsed
2410
2411 \begin_layout Plain Layout
2412 $$b
2413 \end_layout
2414
2415 \end_inset
2416
2417 を使用することができ,これはディレクトリがコピーされる際に,入力ファイルおよび出力ファイルのベース名で置換されます.
2418 \begin_inset Newline newline
2419 \end_inset
2420
2421 resultdirとusetempdirは,同時に用いることはできませんのでご注意ください.前者が指定されているときには,後者は無視されます.
2422 \end_layout
2423
2424 \begin_layout Labeling
2425 \labelwidthstring 00.00.0000
2426 \begin_inset Flex Code
2427 status collapsed
2428
2429 \begin_layout Plain Layout
2430 resultfile
2431 \end_layout
2432
2433 \end_inset
2434
2435  これは出力ファイル名を指定するもので,
2436 \begin_inset Flex Code
2437 status collapsed
2438
2439 \begin_layout Plain Layout
2440 $$b
2441 \end_layout
2442
2443 \end_inset
2444
2445 を使用することができます.resultdirが指定されているときのみ有効で,必ず用いる必要はありません.指定されていなければ,既定値は「index」です.
2446 \end_layout
2447
2448 \begin_layout Standard
2449 最後の3つは,\SpecialChar LyX
2450 とともに導入される変換子には,現在いずれも使用されておりません.
2451 \end_layout
2452
2453 \begin_layout Standard
2454 変換しようとするすべての形式のあいだに変換子を定義する必要はありません.たとえば,「\SpecialChar LyX
2455 からPostScript」変換子が定義されていないのに,\SpecialChar LyX
2456 はPostScrip
2457 tを書き出していることに気づかれることでしょう.これは,まず\SpecialChar LaTeX
2458 ファイルを生成した後に(これには変換子を定義する必要はありません),「LaTeXからDVI」変換子を
2459 使用してDVIに変換し,最後に,得られたDVIをPostScriptに変換することによって実現しています.\SpecialChar LyX
2460 はこのような変換子の「連鎖」を自動的に見つけ,つねに最
2461 も短い連鎖を選択します.しかしながら,なお形式間に複数の変換方法を定義することも可能です.たとえば,標準的な\SpecialChar LyX
2462 設定は,\SpecialChar LaTeX
2463 からPDFへ変換するのに,以下の3つの方法を
2464 用意しています.
2465 \end_layout
2466
2467 \begin_layout Enumerate
2468 直接
2469 \begin_inset Flex MenuItem
2470 status collapsed
2471
2472 \begin_layout Plain Layout
2473 pdflatex
2474 \end_layout
2475
2476 \end_inset
2477
2478 を使用するもの
2479 \end_layout
2480
2481 \begin_layout Enumerate
2482 (DVIと)PostScriptを経由して
2483 \begin_inset Flex MenuItem
2484 status collapsed
2485
2486 \begin_layout Plain Layout
2487 ps2pdf
2488 \end_layout
2489
2490 \end_inset
2491
2492 を使用するもの
2493 \end_layout
2494
2495 \begin_layout Enumerate
2496 DVI経由で
2497 \begin_inset Flex MenuItem
2498 status collapsed
2499
2500 \begin_layout Plain Layout
2501 dvipdfm
2502 \end_layout
2503
2504 \end_inset
2505
2506 を使用するもの
2507 \end_layout
2508
2509 \begin_layout Enumerate
2510 直接
2511 \begin_inset Flex MenuItem
2512 status collapsed
2513
2514 \begin_layout Plain Layout
2515 Xe\SpecialChar TeX
2516
2517 \end_layout
2518
2519 \end_inset
2520
2521 を使用するもの
2522 \end_layout
2523
2524 \begin_layout Enumerate
2525 直接
2526 \begin_inset Flex MenuItem
2527 status collapsed
2528
2529 \begin_layout Plain Layout
2530 Lua\SpecialChar TeX
2531
2532 \end_layout
2533
2534 \end_inset
2535
2536 を使用するもの
2537 \end_layout
2538
2539 \begin_layout Standard
2540 このように代替連鎖を定義するには,第
2541 \begin_inset CommandInset ref
2542 LatexCommand ref
2543 reference "sec:ファイル形式"
2544
2545 \end_inset
2546
2547 節に述べられているように,ターゲットとなる「ファイル形式」を複数定義しなくてはなりません.たとえば,標準設定では,
2548 \begin_inset Flex MenuItem
2549 status collapsed
2550
2551 \begin_layout Plain Layout
2552 pdf
2553 \end_layout
2554
2555 \end_inset
2556
2557 (
2558 \begin_inset Flex MenuItem
2559 status collapsed
2560
2561 \begin_layout Plain Layout
2562 ps2pdf
2563 \end_layout
2564
2565 \end_inset
2566
2567 用)・
2568 \begin_inset Flex MenuItem
2569 status collapsed
2570
2571 \begin_layout Plain Layout
2572 pdf2
2573 \end_layout
2574
2575 \end_inset
2576
2577 (
2578 \begin_inset Flex MenuItem
2579 status collapsed
2580
2581 \begin_layout Plain Layout
2582 pdflatex
2583 \end_layout
2584
2585 \end_inset
2586
2587 用)・
2588 \begin_inset Flex MenuItem
2589 status collapsed
2590
2591 \begin_layout Plain Layout
2592 pdf3
2593 \end_layout
2594
2595 \end_inset
2596
2597 (
2598 \begin_inset Flex MenuItem
2599 status collapsed
2600
2601 \begin_layout Plain Layout
2602 dvipdfm
2603 \end_layout
2604
2605 \end_inset
2606
2607 用)・
2608 \begin_inset Flex MenuItem
2609 status collapsed
2610
2611 \begin_layout Plain Layout
2612 pdf4
2613 \end_layout
2614
2615 \end_inset
2616
2617 (
2618 \begin_inset Flex MenuItem
2619 status collapsed
2620
2621 \begin_layout Plain Layout
2622 Xe\SpecialChar TeX
2623
2624 \end_layout
2625
2626 \end_inset
2627
2628 用)・
2629 \begin_inset Flex MenuItem
2630 status collapsed
2631
2632 \begin_layout Plain Layout
2633 pdf5
2634 \end_layout
2635
2636 \end_inset
2637
2638 (
2639 \begin_inset Flex MenuItem
2640 status collapsed
2641
2642 \begin_layout Plain Layout
2643 Lua\SpecialChar TeX
2644
2645 \end_layout
2646
2647 \end_inset
2648
2649 用\SpecialChar softhyphen
2650 ) と命名された形式が定義されていて,すべて共通の拡張子
2651 \begin_inset Flex MenuItem
2652 status collapsed
2653
2654 \begin_layout Plain Layout
2655 .pdf
2656 \end_layout
2657
2658 \end_inset
2659
2660 を持ち,上記で言及した各変換方法に対応しています.
2661 \end_layout
2662
2663 \begin_layout Chapter
2664 \SpecialChar LyX
2665 の各国語対応
2666 \begin_inset CommandInset label
2667 LatexCommand label
2668 name "cha:LyXの各国語対応"
2669
2670 \end_inset
2671
2672
2673 \end_layout
2674
2675 \begin_layout Standard
2676 \SpecialChar LyX
2677 は,翻訳された操作画面の利用をサポートしています.私たちが最後に確かめたところでは,\SpecialChar LyX
2678 は30言語の翻訳を提供しています.選択した言語は,使用する
2679 \emph on
2680 ロケール
2681 \emph default
2682 と呼ばれます(ロケール設定についての詳しい資料は,お使いの基本ソフトに添付のロケール関連説明書をご覧ください.Linuxの場合は,マニュアルページの
2683 \begin_inset Flex Code
2684 status collapsed
2685
2686 \begin_layout Plain Layout
2687 locale(5)
2688 \end_layout
2689
2690 \end_inset
2691
2692 から見ると良いかもしれません).
2693 \end_layout
2694
2695 \begin_layout Standard
2696 これらの翻訳は適切に機能しますが,欠点もいくつかあることに注意してください.たとえば,ダイアログはすべて英文を念頭にデザインされているため,翻訳文の一部は,割り
2697 当てられたスペースに収めるには大きすぎるかもしれません.これは表示上の問題に過ぎず,他の障害は引き起こしません.また,翻訳によっては,すべての
2698 \begin_inset Flex Ruby
2699 status collapsed
2700
2701 \begin_layout Plain Layout
2702 捷径
2703 \begin_inset Argument post:1
2704 status collapsed
2705
2706 \begin_layout Plain Layout
2707 ショートカット
2708 \end_layout
2709
2710 \end_inset
2711
2712
2713 \end_layout
2714
2715 \end_inset
2716
2717 が定義されていないことに気づかれるでしょう.捷径のために空いている文字が十分ないことが時々あるのです.単に翻訳者がまだ捷径を定義していないこともあるでしょう.も
2718 ちろん,私たちの各国語対応チーム—あなたも参加したいと思われるかもしれません
2719 \begin_inset Foot
2720 status collapsed
2721
2722 \begin_layout Plain Layout
2723 もしあなたが英語以外の言語を流暢に操れるならば,これらのチームに参加することは,\SpecialChar LyX
2724 コミュニティに報いるたいへん素晴らしい方法です!
2725 \end_layout
2726
2727 \end_inset
2728
2729 —は,\SpecialChar LyX
2730 の将来のバージョンでこれらの欠点を修正しようとするでしょう.
2731 \end_layout
2732
2733 \begin_layout Section
2734 \SpecialChar LyX
2735 を翻訳する
2736 \end_layout
2737
2738 \begin_layout Subsection
2739 グラフィカル・ユーザ・インタフェース(テキスト・メッセージ)を翻訳する
2740 \begin_inset Argument 1
2741 status collapsed
2742
2743 \begin_layout Plain Layout
2744 GUI(テキストメッセージ)を翻訳する
2745 \end_layout
2746
2747 \end_inset
2748
2749
2750 \end_layout
2751
2752 \begin_layout Standard
2753 \SpecialChar LyX
2754 は,操作画面の国際化対応にGNU 
2755 \begin_inset Flex Code
2756 status collapsed
2757
2758 \begin_layout Plain Layout
2759 gettext
2760 \end_layout
2761
2762 \end_inset
2763
2764 ライブラリを使用します.\SpecialChar LyX
2765 のすべてのメニューやダイアログでお好みの言語を話させたいときには,その言語の
2766 \begin_inset Flex Code
2767 status collapsed
2768
2769 \begin_layout Plain Layout
2770 po
2771 \end_layout
2772
2773 \end_inset
2774
2775 ファイルが必要です.このファイルが利用可能であれば,そこから
2776 \begin_inset Flex Code
2777 status collapsed
2778
2779 \begin_layout Plain Layout
2780 mo
2781 \end_layout
2782
2783 \end_inset
2784
2785 ファイルを生成して,この
2786 \begin_inset Flex Code
2787 status collapsed
2788
2789 \begin_layout Plain Layout
2790 mo
2791 \end_layout
2792
2793 \end_inset
2794
2795 ファイルをインストールしなくてはなりません.この全過程は,GNU 
2796 \begin_inset Flex Code
2797 status collapsed
2798
2799 \begin_layout Plain Layout
2800 gettext
2801 \end_layout
2802
2803 \end_inset
2804
2805 の取扱説明書に説明があります.この作業をあなたのためだけに行うこともできますが,もしせっかくするのであれば,あなたの骨折りの結果を\SpecialChar LyX
2806 コミュニティの他の人々と分かち
2807 合いませんか.どのように段取りを進めればよいか,詳しくは\SpecialChar LyX
2808 開発者メーリングリストにメールを送ってください.
2809 \end_layout
2810
2811 \begin_layout Standard
2812 要約すれば,以下のように行います(xxは言語コードを表します).
2813 \end_layout
2814
2815 \begin_layout Itemize
2816 \SpecialChar LyX
2817 ソースコードをチェックアウトしてください(
2818 \begin_inset CommandInset href
2819 LatexCommand href
2820 name "ウェブ上の情報"
2821 target "https://www.lyx.org/HowToUseGIT"
2822 literal "false"
2823
2824 \end_inset
2825
2826 参照).
2827 \end_layout
2828
2829 \begin_layout Itemize
2830 \begin_inset Flex Code
2831 status collapsed
2832
2833 \begin_layout Plain Layout
2834 lyx.pot
2835 \end_layout
2836
2837 \end_inset
2838
2839 ファイルを
2840 \begin_inset Flex Code
2841 status collapsed
2842
2843 \begin_layout Plain Layout
2844 **.po
2845 \end_layout
2846
2847 \end_inset
2848
2849 ファイルのあるフォルダにコピーして,
2850 \begin_inset Flex Code
2851 status collapsed
2852
2853 \begin_layout Plain Layout
2854 xx.po
2855 \end_layout
2856
2857 \end_inset
2858
2859 に名前を付け替えてください(
2860 \begin_inset Flex Code
2861 status collapsed
2862
2863 \begin_layout Plain Layout
2864 lyx.pot
2865 \end_layout
2866
2867 \end_inset
2868
2869 がどこにもない場合には,コンソールからそのディレクトリで
2870 \begin_inset Flex Code
2871 status collapsed
2872
2873 \begin_layout Plain Layout
2874 make lyx.pot
2875 \end_layout
2876
2877 \end_inset
2878
2879 コマンドを実行し,作成し直すか,他言語の既存のpoファイルをひな型として使用することができます).
2880 \end_layout
2881
2882 \begin_layout Itemize
2883 \begin_inset Flex Code
2884 status collapsed
2885
2886 \begin_layout Plain Layout
2887 xx.po
2888 \end_layout
2889
2890 \end_inset
2891
2892 を編集します.
2893 \begin_inset Foot
2894 status collapsed
2895
2896 \begin_layout Plain Layout
2897 これは単なるテキストファイルなので,どのテキストエディタでも編集できます.しかし,
2898 \family typewriter
2899 Poedit
2900 \family default
2901 (全プラットフォーム用)や
2902 \family typewriter
2903 KBabel
2904 \family default
2905 (KDE用)のように,この目的の編集をサポートする特別なプログラムがあります.
2906 \family typewriter
2907 Emacs
2908 \family default
2909 にも
2910 \begin_inset Flex Code
2911 status collapsed
2912
2913 \begin_layout Plain Layout
2914 po
2915 \end_layout
2916
2917 \end_inset
2918
2919 ファイルを編集するための「モード」があります,第
2920 \begin_inset Flex URL
2921 status open
2922
2923 \begin_layout Plain Layout
2924
2925 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html#PO-Mode
2926 \end_layout
2927
2928 \end_inset
2929
2930
2931 \end_layout
2932
2933 \end_inset
2934
2935 メニューラベルやウィジェットラベルのうちには,翻訳しなくてはならない
2936 \begin_inset Flex Ruby
2937 status collapsed
2938
2939 \begin_layout Plain Layout
2940 捷径
2941 \begin_inset Argument post:1
2942 status collapsed
2943
2944 \begin_layout Plain Layout
2945 ショートカット
2946 \end_layout
2947
2948 \end_inset
2949
2950
2951 \end_layout
2952
2953 \end_inset
2954
2955 がある場合があります.これらのキーは「|」の後に記されており,当該言語の単語やフレーズに対応して翻訳しなくてはなりません.さらに,新しい
2956 \begin_inset Flex Code
2957 status collapsed
2958
2959 \begin_layout Plain Layout
2960 po
2961 \end_layout
2962
2963 \end_inset
2964
2965 ファイルの冒頭に,あなたの電子メールアドレスなどの情報も書き加えて,人々があなたに提案や,滑稽な怒りのメッセージを届けることができるようにしてください.
2966 \end_layout
2967
2968 \begin_layout Standard
2969 もし,あなたがこれを自身のためだけに行っているのであれば,
2970 \end_layout
2971
2972 \begin_layout Itemize
2973 \begin_inset Flex Code
2974 status collapsed
2975
2976 \begin_layout Plain Layout
2977 xx.mo
2978 \end_layout
2979
2980 \end_inset
2981
2982 を生成してください.これは
2983 \begin_inset Flex Code
2984 status collapsed
2985
2986 \begin_layout Plain Layout
2987 msgfmt -o xx.mo < xx.po
2988 \end_layout
2989
2990 \end_inset
2991
2992 でできます.
2993 \end_layout
2994
2995 \begin_layout Itemize
2996 この
2997 \begin_inset Flex Code
2998 status collapsed
2999
3000 \begin_layout Plain Layout
3001 mo
3002 \end_layout
3003
3004 \end_inset
3005
3006 ファイルを,お使いのロケールツリー中,言語xxのアプリケーションメッセージ用の正式なディレクトリにコピーして,
3007 \begin_inset Flex Code
3008 status collapsed
3009
3010 \begin_layout Plain Layout
3011 lyx.mo
3012 \end_layout
3013
3014 \end_inset
3015
3016 という名称にしてください(例:
3017 \begin_inset Flex Code
3018 status collapsed
3019
3020 \begin_layout Plain Layout
3021 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3022 \end_layout
3023
3024 \end_inset
3025
3026 ).
3027 \end_layout
3028
3029 \begin_layout Standard
3030 しかしながら前述のように,この新しい
3031 \begin_inset Flex Code
3032 status collapsed
3033
3034 \begin_layout Plain Layout
3035 po
3036 \end_layout
3037
3038 \end_inset
3039
3040 ファイルを他の人たちが使用できるよう,\SpecialChar LyX
3041 頒布版に追加できることが最善です.これを追加するには,\SpecialChar LyX
3042 に変更を加える必要がありますので,もしその気があれば,開発者メーリン
3043 グリストに電子メールを送ってください.
3044 \end_layout
3045
3046 \begin_layout Subsubsection
3047 多義訳語メッセージ
3048 \end_layout
3049
3050 \begin_layout Standard
3051 時には,一つの英語のメッセージが,翻訳先の言語では複数のメッセージに翻訳されなくてはならないことが判明することがあります.一つの例は,
3052 \begin_inset Flex Code
3053 status collapsed
3054
3055 \begin_layout Plain Layout
3056 To
3057 \end_layout
3058
3059 \end_inset
3060
3061 というメッセージで,これは英語で「to」がどういう意味を持っているかによって,独語ではNachと訳されたりBisと訳されたりします.GNU 
3062 \begin_inset Flex Code
3063 status collapsed
3064
3065 \begin_layout Plain Layout
3066 gettext
3067 \end_layout
3068
3069 \end_inset
3070
3071 は,このような多義訳語を
3072 \begin_inset Flex Code
3073 status collapsed
3074
3075 \begin_layout Plain Layout
3076 To
3077 \end_layout
3078
3079 \end_inset
3080
3081 の代わりに,
3082 \begin_inset Flex Code
3083 status collapsed
3084
3085 \begin_layout Plain Layout
3086 To[[as in 'From format x to format y']]
3087 \end_layout
3088
3089 \end_inset
3090
3091
3092 \begin_inset Flex Code
3093 status collapsed
3094
3095 \begin_layout Plain Layout
3096 To[[as in 'From page x to page y']]
3097 \end_layout
3098
3099 \end_inset
3100
3101 としなくてはなりません.これによって,これら2つの
3102 \begin_inset Flex Code
3103 status collapsed
3104
3105 \begin_layout Plain Layout
3106 To
3107 \end_layout
3108
3109 \end_inset
3110
3111 は,
3112 \begin_inset Flex Code
3113 status collapsed
3114
3115 \begin_layout Plain Layout
3116 gettext
3117 \end_layout
3118
3119 \end_inset
3120
3121 には別物と解釈され,それぞれ正しくNachとBisに訳すことができるようになります.
3122 \end_layout
3123
3124 \begin_layout Standard
3125 もちろん,この文脈情報は,翻訳が存在しないときには取り去られる必要がありますので,メッセージの終わりに二重大括弧で囲わなくてはなりません(上例参照).\SpecialChar LyX
3126 の翻訳機構
3127 では,メッセージの終わりに二重大括弧で囲われているものはすべて,メッセージを表示する前に取り去るようにされています.
3128 \end_layout
3129
3130 \begin_layout Subsection
3131 説明書を翻訳する
3132 \end_layout
3133
3134 \begin_layout Standard
3135
3136 \begin_inset Flex MenuItem
3137 status collapsed
3138
3139 \begin_layout Plain Layout
3140 Help
3141 \end_layout
3142
3143 \end_inset
3144
3145 メニュー中の)オンライン説明書は翻訳することができます(そして翻訳されるべきです!).説明書の翻訳版が利用可能であり
3146 \begin_inset Foot
3147 status collapsed
3148
3149 \begin_layout Plain Layout
3150 2008年3月現在,説明書の少なくとも一部が翻訳されている言語は14言語に上り,入門編が訳されているものはさらにいくつかあります.
3151 \end_layout
3152
3153 \end_inset
3154
3155 ,ロケールがその言語に設定されている場合,\SpecialChar LyX
3156 はこれを自動的に使用します.\SpecialChar LyX
3157 は,翻訳版を
3158 \begin_inset Flex Code
3159 status collapsed
3160
3161 \begin_layout Plain Layout
3162 LyXDir/doc/xx/DocName.lyx
3163 \end_layout
3164
3165 \end_inset
3166
3167
3168 \begin_inset Flex Code
3169 status collapsed
3170
3171 \begin_layout Plain Layout
3172 xx
3173 \end_layout
3174
3175 \end_inset
3176
3177 は現在使用している言語コード)で探します.翻訳文書がない場合には,既定の英語版が表示されます.翻訳版は,原典と同じファイル名(上述の
3178 \begin_inset Flex Code
3179 status collapsed
3180
3181 \begin_layout Plain Layout
3182 DocName
3183 \end_layout
3184
3185 \end_inset
3186
3187 )を持っていなくてはならないことに注意してください.説明書を翻訳する気がおありであれば(これは原典の校正としてもたいへん役立ちます!),以下のような点をすぐに行
3188 うべきです.
3189 \end_layout
3190
3191 \begin_layout Itemize
3192 説明書翻訳ウェブページ
3193 \begin_inset CommandInset href
3194 LatexCommand href
3195 name "https://www.lyx.org/Translation"
3196 target "https://www.lyx.org/Translation"
3197 literal "false"
3198
3199 \end_inset
3200
3201 を確認してください.ここで,どの文書が(もしあれば)お使いの言語に既に翻訳されているかを見つけることができます.また,説明書をお使いの言語に翻訳する作業の面倒を
3202 見ている人を(もしいれば)見つけることができます.この作業の面倒を見ている人がいない場合には,私たちにあなたが興味をお持ちであることを知らせてください.
3203 \end_layout
3204
3205 \begin_layout Standard
3206 いったん実際の翻訳の仕事に取りかかったならば,トラブルを回避するいくつかのヒントがあります.
3207 \end_layout
3208
3209 \begin_layout Itemize
3210 文書化チームに所属してください!そのための情報が
3211 \begin_inset Flex Code
3212 status collapsed
3213
3214 \begin_layout Plain Layout
3215 Intro.lyx
3216 \end_layout
3217
3218 \end_inset
3219
3220
3221 \begin_inset Flex MenuItem
3222 status collapsed
3223
3224 \begin_layout Plain Layout
3225 ヘルプ\SpecialChar menuseparator
3226 はじめの一歩
3227 \end_layout
3228
3229 \end_inset
3230
3231 )にあります.また,この
3232 \begin_inset Flex Code
3233 status collapsed
3234
3235 \begin_layout Plain Layout
3236 Intro.lyx
3237 \end_layout
3238
3239 \end_inset
3240
3241 が最初に訳すべき文書です.
3242 \end_layout
3243
3244 \begin_layout Itemize
3245 翻訳しようとする言語での印刷慣行を学んでください.活版印刷は古来の技術であり,何世紀にもわたって世界の至る所で,様々な慣行を発達させてきました.また,あなたの国
3246 で活版工が用いる専門用語も学んでください.自分で勝手な専門用語を捻出するとユーザを混乱させるだけです.(
3247 \emph on
3248 警告!活版技術は病みつきになる可能性があるので注意してくさい!
3249 \emph default
3250
3251 \end_layout
3252
3253 \begin_layout Itemize
3254 文書のコピーをとってください.これを作業用コピーとします.これをお使いの
3255 \begin_inset Flex Code
3256 status collapsed
3257
3258 \begin_layout Plain Layout
3259 UserDir/doc/xx/
3260 \end_layout
3261
3262 \end_inset
3263
3264 ディレクトリにコピーすれば,個人用の翻訳ヘルプファイルとして使用することができます.
3265 \begin_inset Newline newline
3266 \end_inset
3267
3268
3269 \begin_inset Note Greyedout
3270 status open
3271
3272 \begin_layout Plain Layout
3273
3274 \series bold
3275 【註】
3276 \series default
3277 外部素材(画像など)のある複雑な文書の場合,例えば一時ディレクトリなどにコピーを作ると,文書を別の場所に移したとき,外部素材へのリンクは壊れてしまうかもしれない
3278 ことに注意してください.最も良い方法は,LyXツリーをgit (
3279 \begin_inset Flex URL
3280 status collapsed
3281
3282 \begin_layout Plain Layout
3283
3284 https://www.lyx.org/HowToUseGIT
3285 \end_layout
3286
3287 \end_inset
3288
3289 参照)からとってきて,そのdocファイルを直接編集するのが良いでしょう.
3290 \end_layout
3291
3292 \end_inset
3293
3294
3295 \end_layout
3296
3297 \begin_layout Itemize
3298 (\SpecialChar LyX
3299 チームが維持している)原典の説明書は,時折更新されます.変更点については,
3300 \begin_inset CommandInset href
3301 LatexCommand href
3302 name "https://www.lyx.org/trac/timeline"
3303 target "https://www.lyx.org/trac/timeline"
3304 literal "false"
3305
3306 \end_inset
3307
3308 のソースビューアでご覧ください.この方法で,翻訳文書のどの部分を更新しなくてはならないか,たやすく見つけることができます.
3309 \end_layout
3310
3311 \begin_layout Standard
3312 もし原典に誤りを見つけたならば,修正して文書化チームの他のメンバーに変更したことを知らせてください(文書化チームに参加することをお忘れになっていませんよね).
3313 \end_layout
3314
3315 \begin_layout Standard
3316 \begin_inset Branch OutDated
3317 inverted 0
3318 status collapsed
3319
3320 \begin_layout Section
3321 International Keyboard Support
3322 \end_layout
3323
3324 \begin_layout Standard
3325
3326 \emph on
3327 [Editor's Note: The following section is by
3328 \emph default
3329  
3330 \shape smallcaps
3331 \emph on
3332 Ivan Schreter
3333 \shape default
3334 .
3335  It needs to be fixed to conform to the new Documentation Style sheet and
3336  to make use of the new v1.0 features.
3337  The whole thing also needs to be merged with the section following it.-jw
3338  It may also be badly out of date.-rh (2008)]
3339 \end_layout
3340
3341 \begin_layout Subsection
3342 Defining Own Keymaps: Keymap File Format
3343 \end_layout
3344
3345 \begin_layout Standard
3346 Let's look at a keyboard definition file a little closer.
3347  It is a plain text file defining
3348 \end_layout
3349
3350 \begin_layout Itemize
3351 key-to-key or key-to-string translations
3352 \end_layout
3353
3354 \begin_layout Itemize
3355 dead keys
3356 \end_layout
3357
3358 \begin_layout Itemize
3359 dead keys exceptions
3360 \end_layout
3361
3362 \begin_layout Standard
3363 To define key-to-key or key-to-string translation, use this command:
3364 \end_layout
3365
3366 \begin_layout Quotation
3367 \begin_inset Flex Code
3368 status collapsed
3369
3370 \begin_layout Plain Layout
3371
3372 \backslash
3373 kmap
3374 \end_layout
3375
3376 \end_inset
3377
3378  
3379 \begin_inset Flex Code
3380 status collapsed
3381
3382 \begin_layout Plain Layout
3383 key
3384 \end_layout
3385
3386 \end_inset
3387
3388  outstring 
3389 \end_layout
3390
3391 \begin_layout Standard
3392 where 
3393 \begin_inset Flex Code
3394 status collapsed
3395
3396 \begin_layout Plain Layout
3397 key
3398 \end_layout
3399
3400 \end_inset
3401
3402  is the key to be translated and 
3403 \begin_inset Flex Code
3404 status collapsed
3405
3406 \begin_layout Plain Layout
3407 outstring
3408 \end_layout
3409
3410 \end_inset
3411
3412  is the string to be inserted into the document.
3413  To define dead keys, use:
3414 \end_layout
3415
3416 \begin_layout Quotation
3417 \begin_inset Flex Code
3418 status collapsed
3419
3420 \begin_layout Plain Layout
3421
3422 \backslash
3423 kmod
3424 \end_layout
3425
3426 \end_inset
3427
3428  
3429 \begin_inset Flex Code
3430 status collapsed
3431
3432 \begin_layout Plain Layout
3433 key
3434 \end_layout
3435
3436 \end_inset
3437
3438  deadkey
3439 \end_layout
3440
3441 \begin_layout Standard
3442 where 
3443 \begin_inset Flex Code
3444 status collapsed
3445
3446 \begin_layout Plain Layout
3447 key
3448 \end_layout
3449
3450 \end_inset
3451
3452  is a keyboard key and 
3453 \begin_inset Flex Code
3454 status collapsed
3455
3456 \begin_layout Plain Layout
3457 deadkey
3458 \end_layout
3459
3460 \end_inset
3461
3462  is dead key name.
3463  The following dead keys are supported (shortcut name is in parentheses):
3464 \end_layout
3465
3466 \begin_layout Quotation
3467
3468 \emph on
3469 Name
3470 \begin_inset space \hfill{}
3471 \end_inset
3472
3473 Example
3474 \end_layout
3475
3476 \begin_layout Quotation
3477 acute (acu)
3478 \begin_inset space \hfill{}
3479 \end_inset
3480
3481
3482 \lang english
3483 áéíóú
3484 \end_layout
3485
3486 \begin_layout Quotation
3487 grave (gra)
3488 \begin_inset space \hfill{}
3489 \end_inset
3490
3491
3492 \lang english
3493 àèìòù
3494 \end_layout
3495
3496 \begin_layout Quotation
3497 macron (mac)
3498 \begin_inset space \hfill{}
3499 \end_inset
3500
3501
3502 \lang english
3503  ō
3504 \end_layout
3505
3506 \begin_layout Quotation
3507 tilde (til)
3508 \begin_inset space \hfill{}
3509 \end_inset
3510
3511
3512 \lang english
3513 ñÑ
3514 \end_layout
3515
3516 \begin_layout Quotation
3517 underbar (underb)
3518 \begin_inset space \hfill{}
3519 \end_inset
3520
3521
3522 \begin_inset ERT
3523 status open
3524
3525 \begin_layout Plain Layout
3526
3527
3528 \backslash
3529 b o
3530 \end_layout
3531
3532 \end_inset
3533
3534
3535 \end_layout
3536
3537 \begin_layout Quotation
3538 cedilla (ced)
3539 \begin_inset space \hfill{}
3540 \end_inset
3541
3542
3543 \lang english
3544 çÇ
3545 \end_layout
3546
3547 \begin_layout Quotation
3548 underdot (underd)
3549 \begin_inset space \hfill{}
3550 \end_inset
3551
3552
3553 \begin_inset ERT
3554 status open
3555
3556 \begin_layout Plain Layout
3557
3558
3559 \backslash
3560 d o
3561 \end_layout
3562
3563 \end_inset
3564
3565
3566 \end_layout
3567
3568 \begin_layout Quotation
3569 circumflex (circu)
3570 \begin_inset space \hfill{}
3571 \end_inset
3572
3573
3574 \lang english
3575 âêîôû
3576 \end_layout
3577
3578 \begin_layout Quotation
3579 circle (circl)
3580 \begin_inset space \hfill{}
3581 \end_inset
3582
3583
3584 \lang english
3585 ÅůŮ
3586 \end_layout
3587
3588 \begin_layout Quotation
3589 tie (tie)
3590 \begin_inset space \hfill{}
3591 \end_inset
3592
3593
3594 \begin_inset ERT
3595 status open
3596
3597 \begin_layout Plain Layout
3598
3599
3600 \backslash
3601 t o
3602 \end_layout
3603
3604 \end_inset
3605
3606
3607 \end_layout
3608
3609 \begin_layout Quotation
3610 breve (bre)
3611 \begin_inset space \hfill{}
3612 \end_inset
3613
3614
3615 \lang english
3616 ă
3617 \lang japanese
3618
3619 \begin_inset ERT
3620 status open
3621
3622 \begin_layout Plain Layout
3623
3624
3625 \backslash
3626 u o
3627 \end_layout
3628
3629 \end_inset
3630
3631
3632 \end_layout
3633
3634 \begin_layout Quotation
3635 caron (car)
3636 \begin_inset space \hfill{}
3637 \end_inset
3638
3639
3640 \lang english
3641 čšž
3642 \end_layout
3643
3644 \begin_layout Quotation
3645 hungarian umlaut (hug)
3646 \begin_inset space \hfill{}
3647 \end_inset
3648
3649
3650 \lang english
3651 őű
3652 \end_layout
3653
3654 \begin_layout Quotation
3655 umlaut (uml)
3656 \begin_inset space \hfill{}
3657 \end_inset
3658
3659
3660 \lang english
3661 äöü
3662 \end_layout
3663
3664 \begin_layout Quotation
3665 dot (dot)
3666 \begin_inset space \hfill{}
3667 \end_inset
3668
3669
3670 \lang english
3671 ż
3672 \lang japanese
3673
3674 \begin_inset ERT
3675 status open
3676
3677 \begin_layout Plain Layout
3678
3679
3680 \backslash
3681 .s
3682 \end_layout
3683
3684 \end_inset
3685
3686
3687 \end_layout
3688
3689 \begin_layout Standard
3690 Since in many international keyboards there are exceptions to what some
3691  dead keys should do, you can define them using
3692 \end_layout
3693
3694 \begin_layout Quotation
3695 \begin_inset Flex Code
3696 status collapsed
3697
3698 \begin_layout Plain Layout
3699
3700 \backslash
3701 kxmod
3702 \end_layout
3703
3704 \end_inset
3705
3706  deadkey key outstring
3707 \end_layout
3708
3709 \begin_layout Standard
3710 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3711 , so you put in
3712 \end_layout
3713
3714 \begin_layout Quotation
3715 \begin_inset Flex Code
3716 status collapsed
3717
3718 \begin_layout Plain Layout
3719
3720 \backslash
3721 kxmod
3722 \end_layout
3723
3724 \end_inset
3725
3726  caron o "
3727 \backslash
3728 ^o"
3729 \end_layout
3730
3731 \begin_layout Standard
3732 to make it work correctly.
3733  Also, you have to define as exceptions dead keys over i and j, to remove
3734  the dot from them before inserting an accent mark.
3735  I will change this when the time comes, but so far I haven't had time.
3736 \end_layout
3737
3738 \begin_layout Standard
3739 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3740  double backslash.
3741  Also, quotes and 
3742 \begin_inset Flex Code
3743 status collapsed
3744
3745 \begin_layout Plain Layout
3746 #
3747 \end_layout
3748
3749 \end_inset
3750
3751  have different meaning.
3752  
3753 \begin_inset Flex Code
3754 status collapsed
3755
3756 \begin_layout Plain Layout
3757 #
3758 \end_layout
3759
3760 \end_inset
3761
3762  marks comments, quotes start and end \SpecialChar LaTeX
3763 -style commands.
3764  To enter quote, you'll need to use 
3765 \begin_inset Flex Code
3766 status collapsed
3767
3768 \begin_layout Plain Layout
3769
3770 \backslash
3771 "
3772 \end_layout
3773
3774 \end_inset
3775
3776 , to enter 
3777 \begin_inset Flex Code
3778 status collapsed
3779
3780 \begin_layout Plain Layout
3781 #
3782 \end_layout
3783
3784 \end_inset
3785
3786 , use 
3787 \begin_inset Flex Code
3788 status collapsed
3789
3790 \begin_layout Plain Layout
3791
3792 \backslash
3793 #
3794 \end_layout
3795
3796 \end_inset
3797
3798 .
3799 \end_layout
3800
3801 \begin_layout Standard
3802 If you make a keyboard description file that works for your language, please
3803  mail it to me, so I can include it in the next keymap distribution.
3804 \end_layout
3805
3806 \begin_layout Standard
3807 More keywords will be supported in keymap configuration file in future,
3808  like
3809 \end_layout
3810
3811 \begin_layout Itemize
3812 \begin_inset Flex Code
3813 status collapsed
3814
3815 \begin_layout Plain Layout
3816
3817 \backslash
3818 kinclude filename
3819 \end_layout
3820
3821 \end_inset
3822
3823
3824 \emph on
3825
3826 \begin_inset space \hfill{}
3827 \end_inset
3828
3829
3830 \begin_inset Flex Code
3831 status collapsed
3832
3833 \begin_layout Plain Layout
3834 include
3835 \end_layout
3836
3837 \end_inset
3838
3839  another file
3840 \end_layout
3841
3842 \begin_layout Itemize
3843 \begin_inset Flex Code
3844 status collapsed
3845
3846 \begin_layout Plain Layout
3847
3848 \backslash
3849 kprog program
3850 \end_layout
3851
3852 \end_inset
3853
3854
3855 \emph on
3856
3857 \begin_inset space \hfill{}
3858 \end_inset
3859
3860
3861 \begin_inset Flex Code
3862 status collapsed
3863
3864 \begin_layout Plain Layout
3865 define
3866 \end_layout
3867
3868 \end_inset
3869
3870  an external keymap translation program 
3871 \end_layout
3872
3873 \begin_layout Standard
3874 Also, it should look into 
3875 \begin_inset Flex Code
3876 status collapsed
3877
3878 \begin_layout Plain Layout
3879 lyxrc
3880 \end_layout
3881
3882 \end_inset
3883
3884  file for defaults, too (for example, a 
3885 \begin_inset Flex Code
3886 status collapsed
3887
3888 \begin_layout Plain Layout
3889
3890 \backslash
3891 kinclude
3892 \end_layout
3893
3894 \end_inset
3895
3896  option to include default keyboard).
3897 \end_layout
3898
3899 \end_inset
3900
3901
3902 \end_layout
3903
3904 \begin_layout Section
3905 国際キー配列
3906 \begin_inset CommandInset label
3907 LatexCommand label
3908 name "sec:国際キー配列"
3909
3910 \end_inset
3911
3912
3913 \end_layout
3914
3915 \begin_layout Standard
3916 \begin_inset Note Note
3917 status open
3918
3919 \begin_layout Plain Layout
3920 2008年3月にこの文書を改訂するに当たって,改訂者が本節の内容に詳しくなかったために,本節は改訂されていません.他に改訂してくださる方がおられれば幸いです.
3921 \end_layout
3922
3923 \begin_layout Plain Layout
3924 (RH)
3925 \end_layout
3926
3927 \end_inset
3928
3929
3930 \end_layout
3931
3932 \begin_layout Standard
3933 以下の2節では,
3934 \begin_inset Flex Code
3935 status collapsed
3936
3937 \begin_layout Plain Layout
3938 .kmap
3939 \end_layout
3940
3941 \end_inset
3942
3943 および
3944 \begin_inset Flex Code
3945 status collapsed
3946
3947 \begin_layout Plain Layout
3948 .cdef
3949 \end_layout
3950
3951 \end_inset
3952
3953 ファイルの文法を詳細に解説します.これらの節は,提供されているキー配列があなたのニーズに合わない場合に,自身用のキー配列をデザインする手助けとなるでしょう.
3954 \end_layout
3955
3956 \begin_layout Subsection
3957 .kmapファイル
3958 \end_layout
3959
3960 \begin_layout Standard
3961 \begin_inset Flex Code
3962 status collapsed
3963
3964 \begin_layout Plain Layout
3965 .kmap
3966 \end_layout
3967
3968 \end_inset
3969
3970 ファイルは,打鍵したものを文字や文字列に割り当てます.名前が示唆するように,これはキーボード配列表を定義します.
3971 \begin_inset Flex Code
3972 status collapsed
3973
3974 \begin_layout Plain Layout
3975 .kmap
3976 \end_layout
3977
3978 \end_inset
3979
3980 ファイルは,以下の各項で説明するように,
3981 \begin_inset Flex Code
3982 status collapsed
3983
3984 \begin_layout Plain Layout
3985 kmap
3986 \end_layout
3987
3988 \end_inset
3989
3990
3991 \begin_inset Flex Code
3992 status collapsed
3993
3994 \begin_layout Plain Layout
3995 kmod
3996 \end_layout
3997
3998 \end_inset
3999
4000
4001 \begin_inset Flex Code
4002 status collapsed
4003
4004 \begin_layout Plain Layout
4005 ksmod
4006 \end_layout
4007
4008 \end_inset
4009
4010
4011 \begin_inset Flex Code
4012 status collapsed
4013
4014 \begin_layout Plain Layout
4015 kcomb
4016 \end_layout
4017
4018 \end_inset
4019
4020 のキーワードを定義します.
4021 \end_layout
4022
4023 \begin_layout Labeling
4024 \labelwidthstring 00.00.0000
4025 \begin_inset Flex Code
4026 status collapsed
4027
4028 \begin_layout Plain Layout
4029 kmap
4030 \end_layout
4031
4032 \end_inset
4033
4034  文字を文字列に割り当てる
4035 \end_layout
4036
4037 \begin_layout LyX-Code
4038
4039 \backslash
4040 kmap 
4041 \family roman
4042 \emph on
4043 文字
4044 \family default
4045 \emph default
4046  
4047 \family roman
4048 \emph on
4049 文字列
4050 \end_layout
4051
4052 \begin_layout Standard
4053 これは,
4054 \emph on
4055 文字
4056 \emph default
4057
4058 \emph on
4059 文字列
4060 \emph default
4061 に割り当てます.
4062 \emph on
4063 文字列
4064 \emph default
4065 中では,二重引用符(")とバックスラッシュ(
4066 \backslash
4067 )は,前にバックスラッシュ(
4068 \backslash
4069 )を付けてエスケープしなくてはならないことに注意してください.
4070 \end_layout
4071
4072 \begin_layout Standard
4073 \begin_inset Flex MenuItem
4074 status collapsed
4075
4076 \begin_layout Plain Layout
4077 &
4078 \end_layout
4079
4080 \end_inset
4081
4082 を打鍵すると
4083 \begin_inset Flex MenuItem
4084 status collapsed
4085
4086 \begin_layout Plain Layout
4087 /
4088 \end_layout
4089
4090 \end_inset
4091
4092 記号が出力される
4093 \begin_inset Flex MenuItem
4094 status collapsed
4095
4096 \begin_layout Plain Layout
4097 kmap
4098 \end_layout
4099
4100 \end_inset
4101
4102 ステートメントを,一例としてあげると,
4103 \end_layout
4104
4105 \begin_layout LyX-Code
4106
4107 \backslash
4108 kmap & /
4109 \end_layout
4110
4111 \begin_layout Standard
4112 のようになります.
4113 \end_layout
4114
4115 \begin_layout Labeling
4116 \labelwidthstring 00.00.0000
4117 \begin_inset Flex Code
4118 status collapsed
4119
4120 \begin_layout Plain Layout
4121 kmod
4122 \end_layout
4123
4124 \end_inset
4125
4126  アクセント文字を指定する
4127 \end_layout
4128
4129 \begin_layout LyX-Code
4130
4131 \backslash
4132 kmod 
4133 \family roman
4134 \emph on
4135 文字 アクセント 許可文字
4136 \end_layout
4137
4138 \begin_layout Standard
4139 これは
4140 \emph on
4141 文字
4142 \emph default
4143
4144 \emph on
4145 許可文字
4146 \emph default
4147 のアクセントとするものです.これはデッドキー
4148 \begin_inset Foot
4149 status collapsed
4150
4151 \begin_layout Plain Layout
4152
4153 \emph on
4154 デッドキー
4155 \emph default
4156 という用語は,それ自身で文字を出力しないけれども,別のキーを続けて打つと,望んだアクセント文字を出力するキーのことを指し示します.たとえば,独語で
4157 \emph on
4158 ä
4159 \emph default
4160 のようなウムラウトのついた文字は,このようにして出すことができます.
4161 \end_layout
4162
4163 \end_inset
4164
4165 機構です.
4166 \end_layout
4167
4168 \begin_layout Standard
4169
4170 \emph on
4171 文字
4172 \emph default
4173 を打鍵してから
4174 \emph on
4175 許可文字
4176 \emph default
4177 にないキーを打鍵すると,
4178 \emph on
4179 文字
4180 \emph default
4181 の後に許可文字ではないその文字が出力として表示されます.
4182 \begin_inset Flex MenuItem
4183 status collapsed
4184
4185 \begin_layout Plain Layout
4186 Backspace
4187 \end_layout
4188
4189 \end_inset
4190
4191 はデッドキーを取り消しますので,
4192 \emph on
4193 文字
4194 \emph default
4195
4196 \begin_inset Flex MenuItem
4197 status collapsed
4198
4199 \begin_layout Plain Layout
4200 Backspace
4201 \end_layout
4202
4203 \end_inset
4204
4205 と打鍵すると,カーソルは一文字戻ることなく,文字が次の打鍵したものに及ぼしたはずの効力を取り消します.
4206 \end_layout
4207
4208 \begin_layout Standard
4209 以下の例は,'文字をacuteアクセントとして,a・e・i・o・u・A・E・I・O・Uの文字に許可するものです.
4210 \end_layout
4211
4212 \begin_layout LyX-Code
4213
4214 \backslash
4215 kmod ' acute aeiouAEIOU
4216 \end_layout
4217
4218 \begin_layout Labeling
4219 \labelwidthstring 00.00.0000
4220 \begin_inset Flex Code
4221 status collapsed
4222
4223 \begin_layout Plain Layout
4224 ksmod
4225 \end_layout
4226
4227 \end_inset
4228
4229  アクセント文字に例外を指定する
4230 \end_layout
4231
4232 \begin_layout LyX-Code
4233
4234 \backslash
4235 kxmod  
4236 \family roman
4237 \emph on
4238 アクセント 文字 結果
4239 \end_layout
4240
4241 \begin_layout Standard
4242 これは
4243 \emph on
4244 文字
4245 \emph default
4246 上の
4247 \emph on
4248 アクセント
4249 \emph default
4250 について例外を指定するものです.ここで
4251 \emph on
4252 アクセント
4253 \emph default
4254 には,前出の
4255 \begin_inset Flex Code
4256 status collapsed
4257
4258 \begin_layout Plain Layout
4259
4260 \backslash
4261 kmod
4262 \end_layout
4263
4264 \end_inset
4265
4266 宣言で打鍵キーを既に割り当てられてなくてはならず,
4267 \emph on
4268 文字
4269 \emph default
4270
4271 \emph on
4272 アクセント
4273 \emph default
4274
4275 \emph on
4276 許可文字
4277 \emph default
4278 の集合に属していてはなりません.こうして
4279 \emph on
4280 アクセント
4281 \emph default
4282
4283 \emph on
4284 文字
4285 \emph default
4286 の順に入力すると,
4287 \emph on
4288 結果
4289 \emph default
4290 が出力されるようになります.
4291 \begin_inset Flex Code
4292 status collapsed
4293
4294 \begin_layout Plain Layout
4295 .kmap
4296 \end_layout
4297
4298 \end_inset
4299
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 \emph on
4318 アクセントキー
4319 \emph default
4320
4321 \begin_inset Flex Code
4322 status collapsed
4323
4324 \begin_layout Plain Layout
4325
4326 \backslash
4327 kmod
4328 \end_layout
4329
4330 \end_inset
4331
4332 宣言の最初の変数)と出力されます.
4333 \end_layout
4334
4335 \begin_layout Standard
4336 以下のコマンドを用いると,acute-i('i)と入力した場合,äiと出力されるようになります.
4337 \end_layout
4338
4339 \begin_layout LyX-Code
4340
4341 \backslash
4342 kxmod acute i "
4343 \backslash
4344
4345 \backslash
4346 '{
4347 \backslash
4348
4349 \backslash
4350 i}"
4351 \end_layout
4352
4353 \begin_layout Labeling
4354 \labelwidthstring 00.00.0000
4355 \begin_inset Flex Code
4356 status collapsed
4357
4358 \begin_layout Plain Layout
4359 kcomb
4360 \end_layout
4361
4362 \end_inset
4363
4364  2つのアクセント文字を結合する
4365 \end_layout
4366
4367 \begin_layout LyX-Code
4368
4369 \backslash
4370 kcomb 
4371 \family roman
4372 \emph on
4373 アクセント1 アクセント2 許可文字
4374 \end_layout
4375
4376 \begin_layout Standard
4377 これはなかなか難解になってきます.これは
4378 \emph on
4379 アクセント1
4380 \emph default
4381
4382 \emph on
4383 アクセント2
4384 \emph default
4385 を(この順番で)結びつけて,
4386 \emph on
4387 許可文字
4388 \emph default
4389 に効果を及ぼすようにします.
4390 \emph on
4391 アクセント1
4392 \emph default
4393
4394 \emph on
4395 アクセント2
4396 \emph default
4397 の打鍵キーは,ファイル内のこのコマンド
4398 \emph on
4399 よりも前に
4400 \emph default
4401
4402 \begin_inset Flex Code
4403 status collapsed
4404
4405 \begin_layout Plain Layout
4406
4407 \backslash
4408 kmod
4409 \end_layout
4410
4411 \end_inset
4412
4413 コマンドで設定されていなくてはなりません.
4414 \end_layout
4415
4416 \begin_layout Standard
4417 \begin_inset Flex Code
4418 status collapsed
4419
4420 \begin_layout Plain Layout
4421 greek.kmap
4422 \end_layout
4423
4424 \end_inset
4425
4426 ファイル上にある例をとってみましょう.
4427 \end_layout
4428
4429 \begin_layout LyX-Code
4430
4431 \backslash
4432 kmod ; acute aeioyvhAEIOYVH 
4433 \backslash
4434 kmod : umlaut iyIY 
4435 \backslash
4436 kcomb acute umlaut iyIY
4437 \end_layout
4438
4439 \begin_layout Standard
4440 これは
4441 \begin_inset Flex MenuItem
4442 status collapsed
4443
4444 \begin_layout Plain Layout
4445 ;:i
4446 \end_layout
4447
4448 \end_inset
4449
4450 を押すと
4451 \begin_inset Flex Code
4452 status collapsed
4453
4454 \begin_layout Plain Layout
4455
4456 \backslash
4457 '{
4458 \backslash
4459 "{i}}
4460 \end_layout
4461
4462 \end_inset
4463
4464 という効果を得るようにするものです.この場合のバックスペースは,最後のデッドキーを取り消すので,
4465 \begin_inset Flex MenuItem
4466 status collapsed
4467
4468 \begin_layout Plain Layout
4469 ;: Backspace i
4470 \end_layout
4471
4472 \end_inset
4473
4474 と押した場合には,
4475 \begin_inset Flex Code
4476 status collapsed
4477
4478 \begin_layout Plain Layout
4479
4480 \backslash
4481 '{i}
4482 \end_layout
4483
4484 \end_inset
4485
4486 となります.
4487 \end_layout
4488
4489 \begin_layout Subsection
4490 .cdefファイル
4491 \end_layout
4492
4493 \begin_layout Standard
4494 \begin_inset Flex Code
4495 status collapsed
4496
4497 \begin_layout Plain Layout
4498 .kmap
4499 \end_layout
4500
4501 \end_inset
4502
4503 による割り当てが行われた後,
4504 \begin_inset Flex Code
4505 status collapsed
4506
4507 \begin_layout Plain Layout
4508 .cdef
4509 \end_layout
4510
4511 \end_inset
4512
4513 ファイルは,記号の作り出す文字列を現在のフォントの文字に割り当てます.\SpecialChar LyX
4514 頒布版には,現在のところ,少なくとも
4515 \begin_inset Flex Code
4516 status collapsed
4517
4518 \begin_layout Plain Layout
4519 iso8859-1.cdef
4520 \end_layout
4521
4522 \end_inset
4523
4524 ファイルと
4525 \begin_inset Flex Code
4526 status collapsed
4527
4528 \begin_layout Plain Layout
4529 iso8859-2.cdef
4530 \end_layout
4531
4532 \end_inset
4533
4534 ファイルが含まれています.
4535 \end_layout
4536
4537 \begin_layout Standard
4538 一般的に
4539 \begin_inset Flex Code
4540 status collapsed
4541
4542 \begin_layout Plain Layout
4543 .cdef
4544 \end_layout
4545
4546 \end_inset
4547
4548 ファイルは,
4549 \end_layout
4550
4551 \begin_layout LyX-Code
4552
4553 \family roman
4554 \emph on
4555 セット中の文字番号
4556 \family default
4557 \emph default
4558  
4559 \family roman
4560 \emph on
4561  文字列
4562 \end_layout
4563
4564 \begin_layout Standard
4565 という形の宣言の羅列です.たとえば,
4566 \begin_inset Flex MenuItem
4567 status collapsed
4568
4569 \begin_layout Plain Layout
4570
4571 \backslash
4572 '{e}
4573 \end_layout
4574
4575 \end_inset
4576
4577 をiso-8859-1セットの対応する文字(233)に割り当てるには,以下の宣言を用います.
4578 \end_layout
4579
4580 \begin_layout LyX-Code
4581 233 "
4582 \backslash
4583
4584 \backslash
4585 '{e}"
4586 \end_layout
4587
4588 \begin_layout Standard
4589 ここで,
4590 \emph on
4591 文字列
4592 \emph default
4593 中の
4594 \begin_inset Flex Code
4595 status collapsed
4596
4597 \begin_layout Plain Layout
4598
4599 \backslash
4600
4601 \end_layout
4602
4603 \end_inset
4604
4605
4606 \begin_inset Flex Code
4607 status collapsed
4608
4609 \begin_layout Plain Layout
4610 "
4611 \end_layout
4612
4613 \end_inset
4614
4615 はエスケープされています.同一の文字を二つ以上の文字列に充てることができることに注意してください.
4616 \begin_inset Flex Code
4617 status collapsed
4618
4619 \begin_layout Plain Layout
4620 iso-8859-7.cdef
4621 \end_layout
4622
4623 \end_inset
4624
4625 ファイルには,
4626 \end_layout
4627
4628 \begin_layout LyX-Code
4629 192 "
4630 \backslash
4631
4632 \backslash
4633 '{
4634 \backslash
4635
4636 \backslash
4637
4638 \backslash
4639 "{i}}"
4640 \begin_inset Newline newline
4641 \end_inset
4642
4643 192 "
4644 \backslash
4645
4646 \backslash
4647
4648 \backslash
4649 "{
4650 \backslash
4651
4652 \backslash
4653 '{i}}"
4654 \end_layout
4655
4656 \begin_layout Standard
4657 という例があります.\SpecialChar LyX
4658 は,キー打鍵やデッドキーの組み合わせで生成される文字列の割り当てを見つけることができないとき,それがアクセント付き文字のように解釈ができない
4659 かどうかチェックして,画面上の文字にアクセントを引くことを試みます.
4660 \end_layout
4661
4662 \begin_layout Subsection
4663 デッドキー
4664 \end_layout
4665
4666 \begin_layout Standard
4667 国際文字のサポートを追加する第2の方法として,いわゆるデッドキーによる方法があります.デッドキーは文字と一緒に用いて,アクセント付き文字を生成します.ここではそ
4668 の機能を説明するために,きわめて単純なデッドキーの作り方を説明します.
4669 \end_layout
4670
4671 \begin_layout Standard
4672 仮に,曲折アクセント記号「 ̂」が必要になったものとしましょう.この場合,自身の
4673 \begin_inset Flex Code
4674 status collapsed
4675
4676 \begin_layout Plain Layout
4677 lyxrc
4678 \end_layout
4679
4680 \end_inset
4681
4682 ファイル中で,
4683 \begin_inset Flex MenuItem
4684 status collapsed
4685
4686 \begin_layout Plain Layout
4687 ^
4688 \end_layout
4689
4690 \end_inset
4691
4692 キー(すなわち
4693 \begin_inset Flex MenuItem
4694 status collapsed
4695
4696 \begin_layout Plain Layout
4697 Shift-6
4698 \end_layout
4699
4700 \end_inset
4701
4702 キー)を,\SpecialChar LyX
4703 コマンドの
4704 \begin_inset Flex Code
4705 status collapsed
4706
4707 \begin_layout Plain Layout
4708 accent-circumflex
4709 \end_layout
4710
4711 \end_inset
4712
4713 に結びつけることができます.すると
4714 \begin_inset Flex MenuItem
4715 status collapsed
4716
4717 \begin_layout Plain Layout
4718 ^
4719 \end_layout
4720
4721 \end_inset
4722
4723 キーの後に文字を打ったときはいつでも,この文字上に曲折アクセントが付けられるようになります.たとえば「
4724 \begin_inset Flex MenuItem
4725 status collapsed
4726
4727 \begin_layout Plain Layout
4728 ^e
4729 \end_layout
4730
4731 \end_inset
4732
4733 」という打鍵順は「ê」という文字を生成します.しかしながら,もし「
4734 \begin_inset Flex MenuItem
4735 status collapsed
4736
4737 \begin_layout Plain Layout
4738 ^t
4739 \end_layout
4740
4741 \end_inset
4742
4743 」と打鍵したならば,「
4744 \begin_inset Flex MenuItem
4745 status collapsed
4746
4747 \begin_layout Plain Layout
4748 t
4749 \end_layout
4750
4751 \end_inset
4752
4753 」は曲折アクセントをとることは決してないために,\SpecialChar LyX
4754 はビープを鳴らして文句を付けます.デッドキーの後に
4755 \begin_inset Flex MenuItem
4756 status collapsed
4757
4758 \begin_layout Plain Layout
4759 スペース
4760 \end_layout
4761
4762 \end_inset
4763
4764 を打つと,アクセントだけが生成されます.この最後の点に注意してください.あるキーをデッドキーに割り当てる場合には,このキー上の文字を別のキーに割り当て直す必要が
4765 あります.たとえば,
4766 \begin_inset Flex MenuItem
4767 status collapsed
4768
4769 \begin_layout Plain Layout
4770 ,キー
4771 \end_layout
4772
4773 \end_inset
4774
4775 をセディーユに割り当てるのはよくありません.コンマを入力しようとすると必ずセディーユが出てくるようになるためです.
4776 \end_layout
4777
4778 \begin_layout Standard
4779 デッドキーを割り当てるのによく用いられる方法は,
4780 \begin_inset Flex MenuItem
4781 status collapsed
4782
4783 \begin_layout Plain Layout
4784 Meta-
4785 \end_layout
4786
4787 \end_inset
4788
4789
4790 \begin_inset Flex MenuItem
4791 status collapsed
4792
4793 \begin_layout Plain Layout
4794 Ctrl-
4795 \end_layout
4796
4797 \end_inset
4798
4799
4800 \begin_inset Flex MenuItem
4801 status collapsed
4802
4803 \begin_layout Plain Layout
4804 Shift-
4805 \end_layout
4806
4807 \end_inset
4808
4809 キーを,「
4810 \begin_inset Flex MenuItem
4811 status collapsed
4812
4813 \begin_layout Plain Layout
4814 ~
4815 \end_layout
4816
4817 \end_inset
4818
4819 」・「
4820 \begin_inset Flex MenuItem
4821 status collapsed
4822
4823 \begin_layout Plain Layout
4824 ,
4825 \end_layout
4826
4827 \end_inset
4828
4829 」・「
4830 \begin_inset Flex MenuItem
4831 status collapsed
4832
4833 \begin_layout Plain Layout
4834 ^
4835 \end_layout
4836
4837 \end_inset
4838
4839 」のようなアクセントと一緒に用いる方法です.また,
4840 \begin_inset Flex Code
4841 status collapsed
4842
4843 \begin_layout Plain Layout
4844 xmodmap
4845 \end_layout
4846
4847 \end_inset
4848
4849
4850 \begin_inset Flex Code
4851 status collapsed
4852
4853 \begin_layout Plain Layout
4854 xkeycaps
4855 \end_layout
4856
4857 \end_inset
4858
4859 を使って,特別な
4860 \begin_inset Flex Code
4861 status collapsed
4862
4863 \begin_layout Plain Layout
4864 Mode_Switch
4865 \end_layout
4866
4867 \end_inset
4868
4869 キーを設定する方法もあります.
4870 \begin_inset Flex Code
4871 status collapsed
4872
4873 \begin_layout Plain Layout
4874 Mode_Switch
4875 \end_layout
4876
4877 \end_inset
4878
4879 キーは,ちょうど
4880 \begin_inset Flex MenuItem
4881 status collapsed
4882
4883 \begin_layout Plain Layout
4884 Shift
4885 \end_layout
4886
4887 \end_inset
4888
4889 キーのように機能するので,アクセント文字を割り当てるのに使用できます.また,特定のキーを
4890 \begin_inset Flex Code
4891 status collapsed
4892
4893 \begin_layout Plain Layout
4894 usldead_cedilla
4895 \end_layout
4896
4897 \end_inset
4898
4899 などに割り当てることで,これらのキーをデッドキーに仕立て,このシンボリックキーを対応する\SpecialChar LyX
4900 コマンドに割り当てることもできます
4901 \begin_inset Foot
4902 status collapsed
4903
4904 \begin_layout Plain Layout
4905
4906 \noun on
4907 John Weiss
4908 \noun default
4909 からの註:これはまさに私が,自分の
4910 \begin_inset Flex Code
4911 status collapsed
4912
4913 \begin_layout Plain Layout
4914 ~/.lyx/lyxrc
4915 \end_layout
4916
4917 \end_inset
4918
4919
4920 \begin_inset Flex Code
4921 status collapsed
4922
4923 \begin_layout Plain Layout
4924 ~/.xmodmap
4925 \end_layout
4926
4927 \end_inset
4928
4929 で行っていることです.私は,
4930 \begin_inset Flex MenuItem
4931 status collapsed
4932
4933 \begin_layout Plain Layout
4934 Scroll
4935 \begin_inset space ~
4936 \end_inset
4937
4938 Lock
4939 \end_layout
4940
4941 \end_inset
4942
4943 キーを
4944 \begin_inset Flex Code
4945 status collapsed
4946
4947 \begin_layout Plain Layout
4948 Mode_Shift
4949 \end_layout
4950
4951 \end_inset
4952
4953 に仕立てて,多数の
4954 \begin_inset Flex Code
4955 status collapsed
4956
4957 \begin_layout Plain Layout
4958 usldead_*
4959 \end_layout
4960
4961 \end_inset
4962
4963 シンボリックキーを
4964 \begin_inset Flex MenuItem
4965 status collapsed
4966
4967 \begin_layout Plain Layout
4968 Scroll
4969 \begin_inset space ~
4970 \end_inset
4971
4972 Lock-^
4973 \end_layout
4974
4975 \end_inset
4976
4977
4978 \begin_inset Flex MenuItem
4979 status collapsed
4980
4981 \begin_layout Plain Layout
4982 Scroll
4983 \begin_inset space ~
4984 \end_inset
4985
4986 Lock-~
4987 \end_layout
4988
4989 \end_inset
4990
4991 などに割り当てています.私はこの方法でアクセント文字を入力しています.
4992 \end_layout
4993
4994 \end_inset
4995
4996 .この
4997 \begin_inset Flex Code
4998 status collapsed
4999
5000 \begin_layout Plain Layout
5001 Mode_Switch
5002 \end_layout
5003
5004 \end_inset
5005
5006 キーには,
5007 \begin_inset Flex MenuItem
5008 status collapsed
5009
5010 \begin_layout Plain Layout
5011 Ctrl-
5012 \end_layout
5013
5014 \end_inset
5015
5016 キーの片方や使われていないファンクションキーなど,ほぼ何でも指定することができます.アクセントを生み出す\SpecialChar LyX
5017 コマンドについては,
5018 \emph on
5019 \SpecialChar LyX
5020 関数説明書
5021 \emph default
5022
5023 \begin_inset Flex Code
5024 status collapsed
5025
5026 \begin_layout Plain Layout
5027 LFUN_ACCENT_*
5028 \end_layout
5029
5030 \end_inset
5031
5032 の項をご覧ください.ここには完備した一覧があります.
5033 \end_layout
5034
5035 \begin_layout Subsection
5036 自分の言語設定を保存する
5037 \end_layout
5038
5039 \begin_layout Standard
5040 \begin_inset Flex MenuItem
5041 status collapsed
5042
5043 \begin_layout Plain Layout
5044 ツール\SpecialChar menuseparator
5045 設定
5046 \end_layout
5047
5048 \end_inset
5049
5050 ダイアログを使えば,\SpecialChar LyX
5051 を起動したときに,ご希望の言語環境に自動的に設定されるように,設定を編集することができます.
5052 \end_layout
5053
5054 \begin_layout Chapter
5055 文書クラス・レイアウト・ひな型の新規導入
5056 \begin_inset CommandInset label
5057 LatexCommand label
5058 name "cha:新規文書を導入"
5059
5060 \end_inset
5061
5062
5063 \begin_inset Argument 1
5064 status collapsed
5065
5066 \begin_layout Plain Layout
5067 文書クラスを新規に導入する
5068 \end_layout
5069
5070 \end_inset
5071
5072
5073 \end_layout
5074
5075 \begin_layout Standard
5076 この章では,新しく\SpecialChar LyX
5077 のレイアウトファイルやひな型ファイルを作成して,導入する手順を説明すると共に,新規に\SpecialChar LaTeX
5078 文書クラス(ドキュメントクラス)を正しく導入する方法を復習
5079 します.
5080 \end_layout
5081
5082 \begin_layout Standard
5083 まず,\SpecialChar LyX
5084 と\SpecialChar LaTeX
5085 の間の関係をどのように考えるべきか,若干の註釈を加えておくことにしましょう.理解していただきたいことは,ある意味において,\SpecialChar LyX
5086 は,La\SpecialChar TeX
5087 について何も知らないと
5088 云うことです.実際のところ,\SpecialChar LyX
5089 の観点からは,\SpecialChar LaTeX
5090 は,\SpecialChar LyX
5091 が出力を生成することができる,複数の「バックエンド形式」のうちの一つに過ぎないということです.同種のバックエンド形
5092 式には,DocBook・平文・XHTMLがあります.もちろん\SpecialChar LaTeX
5093 は,とくに重要な形式ですが,\SpecialChar LyX
5094 がLa\SpecialChar TeX
5095 について持っている情報のほとんどは,実はプログラム本体には含まれて
5096 いないのです
5097 \begin_inset Foot
5098 status collapsed
5099
5100 \begin_layout Plain Layout
5101 過度に複雑なため,\SpecialChar LyX
5102 に「ハードコード化」されているコマンドもありますが,一般的に開発者は,これを「わるいこと」とみなしています.
5103 \end_layout
5104
5105 \end_inset
5106
5107 .このような情報は,
5108 \begin_inset Flex Code
5109 status collapsed
5110
5111 \begin_layout Plain Layout
5112 article.cls
5113 \end_layout
5114
5115 \end_inset
5116
5117 のような標準クラスでも,「レイアウトファイル」に保管されています.同様に,\SpecialChar LyX
5118 は,DocBookやXHTMLについてもほとんど知りません.\SpecialChar LyX
5119 が知っていることは,レイア
5120 ウトファイルの中にあります.
5121 \end_layout
5122
5123 \begin_layout Standard
5124 文書クラス用のレイアウトファイルは,\SpecialChar LyX
5125 構成体—対応する様式や何らかの差込枠などを有する段落群—と,それに対応する\SpecialChar LaTeX
5126 構成体・DocBook構成体・XHTML構成体との
5127 間の翻訳指南書のようなものです.たとえば,\SpecialChar LyX
5128
5129 \begin_inset Flex Code
5130 status collapsed
5131
5132 \begin_layout Plain Layout
5133 article.cls
5134 \end_layout
5135
5136 \end_inset
5137
5138 について知っていることのほとんど総ては,
5139 \begin_inset Flex Code
5140 status collapsed
5141
5142 \begin_layout Plain Layout
5143 article.layout
5144 \end_layout
5145
5146 \end_inset
5147
5148 と,それが呼び出す他の様々なファイルに書き込まれています.このことから,レイアウトファイルを書こうとする人は,既存のファイルを研究することを勧めます.とっかかり
5149 としては,
5150 \begin_inset Flex Code
5151 status collapsed
5152
5153 \begin_layout Plain Layout
5154 article.layout
5155 \end_layout
5156
5157 \end_inset
5158
5159
5160 \begin_inset Flex Code
5161 status collapsed
5162
5163 \begin_layout Plain Layout
5164 book.layout
5165 \end_layout
5166
5167 \end_inset
5168
5169 や,文書クラス用の他のレイアウトファイルに取り込まれている
5170 \begin_inset Flex Code
5171 status collapsed
5172
5173 \begin_layout Plain Layout
5174 stdsections.inc
5175 \end_layout
5176
5177 \end_inset
5178
5179 から見始めるのがよいでしょう.このファイルは,節などの定義が為されている場所です.
5180 \begin_inset Flex Code
5181 status collapsed
5182
5183 \begin_layout Plain Layout
5184 stdsections.inc
5185 \end_layout
5186
5187 \end_inset
5188
5189 は,節様式や小節様式などとしてマークされている段落を,対応する\SpecialChar LaTeX
5190 ・DocBook・XHTMLのコマンドやタグにどのように翻訳すべきかを\SpecialChar LyX
5191 に知らせるものです.基本的に
5192 \begin_inset Flex Code
5193 status collapsed
5194
5195 \begin_layout Plain Layout
5196 article.layout
5197 \end_layout
5198
5199 \end_inset
5200
5201 ファイルは,これらの
5202 \begin_inset Flex Code
5203 status collapsed
5204
5205 \begin_layout Plain Layout
5206 std*.inc
5207 \end_layout
5208
5209 \end_inset
5210
5211 ファイルを取り込んでいるだけのものです.
5212 \end_layout
5213
5214 \begin_layout Standard
5215 しかしながら,\SpecialChar LyX
5216 –\SpecialChar LaTeX
5217 間の対応を定義するだけが,レイアウトファイルが行うことではありません.レイアウトファイルが行うもう一つの仕事は,\SpecialChar LyX
5218 構成体自身が画面上にどのように表
5219 示されるべきかを定義することです.この2つの仕事は全く独立したものであるので,レイアウトファイルが2つの仕事を行うという事実は,しばしば混乱を引き起こす元となり
5220 ます.ある段落様式を\SpecialChar LaTeX
5221 に翻訳する仕方を\SpecialChar LyX
5222 に指示することは,その表示の仕方を\SpecialChar LyX
5223 に指示するものではありません.逆に,ある段落様式の表示の仕方を\SpecialChar LyX
5224 に指示することは,その段落様
5225 式をどのように\SpecialChar LaTeX
5226 に翻訳するかを\SpecialChar LyX
5227 に指示するものではありません(ましてや\SpecialChar LaTeX
5228 に表示の仕方を指示するものではありません).つまり,一般的に,新しい\SpecialChar LyX
5229 構成体を定義する際には,(
5230 i)
5231 \begin_inset space ~
5232 \end_inset
5233
5234 \SpecialChar LaTeX
5235 にどのように翻訳するかを\SpecialChar LyX
5236 に指示する,(ii)
5237 \begin_inset space ~
5238 \end_inset
5239
5240 それをどのように表示するかを\SpecialChar LyX
5241 に指示する,という,二つのかなり異なることを行わなくてはならないのです.
5242 \end_layout
5243
5244 \begin_layout Standard
5245 もちろん,\SpecialChar LyX
5246 の他のバックエンド形式に関しても,ほぼ同じことが言えますが,XHTMLの場合には若干事情が異なり,\SpecialChar LyX
5247 が,ブラウザ中での段落の表示方法を(CSSの形で)出
5248 力するにあたって,当該段落を\SpecialChar LyX
5249 が画面上に出力する仕方の情報を,ある程度利用することができます.しかし,この場合でも,\SpecialChar LyX
5250 が内部的に行うことと,外部的に行う物事の間の区
5251 別は,依然として有効であり,この2つは独立して制御することができます.詳細に関しては,第
5252 \begin_inset CommandInset ref
5253 LatexCommand ref
5254 reference "sec:XHTML出力のタグ"
5255
5256 \end_inset
5257
5258 節をご覧ください.
5259 \end_layout
5260
5261 \begin_layout Section
5262 新しい\SpecialChar LaTeX
5263 ファイルの導入
5264 \end_layout
5265
5266 \begin_layout Standard
5267 頒布版によっては,\SpecialChar LyX
5268 で使いたい\SpecialChar LaTeX
5269 パッケージやクラスファイルが含まれていないことがあるかもしれません.たとえば,オーバーヘッドプロジェクタ用のスライドを準備するための
5270 パッケージである,Foil\SpecialChar TeX
5271 がないかもしれません.\SpecialChar TeX
5272 Live(2008年以降)やMiK\SpecialChar TeX
5273 のような最近の\SpecialChar LaTeX
5274 頒布版には,これらのパッケージを導入するためのユーザーインタフェ
5275 ースが用意されています.たとえば,MiK\SpecialChar TeX
5276 では,付属の「Package
5277 \begin_inset space ~
5278 \end_inset
5279
5280 Manager」プログラムを起動すると,利用できるパッケージの一覧を得ることができます.どれかを導入するには,その上で右クリックするかツールバーボタンを押してく
5281 ださい.
5282 \end_layout
5283
5284 \begin_layout Standard
5285 お使いの\SpecialChar LaTeX
5286 頒布版がこのような「パッケージマネジャー」を提供していなかったり,使用中の頒布版にそのパッケージが入っていない場合には,以下のステップに従って手動で導入
5287 してください.
5288 \end_layout
5289
5290 \begin_layout Enumerate
5291 \begin_inset CommandInset href
5292 LatexCommand href
5293 name "CTAN"
5294 target "http://www.ctan.org/"
5295 literal "false"
5296
5297 \end_inset
5298
5299 などから欲しいパッケージを入手してください.
5300 \end_layout
5301
5302 \begin_layout Enumerate
5303 パッケージに「
5304 \begin_inset Flex Code
5305 status collapsed
5306
5307 \begin_layout Plain Layout
5308 .ins
5309 \end_layout
5310
5311 \end_inset
5312
5313 」で終わるファイル名が入っている場合(Foil\SpecialChar TeX
5314 がその一例です)は,コンソールを開いて,このファイルのフォルダに移動し,コマンド
5315 \begin_inset Flex Code
5316 status collapsed
5317
5318 \begin_layout Plain Layout
5319 latex foiltex.ins
5320 \end_layout
5321
5322 \end_inset
5323
5324 を実行してください.すると,パッケージが解凍されて,導入すべきすべてのファイルが展開されます.たいていの\SpecialChar LaTeX
5325 パッケージは圧縮されていないので,このステップは飛ばすこ
5326 とができます.
5327 \end_layout
5328
5329 \begin_layout Enumerate
5330 ここで,パッケージを全ユーザーに使用可能にするか自分自身だけで使うかを決定する必要があります.
5331 \end_layout
5332
5333 \begin_deeper
5334 \begin_layout Enumerate
5335 (Linux・OSXなどの)*nix系システムでは,システム上の全ユーザーに新パッケージを利用可能にしたければ,「ローカル」\SpecialChar TeX
5336 ツリーに導入し,そうでなければ「ユー
5337 ザー」\SpecialChar TeX
5338 ツリーに導入してください.これらのツリーが存在しない場合にどこに作成すればよいかは,お使いのシステムに依存します.これを見いだすには,
5339 \begin_inset Flex Code
5340 status collapsed
5341
5342 \begin_layout Plain Layout
5343 texmf.cnf
5344 \end_layout
5345
5346 \end_inset
5347
5348 ファイルを参照してください
5349 \begin_inset Foot
5350 status collapsed
5351
5352 \begin_layout Plain Layout
5353 このファイルは,通常
5354 \family sans
5355 $TEXMF/web2c
5356 \family default
5357 ディレクトリにありますが,コマンド
5358 \begin_inset Flex Code
5359 status collapsed
5360
5361 \begin_layout Plain Layout
5362 kpsewhich texmf.cnf
5363 \end_layout
5364
5365 \end_inset
5366
5367 を実行してその場所を見つけることもできます.
5368 \end_layout
5369
5370 \end_inset
5371
5372 .「ローカル」\SpecialChar TeX
5373 ツリーの場所は,
5374 \begin_inset Flex Code
5375 status collapsed
5376
5377 \begin_layout Plain Layout
5378 TEXMFLOCAL
5379 \end_layout
5380
5381 \end_inset
5382
5383 変数で定義されており,通常は
5384 \begin_inset Flex Code
5385 status collapsed
5386
5387 \begin_layout Plain Layout
5388 /usr/local/share/texmf/
5389 \end_layout
5390
5391 \end_inset
5392
5393
5394 \begin_inset Flex Code
5395 status collapsed
5396
5397 \begin_layout Plain Layout
5398 /usr/local/texlive/XXXX
5399 \end_layout
5400
5401 \end_inset
5402
5403  (XXXXは導入されている\SpecialChar TeX
5404 Live頒布版の年次)のような場所になっています.「ユーザー」\SpecialChar TeX
5405 ツリーの場所は,
5406 \begin_inset Flex Code
5407 status collapsed
5408
5409 \begin_layout Plain Layout
5410 TEXMFHOME
5411 \end_layout
5412
5413 \end_inset
5414
5415 で定義されており,通常は
5416 \begin_inset Flex Code
5417 status collapsed
5418
5419 \begin_layout Plain Layout
5420 $HOME/texmf/
5421 \end_layout
5422
5423 \end_inset
5424
5425
5426 \begin_inset Flex Code
5427 status collapsed
5428
5429 \begin_layout Plain Layout
5430 $HOME/.texliveXXXX
5431 \end_layout
5432
5433 \end_inset
5434
5435 です(もしこれらの変数が事前定義されていなければ,定義しなくてはなりません).「ローカル」ツリーを作成したり変更したりするには,おそらくroot権限が必要ですが
5436 ,「ユーザー」ツリーにはこのような制限はありません.
5437 \begin_inset Newline newline
5438 \end_inset
5439
5440 一般的に,システムをアップグレードした際に,ユーザーが修正されたり上書きされたりということが起こらないので,ユーザーツリーに導入することが推奨されます.こうする
5441 と,自分のホームディレクトリをバックアップする際に,パッケージも他のものと一緒にバックアップされます(もちろん通常行われるようにすればの話です).
5442 \end_layout
5443
5444 \begin_layout Enumerate
5445 Windowで,システム上の全ユーザーに新パッケージを利用可能にしたい場合には,\SpecialChar LaTeX
5446 の導入されているフォルダのサブフォルダ
5447 \begin_inset Flex Code
5448 status collapsed
5449
5450 \begin_layout Plain Layout
5451 ~
5452 \backslash
5453 tex
5454 \backslash
5455 latex
5456 \end_layout
5457
5458 \end_inset
5459
5460 に移動します(MiK\SpecialChar TeX
5461 の既定値では,これは
5462 \begin_inset Flex Code
5463 status collapsed
5464
5465 \begin_layout Plain Layout
5466 ~:Programs
5467 \backslash
5468 MiKTeX
5469 \backslash
5470 tex
5471 \backslash
5472 latex
5473 \end_layout
5474
5475 \end_inset
5476
5477 です)
5478 \begin_inset Foot
5479 status open
5480
5481 \begin_layout Plain Layout
5482 これは,英語版でのみ正しいパスになっています.独語版では
5483 \begin_inset Flex Code
5484 status collapsed
5485
5486 \begin_layout Plain Layout
5487 ~:Programme
5488 \backslash
5489 MiKTeX
5490 \backslash
5491 tex
5492 \backslash
5493 latex
5494 \end_layout
5495
5496 \end_inset
5497
5498 となり,他の言語でも同様です.
5499 \end_layout
5500
5501 \end_inset
5502
5503 .ここに新規フォルダ
5504 \begin_inset Flex Code
5505 status collapsed
5506
5507 \begin_layout Plain Layout
5508 foiltex
5509 \end_layout
5510
5511 \end_inset
5512
5513 を作成し,パッケージの全ファイルをそこにコピーしてください.パッケージを自分だけで使用したい場合や,admin権限を持っていない場合には,ローカル\SpecialChar LaTeX
5514 フォルダで同じ
5515 ことを行います.たとえばMiK\SpecialChar TeX
5516
5517 \begin_inset space ~
5518 \end_inset
5519
5520 2.8では,これはWinXP上では
5521 \begin_inset Newline newline
5522 \end_inset
5523
5524
5525 \begin_inset Flex Code
5526 status collapsed
5527
5528 \begin_layout Plain Layout
5529 ~:
5530 \backslash
5531 Documents and Settings
5532 \backslash
5533 <ユーザー名>
5534 \backslash
5535 Application Data
5536 \backslash
5537
5538 \end_layout
5539
5540 \end_inset
5541
5542
5543 \begin_inset Newline newline
5544 \end_inset
5545
5546
5547 \begin_inset Phantom HPhantom
5548 status open
5549
5550 \begin_layout Plain Layout
5551
5552 \family typewriter
5553 ~:
5554 \backslash
5555
5556 \end_layout
5557
5558 \end_inset
5559
5560
5561 \begin_inset Flex Code
5562 status collapsed
5563
5564 \begin_layout Plain Layout
5565 MiKTeX
5566 \backslash
5567 2.8
5568 \backslash
5569 tex
5570 \backslash
5571 latex
5572 \end_layout
5573
5574 \end_inset
5575
5576
5577 \begin_inset Newline newline
5578 \end_inset
5579
5580 フォルダ,WinVista上では
5581 \begin_inset Newline newline
5582 \end_inset
5583
5584
5585 \begin_inset Flex Code
5586 status collapsed
5587
5588 \begin_layout Plain Layout
5589 ~:
5590 \backslash
5591 Users
5592 \backslash
5593 <ユーザー名>
5594 \backslash
5595 AppData
5596 \backslash
5597 Roaming
5598 \backslash
5599 2.8
5600 \backslash
5601 MiKTeX
5602 \backslash
5603 tex
5604 \backslash
5605 latex
5606 \end_layout
5607
5608 \end_inset
5609
5610
5611 \begin_inset Newline newline
5612 \end_inset
5613
5614 フォルダになります.
5615 \end_layout
5616
5617 \end_deeper
5618 \begin_layout Enumerate
5619 ここまで来れば,あとは\SpecialChar LaTeX
5620 に新しいファイルがあることを告げるだけです.これは使用している\SpecialChar LaTeX
5621 頒布版に依存します.
5622 \end_layout
5623
5624 \begin_deeper
5625 \begin_layout Enumerate
5626 \SpecialChar TeX
5627 Liveの場合には,コンソールから
5628 \begin_inset Flex Code
5629 status collapsed
5630
5631 \begin_layout Plain Layout
5632 texhash
5633 \end_layout
5634
5635 \end_inset
5636
5637 コマンドを実行してください.パッケージを全ユーザー用に導入した場合には,おそらくroot権限で行う必要があります.
5638 \end_layout
5639
5640 \begin_layout Enumerate
5641 MiK\SpecialChar TeX
5642 では,パッケージを全ユーザー用に導入した場合には,「Settings
5643 \begin_inset space ~
5644 \end_inset
5645
5646 (Admin)」を起動し,「Refresh FNDB」と記してあるボタンを押してください.そうでない場合には,「Settings」を起動して同様に行ってください
5647
5648 \end_layout
5649
5650 \end_deeper
5651 \begin_layout Enumerate
5652 最後に,\SpecialChar LyX
5653 に新しいパッケージがあることを告げなくてはなりません.そこで,\SpecialChar LyX
5654 からツール\SpecialChar menuseparator
5655 環境構成メニューを実行して,\SpecialChar LyX
5656 を再起動します.
5657 \end_layout
5658
5659 \begin_layout Standard
5660 これでパッケージが導入されました.この例では,文書クラス
5661 \begin_inset Flex Code
5662 status collapsed
5663
5664 \begin_layout Plain Layout
5665 Slides
5666 \begin_inset space ~
5667 \end_inset
5668
5669 (FoilTeX)
5670 \end_layout
5671
5672 \end_inset
5673
5674
5675 \begin_inset Flex MenuItem
5676 status collapsed
5677
5678 \begin_layout Plain Layout
5679 文書\SpecialChar menuseparator
5680 設定\SpecialChar menuseparator
5681 文書クラス
5682 \end_layout
5683
5684 \end_inset
5685
5686 で利用可能になっているはずです.
5687 \end_layout
5688
5689 \begin_layout Standard
5690 \begin_inset Flex MenuItem
5691 status collapsed
5692
5693 \begin_layout Plain Layout
5694 文書\SpecialChar menuseparator
5695 設定\SpecialChar menuseparator
5696 文書クラス
5697 \end_layout
5698
5699 \end_inset
5700
5701 メニューに列挙されてもいない\SpecialChar LaTeX
5702 文書クラスを使用したい場合には,その「レイアウト」ファイルを作り出さなくてはなりません.これが次節のトピックです.
5703 \end_layout
5704
5705 \begin_layout Section
5706 レイアウトファイルの型
5707 \end_layout
5708
5709 \begin_layout Standard
5710 この節は,レイアウト情報を含む各種\SpecialChar LyX
5711 ファイルについて述べます.これらのファイルは,各種段落様式や文字様式についての記述がされているものであり,\SpecialChar LyX
5712 がそれらをどのように
5713 表示すべきなのか,また,それらをどのように\SpecialChar LaTeX
5714 やDocBook,XHTMLその他の出力形式に翻訳すればよいのかが記されています.
5715 \end_layout
5716
5717 \begin_layout Standard
5718 ここでは,レイアウトファイル作成過程の包括的な解説を試みたいと思いますが,\SpecialChar LaTeX
5719 クラスだけでもサポートする文書の種類があまりにたくさんあるので,読者が出会いうるケース
5720 や問題をすべてカバーすることはとても望めません.\SpecialChar LyX
5721 ユーザーメーリングリストには,自身の経験を人々と分かち合いたいと望む,レイアウトデザインの経験豊かな人々がよく顔
5722 を出していますので,気軽に質問を投げかけてみてください.
5723 \end_layout
5724
5725 \begin_layout Standard
5726 新しいレイアウトを準備するに当たっては,\SpecialChar LyX
5727 と共に頒布されているレイアウトの例を見るのがたいへん役立ちます.他の人々も使用できる\SpecialChar LaTeX
5728 文書クラス用の\SpecialChar LyX
5729 レイアウトを作ったり,
5730 他の人々にも有用なモジュールをお書きになった場合には,
5731 \begin_inset CommandInset href
5732 LatexCommand href
5733 name "LyX Wikiのレイアウトに関する節"
5734 target "https://wiki.lyx.org/Layouts/Layouts"
5735 literal "false"
5736
5737 \end_inset
5738
5739 か,\SpecialChar LyX
5740 開発者メーリングリストに投稿して,\SpecialChar LyX
5741 頒布版に同梱することができるようにしてください
5742 \begin_inset Foot
5743 status collapsed
5744
5745 \begin_layout Plain Layout
5746 \SpecialChar LyX
5747 はGeneral Public Licenseの下でライセンスされていますので,\SpecialChar LyX
5748 に寄贈されたものは総て同じライセンス下に置かれることに注意してください.
5749 \end_layout
5750
5751 \end_inset
5752
5753
5754 \end_layout
5755
5756 \begin_layout Subsection
5757 レイアウトモジュール
5758 \begin_inset CommandInset label
5759 LatexCommand label
5760 name "subsec:レイアウトモジュール"
5761
5762 \end_inset
5763
5764
5765 \end_layout
5766
5767 \begin_layout Standard
5768 ここまで,「レイアウトファイル」についてお話してきました.しかし,レイアウト情報を含むものには,他の種類のファイルもあります.厳密にレイアウトファイルと呼ぶとき
5769 ,それは
5770 \begin_inset Flex Code
5771 status collapsed
5772
5773 \begin_layout Plain Layout
5774 .layout
5775 \end_layout
5776
5777 \end_inset
5778
5779 拡張子を持ち,文書クラスに関する情報を\SpecialChar LyX
5780 に提供するものを指します.しかしながら,\SpecialChar LyX
5781  1.6以降,レイアウト情報は,拡張子が
5782 \begin_inset Flex Code
5783 status collapsed
5784
5785 \begin_layout Plain Layout
5786 .module
5787 \end_layout
5788
5789 \end_inset
5790
5791 のレイアウト
5792 \emph on
5793 モジュール
5794 \emph default
5795 にも含めることができます.レイアウトが\SpecialChar LaTeX
5796 クラスに対応しているように,モジュールは\SpecialChar LaTeX
5797 パッケージに対応するものであり,
5798 \begin_inset Flex Code
5799 status collapsed
5800
5801 \begin_layout Plain Layout
5802 endnotes
5803 \end_layout
5804
5805 \end_inset
5806
5807 モジュールのように,特定のパッケージにサポートを提供するためのモジュールもあります.レイアウトモジュールは,特定の文書レイアウトに特化したものではなく,多くのレ
5808 イアウトで使用できるという意味において,一面,
5809 \begin_inset Flex Code
5810 status collapsed
5811
5812 \begin_layout Plain Layout
5813 stdsections.inc
5814 \end_layout
5815
5816 \end_inset
5817
5818 等のインクルードファイル
5819 \begin_inset Foot
5820 status collapsed
5821
5822 \begin_layout Plain Layout
5823 これらは任意の拡張子をつけることができますが,慣習的に
5824 \begin_inset Flex Code
5825 status collapsed
5826
5827 \begin_layout Plain Layout
5828 .inc
5829 \end_layout
5830
5831 \end_inset
5832
5833 拡張子が用いられます.
5834 \end_layout
5835
5836 \end_inset
5837
5838 のようなものです.相異なる点といえば,
5839 \begin_inset Flex Code
5840 status collapsed
5841
5842 \begin_layout Plain Layout
5843 article.cls
5844 \end_layout
5845
5846 \end_inset
5847
5848 でインクルードファイルを使用するには,そのファイルを編集しなくてはなりませんが,モジュールの場合は,
5849 \begin_inset Flex MenuItem
5850 status collapsed
5851
5852 \begin_layout Plain Layout
5853 文書\SpecialChar menuseparator
5854 設定
5855 \end_layout
5856
5857 \end_inset
5858
5859 ダイアログで選択するだけですみます.
5860 \end_layout
5861
5862 \begin_layout Standard
5863 モジュール作成は,新しく段落様式を一つ加えたり,自由差込枠を加えたりするだけで済むことも多いので,レイアウト編集を学ぶ上でもっとも易しい方法です.しかし原理的に
5864 は,レイアウトファイルに入れることのできるものはすべて入れることができます.
5865 \end_layout
5866
5867 \begin_layout Standard
5868 新しいモジュールを作成し,それを
5869 \begin_inset Flex Code
5870 status collapsed
5871
5872 \begin_layout Plain Layout
5873 layout/
5874 \end_layout
5875
5876 \end_inset
5877
5878 フォルダにコピーした後,モジュールがメニューに現れるようにするためには,\SpecialChar LyX
5879 の環境構成を行って再起動しなくてはなりません.しかしながら,モジュールの修正の場合には,
5880 \begin_inset Flex MenuItem
5881 status collapsed
5882
5883 \begin_layout Plain Layout
5884 文書\SpecialChar menuseparator
5885 設定
5886 \end_layout
5887
5888 \end_inset
5889
5890 を開いてどれかを選択し「OK」を押せば,直ちに反映されます.
5891 \emph on
5892 これを実行する前に,作業中の文書を保存しておくことを強く勧めます
5893 \emph default
5894 .もっと言えば,
5895 \emph on
5896 実際の文書で作業しているときに,同時にモジュールの編集をしようとしないことを強く勧めます
5897 \emph default
5898 .もちろん開発陣は,そのような場合でも\SpecialChar LyX
5899 が安定性を維持するように努力していますが,あなたが作成したモジュール中の文法エラー等によって,奇妙な挙動が引き起こされるこ
5900 とがあるからです.
5901 \end_layout
5902
5903 \begin_layout Subsubsection
5904 ローカルレイアウト
5905 \end_layout
5906
5907 \begin_layout Standard
5908 \SpecialChar LyX
5909 に於けるモジュールは,\SpecialChar LaTeX
5910 に於けるパッケージに当たります.しかしながら,特定の差込枠や文字様式を,ひとつの文書のためだけに作りたいこともあるでしょうから,そのような
5911 場合に,他の文書でも利用できるようなモジュールをわざわざ書くことには,あまり意味がありません.このような場合に必要となるのが,「ローカルレイアウト」なのです.
5912 \end_layout
5913
5914 \begin_layout Standard
5915 これは,
5916 \family sans
5917 文書\SpecialChar menuseparator
5918 設定\SpecialChar menuseparator
5919 ローカルのレイアウト
5920 \family default
5921 にあります.そこにある大きなテキストボックスは,本来ならレイアウトファイルやモジュールに入力すべきものを,入力するためのものです.特定の文書のローカルレイアウト
5922 は,その文書専属のモジュールだと考えることができます.したがって,
5923 \begin_inset Flex Code
5924 status collapsed
5925
5926 \begin_layout Plain Layout
5927 Format
5928 \end_layout
5929
5930 \end_inset
5931
5932 タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,通常は,執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX
5933  
5934 \begin_inset Info
5935 type  "lyxinfo"
5936 arg   "version"
5937 \end_inset
5938
5939 では,最新書式は69です)
5940 \end_layout
5941
5942 \begin_layout Standard
5943 \begin_inset Flex Code
5944 status collapsed
5945
5946 \begin_layout Plain Layout
5947 ローカルのレイアウト
5948 \end_layout
5949
5950 \end_inset
5951
5952 面に何かを入力すると,下部にある「検証」ボタンが有効になります.このボタンを押すと,ユーザーの入力したものが,指定された書式に沿って,有効なレイアウト情報になっ
5953 ているかどうかが検証されます.すると,\SpecialChar LyX
5954 がその結果を返しますが,残念ながら,エラーがあった場合にそれが何のエラーであるかは返しません.しかしながら,\SpecialChar LyX
5955 をターミナル(
5956 擬似端末)から起動した場合には,そのエラーがターミナルに返されます.ローカルレイアウトは,正しい書式で入力されないうちは,保存することができません.
5957 \end_layout
5958
5959 \begin_layout Standard
5960 ここで,前節と同じ警告があります.ローカルレイアウトは,作業中の文書上で,特に保存していない文書上ではいじらないでください.それに注意すれば,テスト用文書上でロ
5961 ーカルレイアウトを用いるのは,レイアウトのアイディアを試すのに便利ですし,モジュール開発の第一歩としても便利です.
5962 \end_layout
5963
5964 \begin_layout Subsection
5965 \begin_inset Flex MenuItem
5966 status collapsed
5967
5968 \begin_layout Plain Layout
5969 .sty
5970 \end_layout
5971
5972 \end_inset
5973
5974 ファイル用のレイアウト
5975 \end_layout
5976
5977 \begin_layout Standard
5978 新しく\SpecialChar LaTeX
5979 文書クラスをサポートしようとするとき,\SpecialChar LaTeX2e
5980 クラス(
5981 \begin_inset Flex Code
5982 status collapsed
5983
5984 \begin_layout Plain Layout
5985 .cls
5986 \end_layout
5987
5988 \end_inset
5989
5990 )ファイルが絡む場合と,スタイル(
5991 \begin_inset Flex Code
5992 status collapsed
5993
5994 \begin_layout Plain Layout
5995 .sty
5996 \end_layout
5997
5998 \end_inset
5999
6000 )ファイルが絡む場合の2つの状況があり得ます.スタイルファイルのサポートは,通常は,かなり容易ですが,新しくクラスファイルをサポートすることは,もう少し難しくな
6001 ります.この節では,前者について述べることとし,後者については次節に譲ります.当然のことながら,新しくDocBook DTDをサポートしたい場合にも,同様の所見
6002 が当てはまります.
6003 \end_layout
6004
6005 \begin_layout Standard
6006 この易しい方の場合では,新しい文書クラスは,既にサポートされている文書クラスと共に使うスタイルファイルとして提供されています.例示のために,スタイルファイルは
6007 \begin_inset Flex MenuItem
6008 status collapsed
6009
6010 \begin_layout Plain Layout
6011 myclass.sty
6012 \end_layout
6013
6014 \end_inset
6015
6016 という名称で,標準的なクラスである
6017 \begin_inset Flex MenuItem
6018 status collapsed
6019
6020 \begin_layout Plain Layout
6021 report.cls
6022 \end_layout
6023
6024 \end_inset
6025
6026 と共に用いられるものと仮定しましょう.
6027 \end_layout
6028
6029 \begin_layout Standard
6030 既存の文書クラスのレイアウトファイルを,以下のように,お使いのローカルディレクトリにコピーすることから始めてください
6031 \begin_inset Foot
6032 status collapsed
6033
6034 \begin_layout Plain Layout
6035 もちろん,どのディレクトリがローカルディレクトリとなるかは,プラットフォームに依存します.\SpecialChar LyX
6036 では,起動時に
6037 \begin_inset Flex MenuItem
6038 status collapsed
6039
6040 \begin_layout Plain Layout
6041 -userdir
6042 \end_layout
6043
6044 \end_inset
6045
6046 オプションを指定することによって,ローカルディレクトリを指定することも可能です.
6047 \end_layout
6048
6049 \end_inset
6050
6051
6052 \end_layout
6053
6054 \begin_layout LyX-Code
6055 cp report.layout ~/.lyx/layouts/myclass.layout
6056 \end_layout
6057
6058 \begin_layout Standard
6059 それから,
6060 \begin_inset Flex Code
6061 status collapsed
6062
6063 \begin_layout Plain Layout
6064 myclass.layout
6065 \end_layout
6066
6067 \end_inset
6068
6069 を編集して,
6070 \end_layout
6071
6072 \begin_layout LyX-Code
6073
6074 \backslash
6075 DeclareLaTeXClass{report}
6076 \end_layout
6077
6078 \begin_layout Standard
6079 という行を
6080 \end_layout
6081
6082 \begin_layout LyX-Code
6083
6084 \backslash
6085 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6086 \end_layout
6087
6088 \begin_layout Standard
6089 のように変更してください.それから,ファイル冒頭辺りに
6090 \end_layout
6091
6092 \begin_layout LyX-Code
6093 Preamble 
6094 \begin_inset Newline newline
6095 \end_inset
6096
6097     
6098 \backslash
6099 usepackage{myclass}
6100 \begin_inset Newline newline
6101 \end_inset
6102
6103 EndPreamble
6104 \end_layout
6105
6106 \begin_layout Standard
6107 と書き加えてください.
6108 \end_layout
6109
6110 \begin_layout Standard
6111 \SpecialChar LyX
6112 を起動して
6113 \begin_inset Flex MenuItem
6114 status collapsed
6115
6116 \begin_layout Plain Layout
6117 ツール\SpecialChar menuseparator
6118 環境構成
6119 \end_layout
6120
6121 \end_inset
6122
6123 を選択してください.それから\SpecialChar LyX
6124 を再起動し,新規文書を作成してみてください.すると,
6125 \begin_inset Flex MenuItem
6126 status collapsed
6127
6128 \begin_layout Plain Layout
6129 文書\SpecialChar menuseparator
6130 設定
6131 \end_layout
6132
6133 \end_inset
6134
6135 ダイアログの文書クラスオプションに「
6136 \begin_inset Flex MenuItem
6137 status collapsed
6138
6139 \begin_layout Plain Layout
6140 report (myclass)
6141 \end_layout
6142
6143 \end_inset
6144
6145 」が現れるはずです.新しいクラスにおいて,節区切り用コマンドなどの一部が,基礎となったクラス—この例では
6146 \begin_inset Flex Code
6147 status collapsed
6148
6149 \begin_layout Plain Layout
6150 report
6151 \end_layout
6152
6153 \end_inset
6154
6155 —とは違う挙動をすることはよくありますので,希望に応じて,各節の設定をいじると良いでしょう.各節のレイアウト情報は,
6156 \begin_inset Flex Code
6157 status collapsed
6158
6159 \begin_layout Plain Layout
6160 stdsections.inc
6161 \end_layout
6162
6163 \end_inset
6164
6165 に含まれていますが,このファイルをコピーしたり変更したりする必要はありません.代わりに,自身のレイアウトファイル中,
6166 \begin_inset Flex Code
6167 status collapsed
6168
6169 \begin_layout Plain Layout
6170 stdsections.inc
6171 \end_layout
6172
6173 \end_inset
6174
6175 も取り込む
6176 \begin_inset Flex Code
6177 status collapsed
6178
6179 \begin_layout Plain Layout
6180 Input stdclass.inc
6181 \end_layout
6182
6183 \end_inset
6184
6185 の後に変更を加えるだけです.たとえば,章見だしのフォントをサンセリフ体に変更するには,以下のような行を加えます.
6186 \end_layout
6187
6188 \begin_layout LyX-Code
6189 Style Chapter
6190 \end_layout
6191
6192 \begin_layout LyX-Code
6193     Font
6194 \end_layout
6195
6196 \begin_layout LyX-Code
6197         Family Sans
6198 \end_layout
6199
6200 \begin_layout LyX-Code
6201     EndFont
6202 \end_layout
6203
6204 \begin_layout LyX-Code
6205 End
6206 \end_layout
6207
6208 \begin_layout Standard
6209 これは,既存の章様式宣言を上書き(あるいはこの場合には追加)します.
6210 \end_layout
6211
6212 \begin_layout Standard
6213 新しいパッケージでは,基礎となったクラスには存在しないコマンドや環境を提供することもできます.この場合には,これらをレイアウトファイルに加えます.そのやり方につ
6214 いては,第
6215 \begin_inset CommandInset ref
6216 LatexCommand ref
6217 reference "sec:テキストクラス"
6218
6219 \end_inset
6220
6221 節の情報を参照してください.
6222 \end_layout
6223
6224 \begin_layout Standard
6225 もし
6226 \begin_inset Flex Code
6227 status collapsed
6228
6229 \begin_layout Plain Layout
6230 myclass.sty
6231 \end_layout
6232
6233 \end_inset
6234
6235 が他の文書クラスで使用することができたり,あるいはできない場合でも,基礎となるクラスから読み込むことのできるモジュールを書くのが最も簡単であることがわかるでしょ
6236 う.最も簡単なモジュールの例としては,以下のようなものになります.
6237 \end_layout
6238
6239 \begin_layout LyX-Code
6240 #
6241 \backslash
6242 DeclareLyXModule{My Package}
6243 \end_layout
6244
6245 \begin_layout LyX-Code
6246 #DescriptionBegin
6247 \end_layout
6248
6249 \begin_layout LyX-Code
6250 #Support for mypkg.sty.
6251 \end_layout
6252
6253 \begin_layout LyX-Code
6254 #DescriptionEnd
6255 \begin_inset Newline newline
6256 \end_inset
6257
6258
6259 \end_layout
6260
6261 \begin_layout LyX-Code
6262 Format 69
6263 \begin_inset Newline newline
6264 \end_inset
6265
6266
6267 \end_layout
6268
6269 \begin_layout LyX-Code
6270 Preamble
6271 \begin_inset Newline newline
6272 \end_inset
6273
6274     
6275 \backslash
6276 usepackage{mypkg}
6277 \begin_inset Newline newline
6278 \end_inset
6279
6280 EndPreamble
6281 \end_layout
6282
6283 \begin_layout Standard
6284 もう少し複雑なモジュールでは,既存の構成物の挙動を修正したり,新しい構成物を定義したりすることになるでしょう.この辺りの議論については,第
6285 \begin_inset CommandInset ref
6286 LatexCommand ref
6287 reference "sec:テキストクラス"
6288
6289 \end_inset
6290
6291 節を参照してください.
6292 \end_layout
6293
6294 \begin_layout Subsection
6295 \begin_inset Flex MenuItem
6296 status collapsed
6297
6298 \begin_layout Plain Layout
6299 .cls
6300 \end_layout
6301
6302 \end_inset
6303
6304 ファイル用のレイアウト
6305 \end_layout
6306
6307 \begin_layout Standard
6308 これには2つのケースがありえます.ひとつは,クラスファイル自体が既存の文書クラスに立脚している場合です.たとえば,多くの学位論文用クラスは
6309 \begin_inset Flex MenuItem
6310 status collapsed
6311
6312 \begin_layout Plain Layout
6313 book.cls
6314 \end_layout
6315
6316 \end_inset
6317
6318 に基づいています.お使いのものがどうであるかを見るには,クラスファイル中に
6319 \end_layout
6320
6321 \begin_layout LyX-Code
6322
6323 \backslash
6324 LoadClass{book}
6325 \end_layout
6326
6327 \begin_layout Standard
6328 という行がないかどうか探してください.もしこれがあれば,
6329 \begin_inset Flex Code
6330 status collapsed
6331
6332 \begin_layout Plain Layout
6333 Declare\SpecialChar LaTeX
6334 Class
6335 \end_layout
6336
6337 \end_inset
6338
6339 行は異なりますが,おおよそ前節のように進めることができます.あなたが新しく作るクラスが
6340 \begin_inset Flex Code
6341 status collapsed
6342
6343 \begin_layout Plain Layout
6344 thesis
6345 \end_layout
6346
6347 \end_inset
6348
6349 であり,
6350 \begin_inset Flex Code
6351 status collapsed
6352
6353 \begin_layout Plain Layout
6354 book
6355 \end_layout
6356
6357 \end_inset
6358
6359 クラスに基づいていれば,
6360 \begin_inset Flex Code
6361 status collapsed
6362
6363 \begin_layout Plain Layout
6364 Declare\SpecialChar LaTeX
6365 Class
6366 \end_layout
6367
6368 \end_inset
6369
6370 行は以下のようにします
6371 \begin_inset Foot
6372 status collapsed
6373
6374 \begin_layout Plain Layout
6375 さらに\SpecialChar LyX
6376 は,文書クラス名がレイアウトファイル名と同じだと仮定するので,クラスファイルを
6377 \begin_inset Flex Code
6378 status collapsed
6379
6380 \begin_layout Plain Layout
6381 thesis.layout
6382 \end_layout
6383
6384 \end_inset
6385
6386 という名前で保存するのが最も簡単です. 
6387 \end_layout
6388
6389 \end_inset
6390
6391
6392 \end_layout
6393
6394 \begin_layout LyX-Code
6395
6396 \backslash
6397 DeclareLaTeXClass[thesis,book]{thesis}
6398 \end_layout
6399
6400 \begin_layout Standard
6401 他方,新しいクラスが既存のクラスに基づいていない場合には,おそらくあなた自身のレイアウトをしたためる必要があります.もし可能であれば,類似した\SpecialChar LaTeX
6402 クラスを使用してい
6403 る既存のレイアウトファイルをコピーして,それに修正を加えるようにすることを強くお勧めします.少なくとも,どの項目を考慮すべきかがわかるように,既存のファイルを作
6404 業の開始点としてください.
6405 \end_layout
6406
6407 \begin_layout Subsection
6408 ひな型を作成する
6409 \begin_inset CommandInset label
6410 LatexCommand label
6411 name "sec:ひな型を作成する"
6412
6413 \end_inset
6414
6415
6416 \end_layout
6417
6418 \begin_layout Standard
6419 新しい文書クラス用のレイアウトファイルを書いたならば,そのレイアウト用のひな型も書くことを検討されるかもしれません.ひな型は,内容はダミーですが,レイアウトの使
6420 い方を示す一種のチュートリアルとして動作します.もちろん,イメージを得るために,\SpecialChar LyX
6421 添付のひな型をあれこれ見てみるのもよいでしょう.
6422 \end_layout
6423
6424 \begin_layout Standard
6425 ひな型は,通常の文書と同様,\SpecialChar LyX
6426 を使って作成することができます.唯一違う点は,通常の文書では,フォント構成や用紙寸法を含め,すべてのあり得る設定が為されている点です
6427 .これらの場合,通常ユーザーはひな型が彼の設定値を上書きすることを望みません.この理由から,ひな型の設計者は,
6428 \begin_inset Flex Code
6429 status collapsed
6430
6431 \begin_layout Plain Layout
6432
6433 \backslash
6434 fontscheme
6435 \end_layout
6436
6437 \end_inset
6438
6439
6440 \begin_inset Flex Code
6441 status collapsed
6442
6443 \begin_layout Plain Layout
6444
6445 \backslash
6446 papersize
6447 \end_layout
6448
6449 \end_inset
6450
6451 などの対応するコマンドをひな型\SpecialChar LyX
6452 ファイルから取り除く必要があります.これは,たとえば
6453 \begin_inset Flex Code
6454 status collapsed
6455
6456 \begin_layout Plain Layout
6457 vi
6458 \end_layout
6459
6460 \end_inset
6461
6462
6463 \begin_inset Flex Code
6464 status collapsed
6465
6466 \begin_layout Plain Layout
6467 notepad
6468 \end_layout
6469
6470 \end_inset
6471
6472 のような,どの軽いテキストエディタでも行うことができます.
6473 \end_layout
6474
6475 \begin_layout Standard
6476 編集したひな型を
6477 \begin_inset Flex Code
6478 status collapsed
6479
6480 \begin_layout Plain Layout
6481 UserDir/templates/
6482 \end_layout
6483
6484 \end_inset
6485
6486 に置き,グローバルなひな型ディレクトリ
6487 \begin_inset Flex Code
6488 status collapsed
6489
6490 \begin_layout Plain Layout
6491 LyXDir/templates/
6492 \end_layout
6493
6494 \end_inset
6495
6496 から使用したいものを同じ場所にコピーし,
6497 \begin_inset Flex MenuItem
6498 status collapsed
6499
6500 \begin_layout Plain Layout
6501 ツール\SpecialChar menuseparator
6502 設定\SpecialChar menuseparator
6503 パス
6504 \end_layout
6505
6506 \end_inset
6507
6508 ダイアログのひな型パスを再定義してください.
6509 \end_layout
6510
6511 \begin_layout Standard
6512 ところで,特別な意味を持つひな型
6513 \begin_inset Flex Code
6514 status collapsed
6515
6516 \begin_layout Plain Layout
6517 defaults.lyx
6518 \end_layout
6519
6520 \end_inset
6521
6522 があることに注意してください.このひな型は,
6523 \begin_inset Flex MenuItem
6524 status collapsed
6525
6526 \begin_layout Plain Layout
6527 ファイル\SpecialChar menuseparator
6528 新規
6529 \end_layout
6530
6531 \end_inset
6532
6533 を使って新規文書を作成する際,便利な既定値を提供する目的で必ず読み込まれます.このひな型を\SpecialChar LyX
6534 内部から作成するのにしなくてはならないことは,対応する設定を持つ文書を
6535 開き,
6536 \begin_inset Flex MenuItem
6537 status collapsed
6538
6539 \begin_layout Plain Layout
6540 文書既定値として保存
6541 \end_layout
6542
6543 \end_inset
6544
6545 ボタンを押すことです.
6546 \end_layout
6547
6548 \begin_layout Subsection
6549 旧レイアウトファイルの更新
6550 \end_layout
6551
6552 \begin_layout Standard
6553 レイアウトファイルの書式は,\SpecialChar LyX
6554 のリリース毎に変更されますので,古いレイアウトファイルは変換されなくてはなりません.\SpecialChar LyX
6555 が古い書式のレイアウトファイルを読み込むと,\SpecialChar LyX
6556 は,
6557 自動的に変換ツール
6558 \begin_inset Flex Code
6559 status collapsed
6560
6561 \begin_layout Plain Layout
6562 \SpecialChar LyX
6563 Dir/scripts/layout2layout.py
6564 \end_layout
6565
6566 \end_inset
6567
6568 を呼び出し,それを現在の書式の一時ファイルに変換します.元のファイルは変更を加えられずに措かれます.もしこのレイアウトファイルをよく使うならば,\SpecialChar LyX
6569 がこれを毎回行な
6570 わくて済むように,レイアウトファイルを恒久的に変換しておきたいと思うかもしれません.これを行うには,以下のように変換子を手動で呼び出してください.
6571 \end_layout
6572
6573 \begin_layout Enumerate
6574 ファイル
6575 \begin_inset Flex Code
6576 status collapsed
6577
6578 \begin_layout Plain Layout
6579 myclass.layout
6580 \end_layout
6581
6582 \end_inset
6583
6584
6585 \begin_inset Flex Code
6586 status collapsed
6587
6588 \begin_layout Plain Layout
6589 myclass.old
6590 \end_layout
6591
6592 \end_inset
6593
6594 に改称
6595 \end_layout
6596
6597 \begin_layout Enumerate
6598 以下のコマンドをコール
6599 \begin_inset Newline newline
6600 \end_inset
6601
6602
6603 \begin_inset Flex Code
6604 status collapsed
6605
6606 \begin_layout Plain Layout
6607 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
6608 \end_layout
6609
6610 \end_inset
6611
6612
6613 \begin_inset Newline newline
6614 \end_inset
6615
6616 ここで
6617 \begin_inset Flex Code
6618 status collapsed
6619
6620 \begin_layout Plain Layout
6621 LyXDir
6622 \end_layout
6623
6624 \end_inset
6625
6626 は\SpecialChar LyX
6627 システムディレクトリの名前です.
6628 \end_layout
6629
6630 \begin_layout Standard
6631 手動変換は,インクルードされているファイル内部の変更までは取り扱いませんので,それらのファイルは別に変換されなくてはなりません.
6632 \end_layout
6633
6634 \begin_layout Subsection
6635 \begin_inset CommandInset label
6636 LatexCommand label
6637 name "subsec:引用エンジンファイル"
6638
6639 \end_inset
6640
6641 引用エンジンファイル
6642 \end_layout
6643
6644 \begin_layout Standard
6645 \begin_inset Flex Code
6646 status collapsed
6647
6648 \begin_layout Plain Layout
6649 citeengines/
6650 \end_layout
6651
6652 \end_inset
6653
6654 サブディレクトリ以下に収められている,いわゆる
6655 \begin_inset Flex Code
6656 status collapsed
6657
6658 \begin_layout Plain Layout
6659 *.citeengine
6660 \end_layout
6661
6662 \end_inset
6663
6664 ファイルは,レイアウトファイルの特殊形です.これらの目的は,
6665 \family sans
6666 natbib
6667 \family default
6668
6669 \family sans
6670 jurabib
6671 \family default
6672
6673 \family sans
6674 biblatex
6675 \family default
6676 など,書誌情報を生成する\SpecialChar LaTeX
6677 パッケージの詳細を定義することですが,通常の(追加パッケージのない)Bib\SpecialChar TeX
6678 引用が\SpecialChar LyX
6679 中でどのように取り扱われるかも,これらのファイルの中で定
6680 義されます.
6681 \end_layout
6682
6683 \begin_layout Standard
6684 より具体的には,どのパッケージを\SpecialChar LyX
6685 が読み込む必要があるのか,どの引用コマンドが利用可能であるのか,これらが\SpecialChar LyX
6686 中(作業領域・ダイアログ・コンテクストメニュー)で,さら
6687 にはXHTMLや平文出力中でどのように表示されるのかを定義します.さらに,これらのファイルは,使用できる派生様式(著者-刊行年,数値など)とその子細を特定します
6688 .引用エンジンファイルは,
6689 \family sans
6690 文書\SpecialChar menuseparator
6691 設定\SpecialChar ldots
6692 \SpecialChar menuseparator
6693 書誌情報\SpecialChar menuseparator
6694 様式整形子
6695 \family default
6696 で利用できる選択肢を生成するのにも使用されます.
6697 \end_layout
6698
6699 \begin_layout Standard
6700 引用エンジンファイルは,本質的に通常のレイアウトファイルであり,理論上どのようなレイアウト情報も内包することができますが,通常は
6701 \begin_inset Flex Code
6702 status collapsed
6703
6704 \begin_layout Plain Layout
6705 MaxCiteNames
6706 \end_layout
6707
6708 \end_inset
6709
6710
6711 \begin_inset Flex Code
6712 status collapsed
6713
6714 \begin_layout Plain Layout
6715 CiteFramework
6716 \end_layout
6717
6718 \end_inset
6719
6720
6721 \begin_inset Flex Code
6722 status collapsed
6723
6724 \begin_layout Plain Layout
6725 CiteEngine
6726 \end_layout
6727
6728 \end_inset
6729
6730
6731 \begin_inset Flex Code
6732 status collapsed
6733
6734 \begin_layout Plain Layout
6735 CiteFormat
6736 \end_layout
6737
6738 \end_inset
6739
6740 ブロックのような特定のパラメータをもっぱら含みます.この最後の2つの文法は,ファイル自身に加え,第 
6741 \begin_inset CommandInset ref
6742 LatexCommand ref
6743 reference "subsec:引用エンジンの説明"
6744 plural "false"
6745 caps "false"
6746 noprefix "false"
6747
6748 \end_inset
6749
6750 節と第
6751 \begin_inset CommandInset ref
6752 LatexCommand ref
6753 reference "subsec:引用書式指定"
6754 plural "false"
6755 caps "false"
6756 noprefix "false"
6757
6758 \end_inset
6759
6760 節に述べられています.
6761 \end_layout
6762
6763 \begin_layout Section
6764 \begin_inset CommandInset label
6765 LatexCommand label
6766 name "sec:テキストクラス"
6767
6768 \end_inset
6769
6770 レイアウトファイルの書式
6771 \end_layout
6772
6773 \begin_layout Standard
6774 以下の各節では,いよいよ自分の手を汚してレイアウトファイルを作成したり編集したりする段階になった際,直面することの説明を行います.私たちからのアドバイスとしては
6775 ,ゆっくりと進めるようにして,ちょっと進むごとに保存やテストを行い,心休まる音楽を聴き,好きな大人の飲み物を一二杯口にしながら行うのがいいでしょう.特に行き詰ま
6776 ってしまったときにはそうです.実際にはそんなに難しいことではないのですが,特に一度に多くのことをやろうとすると,選択肢が多くありすぎて圧倒されてしまうのです.さ
6777 て,もう一杯大人向け飲料をどうぞ.適量ね.\SpecialChar LyX
6778 の既存のレイアウトを例や参考に使ったり,既存のレイアウトを自身の目的に合わせて修正したりすると,作業が容易になります.
6779 \end_layout
6780
6781 \begin_layout Standard
6782 この章で述べられているタグは,すべて大文字小文字を区別しません.つまり,
6783 \begin_inset Flex Code
6784 status collapsed
6785
6786 \begin_layout Plain Layout
6787 Style
6788 \end_layout
6789
6790 \end_inset
6791
6792
6793 \begin_inset Flex Code
6794 status collapsed
6795
6796 \begin_layout Plain Layout
6797 style
6798 \end_layout
6799
6800 \end_inset
6801
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
6818 \emph on
6819 強調
6820 \end_layout
6821
6822 \end_inset
6823
6824 で表記されます.引数が「文字列」や「浮動小数点型」などのデータ型をとる場合には,既定値は
6825 \begin_inset Flex Code
6826 status collapsed
6827
6828 \begin_layout Plain Layout
6829 浮動小数点型=
6830 \emph on
6831 既定値
6832 \end_layout
6833
6834 \end_inset
6835
6836 のように表示されます.
6837 \end_layout
6838
6839 \begin_layout Subsection
6840 文書クラス宣言と分類
6841 \end_layout
6842
6843 \begin_layout Standard
6844 レイアウトファイル中の
6845 \begin_inset Flex Code
6846 status collapsed
6847
6848 \begin_layout Plain Layout
6849 #
6850 \end_layout
6851
6852 \end_inset
6853
6854 で始まる行はコメントです.この規則には一つだけ例外があります.すべての
6855 \begin_inset Flex Code
6856 status collapsed
6857
6858 \begin_layout Plain Layout
6859 *.layout
6860 \end_layout
6861
6862 \end_inset
6863
6864 ファイルは,以下のような行で始めなくてはならないのです.
6865 \end_layout
6866
6867 \begin_layout LyX-Code
6868
6869 \size small
6870 #% Do not delete the line below; configure depends on this
6871 \end_layout
6872
6873 \begin_layout LyX-Code
6874
6875 \size small
6876 #  
6877 \backslash
6878 DeclareLaTeXClass{Article (Standard Class)}
6879 \end_layout
6880
6881 \begin_layout LyX-Code
6882
6883 \size small
6884 #  
6885 \backslash
6886 DeclareCategory{Articles}
6887 \end_layout
6888
6889 \begin_layout Standard
6890 2行目と3行目は,\SpecialChar LyX
6891 が環境構成を行う際に用いられます.このレイアウトファイルは,\SpecialChar LaTeX
6892 スクリプト
6893 \begin_inset Flex Code
6894 status collapsed
6895
6896 \begin_layout Plain Layout
6897 chkconfig.ltx
6898 \end_layout
6899
6900 \end_inset
6901
6902 が,
6903 \begin_inset Flex Code
6904 status collapsed
6905
6906 \begin_layout Plain Layout
6907 #
6908 \end_layout
6909
6910 \end_inset
6911
6912 を無視する特別なモードで読み込みます.1行目は単なる\SpecialChar LaTeX
6913 コメントですが,2行目にはテキストクラスの宣言が,3行目にはクラスの分類(非必須)が書かれています.これらの
6914 行が
6915 \begin_inset Flex Code
6916 status collapsed
6917
6918 \begin_layout Plain Layout
6919 article.layout
6920 \end_layout
6921
6922 \end_inset
6923
6924 と名付けられたファイルにあると,
6925 \begin_inset Flex Code
6926 status collapsed
6927
6928 \begin_layout Plain Layout
6929 article
6930 \end_layout
6931
6932 \end_inset
6933
6934 (レイアウトファイル名)という名称のテキストクラスを定義し,\SpecialChar LaTeX
6935 文書クラス
6936 \begin_inset Flex Code
6937 status collapsed
6938
6939 \begin_layout Plain Layout
6940 article.cls
6941 \end_layout
6942
6943 \end_inset
6944
6945 を使用するようになります(既定ではレイアウトと同じ名称のものを使用します).上記に現れる「Article (Standard Class)」という文字列は,
6946 \begin_inset Flex MenuItem
6947 status collapsed
6948
6949 \begin_layout Plain Layout
6950 文書\SpecialChar menuseparator
6951 設定
6952 \end_layout
6953
6954 \end_inset
6955
6956 ダイアログのテキストクラスの説明に使用されます.分類(例中の「Articles」)は,
6957 \begin_inset Flex MenuItem
6958 status collapsed
6959
6960 \begin_layout Plain Layout
6961 文書\SpecialChar menuseparator
6962 設定
6963 \end_layout
6964
6965 \end_inset
6966
6967 ダイアログで使用され,文書クラスはこの分類によってグループ化されます(分類は通常ジャンルを表し,典型的なものには,「Articles」「Books」「Repor
6968 ts」「Letters」「Presentations」「Curricula Vitae」等があります).分類を宣言しない場合には,このクラスは「Uncatego
6969 rized」グループに属することになります.
6970 \end_layout
6971
6972 \begin_layout Standard
6973 節見出し表示に変更を加えた,
6974 \begin_inset Flex Code
6975 status collapsed
6976
6977 \begin_layout Plain Layout
6978 article.cls
6979 \end_layout
6980
6981 \end_inset
6982
6983 文書クラスを使用するテキストクラスを自分で書いたものとしましょう.これを
6984 \begin_inset Flex Code
6985 status collapsed
6986
6987 \begin_layout Plain Layout
6988 myarticle.layout
6989 \end_layout
6990
6991 \end_inset
6992
6993 というファイルに置いたとすると,このファイルのヘッダは以下のようになります.
6994 \end_layout
6995
6996 \begin_layout LyX-Code
6997
6998 \size small
6999 #% Do not delete the line below; configure depends on this 
7000 \end_layout
7001
7002 \begin_layout LyX-Code
7003
7004 \size small
7005 #  
7006 \backslash
7007 DeclareLaTeXClass[article]{article (with My Own Headings)}
7008 \end_layout
7009
7010 \begin_layout LyX-Code
7011
7012 \size small
7013 #  
7014 \backslash
7015 DeclareCategory{Articles}
7016 \end_layout
7017
7018 \begin_layout Standard
7019 これは,\SpecialChar LaTeX
7020 文書クラス
7021 \begin_inset Flex Code
7022 status collapsed
7023
7024 \begin_layout Plain Layout
7025 article.cls
7026 \end_layout
7027
7028 \end_inset
7029
7030 に関連づけられ,「Article (with My Own Headings)」と表示される,
7031 \begin_inset Flex Code
7032 status collapsed
7033
7034 \begin_layout Plain Layout
7035 myarticle
7036 \end_layout
7037
7038 \end_inset
7039
7040 テキストクラスを宣言するものです.もしこのテキストクラスが複数のパッケージに依存するならば,以下のように宣言すると良いでしょう.
7041 \end_layout
7042
7043 \begin_layout LyX-Code
7044
7045 \size small
7046 #% Do not delete the line below; configure depends on this 
7047 \end_layout
7048
7049 \begin_layout LyX-Code
7050
7051 \size small
7052 #  
7053 \backslash
7054 DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)}
7055 \end_layout
7056
7057 \begin_layout LyX-Code
7058
7059 \size small
7060 #  
7061 \backslash
7062 DeclareCategory{Articles}
7063 \end_layout
7064
7065 \begin_layout Standard
7066 これは,このテキストクラスが
7067 \begin_inset Flex Code
7068 status collapsed
7069
7070 \begin_layout Plain Layout
7071 foo.sty
7072 \end_layout
7073
7074 \end_inset
7075
7076 パッケージを使用することを示しています.最後に,DocBookコード向けのクラスを宣言することもできることを見ます.典型的な宣言は以下のようになります.
7077 \end_layout
7078
7079 \begin_layout LyX-Code
7080
7081 \size small
7082 #% Do not delete the line below; configure depends on this 
7083 \end_layout
7084
7085 \begin_layout LyX-Code
7086
7087 \size small
7088
7089 \backslash
7090 DeclareDocBookClass[article]{SGML (DocBook article)}
7091 \end_layout
7092
7093 \begin_layout LyX-Code
7094
7095 \size small
7096 #  
7097 \backslash
7098 DeclareCategory{Articles}
7099 \end_layout
7100
7101 \begin_layout Standard
7102 これらの宣言には,文書クラス名を宣言する非必須パラメータ(ただしリストではない)を与えることができることに注意してください.
7103 \end_layout
7104
7105 \begin_layout Standard
7106 できる限り明示的に要約すると,レイアウト宣言は以下の形をとります.
7107 \end_layout
7108
7109 \begin_layout LyX-Code
7110
7111 \size small
7112 #  
7113 \backslash
7114 DeclareLaTeXClass[クラス,パッケージ名.sty]{レイアウトの説明}
7115 \end_layout
7116
7117 \begin_layout LyX-Code
7118
7119 \size small
7120 #  
7121 \backslash
7122 DeclareCategory{分類}
7123 \end_layout
7124
7125 \begin_layout Standard
7126 ここで「クラス」は,\SpecialChar LaTeX
7127 クラスファイル名とレイアウトファイル名が異なるときのみ,指定する必要があります.クラスファイル名が指定されなければ,\SpecialChar LyX
7128 は単純に,クラスファイル
7129 名がレイアウトファイル名と同じであると仮定します.
7130 \end_layout
7131
7132 \begin_layout Standard
7133 テキストクラスがあなたの嗜好に合うように修正できたならば,他にしなくてはならないことは,それを
7134 \begin_inset Flex Code
7135 status collapsed
7136
7137 \begin_layout Plain Layout
7138 LyXDir/layouts/
7139 \end_layout
7140
7141 \end_inset
7142
7143
7144 \begin_inset Flex Code
7145 status collapsed
7146
7147 \begin_layout Plain Layout
7148 UserDir/layouts
7149 \end_layout
7150
7151 \end_inset
7152
7153 にコピーし,
7154 \begin_inset Flex MenuItem
7155 status collapsed
7156
7157 \begin_layout Plain Layout
7158 ツール\SpecialChar menuseparator
7159 環境構成
7160 \end_layout
7161
7162 \end_inset
7163
7164 を実行し,\SpecialChar LyX
7165 を終了して再起動するだけです.そうすれば,この新しいテキストクラスが,他のテキストクラスと同様に使用できるようになります.
7166 \end_layout
7167
7168 \begin_layout Standard
7169 レイアウトファイルが導入されたならば,これを編集して,環境構成したり\SpecialChar LyX
7170 を再起動したりすることなく,その変更を確認することができます
7171 \begin_inset Foot
7172 status collapsed
7173
7174 \begin_layout Plain Layout
7175 第1.6版よりも前の\SpecialChar LyX
7176 では,これを行うことはできませんでした.その結果,レイアウトファイルに加えた変更を反映させるには,その度に\SpecialChar LyX
7177 を再起動しなくてはならなかったので,
7178 レイアウトファイルを編集する作業は,たいへん時間を浪費する作業だったのです.
7179 \end_layout
7180
7181 \end_inset
7182
7183 .\SpecialChar LyX
7184 関数
7185 \begin_inset Flex MenuItem
7186 status collapsed
7187
7188 \begin_layout Plain Layout
7189 layout-reload
7190 \end_layout
7191
7192 \end_inset
7193
7194 を使用すれば,現在使っているレイアウトの再読み込みを強制することができるのです.この関数への既定のキー割り当てはありません—もちろん自分でどれかのキーに割り当て
7195 ることもできますが—.しかし,通常は,この関数を使用する場合は,これをミニバッファに入力します.
7196 \end_layout
7197
7198 \begin_layout Standard
7199
7200 \emph on
7201 注意
7202 \emph default
7203
7204 \begin_inset Flex MenuItem
7205 status collapsed
7206
7207 \begin_layout Plain Layout
7208 layout-reload
7209 \end_layout
7210
7211 \end_inset
7212
7213 はかなり「高度な機能」です.この機能を利用する前に,作業中の文書を保存しておくことを
7214 \emph on
7215 強く
7216 \emph default
7217 勧めます.もっと言えば,大事な文書の作業をしているときに,同時にレイアウト情報の編集をしようとしないことを
7218 \emph on
7219 強く
7220 \emph default
7221 勧めます.テスト用文書を使用してください.レイアウトファイル中の文法エラー等が奇妙な挙動を引き起こす可能性があります.特に,そのようなエラーが起こると,\SpecialChar LyX
7222 は現在の
7223 レイアウトが無効であるものと判断して,別のレイアウトに切り替えようとする可能性があります
7224 \begin_inset Foot
7225 status collapsed
7226
7227 \begin_layout Plain Layout
7228 非常に悪質な文法エラーの場合には,\SpecialChar LyX
7229 が終了してしまうことさえあります.これは,ある種のエラーでは,\SpecialChar LyX
7230 がレイアウト情報を全く読めなくなる可能性があるからです.ご注意く
7231 ださい.
7232 \end_layout
7233
7234 \end_inset
7235
7236 .\SpecialChar LyX
7237 開発陣は,このような状況下でも安定性を保つよう努力していますが,後悔よりも安心の方が良いでしょう
7238 \begin_inset Foot
7239 status collapsed
7240
7241 \begin_layout Plain Layout
7242 重ねての助言ですが,つねにバックアップを取ってください.それから,お母さんのお片づけに注意.
7243 \end_layout
7244
7245 \end_inset
7246
7247
7248 \end_layout
7249
7250 \begin_layout Subsection
7251 モジュール宣言
7252 \end_layout
7253
7254 \begin_layout Standard
7255 モジュールは,以下のような行で始まらなくてはなりません.
7256 \end_layout
7257
7258 \begin_layout LyX-Code
7259 #
7260 \backslash
7261 DeclareLyXModule[endnotes.sty]{Endnotes} 
7262 \end_layout
7263
7264 \begin_layout Standard
7265 波括弧内に入っている必須引数はモジュール名で,これは
7266 \begin_inset Flex MenuItem
7267 status collapsed
7268
7269 \begin_layout Plain Layout
7270 文書\SpecialChar menuseparator
7271 設定
7272 \end_layout
7273
7274 \end_inset
7275
7276 内に表示されます.角括弧内の引数は非必須です.これは,モジュールが依存する\SpecialChar LaTeX
7277 パッケージをすべて宣言します.また,非必須引数として,
7278 \begin_inset Flex Code
7279 status collapsed
7280
7281 \begin_layout Plain Layout
7282 変換元->変換先
7283 \end_layout
7284
7285 \end_inset
7286
7287 の形を使用することができます.これは,
7288 \begin_inset Flex Code
7289 status collapsed
7290
7291 \begin_layout Plain Layout
7292 変換元
7293 \end_layout
7294
7295 \end_inset
7296
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 \end_layout
7309
7310 \begin_layout Standard
7311 それから,以下のようなモジュール宣言を行います
7312 \begin_inset Foot
7313 status collapsed
7314
7315 \begin_layout Plain Layout
7316 モジュールを\SpecialChar LyX
7317 に公開する場合には英語が望ましいです.この説明は翻訳メッセージ一覧に現れるようになるので,次回のインタフェースの更新時に翻訳されることになります.
7318 \end_layout
7319
7320 \end_inset
7321
7322
7323 \end_layout
7324
7325 \begin_layout LyX-Code
7326 #DescriptionBegin 
7327 \end_layout
7328
7329 \begin_layout LyX-Code
7330 #Adds an endnote command, in addition to footnotes.
7331  
7332 \end_layout
7333
7334 \begin_layout LyX-Code
7335 #You will need to add  
7336 \backslash
7337 theendnotes in TeX code where you 
7338 \end_layout
7339
7340 \begin_layout LyX-Code
7341 #want the endnotes to appear.
7342  
7343 \end_layout
7344
7345 \begin_layout LyX-Code
7346 #DescriptionEnd 
7347 \end_layout
7348
7349 \begin_layout LyX-Code
7350 #Requires: somemodule | othermodule
7351 \end_layout
7352
7353 \begin_layout LyX-Code
7354 #Excludes: badmodule
7355 \end_layout
7356
7357 \begin_layout Standard
7358 ここで説明(Description)は,
7359 \begin_inset Flex MenuItem
7360 status collapsed
7361
7362 \begin_layout Plain Layout
7363 文書\SpecialChar menuseparator
7364 設定
7365 \end_layout
7366
7367 \end_inset
7368
7369 でこのモジュールが何をするものか,ユーザに情報を与えるために使用されます.
7370 \begin_inset Flex Code
7371 status collapsed
7372
7373 \begin_layout Plain Layout
7374 Requires
7375 \end_layout
7376
7377 \end_inset
7378
7379 行は,このモジュールが共に使用する必要がある,他のモジュールを特定するのに用いられます.一方,
7380 \begin_inset Flex Code
7381 status collapsed
7382
7383 \begin_layout Plain Layout
7384 Excludes
7385 \end_layout
7386
7387 \end_inset
7388
7389 行は,このモジュールが共に使用してはならない,他のモジュールを特定するのに用いられます.この2つの行は必須ではなく,上記のようにモジュールが複数ある場合には,パ
7390 イプ記号「|」で区切らなくてはなりません.
7391 \begin_inset Flex Code
7392 status collapsed
7393
7394 \begin_layout Plain Layout
7395 Requires
7396 \end_layout
7397
7398 \end_inset
7399
7400 に指定されたモジュールは,選言的に取り扱われることに注意してください.つまり,
7401 \begin_inset Flex Code
7402 status collapsed
7403
7404 \begin_layout Plain Layout
7405 Requires
7406 \end_layout
7407
7408 \end_inset
7409
7410 に指定されたモジュールのうち,
7411 \emph on
7412 少なくとも一つ
7413 \emph default
7414 が使用されていればよいということです.同様に,
7415 \begin_inset Flex Code
7416 status collapsed
7417
7418 \begin_layout Plain Layout
7419 Excludes
7420 \end_layout
7421
7422 \end_inset
7423
7424 に指定されたモジュールは,一つも使用されてはなりません.ここでモジュールは,
7425 \begin_inset Flex Code
7426 status collapsed
7427
7428 \begin_layout Plain Layout
7429 .module
7430 \end_layout
7431
7432 \end_inset
7433
7434 拡張子を除いたファイル名で認識されることに注意してください.つまり
7435 \begin_inset Flex Code
7436 status collapsed
7437
7438 \begin_layout Plain Layout
7439 somemodule
7440 \end_layout
7441
7442 \end_inset
7443
7444 とは,実のところ
7445 \begin_inset Flex Code
7446 status collapsed
7447
7448 \begin_layout Plain Layout
7449 somemodule.module
7450 \end_layout
7451
7452 \end_inset
7453
7454 に他なりません.
7455 \end_layout
7456
7457 \begin_layout Subsection
7458 引用エンジンファイルの宣言
7459 \end_layout
7460
7461 \begin_layout Standard
7462 引用エンジンファイルは,次のような行で始まらなくてはなりません.
7463 \end_layout
7464
7465 \begin_layout LyX-Code
7466 #
7467 \backslash
7468 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
7469 \end_layout
7470
7471 \begin_layout Standard
7472 波括弧内の必須引数はモジュール名で,
7473 \begin_inset Flex Noun
7474 status collapsed
7475
7476 \begin_layout Plain Layout
7477 文書\SpecialChar menuseparator
7478 設定\SpecialChar menuseparator
7479 書誌情報
7480 \end_layout
7481
7482 \end_inset
7483
7484 にそのまま現れます.角括弧内の引数は非必須です.これは,引用エンジンが依存する\SpecialChar LaTeX
7485 パッケージを宣言します.
7486 \end_layout
7487
7488 \begin_layout Standard
7489 引用エンジン宣言には,その後,以下のような行が続きます
7490 \begin_inset Foot
7491 status collapsed
7492
7493 \begin_layout Plain Layout
7494 \SpecialChar LyX
7495 とともに公表するモジュールの場合は,英語で書かれることが望まれます.この説明は,翻訳対象メッセージのリストに含まれますので,次回インタフェースの更新の際に翻訳さ
7496 れることになります.
7497 \end_layout
7498
7499 \end_inset
7500
7501
7502 \end_layout
7503
7504 \begin_layout LyX-Code
7505 # DescriptionBegin
7506 \end_layout
7507
7508 \begin_layout LyX-Code
7509 #   Biblatex supports many author-year and numerical styles.
7510 \end_layout
7511
7512 \begin_layout LyX-Code
7513 #   It is mainly aimed at the Humanities.
7514  It is highly
7515 \end_layout
7516
7517 \begin_layout LyX-Code
7518 #   customizable, fully localized and provides many features
7519 \end_layout
7520
7521 \begin_layout LyX-Code
7522 #   that are not possible with BibTeX.
7523  The use of 'biber' as
7524 \end_layout
7525
7526 \begin_layout LyX-Code
7527 #   bibliography processor is advised.
7528 \end_layout
7529
7530 \begin_layout LyX-Code
7531 # DescriptionEnd
7532 \end_layout
7533
7534 \begin_layout Standard
7535 この説明は,
7536 \begin_inset Flex Noun
7537 status collapsed
7538
7539 \begin_layout Plain Layout
7540 文書\SpecialChar menuseparator
7541 設定\SpecialChar menuseparator
7542 書誌情報
7543 \end_layout
7544
7545 \end_inset
7546
7547 の中で,ユーザーに引用エンジンに関する情報を提供するために使われます.
7548 \end_layout
7549
7550 \begin_layout Subsection
7551 書式番号
7552 \end_layout
7553
7554 \begin_layout Standard
7555 レイアウトファイルやインクルードされたファイル,またはモジュールの最初の非コメント行には,以下のように,かならずファイル形式番号が記されていなくてはなりません.
7556 \end_layout
7557
7558 \begin_layout Description
7559 \begin_inset Flex Code
7560 status collapsed
7561
7562 \begin_layout Plain Layout
7563 Format
7564 \end_layout
7565
7566 \end_inset
7567
7568  [
7569 \begin_inset Flex Code
7570 status collapsed
7571
7572 \begin_layout Plain Layout
7573 整数型
7574 \end_layout
7575
7576 \end_inset
7577
7578 ] このレイアウトファイルの書式
7579 \end_layout
7580
7581 \begin_layout Standard
7582 このタグは\SpecialChar LyX
7583
7584 \begin_inset space ~
7585 \end_inset
7586
7587 1.4.0で導入されました.\SpecialChar LyX
7588
7589 \begin_inset space ~
7590 \end_inset
7591
7592 1.3.x以前のレイアウトファイルには,明示されたファイル形式がないため,書式1と解されます.\SpecialChar LyX
7593 現行版のファイル形式は,書式69です.しかし,\SpecialChar LyX
7594 の各版は,旧版の\SpecialChar LyX
7595 で作成さ
7596 れたファイルを読むことができるように,旧版のレイアウトファイルも読むことができます.しかしながら,以前の書式に変換する方法はありません.
7597 \end_layout
7598
7599 \begin_layout Subsection
7600 \begin_inset CommandInset label
7601 LatexCommand label
7602 name "subsec:汎用テキストクラスパラメータ"
7603
7604 \end_inset
7605
7606 汎用テキストクラスパラメータ
7607 \end_layout
7608
7609 \begin_layout Standard
7610 以下は,文書クラス全体の挙動を決定する汎用パラメータです(これは,
7611 \begin_inset Flex Code
7612 status collapsed
7613
7614 \begin_layout Plain Layout
7615 .layout
7616 \end_layout
7617
7618 \end_inset
7619
7620 ファイルのみに使用されるべきで,モジュールでは使ってはならない,ということを意味するものでは
7621 \emph on
7622 ありません
7623 \emph default
7624 .モジュールには,すべてのレイアウトタグを使用することができます).
7625 \end_layout
7626
7627 \begin_layout Description
7628 \begin_inset Flex Code
7629 status collapsed
7630
7631 \begin_layout Plain Layout
7632 AddToHTMLPreamble
7633 \end_layout
7634
7635 \end_inset
7636
7637  この文書クラスがXHTMLに出力されるときに,
7638 \begin_inset Flex Code
7639 status collapsed
7640
7641 \begin_layout Plain Layout
7642 <head>
7643 \end_layout
7644
7645 \end_inset
7646
7647 ブロックに追加出力される情報です.典型的には,これはCSSスタイル情報を出力するのに用いられますが,
7648 \begin_inset Flex Code
7649 status collapsed
7650
7651 \begin_layout Plain Layout
7652 <head>
7653 \end_layout
7654
7655 \end_inset
7656
7657 に出力するものであれば,何でも使用することができます.「
7658 \begin_inset Flex Code
7659 status collapsed
7660
7661 \begin_layout Plain Layout
7662 EndPreamble
7663 \end_layout
7664
7665 \end_inset
7666
7667 」で閉じる必要があります.
7668 \end_layout
7669
7670 \begin_layout Description
7671 \begin_inset Flex Code
7672 status collapsed
7673
7674 \begin_layout Plain Layout
7675 AddToPreamble
7676 \end_layout
7677
7678 \end_inset
7679
7680  文書プリアンブルに書き加えられる情報です.「
7681 \begin_inset Flex Code
7682 status collapsed
7683
7684 \begin_layout Plain Layout
7685 EndPreamble
7686 \end_layout
7687
7688 \end_inset
7689
7690 」で閉じる必要があります.
7691 \end_layout
7692
7693 \begin_layout Description
7694 \begin_inset Flex Code
7695 status collapsed
7696
7697 \begin_layout Plain Layout
7698 CiteEngine <エンジン>
7699 \end_layout
7700
7701 \end_inset
7702
7703  文献参照を表示する方法を定義します.詳細については,第
7704 \begin_inset CommandInset ref
7705 LatexCommand ref
7706 reference "subsec:引用エンジンの説明"
7707 plural "false"
7708 caps "false"
7709 noprefix "false"
7710
7711 \end_inset
7712
7713 節をご覧ください.「
7714 \begin_inset Flex Code
7715 status collapsed
7716
7717 \begin_layout Plain Layout
7718 End
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 \end_layout
7735
7736 \begin_layout Description
7737 \begin_inset Flex Code
7738 status collapsed
7739
7740 \begin_layout Plain Layout
7741 CiteFormat
7742 \end_layout
7743
7744 \end_inset
7745
7746  書誌情報の表示に使う書式を定義します.詳細については,第
7747 \begin_inset CommandInset ref
7748 LatexCommand ref
7749 reference "subsec:引用書式指定"
7750
7751 \end_inset
7752
7753 節をご覧ください.「
7754 \begin_inset Flex Code
7755 status collapsed
7756
7757 \begin_layout Plain Layout
7758 End
7759 \end_layout
7760
7761 \end_inset
7762
7763 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
7764 \begin_inset CommandInset ref
7765 LatexCommand ref
7766 reference "subsec:引用エンジンファイル"
7767 plural "false"
7768 caps "false"
7769 noprefix "false"
7770
7771 \end_inset
7772
7773 節参照).
7774 \end_layout
7775
7776 \begin_layout Description
7777 \begin_inset Flex Code
7778 status collapsed
7779
7780 \begin_layout Plain Layout
7781 CiteFramework
7782 \end_layout
7783
7784 \end_inset
7785
7786  [
7787 \begin_inset Flex Code
7788 status collapsed
7789
7790 \begin_layout Plain Layout
7791
7792 \emph on
7793 bibtex
7794 \end_layout
7795
7796 \end_inset
7797
7798 ,
7799 \begin_inset Flex Code
7800 status collapsed
7801
7802 \begin_layout Plain Layout
7803 biblatex
7804 \end_layout
7805
7806 \end_inset
7807
7808 ] 書誌情報を生成するのに,
7809 \family sans
7810 Biblatex
7811 \family default
7812 を用いるのかBib\SpecialChar TeX
7813 を用いるのかを特定します.主に引用エンジンファイルで使用されます(第
7814 \begin_inset CommandInset ref
7815 LatexCommand ref
7816 reference "subsec:引用エンジンファイル"
7817 plural "false"
7818 caps "false"
7819 noprefix "false"
7820
7821 \end_inset
7822
7823 節参照).
7824 \end_layout
7825
7826 \begin_layout Description
7827 \begin_inset Flex Code
7828 status collapsed
7829
7830 \begin_layout Plain Layout
7831 ClassOptions
7832 \end_layout
7833
7834 \end_inset
7835
7836  文書クラスがサポートする様々な大域オプションを記します.説明は,第
7837 \begin_inset CommandInset ref
7838 LatexCommand ref
7839 reference "subsec:ClassOptions"
7840
7841 \end_inset
7842
7843 節を参照してください.「
7844 \begin_inset Flex Code
7845 status collapsed
7846
7847 \begin_layout Plain Layout
7848 End
7849 \end_layout
7850
7851 \end_inset
7852
7853 」で閉じる必要があります.
7854 \end_layout
7855
7856 \begin_layout Description
7857 \begin_inset Flex Code
7858 status collapsed
7859
7860 \begin_layout Plain Layout
7861 Columns
7862 \end_layout
7863
7864 \end_inset
7865
7866  [
7867 \begin_inset Flex Code
7868 status collapsed
7869
7870 \begin_layout Plain Layout
7871
7872 \emph on
7873 1
7874 \end_layout
7875
7876 \end_inset
7877
7878 ,
7879 \begin_inset space \thinspace{}
7880 \end_inset
7881
7882
7883 \begin_inset Flex Code
7884 status collapsed
7885
7886 \begin_layout Plain Layout
7887 2
7888 \end_layout
7889
7890 \end_inset
7891
7892 ] 文書クラスが既定で1段組か2段組かを指定します.
7893 \begin_inset Flex MenuItem
7894 status collapsed
7895
7896 \begin_layout Plain Layout
7897 文書\SpecialChar menuseparator
7898 設定
7899 \end_layout
7900
7901 \end_inset
7902
7903 ダイアログで変更することができます.
7904 \end_layout
7905
7906 \begin_layout Description
7907 \begin_inset Flex Code
7908 status collapsed
7909
7910 \begin_layout Plain Layout
7911 Counter
7912 \end_layout
7913
7914 \end_inset
7915
7916  [
7917 \begin_inset Flex Code
7918 status collapsed
7919
7920 \begin_layout Plain Layout
7921 文字列
7922 \end_layout
7923
7924 \end_inset
7925
7926 ] この部分はカウンタの特性を定義します.カウンタがまだ存在していなければ,生成されます.もし存在しなければ修正されます.「
7927 \begin_inset Flex Code
7928 status collapsed
7929
7930 \begin_layout Plain Layout
7931 End
7932 \end_layout
7933
7934 \end_inset
7935
7936 」で閉じる必要があります.
7937 \begin_inset Newline newline
7938 \end_inset
7939
7940 カウンタについての詳細は,第
7941 \begin_inset CommandInset ref
7942 LatexCommand ref
7943 reference "subsec:カウンタ"
7944
7945 \end_inset
7946
7947 節を参照してください.
7948 \end_layout
7949
7950 \begin_layout Description
7951 \begin_inset Flex Code
7952 status collapsed
7953
7954 \begin_layout Plain Layout
7955 DefaultFont
7956 \end_layout
7957
7958 \end_inset
7959
7960  文書を表示するのに用いられる既定フォントを設定します.フォントの宣言の仕方については,第
7961 \begin_inset CommandInset ref
7962 LatexCommand ref
7963 reference "subsec:フォント指定"
7964
7965 \end_inset
7966
7967 節を参照してください.「
7968 \begin_inset Flex Code
7969 status collapsed
7970
7971 \begin_layout Plain Layout
7972 EndFont
7973 \end_layout
7974
7975 \end_inset
7976
7977 」で閉じる必要があります.
7978 \end_layout
7979
7980 \begin_layout Description
7981 \begin_inset Flex Code
7982 status collapsed
7983
7984 \begin_layout Plain Layout
7985 DefaultModule
7986 \end_layout
7987
7988 \end_inset
7989
7990  [
7991 \begin_inset Flex Code
7992 status collapsed
7993
7994 \begin_layout Plain Layout
7995 <モジュール>
7996 \end_layout
7997
7998 \end_inset
7999
8000 ] この文書クラスに,既定で取り込むモジュールを指定します.モジュールは,
8001 \begin_inset Flex Code
8002 status collapsed
8003
8004 \begin_layout Plain Layout
8005 .module
8006 \end_layout
8007
8008 \end_inset
8009
8010 拡張子を除いたファイル名で指定します.ユーザはこのモジュールを除外することができますが,当初は有効の状態になっています(これは新しいファイルが作成されたときや,
8011 既存の文書にこの文書クラスが選択したときのみ該当します).
8012 \end_layout
8013
8014 \begin_layout Description
8015 \begin_inset Flex Code
8016 status collapsed
8017
8018 \begin_layout Plain Layout
8019 DefaultStyle
8020 \end_layout
8021
8022 \end_inset
8023
8024  [
8025 \begin_inset Flex Code
8026 status collapsed
8027
8028 \begin_layout Plain Layout
8029 <様式>
8030 \end_layout
8031
8032 \end_inset
8033
8034 ]
8035 \lang english
8036  
8037 \lang japanese
8038 これは新規段落に割り当てられる様式であり,通常は
8039 \begin_inset Flex MenuItem
8040 status collapsed
8041
8042 \begin_layout Plain Layout
8043 標準
8044 \end_layout
8045
8046 \end_inset
8047
8048 です.もしこれを指定しなければ,最初に定義される様式がこれに割り当てられるようにはなっていますが,このディレクティブを使用することが推奨されます.
8049 \end_layout
8050
8051 \begin_layout Description
8052 \begin_inset Flex Code
8053 status collapsed
8054
8055 \begin_layout Plain Layout
8056 ExcludesModule
8057 \end_layout
8058
8059 \end_inset
8060
8061  [
8062 \begin_inset Flex Code
8063 status collapsed
8064
8065 \begin_layout Plain Layout
8066 <モジュール>
8067 \end_layout
8068
8069 \end_inset
8070
8071 ] このタグは,指定されたモジュール—
8072 \begin_inset Flex Code
8073 status collapsed
8074
8075 \begin_layout Plain Layout
8076 .module
8077 \end_layout
8078
8079 \end_inset
8080
8081 拡張子を除いたファイル名で指定します—が,この文書クラスでは使用できないように設定します.これはたとえば,特定の学術誌用レイアウトファイルの中で,定理番号を節毎
8082 に振る
8083 \begin_inset Flex Code
8084 status collapsed
8085
8086 \begin_layout Plain Layout
8087 theorems-sec
8088 \end_layout
8089
8090 \end_inset
8091
8092 モジュールが使用されるのを防ぐために用いたりすることができます.このタグは,モジュール内で
8093 \emph on
8094 使用してはいけません
8095 \emph default
8096 .モジュールは,他のモジュールを排除する独自の枠組みがあります(第
8097 \begin_inset CommandInset ref
8098 LatexCommand ref
8099 reference "subsec:レイアウトモジュール"
8100
8101 \end_inset
8102
8103 節参照).
8104 \end_layout
8105
8106 \begin_layout Description
8107 \begin_inset Flex Code
8108 status collapsed
8109
8110 \begin_layout Plain Layout
8111 Float
8112 \end_layout
8113
8114 \end_inset
8115
8116  フロートを新規に定義します.詳細は,第
8117 \begin_inset CommandInset ref
8118 LatexCommand ref
8119 reference "subsec:フロート"
8120
8121 \end_inset
8122
8123 節を参照してください.「
8124 \begin_inset Flex Code
8125 status collapsed
8126
8127 \begin_layout Plain Layout
8128 End
8129 \end_layout
8130
8131 \end_inset
8132
8133 」で閉じる必要があります.
8134 \end_layout
8135
8136 \begin_layout Description
8137 \begin_inset Flex Code
8138 status collapsed
8139
8140 \begin_layout Plain Layout
8141 HTMLPreamble
8142 \end_layout
8143
8144 \end_inset
8145
8146  この文書クラスがXHTMLに出力されるときに,
8147 \begin_inset Flex Code
8148 status collapsed
8149
8150 \begin_layout Plain Layout
8151 <head>
8152 \end_layout
8153
8154 \end_inset
8155
8156 ブロックに出力される情報です.これより前に出現した
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
8167 \begin_inset Flex Code
8168 status collapsed
8169
8170 \begin_layout Plain Layout
8171 AddToHTMLPreamble
8172 \end_layout
8173
8174 \end_inset
8175
8176 宣言は,すべて完全に上書きされることに注意してください(プリアンブルに何かを追加したい時には,
8177 \begin_inset Flex Code
8178 status collapsed
8179
8180 \begin_layout Plain Layout
8181 AddToHTMLPreamble
8182 \end_layout
8183
8184 \end_inset
8185
8186 を使用してください).これは「
8187 \begin_inset Flex Code
8188 status collapsed
8189
8190 \begin_layout Plain Layout
8191 EndPreamble
8192 \end_layout
8193
8194 \end_inset
8195
8196 」で閉じる必要があります.
8197 \end_layout
8198
8199 \begin_layout Description
8200 \begin_inset Flex Code
8201 status collapsed
8202
8203 \begin_layout Plain Layout
8204 HTMLTOCSection
8205 \end_layout
8206
8207 \end_inset
8208
8209  [
8210 \begin_inset Flex Code
8211 status collapsed
8212
8213 \begin_layout Plain Layout
8214 <様式>
8215 \end_layout
8216
8217 \end_inset
8218
8219 ] 文書がHTMLに出力されるときに,目次や書誌情報などに使用されるレイアウトです.articleの場合には,これは通常「節」であり,bookの場合は「章」です
8220 .これを指定しない場合には,\SpecialChar LyX
8221 はどのレイアウトを使用するべきか,解析しようと試みます.
8222 \end_layout
8223
8224 \begin_layout Description
8225 \begin_inset Flex Code
8226 status collapsed
8227
8228 \begin_layout Plain Layout
8229 IfCounter 
8230 \end_layout
8231
8232 \end_inset
8233
8234  [
8235 \begin_inset Flex Code
8236 status collapsed
8237
8238 \begin_layout Plain Layout
8239 <カウンタ>
8240 \end_layout
8241
8242 \end_inset
8243
8244 ] 与えられたカウンタの特性を修正します.カウンタが存在しない場合には,この節は無視されます.「
8245 \begin_inset Flex Code
8246 status collapsed
8247
8248 \begin_layout Plain Layout
8249 End
8250 \end_layout
8251
8252 \end_inset
8253
8254 」で閉じる必要があります.
8255 \begin_inset Newline newline
8256 \end_inset
8257
8258 カウンタについての詳細は,第
8259 \begin_inset CommandInset ref
8260 LatexCommand ref
8261 reference "subsec:カウンタ"
8262
8263 \end_inset
8264
8265 節をご覧ください.
8266 \end_layout
8267
8268 \begin_layout Description
8269 \begin_inset Flex Code
8270 status collapsed
8271
8272 \begin_layout Plain Layout
8273 IfStyle
8274 \end_layout
8275
8276 \end_inset
8277
8278  [
8279 \begin_inset Flex Code
8280 status collapsed
8281
8282 \begin_layout Plain Layout
8283 <様式>
8284 \end_layout
8285
8286 \end_inset
8287
8288 ] 与えられた段落様式の特性を修正します.様式が存在しない場合には,この節は無視されます.「
8289 \begin_inset Flex Code
8290 status collapsed
8291
8292 \begin_layout Plain Layout
8293 End
8294 \end_layout
8295
8296 \end_inset
8297
8298 」で閉じる必要があります.
8299 \end_layout
8300
8301 \begin_layout Description
8302 \begin_inset Flex Code
8303 status collapsed
8304
8305 \begin_layout Plain Layout
8306 Input
8307 \end_layout
8308
8309 \end_inset
8310
8311  [
8312 \begin_inset Flex Code
8313 status collapsed
8314
8315 \begin_layout Plain Layout
8316 <ファイル名>
8317 \end_layout
8318
8319 \end_inset
8320
8321 ]
8322 \lang english
8323  
8324 \lang japanese
8325 名称の指し示すように,このコマンドは,同じコマンドを何度も指定せずに済むように,別のレイアウト定義ファイルを取り込ませます.よく使われる例は,基本的なレイアウト
8326 のほとんどを収録している
8327 \begin_inset Flex Code
8328 status collapsed
8329
8330 \begin_layout Plain Layout
8331 stdclass.inc
8332 \end_layout
8333
8334 \end_inset
8335
8336 のような標準レイアウトファイルです.
8337 \end_layout
8338
8339 \begin_layout Description
8340 \begin_inset Flex Code
8341 status collapsed
8342
8343 \begin_layout Plain Layout
8344 InsetLayout
8345 \end_layout
8346
8347 \end_inset
8348
8349  [
8350 \begin_inset Flex Code
8351 status collapsed
8352
8353 \begin_layout Plain Layout
8354 <型>
8355 \end_layout
8356
8357 \end_inset
8358
8359 ]
8360 \lang english
8361  
8362 \lang japanese
8363 このセクションは,差込枠のレイアウトを定義(再定義)します.これは,既存の差込枠にも,新しい文字様式のような新規のユーザ定義差込枠にも使用することができます.「
8364 \begin_inset Flex Code
8365 status collapsed
8366
8367 \begin_layout Plain Layout
8368 End
8369 \end_layout
8370
8371 \end_inset
8372
8373 」で閉じる必要があります.
8374 \begin_inset Newline newline
8375 \end_inset
8376
8377 詳しい情報は,第
8378 \begin_inset CommandInset ref
8379 LatexCommand ref
8380 reference "subsec:任意設定差込枠"
8381
8382 \end_inset
8383
8384 節をご覧ください.
8385 \end_layout
8386
8387 \begin_layout Description
8388 \begin_inset Flex Code
8389 status collapsed
8390
8391 \begin_layout Plain Layout
8392 LeftMargin
8393 \end_layout
8394
8395 \end_inset
8396
8397  [
8398 \begin_inset Flex Code
8399 status collapsed
8400
8401 \begin_layout Plain Layout
8402 文字列
8403 \end_layout
8404
8405 \end_inset
8406
8407 ] 画面上の左余白の幅を指示する文字列.例:「
8408 \begin_inset Flex Code
8409 status collapsed
8410
8411 \begin_layout Plain Layout
8412 MMMMM
8413 \end_layout
8414
8415 \end_inset
8416
8417 」.(これは,「2ex」のような「長さ」ではないことに注意してください.)
8418 \end_layout
8419
8420 \begin_layout Description
8421 \begin_inset Flex Code
8422 status collapsed
8423
8424 \begin_layout Plain Layout
8425 MaxCiteNames
8426 \end_layout
8427
8428 \end_inset
8429
8430  [
8431 \begin_inset Flex Code
8432 status collapsed
8433
8434 \begin_layout Plain Layout
8435 整数
8436 \end_layout
8437
8438 \end_inset
8439
8440 ] 著者-刊行年引用で,引用が「第一著者 et al.」に切り替わる前に,表示される名前の最大数を定める整数.主に引用エンジンファイルで使用されます(第
8441 \begin_inset CommandInset ref
8442 LatexCommand ref
8443 reference "subsec:引用エンジンファイル"
8444 plural "false"
8445 caps "false"
8446 noprefix "false"
8447
8448 \end_inset
8449
8450 節参照).
8451 \end_layout
8452
8453 \begin_layout Description
8454 \begin_inset Flex Code
8455 status collapsed
8456
8457 \begin_layout Plain Layout
8458 NoCounter
8459 \end_layout
8460
8461 \end_inset
8462
8463  [
8464 \begin_inset Flex Code
8465 status collapsed
8466
8467 \begin_layout Plain Layout
8468 <カウンタ>
8469 \end_layout
8470
8471 \end_inset
8472
8473 ] このコマンドは,既存のカウンタ(通常インクルードファイル内で定義されたもの)を削除します.
8474 \end_layout
8475
8476 \begin_layout Description
8477 \begin_inset Flex Code
8478 status collapsed
8479
8480 \begin_layout Plain Layout
8481 NoFloat
8482 \end_layout
8483
8484 \end_inset
8485
8486  [
8487 \begin_inset Flex Code
8488 status collapsed
8489
8490 \begin_layout Plain Layout
8491 <フロート>
8492 \end_layout
8493
8494 \end_inset
8495
8496 ] このコマンドは既存のフロートを削除します.これは特に,Inputで取り込んだファイルに定義されていたフロートを抑制するのに便利です.
8497 \end_layout
8498
8499 \begin_layout Description
8500 \begin_inset Flex Code
8501 status collapsed
8502
8503 \begin_layout Plain Layout
8504 NoStyle
8505 \end_layout
8506
8507 \end_inset
8508
8509  [
8510 \begin_inset Flex Code
8511 status collapsed
8512
8513 \begin_layout Plain Layout
8514 <様式>
8515 \end_layout
8516
8517 \end_inset
8518
8519 ] このコマンドは既存の様式を削除します.これは特に,Inputで取り込んだファイルに定義されていた様式を抑制するのに便利です.
8520 \end_layout
8521
8522 \begin_layout Description
8523 \begin_inset Flex Code
8524 status collapsed
8525
8526 \begin_layout Plain Layout
8527 OutlinerName
8528 \end_layout
8529
8530 \end_inset
8531
8532  [
8533 \begin_inset Flex Code
8534 status collapsed
8535
8536 \begin_layout Plain Layout
8537 <型>
8538 \end_layout
8539
8540 \end_inset
8541
8542 ] [
8543 \begin_inset Flex Code
8544 status collapsed
8545
8546 \begin_layout Plain Layout
8547 <文字列>
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 の新しい一覧表を定義します.AddToTocコマンドもご覧ください.
8573 \end_layout
8574
8575 \begin_layout Description
8576 \begin_inset Flex Code
8577 status collapsed
8578
8579 \begin_layout Plain Layout
8580 OutputFormat
8581 \end_layout
8582
8583 \end_inset
8584
8585  [
8586 \begin_inset Flex Code
8587 status collapsed
8588
8589 \begin_layout Plain Layout
8590 <形式>
8591 \end_layout
8592
8593 \end_inset
8594
8595 ] このクラスによって生成されるファイル形式を示す文字列(
8596 \family sans
8597 設定
8598 \family default
8599 ダイアログで定義される形のもの).おもに,
8600 \begin_inset Flex Code
8601 status collapsed
8602
8603 \begin_layout Plain Layout
8604 OutputType
8605 \end_layout
8606
8607 \end_inset
8608
8609
8610 \begin_inset Flex Code
8611 status collapsed
8612
8613 \begin_layout Plain Layout
8614 literate
8615 \end_layout
8616
8617 \end_inset
8618
8619 になっていて,新しい型のliterate文書を定義したい時に便利です.対応する
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 docbook
8635 \end_layout
8636
8637 \end_inset
8638
8639 」・「
8640 \begin_inset Flex Code
8641 status collapsed
8642
8643 \begin_layout Plain Layout
8644 lat
8645 \emph on
8646 ex
8647 \end_layout
8648
8649 \end_inset
8650
8651 」のいずれかにリセットされます.
8652 \end_layout
8653
8654 \begin_layout Description
8655 \begin_inset Flex Code
8656 status collapsed
8657
8658 \begin_layout Plain Layout
8659 OutputType
8660 \end_layout
8661
8662 \end_inset
8663
8664  [
8665 \begin_inset Flex Code
8666 status collapsed
8667
8668 \begin_layout Plain Layout
8669
8670 \emph on
8671 lat
8672 \emph default
8673 ex
8674 \end_layout
8675
8676 \end_inset
8677
8678
8679 \begin_inset Flex Code
8680 status collapsed
8681
8682 \begin_layout Plain Layout
8683 docbook
8684 \end_layout
8685
8686 \end_inset
8687
8688
8689 \begin_inset Flex Code
8690 status collapsed
8691
8692 \begin_layout Plain Layout
8693 literate
8694 \end_layout
8695
8696 \end_inset
8697
8698 ] このクラスを使用する文書がどのような種類の出力をするかを示す文字列.現在のところ,取り得る値は「docbook」・「latex」・「literate」です.
8699 \end_layout
8700
8701 \begin_layout Description
8702 \begin_inset Flex Code
8703 status collapsed
8704
8705 \begin_layout Plain Layout
8706 PackageOptions
8707 \end_layout
8708
8709 \end_inset
8710
8711  [
8712 \begin_inset Flex Code
8713 status collapsed
8714
8715 \begin_layout Plain Layout
8716 文字列
8717 \end_layout
8718
8719 \end_inset
8720
8721  
8722 \begin_inset Flex Code
8723 status collapsed
8724
8725 \begin_layout Plain Layout
8726 文字列
8727 \end_layout
8728
8729 \end_inset
8730
8731 ] 第1文字列で指定したパッケージ用のオプションを第2文字列で指定します.例えば,「
8732 \begin_inset Flex Code
8733 status collapsed
8734
8735 \begin_layout Plain Layout
8736 PackageOptions natbib square
8737 \end_layout
8738
8739 \end_inset
8740
8741 」とすると,
8742 \begin_inset Flex Code
8743 status collapsed
8744
8745 \begin_layout Plain Layout
8746 natbib
8747 \end_layout
8748
8749 \end_inset
8750
8751
8752 \begin_inset Flex Code
8753 status collapsed
8754
8755 \begin_layout Plain Layout
8756 square
8757 \end_layout
8758
8759 \end_inset
8760
8761 オプションとともに読み込みます(\SpecialChar TeX
8762 perts向けに述べると,これは,
8763 \begin_inset Flex Code
8764 status collapsed
8765
8766 \begin_layout Plain Layout
8767 natbib
8768 \end_layout
8769
8770 \end_inset
8771
8772 を読み込む前に,\SpecialChar LyX
8773
8774 \begin_inset Flex Code
8775 status collapsed
8776
8777 \begin_layout Plain Layout
8778
8779 \backslash
8780 PassOptionsToPackage{natbib}{square}
8781 \end_layout
8782
8783 \end_inset
8784
8785 を出力させます).
8786 \end_layout
8787
8788 \begin_layout Description
8789 \begin_inset Flex Code
8790 status collapsed
8791
8792 \begin_layout Plain Layout
8793 PageStyle
8794 \end_layout
8795
8796 \end_inset
8797
8798  [
8799 \emph on
8800
8801 \begin_inset Flex Code
8802 status collapsed
8803
8804 \begin_layout Plain Layout
8805 plain
8806 \end_layout
8807
8808 \end_inset
8809
8810
8811 \emph default
8812
8813 \begin_inset Flex Code
8814 status collapsed
8815
8816 \begin_layout Plain Layout
8817 empty
8818 \end_layout
8819
8820 \end_inset
8821
8822
8823 \begin_inset Flex Code
8824 status collapsed
8825
8826 \begin_layout Plain Layout
8827 headings
8828 \end_layout
8829
8830 \end_inset
8831
8832 ] 既定ページ様式.
8833 \begin_inset Flex MenuItem
8834 status collapsed
8835
8836 \begin_layout Plain Layout
8837 文書\SpecialChar menuseparator
8838 設定
8839 \end_layout
8840
8841 \end_inset
8842
8843 ダイアログで変更することができます.
8844 \end_layout
8845
8846 \begin_layout Description
8847 \begin_inset Flex Code
8848 status collapsed
8849
8850 \begin_layout Plain Layout
8851 Preamble
8852 \end_layout
8853
8854 \end_inset
8855
8856  \SpecialChar LaTeX
8857 文書のプリアンブルを設定します.前に行った
8858 \begin_inset Flex Code
8859 status collapsed
8860
8861 \begin_layout Plain Layout
8862 Preamble
8863 \end_layout
8864
8865 \end_inset
8866
8867 宣言や
8868 \begin_inset Flex Code
8869 status collapsed
8870
8871 \begin_layout Plain Layout
8872 AddToPreamble
8873 \end_layout
8874
8875 \end_inset
8876
8877 宣言は,すべて上書きされてしまうので注意してください.(プリアンブルに何かを追加したい時には,
8878 \begin_inset Flex Code
8879 status collapsed
8880
8881 \begin_layout Plain Layout
8882 AddToPreamble
8883 \end_layout
8884
8885 \end_inset
8886
8887 を使用してください.)「
8888 \begin_inset Flex Code
8889 status collapsed
8890
8891 \begin_layout Plain Layout
8892 EndPreamble
8893 \end_layout
8894
8895 \end_inset
8896
8897 」で閉じる必要があります.
8898 \end_layout
8899
8900 \begin_layout Description
8901 \begin_inset Flex Code
8902 status collapsed
8903
8904 \begin_layout Plain Layout
8905 Provides
8906 \end_layout
8907
8908 \end_inset
8909
8910  [
8911 \begin_inset Flex Code
8912 status collapsed
8913
8914 \begin_layout Plain Layout
8915 文字列
8916 \end_layout
8917
8918 \end_inset
8919
8920 ] [
8921 \begin_inset Flex Code
8922 status collapsed
8923
8924 \begin_layout Plain Layout
8925
8926 \emph on
8927 0
8928 \end_layout
8929
8930 \end_inset
8931
8932
8933 \begin_inset Flex Code
8934 status collapsed
8935
8936 \begin_layout Plain Layout
8937 1
8938 \end_layout
8939
8940 \end_inset
8941
8942 ] このクラスが
8943 \begin_inset Flex Code
8944 status collapsed
8945
8946 \begin_layout Plain Layout
8947 文字列
8948 \end_layout
8949
8950 \end_inset
8951
8952 で示される機能を既に提供しているかどうかを示します.機能は,一般的にパッケージ名(
8953 \begin_inset Flex Code
8954 status collapsed
8955
8956 \begin_layout Plain Layout
8957 amsmath
8958 \end_layout
8959
8960 \end_inset
8961
8962
8963 \begin_inset Flex Code
8964 status collapsed
8965
8966 \begin_layout Plain Layout
8967 makeidx
8968 \end_layout
8969
8970 \end_inset
8971
8972 ・\SpecialChar ldots
8973 )やマクロ名(
8974 \begin_inset Flex Code
8975 status collapsed
8976
8977 \begin_layout Plain Layout
8978 url
8979 \end_layout
8980
8981 \end_inset
8982
8983
8984 \begin_inset Flex Code
8985 status collapsed
8986
8987 \begin_layout Plain Layout
8988 boldsymbol
8989 \end_layout
8990
8991 \end_inset
8992
8993 ・\SpecialChar ldots
8994 )です.機能一覧については,
8995 \begin_inset CommandInset ref
8996 LatexCommand ref
8997 reference "chap:関数一覧"
8998
8999 \end_inset
9000
9001 を参照.
9002 \end_layout
9003
9004 \begin_layout Description
9005 \begin_inset Flex Code
9006 status collapsed
9007
9008 \begin_layout Plain Layout
9009 ProvidesModule
9010 \end_layout
9011
9012 \end_inset
9013
9014  [
9015 \begin_inset Flex Code
9016 status collapsed
9017
9018 \begin_layout Plain Layout
9019 文字列
9020 \end_layout
9021
9022 \end_inset
9023
9024 ] このレイアウトが
9025 \begin_inset Flex Code
9026 status collapsed
9027
9028 \begin_layout Plain Layout
9029 文字列
9030 \end_layout
9031
9032 \end_inset
9033
9034 で表されているモジュールの機能を提供することを示し,
9035 \begin_inset Flex Code
9036 status collapsed
9037
9038 \begin_layout Plain Layout
9039 .module
9040 \end_layout
9041
9042 \end_inset
9043
9044 拡張子を除いたファイル名で指定します.
9045 \begin_inset Flex Code
9046 status collapsed
9047
9048 \begin_layout Plain Layout
9049 DefaultModule
9050 \end_layout
9051
9052 \end_inset
9053
9054 タグを使用すると,モジュールを使用しなくてはならないことを示しますが,このタグは主に,このレイアウトがモジュールを直接取り込んでしまっていることを示すのに用いら
9055 れます.同じ機能を別に実装しているモジュール中で使用するなどすることもできます.
9056 \end_layout
9057
9058 \begin_layout Description
9059 \begin_inset Flex Code
9060 status collapsed
9061
9062 \begin_layout Plain Layout
9063 Requires
9064 \end_layout
9065
9066 \end_inset
9067
9068  [
9069 \begin_inset Flex Code
9070 status collapsed
9071
9072 \begin_layout Plain Layout
9073 文字列
9074 \end_layout
9075
9076 \end_inset
9077
9078 ] このクラスが
9079 \begin_inset Flex Code
9080 status collapsed
9081
9082 \begin_layout Plain Layout
9083 文字列
9084 \end_layout
9085
9086 \end_inset
9087
9088 で表されている機能を要求することを示します.機能が複数ある場合には,コンマで区切らなくてはなりません.サポートされている機能以外は要求できないことに注意してくだ
9089 さい(機能一覧については
9090 \begin_inset CommandInset ref
9091 LatexCommand ref
9092 reference "chap:関数一覧"
9093
9094 \end_inset
9095
9096 を参照).特定のオプションをとるパッケージを要求する場合,
9097 \begin_inset Flex Code
9098 status collapsed
9099
9100 \begin_layout Plain Layout
9101 PackageOptions
9102 \end_layout
9103
9104 \end_inset
9105
9106 を追加して使うことができます.
9107 \end_layout
9108
9109 \begin_layout Description
9110 \begin_inset Flex Code
9111 status collapsed
9112
9113 \begin_layout Plain Layout
9114 RightMargin
9115 \end_layout
9116
9117 \end_inset
9118
9119  [
9120 \begin_inset Flex Code
9121 status collapsed
9122
9123 \begin_layout Plain Layout
9124 文字列
9125 \end_layout
9126
9127 \end_inset
9128
9129 ] 画面上の右余白の幅を指示する文字列.例:「
9130 \begin_inset Flex Code
9131 status collapsed
9132
9133 \begin_layout Plain Layout
9134 MMMMM
9135 \end_layout
9136
9137 \end_inset
9138
9139 」.
9140 \end_layout
9141
9142 \begin_layout Description
9143 \begin_inset Flex Code
9144 status collapsed
9145
9146 \begin_layout Plain Layout
9147 SecNumDepth
9148 \end_layout
9149
9150 \end_inset
9151
9152  [
9153 \begin_inset Flex Code
9154 status collapsed
9155
9156 \begin_layout Plain Layout
9157 int=3
9158 \end_layout
9159
9160 \end_inset
9161
9162 ] どの節区切りまで連番を振るかを指定します.\SpecialChar LaTeX
9163 における
9164 \begin_inset Flex Code
9165 status collapsed
9166
9167 \begin_layout Plain Layout
9168 secnumdepth
9169 \end_layout
9170
9171 \end_inset
9172
9173 カウンタに対応します.
9174 \end_layout
9175
9176 \begin_layout Description
9177 \begin_inset Flex Code
9178 status collapsed
9179
9180 \begin_layout Plain Layout
9181 Sides
9182 \end_layout
9183
9184 \end_inset
9185
9186  [
9187 \emph on
9188
9189 \begin_inset Flex Code
9190 status collapsed
9191
9192 \begin_layout Plain Layout
9193 1
9194 \end_layout
9195
9196 \end_inset
9197
9198
9199 \emph default
9200 ,
9201 \begin_inset space \thinspace{}
9202 \end_inset
9203
9204
9205 \begin_inset Flex Code
9206 status collapsed
9207
9208 \begin_layout Plain Layout
9209 2
9210 \end_layout
9211
9212 \end_inset
9213
9214 ] クラスの既定値として,用紙の片面に印字するか両面に印字するかを指定します.
9215 \begin_inset Flex MenuItem
9216 status collapsed
9217
9218 \begin_layout Plain Layout
9219 文書\SpecialChar menuseparator
9220 設定
9221 \end_layout
9222
9223 \end_inset
9224
9225 ダイアログで変更することができます.
9226 \end_layout
9227
9228 \begin_layout Description
9229 \begin_inset Flex Code
9230 status collapsed
9231
9232 \begin_layout Plain Layout
9233 Style
9234 \end_layout
9235
9236 \end_inset
9237
9238  [
9239 \begin_inset Flex Code
9240 status collapsed
9241
9242 \begin_layout Plain Layout
9243 <名称>
9244 \end_layout
9245
9246 \end_inset
9247
9248 ]
9249 \lang english
9250  
9251 \lang japanese
9252 この部分は段落様式を定義します.様式がまだ存在していなければ,生成されます.既に存在していれば,そのパラメータが修正されます.「
9253 \begin_inset Flex Code
9254 status collapsed
9255
9256 \begin_layout Plain Layout
9257 End
9258 \end_layout
9259
9260 \end_inset
9261
9262 」で閉じる必要があります.
9263 \begin_inset Newline newline
9264 \end_inset
9265
9266 段落様式に関する詳細は,
9267 \begin_inset CommandInset ref
9268 LatexCommand ref
9269 reference "subsec:段落様式-XHTML"
9270
9271 \end_inset
9272
9273 をご覧ください.
9274 \end_layout
9275
9276 \begin_layout Description
9277 \begin_inset Flex Code
9278 status collapsed
9279
9280 \begin_layout Plain Layout
9281 TitleLatexName
9282 \end_layout
9283
9284 \end_inset
9285
9286  [
9287 \begin_inset Flex Code
9288 status collapsed
9289
9290 \begin_layout Plain Layout
9291 文字列="maketitle"
9292 \end_layout
9293
9294 \end_inset
9295
9296
9297 \begin_inset Flex Code
9298 status collapsed
9299
9300 \begin_layout Plain Layout
9301 TitleLatexType
9302 \end_layout
9303
9304 \end_inset
9305
9306 で使用すべきコマンド名あるいは環境名.The name of the command or environment to be used with
9307  
9308 \begin_inset Flex Code
9309 status collapsed
9310
9311 \begin_layout Plain Layout
9312 TitleLatexType
9313 \end_layout
9314
9315 \end_inset
9316
9317 .
9318 \end_layout
9319
9320 \begin_layout Description
9321 \begin_inset Flex Code
9322 status collapsed
9323
9324 \begin_layout Plain Layout
9325 TitleLatexType
9326 \end_layout
9327
9328 \end_inset
9329
9330  [
9331 \begin_inset Flex Code
9332 status collapsed
9333
9334 \begin_layout Plain Layout
9335
9336 \emph on
9337 CommandAfter
9338 \end_layout
9339
9340 \end_inset
9341
9342
9343 \begin_inset Flex Code
9344 status collapsed
9345
9346 \begin_layout Plain Layout
9347 Environment
9348 \end_layout
9349
9350 \end_inset
9351
9352 ] 文書のタイトルを定義するのに,どのようなマークアップを使用するのかを示します.
9353 \begin_inset Flex Code
9354 status collapsed
9355
9356 \begin_layout Plain Layout
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 InTitle
9368 \begin_inset space ~
9369 \end_inset
9370
9371 1
9372 \end_layout
9373
9374 \end_inset
9375
9376 」が指定されている最後のレイアウトの後に,
9377 \begin_inset Flex Code
9378 status collapsed
9379
9380 \begin_layout Plain Layout
9381 TitleLatexName
9382 \end_layout
9383
9384 \end_inset
9385
9386 で指定したマクロ名を挿入することを意味します.
9387 \begin_inset Flex Code
9388 status collapsed
9389
9390 \begin_layout Plain Layout
9391 Environment
9392 \end_layout
9393
9394 \end_inset
9395
9396 は,「
9397 \begin_inset Flex Code
9398 status collapsed
9399
9400 \begin_layout Plain Layout
9401 InTitle
9402 \begin_inset space ~
9403 \end_inset
9404
9405 1
9406 \end_layout
9407
9408 \end_inset
9409
9410 」を持つ段落群を
9411 \begin_inset Flex Code
9412 status collapsed
9413
9414 \begin_layout Plain Layout
9415 TitleLatexName
9416 \end_layout
9417
9418 \end_inset
9419
9420 で指定した環境でくるむ場合に対応します.
9421 \end_layout
9422
9423 \begin_layout Description
9424 \begin_inset Flex Code
9425 status collapsed
9426
9427 \begin_layout Plain Layout
9428 TocDepth
9429 \end_layout
9430
9431 \end_inset
9432
9433  [
9434 \begin_inset Flex Code
9435 status collapsed
9436
9437 \begin_layout Plain Layout
9438 int=3
9439 \end_layout
9440
9441 \end_inset
9442
9443 ] どの節区切りまで目次に取り込むかを指定します.\SpecialChar LaTeX
9444
9445 \begin_inset Flex Code
9446 status collapsed
9447
9448 \begin_layout Plain Layout
9449 tocdepth
9450 \end_layout
9451
9452 \end_inset
9453
9454 カウンタに対応します.
9455 \end_layout
9456
9457 \begin_layout Subsection
9458 \begin_inset Flex Code
9459 status collapsed
9460
9461 \begin_layout Plain Layout
9462 ClassOptions
9463 \end_layout
9464
9465 \end_inset
9466
9467
9468 \begin_inset CommandInset label
9469 LatexCommand label
9470 name "subsec:ClassOptions"
9471
9472 \end_inset
9473
9474
9475 \end_layout
9476
9477 \begin_layout Standard
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 \end_layout
9489
9490 \begin_layout Description
9491 \begin_inset Flex Code
9492 status collapsed
9493
9494 \begin_layout Plain Layout
9495 FontSize
9496 \end_layout
9497
9498 \end_inset
9499
9500  [
9501 \begin_inset Flex Code
9502 status collapsed
9503
9504 \begin_layout Plain Layout
9505 文字列="10|11|12"
9506 \end_layout
9507
9508 \end_inset
9509
9510 ] 文書のメインフォントが使用できるフォント寸法の一覧です.「
9511 \begin_inset Flex Code
9512 status collapsed
9513
9514 \begin_layout Plain Layout
9515 |
9516 \end_layout
9517
9518 \end_inset
9519
9520 」で区切ります.
9521 \end_layout
9522
9523 \begin_layout Description
9524 \begin_inset Flex Code
9525 status collapsed
9526
9527 \begin_layout Plain Layout
9528 Header
9529 \end_layout
9530
9531 \end_inset
9532
9533  XMLベースの出力クラスで,DTD行を設定するのに使用されます.例:PUBLIC 
9534 \begin_inset Quotes eld
9535 \end_inset
9536
9537 -//OASIS//DTD DocBook V4.2//EN
9538 \begin_inset Quotes erd
9539 \end_inset
9540
9541
9542 \end_layout
9543
9544 \begin_layout Description
9545 \begin_inset Flex Code
9546 status collapsed
9547
9548 \begin_layout Plain Layout
9549 PageStyle
9550 \end_layout
9551
9552 \end_inset
9553
9554  [
9555 \begin_inset Flex Code
9556 status collapsed
9557
9558 \begin_layout Plain Layout
9559 文字列="empty|plain|headings|fancy"
9560 \end_layout
9561
9562 \end_inset
9563
9564 ] 使用できるページ様式の一覧です.「
9565 \begin_inset Flex Code
9566 status collapsed
9567
9568 \begin_layout Plain Layout
9569 |
9570 \end_layout
9571
9572 \end_inset
9573
9574 」で区切ります.
9575 \end_layout
9576
9577 \begin_layout Description
9578 \begin_inset Flex Code
9579 status collapsed
9580
9581 \begin_layout Plain Layout
9582 Other
9583 \end_layout
9584
9585 \end_inset
9586
9587  [
9588 \begin_inset Flex Code
9589 status collapsed
9590
9591 \begin_layout Plain Layout
9592 文字列=""
9593 \end_layout
9594
9595 \end_inset
9596
9597
9598 \begin_inset Flex Code
9599 status collapsed
9600
9601 \begin_layout Plain Layout
9602
9603 \backslash
9604 documentclass
9605 \end_layout
9606
9607 \end_inset
9608
9609 コマンドの非必須パラメータとして付け加える文書クラスオプションです.コンマで区切ります.
9610 \end_layout
9611
9612 \begin_layout Standard
9613 \begin_inset Flex Code
9614 status collapsed
9615
9616 \begin_layout Plain Layout
9617 ClassOptions
9618 \end_layout
9619
9620 \end_inset
9621
9622 部は「
9623 \begin_inset Flex Code
9624 status collapsed
9625
9626 \begin_layout Plain Layout
9627 End
9628 \end_layout
9629
9630 \end_inset
9631
9632 」で閉じる必要があります.
9633 \end_layout
9634
9635 \begin_layout Subsection
9636 段落様式
9637 \begin_inset CommandInset label
9638 LatexCommand label
9639 name "subsec:段落様式"
9640
9641 \end_inset
9642
9643
9644 \end_layout
9645
9646 \begin_layout Standard
9647 段落様式の記述は,以下のようになります
9648 \begin_inset Foot
9649 status collapsed
9650
9651 \begin_layout Plain Layout
9652 これは新しいレイアウトを定義するか,既存のレイアウトを修正することになることに注意してください.
9653 \end_layout
9654
9655 \end_inset
9656
9657
9658 \end_layout
9659
9660 \begin_layout LyX-Code
9661 Style 
9662 \family roman
9663 \emph on
9664 名称
9665 \end_layout
9666
9667 \begin_layout LyX-Code
9668  ...
9669 \end_layout
9670
9671 \begin_layout LyX-Code
9672 End
9673 \end_layout
9674
9675 \begin_layout Standard
9676 ここでは,以下のコマンドを使用することができます.
9677 \end_layout
9678
9679 \begin_layout Description
9680 \begin_inset Flex Code
9681 status collapsed
9682
9683 \begin_layout Plain Layout
9684 AddToToc
9685 \end_layout
9686
9687 \end_inset
9688
9689  [
9690 \begin_inset Flex Code
9691 status collapsed
9692
9693 \begin_layout Plain Layout
9694 文字列
9695 \end_layout
9696
9697 \end_inset
9698
9699 =""] この段落は指定された型の一覧表に現れます.空の文字列を与えると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドもご覧
9700 ください.既定値:無効.
9701 \end_layout
9702
9703 \begin_layout Description
9704 \begin_inset Flex Code
9705 status collapsed
9706
9707 \begin_layout Plain Layout
9708 Align
9709 \end_layout
9710
9711 \end_inset
9712
9713  [
9714 \begin_inset Flex Code
9715 status collapsed
9716
9717 \begin_layout Plain Layout
9718
9719 \emph on
9720 block
9721 \emph default
9722 , left, right, center
9723 \end_layout
9724
9725 \end_inset
9726
9727 ] 段落の揃え.
9728 \end_layout
9729
9730 \begin_layout Description
9731 \begin_inset Flex Code
9732 status collapsed
9733
9734 \begin_layout Plain Layout
9735 AlignPossible
9736 \end_layout
9737
9738 \end_inset
9739
9740  [
9741 \begin_inset Flex Code
9742 status collapsed
9743
9744 \begin_layout Plain Layout
9745
9746 \emph on
9747 block
9748 \emph default
9749 , left, right, center
9750 \end_layout
9751
9752 \end_inset
9753
9754 ] 使用できる揃えのコンマ区切りリスト(\SpecialChar LaTeX
9755 スタイルには,意味を成さない一部の揃えが禁じられているものがあります.たとえば,連番箇条書きを右揃えや中央揃えにすること
9756 はできません).
9757 \end_layout
9758
9759 \begin_layout Description
9760 \begin_inset Flex Code
9761 status collapsed
9762
9763 \begin_layout Plain Layout
9764 Argument
9765 \end_layout
9766
9767 \end_inset
9768
9769  [
9770 \begin_inset Flex Code
9771 status collapsed
9772
9773 \begin_layout Plain Layout
9774 整数
9775 \end_layout
9776
9777 \end_inset
9778
9779 ] 現在の様式に関連付けられたコマンドまたは環境の引数番号<整数>を定義します.これは,節見出しのようなものに便利で,また\SpecialChar LaTeX
9780 でのみ意味を持ちます.コマンドまたは環
9781 境の引数は全て–段落の内容自身に関連付けられた必須引数を除き,必須・非必須を問わず–,別の場所で定義され,引数番号はその順序を表します.定義は
9782 \begin_inset Flex Code
9783 status collapsed
9784
9785 \begin_layout Plain Layout
9786 EndArgument
9787 \end_layout
9788
9789 \end_inset
9790
9791 で閉じなくてはなりません.非必須引数が2つあるコマンドの場合は,以下のようになります.
9792 \end_layout
9793
9794 \begin_deeper
9795 \begin_layout Quote
9796
9797 \family typewriter
9798 Argument 1
9799 \end_layout
9800
9801 \begin_layout Quote
9802
9803 \family typewriter
9804 ...
9805 \end_layout
9806
9807 \begin_layout Quote
9808
9809 \family typewriter
9810 EndArgument
9811 \end_layout
9812
9813 \begin_layout Quote
9814
9815 \family typewriter
9816 Argument 2
9817 \end_layout
9818
9819 \begin_layout Quote
9820
9821 \family typewriter
9822 ...
9823 \end_layout
9824
9825 \begin_layout Quote
9826
9827 \family typewriter
9828 EndArgument
9829 \end_layout
9830
9831 \begin_layout Standard
9832 \begin_inset Flex Code
9833 status collapsed
9834
9835 \begin_layout Plain Layout
9836 Argument
9837 \end_layout
9838
9839 \end_inset
9840
9841 定義内部では,以下の指定をすることができます.
9842 \end_layout
9843
9844 \begin_layout Itemize
9845 \begin_inset Flex Code
9846 status collapsed
9847
9848 \begin_layout Plain Layout
9849 LabelString
9850 \end_layout
9851
9852 \end_inset
9853
9854  
9855 \begin_inset Flex Code
9856 status collapsed
9857
9858 \begin_layout Plain Layout
9859 [文字列]
9860 \end_layout
9861
9862 \end_inset
9863
9864  この引数を挿入するメニューと引数差込枠ボタンに表示される文字列です(別に
9865 \begin_inset Flex Code
9866 status collapsed
9867
9868 \begin_layout Plain Layout
9869 MenuString
9870 \end_layout
9871
9872 \end_inset
9873
9874 を指定した場合を除く).メニューには,後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9875 \begin_inset space \space{}
9876 \end_inset
9877
9878
9879 \begin_inset Quotes eld
9880 \end_inset
9881
9882
9883 \begin_inset Flex Code
9884 status collapsed
9885
9886 \begin_layout Plain Layout
9887 Short Title|S
9888 \end_layout
9889
9890 \end_inset
9891
9892
9893 \begin_inset Quotes erd
9894 \end_inset
9895
9896 ).
9897 \end_layout
9898
9899 \begin_layout Itemize
9900 \begin_inset Flex Code
9901 status collapsed
9902
9903 \begin_layout Plain Layout
9904 MenuString
9905 \end_layout
9906
9907 \end_inset
9908
9909  
9910 \begin_inset Flex Code
9911 status collapsed
9912
9913 \begin_layout Plain Layout
9914 [文字列]
9915 \end_layout
9916
9917 \end_inset
9918
9919  メニュー単独用の文字列.後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9920 \begin_inset space \space{}
9921 \end_inset
9922
9923
9924 \begin_inset Quotes eld
9925 \end_inset
9926
9927
9928 \begin_inset Flex Code
9929 status collapsed
9930
9931 \begin_layout Plain Layout
9932 Short Title|S
9933 \end_layout
9934
9935 \end_inset
9936
9937
9938 \begin_inset Quotes erd
9939 \end_inset
9940
9941 ).この指定は必須ではありません.指定しない場合には,代わりに
9942 \begin_inset Flex Code
9943 status collapsed
9944
9945 \begin_layout Plain Layout
9946 LabelString
9947 \end_layout
9948
9949 \end_inset
9950
9951 がメニューに用いられます.
9952 \end_layout
9953
9954 \begin_layout Itemize
9955 \begin_inset Flex Code
9956 status collapsed
9957
9958 \begin_layout Plain Layout
9959 Tooltip
9960 \end_layout
9961
9962 \end_inset
9963
9964  
9965 \begin_inset Flex Code
9966 status collapsed
9967
9968 \begin_layout Plain Layout
9969 [文字列]
9970 \end_layout
9971
9972 \end_inset
9973
9974  引数差込枠にマウスをかざしたときに現れるツールチップに表示される長めの説明文.
9975 \end_layout
9976
9977 \begin_layout Itemize
9978 \begin_inset Flex Code
9979 status collapsed
9980
9981 \begin_layout Plain Layout
9982 Mandatory
9983 \end_layout
9984
9985 \end_inset
9986
9987  [
9988 \begin_inset Flex Code
9989 status collapsed
9990
9991 \begin_layout Plain Layout
9992
9993 \emph on
9994 0
9995 \end_layout
9996
9997 \end_inset
9998
9999 ,
10000 \begin_inset space \thinspace{}
10001 \end_inset
10002
10003
10004 \begin_inset Flex Code
10005 status collapsed
10006
10007 \begin_layout Plain Layout
10008 1
10009 \end_layout
10010
10011 \end_inset
10012
10013 ] これが必須の引数なのか(1)非必須の引数なのか(0)を宣言します.必須引数は,与えられなければ空の出力を行いますが,非必須引数の場合はそもそも出力されません
10014 .既定では,必須引数は
10015 \begin_inset Flex Code
10016 status collapsed
10017
10018 \begin_layout Plain Layout
10019 {...}
10020 \end_layout
10021
10022 \end_inset
10023
10024 で区切られ,非必須引数は
10025 \begin_inset Flex Code
10026 status collapsed
10027
10028 \begin_layout Plain Layout
10029 [...]
10030 \end_layout
10031
10032 \end_inset
10033
10034 で区切られます.
10035 \end_layout
10036
10037 \begin_layout Itemize
10038 \begin_inset Flex Code
10039 status collapsed
10040
10041 \begin_layout Plain Layout
10042 Requires
10043 \end_layout
10044
10045 \end_inset
10046
10047  
10048 \begin_inset Flex Code
10049 status collapsed
10050
10051 \begin_layout Plain Layout
10052 [整数=0]
10053 \end_layout
10054
10055 \end_inset
10056
10057  この引数が出力されるとき,必要となる別の引数を(番号によって)指定します.例えば,\SpecialChar LaTeX
10058 コマンドでは,
10059 \begin_inset Flex Code
10060 status collapsed
10061
10062 \begin_layout Plain Layout
10063
10064 \backslash
10065 command[][引数]{文字列}
10066 \end_layout
10067
10068 \end_inset
10069
10070 のように,前に(少なくとも空の)別の非必須引数を要求する非必須引数があります.これは,
10071 \begin_inset Flex Code
10072 status collapsed
10073
10074 \begin_layout Plain Layout
10075 Argument 2
10076 \end_layout
10077
10078 \end_inset
10079
10080 中に
10081 \begin_inset Flex Code
10082 status collapsed
10083
10084 \begin_layout Plain Layout
10085 Requires 1
10086 \end_layout
10087
10088 \end_inset
10089
10090 ステートメントを置くことで実現できます.
10091 \end_layout
10092
10093 \begin_layout Itemize
10094 \begin_inset Flex Code
10095 status collapsed
10096
10097 \begin_layout Plain Layout
10098 LeftDelim
10099 \end_layout
10100
10101 \end_inset
10102
10103  
10104 \begin_inset Flex Code
10105 status collapsed
10106
10107 \begin_layout Plain Layout
10108 [文字列]
10109 \end_layout
10110
10111 \end_inset
10112
10113  (
10114 \begin_inset Flex Code
10115 status collapsed
10116
10117 \begin_layout Plain Layout
10118 {
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 <br/>
10139 \end_layout
10140
10141 \end_inset
10142
10143 で指示できます.
10144 \end_layout
10145
10146 \begin_layout Itemize
10147 \begin_inset Flex Code
10148 status collapsed
10149
10150 \begin_layout Plain Layout
10151 RightDelim
10152 \end_layout
10153
10154 \end_inset
10155
10156  
10157 \begin_inset Flex Code
10158 status collapsed
10159
10160 \begin_layout Plain Layout
10161 [文字列]
10162 \end_layout
10163
10164 \end_inset
10165
10166  (
10167 \begin_inset Flex Code
10168 status collapsed
10169
10170 \begin_layout Plain Layout
10171 }
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 <br/>
10192 \end_layout
10193
10194 \end_inset
10195
10196 で指示できます.
10197 \end_layout
10198
10199 \begin_layout Itemize
10200 \begin_inset Flex Code
10201 status collapsed
10202
10203 \begin_layout Plain Layout
10204 DefaultArg
10205 \end_layout
10206
10207 \end_inset
10208
10209  
10210 \begin_inset Flex Code
10211 status collapsed
10212
10213 \begin_layout Plain Layout
10214 [文字列]
10215 \end_layout
10216
10217 \end_inset
10218
10219  ユーザー指定引数が与えられなかったとき,すなわち引数差込枠が挿入されなかったときに限り,挿入される引数を定義します(空の引数差込枠が挿入されてもDefault
10220 Argは無効になることに注意してください).引数が複数のときはコンマで区切る必要があります.
10221 \end_layout
10222
10223 \begin_layout Itemize
10224 \begin_inset Flex Code
10225 status collapsed
10226
10227 \begin_layout Plain Layout
10228 PresetArg
10229 \end_layout
10230
10231 \end_inset
10232
10233  
10234 \begin_inset Flex Code
10235 status collapsed
10236
10237 \begin_layout Plain Layout
10238 [文字列]
10239 \end_layout
10240
10241 \end_inset
10242
10243  どのような場合にも(単独もしくはユーザー定義引数とともに)挿入される引数を定義します.引数が複数のときはコンマで区切る必要があります.
10244 \end_layout
10245
10246 \begin_layout Itemize
10247 \begin_inset Flex Code
10248 status collapsed
10249
10250 \begin_layout Plain Layout
10251 Font
10252 \end_layout
10253
10254 \end_inset
10255
10256  引数の内容に用いられるフォント.
10257 \begin_inset CommandInset ref
10258 LatexCommand ref
10259 reference "subsec:フォント指定"
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 LabelFont
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 Decoration
10292 \end_layout
10293
10294 \end_inset
10295
10296  [
10297 \begin_inset Flex Code
10298 status collapsed
10299
10300 \begin_layout Plain Layout
10301
10302 \emph on
10303 Classic
10304 \emph default
10305 , Minimalistic, Conglomerate
10306 \end_layout
10307
10308 \end_inset
10309
10310 ] 差込枠の枠とボタンに用いられる装飾様式.
10311 \end_layout
10312
10313 \begin_layout Itemize
10314 \begin_inset Flex Code
10315 status collapsed
10316
10317 \begin_layout Plain Layout
10318 AutoInsert
10319 \end_layout
10320
10321 \end_inset
10322
10323  
10324 \begin_inset Flex Code
10325 status collapsed
10326
10327 \begin_layout Plain Layout
10328 [整数=0]
10329 \end_layout
10330
10331 \end_inset
10332
10333  これが
10334 \begin_inset Flex Code
10335 status collapsed
10336
10337 \begin_layout Plain Layout
10338 1
10339 \end_layout
10340
10341 \end_inset
10342
10343 に設定されると,各様式が選択されたときに,この引数が自動的に挿入されます.現在のところ,様式・レイアウト毎に1変数のみ自動挿入することができます.
10344 \end_layout
10345
10346 \begin_layout Itemize
10347 \begin_inset Flex Code
10348 status collapsed
10349
10350 \begin_layout Plain Layout
10351 InsertCotext
10352 \end_layout
10353
10354 \end_inset
10355
10356  
10357 \begin_inset Flex Code
10358 status collapsed
10359
10360 \begin_layout Plain Layout
10361 [整数=0]
10362 \end_layout
10363
10364 \end_inset
10365
10366  これが
10367 \begin_inset Flex Code
10368 status collapsed
10369
10370 \begin_layout Plain Layout
10371 1
10372 \end_layout
10373
10374 \end_inset
10375
10376 に設定されると,この引数は,副文(選択した文ないしは段落全体)のコピーを内容にとって挿入されます.
10377 \end_layout
10378
10379 \begin_layout Itemize
10380 \begin_inset Flex Code
10381 status collapsed
10382
10383 \begin_layout Plain Layout
10384 PassThru
10385 \end_layout
10386
10387 \end_inset
10388
10389  [
10390 \begin_inset Flex Code
10391 status collapsed
10392
10393 \begin_layout Plain Layout
10394
10395 \emph on
10396 inherited
10397 \emph default
10398 , true, false
10399 \end_layout
10400
10401 \end_inset
10402
10403 ] この引数の内容が,\SpecialChar LaTeX
10404 が要求する特別な書き換えを行うことなく,原文のまま出力されるべきかどうかを指定します.既定値では,
10405 \begin_inset Flex Code
10406 status collapsed
10407
10408 \begin_layout Plain Layout
10409 PassThru
10410 \end_layout
10411
10412 \end_inset
10413
10414 の状態は,引数が属する差込枠または段落レイアウトに継承されます.trueまたはfalseは,この引数のみの状態を変更します.
10415 \end_layout
10416
10417 \begin_layout Itemize
10418 \begin_inset Flex Code
10419 status collapsed
10420
10421 \begin_layout Plain Layout
10422 PassThruChars
10423 \end_layout
10424
10425 \end_inset
10426
10427  [
10428 \begin_inset Flex Code
10429 status collapsed
10430
10431 \begin_layout Plain Layout
10432 文字列
10433 \end_layout
10434
10435 \end_inset
10436
10437 ]
10438 \family typewriter
10439  
10440 \family default
10441 \SpecialChar LaTeX
10442 が要求する特別な翻訳は抜きにして,生の形で出力されるべき各文字を定義します.PassThruとは違って,引数用に,これは明示的に定義されなくてはなりません.つま
10443 り,引数は,親差込枠や親レイアウトからPassThruCharsを継承しません.
10444 \end_layout
10445
10446 \begin_layout Itemize
10447 \begin_inset Flex Code
10448 status collapsed
10449
10450 \begin_layout Plain Layout
10451 IsTocCaption
10452 \end_layout
10453
10454 \end_inset
10455
10456  [
10457 \begin_inset Flex Code
10458 status collapsed
10459
10460 \begin_layout Plain Layout
10461
10462 \emph on
10463 0
10464 \end_layout
10465
10466 \end_inset
10467
10468 ,
10469 \begin_inset space \thinspace{}
10470 \end_inset
10471
10472
10473 \begin_inset Flex Code
10474 status collapsed
10475
10476 \begin_layout Plain Layout
10477 1
10478 \end_layout
10479
10480 \end_inset
10481
10482 ] これを1に設定すると,引数は,その内容を対応する一覧表の項目に出力します.AddToTocを参照.
10483 \end_layout
10484
10485 \begin_layout Standard
10486 既定では,
10487 \begin_inset Flex Code
10488 status collapsed
10489
10490 \begin_layout Plain Layout
10491 LatexType
10492 \end_layout
10493
10494 \end_inset
10495
10496
10497 \begin_inset Flex Code
10498 status collapsed
10499
10500 \begin_layout Plain Layout
10501 Command
10502 \end_layout
10503
10504 \end_inset
10505
10506 のとき,各レイアウトで\SpecialChar LyX
10507 作業領域に入力した文字列は,コマンドの最後の(必須)引数になります.しかしながら,前置句
10508 \begin_inset Flex Code
10509 status collapsed
10510
10511 \begin_layout Plain Layout
10512 post:
10513 \end_layout
10514
10515 \end_inset
10516
10517 を付けた文字列は,この作業領域引数の後に出力されます.後置引数の番号は1から振られ直されますので,作業領域引数の後の最初の引数は
10518 \begin_inset Flex Code
10519 status collapsed
10520
10521 \begin_layout Plain Layout
10522 post:1
10523 \end_layout
10524
10525 \end_inset
10526
10527 となります.後置引数は,
10528 \begin_inset Flex Code
10529 status collapsed
10530
10531 \begin_layout Plain Layout
10532 Command
10533 \end_layout
10534
10535 \end_inset
10536
10537 以外の
10538 \begin_inset Flex Code
10539 status collapsed
10540
10541 \begin_layout Plain Layout
10542 LatexType
10543 \end_layout
10544
10545 \end_inset
10546
10547 では無視されます.
10548 \end_layout
10549
10550 \begin_layout Standard
10551 (
10552 \begin_inset Flex Code
10553 status collapsed
10554
10555 \begin_layout Plain Layout
10556
10557 \backslash
10558 item[foo]
10559 \end_layout
10560
10561 \end_inset
10562
10563 のような)箇条書き
10564 \begin_inset Flex Code
10565 status collapsed
10566
10567 \begin_layout Plain Layout
10568
10569 \backslash
10570 item
10571 \end_layout
10572
10573 \end_inset
10574
10575 の引数は,前置句
10576 \begin_inset Flex Code
10577 status collapsed
10578
10579 \begin_layout Plain Layout
10580 item:
10581 \end_layout
10582
10583 \end_inset
10584
10585 の後に番号を付けます(例:
10586 \begin_inset Flex Code
10587 status collapsed
10588
10589 \begin_layout Plain Layout
10590 Argument item:1
10591 \end_layout
10592
10593 \end_inset
10594
10595 ).
10596 \end_layout
10597
10598 \end_deeper
10599 \begin_layout Description
10600
10601 \lang english
10602 \begin_inset Flex Code
10603 status collapsed
10604
10605 \begin_layout Plain Layout
10606
10607 \lang english
10608 AutoNests
10609 \end_layout
10610
10611 \end_inset
10612
10613  Includes a comma-separated list of layouts that should be nested in and
10614  after the current layout.
10615  Only makes sense for nestable layouts (such as environments).
10616  Must be ended by 
10617 \begin_inset Quotes eld
10618 \end_inset
10619
10620
10621 \begin_inset Flex Code
10622 status collapsed
10623
10624 \begin_layout Plain Layout
10625
10626 \lang english
10627 EndAutoNests
10628 \end_layout
10629
10630 \end_inset
10631
10632
10633 \begin_inset Quotes erd
10634 \end_inset
10635
10636 .
10637  See also 
10638 \begin_inset Flex Code
10639 status collapsed
10640
10641 \begin_layout Plain Layout
10642
10643 \lang english
10644 IsAutoNestedBy
10645 \end_layout
10646
10647 \end_inset
10648
10649 .
10650 \end_layout
10651
10652 \begin_layout Description
10653 \begin_inset Flex Code
10654 status collapsed
10655
10656 \begin_layout Plain Layout
10657 BabelPreamble
10658 \end_layout
10659
10660 \end_inset
10661
10662  これは,前に現れたこの様式の
10663 \begin_inset Flex Code
10664 status collapsed
10665
10666 \begin_layout Plain Layout
10667 BabelPreamble
10668 \end_layout
10669
10670 \end_inset
10671
10672 宣言をすべて,完全に上書きしますので注意してください.「
10673 \begin_inset Flex Code
10674 status collapsed
10675
10676 \begin_layout Plain Layout
10677 EndBabelPreamble
10678 \end_layout
10679
10680 \end_inset
10681
10682 」で閉じる必要があります.これの利用法についての詳細は,第
10683 \begin_inset CommandInset ref
10684 LatexCommand ref
10685 reference "subsec:段落様式の国際化"
10686
10687 \end_inset
10688
10689 節をご覧ください.
10690 \end_layout
10691
10692 \begin_layout Description
10693 \begin_inset Flex Code
10694 status collapsed
10695
10696 \begin_layout Plain Layout
10697 BottomSep
10698 \end_layout
10699
10700 \end_inset
10701
10702  [
10703 \begin_inset Flex Code
10704 status collapsed
10705
10706 \begin_layout Plain Layout
10707 浮動小数点型=0
10708 \end_layout
10709
10710 \end_inset
10711
10712 ]
10713 \begin_inset Foot
10714 status collapsed
10715
10716 \begin_layout Plain Layout
10717 ここで「浮動小数点型」とは1.5のような実数を指します.
10718 \end_layout
10719
10720 \end_inset
10721
10722  このレイアウト型の段落塊の最後の段落と,次の段落とを分離する垂直空白.次の段落が別のレイアウト型である場合,分離幅は足し上げられるのではなく,最大値がとられま
10723 す.
10724 \end_layout
10725
10726 \begin_layout Description
10727 \begin_inset Flex Code
10728 status collapsed
10729
10730 \begin_layout Plain Layout
10731 Category
10732 \end_layout
10733
10734 \end_inset
10735
10736  [
10737 \begin_inset Flex Code
10738 status collapsed
10739
10740 \begin_layout Plain Layout
10741 文字列
10742 \end_layout
10743
10744 \end_inset
10745
10746 ] この様式のカテゴリです.これは,ツールバーのレイアウト・コンボボックスで関連した様式をグループ化するのに用いられます.任意の文字列を使用することができますが
10747 ,作成した様式に既存のカテゴリを使用したいと思うことが多いでしょう.
10748 \end_layout
10749
10750 \begin_layout Description
10751 \begin_inset Flex Code
10752 status collapsed
10753
10754 \begin_layout Plain Layout
10755 CommandDepth
10756 \end_layout
10757
10758 \end_inset
10759
10760  XMLコマンドの深度.XML型の書式でのみ使用されます.
10761 \end_layout
10762
10763 \begin_layout Description
10764 \begin_inset Flex Code
10765 status collapsed
10766
10767 \begin_layout Plain Layout
10768 CopyStyle
10769 \end_layout
10770
10771 \end_inset
10772
10773  [
10774 \begin_inset Flex Code
10775 status collapsed
10776
10777 \begin_layout Plain Layout
10778 文字列
10779 \end_layout
10780
10781 \end_inset
10782
10783 ] 既存の様式から,すべての機能を現在の様式にコピーします.
10784 \end_layout
10785
10786 \begin_layout Description
10787 \begin_inset Flex Code
10788 status collapsed
10789
10790 \begin_layout Plain Layout
10791 DependsOn
10792 \end_layout
10793
10794 \end_inset
10795
10796  [
10797 \begin_inset Flex Code
10798 status collapsed
10799
10800 \begin_layout Plain Layout
10801 <名称>
10802 \end_layout
10803
10804 \end_inset
10805
10806 ]
10807 \lang english
10808  
10809 \lang japanese
10810 この
10811 \emph on
10812 前に
10813 \emph default
10814 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,プリアンブルの断片の順序を確実にするためのものです
10815 \begin_inset Foot
10816 status collapsed
10817
10818 \begin_layout Plain Layout
10819 この機能以外には,プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
10820 の特定のバージョンで観察された順序は,将来のバージョンで警告なしに変わる可能性が
10821 あります.
10822 \end_layout
10823
10824 \end_inset
10825
10826
10827 \end_layout
10828
10829 \begin_layout Description
10830 \begin_inset Flex Code
10831 status collapsed
10832
10833 \begin_layout Plain Layout
10834 EndLabelType
10835 \end_layout
10836
10837 \end_inset
10838
10839  [
10840 \begin_inset Flex Code
10841 status collapsed
10842
10843 \begin_layout Plain Layout
10844
10845 \emph on
10846 No_Label
10847 \emph default
10848 , Box, Filled_Box, Static
10849 \end_layout
10850
10851 \end_inset
10852
10853 ] 段落の最後(あるいは
10854 \begin_inset Flex Code
10855 status collapsed
10856
10857 \begin_layout Plain Layout
10858 LatexType
10859 \end_layout
10860
10861 \end_inset
10862
10863 が,
10864 \begin_inset Flex Code
10865 status collapsed
10866
10867 \begin_layout Plain Layout
10868 Environment
10869 \end_layout
10870
10871 \end_inset
10872
10873
10874 \begin_inset Flex Code
10875 status collapsed
10876
10877 \begin_layout Plain Layout
10878 Item_Environment
10879 \end_layout
10880
10881 \end_inset
10882
10883
10884 \begin_inset Flex Code
10885 status collapsed
10886
10887 \begin_layout Plain Layout
10888 List_Environment
10889 \end_layout
10890
10891 \end_inset
10892
10893 のいずれかの場合は,段落群の最後)に置くラベル.
10894 \begin_inset Flex Code
10895 status collapsed
10896
10897 \begin_layout Plain Layout
10898 No_Label
10899 \end_layout
10900
10901 \end_inset
10902
10903 の場合は「何もない」ことを指し,
10904 \begin_inset Flex Code
10905 status collapsed
10906
10907 \begin_layout Plain Layout
10908 Box
10909 \end_layout
10910
10911 \end_inset
10912
10913 (あるいは
10914 \begin_inset Flex Code
10915 status collapsed
10916
10917 \begin_layout Plain Layout
10918 Filled_Box
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 \end_layout
10935
10936 \begin_layout Description
10937 \begin_inset Flex Code
10938 status collapsed
10939
10940 \begin_layout Plain Layout
10941 EndLabelString
10942 \end_layout
10943
10944 \end_inset
10945
10946  [
10947 \begin_inset Flex Code
10948 status collapsed
10949
10950 \begin_layout Plain Layout
10951 文字列=""
10952 \end_layout
10953
10954 \end_inset
10955
10956
10957 \begin_inset Flex Code
10958 status collapsed
10959
10960 \begin_layout Plain Layout
10961 Static
10962 \end_layout
10963
10964 \end_inset
10965
10966
10967 \begin_inset Flex Code
10968 status collapsed
10969
10970 \begin_layout Plain Layout
10971 EndLabelType
10972 \end_layout
10973
10974 \end_inset
10975
10976 のラベルで用いる文字列.
10977 \end_layout
10978
10979 \begin_layout Description
10980 \begin_inset Flex Code
10981 status collapsed
10982
10983 \begin_layout Plain Layout
10984 Font
10985 \end_layout
10986
10987 \end_inset
10988
10989  本文テキストとラベルの
10990 \emph on
10991 両方で
10992 \emph default
10993 用いられるフォント.第
10994 \begin_inset CommandInset ref
10995 LatexCommand ref
10996 reference "subsec:フォント指定"
10997
10998 \end_inset
10999
11000 節を参照.このフォントを定義すると,自動的に
11001 \begin_inset Flex Code
11002 status collapsed
11003
11004 \begin_layout Plain Layout
11005 LabelFont
11006 \end_layout
11007
11008 \end_inset
11009
11010 も同じ値で定義されることに注意してください.したがって,
11011 \begin_inset Flex Code
11012 status collapsed
11013
11014 \begin_layout Plain Layout
11015 LabelFont
11016 \end_layout
11017
11018 \end_inset
11019
11020 も同時に定義したい場合には,これを先に定義してください.
11021 \end_layout
11022
11023 \begin_layout Description
11024 \begin_inset Flex Code
11025 status collapsed
11026
11027 \begin_layout Plain Layout
11028 ForceLocal
11029 \end_layout
11030
11031 \end_inset
11032
11033  [
11034 \begin_inset Flex Code
11035 status collapsed
11036
11037 \begin_layout Plain Layout
11038 int=0
11039 \end_layout
11040
11041 \end_inset
11042
11043 ] 新しい様式を\SpecialChar LyX
11044 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
11045  2.1.0です.引数は数字で,0・-1・1以上の任意の数をとることが
11046 できます.様式の
11047 \begin_inset Flex Code
11048 status collapsed
11049
11050 \begin_layout Plain Layout
11051 ForceLocal
11052 \end_layout
11053
11054 \end_inset
11055
11056 フラグが1以上ならば,これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,文書ヘッダからの様式定義が文書クラスに追加されます.したがって,古い
11057 版の\SpecialChar LyX
11058 もこの様式を取り扱えるようになります.
11059 \begin_inset Flex Code
11060 status collapsed
11061
11062 \begin_layout Plain Layout
11063 ForceLocal
11064 \end_layout
11065
11066 \end_inset
11067
11068 の引数は版数です.様式が読み込まれたときに,文書クラス中の既存の様式の版数よりも小さいと,新しい様式は無視されます.版数が大きいと,既存の様式に代わって新しい様
11069 式が用いられます.値-1は無限大の版数を意味し,この様式が常に用いられることになります.
11070 \end_layout
11071
11072 \begin_layout Description
11073 \begin_inset Flex Code
11074 status collapsed
11075
11076 \begin_layout Plain Layout
11077 FreeSpacing
11078 \end_layout
11079
11080 \end_inset
11081
11082  [
11083 \emph on
11084
11085 \begin_inset Flex Code
11086 status collapsed
11087
11088 \begin_layout Plain Layout
11089 0
11090 \end_layout
11091
11092 \end_inset
11093
11094
11095 \emph default
11096 ,
11097 \begin_inset space \thinspace{}
11098 \end_inset
11099
11100
11101 \begin_inset Flex Code
11102 status collapsed
11103
11104 \begin_layout Plain Layout
11105 1
11106 \end_layout
11107
11108 \end_inset
11109
11110 ] \SpecialChar LyX
11111 は,空白をそれ自体文字や記号ではなく,2つの単語の間の分割子として捉えているため,単語間に2つ以上の空白を入れることは,通常許可していません.これ自体はとて
11112 も素晴らしいことですが,たとえばプログラムコードや生の\SpecialChar LaTeX
11113 コードを入力しようとするときなどに,煩わしくなることがあります.このことから,
11114 \begin_inset Flex Code
11115 status collapsed
11116
11117 \begin_layout Plain Layout
11118 FreeSpacing
11119 \end_layout
11120
11121 \end_inset
11122
11123 を有効にすることが認められています.\SpecialChar LyX
11124 は,\SpecialChar LaTeX
11125 モード以外では2つめ以降の空白には,保護された空白を使用することに注意してください.
11126 \end_layout
11127
11128 \begin_layout Description
11129 \begin_inset Flex Code
11130 status collapsed
11131
11132 \begin_layout Plain Layout
11133 HTML*
11134 \end_layout
11135
11136 \end_inset
11137
11138  これらのタグは,XHTML出力で使用されます.第
11139 \begin_inset CommandInset ref
11140 LatexCommand ref
11141 reference "subsec:段落様式-XHTML"
11142
11143 \end_inset
11144
11145 節をご覧ください.
11146 \end_layout
11147
11148 \begin_layout Description
11149 \begin_inset Flex Code
11150 status collapsed
11151
11152 \begin_layout Plain Layout
11153 InnerTag
11154 \end_layout
11155
11156 \end_inset
11157
11158  [[FIXME]] (XML型書式でのみ使用されます.)
11159 \end_layout
11160
11161 \begin_layout Description
11162 \begin_inset Flex Code
11163 status collapsed
11164
11165 \begin_layout Plain Layout
11166 InPreamble
11167 \end_layout
11168
11169 \end_inset
11170
11171  [
11172 \emph on
11173
11174 \begin_inset Flex Code
11175 status collapsed
11176
11177 \begin_layout Plain Layout
11178 0
11179 \end_layout
11180
11181 \end_inset
11182
11183
11184 \emph default
11185 ,
11186 \begin_inset space \thinspace{}
11187 \end_inset
11188
11189
11190 \begin_inset Flex Code
11191 status collapsed
11192
11193 \begin_layout Plain Layout
11194 1
11195 \end_layout
11196
11197 \end_inset
11198
11199
11200 \begin_inset Flex Code
11201 status collapsed
11202
11203 \begin_layout Plain Layout
11204 1
11205 \end_layout
11206
11207 \end_inset
11208
11209 の場合,様式が文書本体ではなく,文書プリアンブルにインクルードされるようにします.これは,タイトルや著者の情報をプリアンブルで設定する必要のある文書クラスに便利
11210 です.これは,
11211 \begin_inset Flex Code
11212 status collapsed
11213
11214 \begin_layout Plain Layout
11215 LatexType
11216 \end_layout
11217
11218 \end_inset
11219
11220
11221 \begin_inset Flex Code
11222 status collapsed
11223
11224 \begin_layout Plain Layout
11225 Command
11226 \end_layout
11227
11228 \end_inset
11229
11230 または
11231 \begin_inset Flex Code
11232 status collapsed
11233
11234 \begin_layout Plain Layout
11235 Paragraph
11236 \end_layout
11237
11238 \end_inset
11239
11240 の様式に対してのみ動作します.
11241 \end_layout
11242
11243 \begin_layout Description
11244 \begin_inset Flex Code
11245 status collapsed
11246
11247 \begin_layout Plain Layout
11248 InTitle
11249 \end_layout
11250
11251 \end_inset
11252
11253  [
11254 \emph on
11255
11256 \begin_inset Flex Code
11257 status collapsed
11258
11259 \begin_layout Plain Layout
11260 0
11261 \end_layout
11262
11263 \end_inset
11264
11265
11266 \emph default
11267 ,
11268 \begin_inset space \thinspace{}
11269 \end_inset
11270
11271
11272 \begin_inset Flex Code
11273 status collapsed
11274
11275 \begin_layout Plain Layout
11276 1
11277 \end_layout
11278
11279 \end_inset
11280
11281
11282 \begin_inset Flex Code
11283 status collapsed
11284
11285 \begin_layout Plain Layout
11286 1
11287 \end_layout
11288
11289 \end_inset
11290
11291 の場合,このレイアウトをタイトルブロックの一部としてマークします(大域項目の
11292 \begin_inset Flex Code
11293 status collapsed
11294
11295 \begin_layout Plain Layout
11296 TitleLatexType
11297 \end_layout
11298
11299 \end_inset
11300
11301
11302 \begin_inset Flex Code
11303 status collapsed
11304
11305 \begin_layout Plain Layout
11306 TitleLatexName
11307 \end_layout
11308
11309 \end_inset
11310
11311 も参照).
11312 \end_layout
11313
11314 \begin_layout Description
11315
11316 \lang english
11317 \begin_inset Flex Code
11318 status collapsed
11319
11320 \begin_layout Plain Layout
11321
11322 \lang english
11323 IsAutoNestedBy
11324 \end_layout
11325
11326 \end_inset
11327
11328  Includes a comma-separated list of layouts after which this one should
11329  be nested.
11330  Only makes sense with regard to nestable layouts (such as environments).
11331  Must be ended by 
11332 \begin_inset Quotes eld
11333 \end_inset
11334
11335
11336 \begin_inset Flex Code
11337 status collapsed
11338
11339 \begin_layout Plain Layout
11340
11341 \lang english
11342 EndIsAutoNestedBy
11343 \end_layout
11344
11345 \end_inset
11346
11347
11348 \begin_inset Quotes erd
11349 \end_inset
11350
11351 .
11352  See also 
11353 \begin_inset Flex Code
11354 status collapsed
11355
11356 \begin_layout Plain Layout
11357
11358 \lang english
11359 AutoNests
11360 \end_layout
11361
11362 \end_inset
11363
11364 .
11365 \end_layout
11366
11367 \begin_layout Description
11368 \begin_inset Flex Code
11369 status collapsed
11370
11371 \begin_layout Plain Layout
11372 IsTocCaption
11373 \end_layout
11374
11375 \end_inset
11376
11377  [
11378 \begin_inset Flex Code
11379 status collapsed
11380
11381 \begin_layout Plain Layout
11382
11383 \emph on
11384 0
11385 \end_layout
11386
11387 \end_inset
11388
11389 ,
11390 \begin_inset space \thinspace{}
11391 \end_inset
11392
11393
11394 \begin_inset Flex Code
11395 status collapsed
11396
11397 \begin_layout Plain Layout
11398 1
11399 \end_layout
11400
11401 \end_inset
11402
11403 ] これを1に設定すると,AddToTocが有効になり,段落は,その内容の要約を一覧表の項目に表示します.0に設定すると,ラベルが存在すれば,それのみが表示され
11404 ます.
11405 \end_layout
11406
11407 \begin_layout Description
11408 \begin_inset Flex Code
11409 status collapsed
11410
11411 \begin_layout Plain Layout
11412 ItemCommand
11413 \end_layout
11414
11415 \end_inset
11416
11417  [
11418 \begin_inset Flex Code
11419 status collapsed
11420
11421 \begin_layout Plain Layout
11422 文字列="item"
11423 \end_layout
11424
11425 \end_inset
11426
11427 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
11428 コマンド.コマンドは,前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,\SpecialChar LaTeX
11429 出力中では
11430 \begin_inset Flex Code
11431 status collapsed
11432
11433 \begin_layout Plain Layout
11434
11435 \backslash
11436 item
11437 \end_layout
11438
11439 \end_inset
11440
11441 となります).
11442 \end_layout
11443
11444 \begin_layout Description
11445 \begin_inset Flex Code
11446 status collapsed
11447
11448 \begin_layout Plain Layout
11449 ItemSep
11450 \end_layout
11451
11452 \end_inset
11453
11454  [
11455 \begin_inset Flex Code
11456 status collapsed
11457
11458 \begin_layout Plain Layout
11459 浮動小数点型=0
11460 \end_layout
11461
11462 \end_inset
11463
11464 ] これは,同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,それぞれのレイアウトは,その環境の
11465 \begin_inset Flex Code
11466 status collapsed
11467
11468 \begin_layout Plain Layout
11469 ParSep
11470 \end_layout
11471
11472 \end_inset
11473
11474 だけ分離されます.しかし,その環境の項目全体は,さらにこの
11475 \begin_inset Flex Code
11476 status collapsed
11477
11478 \begin_layout Plain Layout
11479 ItemSep
11480 \end_layout
11481
11482 \end_inset
11483
11484 分だけ離されます.これは
11485 \emph on
11486 乗数
11487 \emph default
11488 であることに注意してください.
11489 \end_layout
11490
11491 \begin_layout Description
11492 \begin_inset Flex Code
11493 status collapsed
11494
11495 \begin_layout Plain Layout
11496 ItemTag
11497 \end_layout
11498
11499 \end_inset
11500
11501  [[FIXME]] (XML型書式でのみ使用されます.)
11502 \end_layout
11503
11504 \begin_layout Description
11505 \begin_inset Flex Code
11506 status collapsed
11507
11508 \begin_layout Plain Layout
11509 KeepEmpty
11510 \end_layout
11511
11512 \end_inset
11513
11514  [
11515 \emph on
11516
11517 \begin_inset Flex Code
11518 status collapsed
11519
11520 \begin_layout Plain Layout
11521 0
11522 \end_layout
11523
11524 \end_inset
11525
11526
11527 \emph default
11528 ,
11529 \begin_inset space \thinspace{}
11530 \end_inset
11531
11532
11533 \begin_inset Flex Code
11534 status collapsed
11535
11536 \begin_layout Plain Layout
11537 1
11538 \end_layout
11539
11540 \end_inset
11541
11542 ] 段落を空のままにすると,\SpecialChar LaTeX
11543 出力が空になってしまうので,通常,\SpecialChar LyX
11544 は段落を空にすることを許可しません.しかしながら,これを無効にすることが望ましい場合が存在します.
11545 たとえば,書簡のひな型では,必須フィールドを人々が忘れないように,空のフィールドのまま提供する手もあります.特別なクラスにおいては,レイアウトを実際には文章を含
11546 まないある種の改行として使用することもあります.
11547 \end_layout
11548
11549 \begin_layout Description
11550 \begin_inset Flex Code
11551 status collapsed
11552
11553 \begin_layout Plain Layout
11554 LabelBottomsep
11555 \end_layout
11556
11557 \end_inset
11558
11559  [
11560 \begin_inset Flex Code
11561 status collapsed
11562
11563 \begin_layout Plain Layout
11564 浮動小数点型=0
11565 \end_layout
11566
11567 \end_inset
11568
11569 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
11570 \begin_inset Flex Code
11571 status collapsed
11572
11573 \begin_layout Plain Layout
11574 Top_Environment
11575 \end_layout
11576
11577 \end_inset
11578
11579 および
11580 \begin_inset Newline linebreak
11581 \end_inset
11582
11583
11584 \begin_inset Flex Code
11585 status collapsed
11586
11587 \begin_layout Plain Layout
11588 Centered_Top_Environment
11589 \end_layout
11590
11591 \end_inset
11592
11593 ).
11594 \end_layout
11595
11596 \begin_layout Description
11597 \begin_inset Flex Code
11598 status collapsed
11599
11600 \begin_layout Plain Layout
11601 LabelCounter
11602 \end_layout
11603
11604 \end_inset
11605
11606  [
11607 \begin_inset Flex Code
11608 status collapsed
11609
11610 \begin_layout Plain Layout
11611 文字列=""
11612 \end_layout
11613
11614 \end_inset
11615
11616 ] 自動連番に使われるカウンタ名(詳しくは第
11617 \begin_inset CommandInset ref
11618 LatexCommand ref
11619 reference "subsec:カウンタ"
11620 plural "false"
11621 caps "false"
11622 noprefix "false"
11623
11624 \end_inset
11625
11626 節参照).カウンタがラベル中に表示されるようにするためには,
11627 \begin_inset Flex Code
11628 status collapsed
11629
11630 \begin_layout Plain Layout
11631 LabelString
11632 \end_layout
11633
11634 \end_inset
11635
11636 中で参照する必要があります.これは,少なくとも
11637 \begin_inset Flex Code
11638 status collapsed
11639
11640 \begin_layout Plain Layout
11641 Static
11642 \end_layout
11643
11644 \end_inset
11645
11646
11647 \begin_inset Flex Code
11648 status collapsed
11649
11650 \begin_layout Plain Layout
11651 Above
11652 \end_layout
11653
11654 \end_inset
11655
11656
11657 \begin_inset Flex Code
11658 status collapsed
11659
11660 \begin_layout Plain Layout
11661 Centered
11662 \end_layout
11663
11664 \end_inset
11665
11666 の各
11667 \begin_inset Flex Code
11668 status collapsed
11669
11670 \begin_layout Plain Layout
11671 LabelType
11672 \end_layout
11673
11674 \end_inset
11675
11676 で動作します.
11677 \begin_inset Newline newline
11678 \end_inset
11679
11680 また,
11681 \begin_inset Flex Code
11682 status collapsed
11683
11684 \begin_layout Plain Layout
11685 LabelType
11686 \end_layout
11687
11688 \end_inset
11689
11690
11691 \begin_inset Flex Code
11692 status collapsed
11693
11694 \begin_layout Plain Layout
11695 Enumerate
11696 \end_layout
11697
11698 \end_inset
11699
11700 型のときにも,若干複雑にはなりますが,本項目を使うことができます.たとえば,「
11701 \begin_inset Flex Code
11702 status collapsed
11703
11704 \begin_layout Plain Layout
11705 LabelCounter myenum
11706 \end_layout
11707
11708 \end_inset
11709
11710 」と宣言したものとしましょう.すると,\SpecialChar LaTeX
11711 におけるのと同様,実際に使われるカウンタは,
11712 \begin_inset Flex Code
11713 status collapsed
11714
11715 \begin_layout Plain Layout
11716 myenumi
11717 \end_layout
11718
11719 \end_inset
11720
11721
11722 \begin_inset Flex Code
11723 status collapsed
11724
11725 \begin_layout Plain Layout
11726 myenumii
11727 \end_layout
11728
11729 \end_inset
11730
11731
11732 \begin_inset Flex Code
11733 status collapsed
11734
11735 \begin_layout Plain Layout
11736 myenumii
11737 \end_layout
11738
11739 \end_inset
11740
11741
11742 \begin_inset Flex Code
11743 status collapsed
11744
11745 \begin_layout Plain Layout
11746 myenumiv
11747 \end_layout
11748
11749 \end_inset
11750
11751 のようになります.これらのカウンタは,全て別々に宣言されなくてはなりません.
11752 \begin_inset Newline newline
11753 \end_inset
11754
11755 カウンタの詳細については,
11756 \begin_inset CommandInset ref
11757 LatexCommand ref
11758 reference "subsec:カウンタ"
11759
11760 \end_inset
11761
11762 をご覧ください.
11763 \end_layout
11764
11765 \begin_layout Description
11766 \begin_inset Flex Code
11767 status collapsed
11768
11769 \begin_layout Plain Layout
11770 LabelFont
11771 \end_layout
11772
11773 \end_inset
11774
11775  ラベルに使用されるフォント.
11776 \begin_inset CommandInset ref
11777 LatexCommand ref
11778 reference "subsec:フォント指定"
11779
11780 \end_inset
11781
11782 を参照.
11783 \end_layout
11784
11785 \begin_layout Description
11786 \begin_inset Flex Code
11787 status collapsed
11788
11789 \begin_layout Plain Layout
11790 LabelIndent
11791 \end_layout
11792
11793 \end_inset
11794
11795  [
11796 \begin_inset Flex Code
11797 status collapsed
11798
11799 \begin_layout Plain Layout
11800 文字列=""
11801 \end_layout
11802
11803 \end_inset
11804
11805 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
11806 \end_layout
11807
11808 \begin_layout Description
11809 \begin_inset Flex Code
11810 status collapsed
11811
11812 \begin_layout Plain Layout
11813 LabelSep
11814 \end_layout
11815
11816 \end_inset
11817
11818  [
11819 \begin_inset Flex Code
11820 status collapsed
11821
11822 \begin_layout Plain Layout
11823 文字列=""
11824 \end_layout
11825
11826 \end_inset
11827
11828 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
11829 \end_layout
11830
11831 \begin_layout Description
11832 \begin_inset Flex Code
11833 status collapsed
11834
11835 \begin_layout Plain Layout
11836 LabelString
11837 \end_layout
11838
11839 \end_inset
11840
11841  [
11842 \begin_inset Flex Code
11843 status collapsed
11844
11845 \begin_layout Plain Layout
11846 文字列=""
11847 \end_layout
11848
11849 \end_inset
11850
11851
11852 \begin_inset Flex Code
11853 status collapsed
11854
11855 \begin_layout Plain Layout
11856 Static
11857 \end_layout
11858
11859 \end_inset
11860
11861 ラベル型でラベルに使用する文字列.
11862 \begin_inset Flex Code
11863 status collapsed
11864
11865 \begin_layout Plain Layout
11866 LabelCounter
11867 \end_layout
11868
11869 \end_inset
11870
11871 を設定している場合,
11872 \begin_inset CommandInset ref
11873 LatexCommand ref
11874 reference "subsec:カウンタ"
11875
11876 \end_inset
11877
11878 に述べられている特別な整形コマンドを含めることができます.
11879 \end_layout
11880
11881 \begin_layout Description
11882 \begin_inset Flex Code
11883 status collapsed
11884
11885 \begin_layout Plain Layout
11886 LabelStringAppendix
11887 \end_layout
11888
11889 \end_inset
11890
11891  [
11892 \begin_inset Flex Code
11893 status collapsed
11894
11895 \begin_layout Plain Layout
11896 文字列=""
11897 \end_layout
11898
11899 \end_inset
11900
11901 ] これは付録の中で
11902 \begin_inset Flex Code
11903 status collapsed
11904
11905 \begin_layout Plain Layout
11906 LabelString
11907 \end_layout
11908
11909 \end_inset
11910
11911 の代わりに用いられます.各
11912 \begin_inset Flex Code
11913 status collapsed
11914
11915 \begin_layout Plain Layout
11916 LabelString
11917 \end_layout
11918
11919 \end_inset
11920
11921 ステートメントは,
11922 \begin_inset Flex Code
11923 status collapsed
11924
11925 \begin_layout Plain Layout
11926 LabelStringAppendix
11927 \end_layout
11928
11929 \end_inset
11930
11931 をもリセットすることに注意してください.
11932 \end_layout
11933
11934 \begin_layout Description
11935 \begin_inset Flex Code
11936 status collapsed
11937
11938 \begin_layout Plain Layout
11939 LabelTag
11940 \end_layout
11941
11942 \end_inset
11943
11944  [FIXME] (XML型書式でのみ使用されます.)
11945 \end_layout
11946
11947 \begin_layout Description
11948 \begin_inset Flex Code
11949 status collapsed
11950
11951 \begin_layout Plain Layout
11952 LabelType
11953 \end_layout
11954
11955 \end_inset
11956
11957  [
11958 \begin_inset Flex Code
11959 status collapsed
11960
11961 \begin_layout Plain Layout
11962
11963 \emph on
11964 No_Label
11965 \emph default
11966 , Manual, Static, Above,
11967 \begin_inset Newline newline
11968 \end_inset
11969
11970 Centered, Sensitive, Enumerate,
11971 \begin_inset Newline newline
11972 \end_inset
11973
11974 Itemize, Bibliography
11975 \end_layout
11976
11977 \end_inset
11978
11979 ]
11980 \end_layout
11981
11982 \begin_deeper
11983 \begin_layout Description
11984 \begin_inset Flex Code
11985 status collapsed
11986
11987 \begin_layout Plain Layout
11988 Manual
11989 \end_layout
11990
11991 \end_inset
11992
11993  は,ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,保護された空白を使用してください.
11994 \end_layout
11995
11996 \begin_layout Description
11997 \begin_inset Flex Code
11998 status collapsed
11999
12000 \begin_layout Plain Layout
12001 Static
12002 \end_layout
12003
12004 \end_inset
12005
12006  は,ラベルが
12007 \begin_inset Flex Code
12008 status collapsed
12009
12010 \begin_layout Plain Layout
12011 LabelString
12012 \end_layout
12013
12014 \end_inset
12015
12016 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
12017 \begin_inset Flex Code
12018 status collapsed
12019
12020 \begin_layout Plain Layout
12021 LatexType
12022 \end_layout
12023
12024 \end_inset
12025
12026
12027 \begin_inset Flex Code
12028 status collapsed
12029
12030 \begin_layout Plain Layout
12031 Environment
12032 \end_layout
12033
12034 \end_inset
12035
12036 のときは,連続する同じ
12037 \begin_inset Flex Code
12038 status collapsed
12039
12040 \begin_layout Plain Layout
12041 Style
12042 \end_layout
12043
12044 \end_inset
12045
12046 の段落中,最初の段落にのみ表示されます.
12047 \end_layout
12048
12049 \begin_layout Description
12050 \begin_inset Flex Code
12051 status collapsed
12052
12053 \begin_layout Plain Layout
12054 Above
12055 \end_layout
12056
12057 \end_inset
12058
12059 および
12060 \begin_inset Flex Code
12061 status collapsed
12062
12063 \begin_layout Plain Layout
12064 Centered
12065 \end_layout
12066
12067 \end_inset
12068
12069  は,
12070 \begin_inset Flex Code
12071 status collapsed
12072
12073 \begin_layout Plain Layout
12074 Static
12075 \end_layout
12076
12077 \end_inset
12078
12079 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
12080 \end_layout
12081
12082 \begin_layout Description
12083 \begin_inset Flex Code
12084 status collapsed
12085
12086 \begin_layout Plain Layout
12087 Sensitive
12088 \end_layout
12089
12090 \end_inset
12091
12092  はキャプションラベルの「図」や「表」の特別な場合です.
12093 \begin_inset Flex Code
12094 status collapsed
12095
12096 \begin_layout Plain Layout
12097 Sensitive
12098 \end_layout
12099
12100 \end_inset
12101
12102 は,(ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,フロートに関連付けられたカウンタの値がNであるものとすると,「Float
12103 Type N」にハードコードされています.キャプションがフロートの外に挿入されると,
12104 \begin_inset Flex Code
12105 status collapsed
12106
12107 \begin_layout Plain Layout
12108 LabelString
12109 \end_layout
12110
12111 \end_inset
12112
12113 は「意味を成しません!」と表示されます.
12114 \end_layout
12115
12116 \begin_layout Description
12117 \begin_inset Flex Code
12118 status collapsed
12119
12120 \begin_layout Plain Layout
12121 Enumerate
12122 \end_layout
12123
12124 \end_inset
12125
12126  は,通常の連番ラベルを生成します.
12127 \lang english
12128 The number type needs to be set in the 
12129 \family sans
12130 Counter
12131 \family default
12132 , see 
12133 \lang japanese
12134
12135 \begin_inset CommandInset ref
12136 LatexCommand ref
12137 reference "subsec:カウンタ"
12138
12139 \end_inset
12140
12141
12142 \end_layout
12143
12144 \begin_layout Description
12145 \begin_inset Flex Code
12146 status collapsed
12147
12148 \begin_layout Plain Layout
12149 Itemize
12150 \end_layout
12151
12152 \end_inset
12153
12154  は,各階層でさまざまなブリットを生成します.
12155 \lang english
12156 The bullet types displayed can be set via 
12157 \begin_inset Flex Noun
12158 status collapsed
12159
12160 \begin_layout Plain Layout
12161
12162 \lang english
12163 Document\SpecialChar menuseparator
12164 Settings\SpecialChar menuseparator
12165 Bullets
12166 \end_layout
12167
12168 \end_inset
12169
12170 .
12171 \end_layout
12172
12173 \begin_layout Description
12174 \begin_inset Flex Code
12175 status collapsed
12176
12177 \begin_layout Plain Layout
12178 Bibliography
12179 \end_layout
12180
12181 \end_inset
12182
12183  は,
12184 \begin_inset Flex Code
12185 status collapsed
12186
12187 \begin_layout Plain Layout
12188 LatexType BibEnvironment
12189 \end_layout
12190
12191 \end_inset
12192
12193 とともにのみ使用されます.
12194 \end_layout
12195
12196 \end_deeper
12197 \begin_layout Description
12198 \begin_inset Flex Code
12199 status collapsed
12200
12201 \begin_layout Plain Layout
12202 LangPreamble
12203 \end_layout
12204
12205 \end_inset
12206
12207  これは,この様式で既に出現した
12208 \begin_inset Flex Code
12209 status collapsed
12210
12211 \begin_layout Plain Layout
12212 LangPreamble
12213 \end_layout
12214
12215 \end_inset
12216
12217 宣言をすべて,完全に上書きしますので,注意してください.使用法についての詳細は,
12218 \begin_inset CommandInset ref
12219 LatexCommand ref
12220 reference "subsec:段落様式の国際化"
12221
12222 \end_inset
12223
12224 をご覧ください.
12225 \end_layout
12226
12227 \begin_layout Description
12228 \begin_inset Flex Code
12229 status collapsed
12230
12231 \begin_layout Plain Layout
12232 LatexName
12233 \end_layout
12234
12235 \end_inset
12236
12237  [
12238 \begin_inset Flex Code
12239 status collapsed
12240
12241 \begin_layout Plain Layout
12242 <名称>
12243 \end_layout
12244
12245 \end_inset
12246
12247 ] 対応する\SpecialChar LaTeX
12248 の名称です.環境名かコマンド名を指します.
12249 \end_layout
12250
12251 \begin_layout Description
12252 \begin_inset Flex Code
12253 status collapsed
12254
12255 \begin_layout Plain Layout
12256 LatexParam
12257 \end_layout
12258
12259 \end_inset
12260
12261  [
12262 \begin_inset Flex Code
12263 status collapsed
12264
12265 \begin_layout Plain Layout
12266 <パラメータ>
12267 \end_layout
12268
12269 \end_inset
12270
12271 ] 対応する
12272 \begin_inset Flex Code
12273 status collapsed
12274
12275 \begin_layout Plain Layout
12276 LatexName
12277 \end_layout
12278
12279 \end_inset
12280
12281 の非必須パラメータです.このパラメータは,\SpecialChar LyX
12282 内部から変更することはできません(変更可能なパラメータには
12283 \begin_inset Flex Code
12284 status collapsed
12285
12286 \begin_layout Plain Layout
12287 Argument
12288 \end_layout
12289
12290 \end_inset
12291
12292 を使用してください).これは,全ての\SpecialChar LaTeX
12293  
12294 \begin_inset Flex Code
12295 status collapsed
12296
12297 \begin_layout Plain Layout
12298 Argument
12299 \end_layout
12300
12301 \end_inset
12302
12303 の後にそのままの形で出力されます.
12304 \end_layout
12305
12306 \begin_layout Description
12307 \begin_inset Flex Code
12308 status collapsed
12309
12310 \begin_layout Plain Layout
12311 LatexType
12312 \end_layout
12313
12314 \end_inset
12315
12316  [
12317 \begin_inset Flex Code
12318 status collapsed
12319
12320 \begin_layout Plain Layout
12321
12322 \emph on
12323 Paragraph
12324 \emph default
12325 , Command, Environment, Item_Environment,
12326 \begin_inset Newline newline
12327 \end_inset
12328
12329 List_Environment, Bib_Environment
12330 \end_layout
12331
12332 \end_inset
12333
12334 ] レイアウトがどのように\SpecialChar LaTeX
12335 に変換されるべきかを示します
12336 \begin_inset Foot
12337 status collapsed
12338
12339 \begin_layout Plain Layout
12340 これらのルールはSGMLクラスにも適用されるので,
12341 \begin_inset Flex Code
12342 status collapsed
12343
12344 \begin_layout Plain Layout
12345 LatexType
12346 \end_layout
12347
12348 \end_inset
12349
12350 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイル(ファイル名
12351 \begin_inset Flex Code
12352 status collapsed
12353
12354 \begin_layout Plain Layout
12355 db_*.inc
12356 \end_layout
12357
12358 \end_inset
12359
12360 )を見てください.
12361 \end_layout
12362
12363 \end_inset
12364
12365
12366 \end_layout
12367
12368 \begin_deeper
12369 \begin_layout Description
12370 \begin_inset Flex Code
12371 status collapsed
12372
12373 \begin_layout Plain Layout
12374 Paragraph
12375 \end_layout
12376
12377 \end_inset
12378
12379  は,何も特別なことは意味しません.
12380 \end_layout
12381
12382 \begin_layout Description
12383 \begin_inset Flex Code
12384 status collapsed
12385
12386 \begin_layout Plain Layout
12387 Command
12388 \end_layout
12389
12390 \end_inset
12391
12392  は,
12393 \begin_inset Flex Code
12394 status collapsed
12395
12396 \begin_layout Plain Layout
12397
12398 \backslash
12399
12400 \emph on
12401 LatexName
12402 \emph default
12403 {\SpecialChar ldots
12404 }
12405 \end_layout
12406
12407 \end_inset
12408
12409 を意味します.
12410 \end_layout
12411
12412 \begin_layout Description
12413 \begin_inset Flex Code
12414 status collapsed
12415
12416 \begin_layout Plain Layout
12417 Environment
12418 \end_layout
12419
12420 \end_inset
12421
12422  は,
12423 \begin_inset Flex Code
12424 status collapsed
12425
12426 \begin_layout Plain Layout
12427
12428 \backslash
12429 begin{
12430 \emph on
12431 LatexName
12432 \emph default
12433 }\SpecialChar ldots
12434
12435 \backslash
12436 end{
12437 \emph on
12438 LatexName
12439 \emph default
12440 }
12441 \end_layout
12442
12443 \end_inset
12444
12445 を意味します.
12446 \end_layout
12447
12448 \begin_layout Description
12449 \begin_inset Flex Code
12450 status collapsed
12451
12452 \begin_layout Plain Layout
12453 Item_Environment
12454 \end_layout
12455
12456 \end_inset
12457
12458  は
12459 \begin_inset Flex Code
12460 status collapsed
12461
12462 \begin_layout Plain Layout
12463 Environment
12464 \end_layout
12465
12466 \end_inset
12467
12468 と同じですが,
12469 \begin_inset Flex Code
12470 status collapsed
12471
12472 \begin_layout Plain Layout
12473
12474 \backslash
12475 item
12476 \end_layout
12477
12478 \end_inset
12479
12480 がこの環境のすべての段落に付けられるところだけが異なっています.
12481 \end_layout
12482
12483 \begin_layout Description
12484 \begin_inset Flex Code
12485 status collapsed
12486
12487 \begin_layout Plain Layout
12488 List_Environment
12489 \end_layout
12490
12491 \end_inset
12492
12493  は
12494 \begin_inset Flex Code
12495 status collapsed
12496
12497 \begin_layout Plain Layout
12498 Item_Environment
12499 \end_layout
12500
12501 \end_inset
12502
12503 と同じですが,
12504 \begin_inset Flex Code
12505 status collapsed
12506
12507 \begin_layout Plain Layout
12508 LabelWidthString
12509 \end_layout
12510
12511 \end_inset
12512
12513 が環境の引数として渡されるところだけが異なっています.
12514 \begin_inset Flex Code
12515 status collapsed
12516
12517 \begin_layout Plain Layout
12518 LabelWidthString
12519 \end_layout
12520
12521 \end_inset
12522
12523 は,
12524 \begin_inset Flex MenuItem
12525 status collapsed
12526
12527 \begin_layout Plain Layout
12528 編集\SpecialChar menuseparator
12529 段落設定
12530 \end_layout
12531
12532 \end_inset
12533
12534 ダイアログで定義することができます.
12535 \end_layout
12536
12537 \begin_layout Description
12538 \begin_inset Flex Code
12539 status collapsed
12540
12541 \begin_layout Plain Layout
12542 Bib_Environment
12543 \end_layout
12544
12545 \end_inset
12546
12547  は
12548 \begin_inset Flex Code
12549 status collapsed
12550
12551 \begin_layout Plain Layout
12552 Environment
12553 \end_layout
12554
12555 \end_inset
12556
12557 に似ていますが,以下のように,書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
12558 \begin_inset Newline newline
12559 \end_inset
12560
12561
12562 \begin_inset Flex Code
12563 status collapsed
12564
12565 \begin_layout Plain Layout
12566
12567 \backslash
12568 begin{thebibliography}{99}
12569 \end_layout
12570
12571 \end_inset
12572
12573
12574 \begin_inset Newline newline
12575 \end_inset
12576
12577 したがって,これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,書誌情報項目の段落設定で,ユーザーが変更することができます.
12578 \end_layout
12579
12580 \begin_layout Standard
12581 上記最後のいくつかをまとめると,\SpecialChar LaTeX
12582 出力は,\SpecialChar LaTeX
12583 型に依存して
12584 \end_layout
12585
12586 \begin_layout LyX-Code
12587
12588 \backslash
12589 LatexName[LatexParam]{\SpecialChar ldots
12590 }
12591 \end_layout
12592
12593 \begin_layout Standard
12594 のようになるか,
12595 \end_layout
12596
12597 \begin_layout LyX-Code
12598
12599 \backslash
12600 begin{LatexName}[LatexParam] \SpecialChar ldots
12601  
12602 \backslash
12603 end{LatexName}.
12604 \end_layout
12605
12606 \begin_layout Standard
12607 となります.
12608 \end_layout
12609
12610 \end_deeper
12611 \begin_layout Description
12612 \begin_inset Flex Code
12613 status collapsed
12614
12615 \begin_layout Plain Layout
12616 LeftDelim
12617 \end_layout
12618
12619 \end_inset
12620
12621  [
12622 \begin_inset Flex Code
12623 status collapsed
12624
12625 \begin_layout Plain Layout
12626 文字列
12627 \end_layout
12628
12629 \end_inset
12630
12631 ] 様式の内容の最初に置かれる文字列.出力中の改行は
12632 \begin_inset Flex Code
12633 status collapsed
12634
12635 \begin_layout Plain Layout
12636 <br/>
12637 \end_layout
12638
12639 \end_inset
12640
12641 で指示できます.
12642 \end_layout
12643
12644 \begin_layout Description
12645 \begin_inset Flex Code
12646 status collapsed
12647
12648 \begin_layout Plain Layout
12649 LeftMargin
12650 \end_layout
12651
12652 \end_inset
12653
12654  [
12655 \begin_inset Flex Code
12656 status collapsed
12657
12658 \begin_layout Plain Layout
12659 文字列=""
12660 \end_layout
12661
12662 \end_inset
12663
12664 ] レイアウトを環境の中に入れた場合,左余白は単純に加えられるのではなく,因子
12665 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
12666 \end_inset
12667
12668 をかけて加えられます.このパラメータは,
12669 \begin_inset Flex Code
12670 status collapsed
12671
12672 \begin_layout Plain Layout
12673 Margin
12674 \end_layout
12675
12676 \end_inset
12677
12678
12679 \begin_inset Flex Code
12680 status collapsed
12681
12682 \begin_layout Plain Layout
12683 Manual
12684 \end_layout
12685
12686 \end_inset
12687
12688 あるいは
12689 \begin_inset Flex Code
12690 status collapsed
12691
12692 \begin_layout Plain Layout
12693 Dynamic
12694 \end_layout
12695
12696 \end_inset
12697
12698 に設定されているときにも用いられることに注意してください.その場合には,これは手動設定余白または動的設定余白に加えられることに注意してください.
12699 \begin_inset Newline newline
12700 \end_inset
12701
12702 たとえば「
12703 \begin_inset Flex Code
12704 status collapsed
12705
12706 \begin_layout Plain Layout
12707 MM
12708 \end_layout
12709
12710 \end_inset
12711
12712 」と指定すると,段落を通常フォントの「
12713 \begin_inset Flex Code
12714 status collapsed
12715
12716 \begin_layout Plain Layout
12717 MM
12718 \end_layout
12719
12720 \end_inset
12721
12722 」の幅だけ行頭下げを行います.文字列の前に「
12723 \begin_inset Flex Code
12724 status collapsed
12725
12726 \begin_layout Plain Layout
12727 -
12728 \end_layout
12729
12730 \end_inset
12731
12732 」を付けると,負の幅を与えることができます.この方法が採用されたのは,どの画面フォントでも見かけが同じになるようにするためです.
12733 \end_layout
12734
12735 \begin_layout Description
12736 \begin_inset Flex Code
12737 status collapsed
12738
12739 \begin_layout Plain Layout
12740 Margin
12741 \end_layout
12742
12743 \end_inset
12744
12745  [
12746 \begin_inset Flex Code
12747 status collapsed
12748
12749 \begin_layout Plain Layout
12750
12751 \emph on
12752 Static
12753 \emph default
12754 , Manual, Dynamic, First_Dynamic, Right_Address_Box
12755 \end_layout
12756
12757 \end_inset
12758
12759
12760 \begin_inset Newline newline
12761 \end_inset
12762
12763 このレイアウトの左余白の種類です.
12764 \end_layout
12765
12766 \begin_deeper
12767 \begin_layout Description
12768 \begin_inset Flex Code
12769 status collapsed
12770
12771 \begin_layout Plain Layout
12772 Static
12773 \end_layout
12774
12775 \end_inset
12776
12777  は固定余白を示します.
12778 \end_layout
12779
12780 \begin_layout Description
12781 \begin_inset Flex Code
12782 status collapsed
12783
12784 \begin_layout Plain Layout
12785 Manual
12786 \end_layout
12787
12788 \end_inset
12789
12790  は,左余白が
12791 \begin_inset Flex MenuItem
12792 status collapsed
12793
12794 \begin_layout Plain Layout
12795 編集\SpecialChar menuseparator
12796 段落設定
12797 \end_layout
12798
12799 \end_inset
12800
12801 ダイアログで入力した文字列によって決められることを示します.これは,タブを用いずに整った一覧表を組むのに使用されます.
12802 \end_layout
12803
12804 \begin_layout Description
12805 \begin_inset Flex Code
12806 status collapsed
12807
12808 \begin_layout Plain Layout
12809 Dynamic
12810 \end_layout
12811
12812 \end_inset
12813
12814  は,余白がラベルの大きさに依存することを示します.これは,自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,「3.2
12815  非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
12816 \end_layout
12817
12818 \begin_layout Description
12819 \begin_inset Flex Code
12820 status collapsed
12821
12822 \begin_layout Plain Layout
12823 First_Dynamic
12824 \end_layout
12825
12826 \end_inset
12827
12828  は似ていますが,段落の最初の行だけがDynamicでその他の行はStaticです.これは,たとえば,箇条書き(記述)に使用されます.
12829 \end_layout
12830
12831 \begin_layout Description
12832 \begin_inset Flex Code
12833 status collapsed
12834
12835 \begin_layout Plain Layout
12836 Right_Address_Box
12837 \end_layout
12838
12839 \end_inset
12840
12841  は,段落中,最も長い行が右余白に合うように余白を選択します.これは,ページの右端に住所を組版するのに用いられます.
12842 \end_layout
12843
12844 \end_deeper
12845 \begin_layout Description
12846 \begin_inset Flex Code
12847 status collapsed
12848
12849 \begin_layout Plain Layout
12850 NeedProtect
12851 \end_layout
12852
12853 \end_inset
12854
12855  [
12856 \begin_inset Flex Code
12857 status collapsed
12858
12859 \begin_layout Plain Layout
12860
12861 \emph on
12862 0
12863 \end_layout
12864
12865 \end_inset
12866
12867 ,
12868 \begin_inset space \thinspace{}
12869 \end_inset
12870
12871
12872 \begin_inset Flex Code
12873 status collapsed
12874
12875 \begin_layout Plain Layout
12876 1
12877 \end_layout
12878
12879 \end_inset
12880
12881 ] このレイアウト中の脆弱なコマンドが
12882 \begin_inset Flex Code
12883 status collapsed
12884
12885 \begin_layout Plain Layout
12886
12887 \backslash
12888 protect
12889 \end_layout
12890
12891 \end_inset
12892
12893 されるべきか否か(註:これはこのコマンド自体が
12894 \begin_inset Flex Code
12895 status collapsed
12896
12897 \begin_layout Plain Layout
12898
12899 \backslash
12900 protect
12901 \end_layout
12902
12903 \end_inset
12904
12905 されるべきかでは
12906 \emph on
12907 ありません
12908 \emph default
12909 ).
12910 \end_layout
12911
12912 \begin_layout Description
12913 \begin_inset Flex Code
12914 status collapsed
12915
12916 \begin_layout Plain Layout
12917 Newline
12918 \end_layout
12919
12920 \end_inset
12921
12922  [
12923 \begin_inset Flex Code
12924 status collapsed
12925
12926 \begin_layout Plain Layout
12927 0
12928 \end_layout
12929
12930 \end_inset
12931
12932 ,
12933 \begin_inset space \thinspace{}
12934 \end_inset
12935
12936
12937 \begin_inset Flex Code
12938 status collapsed
12939
12940 \begin_layout Plain Layout
12941
12942 \emph on
12943 1
12944 \end_layout
12945
12946 \end_inset
12947
12948 ] 新規行を\SpecialChar LaTeX
12949 の新規行(
12950 \begin_inset Flex Code
12951 status collapsed
12952
12953 \begin_layout Plain Layout
12954
12955 \backslash
12956
12957 \backslash
12958
12959 \end_layout
12960
12961 \end_inset
12962
12963 )に変換するか否か.\SpecialChar LyX
12964 中で\SpecialChar LaTeX
12965 編集をやりやすくするために,変換は無効にすることができます.
12966 \end_layout
12967
12968 \begin_layout Description
12969 \begin_inset Flex Code
12970 status collapsed
12971
12972 \begin_layout Plain Layout
12973 NextNoIndent
12974 \end_layout
12975
12976 \end_inset
12977
12978  [
12979 \begin_inset Flex Code
12980 status collapsed
12981
12982 \begin_layout Plain Layout
12983
12984 \emph on
12985 0
12986 \end_layout
12987
12988 \end_inset
12989
12990 ,
12991 \begin_inset space \thinspace{}
12992 \end_inset
12993
12994
12995 \begin_inset Flex Code
12996 status collapsed
12997
12998 \begin_layout Plain Layout
12999 1
13000 \end_layout
13001
13002 \end_inset
13003
13004 ] 真に設定すると,
13005 \begin_inset Flex Code
13006 status collapsed
13007
13008 \begin_layout Plain Layout
13009 DefaultStyle
13010 \end_layout
13011
13012 \end_inset
13013
13014  (通常
13015 \begin_inset Flex Code
13016 status collapsed
13017
13018 \begin_layout Plain Layout
13019 Standard
13020 \end_layout
13021
13022 \end_inset
13023
13024 )段落が行頭下げになっている場合でも,この型の段落に続くそれらの段落は,字下げされません(逆に言えば,既定でない段落には影響を与えません).
13025 \end_layout
13026
13027 \begin_layout Description
13028 \begin_inset Flex Code
13029 status collapsed
13030
13031 \begin_layout Plain Layout
13032 ObsoletedBy
13033 \end_layout
13034
13035 \end_inset
13036
13037  [
13038 \begin_inset Flex Code
13039 status collapsed
13040
13041 \begin_layout Plain Layout
13042 <名称>
13043 \end_layout
13044
13045 \end_inset
13046
13047 ] このレイアウトが置き換えられたレイアウト名.これは,後方互換性を維持しながら,レイアウトの名称を変更するのに使用されます.
13048 \end_layout
13049
13050 \begin_layout Description
13051 \begin_inset Flex Code
13052 status collapsed
13053
13054 \begin_layout Plain Layout
13055 ParagraphGroup
13056 \end_layout
13057
13058 \end_inset
13059
13060  [
13061 \begin_inset Flex Code
13062 status collapsed
13063
13064 \begin_layout Plain Layout
13065 0
13066 \end_layout
13067
13068 \end_inset
13069
13070 ,
13071 \begin_inset space \thinspace{}
13072 \end_inset
13073
13074
13075 \begin_inset Flex Code
13076 status collapsed
13077
13078 \begin_layout Plain Layout
13079 1
13080 \end_layout
13081
13082 \end_inset
13083
13084 ] 同じ型の段落が引き続く場合,同じ段落として取り扱うか否かを決定します.これは,そのような連続グループに対して,
13085 \begin_inset Flex Code
13086 status collapsed
13087
13088 \begin_layout Plain Layout
13089 GuiLabel
13090 \end_layout
13091
13092 \end_inset
13093
13094 が一度だけ出力される効果があります.既定では,
13095 \begin_inset Flex Code
13096 status collapsed
13097
13098 \begin_layout Plain Layout
13099 LaTeXType
13100 \end_layout
13101
13102 \end_inset
13103
13104
13105 \begin_inset Flex Code
13106 status collapsed
13107
13108 \begin_layout Plain Layout
13109 Environment
13110 \end_layout
13111
13112 \end_inset
13113
13114 および
13115 \begin_inset Flex Code
13116 status collapsed
13117
13118 \begin_layout Plain Layout
13119 Bib_Environment
13120 \end_layout
13121
13122 \end_inset
13123
13124  については有効であり,他の型すべてについて無効になっています.
13125 \end_layout
13126
13127 \begin_layout Description
13128 \begin_inset Flex Code
13129 status collapsed
13130
13131 \begin_layout Plain Layout
13132 ParbreakIsNewline
13133 \end_layout
13134
13135 \end_inset
13136
13137  [
13138 \begin_inset Flex Code
13139 status collapsed
13140
13141 \begin_layout Plain Layout
13142
13143 \emph on
13144 0
13145 \end_layout
13146
13147 \end_inset
13148
13149 ,
13150 \begin_inset space \thinspace{}
13151 \end_inset
13152
13153
13154 \begin_inset Flex Code
13155 status collapsed
13156
13157 \begin_layout Plain Layout
13158 1
13159 \end_layout
13160
13161 \end_inset
13162
13163 ] \SpecialChar LaTeX
13164 出力中で,段落を空行ではなく,改行で区切るよう指定します.
13165 \begin_inset Flex Code
13166 status collapsed
13167
13168 \begin_layout Plain Layout
13169 PassThru 1
13170 \end_layout
13171
13172 \end_inset
13173
13174 と併用すれば,(\SpecialChar TeX
13175 コードを使用したときのように)テキストエディタをエミュレートすることができます.
13176 \end_layout
13177
13178 \begin_layout Description
13179 \begin_inset Flex Code
13180 status collapsed
13181
13182 \begin_layout Plain Layout
13183 ParIndent
13184 \end_layout
13185
13186 \end_inset
13187
13188  [
13189 \begin_inset Flex Code
13190 status collapsed
13191
13192 \begin_layout Plain Layout
13193 文字列=""
13194 \end_layout
13195
13196 \end_inset
13197
13198 ] 段落の最初の行の行頭下げ.レイアウトによっては
13199 \begin_inset Flex Code
13200 status collapsed
13201
13202 \begin_layout Plain Layout
13203 Parindent
13204 \end_layout
13205
13206 \end_inset
13207
13208 は固定されています.例外には標準レイアウトがあり,標準レイアウトの段落の行頭下げは,
13209 \begin_inset Flex Code
13210 status collapsed
13211
13212 \begin_layout Plain Layout
13213 NextNoIndent
13214 \end_layout
13215
13216 \end_inset
13217
13218 で禁止することができるようになっています.また,環境中の標準レイアウト段落は,当該段落の
13219 \begin_inset Flex Code
13220 status collapsed
13221
13222 \begin_layout Plain Layout
13223 Parindent
13224 \end_layout
13225
13226 \end_inset
13227
13228 ではなく,この環境の
13229 \begin_inset Flex Code
13230 status collapsed
13231
13232 \begin_layout Plain Layout
13233 Parindent
13234 \end_layout
13235
13236 \end_inset
13237
13238 を使用します.たとえば,箇条書き(連番)内の標準段落は,行頭下げされません.
13239 \end_layout
13240
13241 \begin_layout Description
13242 \begin_inset Flex Code
13243 status collapsed
13244
13245 \begin_layout Plain Layout
13246 ParSep
13247 \end_layout
13248
13249 \end_inset
13250
13251  [
13252 \begin_inset Flex Code
13253 status collapsed
13254
13255 \begin_layout Plain Layout
13256 浮動小数点型=0
13257 \end_layout
13258
13259 \end_inset
13260
13261 ] このレイアウトの2段落間の垂直余白.
13262 \end_layout
13263
13264 \begin_layout Description
13265 \begin_inset Flex Code
13266 status collapsed
13267
13268 \begin_layout Plain Layout
13269 Parskip
13270 \end_layout
13271
13272 \end_inset
13273
13274  [
13275 \begin_inset Flex Code
13276 status collapsed
13277
13278 \begin_layout Plain Layout
13279 浮動小数点型=0
13280 \end_layout
13281
13282 \end_inset
13283
13284 ] \SpecialChar LyX
13285 では,文書を組版するのに,ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,この値は完全に無視されます.「スキップ」を選
13286 択した際には,\SpecialChar LaTeX
13287 型「段落」レイアウトの
13288 \begin_inset Flex Code
13289 status collapsed
13290
13291 \begin_layout Plain Layout
13292 ParIndent
13293 \end_layout
13294
13295 \end_inset
13296
13297 は無視され,すべての段落はこの
13298 \begin_inset Flex Code
13299 status collapsed
13300
13301 \begin_layout Plain Layout
13302 Parskip
13303 \end_layout
13304
13305 \end_inset
13306
13307 引数分だけ引き離されます.垂直余白は,
13308 \begin_inset Flex Code
13309 status collapsed
13310
13311 \begin_layout Plain Layout
13312 DefaultHeight
13313 \end_layout
13314
13315 \end_inset
13316
13317 を標準フォントでの1行の高さとすると,
13318 \begin_inset Flex Code
13319 status collapsed
13320
13321 \begin_layout Plain Layout
13322 Parskipの値
13323 \end_layout
13324
13325 \end_inset
13326
13327
13328 \begin_inset Formula $\times$
13329 \end_inset
13330
13331
13332 \begin_inset Flex Code
13333 status collapsed
13334
13335 \begin_layout Plain Layout
13336 DefaultHeight
13337 \end_layout
13338
13339 \end_inset
13340
13341 によって計算されます.このようにして,画面フォントを変更しても同じように表示されるのです.
13342 \end_layout
13343
13344 \begin_layout Description
13345 \begin_inset Flex Code
13346 status collapsed
13347
13348 \begin_layout Plain Layout
13349 PassThru
13350 \end_layout
13351
13352 \end_inset
13353
13354  [
13355 \emph on
13356
13357 \begin_inset Flex Code
13358 status collapsed
13359
13360 \begin_layout Plain Layout
13361 0
13362 \end_layout
13363
13364 \end_inset
13365
13366
13367 \emph default
13368 ,
13369 \begin_inset space \thinspace{}
13370 \end_inset
13371
13372
13373 \begin_inset Flex Code
13374 status collapsed
13375
13376 \begin_layout Plain Layout
13377 1
13378 \end_layout
13379
13380 \end_inset
13381
13382 ] この段落の内容が,\SpecialChar LaTeX
13383 が必要とするような特別な変換を行わずに,生の形で出力されるべきかどうか.
13384 \end_layout
13385
13386 \begin_layout Description
13387 \begin_inset Flex Code
13388 status collapsed
13389
13390 \begin_layout Plain Layout
13391 PassThruChars
13392 \end_layout
13393
13394 \end_inset
13395
13396  [
13397 \begin_inset Flex Code
13398 status collapsed
13399
13400 \begin_layout Plain Layout
13401 文字列
13402 \end_layout
13403
13404 \end_inset
13405
13406 ]
13407 \family typewriter
13408  
13409 \family default
13410 \SpecialChar LaTeX
13411 が要請する特別な翻訳なしで.生の形で出力されるべき,それぞれの文字を定義します.
13412 \end_layout
13413
13414 \begin_layout Description
13415 \begin_inset Flex Code
13416 status collapsed
13417
13418 \begin_layout Plain Layout
13419 Preamble
13420 \end_layout
13421
13422 \end_inset
13423
13424  この様式が使用されたときに,\SpecialChar LaTeX
13425 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,パッケージを読み込んだりと言ったことに使用します.「
13426 \begin_inset Flex Code
13427 status collapsed
13428
13429 \begin_layout Plain Layout
13430 EndPreamble
13431 \end_layout
13432
13433 \end_inset
13434
13435 」で閉じる必要があります.
13436 \end_layout
13437
13438 \begin_layout Description
13439 \begin_inset Flex Code
13440 status collapsed
13441
13442 \begin_layout Plain Layout
13443 RefPrefix
13444 \end_layout
13445
13446 \end_inset
13447
13448  [
13449 \begin_inset Flex Code
13450 status collapsed
13451
13452 \begin_layout Plain Layout
13453 文字列
13454 \end_layout
13455
13456 \end_inset
13457
13458 ] この型の段落を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
13459 \end_layout
13460
13461 \begin_layout Description
13462 \begin_inset Flex Code
13463 status collapsed
13464
13465 \begin_layout Plain Layout
13466 Requires
13467 \end_layout
13468
13469 \end_inset
13470
13471  [
13472 \begin_inset Flex Code
13473 status collapsed
13474
13475 \begin_layout Plain Layout
13476 文字列
13477 \end_layout
13478
13479 \end_inset
13480
13481 ] この様式が機能
13482 \begin_inset Flex Code
13483 status collapsed
13484
13485 \begin_layout Plain Layout
13486 文字列
13487 \end_layout
13488
13489 \end_inset
13490
13491 を必要とするかどうか(機能詳細については,第
13492 \begin_inset CommandInset ref
13493 LatexCommand ref
13494 reference "chap:関数一覧"
13495
13496 \end_inset
13497
13498 節参照).特定のオプションをとるパッケージを要求する場合,
13499 \begin_inset Flex Code
13500 status collapsed
13501
13502 \begin_layout Plain Layout
13503 PackageOptions
13504 \end_layout
13505
13506 \end_inset
13507
13508 を汎用テキストクラスパラメータとして追加して使うことができます(
13509 \begin_inset CommandInset ref
13510 LatexCommand ref
13511 reference "subsec:汎用テキストクラスパラメータ"
13512
13513 \end_inset
13514
13515 を参照).
13516 \end_layout
13517
13518 \begin_layout Description
13519 \begin_inset Flex Code
13520 status collapsed
13521
13522 \begin_layout Plain Layout
13523 ResetArgs
13524 \end_layout
13525
13526 \end_inset
13527
13528  [
13529 \begin_inset Flex Code
13530 status collapsed
13531
13532 \begin_layout Plain Layout
13533
13534 \emph on
13535 0
13536 \end_layout
13537
13538 \end_inset
13539
13540 ,
13541 \begin_inset Flex Code
13542 status collapsed
13543
13544 \begin_layout Plain Layout
13545 1
13546 \end_layout
13547
13548 \end_inset
13549
13550 ] (
13551 \begin_inset Flex Code
13552 status collapsed
13553
13554 \begin_layout Plain Layout
13555 Argument
13556 \end_layout
13557
13558 \end_inset
13559
13560 タグで定義された)この様式の\SpecialChar LaTeX
13561 引数をリセットします.これは,様式を
13562 \begin_inset Flex Code
13563 status collapsed
13564
13565 \begin_layout Plain Layout
13566 CopyStyle
13567 \end_layout
13568
13569 \end_inset
13570
13571 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
13572 \end_layout
13573
13574 \begin_layout Description
13575 \begin_inset Flex Code
13576 status collapsed
13577
13578 \begin_layout Plain Layout
13579 ResumeCounter
13580 \end_layout
13581
13582 \end_inset
13583
13584  [
13585 \begin_inset Flex Code
13586 status collapsed
13587
13588 \begin_layout Plain Layout
13589
13590 \emph on
13591 0
13592 \end_layout
13593
13594 \end_inset
13595
13596 ,
13597 \begin_inset Flex Code
13598 status collapsed
13599
13600 \begin_layout Plain Layout
13601 1
13602 \end_layout
13603
13604 \end_inset
13605
13606 ] レイアウトの新しい一群で通常リセットされるカウンタを元に戻します.これは,
13607 \begin_inset Flex Code
13608 status collapsed
13609
13610 \begin_layout Plain Layout
13611 LabelType
13612 \end_layout
13613
13614 \end_inset
13615
13616
13617 \begin_inset Flex Code
13618 status collapsed
13619
13620 \begin_layout Plain Layout
13621 Enumerate
13622 \end_layout
13623
13624 \end_inset
13625
13626 の時のみ有効です.
13627 \end_layout
13628
13629 \begin_layout Description
13630 \begin_inset Flex Code
13631 status collapsed
13632
13633 \begin_layout Plain Layout
13634 RightDelim
13635 \end_layout
13636
13637 \end_inset
13638
13639  [
13640 \begin_inset Flex Code
13641 status collapsed
13642
13643 \begin_layout Plain Layout
13644 文字列
13645 \end_layout
13646
13647 \end_inset
13648
13649 ] 様式の内容の最後に置かれる文字列.出力中の改行は
13650 \begin_inset Flex Code
13651 status collapsed
13652
13653 \begin_layout Plain Layout
13654 <br/>
13655 \end_layout
13656
13657 \end_inset
13658
13659 で指示できます.
13660 \end_layout
13661
13662 \begin_layout Description
13663 \begin_inset Flex Code
13664 status collapsed
13665
13666 \begin_layout Plain Layout
13667 RightMargin
13668 \end_layout
13669
13670 \end_inset
13671
13672  [
13673 \begin_inset Flex Code
13674 status collapsed
13675
13676 \begin_layout Plain Layout
13677 文字列=""
13678 \end_layout
13679
13680 \end_inset
13681
13682
13683 \begin_inset Flex Code
13684 status collapsed
13685
13686 \begin_layout Plain Layout
13687 LeftMargin
13688 \end_layout
13689
13690 \end_inset
13691
13692 に同様.
13693 \end_layout
13694
13695 \begin_layout Description
13696 \begin_inset Flex Code
13697 status collapsed
13698
13699 \begin_layout Plain Layout
13700 Spacing
13701 \end_layout
13702
13703 \end_inset
13704
13705  [
13706 \begin_inset Flex Code
13707 status collapsed
13708
13709 \begin_layout Plain Layout
13710
13711 \emph on
13712 single
13713 \end_layout
13714
13715 \end_inset
13716
13717
13718 \begin_inset Flex Code
13719 status collapsed
13720
13721 \begin_layout Plain Layout
13722 onehalf
13723 \end_layout
13724
13725 \end_inset
13726
13727
13728 \begin_inset Flex Code
13729 status collapsed
13730
13731 \begin_layout Plain Layout
13732 double
13733 \end_layout
13734
13735 \end_inset
13736
13737
13738 \begin_inset Flex Code
13739 status collapsed
13740
13741 \begin_layout Plain Layout
13742 other
13743 \begin_inset space ~
13744 \end_inset
13745
13746 <
13747 \emph on
13748
13749 \emph default
13750 >
13751 \end_layout
13752
13753 \end_inset
13754
13755 ]
13756 \lang english
13757  
13758 \lang japanese
13759 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
13760 \begin_inset Flex Code
13761 status collapsed
13762
13763 \begin_layout Plain Layout
13764 single
13765 \end_layout
13766
13767 \end_inset
13768
13769
13770 \begin_inset Flex Code
13771 status collapsed
13772
13773 \begin_layout Plain Layout
13774 onehalf
13775 \end_layout
13776
13777 \end_inset
13778
13779
13780 \begin_inset Flex Code
13781 status collapsed
13782
13783 \begin_layout Plain Layout
13784 double
13785 \end_layout
13786
13787 \end_inset
13788
13789 は,それぞれ乗数1・1.25・1.667に対応します.引数
13790 \begin_inset Flex Code
13791 status collapsed
13792
13793 \begin_layout Plain Layout
13794 other
13795 \end_layout
13796
13797 \end_inset
13798
13799 を指定した場合には,実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
13800 \begin_inset Flex Code
13801 status collapsed
13802
13803 \begin_layout Plain Layout
13804 Spacing
13805 \end_layout
13806
13807 \end_inset
13808
13809 は,\SpecialChar LaTeX
13810 パッケージ
13811 \begin_inset Flex Code
13812 status collapsed
13813
13814 \begin_layout Plain Layout
13815 setspace
13816 \end_layout
13817
13818 \end_inset
13819
13820 パッケージを使用した,限定的な\SpecialChar LaTeX
13821 コードを生成することを意味することにご注意ください.
13822 \end_layout
13823
13824 \begin_layout Description
13825 \begin_inset Flex Code
13826 status collapsed
13827
13828 \begin_layout Plain Layout
13829 Spellcheck
13830 \end_layout
13831
13832 \end_inset
13833
13834  [
13835 \begin_inset Flex Code
13836 status collapsed
13837
13838 \begin_layout Plain Layout
13839 0
13840 \end_layout
13841
13842 \end_inset
13843
13844 ,
13845 \begin_inset space \thinspace{}
13846 \end_inset
13847
13848
13849 \begin_inset Flex Code
13850 status collapsed
13851
13852 \begin_layout Plain Layout
13853 1
13854 \end_layout
13855
13856 \end_inset
13857
13858 ] この様式の段落をスペルチェックするか否か.既定値は真です.
13859 \end_layout
13860
13861 \begin_layout Description
13862 \begin_inset Flex Code
13863 status collapsed
13864
13865 \begin_layout Plain Layout
13866 StepMasterCounter
13867 \end_layout
13868
13869 \end_inset
13870
13871  [
13872 \begin_inset Flex Code
13873 status collapsed
13874
13875 \begin_layout Plain Layout
13876
13877 \emph on
13878 0
13879 \end_layout
13880
13881 \end_inset
13882
13883 ,
13884 \begin_inset Flex Code
13885 status collapsed
13886
13887 \begin_layout Plain Layout
13888 1
13889 \end_layout
13890
13891 \end_inset
13892
13893 ] 新しいレイアウト群を開始する際に,このカウンタの親カウンタを進めるか否か.これは,現在のところ,
13894 \begin_inset Flex Code
13895 status collapsed
13896
13897 \begin_layout Plain Layout
13898 LabelType
13899 \end_layout
13900
13901 \end_inset
13902
13903
13904 \begin_inset Flex Code
13905 status collapsed
13906
13907 \begin_layout Plain Layout
13908 Enumerate
13909 \end_layout
13910
13911 \end_inset
13912
13913 の時のみ有効です.
13914 \end_layout
13915
13916 \begin_layout Description
13917 \begin_inset Flex Code
13918 status collapsed
13919
13920 \begin_layout Plain Layout
13921 TextFont
13922 \end_layout
13923
13924 \end_inset
13925
13926  本文に使うフォント.第
13927 \begin_inset CommandInset ref
13928 LatexCommand ref
13929 reference "subsec:フォント指定"
13930
13931 \end_inset
13932
13933 節参照.
13934 \end_layout
13935
13936 \begin_layout Description
13937 \begin_inset Flex Code
13938 status collapsed
13939
13940 \begin_layout Plain Layout
13941 TocLevel
13942 \end_layout
13943
13944 \end_inset
13945
13946  [
13947 \begin_inset Flex Code
13948 status collapsed
13949
13950 \begin_layout Plain Layout
13951 整数型=3
13952 \end_layout
13953
13954 \end_inset
13955
13956 ] 目次中でのこの様式の階層.これは,節見出しの自動連番に使用されます.
13957 \end_layout
13958
13959 \begin_layout Description
13960 \begin_inset Flex Code
13961 status collapsed
13962
13963 \begin_layout Plain Layout
13964 ToggleIndent
13965 \end_layout
13966
13967 \end_inset
13968
13969  [
13970 \emph on
13971
13972 \begin_inset Flex Code
13973 status collapsed
13974
13975 \begin_layout Plain Layout
13976 default
13977 \end_layout
13978
13979 \end_inset
13980
13981
13982 \emph default
13983
13984 \begin_inset Flex Code
13985 status collapsed
13986
13987 \begin_layout Plain Layout
13988 always
13989 \end_layout
13990
13991 \end_inset
13992
13993
13994 \begin_inset Flex Code
13995 status collapsed
13996
13997 \begin_layout Plain Layout
13998 never
13999 \end_layout
14000
14001 \end_inset
14002
14003 ] このタグは,この段落の1行目の行頭下げが,段落設定ダイアログで切り替えられるかどうかを決めます.
14004 \begin_inset Flex Code
14005 status collapsed
14006
14007 \begin_layout Plain Layout
14008 default
14009 \end_layout
14010
14011 \end_inset
14012
14013 が指定されると,文書設定が「行頭下げ」段落様式を使用しているときに,行頭下げを変更することができます.
14014 \begin_inset Flex Code
14015 status collapsed
14016
14017 \begin_layout Plain Layout
14018 always
14019 \end_layout
14020
14021 \end_inset
14022
14023 は,文書設定にかかわらず変更することができ,
14024 \begin_inset Flex Code
14025 status collapsed
14026
14027 \begin_layout Plain Layout
14028 never
14029 \end_layout
14030
14031 \end_inset
14032
14033 は,どのような場合でも変更することができません.
14034 \end_layout
14035
14036 \begin_layout Description
14037 \begin_inset Flex Code
14038 status collapsed
14039
14040 \begin_layout Plain Layout
14041 TopSep
14042 \end_layout
14043
14044 \end_inset
14045
14046  [
14047 \begin_inset Flex Code
14048 status collapsed
14049
14050 \begin_layout Plain Layout
14051 浮動小数点型=0
14052 \end_layout
14053
14054 \end_inset
14055
14056 ] このレイアウトを持つ一連の段落群の最初の段落と,その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,余白は単純に追加されるのではなく,それら
14057 の最大値がとられます.
14058 \end_layout
14059
14060 \begin_layout Subsection
14061 段落様式の国際化
14062 \begin_inset CommandInset label
14063 LatexCommand label
14064 name "subsec:段落様式の国際化"
14065
14066 \end_inset
14067
14068
14069 \end_layout
14070
14071 \begin_layout Standard
14072 \SpecialChar LyX
14073 は,長きにわたってレイアウト情報の国際化をサポートしてきましたが,第2.0版までは,これは操作画面にのみ適用されるものであって,たとえばPDF出力には適用されませ
14074 んでした.たとえば,フランスの著者が,「Theorem 1」の代わりに「
14075 \lang french
14076 Théorème
14077 \lang japanese
14078  1」としたければ,醜いハックに頼るしかありませんでした.Georg Baumのおかげで,これは解消されました.
14079 \end_layout
14080
14081 \begin_layout Standard
14082 もし
14083 \begin_inset Flex MenuItem
14084 status collapsed
14085
14086 \begin_layout Plain Layout
14087 Style
14088 \end_layout
14089
14090 \end_inset
14091
14092 が,組版文書に出力される文字列を定義するのであれば,非英語文書や複数言語文書をサポートするために,
14093 \begin_inset Flex MenuItem
14094 status collapsed
14095
14096 \begin_layout Plain Layout
14097 LangPreamble
14098 \end_layout
14099
14100 \end_inset
14101
14102
14103 \begin_inset Flex MenuItem
14104 status collapsed
14105
14106 \begin_layout Plain Layout
14107 BabelPreamble
14108 \end_layout
14109
14110 \end_inset
14111
14112 を使用することができます.以下の抜粋(
14113 \begin_inset Flex MenuItem
14114 status collapsed
14115
14116 \begin_layout Plain Layout
14117 theorems-ams.inc
14118 \end_layout
14119
14120 \end_inset
14121
14122 より)は,これがどう動作するかを示すものです.
14123 \end_layout
14124
14125 \begin_layout LyX-Code
14126 Preamble
14127 \end_layout
14128
14129 \begin_deeper
14130 \begin_layout LyX-Code
14131   
14132 \backslash
14133 theoremstyle{remark}
14134 \end_layout
14135
14136 \begin_layout LyX-Code
14137   
14138 \backslash
14139 newtheorem{claim}[thm]{
14140 \backslash
14141 protect
14142 \backslash
14143 claimname}
14144 \end_layout
14145
14146 \begin_layout LyX-Code
14147 EndPreamble
14148 \end_layout
14149
14150 \begin_layout LyX-Code
14151 LangPreamble
14152 \end_layout
14153
14154 \begin_layout LyX-Code
14155   
14156 \backslash
14157 providecommand{
14158 \backslash
14159 claimname}{_(Claim)}
14160 \end_layout
14161
14162 \begin_layout LyX-Code
14163 EndLangPreamble
14164 \end_layout
14165
14166 \begin_layout LyX-Code
14167 BabelPreamble
14168 \end_layout
14169
14170 \begin_layout LyX-Code
14171     
14172 \backslash
14173 addto
14174 \backslash
14175 captions$$lang{
14176 \backslash
14177 renewcommand{
14178 \backslash
14179 claimname}{_(Claim)}}
14180 \end_layout
14181
14182 \begin_layout LyX-Code
14183 EndBabelPreamble
14184 \end_layout
14185
14186 \end_deeper
14187 \begin_layout Standard
14188 原則として,
14189 \begin_inset Flex MenuItem
14190 status collapsed
14191
14192 \begin_layout Plain Layout
14193 LangPreamble
14194 \end_layout
14195
14196 \end_inset
14197
14198
14199 \begin_inset Flex MenuItem
14200 status collapsed
14201
14202 \begin_layout Plain Layout
14203 BabelPreamble
14204 \end_layout
14205
14206 \end_inset
14207
14208 タグ内には,有効な\SpecialChar LaTeX
14209 コードはすべて用いることができますが,実際においては,ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるの
14210 は,\SpecialChar LaTeX
14211 コマンド
14212 \begin_inset Flex Code
14213 status collapsed
14214
14215 \begin_layout Plain Layout
14216
14217 \backslash
14218 claimname
14219 \end_layout
14220
14221 \end_inset
14222
14223 とその
14224 \begin_inset Flex Code
14225 status collapsed
14226
14227 \begin_layout Plain Layout
14228
14229 \backslash
14230 newtheorem
14231 \end_layout
14232
14233 \end_inset
14234
14235 中での用い方です.
14236 \end_layout
14237
14238 \begin_layout Standard
14239 \begin_inset Flex Code
14240 status collapsed
14241
14242 \begin_layout Plain Layout
14243 LangPreamble
14244 \end_layout
14245
14246 \end_inset
14247
14248 タグは,文書全体の言語に基づいた国際化を提供します.タグの内容は,
14249 \begin_inset Flex Code
14250 status collapsed
14251
14252 \begin_layout Plain Layout
14253 Preamble
14254 \end_layout
14255
14256 \end_inset
14257
14258 タグと同様,プリアンブルに置かれるのですが,これを特別なものにしているのは,「関数」
14259 \begin_inset Flex Code
14260 status collapsed
14261
14262 \begin_layout Plain Layout
14263 _()
14264 \end_layout
14265
14266 \end_inset
14267
14268 が使用されていることです.これは,\SpecialChar LyX
14269 が\SpecialChar LaTeX
14270 出力を生成する際,その引数を文書言語に翻訳したもので置き換えられます.
14271 \end_layout
14272
14273 \begin_layout Standard
14274 \begin_inset Flex Code
14275 status collapsed
14276
14277 \begin_layout Plain Layout
14278 BabelPreamble
14279 \end_layout
14280
14281 \end_inset
14282
14283 タグは,複数言語文書をサポートし,
14284 \begin_inset Flex Code
14285 status collapsed
14286
14287 \begin_layout Plain Layout
14288 babel
14289 \end_layout
14290
14291 \end_inset
14292
14293 パッケージへのインタフェースを提供することを意図しているので,もう少し複雑です.その内容は,文書に現れる言語それぞれについて一度,プリアンブルに追加されます.こ
14294 の場合には,
14295 \begin_inset Flex Code
14296 status collapsed
14297
14298 \begin_layout Plain Layout
14299 _()
14300 \end_layout
14301
14302 \end_inset
14303
14304 の引数は,その当該言語への翻訳で置き換えられ,
14305 \begin_inset Flex Code
14306 status collapsed
14307
14308 \begin_layout Plain Layout
14309 $$lang
14310 \end_layout
14311
14312 \end_inset
14313
14314 は言語名(babelパッケージで使用されるもの)で置き換えられます.
14315 \end_layout
14316
14317 \begin_layout Standard
14318 したがって,フランス語のセクションを持つドイツ語文書では,以下のような内容がプリアンブルに追加されます
14319 \end_layout
14320
14321 \begin_layout LyX-Code
14322
14323 \backslash
14324 addto
14325 \backslash
14326 captionsfrench{
14327 \backslash
14328 renewcommand{
14329 \backslash
14330 claimname}{Affirmation}}
14331 \begin_inset Newline newline
14332 \end_inset
14333
14334
14335 \backslash
14336 addto
14337 \backslash
14338 captionsngerman{
14339 \backslash
14340 renewcommand{
14341 \backslash
14342 claimname}{Behauptung}}
14343 \begin_inset Newline newline
14344 \end_inset
14345
14346
14347 \backslash
14348 providecommand{
14349 \backslash
14350 claimname}{Behauptung}
14351 \end_layout
14352
14353 \begin_layout Standard
14354 それから,\SpecialChar LaTeX
14355
14356 \begin_inset Flex Code
14357 status collapsed
14358
14359 \begin_layout Plain Layout
14360 babel
14361 \end_layout
14362
14363 \end_inset
14364
14365 は協力して,出力に正しい文字列を生成します.
14366 \end_layout
14367
14368 \begin_layout Standard
14369 ここで注意しておくべき一つの重要な点は,翻訳は,
14370 \begin_inset Flex Code
14371 status collapsed
14372
14373 \begin_layout Plain Layout
14374 layouttranslations
14375 \end_layout
14376
14377 \end_inset
14378
14379 ファイルを通じて,\SpecialChar LyX
14380 自身によって提供されるということです.つまり,ユーザー作成のレイアウトファイルに入力された文字列は,
14381 \begin_inset Flex Code
14382 status collapsed
14383
14384 \begin_layout Plain Layout
14385 layouttranslations
14386 \end_layout
14387
14388 \end_inset
14389
14390 ファイルをそれに応じて変更しない限り,\SpecialChar LyX
14391 の国際化ルーチンでは取り扱われないので,
14392 \begin_inset Flex MenuItem
14393 status collapsed
14394
14395 \begin_layout Plain Layout
14396 LangPreamble
14397 \end_layout
14398
14399 \end_inset
14400
14401
14402 \begin_inset Flex MenuItem
14403 status collapsed
14404
14405 \begin_layout Plain Layout
14406 BabelPreamble
14407 \end_layout
14408
14409 \end_inset
14410
14411 は,事実上,\SpecialChar LyX
14412 とともに提供されるレイアウトファイルでのみ,使うことができるということを意味します.とはいえ,こういうことでありますので,将来的に\SpecialChar LyX
14413 に同梱させようとい
14414 う意図を以て作成されたレイアウトは,適切なところではすべて,これらのタグを使用するべきです.\SpecialChar LyX
14415 が提供する段落様式の翻訳は,マイナー更新(例えば2.1.x版から2.1.y版
14416 )では変更されないことに注意してください.しかしながら,メジャー更新(例えば2.0.x版から2.1.y版)では,新しい翻訳や修正が導入される可能性は大いにあります.
14417 \end_layout
14418
14419 \begin_layout Subsection
14420 フロート
14421 \begin_inset CommandInset label
14422 LatexCommand label
14423 name "subsec:フロート"
14424
14425 \end_inset
14426
14427
14428 \end_layout
14429
14430 \begin_layout Standard
14431 \SpecialChar LyX
14432 第1.3.0版以来,テキストクラス自体の中でフロート(
14433 \begin_inset Flex MenuItem
14434 status collapsed
14435
14436 \begin_layout Plain Layout
14437 figure
14438 \end_layout
14439
14440 \end_inset
14441
14442
14443 \begin_inset Flex MenuItem
14444 status collapsed
14445
14446 \begin_layout Plain Layout
14447 table
14448 \end_layout
14449
14450 \end_inset
14451
14452 ・\SpecialChar ldots
14453 )を定義することが可能となり,かつ必要となりました.標準的なフロートは
14454 \begin_inset Flex Code
14455 status collapsed
14456
14457 \begin_layout Plain Layout
14458 stdfloats.inc
14459 \end_layout
14460
14461 \end_inset
14462
14463 ファイルに含まれているので,作業中のレイアウトファイルに
14464 \end_layout
14465
14466 \begin_layout LyX-Code
14467 Input stdfloats.inc
14468 \end_layout
14469
14470 \begin_layout Standard
14471 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
14472 に同梱されているAGUクラスのように,それ以外のフロート型を提供するテキストクラスを実装するには,以下の情報が役立つであり
14473 ましょう.
14474 \end_layout
14475
14476 \begin_layout Description
14477 \begin_inset Flex Code
14478 status collapsed
14479
14480 \begin_layout Plain Layout
14481 AllowedPlacement
14482 \end_layout
14483
14484 \end_inset
14485
14486  [
14487 \begin_inset Flex Code
14488 status collapsed
14489
14490 \begin_layout Plain Layout
14491 文字列
14492 \end_layout
14493
14494 \end_inset
14495
14496 =!htbpH] このフロート型に許可された配置用の選択肢.値は,配置文字からなる文字列です.使用できる文字には,
14497 \emph on
14498 h
14499 \emph default
14500  (
14501 \begin_inset Quotes eld
14502 \end_inset
14503
14504 here if possible:可能ならば現在位置に
14505 \begin_inset Quotes erd
14506 \end_inset
14507
14508 ), 
14509 \emph on
14510 t
14511 \emph default
14512  (
14513 \begin_inset Quotes eld
14514 \end_inset
14515
14516 top of page:ページ上部
14517 \begin_inset Quotes erd
14518 \end_inset
14519
14520 )・
14521 \emph on
14522 b
14523 \emph default
14524  (
14525 \begin_inset Quotes eld
14526 \end_inset
14527
14528 bottom of page:ページ下部
14529 \begin_inset Quotes erd
14530 \end_inset
14531
14532 )・
14533 \emph on
14534 p
14535 \emph default
14536  (
14537 \begin_inset Quotes eld
14538 \end_inset
14539
14540 page of floats:フロートを独立したページに
14541 \begin_inset Quotes erd
14542 \end_inset
14543
14544 )・
14545 \emph on
14546 H
14547 \emph default
14548  (
14549 \begin_inset Quotes eld
14550 \end_inset
14551
14552 here definitely:何としても現在位置に置く
14553 \begin_inset Quotes erd
14554 \end_inset
14555
14556 )・
14557 \emph on
14558 !
14559 \emph default
14560  (
14561 \begin_inset Quotes eld
14562 \end_inset
14563
14564 ignore LaTeX rules:LaTeXの規則を無視する
14565 \begin_inset Quotes erd
14566 \end_inset
14567
14568 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,文字列として
14569 \emph on
14570 none
14571 \emph default
14572 を与えてください.
14573 \end_layout
14574
14575 \begin_layout Description
14576 \begin_inset Flex Code
14577 status collapsed
14578
14579 \begin_layout Plain Layout
14580 AllowsSideways
14581 \end_layout
14582
14583 \end_inset
14584
14585  [
14586 \begin_inset Flex Code
14587 status collapsed
14588
14589 \begin_layout Plain Layout
14590 0
14591 \end_layout
14592
14593 \end_inset
14594
14595 ,
14596 \begin_inset space \thinspace{}
14597 \end_inset
14598
14599
14600 \emph on
14601
14602 \begin_inset Flex Code
14603 status collapsed
14604
14605 \begin_layout Plain Layout
14606 1
14607 \end_layout
14608
14609 \end_inset
14610
14611
14612 \emph default
14613 ] フロートを,\SpecialChar LaTeX
14614 パッケージの
14615 \family typewriter
14616 rotfloat
14617 \family default
14618  (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
14619 \begin_inset Flex Code
14620 status collapsed
14621
14622 \begin_layout Plain Layout
14623 0
14624 \end_layout
14625
14626 \end_inset
14627
14628 を指定してください.
14629 \end_layout
14630
14631 \begin_layout Description
14632 \begin_inset Flex Code
14633 status collapsed
14634
14635 \begin_layout Plain Layout
14636 AllowsWide
14637 \end_layout
14638
14639 \end_inset
14640
14641  [
14642 \begin_inset Flex Code
14643 status collapsed
14644
14645 \begin_layout Plain Layout
14646 0
14647 \end_layout
14648
14649 \end_inset
14650
14651 ,
14652 \begin_inset space \thinspace{}
14653 \end_inset
14654
14655
14656 \emph on
14657
14658 \begin_inset Flex Code
14659 status collapsed
14660
14661 \begin_layout Plain Layout
14662 1
14663 \end_layout
14664
14665 \end_inset
14666
14667
14668 \emph default
14669 ] このフロートに,二段組段落において段落をまたぐ,星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
14670 \begin_inset Flex Code
14671 status collapsed
14672
14673 \begin_layout Plain Layout
14674 0
14675 \end_layout
14676
14677 \end_inset
14678
14679 を指定してください.
14680 \end_layout
14681
14682 \begin_layout Description
14683 \begin_inset Flex Code
14684 status collapsed
14685
14686 \begin_layout Plain Layout
14687 Extension
14688 \end_layout
14689
14690 \end_inset
14691
14692  [
14693 \begin_inset Flex Code
14694 status collapsed
14695
14696 \begin_layout Plain Layout
14697 文字列
14698 \end_layout
14699
14700 \end_inset
14701
14702 =
14703 \begin_inset Quotes erd
14704 \end_inset
14705
14706
14707 \begin_inset Quotes erd
14708 \end_inset
14709
14710 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
14711 がキャプションを書き込むファイルです.
14712 \end_layout
14713
14714 \begin_layout Description
14715 \begin_inset Flex Code
14716 status collapsed
14717
14718 \begin_layout Plain Layout
14719 GuiName
14720 \end_layout
14721
14722 \end_inset
14723
14724  [
14725 \begin_inset Flex Code
14726 status collapsed
14727
14728 \begin_layout Plain Layout
14729 文字列
14730 \end_layout
14731
14732 \end_inset
14733
14734 =
14735 \begin_inset Quotes erd
14736 \end_inset
14737
14738
14739 \begin_inset Quotes erd
14740 \end_inset
14741
14742 ] メニューとキャプションに使用される文字列.babelが使用される場合には,これは現在の言語に翻訳されます.
14743 \end_layout
14744
14745 \begin_layout Description
14746 \begin_inset Flex Code
14747 status collapsed
14748
14749 \begin_layout Plain Layout
14750 HTML*
14751 \end_layout
14752
14753 \end_inset
14754
14755  これらは,XHTML出力で使用されます.
14756 \begin_inset CommandInset ref
14757 LatexCommand ref
14758 reference "sec:XHTML出力のタグ"
14759
14760 \end_inset
14761
14762 をご覧ください.
14763 \end_layout
14764
14765 \begin_layout Description
14766 \begin_inset Flex Code
14767 status collapsed
14768
14769 \begin_layout Plain Layout
14770 IsPredefined
14771 \end_layout
14772
14773 \end_inset
14774
14775  [
14776 \begin_inset Flex Code
14777 status collapsed
14778
14779 \begin_layout Plain Layout
14780
14781 \emph on
14782 0
14783 \end_layout
14784
14785 \end_inset
14786
14787 ,
14788 \begin_inset space \thinspace{}
14789 \end_inset
14790
14791
14792 \begin_inset Flex Code
14793 status collapsed
14794
14795 \begin_layout Plain Layout
14796 1
14797 \end_layout
14798
14799 \end_inset
14800
14801 ] フロートがドキュメントクラス中に既に定義されているのか,あるいは\SpecialChar LaTeX
14802 パッケージ
14803 \begin_inset Flex Code
14804 status collapsed
14805
14806 \begin_layout Plain Layout
14807 float
14808 \end_layout
14809
14810 \end_inset
14811
14812 を読み込む必要があり,そのファイル内のものを使用して,オン・ザ・フライで定義するかを示します.既定は
14813 \begin_inset Flex Code
14814 status collapsed
14815
14816 \begin_layout Plain Layout
14817 0
14818 \end_layout
14819
14820 \end_inset
14821
14822 で,この場合
14823 \begin_inset Flex Code
14824 status collapsed
14825
14826 \begin_layout Plain Layout
14827 float
14828 \end_layout
14829
14830 \end_inset
14831
14832 を使用します.\SpecialChar LaTeX
14833 ドキュメントクラス中に既に定義されているときには,
14834 \begin_inset Flex Code
14835 status collapsed
14836
14837 \begin_layout Plain Layout
14838 0
14839 \end_layout
14840
14841 \end_inset
14842
14843 に設定しなくてはなりません.
14844 \end_layout
14845
14846 \begin_layout Description
14847 \begin_inset Flex Code
14848 status collapsed
14849
14850 \begin_layout Plain Layout
14851 ListCommand
14852 \end_layout
14853
14854 \end_inset
14855
14856  [
14857 \begin_inset Flex Code
14858 status collapsed
14859
14860 \begin_layout Plain Layout
14861 文字列
14862 \end_layout
14863
14864 \end_inset
14865
14866 =
14867 \begin_inset Quotes erd
14868 \end_inset
14869
14870
14871 \begin_inset Quotes erd
14872 \end_inset
14873
14874 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
14875 \backslash
14876 」は書きません.
14877 \begin_inset Flex Code
14878 status collapsed
14879
14880 \begin_layout Plain Layout
14881 NeedsFloatPkg
14882 \end_layout
14883
14884 \end_inset
14885
14886 が偽の時には,このコマンドを生成する標準的な方法はないので,これは
14887 \emph on
14888 必ず
14889 \emph default
14890 指定しなくてはなりません.
14891 \begin_inset Flex Code
14892 status collapsed
14893
14894 \begin_layout Plain Layout
14895 NeedsFloatPkg
14896 \end_layout
14897
14898 \end_inset
14899
14900 が真の時は,標準的な方法が存在するので,これは無視されます.
14901 \end_layout
14902
14903 \begin_layout Description
14904 \begin_inset Flex Code
14905 status collapsed
14906
14907 \begin_layout Plain Layout
14908 ListName
14909 \end_layout
14910
14911 \end_inset
14912
14913  [
14914 \begin_inset Flex Code
14915 status collapsed
14916
14917 \begin_layout Plain Layout
14918 文字列
14919 \end_layout
14920
14921 \end_inset
14922
14923 =
14924 \begin_inset Quotes erd
14925 \end_inset
14926
14927
14928 \begin_inset Quotes erd
14929 \end_inset
14930
14931 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
14932 中では,これは画面上のラベルとして使用されます.また,見出しとして使用するために,La\SpecialChar TeX
14933 に渡さ
14934 れ,XHTML出力でも見出しとして使用されます.これは,文書言語に翻訳されます.
14935 \end_layout
14936
14937 \begin_layout Description
14938 \begin_inset Flex Code
14939 status collapsed
14940
14941 \begin_layout Plain Layout
14942 NumberWithin
14943 \end_layout
14944
14945 \end_inset
14946
14947  [
14948 \begin_inset Flex Code
14949 status collapsed
14950
14951 \begin_layout Plain Layout
14952 文字列
14953 \end_layout
14954
14955 \end_inset
14956
14957 =
14958 \begin_inset Quotes erd
14959 \end_inset
14960
14961
14962 \begin_inset Quotes erd
14963 \end_inset
14964
14965 ] この(非必須の)引数は,このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
14966 \begin_inset Flex Code
14967 status collapsed
14968
14969 \begin_layout Plain Layout
14970 NumberWithin
14971 \end_layout
14972
14973 \end_inset
14974
14975 が「
14976 \begin_inset Flex Code
14977 status collapsed
14978
14979 \begin_layout Plain Layout
14980 chapter
14981 \end_layout
14982
14983 \end_inset
14984
14985 」に指定されていれば,フロートは章ごとに番号が振り直されます.
14986 \end_layout
14987
14988 \begin_layout Description
14989 \begin_inset Flex Code
14990 status collapsed
14991
14992 \begin_layout Plain Layout
14993 Placement
14994 \end_layout
14995
14996 \end_inset
14997
14998  [
14999 \begin_inset Flex Code
15000 status collapsed
15001
15002 \begin_layout Plain Layout
15003 文字列
15004 \end_layout
15005
15006 \end_inset
15007
15008 =
15009 \begin_inset Quotes erd
15010 \end_inset
15011
15012
15013 \begin_inset Quotes erd
15014 \end_inset
15015
15016 ] このクラスのフロートの既定の配置法.文字列は,標準的な\SpecialChar LaTeX
15017 表記に従い,
15018 \begin_inset Flex Code
15019 status collapsed
15020
15021 \begin_layout Plain Layout
15022 t
15023 \end_layout
15024
15025 \end_inset
15026
15027 ならば上部(top),
15028 \begin_inset Flex Code
15029 status collapsed
15030
15031 \begin_layout Plain Layout
15032 b
15033 \end_layout
15034
15035 \end_inset
15036
15037 ならば下部(bottom),
15038 \begin_inset Flex Code
15039 status collapsed
15040
15041 \begin_layout Plain Layout
15042 p
15043 \end_layout
15044
15045 \end_inset
15046
15047 ならばページ(page),
15048 \begin_inset Flex Code
15049 status collapsed
15050
15051 \begin_layout Plain Layout
15052 h
15053 \end_layout
15054
15055 \end_inset
15056
15057 ならばここ(here)を表します
15058 \begin_inset Foot
15059 status collapsed
15060
15061 \begin_layout Plain Layout
15062 \SpecialChar LaTeX
15063 同様,文字列中でのこれらの文字の順序は関係ありません.
15064 \end_layout
15065
15066 \end_inset
15067
15068 .これらの他に新しい型
15069 \begin_inset Flex Code
15070 status collapsed
15071
15072 \begin_layout Plain Layout
15073 H
15074 \end_layout
15075
15076 \end_inset
15077
15078 があり,これはフロートを「ここ」に置いていいけれども他の場所はだめ,というものなので,本当はフロートにあるものではありません.しかし,
15079 \begin_inset Flex Code
15080 status collapsed
15081
15082 \begin_layout Plain Layout
15083 H
15084 \end_layout
15085
15086 \end_inset
15087
15088 指定子は特別なものであり,その細かい実装上の理由で,組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,代わり
15089 に「
15090 \begin_inset Flex Code
15091 status collapsed
15092
15093 \begin_layout Plain Layout
15094 tbp
15095 \end_layout
15096
15097 \end_inset
15098
15099 」を指定してください.
15100 \end_layout
15101
15102 \begin_layout Description
15103 \begin_inset Flex Code
15104 status collapsed
15105
15106 \begin_layout Plain Layout
15107 RefPrefix
15108 \end_layout
15109
15110 \end_inset
15111
15112  [
15113 \begin_inset Flex Code
15114 status collapsed
15115
15116 \begin_layout Plain Layout
15117 文字列
15118 \end_layout
15119
15120 \end_inset
15121
15122 ] この型のフロートを参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.コピーした様式が設定した
15123 \begin_inset Flex Code
15124 status collapsed
15125
15126 \begin_layout Plain Layout
15127 RefPrefix
15128 \end_layout
15129
15130 \end_inset
15131
15132 は,特別な文字列「OFF」(すべて大文字)を使えば,いつでも削除することができます.
15133 \end_layout
15134
15135 \begin_layout Description
15136 \begin_inset Flex Code
15137 status collapsed
15138
15139 \begin_layout Plain Layout
15140 Style
15141 \end_layout
15142
15143 \end_inset
15144
15145  [
15146 \begin_inset Flex Code
15147 status collapsed
15148
15149 \begin_layout Plain Layout
15150 文字列
15151 \end_layout
15152
15153 \end_inset
15154
15155 =
15156 \begin_inset Quotes erd
15157 \end_inset
15158
15159
15160 \begin_inset Quotes erd
15161 \end_inset
15162
15163
15164 \begin_inset Flex Code
15165 status collapsed
15166
15167 \begin_layout Plain Layout
15168
15169 \backslash
15170 newfloat
15171 \end_layout
15172
15173 \end_inset
15174
15175 を使用してフロートを定義する際に使用される様式.
15176 \end_layout
15177
15178 \begin_layout Description
15179 \begin_inset Flex Code
15180 status collapsed
15181
15182 \begin_layout Plain Layout
15183 Type
15184 \end_layout
15185
15186 \end_inset
15187
15188  [
15189 \begin_inset Flex Code
15190 status collapsed
15191
15192 \begin_layout Plain Layout
15193 文字列
15194 \end_layout
15195
15196 \end_inset
15197
15198 =
15199 \begin_inset Quotes erd
15200 \end_inset
15201
15202
15203 \begin_inset Quotes erd
15204 \end_inset
15205
15206 ] プログラムやアルゴリズムのような,フロートの新しいクラス「型」.適切な
15207 \begin_inset Flex Code
15208 status collapsed
15209
15210 \begin_layout Plain Layout
15211
15212 \backslash
15213 newfloat
15214 \end_layout
15215
15216 \end_inset
15217
15218 の後で,
15219 \begin_inset Flex Code
15220 status collapsed
15221
15222 \begin_layout Plain Layout
15223
15224 \backslash
15225 begin{program}
15226 \end_layout
15227
15228 \end_inset
15229
15230
15231 \begin_inset Flex Code
15232 status collapsed
15233
15234 \begin_layout Plain Layout
15235
15236 \backslash
15237 end{algorithm*}
15238 \end_layout
15239
15240 \end_inset
15241
15242 といったコマンドが利用できます.
15243 \end_layout
15244
15245 \begin_layout Description
15246 \begin_inset Flex Code
15247 status collapsed
15248
15249 \begin_layout Plain Layout
15250 UsesFloatPkg
15251 \end_layout
15252
15253 \end_inset
15254
15255  [
15256 \begin_inset Flex Code
15257 status collapsed
15258
15259 \begin_layout Plain Layout
15260 0
15261 \end_layout
15262
15263 \end_inset
15264
15265 ,
15266 \begin_inset space \thinspace{}
15267 \end_inset
15268
15269
15270 \begin_inset Flex Code
15271 status collapsed
15272
15273 \begin_layout Plain Layout
15274
15275 \emph on
15276 1
15277 \end_layout
15278
15279 \end_inset
15280
15281 ] このフロートが,クラスファイルやパッケージ中で,\SpecialChar LaTeX
15282 パッケージ
15283 \begin_inset Flex Code
15284 status collapsed
15285
15286 \begin_layout Plain Layout
15287 float
15288 \end_layout
15289
15290 \end_inset
15291
15292 が提供しているものを使用して定義されているのか,\SpecialChar LyX
15293 自身がオン・ザ・フライで定義しているのかを示します.
15294 \end_layout
15295
15296 \begin_layout Standard
15297 \begin_inset Flex Code
15298 status collapsed
15299
15300 \begin_layout Plain Layout
15301
15302 \emph on
15303 type
15304 \end_layout
15305
15306 \end_inset
15307
15308 型のフロートを定義すると,自動的に
15309 \emph on
15310 対応する
15311 \emph default
15312
15313 \begin_inset Flex Code
15314 status collapsed
15315
15316 \begin_layout Plain Layout
15317
15318 \emph on
15319 type
15320 \end_layout
15321
15322 \end_inset
15323
15324 名カウンタが定義されます.
15325 \end_layout
15326
15327 \begin_layout Subsection
15328 自由差込枠と差込枠レイアウト
15329 \begin_inset CommandInset label
15330 LatexCommand label
15331 name "subsec:任意設定差込枠"
15332
15333 \end_inset
15334
15335
15336 \end_layout
15337
15338 \begin_layout Standard
15339 自由差込枠には次の3種類があります.
15340 \end_layout
15341
15342 \begin_layout Itemize
15343 文字様式(
15344 \begin_inset Flex Code
15345 status collapsed
15346
15347 \begin_layout Plain Layout
15348 CharStyle
15349 \end_layout
15350
15351 \end_inset
15352
15353 ).これは,
15354 \begin_inset Flex Code
15355 status collapsed
15356
15357 \begin_layout Plain Layout
15358
15359 \backslash
15360 noun
15361 \end_layout
15362
15363 \end_inset
15364
15365
15366 \begin_inset Flex Code
15367 status collapsed
15368
15369 \begin_layout Plain Layout
15370
15371 \backslash
15372 code
15373 \end_layout
15374
15375 \end_inset
15376
15377 などの\SpecialChar LaTeX
15378 コマンドに対応した意味論的マークアップを定義するものです.
15379 \end_layout
15380
15381 \begin_layout Itemize
15382 ユーザ設定(
15383 \begin_inset Flex Code
15384 status collapsed
15385
15386 \begin_layout Plain Layout
15387 Custom
15388 \end_layout
15389
15390 \end_inset
15391
15392 ).これは,\SpecialChar TeX
15393 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,これは
15394 \begin_inset Flex Code
15395 status collapsed
15396
15397 \begin_layout Plain Layout
15398 endnote
15399 \end_layout
15400
15401 \end_inset
15402
15403 モジュール中で定義されています.
15404 \end_layout
15405
15406 \begin_layout Itemize
15407 XML要素(
15408 \begin_inset Flex Code
15409 status collapsed
15410
15411 \begin_layout Plain Layout
15412 Element
15413 \end_layout
15414
15415 \end_inset
15416
15417 ).DocBookクラスで使用するものです.
15418 \end_layout
15419
15420 \begin_layout Standard
15421 自由差込枠は,以下で説明する
15422 \begin_inset Flex Code
15423 status collapsed
15424
15425 \begin_layout Plain Layout
15426 InsetLayout
15427 \end_layout
15428
15429 \end_inset
15430
15431 タグを使用して定義されます.
15432 \end_layout
15433
15434 \begin_layout Standard
15435 \begin_inset Flex Code
15436 status collapsed
15437
15438 \begin_layout Plain Layout
15439 InsetLayout
15440 \end_layout
15441
15442 \end_inset
15443
15444 タグは,もう一つ別の機能も提供します.これを使えば,いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
15445 \begin_inset Flex Code
15446 status collapsed
15447
15448 \begin_layout Plain Layout
15449 InsetLayout
15450 \end_layout
15451
15452 \end_inset
15453
15454 は自由差込枠を定義することの他に,脚註・傍註・註釈差込枠・\SpecialChar TeX
15455 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザ
15456 ー定義するのに使用されます.
15457 \end_layout
15458
15459 \begin_layout Standard
15460 \begin_inset Flex Code
15461 status collapsed
15462
15463 \begin_layout Plain Layout
15464 InsetLayout
15465 \end_layout
15466
15467 \end_inset
15468
15469 定義は以下の形の行では始まらなくてはなりません.
15470 \end_layout
15471
15472 \begin_layout LyX-Code
15473 InsetLayout <型>
15474 \end_layout
15475
15476 \begin_layout Standard
15477 ここで
15478 \begin_inset Flex Code
15479 status collapsed
15480
15481 \begin_layout Plain Layout
15482 <型>
15483 \end_layout
15484
15485 \end_inset
15486
15487 は,レイアウトを定義しようとしている差込枠を指し,4つの場合があります.
15488 \end_layout
15489
15490 \begin_layout Enumerate
15491 既存の差込枠のレイアウトを変更する場合.この場合,
15492 \begin_inset Flex Code
15493 status collapsed
15494
15495 \begin_layout Plain Layout
15496 <型>
15497 \end_layout
15498
15499 \end_inset
15500
15501 は以下のいずれかになります:
15502 \begin_inset Flex Code
15503 status collapsed
15504
15505 \begin_layout Plain Layout
15506 Algorithm
15507 \end_layout
15508
15509 \end_inset
15510
15511
15512 \begin_inset Flex Code
15513 status collapsed
15514
15515 \begin_layout Plain Layout
15516 Branch
15517 \end_layout
15518
15519 \end_inset
15520
15521
15522 \begin_inset Flex Code
15523 status collapsed
15524
15525 \begin_layout Plain Layout
15526 Box
15527 \end_layout
15528
15529 \end_inset
15530
15531
15532 \begin_inset Flex Code
15533 status collapsed
15534
15535 \begin_layout Plain Layout
15536 Box:shaded
15537 \end_layout
15538
15539 \end_inset
15540
15541
15542 \begin_inset Flex Code
15543 status collapsed
15544
15545 \begin_layout Plain Layout
15546 Caption:Standard
15547 \end_layout
15548
15549 \end_inset
15550
15551
15552 \begin_inset Flex Code
15553 status collapsed
15554
15555 \begin_layout Plain Layout
15556 ERT
15557 \end_layout
15558
15559 \end_inset
15560
15561
15562 \begin_inset Flex Code
15563 status collapsed
15564
15565 \begin_layout Plain Layout
15566 Figure
15567 \end_layout
15568
15569 \end_inset
15570
15571
15572 \begin_inset Flex Code
15573 status collapsed
15574
15575 \begin_layout Plain Layout
15576 Foot
15577 \end_layout
15578
15579 \end_inset
15580
15581
15582 \begin_inset Flex Code
15583 status collapsed
15584
15585 \begin_layout Plain Layout
15586 Index
15587 \end_layout
15588
15589 \end_inset
15590
15591
15592 \begin_inset Flex Code
15593 status collapsed
15594
15595 \begin_layout Plain Layout
15596 Info
15597 \end_layout
15598
15599 \end_inset
15600
15601
15602 \begin_inset Flex Code
15603 status collapsed
15604
15605 \begin_layout Plain Layout
15606 Info:menu
15607 \end_layout
15608
15609 \end_inset
15610
15611
15612 \begin_inset Flex Code
15613 status collapsed
15614
15615 \begin_layout Plain Layout
15616 Info:shortcut
15617 \end_layout
15618
15619 \end_inset
15620
15621
15622 \begin_inset Flex Code
15623 status collapsed
15624
15625 \begin_layout Plain Layout
15626 Info:shortcuts
15627 \end_layout
15628
15629 \end_inset
15630
15631
15632 \begin_inset Flex Code
15633 status collapsed
15634
15635 \begin_layout Plain Layout
15636 Listings
15637 \end_layout
15638
15639 \end_inset
15640
15641
15642 \begin_inset Flex Code
15643 status collapsed
15644
15645 \begin_layout Plain Layout
15646 Marginal
15647 \end_layout
15648
15649 \end_inset
15650
15651
15652 \begin_inset Flex Code
15653 status collapsed
15654
15655 \begin_layout Plain Layout
15656 Note:Comment
15657 \end_layout
15658
15659 \end_inset
15660
15661
15662 \begin_inset Flex Code
15663 status collapsed
15664
15665 \begin_layout Plain Layout
15666 Note:Note
15667 \end_layout
15668
15669 \end_inset
15670
15671
15672 \begin_inset Flex Code
15673 status collapsed
15674
15675 \begin_layout Plain Layout
15676 Note:GreyedOut
15677 \end_layout
15678
15679 \end_inset
15680
15681
15682 \begin_inset Flex Code
15683 status collapsed
15684
15685 \begin_layout Plain Layout
15686 Table
15687 \end_layout
15688
15689 \end_inset
15690
15691
15692 \begin_inset Flex Code
15693 status collapsed
15694
15695 \begin_layout Plain Layout
15696 URL
15697 \end_layout
15698
15699 \end_inset
15700
15701
15702 \end_layout
15703
15704 \begin_layout Enumerate
15705 自由差込枠のレイアウトを定義する場合.この場合,
15706 \begin_inset Flex Code
15707 status collapsed
15708
15709 \begin_layout Plain Layout
15710 <型>
15711 \end_layout
15712
15713 \end_inset
15714
15715
15716 \begin_inset Flex Code
15717 status collapsed
15718
15719 \begin_layout Plain Layout
15720 Flex:<名称>
15721 \end_layout
15722
15723 \end_inset
15724
15725 の形でなくてはなりません.ここで,
15726 \begin_inset Flex Code
15727 status collapsed
15728
15729 \begin_layout Plain Layout
15730 名称
15731 \end_layout
15732
15733 \end_inset
15734
15735 は,既存の自由差込枠で使用されていない有効な識別子であれば,何でも構いません.識別子には空白を入れることもできますが,この場合には全体を引用符で囲まなくてはなり
15736 ません.自由差込枠の定義には,この定義がどの差込枠型なのか宣言するために,
15737 \begin_inset Flex Code
15738 status collapsed
15739
15740 \begin_layout Plain Layout
15741 LyXType
15742 \end_layout
15743
15744 \end_inset
15745
15746 項目が含まれていなくてはならないことに注意してください.
15747 \end_layout
15748
15749 \begin_layout Enumerate
15750 ユーザー定義派生枝を定義する場合.この場合,
15751 \begin_inset Flex Code
15752 status collapsed
15753
15754 \begin_layout Plain Layout
15755 <型>
15756 \end_layout
15757
15758 \end_inset
15759
15760 は「
15761 \begin_inset Flex Code
15762 status collapsed
15763
15764 \begin_layout Plain Layout
15765 Branch:<名称>
15766 \end_layout
15767
15768 \end_inset
15769
15770 」の形でなくてはなりません.ここで,
15771 \begin_inset Flex Code
15772 status collapsed
15773
15774 \begin_layout Plain Layout
15775 名称
15776 \end_layout
15777
15778 \end_inset
15779
15780 は,ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主
15781 な目的は,ユーザーの必要に応じて,特定の派生枝を\SpecialChar LaTeX
15782 がくるむことができるようにすることです.
15783 \end_layout
15784
15785 \begin_layout Enumerate
15786 ユーザー(またはクラス)定義のキャプションを定義する場合.この場合,
15787 \begin_inset Flex Code
15788 status collapsed
15789
15790 \begin_layout Plain Layout
15791 <型>
15792 \end_layout
15793
15794 \end_inset
15795
15796 は「
15797 \begin_inset Flex Code
15798 status collapsed
15799
15800 \begin_layout Plain Layout
15801 Caption:<名称>
15802 \end_layout
15803
15804 \end_inset
15805
15806 」の形でなくてはなりません.ここで,
15807 \begin_inset Flex Code
15808 status collapsed
15809
15810 \begin_layout Plain Layout
15811 名称
15812 \end_layout
15813
15814 \end_inset
15815
15816 は,メニューに表示されるキャプション名です.応用例については,標準キャプション(
15817 \begin_inset Flex Code
15818 status collapsed
15819
15820 \begin_layout Plain Layout
15821 Caption:Standard
15822 \end_layout
15823
15824 \end_inset
15825
15826 ),若しくはKOMA-Scriptクラスのクラス定義キャプション(
15827 \begin_inset Flex Code
15828 status collapsed
15829
15830 \begin_layout Plain Layout
15831 Caption:Above
15832 \end_layout
15833
15834 \end_inset
15835
15836
15837 \begin_inset Flex Code
15838 status collapsed
15839
15840 \begin_layout Plain Layout
15841 Caption:Below
15842 \end_layout
15843
15844 \end_inset
15845
15846 ),
15847 \family sans
15848 多言語キャプション
15849 \family default
15850 モジュール(
15851 \begin_inset Flex Code
15852 status collapsed
15853
15854 \begin_layout Plain Layout
15855 Caption:\SpecialChar allowbreak
15856 Bicaption
15857 \end_layout
15858
15859 \end_inset
15860
15861 )をご覧ください.
15862 \end_layout
15863
15864 \begin_layout Standard
15865 \begin_inset Flex Code
15866 status collapsed
15867
15868 \begin_layout Plain Layout
15869 InsetLayout
15870 \end_layout
15871
15872 \end_inset
15873
15874 定義には以下の項目を入れることができます.
15875 \end_layout
15876
15877 \begin_layout Description
15878 \begin_inset Flex Code
15879 status collapsed
15880
15881 \begin_layout Plain Layout
15882 AddToToc
15883 \end_layout
15884
15885 \end_inset
15886
15887  [
15888 \begin_inset Flex Code
15889 status collapsed
15890
15891 \begin_layout Plain Layout
15892 文字列
15893 \end_layout
15894
15895 \end_inset
15896
15897 =""] この差込枠は,この型の一覧表に表示されます.空の文字列を入れると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドも参
15898 照してください.これは,自由差込枠にのみ実装されています.既定値:無効.
15899 \end_layout
15900
15901 \begin_layout Description
15902 \begin_inset Flex Code
15903 status collapsed
15904
15905 \begin_layout Plain Layout
15906 Argument
15907 \end_layout
15908
15909 \end_inset
15910
15911  [
15912 \begin_inset Flex Code
15913 status collapsed
15914
15915 \begin_layout Plain Layout
15916 整数
15917 \end_layout
15918
15919 \end_inset
15920
15921 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引数番号を定義します.定義は
15922 \begin_inset Flex Code
15923 status collapsed
15924
15925 \begin_layout Plain Layout
15926 EndArgument
15927 \end_layout
15928
15929 \end_inset
15930
15931 で閉じなくてはなりません.詳細は第
15932 \begin_inset CommandInset ref
15933 LatexCommand ref
15934 reference "subsec:段落様式"
15935
15936 \end_inset
15937
15938 節参照.
15939 \end_layout
15940
15941 \begin_layout Description
15942 \begin_inset Flex Code
15943 status collapsed
15944
15945 \begin_layout Plain Layout
15946 BabelPreamble
15947 \end_layout
15948
15949 \end_inset
15950
15951  言語コマンドを変更するプリアンブル.第
15952 \begin_inset CommandInset ref
15953 LatexCommand ref
15954 reference "subsec:段落様式の国際化"
15955
15956 \end_inset
15957
15958 節参照.
15959 \end_layout
15960
15961 \begin_layout Description
15962 \begin_inset Flex Code
15963 status collapsed
15964
15965 \begin_layout Plain Layout
15966 BgColor
15967 \end_layout
15968
15969 \end_inset
15970
15971  [
15972 \begin_inset Flex Code
15973 status collapsed
15974
15975 \begin_layout Plain Layout
15976 <名称>
15977 \end_layout
15978
15979 \end_inset
15980
15981 ] 差込枠の背景色.使用できる色名一覧は第
15982 \begin_inset CommandInset ref
15983 LatexCommand ref
15984 reference "chap:色名"
15985
15986 \end_inset
15987
15988 節参照.
15989 \end_layout
15990
15991 \begin_layout Description
15992 \begin_inset Flex Code
15993 status collapsed
15994
15995 \begin_layout Plain Layout
15996 ContentAsLabel
15997 \end_layout
15998
15999 \end_inset
16000
16001  [
16002 \begin_inset Flex Code
16003 status collapsed
16004
16005 \begin_layout Plain Layout
16006
16007 \emph on
16008 0
16009 \end_layout
16010
16011 \end_inset
16012
16013 ,
16014 \begin_inset space \thinspace{}
16015 \end_inset
16016
16017
16018 \begin_inset Flex Code
16019 status collapsed
16020
16021 \begin_layout Plain Layout
16022 1
16023 \end_layout
16024
16025 \end_inset
16026
16027 ] 差込枠を閉じた際,差込枠の内容をラベルとして使用するか否か.既定値は偽です.
16028 \end_layout
16029
16030 \begin_layout Description
16031 \begin_inset Flex Code
16032 status collapsed
16033
16034 \begin_layout Plain Layout
16035 CopyStyle
16036 \end_layout
16037
16038 \end_inset
16039
16040  [<型>] 段落様式と同様です.第
16041 \begin_inset CommandInset ref
16042 LatexCommand ref
16043 reference "subsec:段落様式"
16044
16045 \end_inset
16046
16047 節参照のこと.完全な型を指定する必要があることに注意してください.例:
16048 \begin_inset Flex Code
16049 status collapsed
16050
16051 \begin_layout Plain Layout
16052 CopyStyle Flex:<名称>
16053 \end_layout
16054
16055 \end_inset
16056
16057
16058 \end_layout
16059
16060 \begin_layout Description
16061 \begin_inset Flex Code
16062 status collapsed
16063
16064 \begin_layout Plain Layout
16065 CustomPars
16066 \end_layout
16067
16068 \end_inset
16069
16070  [
16071 \begin_inset Flex Code
16072 status collapsed
16073
16074 \begin_layout Plain Layout
16075
16076 \emph on
16077 0
16078 \end_layout
16079
16080 \end_inset
16081
16082 ,
16083 \begin_inset space \thinspace{}
16084 \end_inset
16085
16086
16087 \begin_inset Flex Code
16088 status collapsed
16089
16090 \begin_layout Plain Layout
16091 1
16092 \end_layout
16093
16094 \end_inset
16095
16096 ] 段落を設定するのに,段落設定ダイアログをユーザが使えるかどうかを指定します.
16097 \end_layout
16098
16099 \begin_layout Description
16100 \begin_inset Flex Code
16101 status collapsed
16102
16103 \begin_layout Plain Layout
16104 Decoration
16105 \end_layout
16106
16107 \end_inset
16108
16109  差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
16110 \begin_inset Flex Code
16111 status collapsed
16112
16113 \begin_layout Plain Layout
16114 Classic
16115 \end_layout
16116
16117 \end_inset
16118
16119
16120 \begin_inset Flex Code
16121 status collapsed
16122
16123 \begin_layout Plain Layout
16124 Minimalistic
16125 \end_layout
16126
16127 \end_inset
16128
16129
16130 \begin_inset Flex Code
16131 status collapsed
16132
16133 \begin_layout Plain Layout
16134 Conglomerate
16135 \end_layout
16136
16137 \end_inset
16138
16139 のいずれかを指定することができます.脚註は通常
16140 \begin_inset Flex Code
16141 status collapsed
16142
16143 \begin_layout Plain Layout
16144 Classic
16145 \end_layout
16146
16147 \end_inset
16148
16149 を使用し,\SpecialChar TeX
16150 コード差込枠は通常
16151 \begin_inset Flex Code
16152 status collapsed
16153
16154 \begin_layout Plain Layout
16155 Minimalistic
16156 \end_layout
16157
16158 \end_inset
16159
16160 ,文字様式は
16161 \begin_inset Flex Code
16162 status collapsed
16163
16164 \begin_layout Plain Layout
16165 Conglomerate
16166 \end_layout
16167
16168 \end_inset
16169
16170 を使用します.
16171 \end_layout
16172
16173 \begin_layout Description
16174 \begin_inset Flex Code
16175 status collapsed
16176
16177 \begin_layout Plain Layout
16178 Display
16179 \end_layout
16180
16181 \end_inset
16182
16183  [
16184 \begin_inset Flex Code
16185 status collapsed
16186
16187 \begin_layout Plain Layout
16188 0
16189 \end_layout
16190
16191 \end_inset
16192
16193 ,
16194 \begin_inset space \thinspace{}
16195 \end_inset
16196
16197
16198 \begin_inset Flex Code
16199 status collapsed
16200
16201 \begin_layout Plain Layout
16202
16203 \emph on
16204 1
16205 \end_layout
16206
16207 \end_inset
16208
16209
16210 \begin_inset Flex Code
16211 status collapsed
16212
16213 \begin_layout Plain Layout
16214 LatexType
16215 \end_layout
16216
16217 \end_inset
16218
16219
16220 \begin_inset Flex Code
16221 status collapsed
16222
16223 \begin_layout Plain Layout
16224 Environment
16225 \end_layout
16226
16227 \end_inset
16228
16229 の時のみ意味をもちます.環境を,出力中で独立して出力させるか,周囲のテキストとインラインで出力させるかを示します.偽にすると,\SpecialChar LaTeX
16230 環境は,
16231 \begin_inset Flex Code
16232 status collapsed
16233
16234 \begin_layout Plain Layout
16235
16236 \backslash
16237 begin{LatexName}
16238 \end_layout
16239
16240 \end_inset
16241
16242 タグと
16243 \begin_inset Flex Code
16244 status collapsed
16245
16246 \begin_layout Plain Layout
16247
16248 \backslash
16249 end{LatexName}
16250 \end_layout
16251
16252 \end_inset
16253
16254 タグの後の空白(改行文字を含む)を無視するものと仮定します.
16255 \end_layout
16256
16257 \begin_layout Description
16258 \begin_inset Flex Code
16259 status collapsed
16260
16261 \begin_layout Plain Layout
16262 End
16263 \end_layout
16264
16265 \end_inset
16266
16267  
16268 \begin_inset Flex Code
16269 status collapsed
16270
16271 \begin_layout Plain Layout
16272 InsetLayout
16273 \end_layout
16274
16275 \end_inset
16276
16277 宣言を閉じるのに必要です.
16278 \end_layout
16279
16280 \begin_layout Description
16281 \begin_inset Flex Code
16282 status collapsed
16283
16284 \begin_layout Plain Layout
16285 Font
16286 \end_layout
16287
16288 \end_inset
16289
16290  本文本体とラベル
16291 \emph on
16292 両方に
16293 \emph default
16294 使用されるフォントです.第
16295 \begin_inset CommandInset ref
16296 LatexCommand ref
16297 reference "subsec:フォント指定"
16298
16299 \end_inset
16300
16301 節を参照.このフォントを定義すると自動的に
16302 \begin_inset Flex Code
16303 status collapsed
16304
16305 \begin_layout Plain Layout
16306 LabelFont
16307 \end_layout
16308
16309 \end_inset
16310
16311 も同じ値に定義されるので,これらを別々の値にしたいときは,これを先に定義してから後に
16312 \begin_inset Flex Code
16313 status collapsed
16314
16315 \begin_layout Plain Layout
16316 LabelFont
16317 \end_layout
16318
16319 \end_inset
16320
16321 を定義しなくてはならないことに注意してください.
16322 \end_layout
16323
16324 \begin_layout Description
16325 \begin_inset Flex Code
16326 status collapsed
16327
16328 \begin_layout Plain Layout
16329 FixedWidthPreambleEncoding
16330 \end_layout
16331
16332 \end_inset
16333
16334  [
16335 \begin_inset Flex Code
16336 status collapsed
16337
16338 \begin_layout Plain Layout
16339
16340 \emph on
16341 0
16342 \end_layout
16343
16344 \end_inset
16345
16346 ,
16347 \begin_inset space \thinspace{}
16348 \end_inset
16349
16350
16351 \begin_inset Flex Code
16352 status collapsed
16353
16354 \begin_layout Plain Layout
16355 1
16356 \end_layout
16357
16358 \end_inset
16359
16360 ] このレイアウトによって生成される
16361 \begin_inset Flex Code
16362 status collapsed
16363
16364 \begin_layout Plain Layout
16365 BabelPreamble
16366 \end_layout
16367
16368 \end_inset
16369
16370 および
16371 \begin_inset Flex Code
16372 status collapsed
16373
16374 \begin_layout Plain Layout
16375 LangPreamble
16376 \end_layout
16377
16378 \end_inset
16379
16380 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
16381 \family typewriter
16382 listings
16383 \family default
16384 のように,
16385 \family sans
16386 utf8
16387 \family default
16388 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
16389 パッケージのために必要です.この設定は,Xe\SpecialChar TeX
16390 やLua\SpecialChar TeX
16391 のようなUnicodeを完全に解する\SpecialChar LaTeX
16392 バックエンドを使用してい
16393 る場合には,無視されます.
16394 \end_layout
16395
16396 \begin_layout Description
16397 \begin_inset Flex Code
16398 status collapsed
16399
16400 \begin_layout Plain Layout
16401 ForceLocalFontSwitch
16402 \end_layout
16403
16404 \end_inset
16405
16406  [
16407 \begin_inset Flex Code
16408 status collapsed
16409
16410 \begin_layout Plain Layout
16411
16412 \emph on
16413 0
16414 \end_layout
16415
16416 \end_inset
16417
16418 ,
16419 \begin_inset space \thinspace{}
16420 \end_inset
16421
16422
16423 \begin_inset Flex Code
16424 status collapsed
16425
16426 \begin_layout Plain Layout
16427 1
16428 \end_layout
16429
16430 \end_inset
16431
16432 ] babel使用時に,常にローカルフォント切替(
16433 \begin_inset Flex Code
16434 status collapsed
16435
16436 \begin_layout Plain Layout
16437
16438 \backslash
16439 foreignlanguage
16440 \end_layout
16441
16442 \end_inset
16443
16444 )を使い,グローバル切替(
16445 \begin_inset Flex Code
16446 status collapsed
16447
16448 \begin_layout Plain Layout
16449
16450 \backslash
16451 selectlanguage
16452 \end_layout
16453
16454 \end_inset
16455
16456 など)は使わない.
16457 \end_layout
16458
16459 \begin_layout Description
16460 \begin_inset Flex Code
16461 status collapsed
16462
16463 \begin_layout Plain Layout
16464 ForceLTR
16465 \end_layout
16466
16467 \end_inset
16468
16469  [
16470 \begin_inset Flex Code
16471 status collapsed
16472
16473 \begin_layout Plain Layout
16474
16475 \emph on
16476 0
16477 \end_layout
16478
16479 \end_inset
16480
16481 ,
16482 \begin_inset space \thinspace{}
16483 \end_inset
16484
16485
16486 \begin_inset Flex Code
16487 status collapsed
16488
16489 \begin_layout Plain Layout
16490 1
16491 \end_layout
16492
16493 \end_inset
16494
16495 ] たとえば\SpecialChar TeX
16496 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
16497 \end_layout
16498
16499 \begin_layout Description
16500 \begin_inset Flex Code
16501 status collapsed
16502
16503 \begin_layout Plain Layout
16504 ForceOwnlines
16505 \end_layout
16506
16507 \end_inset
16508
16509  [
16510 \begin_inset Flex Code
16511 status collapsed
16512
16513 \begin_layout Plain Layout
16514
16515 \emph on
16516 0
16517 \end_layout
16518
16519 \end_inset
16520
16521 ,
16522 \begin_inset space \thinspace{}
16523 \end_inset
16524
16525
16526 \begin_inset Flex Code
16527 status collapsed
16528
16529 \begin_layout Plain Layout
16530 1
16531 \end_layout
16532
16533 \end_inset
16534
16535 ] \SpecialChar LaTeX
16536 出力において,この差込枠が開始する前と終了する後に,改行を強制します.これは,解析上の目的のために,差込枠が単独行に出力されるように保証します.
16537 \end_layout
16538
16539 \begin_layout Description
16540 \begin_inset Flex Code
16541 status collapsed
16542
16543 \begin_layout Plain Layout
16544 ForcePlain
16545 \end_layout
16546
16547 \end_inset
16548
16549  [
16550 \begin_inset Flex Code
16551 status collapsed
16552
16553 \begin_layout Plain Layout
16554
16555 \emph on
16556 0
16557 \end_layout
16558
16559 \end_inset
16560
16561 ,
16562 \begin_inset space \thinspace{}
16563 \end_inset
16564
16565
16566 \begin_inset Flex Code
16567 status collapsed
16568
16569 \begin_layout Plain Layout
16570 1
16571 \end_layout
16572
16573 \end_inset
16574
16575 ] PlainLayoutを使用するべきなのか,それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
16576 \end_layout
16577
16578 \begin_layout Description
16579 \begin_inset Flex Code
16580 status collapsed
16581
16582 \begin_layout Plain Layout
16583 FreeSpacing
16584 \end_layout
16585
16586 \end_inset
16587
16588  [
16589 \emph on
16590
16591 \begin_inset Flex Code
16592 status collapsed
16593
16594 \begin_layout Plain Layout
16595 0
16596 \end_layout
16597
16598 \end_inset
16599
16600
16601 \emph default
16602 ,
16603 \begin_inset space \thinspace{}
16604 \end_inset
16605
16606
16607 \begin_inset Flex Code
16608 status collapsed
16609
16610 \begin_layout Plain Layout
16611 1
16612 \end_layout
16613
16614 \end_inset
16615
16616 ] 段落様式と同様.第
16617 \begin_inset CommandInset ref
16618 LatexCommand ref
16619 reference "subsec:段落様式"
16620
16621 \end_inset
16622
16623 節参照.
16624 \end_layout
16625
16626 \begin_layout Description
16627 \begin_inset Flex Code
16628 status collapsed
16629
16630 \begin_layout Plain Layout
16631 HTML*
16632 \end_layout
16633
16634 \end_inset
16635
16636  これらは,XHTML出力で使用されます.第
16637 \begin_inset CommandInset ref
16638 LatexCommand ref
16639 reference "sec:XHTML出力のタグ"
16640
16641 \end_inset
16642
16643 節をご覧ください.
16644 \end_layout
16645
16646 \begin_layout Description
16647 \begin_inset Flex Code
16648 status collapsed
16649
16650 \begin_layout Plain Layout
16651 InToc
16652 \end_layout
16653
16654 \end_inset
16655
16656  [
16657 \begin_inset Flex Code
16658 status collapsed
16659
16660 \begin_layout Plain Layout
16661
16662 \emph on
16663 0
16664 \end_layout
16665
16666 \end_inset
16667
16668 ,
16669 \begin_inset space \thinspace{}
16670 \end_inset
16671
16672
16673 \begin_inset Flex Code
16674 status collapsed
16675
16676 \begin_layout Plain Layout
16677 1
16678 \end_layout
16679
16680 \end_inset
16681
16682 ] AddToTocの設定に関わらず,「文書構造」面用に出力される文字列に,この差込枠の内容を含めるかどうか.たとえば,節見出しの脚註の内容が,文書構造の目次に
16683 表示されることは望まないでしょうが,通常,文字様式の内容は表示されることを望むでしょう.既定値は偽,すなわち含めません.
16684 \end_layout
16685
16686 \begin_layout Description
16687 \begin_inset Flex Code
16688 status collapsed
16689
16690 \begin_layout Plain Layout
16691 IsTocCaption
16692 \end_layout
16693
16694 \end_inset
16695
16696  [
16697 \begin_inset Flex Code
16698 status collapsed
16699
16700 \begin_layout Plain Layout
16701
16702 \emph on
16703 0
16704 \end_layout
16705
16706 \end_inset
16707
16708 ,
16709 \begin_inset space \thinspace{}
16710 \end_inset
16711
16712
16713 \begin_inset Flex Code
16714 status collapsed
16715
16716 \begin_layout Plain Layout
16717 1
16718 \end_layout
16719
16720 \end_inset
16721
16722 ] AddToTocが有効なときに,これが1に設定されていると,差込枠の内容の要約が,目次項目に表示されます.0の場合は,ラベルのみが表示されます.
16723 \end_layout
16724
16725 \begin_layout Description
16726 \begin_inset Flex Code
16727 status collapsed
16728
16729 \begin_layout Plain Layout
16730 KeepEmpty
16731 \end_layout
16732
16733 \end_inset
16734
16735  [
16736 \emph on
16737
16738 \begin_inset Flex Code
16739 status collapsed
16740
16741 \begin_layout Plain Layout
16742 0
16743 \end_layout
16744
16745 \end_inset
16746
16747
16748 \emph default
16749 ,
16750 \begin_inset space \thinspace{}
16751 \end_inset
16752
16753
16754 \begin_inset Flex Code
16755 status collapsed
16756
16757 \begin_layout Plain Layout
16758 1
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 LabelFont
16779 \end_layout
16780
16781 \end_inset
16782
16783  ラベルに使用されるフォント.第
16784 \begin_inset CommandInset ref
16785 LatexCommand ref
16786 reference "subsec:フォント指定"
16787
16788 \end_inset
16789
16790 節を参照.非効率を回避するため,この定義は
16791 \begin_inset Flex Code
16792 status collapsed
16793
16794 \begin_layout Plain Layout
16795 Font
16796 \end_layout
16797
16798 \end_inset
16799
16800 の前には決して現れてはなりません.
16801 \end_layout
16802
16803 \begin_layout Description
16804 \begin_inset Flex Code
16805 status collapsed
16806
16807 \begin_layout Plain Layout
16808 LabelString
16809 \end_layout
16810
16811 \end_inset
16812
16813  [
16814 \begin_inset Flex Code
16815 status collapsed
16816
16817 \begin_layout Plain Layout
16818 文字列
16819 \end_layout
16820
16821 \end_inset
16822
16823 =
16824 \begin_inset Quotes erd
16825 \end_inset
16826
16827
16828 \begin_inset Quotes erd
16829 \end_inset
16830
16831 ]
16832 \lang english
16833  
16834 \lang japanese
16835 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
16836 コードや派生枝),ラベルが動的に変更されます.
16837 \end_layout
16838
16839 \begin_layout Description
16840 \begin_inset Flex Code
16841 status collapsed
16842
16843 \begin_layout Plain Layout
16844 LangPreamble
16845 \end_layout
16846
16847 \end_inset
16848
16849  言語依存のプリアンブル.第
16850 \begin_inset CommandInset ref
16851 LatexCommand ref
16852 reference "subsec:段落様式の国際化"
16853
16854 \end_inset
16855
16856 節参照.
16857 \end_layout
16858
16859 \begin_layout Description
16860 \begin_inset Flex Code
16861 status collapsed
16862
16863 \begin_layout Plain Layout
16864 LatexName
16865 \end_layout
16866
16867 \end_inset
16868
16869  [
16870 \begin_inset Flex Code
16871 status collapsed
16872
16873 \begin_layout Plain Layout
16874 <名称>
16875 \end_layout
16876
16877 \end_inset
16878
16879 ] 対応する\SpecialChar LaTeX
16880 関連物の名称.環境名ないしはコマンド名.
16881 \end_layout
16882
16883 \begin_layout Description
16884 \begin_inset Flex Code
16885 status collapsed
16886
16887 \begin_layout Plain Layout
16888 LatexParam
16889 \end_layout
16890
16891 \end_inset
16892
16893  [
16894 \begin_inset Flex Code
16895 status collapsed
16896
16897 \begin_layout Plain Layout
16898 <パラメータ>
16899 \end_layout
16900
16901 \end_inset
16902
16903 ]
16904 \lang english
16905  
16906 \lang japanese
16907 対応する
16908 \begin_inset Flex Code
16909 status collapsed
16910
16911 \begin_layout Plain Layout
16912 LatexName
16913 \end_layout
16914
16915 \end_inset
16916
16917 関連物の非必須パラメータ.
16918 \begin_inset Flex Code
16919 status collapsed
16920
16921 \begin_layout Plain Layout
16922 []
16923 \end_layout
16924
16925 \end_inset
16926
16927 のような括弧対を含む.このパラメータは\SpecialChar LyX
16928 内部から変更することはできません(変更可能なパラメータには
16929 \begin_inset Flex Code
16930 status collapsed
16931
16932 \begin_layout Plain Layout
16933 Argument
16934 \end_layout
16935
16936 \end_inset
16937
16938 を使用してください).これは,全ての\SpecialChar LaTeX
16939  
16940 \begin_inset Flex Code
16941 status collapsed
16942
16943 \begin_layout Plain Layout
16944 Argument
16945 \end_layout
16946
16947 \end_inset
16948
16949 の後にそのままの形で出力されます.
16950 \end_layout
16951
16952 \begin_layout Description
16953 \begin_inset Flex Code
16954 status collapsed
16955
16956 \begin_layout Plain Layout
16957 LatexType
16958 \end_layout
16959
16960 \end_inset
16961
16962  [
16963 \begin_inset Flex Code
16964 status collapsed
16965
16966 \begin_layout Plain Layout
16967 Command, Environment, None
16968 \end_layout
16969
16970 \end_inset
16971
16972 ] 様式がどのように\SpecialChar LaTeX
16973 に変換されるべきかを示します
16974 \begin_inset Foot
16975 status collapsed
16976
16977 \begin_layout Plain Layout
16978 これらのルールはSGMLクラスにも適用されるので,
16979 \begin_inset Flex Code
16980 status collapsed
16981
16982 \begin_layout Plain Layout
16983 LatexType
16984 \end_layout
16985
16986 \end_inset
16987
16988 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイルを見てください.
16989 \end_layout
16990
16991 \end_inset
16992
16993
16994 \end_layout
16995
16996 \begin_deeper
16997 \begin_layout Description
16998 \begin_inset Flex Code
16999 status collapsed
17000
17001 \begin_layout Plain Layout
17002 None
17003 \end_layout
17004
17005 \end_inset
17006
17007  は,何も特別なことは意味しません
17008 \end_layout
17009
17010 \begin_layout Description
17011 \begin_inset Flex Code
17012 status collapsed
17013
17014 \begin_layout Plain Layout
17015 Command
17016 \end_layout
17017
17018 \end_inset
17019
17020  は,
17021 \begin_inset Flex Code
17022 status collapsed
17023
17024 \begin_layout Plain Layout
17025
17026 \backslash
17027
17028 \emph on
17029 LatexName
17030 \emph default
17031 {\SpecialChar ldots
17032 }
17033 \end_layout
17034
17035 \end_inset
17036
17037 を意味します
17038 \end_layout
17039
17040 \begin_layout Description
17041 \begin_inset Flex Code
17042 status collapsed
17043
17044 \begin_layout Plain Layout
17045 Environment
17046 \end_layout
17047
17048 \end_inset
17049
17050  は,
17051 \begin_inset Flex Code
17052 status collapsed
17053
17054 \begin_layout Plain Layout
17055
17056 \backslash
17057 begin{
17058 \emph on
17059 LatexName
17060 \emph default
17061 }\SpecialChar ldots
17062
17063 \backslash
17064 end{
17065 \emph on
17066 LatexName
17067 \emph default
17068 }
17069 \end_layout
17070
17071 \end_inset
17072
17073 を意味します
17074 \end_layout
17075
17076 \begin_layout Standard
17077 上記最後のいくつかをまとめると,\SpecialChar LaTeX
17078 出力は,\SpecialChar LaTeX
17079 型に依存して
17080 \end_layout
17081
17082 \begin_layout LyX-Code
17083
17084 \backslash
17085 LatexName[LatexParam]{\SpecialChar ldots
17086 }
17087 \end_layout
17088
17089 \begin_layout Standard
17090 のようになるか,
17091 \end_layout
17092
17093 \begin_layout LyX-Code
17094
17095 \backslash
17096 begin{LatexName}[LatexParam] \SpecialChar ldots
17097  
17098 \backslash
17099 end{LatexName}.
17100 \end_layout
17101
17102 \begin_layout Standard
17103 となります.
17104 \end_layout
17105
17106 \end_deeper
17107 \begin_layout Description
17108 \begin_inset Flex Code
17109 status collapsed
17110
17111 \begin_layout Plain Layout
17112 LeftDelim
17113 \end_layout
17114
17115 \end_inset
17116
17117  [
17118 \begin_inset Flex Code
17119 status collapsed
17120
17121 \begin_layout Plain Layout
17122 文字列
17123 \end_layout
17124
17125 \end_inset
17126
17127 ] 様式の内容の最初に置かれる文字列.出力中の改行は
17128 \begin_inset Flex Code
17129 status collapsed
17130
17131 \begin_layout Plain Layout
17132 <br/>
17133 \end_layout
17134
17135 \end_inset
17136
17137 で指示できます.
17138 \end_layout
17139
17140 \begin_layout Description
17141 \begin_inset Flex Code
17142 status collapsed
17143
17144 \begin_layout Plain Layout
17145 LyxType
17146 \end_layout
17147
17148 \end_inset
17149
17150  
17151 \begin_inset Flex Code
17152 status collapsed
17153
17154 \begin_layout Plain Layout
17155 charstyle
17156 \end_layout
17157
17158 \end_inset
17159
17160
17161 \begin_inset Flex Code
17162 status collapsed
17163
17164 \begin_layout Plain Layout
17165 custom
17166 \end_layout
17167
17168 \end_inset
17169
17170
17171 \begin_inset Flex Code
17172 status collapsed
17173
17174 \begin_layout Plain Layout
17175 element
17176 \end_layout
17177
17178 \end_inset
17179
17180
17181 \begin_inset Flex Code
17182 status collapsed
17183
17184 \begin_layout Plain Layout
17185 end
17186 \end_layout
17187
17188 \end_inset
17189
17190 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,自由差込枠に必須であり,かつ自由差込枠でしか意味を持ちません.こ
17191 の項目は,就中,差込枠がどのメニューに表示されるかを決定します.
17192 \begin_inset Flex Code
17193 status collapsed
17194
17195 \begin_layout Plain Layout
17196 LyxType
17197 \end_layout
17198
17199 \end_inset
17200
17201
17202 \begin_inset Flex Code
17203 status collapsed
17204
17205 \begin_layout Plain Layout
17206 charstyle
17207 \end_layout
17208
17209 \end_inset
17210
17211 に設定すると,
17212 \begin_inset Flex Code
17213 status collapsed
17214
17215 \begin_layout Plain Layout
17216 MultiPar
17217 \end_layout
17218
17219 \end_inset
17220
17221 が偽に設定されます
17222 \lang english
17223  and 
17224 \lang japanese
17225
17226 \begin_inset Flex Code
17227 status collapsed
17228
17229 \begin_layout Plain Layout
17230 ForcePlain
17231 \end_layout
17232
17233 \end_inset
17234
17235
17236 \lang english
17237  to true
17238 \lang japanese
17239 .文字様式差込枠で
17240 \begin_inset Flex Code
17241 status collapsed
17242
17243 \begin_layout Plain Layout
17244 MultiPar
17245 \end_layout
17246
17247 \end_inset
17248
17249 を真にしたい時には
17250 \lang english
17251 , or 
17252 \lang japanese
17253
17254 \begin_inset Flex Code
17255 status collapsed
17256
17257 \begin_layout Plain Layout
17258 ForcePlain
17259 \end_layout
17260
17261 \end_inset
17262
17263
17264 \lang english
17265  to false
17266 \lang japanese
17267
17268 \begin_inset Flex Code
17269 status collapsed
17270
17271 \begin_layout Plain Layout
17272 LyxType
17273 \end_layout
17274
17275 \end_inset
17276
17277 を設定した
17278 \emph on
17279 後に
17280 \emph default
17281 設定すれば,真に設定することができます.
17282 \end_layout
17283
17284 \begin_layout Description
17285 \begin_inset Flex Code
17286 status collapsed
17287
17288 \begin_layout Plain Layout
17289 MultiPar
17290 \end_layout
17291
17292 \end_inset
17293
17294  [
17295 \begin_inset Flex Code
17296 status collapsed
17297
17298 \begin_layout Plain Layout
17299
17300 \emph on
17301 0
17302 \end_layout
17303
17304 \end_inset
17305
17306 ,
17307 \begin_inset space \thinspace{}
17308 \end_inset
17309
17310
17311 \begin_inset Flex Code
17312 status collapsed
17313
17314 \begin_layout Plain Layout
17315 1
17316 \end_layout
17317
17318 \end_inset
17319
17320 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
17321 \begin_inset Flex Code
17322 status collapsed
17323
17324 \begin_layout Plain Layout
17325 CustomPars
17326 \end_layout
17327
17328 \end_inset
17329
17330 を同じ値に設定し,
17331 \begin_inset Flex Code
17332 status collapsed
17333
17334 \begin_layout Plain Layout
17335 ForcePlain
17336 \end_layout
17337
17338 \end_inset
17339
17340 を逆の値に設定します.これらは,
17341 \begin_inset Flex Code
17342 status collapsed
17343
17344 \begin_layout Plain Layout
17345 MultiPar
17346 \end_layout
17347
17348 \end_inset
17349
17350
17351 \emph on
17352 後に
17353 \emph default
17354 指定されれば,他の値に指定し直すことができます.既定値は真です.
17355 \end_layout
17356
17357 \begin_layout Description
17358 \begin_inset Flex Code
17359 status collapsed
17360
17361 \begin_layout Plain Layout
17362 NeedProtect
17363 \end_layout
17364
17365 \end_inset
17366
17367  [
17368 \begin_inset Flex Code
17369 status collapsed
17370
17371 \begin_layout Plain Layout
17372
17373 \emph on
17374 0
17375 \end_layout
17376
17377 \end_inset
17378
17379 ,
17380 \begin_inset space \thinspace{}
17381 \end_inset
17382
17383
17384 \begin_inset Flex Code
17385 status collapsed
17386
17387 \begin_layout Plain Layout
17388 1
17389 \end_layout
17390
17391 \end_inset
17392
17393 ] 本レイアウト中で脆弱なコマンドを
17394 \begin_inset Flex Code
17395 status collapsed
17396
17397 \begin_layout Plain Layout
17398
17399 \backslash
17400 protect
17401 \end_layout
17402
17403 \end_inset
17404
17405 するか否か(註:当該コマンド自身をprotectするかどうかでは
17406 \emph on
17407 ありません
17408 \emph default
17409 ).既定値は偽です.
17410 \end_layout
17411
17412 \begin_layout Description
17413 \begin_inset Flex Code
17414 status collapsed
17415
17416 \begin_layout Plain Layout
17417 NoInsetLayout
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 \end_layout
17429
17430 \end_inset
17431
17432 ] 既存の
17433 \begin_inset Flex Code
17434 status collapsed
17435
17436 \begin_layout Plain Layout
17437 InsetLayout
17438 \end_layout
17439
17440 \end_inset
17441
17442 を削除します.
17443 \end_layout
17444
17445 \begin_layout Description
17446 \begin_inset Flex Code
17447 status collapsed
17448
17449 \begin_layout Plain Layout
17450 ObsoletedBy
17451 \end_layout
17452
17453 \end_inset
17454
17455  [
17456 \begin_inset Flex Code
17457 status collapsed
17458
17459 \begin_layout Plain Layout
17460 <レイアウト>
17461 \end_layout
17462
17463 \end_inset
17464
17465 ] この古い
17466 \begin_inset Flex Code
17467 status collapsed
17468
17469 \begin_layout Plain Layout
17470 InsetLayout
17471 \end_layout
17472
17473 \end_inset
17474
17475 を引き継いだ
17476 \begin_inset Flex Code
17477 status collapsed
17478
17479 \begin_layout Plain Layout
17480 InsetLayout
17481 \end_layout
17482
17483 \end_inset
17484
17485 の名称.これは,
17486 \begin_inset Flex Code
17487 status collapsed
17488
17489 \begin_layout Plain Layout
17490 InsetLayout
17491 \end_layout
17492
17493 \end_inset
17494
17495 の改名を,後方互換性を維持しながら行うために用いられます.
17496 \end_layout
17497
17498 \begin_layout Description
17499 \begin_inset Flex Code
17500 status collapsed
17501
17502 \begin_layout Plain Layout
17503 ParbreakIsNewline
17504 \end_layout
17505
17506 \end_inset
17507
17508  [
17509 \begin_inset Flex Code
17510 status collapsed
17511
17512 \begin_layout Plain Layout
17513
17514 \emph on
17515 0
17516 \end_layout
17517
17518 \end_inset
17519
17520 ,
17521 \begin_inset space \thinspace{}
17522 \end_inset
17523
17524
17525 \begin_inset Flex Code
17526 status collapsed
17527
17528 \begin_layout Plain Layout
17529 1
17530 \end_layout
17531
17532 \end_inset
17533
17534 ] 段落様式と同様.第
17535 \begin_inset CommandInset ref
17536 LatexCommand ref
17537 reference "subsec:段落様式"
17538
17539 \end_inset
17540
17541 節参照.
17542 \end_layout
17543
17544 \begin_layout Description
17545 \begin_inset Flex Code
17546 status collapsed
17547
17548 \begin_layout Plain Layout
17549 PassThru
17550 \end_layout
17551
17552 \end_inset
17553
17554  [
17555 \emph on
17556
17557 \begin_inset Flex Code
17558 status collapsed
17559
17560 \begin_layout Plain Layout
17561 0
17562 \end_layout
17563
17564 \end_inset
17565
17566
17567 \emph default
17568 ,
17569 \begin_inset space \thinspace{}
17570 \end_inset
17571
17572
17573 \begin_inset Flex Code
17574 status collapsed
17575
17576 \begin_layout Plain Layout
17577 1
17578 \end_layout
17579
17580 \end_inset
17581
17582 ] 段落様式と同様.第
17583 \begin_inset CommandInset ref
17584 LatexCommand ref
17585 reference "subsec:段落様式"
17586
17587 \end_inset
17588
17589 節参照.
17590 \end_layout
17591
17592 \begin_layout Description
17593 \begin_inset Flex Code
17594 status collapsed
17595
17596 \begin_layout Plain Layout
17597 Preamble
17598 \end_layout
17599
17600 \end_inset
17601
17602  段落様式と同様.第
17603 \begin_inset CommandInset ref
17604 LatexCommand ref
17605 reference "subsec:段落様式"
17606
17607 \end_inset
17608
17609 節参照.
17610 \end_layout
17611
17612 \begin_layout Description
17613 \begin_inset Flex Code
17614 status collapsed
17615
17616 \begin_layout Plain Layout
17617 RefPrefix
17618 \end_layout
17619
17620 \end_inset
17621
17622  [
17623 \begin_inset Flex Code
17624 status collapsed
17625
17626 \begin_layout Plain Layout
17627 文字列
17628 \end_layout
17629
17630 \end_inset
17631
17632 ] この型の差込枠を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
17633 \end_layout
17634
17635 \begin_layout Description
17636 \begin_inset Flex Code
17637 status collapsed
17638
17639 \begin_layout Plain Layout
17640 Requires
17641 \end_layout
17642
17643 \end_inset
17644
17645  [
17646 \begin_inset Flex Code
17647 status collapsed
17648
17649 \begin_layout Plain Layout
17650 文字列
17651 \end_layout
17652
17653 \end_inset
17654
17655 ] 段落様式と同様.第
17656 \begin_inset CommandInset ref
17657 LatexCommand ref
17658 reference "subsec:段落様式"
17659
17660 \end_inset
17661
17662 節参照.
17663 \end_layout
17664
17665 \begin_layout Description
17666 \begin_inset Flex Code
17667 status collapsed
17668
17669 \begin_layout Plain Layout
17670 ResetArgs
17671 \end_layout
17672
17673 \end_inset
17674
17675  [
17676 \begin_inset Flex Code
17677 status collapsed
17678
17679 \begin_layout Plain Layout
17680
17681 \emph on
17682 0
17683 \end_layout
17684
17685 \end_inset
17686
17687 ,
17688 \begin_inset space \thinspace{}
17689 \end_inset
17690
17691
17692 \begin_inset Flex Code
17693 status collapsed
17694
17695 \begin_layout Plain Layout
17696 1
17697 \end_layout
17698
17699 \end_inset
17700
17701 ] (
17702 \begin_inset Flex Code
17703 status collapsed
17704
17705 \begin_layout Plain Layout
17706 Argument
17707 \end_layout
17708
17709 \end_inset
17710
17711 タグで定義された)この様式の\SpecialChar LaTeX
17712 引数をリセットします.これは,様式を
17713 \begin_inset Flex Code
17714 status collapsed
17715
17716 \begin_layout Plain Layout
17717 CopyStyle
17718 \end_layout
17719
17720 \end_inset
17721
17722 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
17723 \end_layout
17724
17725 \begin_layout Description
17726 \begin_inset Flex Code
17727 status collapsed
17728
17729 \begin_layout Plain Layout
17730 ResetsFont
17731 \end_layout
17732
17733 \end_inset
17734
17735  [
17736 \begin_inset Flex Code
17737 status collapsed
17738
17739 \begin_layout Plain Layout
17740 0
17741 \end_layout
17742
17743 \end_inset
17744
17745 ,
17746 \begin_inset space \thinspace{}
17747 \end_inset
17748
17749
17750 \begin_inset Flex Code
17751 status collapsed
17752
17753 \begin_layout Plain Layout
17754
17755 \emph on
17756 1
17757 \end_layout
17758
17759 \end_inset
17760
17761 ] この差込枠が周囲の環境と同じフォントを用いるか,独自のフォントを用いるか.既定値は真,すなわち独自のフォントを用います.
17762 \begin_inset Note Note
17763 status open
17764
17765 \begin_layout Plain Layout
17766 This is outdated: The default changed from 1 to 0
17767 \end_layout
17768
17769 \end_inset
17770
17771
17772 \end_layout
17773
17774 \begin_layout Description
17775 \begin_inset Flex Code
17776 status collapsed
17777
17778 \begin_layout Plain Layout
17779 RightDelim
17780 \end_layout
17781
17782 \end_inset
17783
17784  [
17785 \begin_inset Flex Code
17786 status collapsed
17787
17788 \begin_layout Plain Layout
17789 文字列
17790 \end_layout
17791
17792 \end_inset
17793
17794 ] 様式の内容の最後に置かれる文字列.出力中の改行は
17795 \begin_inset Flex Code
17796 status collapsed
17797
17798 \begin_layout Plain Layout
17799 <br/>
17800 \end_layout
17801
17802 \end_inset
17803
17804 で指示できます.
17805 \end_layout
17806
17807 \begin_layout Description
17808 \begin_inset Flex Code
17809 status collapsed
17810
17811 \begin_layout Plain Layout
17812 Spellcheck
17813 \end_layout
17814
17815 \end_inset
17816
17817  [
17818 \begin_inset Flex Code
17819 status collapsed
17820
17821 \begin_layout Plain Layout
17822 0
17823 \end_layout
17824
17825 \end_inset
17826
17827 ,
17828 \begin_inset space \thinspace{}
17829 \end_inset
17830
17831
17832 \begin_inset Flex Code
17833 status collapsed
17834
17835 \begin_layout Plain Layout
17836
17837 \emph on
17838 1
17839 \end_layout
17840
17841 \end_inset
17842
17843 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
17844 \end_layout
17845
17846 \begin_layout Subsection
17847 カウンタ
17848 \begin_inset CommandInset label
17849 LatexCommand label
17850 name "subsec:カウンタ"
17851
17852 \end_inset
17853
17854
17855 \end_layout
17856
17857 \begin_layout Standard
17858 テキストクラスには,カウンタ(
17859 \begin_inset Flex MenuItem
17860 status collapsed
17861
17862 \begin_layout Plain Layout
17863 chapter
17864 \end_layout
17865
17866 \end_inset
17867
17868
17869 \begin_inset Flex MenuItem
17870 status collapsed
17871
17872 \begin_layout Plain Layout
17873 figure
17874 \end_layout
17875
17876 \end_inset
17877
17878 ・\SpecialChar ldots
17879 )を定義することが必要です.標準的なカウンタは
17880 \begin_inset Flex Code
17881 status collapsed
17882
17883 \begin_layout Plain Layout
17884 stdcounters.inc
17885 \end_layout
17886
17887 \end_inset
17888
17889 ファイルに含まれているので,作業中のレイアウトファイルに
17890 \end_layout
17891
17892 \begin_layout LyX-Code
17893 Input stdcounters.inc
17894 \end_layout
17895
17896 \begin_layout Standard
17897 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,そうすることもできます.カウンタ宣言は,
17898 \end_layout
17899
17900 \begin_layout LyX-Code
17901 Counter カウンタ名
17902 \end_layout
17903
17904 \begin_layout Standard
17905 で始まらなくてはなりません.ここで「
17906 \begin_inset Flex Code
17907 status collapsed
17908
17909 \begin_layout Plain Layout
17910 カウンタ名
17911 \end_layout
17912
17913 \end_inset
17914
17915 」は,実際のカウンタ名で置き換えます.また,宣言は「
17916 \begin_inset Flex Code
17917 status collapsed
17918
17919 \begin_layout Plain Layout
17920 End
17921 \end_layout
17922
17923 \end_inset
17924
17925 」で終わらなくてはなりません.
17926 \end_layout
17927
17928 \begin_layout Standard
17929 以下のパラメータを使用することができます.
17930 \end_layout
17931
17932 \begin_layout Description
17933 \begin_inset Flex Code
17934 status collapsed
17935
17936 \begin_layout Plain Layout
17937 InitialValue
17938 \end_layout
17939
17940 \end_inset
17941
17942  [
17943 \begin_inset Flex Code
17944 status collapsed
17945
17946 \begin_layout Plain Layout
17947 整数=1
17948 \end_layout
17949
17950 \end_inset
17951
17952 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,既定値1のままで充分でしょう.
17953 \end_layout
17954
17955 \begin_layout Description
17956 \begin_inset Flex Code
17957 status collapsed
17958
17959 \begin_layout Plain Layout
17960 LabelString [文字列=""]
17961 \end_layout
17962
17963 \end_inset
17964
17965  定義されていると,ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
17966 \begin_inset Flex Code
17967 status collapsed
17968
17969 \begin_layout Plain Layout
17970 LabelStringAppendix
17971 \end_layout
17972
17973 \end_inset
17974
17975 も同じ値に設定されます.文字列中では,以下の構成要素を使用することができます.
17976 \end_layout
17977
17978 \begin_deeper
17979 \begin_layout Itemize
17980 \begin_inset Flex Code
17981 status collapsed
17982
17983 \begin_layout Plain Layout
17984
17985 \backslash
17986 thecounter
17987 \end_layout
17988
17989 \end_inset
17990
17991 は,カウンタ
17992 \begin_inset Flex Code
17993 status collapsed
17994
17995 \begin_layout Plain Layout
17996 counter
17997 \end_layout
17998
17999 \end_inset
18000
18001
18002 \begin_inset Flex Code
18003 status collapsed
18004
18005 \begin_layout Plain Layout
18006 LabelString
18007 \end_layout
18008
18009 \end_inset
18010
18011 (または
18012 \begin_inset Newline linebreak
18013 \end_inset
18014
18015
18016 \begin_inset Flex Code
18017 status collapsed
18018
18019 \begin_layout Plain Layout
18020 LabelStringAppendix
18021 \end_layout
18022
18023 \end_inset
18024
18025 )を展開したもので置き換えられます. 
18026 \end_layout
18027
18028 \begin_layout Itemize
18029 カウンタ値は,\SpecialChar LaTeX
18030 型マクロ
18031 \begin_inset Flex Code
18032 status collapsed
18033
18034 \begin_layout Plain Layout
18035
18036 \backslash
18037
18038 \emph on
18039 numbertype
18040 \emph default
18041 {
18042 \emph on
18043 カウンタ
18044 \emph default
18045 }
18046 \end_layout
18047
18048 \end_inset
18049
18050 を用いて表現することができます.ここで
18051 \begin_inset Flex Code
18052 status collapsed
18053
18054 \begin_layout Plain Layout
18055
18056 \emph on
18057 numbertype
18058 \end_layout
18059
18060 \end_inset
18061
18062 は以下のいずれかです.
18063 \begin_inset Flex Code
18064 status collapsed
18065
18066 \begin_layout Plain Layout
18067 arabic
18068 \end_layout
18069
18070 \end_inset
18071
18072 :1, 2, 3,\SpecialChar ldots
18073
18074 \begin_inset Flex Code
18075 status collapsed
18076
18077 \begin_layout Plain Layout
18078 alph
18079 \end_layout
18080
18081 \end_inset
18082
18083 :a, b, c, \SpecialChar ldots
18084 (小文字);
18085 \begin_inset Flex Code
18086 status collapsed
18087
18088 \begin_layout Plain Layout
18089 Alph
18090 \end_layout
18091
18092 \end_inset
18093
18094 :A, B, C, \SpecialChar ldots
18095 (大文字);
18096 \begin_inset Flex Code
18097 status collapsed
18098
18099 \begin_layout Plain Layout
18100 roman
18101 \end_layout
18102
18103 \end_inset
18104
18105 :i, ii, iii, \SpecialChar ldots
18106 (小文字ローマ数字);
18107 \begin_inset Flex Code
18108 status collapsed
18109
18110 \begin_layout Plain Layout
18111 Roman
18112 \end_layout
18113
18114 \end_inset
18115
18116 :I, II, III\SpecialChar ldots
18117 (大文字ローマ数字).
18118 \end_layout
18119
18120 \end_deeper
18121 \begin_layout Standard
18122 \begin_inset Flex Code
18123 status collapsed
18124
18125 \begin_layout Plain Layout
18126 LabelString
18127 \end_layout
18128
18129 \end_inset
18130
18131 が定義されていないときは,既定値は以下のように組み立てられます.このカウンタに親カウンタ
18132 \begin_inset Flex Code
18133 status collapsed
18134
18135 \begin_layout Plain Layout
18136 master
18137 \end_layout
18138
18139 \end_inset
18140
18141
18142 \begin_inset Flex Code
18143 status collapsed
18144
18145 \begin_layout Plain Layout
18146 Within
18147 \end_layout
18148
18149 \end_inset
18150
18151 で定義)があるときには,文字列
18152 \begin_inset Newline linebreak
18153 \end_inset
18154
18155
18156 \begin_inset Flex Code
18157 status collapsed
18158
18159 \begin_layout Plain Layout
18160
18161 \backslash
18162 themaster.
18163 \backslash
18164 arabic{カウンタ}
18165 \end_layout
18166
18167 \end_inset
18168
18169 が使用されます.それ以外の場合は,
18170 \begin_inset Flex Code
18171 status collapsed
18172
18173 \begin_layout Plain Layout
18174
18175 \backslash
18176 arabic{カウンタ}
18177 \end_layout
18178
18179 \end_inset
18180
18181 が使用されます.
18182 \end_layout
18183
18184 \begin_layout Description
18185 \begin_inset Flex Code
18186 status collapsed
18187
18188 \begin_layout Plain Layout
18189 LabelStringAppendix
18190 \end_layout
18191
18192 \end_inset
18193
18194  [
18195 \begin_inset Flex Code
18196 status collapsed
18197
18198 \begin_layout Plain Layout
18199 文字列
18200 \end_layout
18201
18202 \end_inset
18203
18204 =""] 
18205 \begin_inset Flex Code
18206 status collapsed
18207
18208 \begin_layout Plain Layout
18209 LabelString
18210 \end_layout
18211
18212 \end_inset
18213
18214 と同様ですが,付録で使用するためのものです.
18215 \end_layout
18216
18217 \begin_layout Description
18218 \begin_inset Flex Code
18219 status collapsed
18220
18221 \begin_layout Plain Layout
18222 PrettyFormat
18223 \end_layout
18224
18225 \end_inset
18226
18227  [
18228 \begin_inset Flex Code
18229 status collapsed
18230
18231 \begin_layout Plain Layout
18232 文字列
18233 \end_layout
18234
18235 \end_inset
18236
18237 =
18238 \begin_inset Quotes erd
18239 \end_inset
18240
18241
18242 \begin_inset Quotes erd
18243 \end_inset
18244
18245 ] このカウンタの整形参照で使用する書式.たとえば,節番号への参照を「Section
18246 \begin_inset space ~
18247 \end_inset
18248
18249 2.4」のように表示させたい場合には,文字列に「##」を含めます.これは,カウンタ番号で置換されます.したがって,節の場合には「Section ##」のようにしま
18250 す.
18251 \end_layout
18252
18253 \begin_layout Description
18254 \begin_inset Flex Code
18255 status collapsed
18256
18257 \begin_layout Plain Layout
18258 Within
18259 \end_layout
18260
18261 \end_inset
18262
18263  [
18264 \begin_inset Flex Code
18265 status collapsed
18266
18267 \begin_layout Plain Layout
18268 文字列
18269 \end_layout
18270
18271 \end_inset
18272
18273 =
18274 \begin_inset Quotes erd
18275 \end_inset
18276
18277
18278 \begin_inset Quotes erd
18279 \end_inset
18280
18281 ] これを別のカウンタ名に設定すると,現在のカウンタは,別のカウンタが増加する毎にリセットされます.たとえば,
18282 \begin_inset Flex Code
18283 status collapsed
18284
18285 \begin_layout Plain Layout
18286 subsection
18287 \end_layout
18288
18289 \end_inset
18290
18291
18292 \begin_inset Flex Code
18293 status collapsed
18294
18295 \begin_layout Plain Layout
18296 section
18297 \end_layout
18298
18299 \end_inset
18300
18301 毎に番号がリセットされます.
18302 \end_layout
18303
18304 \begin_layout Subsection
18305 フォント指定
18306 \begin_inset CommandInset label
18307 LatexCommand label
18308 name "subsec:フォント指定"
18309
18310 \end_inset
18311
18312
18313 \end_layout
18314
18315 \begin_layout Standard
18316 フォント指定は,以下のような形を取ります.
18317 \end_layout
18318
18319 \begin_layout LyX-Code
18320 Font 
18321 \family roman
18322 \emph on
18323 または
18324 \family default
18325 \emph default
18326  LabelFont 
18327 \family roman
18328 \emph on
18329 または
18330 \family default
18331 \emph default
18332  DefaultFont
18333 \end_layout
18334
18335 \begin_layout LyX-Code
18336  ...
18337 \end_layout
18338
18339 \begin_layout LyX-Code
18340 EndFont
18341 \end_layout
18342
18343 \begin_layout Standard
18344 以下のコマンドを使用することができます.
18345 \end_layout
18346
18347 \begin_layout Description
18348 \begin_inset Flex Code
18349 status collapsed
18350
18351 \begin_layout Plain Layout
18352 Color
18353 \end_layout
18354
18355 \end_inset
18356
18357  [
18358 \begin_inset Flex Code
18359 status collapsed
18360
18361 \begin_layout Plain Layout
18362
18363 \emph on
18364 none
18365 \end_layout
18366
18367 \end_inset
18368
18369
18370 \begin_inset Flex Code
18371 status collapsed
18372
18373 \begin_layout Plain Layout
18374 black
18375 \end_layout
18376
18377 \end_inset
18378
18379
18380 \begin_inset Flex Code
18381 status collapsed
18382
18383 \begin_layout Plain Layout
18384 white
18385 \end_layout
18386
18387 \end_inset
18388
18389
18390 \begin_inset Flex Code
18391 status collapsed
18392
18393 \begin_layout Plain Layout
18394 red
18395 \end_layout
18396
18397 \end_inset
18398
18399
18400 \begin_inset Flex Code
18401 status collapsed
18402
18403 \begin_layout Plain Layout
18404 green
18405 \end_layout
18406
18407 \end_inset
18408
18409
18410 \begin_inset Flex Code
18411 status collapsed
18412
18413 \begin_layout Plain Layout
18414 blue
18415 \end_layout
18416
18417 \end_inset
18418
18419
18420 \begin_inset Flex Code
18421 status collapsed
18422
18423 \begin_layout Plain Layout
18424 cyan
18425 \end_layout
18426
18427 \end_inset
18428
18429
18430 \begin_inset Flex Code
18431 status collapsed
18432
18433 \begin_layout Plain Layout
18434 magenta
18435 \end_layout
18436
18437 \end_inset
18438
18439
18440 \begin_inset Flex Code
18441 status collapsed
18442
18443 \begin_layout Plain Layout
18444 yellow
18445 \end_layout
18446
18447 \end_inset
18448
18449
18450 \begin_inset Flex Code
18451 status collapsed
18452
18453 \begin_layout Plain Layout
18454 brown
18455 \end_layout
18456
18457 \end_inset
18458
18459
18460 \begin_inset Flex Code
18461 status collapsed
18462
18463 \begin_layout Plain Layout
18464 darkgray
18465 \end_layout
18466
18467 \end_inset
18468
18469
18470 \begin_inset Flex Code
18471 status collapsed
18472
18473 \begin_layout Plain Layout
18474 gray
18475 \end_layout
18476
18477 \end_inset
18478
18479
18480 \begin_inset Flex Code
18481 status collapsed
18482
18483 \begin_layout Plain Layout
18484 lightgray
18485 \end_layout
18486
18487 \end_inset
18488
18489
18490 \begin_inset Flex Code
18491 status collapsed
18492
18493 \begin_layout Plain Layout
18494 lime
18495 \end_layout
18496
18497 \end_inset
18498
18499
18500 \begin_inset Flex Code
18501 status collapsed
18502
18503 \begin_layout Plain Layout
18504 orange
18505 \end_layout
18506
18507 \end_inset
18508
18509
18510 \begin_inset Flex Code
18511 status collapsed
18512
18513 \begin_layout Plain Layout
18514 olive
18515 \end_layout
18516
18517 \end_inset
18518
18519
18520 \begin_inset Flex Code
18521 status collapsed
18522
18523 \begin_layout Plain Layout
18524 pink
18525 \end_layout
18526
18527 \end_inset
18528
18529
18530 \begin_inset Flex Code
18531 status collapsed
18532
18533 \begin_layout Plain Layout
18534 purple
18535 \end_layout
18536
18537 \end_inset
18538
18539
18540 \begin_inset Flex Code
18541 status collapsed
18542
18543 \begin_layout Plain Layout
18544 teal
18545 \end_layout
18546
18547 \end_inset
18548
18549
18550 \begin_inset Flex Code
18551 status collapsed
18552
18553 \begin_layout Plain Layout
18554 violet
18555 \end_layout
18556
18557 \end_inset
18558
18559 ]
18560 \end_layout
18561
18562 \begin_layout Description
18563 \begin_inset Flex Code
18564 status collapsed
18565
18566 \begin_layout Plain Layout
18567 Family
18568 \end_layout
18569
18570 \end_inset
18571
18572  [
18573 \emph on
18574
18575 \begin_inset Flex Code
18576 status collapsed
18577
18578 \begin_layout Plain Layout
18579 Roman
18580 \end_layout
18581
18582 \end_inset
18583
18584
18585 \emph default
18586
18587 \begin_inset Flex Code
18588 status collapsed
18589
18590 \begin_layout Plain Layout
18591 Sans
18592 \end_layout
18593
18594 \end_inset
18595
18596
18597 \begin_inset Flex Code
18598 status collapsed
18599
18600 \begin_layout Plain Layout
18601 Typewriter
18602 \end_layout
18603
18604 \end_inset
18605
18606
18607 \end_layout
18608
18609 \begin_layout Description
18610 \begin_inset Flex Code
18611 status collapsed
18612
18613 \begin_layout Plain Layout
18614 Misc
18615 \end_layout
18616
18617 \end_inset
18618
18619  [
18620 \begin_inset Flex Code
18621 status collapsed
18622
18623 \begin_layout Plain Layout
18624 文字列
18625 \end_layout
18626
18627 \end_inset
18628
18629 ] 有効な引数は,
18630 \begin_inset Flex Code
18631 status collapsed
18632
18633 \begin_layout Plain Layout
18634 emph
18635 \end_layout
18636
18637 \end_inset
18638
18639
18640 \begin_inset Flex Code
18641 status collapsed
18642
18643 \begin_layout Plain Layout
18644 noun
18645 \end_layout
18646
18647 \end_inset
18648
18649
18650 \begin_inset Flex Code
18651 status collapsed
18652
18653 \begin_layout Plain Layout
18654 strikeout
18655 \end_layout
18656
18657 \end_inset
18658
18659
18660 \begin_inset Flex Code
18661 status collapsed
18662
18663 \begin_layout Plain Layout
18664 underbar
18665 \end_layout
18666
18667 \end_inset
18668
18669
18670 \begin_inset Flex Code
18671 status collapsed
18672
18673 \begin_layout Plain Layout
18674 uuline
18675 \end_layout
18676
18677 \end_inset
18678
18679
18680 \begin_inset Flex Code
18681 status collapsed
18682
18683 \begin_layout Plain Layout
18684 uwave
18685 \end_layout
18686
18687 \end_inset
18688
18689
18690 \begin_inset Flex Code
18691 status collapsed
18692
18693 \begin_layout Plain Layout
18694 no_emph
18695 \end_layout
18696
18697 \end_inset
18698
18699
18700 \begin_inset Flex Code
18701 status collapsed
18702
18703 \begin_layout Plain Layout
18704 no_noun
18705 \end_layout
18706
18707 \end_inset
18708
18709
18710 \begin_inset Flex Code
18711 status collapsed
18712
18713 \begin_layout Plain Layout
18714 no_strikeout
18715 \end_layout
18716
18717 \end_inset
18718
18719
18720 \begin_inset Flex Code
18721 status collapsed
18722
18723 \begin_layout Plain Layout
18724 no_bar
18725 \end_layout
18726
18727 \end_inset
18728
18729
18730 \begin_inset Flex Code
18731 status collapsed
18732
18733 \begin_layout Plain Layout
18734 no_uuline
18735 \end_layout
18736
18737 \end_inset
18738
18739
18740 \begin_inset Flex Code
18741 status collapsed
18742
18743 \begin_layout Plain Layout
18744 no_uwave
18745 \end_layout
18746
18747 \end_inset
18748
18749 です.それぞれ,対応する属性を有効にしたり無効にしたりします.
18750 \begin_inset Newline newline
18751 \end_inset
18752
18753 たとえば,
18754 \begin_inset Flex Code
18755 status collapsed
18756
18757 \begin_layout Plain Layout
18758 emph
18759 \end_layout
18760
18761 \end_inset
18762
18763 は強調を有効にし,
18764 \begin_inset Flex Code
18765 status collapsed
18766
18767 \begin_layout Plain Layout
18768 no_emph
18769 \end_layout
18770
18771 \end_inset
18772
18773 はそれを無効にします.もし後者がわかりにくければ,現在のコンテクストのフォント設定は,一般的に周囲のコンテクストから継承していることを思い出してください.ですか
18774
18775 \begin_inset Flex Code
18776 status collapsed
18777
18778 \begin_layout Plain Layout
18779 no_emph
18780 \end_layout
18781
18782 \end_inset
18783
18784 は,たとえば定理環境で,何をせずとも有効となっている強調を無効にするのです.
18785 \end_layout
18786
18787 \begin_layout Description
18788 \begin_inset Flex Code
18789 status collapsed
18790
18791 \begin_layout Plain Layout
18792 Series
18793 \end_layout
18794
18795 \end_inset
18796
18797  [
18798 \emph on
18799
18800 \begin_inset Flex Code
18801 status collapsed
18802
18803 \begin_layout Plain Layout
18804 Medium
18805 \end_layout
18806
18807 \end_inset
18808
18809
18810 \emph default
18811
18812 \begin_inset Flex Code
18813 status collapsed
18814
18815 \begin_layout Plain Layout
18816 Bold
18817 \end_layout
18818
18819 \end_inset
18820
18821
18822 \end_layout
18823
18824 \begin_layout Description
18825 \begin_inset Flex Code
18826 status collapsed
18827
18828 \begin_layout Plain Layout
18829 Shape
18830 \end_layout
18831
18832 \end_inset
18833
18834  [
18835 \emph on
18836
18837 \begin_inset Flex Code
18838 status collapsed
18839
18840 \begin_layout Plain Layout
18841 Up
18842 \end_layout
18843
18844 \end_inset
18845
18846
18847 \emph default
18848
18849 \begin_inset Flex Code
18850 status collapsed
18851
18852 \begin_layout Plain Layout
18853 Italic
18854 \end_layout
18855
18856 \end_inset
18857
18858
18859 \begin_inset Flex Code
18860 status collapsed
18861
18862 \begin_layout Plain Layout
18863 SmallCaps
18864 \end_layout
18865
18866 \end_inset
18867
18868
18869 \begin_inset Flex Code
18870 status collapsed
18871
18872 \begin_layout Plain Layout
18873 Slanted
18874 \end_layout
18875
18876 \end_inset
18877
18878
18879 \end_layout
18880
18881 \begin_layout Description
18882 \begin_inset Flex Code
18883 status collapsed
18884
18885 \begin_layout Plain Layout
18886 Size
18887 \end_layout
18888
18889 \end_inset
18890
18891  [
18892 \begin_inset Flex Code
18893 status collapsed
18894
18895 \begin_layout Plain Layout
18896 tiny
18897 \end_layout
18898
18899 \end_inset
18900
18901
18902 \begin_inset Flex Code
18903 status collapsed
18904
18905 \begin_layout Plain Layout
18906 small
18907 \end_layout
18908
18909 \end_inset
18910
18911
18912 \begin_inset Flex Code
18913 status collapsed
18914
18915 \begin_layout Plain Layout
18916
18917 \emph on
18918 normal
18919 \end_layout
18920
18921 \end_inset
18922
18923
18924 \begin_inset Flex Code
18925 status collapsed
18926
18927 \begin_layout Plain Layout
18928 large
18929 \end_layout
18930
18931 \end_inset
18932
18933
18934 \begin_inset Flex Code
18935 status collapsed
18936
18937 \begin_layout Plain Layout
18938 larger
18939 \end_layout
18940
18941 \end_inset
18942
18943
18944 \begin_inset Flex Code
18945 status collapsed
18946
18947 \begin_layout Plain Layout
18948 largest
18949 \end_layout
18950
18951 \end_inset
18952
18953
18954 \begin_inset Flex Code
18955 status collapsed
18956
18957 \begin_layout Plain Layout
18958 huge
18959 \end_layout
18960
18961 \end_inset
18962
18963
18964 \begin_inset Flex Code
18965 status collapsed
18966
18967 \begin_layout Plain Layout
18968 giant
18969 \end_layout
18970
18971 \end_inset
18972
18973 ]
18974 \end_layout
18975
18976 \begin_layout Subsection
18977 \begin_inset CommandInset label
18978 LatexCommand label
18979 name "subsec:引用エンジンの説明"
18980
18981 \end_inset
18982
18983 引用エンジンの説明
18984 \end_layout
18985
18986 \begin_layout Standard
18987 主に引用エンジンファイル(第
18988 \begin_inset CommandInset ref
18989 LatexCommand ref
18990 reference "subsec:引用エンジンファイル"
18991 plural "false"
18992 caps "false"
18993 noprefix "false"
18994
18995 \end_inset
18996
18997 節参照)で用いられる
18998 \begin_inset Flex Code
18999 status collapsed
19000
19001 \begin_layout Plain Layout
19002 CiteEngine
19003 \end_layout
19004
19005 \end_inset
19006
19007 ブロックは,特定の「引用エンジン」で提供される引用コマンドを定義します.\SpecialChar LyX
19008 の用語では,引用エンジンとは,番号や著者名,刊行年を使って,引用を整形する特定の方法のこ
19009 とを指します.\SpecialChar LyX
19010 は,3つのエンジンの型をサポートします.すなわち,
19011 \end_layout
19012
19013 \begin_layout Enumerate
19014 \begin_inset Flex Code
19015 status collapsed
19016
19017 \begin_layout Plain Layout
19018 default
19019 \end_layout
19020
19021 \end_inset
19022
19023 : 既定のBib\SpecialChar TeX
19024 流の引用方法である,単純な番号による様式(例:「[1]」)
19025 \end_layout
19026
19027 \begin_layout Enumerate
19028 \begin_inset Flex Code
19029 status collapsed
19030
19031 \begin_layout Plain Layout
19032 authoryear
19033 \end_layout
19034
19035 \end_inset
19036
19037 : 著者名と刊行年を使ったHarvard様式の引用(例:「Smith and Miller (2017b)」)
19038 \end_layout
19039
19040 \begin_layout Enumerate
19041 \begin_inset Flex Code
19042 status collapsed
19043
19044 \begin_layout Plain Layout
19045 numerical
19046 \end_layout
19047
19048 \end_inset
19049
19050 : 番号に隣接して著者名やタイトルを付けることのできる拡張された番号引用(例:「Smith and Miller [1]」)
19051 \end_layout
19052
19053 \begin_layout Standard
19054 \begin_inset Flex Code
19055 status collapsed
19056
19057 \begin_layout Plain Layout
19058 CiteEngine
19059 \end_layout
19060
19061 \end_inset
19062
19063 ブロックは以下のようになります.
19064 \end_layout
19065
19066 \begin_layout LyX-Code
19067 CiteEngine default
19068 \end_layout
19069
19070 \begin_layout LyX-Code
19071  cite
19072 \end_layout
19073
19074 \begin_layout LyX-Code
19075  Citep*[][]
19076 \end_layout
19077
19078 \begin_layout LyX-Code
19079  citeyearpar[][]=parencite*
19080 \end_layout
19081
19082 \begin_layout LyX-Code
19083  ...
19084 \end_layout
19085
19086 \begin_layout LyX-Code
19087 End
19088 \end_layout
19089
19090 \begin_layout Standard
19091 \begin_inset Flex Code
19092 status collapsed
19093
19094 \begin_layout Plain Layout
19095 CiteEngine
19096 \end_layout
19097
19098 \end_inset
19099
19100 に続くタグがエンジンを表します.各行は,このエンジンによってサポートされる引用コマンドや引用コマンドパラダイムを定義します.行は,\SpecialChar LyX
19101 コマンドと\SpecialChar LaTeX
19102 出力を命名するのに使
19103 われる引用コマンドのみを含むこともあれば,色々変えるために複雑なこともあります.完全な文法は
19104 \end_layout
19105
19106 \begin_layout LyX-Code
19107 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
19108 \end_layout
19109
19110 \begin_layout Standard
19111 という形になっています.ここで
19112 \end_layout
19113
19114 \begin_layout Itemize
19115 \begin_inset Flex Code
19116 status collapsed
19117
19118 \begin_layout Plain Layout
19119 LyXName
19120 \end_layout
19121
19122 \end_inset
19123
19124
19125 \begin_inset Flex Code
19126 status collapsed
19127
19128 \begin_layout Plain Layout
19129 *.lyx
19130 \end_layout
19131
19132 \end_inset
19133
19134 ファイルで使用される名前.
19135 \end_layout
19136
19137 \begin_deeper
19138 \begin_layout Standard
19139 可搬性のために,異なる引用パッケージ中の同じ形をしたコマンドには,同じ名前をつけるようにしています(したがって,多くの名前がnatbibから派生しており,\SpecialChar LaTeX
19140 コマン
19141 ド名が異なる場合には,しばしば
19142 \begin_inset Flex Code
19143 status collapsed
19144
19145 \begin_layout Plain Layout
19146 latexcmd
19147 \end_layout
19148
19149 \end_inset
19150
19151 を変える必要があります).
19152 \end_layout
19153
19154 \end_deeper
19155 \begin_layout Itemize
19156 \begin_inset Flex Code
19157 status collapsed
19158
19159 \begin_layout Plain Layout
19160 alias
19161 \end_layout
19162
19163 \end_inset
19164
19165 : このエンジンにおいて,与えられた
19166 \begin_inset Flex Code
19167 status collapsed
19168
19169 \begin_layout Plain Layout
19170 LyXName
19171 \end_layout
19172
19173 \end_inset
19174
19175 にフォールバックするコマンドの(コンマで区切られた)リスト.これによって,引用パッケージとエンジンを切り替えるのが楽になります.
19176 \begin_inset Flex Code
19177 status collapsed
19178
19179 \begin_layout Plain Layout
19180 alias
19181 \end_layout
19182
19183 \end_inset
19184
19185 はレイアウト定義中での
19186 \begin_inset Flex Code
19187 status collapsed
19188
19189 \begin_layout Plain Layout
19190 ObsoletedBy
19191 \end_layout
19192
19193 \end_inset
19194
19195 に相当するものと考えてよいでしょう.
19196 \end_layout
19197
19198 \begin_layout Itemize
19199 \begin_inset Flex Code
19200 status collapsed
19201
19202 \begin_layout Plain Layout
19203 latexcmd
19204 \end_layout
19205
19206 \end_inset
19207
19208 : 出力される実際の\SpecialChar LaTeX
19209 コマンド.
19210 \end_layout
19211
19212 \begin_layout Standard
19213 \begin_inset Flex Code
19214 status collapsed
19215
19216 \begin_layout Plain Layout
19217 Alias
19218 \end_layout
19219
19220 \end_inset
19221
19222
19223 \begin_inset Flex Code
19224 status collapsed
19225
19226 \begin_layout Plain Layout
19227 latexcmd
19228 \end_layout
19229
19230 \end_inset
19231
19232 は必須ではありません.
19233 \begin_inset Flex Code
19234 status collapsed
19235
19236 \begin_layout Plain Layout
19237 latexcmd
19238 \end_layout
19239
19240 \end_inset
19241
19242 が与えられない時は,
19243 \begin_inset Flex Code
19244 status collapsed
19245
19246 \begin_layout Plain Layout
19247 LyXName
19248 \end_layout
19249
19250 \end_inset
19251
19252 が\SpecialChar LaTeX
19253 に出力されます.
19254 \end_layout
19255
19256 \begin_layout Standard
19257 さらに,下記の点に注意してください.
19258 \end_layout
19259
19260 \begin_layout Itemize
19261 大文字にするとコマンドも大文字化されたものになります(
19262 \begin_inset Flex Code
19263 status collapsed
19264
19265 \begin_layout Plain Layout
19266
19267 \backslash
19268 latexcmd
19269 \end_layout
19270
19271 \end_inset
19272
19273
19274 \begin_inset Flex Code
19275 status collapsed
19276
19277 \begin_layout Plain Layout
19278
19279 \backslash
19280 Latexcmd
19281 \end_layout
19282
19283 \end_inset
19284
19285 に).これらは通常,名前の前置詞を大文字化するのを確実にします(
19286 \emph on
19287 von Goethe
19288 \emph default
19289  
19290 \begin_inset Formula $\Rightarrow$
19291 \end_inset
19292
19293  
19294 \emph on
19295 Von Goethe
19296 \emph default
19297 ).
19298 \end_layout
19299
19300 \begin_layout Itemize
19301 括弧
19302 \begin_inset Flex Code
19303 status collapsed
19304
19305 \begin_layout Plain Layout
19306 []
19307 \end_layout
19308
19309 \end_inset
19310
19311 は非必須引数の数を表します(0-2をとりえます).
19312 \end_layout
19313
19314 \begin_layout Itemize
19315 星印
19316 \begin_inset Flex Code
19317 status collapsed
19318
19319 \begin_layout Plain Layout
19320 *
19321 \end_layout
19322
19323 \end_inset
19324
19325 は星印付きコマンドを示します(
19326 \begin_inset Flex Code
19327 status collapsed
19328
19329 \begin_layout Plain Layout
19330
19331 \backslash
19332 latexcmd
19333 \end_layout
19334
19335 \end_inset
19336
19337
19338 \begin_inset Flex Code
19339 status collapsed
19340
19341 \begin_layout Plain Layout
19342
19343 \backslash
19344 latexcmd*
19345 \end_layout
19346
19347 \end_inset
19348
19349 に).
19350 \end_layout
19351
19352 \begin_deeper
19353 \begin_layout Standard
19354 既定では,星印付きバージョンは,
19355 \begin_inset Flex Code
19356 status collapsed
19357
19358 \begin_layout Plain Layout
19359 MaxCiteNames
19360 \end_layout
19361
19362 \end_inset
19363
19364 の閾値を超えたために「et al.」に省略されるべき時にも全ての著者を出力することを意味します.
19365 \end_layout
19366
19367 \begin_layout Standard
19368 星印が,当該コマンドについては別の意味を持つ場合には,
19369 \begin_inset Flex Code
19370 status collapsed
19371
19372 \begin_layout Plain Layout
19373 <!_stardesc!_stardesctooltip>
19374 \end_layout
19375
19376 \end_inset
19377
19378 のように三角括弧で指定することができます.前置詞
19379 \begin_inset Flex Code
19380 status collapsed
19381
19382 \begin_layout Plain Layout
19383 !_
19384 \end_layout
19385
19386 \end_inset
19387
19388 で標識した,翻訳可能なキーワードを最大2つ与えることができます.最初のキーワードは,引用ダイアログ中の「Full aut&hor list」チェックボックスラベ
19389 ルを書き換える文字列を指し,二つ目のキーワードは,このチェックボックスに対する非必須のツールチップの文字列を指します.
19390 \end_layout
19391
19392 \begin_layout Standard
19393 これらの2つのマクロは,下記のように,前置詞から
19394 \begin_inset Flex Code
19395 status collapsed
19396
19397 \begin_layout Plain Layout
19398 !
19399 \end_layout
19400
19401 \end_inset
19402
19403 を落とした形で
19404 \begin_inset Flex Code
19405 status collapsed
19406
19407 \begin_layout Plain Layout
19408 CiteFormat
19409 \end_layout
19410
19411 \end_inset
19412
19413 (次節参照)で定義されなくてはなりません.
19414 \end_layout
19415
19416 \begin_layout LyX-Code
19417 _stardesc Sta&rred command label
19418 \end_layout
19419
19420 \begin_layout LyX-Code
19421 _stardesctooltip Tooltip for the starred command checkbox.
19422 \end_layout
19423
19424 \end_deeper
19425 \begin_layout Itemize
19426 ドル記号
19427 \begin_inset Flex Code
19428 status collapsed
19429
19430 \begin_layout Plain Layout
19431 $
19432 \end_layout
19433
19434 \end_inset
19435
19436 は,このコマンドが「qualified citation lists」を取り扱うことを示します.これは,リスト中の個別の引用に対して,前置文字列と後置文字列を置
19437 くことができる,
19438 \family sans
19439 Biblatex
19440 \family default
19441 に特有の複数文献引用機能です.詳細については,
19442 \family sans
19443 Biblatex
19444 \family default
19445 の取扱説明書をご覧ください.
19446 \end_layout
19447
19448 \begin_layout Subsection
19449 \begin_inset CommandInset label
19450 LatexCommand label
19451 name "subsec:引用書式指定"
19452
19453 \end_inset
19454
19455 引用書式指定
19456 \end_layout
19457
19458 \begin_layout Standard
19459 (引用ダイアログやツールチップなどの)\SpecialChar LyX
19460 内部やXHTML出力において,書誌情報をどのように表示するべきかの叙述には,
19461 \begin_inset Flex Code
19462 status collapsed
19463
19464 \begin_layout Plain Layout
19465 CiteFormat
19466 \end_layout
19467
19468 \end_inset
19469
19470 ブロックが使用されています.このブロックは,以下のような形をしています.
19471 \end_layout
19472
19473 \begin_layout LyX-Code
19474 CiteFormat
19475 \end_layout
19476
19477 \begin_layout LyX-Code
19478  article ...
19479 \end_layout
19480
19481 \begin_layout LyX-Code
19482  book ...
19483 \end_layout
19484
19485 \begin_layout LyX-Code
19486 End
19487 \end_layout
19488
19489 \begin_layout Standard
19490 あるいは
19491 \end_layout
19492
19493 \begin_layout LyX-Code
19494 CiteFormat
19495 \end_layout
19496
19497 \begin_layout LyX-Code
19498  cite ...
19499 \end_layout
19500
19501 \begin_layout LyX-Code
19502  citet*[][] ...
19503 \end_layout
19504
19505 \begin_layout LyX-Code
19506 End
19507 \end_layout
19508
19509 \begin_layout Standard
19510 最初の例の各行は,それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,このような定義は,Bib\SpecialChar TeX
19511 ファイル中に存
19512 在しうる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,\SpecialChar LyX
19513 は,ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
19514 は,いくつかの書式を
19515 \begin_inset Flex Code
19516 status collapsed
19517
19518 \begin_layout Plain Layout
19519 stdciteformats.inc
19520 \end_layout
19521
19522 \end_inset
19523
19524 ファイルで事前定義しており,これはほとんどの\SpecialChar LyX
19525 文書クラスにインクルードされています.
19526 \end_layout
19527
19528 \begin_layout Standard
19529 2つ目の例では,各行は,特定の引用コマンド(この例では
19530 \begin_inset Flex Code
19531 status collapsed
19532
19533 \begin_layout Plain Layout
19534
19535 \backslash
19536 cite
19537 \end_layout
19538
19539 \end_inset
19540
19541 及び
19542 \begin_inset Flex Code
19543 status collapsed
19544
19545 \begin_layout Plain Layout
19546
19547 \backslash
19548 citet
19549 \end_layout
19550
19551 \end_inset
19552
19553 )が,引用差込枠ラベルや引用ダイアログ,メニュー,XHTML出力でどのように表示されるべきかを定義しています.\SpecialChar LyX
19554 は,\SpecialChar LyX
19555 に同梱されている個別の
19556 \begin_inset Flex Code
19557 status collapsed
19558
19559 \begin_layout Plain Layout
19560 *.citeengine
19561 \end_layout
19562
19563 \end_inset
19564
19565 ファイル中において,
19566 \family sans
19567 文書\SpecialChar menuseparator
19568 設定\SpecialChar menuseparator
19569 書誌情報\SpecialChar ldots
19570
19571 \family default
19572 でサポートしている引用様式用に,そのような書式を定義しています(第
19573 \begin_inset CommandInset ref
19574 LatexCommand ref
19575 reference "subsec:引用エンジンファイル"
19576 plural "false"
19577 caps "false"
19578 noprefix "false"
19579
19580 \end_inset
19581
19582 節参照).
19583 \end_layout
19584
19585 \begin_layout Standard
19586 この定義は,Bib\SpecialChar TeX
19587 キーをその値で置換できる機能を持った,簡単な言語を使用しています.キーは,
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 のように
19598 \begin_inset Flex Code
19599 status collapsed
19600
19601 \begin_layout Plain Layout
19602 %
19603 \end_layout
19604
19605 \end_inset
19606
19607 記号でくくらなくてはなりません.したがって,簡単な定義は以下のようになります.
19608 \end_layout
19609
19610 \begin_layout LyX-Code
19611 misc %author%, 
19612 \begin_inset Quotes eld
19613 \end_inset
19614
19615 %title%
19616 \begin_inset Quotes erd
19617 \end_inset
19618
19619
19620 \end_layout
19621
19622 \begin_layout Standard
19623 これは,「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
19624 \end_layout
19625
19626 \begin_layout Standard
19627 もちろん,キーが存在するときのみ,そのキーを出力したい時があるはずです.このようなときには
19628 \begin_inset Flex Code
19629 status collapsed
19630
19631 \begin_layout Plain Layout
19632 {%volume%[[vol.
19633 \begin_inset space ~
19634 \end_inset
19635
19636 %volume%]]}
19637 \end_layout
19638
19639 \end_inset
19640
19641 のように,条件付きの構成を使用することができます.これは,
19642 \begin_inset Flex Code
19643 status collapsed
19644
19645 \begin_layout Plain Layout
19646 volume
19647 \end_layout
19648
19649 \end_inset
19650
19651 が存在するならば,「vol.
19652 \begin_inset space ~
19653 \end_inset
19654
19655 」とvolumeキーを出力するという意味です.また,
19656 \begin_inset Newline newline
19657 \end_inset
19658
19659
19660 \begin_inset Flex Code
19661 status collapsed
19662
19663 \begin_layout Plain Layout
19664 {%author%[[%author%]][[%editor%, ed.]]}
19665 \end_layout
19666
19667 \end_inset
19668
19669
19670 \begin_inset Newline newline
19671 \end_inset
19672
19673 のように,条件の中にelse節を含めることも可能です.ここでは,もし
19674 \begin_inset Flex Code
19675 status collapsed
19676
19677 \begin_layout Plain Layout
19678 author
19679 \end_layout
19680
19681 \end_inset
19682
19683 キーが存在するならば出力され,そうでなければeditorキーと「,
19684 \begin_inset space ~
19685 \end_inset
19686
19687 ed.」が出力されます.ここでもキーは,
19688 \begin_inset Flex Code
19689 status collapsed
19690
19691 \begin_layout Plain Layout
19692 %
19693 \end_layout
19694
19695 \end_inset
19696
19697 記号でくくられていることに注意してください.条件全体は,波括弧で囲まれています.if節およびelse節は,「
19698 \begin_inset Flex Code
19699 status collapsed
19700
19701 \begin_layout Plain Layout
19702 [[
19703 \end_layout
19704
19705 \end_inset
19706
19707 」と「
19708 \begin_inset Flex Code
19709 status collapsed
19710
19711 \begin_layout Plain Layout
19712 ]]
19713 \end_layout
19714
19715 \end_inset
19716
19717 」の二重角括弧で囲まれています.これらすべてのあいだには,空白は入ってはなりません.
19718 \end_layout
19719
19720 \begin_layout Standard
19721 これらの条件文に使うことができるものには,項目キーの他に,以下の特殊キーがあります.
19722 \end_layout
19723
19724 \begin_layout Itemize
19725 \begin_inset Flex Code
19726 status collapsed
19727
19728 \begin_layout Plain Layout
19729 {%dialog%[[真]][[偽]]}
19730 \end_layout
19731
19732 \end_inset
19733
19734 : ダイアログとメニューに対しては「真」の部分を処理し,他の文脈(作業領域や書き出し)には「偽」の部分を処理します
19735 \end_layout
19736
19737 \begin_layout Itemize
19738 \begin_inset Flex Code
19739 status collapsed
19740
19741 \begin_layout Plain Layout
19742 {%export%[[真]][[偽]]}
19743 \end_layout
19744
19745 \end_inset
19746
19747 : 書き出しとメニューに対しては「真」の部分を処理し,他の文脈(作業領域やダイアログ)には「偽」の部分を処理します
19748 \end_layout
19749
19750 \begin_layout Itemize
19751 \begin_inset Flex Code
19752 status collapsed
19753
19754 \begin_layout Plain Layout
19755 {%next%[[真]]}
19756 \end_layout
19757
19758 \end_inset
19759
19760 : 他の項目が続く場合には「真」の部分を処理します(複数キーを持つ引用など)
19761 \end_layout
19762
19763 \begin_layout Itemize
19764 \begin_inset Flex Code
19765 status collapsed
19766
19767 \begin_layout Plain Layout
19768 {%second%[[真]][[偽]]}
19769 \end_layout
19770
19771 \end_inset
19772
19773 : これが複数項目の2番目の場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19774 \end_layout
19775
19776 \begin_layout Itemize
19777 \begin_inset Flex Code
19778 status collapsed
19779
19780 \begin_layout Plain Layout
19781 {%ifstar%[[真]][[偽]]}
19782 \end_layout
19783
19784 \end_inset
19785
19786 : (
19787 \begin_inset Flex Code
19788 status collapsed
19789
19790 \begin_layout Plain Layout
19791
19792 \backslash
19793 cite*
19794 \end_layout
19795
19796 \end_inset
19797
19798 など)星印付き引用コマンドの場合には「真」の部分を処理し,星印付きでない場合には「偽」の部分を処理します
19799 \end_layout
19800
19801 \begin_layout Itemize
19802 \begin_inset Flex Code
19803 status collapsed
19804
19805 \begin_layout Plain Layout
19806 {%ifentrytype:<type>%[[真]][[偽]]}
19807 \end_layout
19808
19809 \end_inset
19810
19811 : 現行の項目が
19812 \begin_inset Flex Code
19813 status collapsed
19814
19815 \begin_layout Plain Layout
19816 <型>
19817 \end_layout
19818
19819 \end_inset
19820
19821 に一致する場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:引用定義において
19822 \begin_inset Flex Code
19823 status collapsed
19824
19825 \begin_layout Plain Layout
19826 {%ifentrytype:book%[[これはbookです]][[これはbookではありません]]}
19827 \end_layout
19828
19829 \end_inset
19830
19831
19832 \end_layout
19833
19834 \begin_layout Itemize
19835 \begin_inset Flex Code
19836 status collapsed
19837
19838 \begin_layout Plain Layout
19839 {%ifmultiple:<authortype>%[[真]][[偽]]}
19840 \end_layout
19841
19842 \end_inset
19843
19844 : 現行の項目が著者型(著者・編者など)が複数の著者を含む場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:書誌情報定義において
19845 \begin_inset Flex Code
19846 status collapsed
19847
19848 \begin_layout Plain Layout
19849 {%ifmultiple:editor%[[eds.]][[ed.]]}
19850 \end_layout
19851
19852 \end_inset
19853
19854
19855 \end_layout
19856
19857 \begin_layout Itemize
19858 \begin_inset Flex Code
19859 status collapsed
19860
19861 \begin_layout Plain Layout
19862 {%ifqualified%[[真]][[偽]]}
19863 \end_layout
19864
19865 \end_inset
19866
19867 : 現行の引用がqualified citation listである(複数文献引用に対する
19868 \family sans
19869 Biblatex
19870 \family default
19871 特有の形式)場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19872 \end_layout
19873
19874 \begin_layout Standard
19875 \begin_inset Flex Code
19876 status collapsed
19877
19878 \begin_layout Plain Layout
19879 %author%
19880 \end_layout
19881
19882 \end_inset
19883
19884 は書誌情報ファイルに記録されている形のままの著者キーを出力すると述べました.これは「Miller, Peter and Smith, Mary
19885  and White, Jane」のような文字列に終わることがあり(Bib\SpecialChar TeX
19886 では著者を区切るのに「and」が用いられるため),望ましい結果ではありません.したがっ
19887 て,\SpecialChar LyX
19888 は,正しく整形された名前のリスト(これも翻訳の対象となります)を得るための方法を提供しています.以下のキーが提供されています.
19889 \end_layout
19890
19891 \begin_layout Enumerate
19892 書誌情報項目の主要著者・編者に適した,姓名付き名前リスト用.
19893 \begin_inset Flex Code
19894 status collapsed
19895
19896 \begin_layout Plain Layout
19897 <nametype>
19898 \end_layout
19899
19900 \end_inset
19901
19902 部分は要請されているリスト型を表します(例:
19903 \begin_inset Flex Code
19904 status collapsed
19905
19906 \begin_layout Plain Layout
19907 <nametype:author>
19908 \end_layout
19909
19910 \end_inset
19911
19912
19913 \end_layout
19914
19915 \begin_deeper
19916 \begin_layout Itemize
19917 \begin_inset Flex Code
19918 status collapsed
19919
19920 \begin_layout Plain Layout
19921 %abbrvnames:<nametype>%
19922 \end_layout
19923
19924 \end_inset
19925
19926
19927 \begin_inset Flex Code
19928 status collapsed
19929
19930 \begin_layout Plain Layout
19931 MaxCiteNames
19932 \end_layout
19933
19934 \end_inset
19935
19936 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
19937 \end_layout
19938
19939 \begin_layout Itemize
19940 \begin_inset Flex Code
19941 status collapsed
19942
19943 \begin_layout Plain Layout
19944 %fullnames:<nametype>%
19945 \end_layout
19946
19947 \end_inset
19948
19949 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
19950 \end_layout
19951
19952 \begin_layout Itemize
19953 \begin_inset Flex Code
19954 status collapsed
19955
19956 \begin_layout Plain Layout
19957 %forceabbrvnames:<nametype>%
19958 \end_layout
19959
19960 \end_inset
19961
19962
19963 \begin_inset Flex Code
19964 status collapsed
19965
19966 \begin_layout Plain Layout
19967 MaxCiteNames
19968 \end_layout
19969
19970 \end_inset
19971
19972 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
19973 \end_layout
19974
19975 \end_deeper
19976 \begin_layout Enumerate
19977 書誌情報項目中の姓名の順序が異なっている場合の,姓名付き名前リスト(例:「Miller, John: 何らかの文, in: Mary Smith,
19978  ed.: A volume」
19979 \end_layout
19980
19981 \begin_deeper
19982 \begin_layout Itemize
19983 \begin_inset Flex Code
19984 status collapsed
19985
19986 \begin_layout Plain Layout
19987 %abbrvbynames:<nametype>%
19988 \end_layout
19989
19990 \end_inset
19991
19992
19993 \begin_inset Flex Code
19994 status collapsed
19995
19996 \begin_layout Plain Layout
19997 MaxCiteNames
19998 \end_layout
19999
20000 \end_inset
20001
20002 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
20003 \end_layout
20004
20005 \begin_layout Itemize
20006 \begin_inset Flex Code
20007 status collapsed
20008
20009 \begin_layout Plain Layout
20010 %fullbynames:<nametype>%
20011 \end_layout
20012
20013 \end_inset
20014
20015 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
20016 \end_layout
20017
20018 \begin_layout Itemize
20019 \begin_inset Flex Code
20020 status collapsed
20021
20022 \begin_layout Plain Layout
20023 %forceabbrvbynames:<nametype>%
20024 \end_layout
20025
20026 \end_inset
20027
20028
20029 \begin_inset Flex Code
20030 status collapsed
20031
20032 \begin_layout Plain Layout
20033 MaxCiteNames
20034 \end_layout
20035
20036 \end_inset
20037
20038 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20039 \end_layout
20040
20041 \end_deeper
20042 \begin_layout Enumerate
20043 著者-発行年引用ラベルで用いられるような,姓のみを含む姓リスト.これらは
20044 \begin_inset Flex Code
20045 status collapsed
20046
20047 \begin_layout Plain Layout
20048 <nametype>
20049 \end_layout
20050
20051 \end_inset
20052
20053 部分を取りませんが,(著者-発行年ラベルで通例であるように)常に著者リストか,存在しない場合には編者リストを返します.
20054 \end_layout
20055
20056 \begin_deeper
20057 \begin_layout Itemize
20058 \begin_inset Flex Code
20059 status collapsed
20060
20061 \begin_layout Plain Layout
20062 %abbrvciteauthor%
20063 \end_layout
20064
20065 \end_inset
20066
20067
20068 \begin_inset Flex Code
20069 status collapsed
20070
20071 \begin_layout Plain Layout
20072 MaxCiteNames
20073 \end_layout
20074
20075 \end_inset
20076
20077 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
20078 \end_layout
20079
20080 \begin_layout Itemize
20081 \begin_inset Flex Code
20082 status collapsed
20083
20084 \begin_layout Plain Layout
20085 %fullciteauthor%
20086 \end_layout
20087
20088 \end_inset
20089
20090 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
20091 \end_layout
20092
20093 \begin_layout Itemize
20094 \begin_inset Flex Code
20095 status collapsed
20096
20097 \begin_layout Plain Layout
20098 %forceabbrvciteauthor%
20099 \end_layout
20100
20101 \end_inset
20102
20103
20104 \begin_inset Flex Code
20105 status collapsed
20106
20107 \begin_layout Plain Layout
20108 MaxCiteNames
20109 \end_layout
20110
20111 \end_inset
20112
20113 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20114 \end_layout
20115
20116 \end_deeper
20117 \begin_layout Standard
20118 前二者の姓名の順序は,下記のマクロで変更することができます.
20119 \end_layout
20120
20121 \begin_layout Itemize
20122 \begin_inset Flex Code
20123 status collapsed
20124
20125 \begin_layout Plain Layout
20126 !firstnameform %surname%, %prename%
20127 \end_layout
20128
20129 \end_inset
20130
20131 (1の場合の最初の著者)
20132 \end_layout
20133
20134 \begin_layout Itemize
20135 \begin_inset Flex Code
20136 status collapsed
20137
20138 \begin_layout Plain Layout
20139 !othernameform %surname%, %prename%
20140 \end_layout
20141
20142 \end_inset
20143
20144 (1の場合の他の著者)
20145 \end_layout
20146
20147 \begin_layout Itemize
20148 \begin_inset Flex Code
20149 status collapsed
20150
20151 \begin_layout Plain Layout
20152 !firstbynameform %prename% %surname%
20153 \end_layout
20154
20155 \end_inset
20156
20157 (2の場合の最初の著者)
20158 \end_layout
20159
20160 \begin_layout Itemize
20161 \begin_inset Flex Code
20162 status collapsed
20163
20164 \begin_layout Plain Layout
20165 !otherbynameform %prename% %surname%
20166 \end_layout
20167
20168 \end_inset
20169
20170 (2の場合の他の著者)
20171 \end_layout
20172
20173 \begin_layout Standard
20174 これによって,名前を「Miller, Peter and Mary Smith: \SpecialChar ldots
20175 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
20176 」のように
20177 設定することができます.
20178 \end_layout
20179
20180 \begin_layout Standard
20181 もう一つ,定義中で使用することのできる文法として,
20182 \begin_inset Flex Code
20183 status collapsed
20184
20185 \begin_layout Plain Layout
20186 {!<i>!}
20187 \end_layout
20188
20189 \end_inset
20190
20191 という形をしたものがあります.これは,「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,平文を書き出すときには,HTMLタ
20192 グを出力させたくはありませんから,HTMLタグは「
20193 \begin_inset Flex Code
20194 status collapsed
20195
20196 \begin_layout Plain Layout
20197 {!
20198 \end_layout
20199
20200 \end_inset
20201
20202 」と「
20203 \begin_inset Flex Code
20204 status collapsed
20205
20206 \begin_layout Plain Layout
20207 !}
20208 \end_layout
20209
20210 \end_inset
20211
20212 」でくるんでやらなくてはならないのです.
20213 \end_layout
20214
20215 \begin_layout Standard
20216 \begin_inset Flex Code
20217 status collapsed
20218
20219 \begin_layout Plain Layout
20220 CiteFormat
20221 \end_layout
20222
20223 \end_inset
20224
20225 ブロックでは,他に2つの特殊な定義が可能です.一つめの例としては,
20226 \end_layout
20227
20228 \begin_layout LyX-Code
20229 !quotetitle 
20230 \begin_inset Quotes eld
20231 \end_inset
20232
20233 %title%
20234 \begin_inset Quotes erd
20235 \end_inset
20236
20237
20238 \end_layout
20239
20240 \begin_layout Standard
20241 といった例が挙げられます.これは,短縮形ないしはマクロであり,
20242 \begin_inset Flex Code
20243 status collapsed
20244
20245 \begin_layout Plain Layout
20246 %!quotetitle%
20247 \end_layout
20248
20249 \end_inset
20250
20251 のように,これがキーであるかのように扱って使用することができます.\SpecialChar LyX
20252 は,
20253 \begin_inset Flex Code
20254 status collapsed
20255
20256 \begin_layout Plain Layout
20257 %!quotetitle%
20258 \end_layout
20259
20260 \end_inset
20261
20262 を,そこで定義されているものを扱う場合と同じように取り扱います.ですから,明白な警告を敢えてさせて頂くと,
20263 \end_layout
20264
20265 \begin_layout LyX-Code
20266 !funfun %funfun%
20267 \end_layout
20268
20269 \begin_layout Standard
20270 のようなことはしないでください.\SpecialChar LyX
20271 は,無限ループに陥るようなことはありませんが,諦めるまでに時間のかかる長いループに入るかもしれません.
20272 \end_layout
20273
20274 \begin_layout Standard
20275 特殊な定義の二つめは,
20276 \end_layout
20277
20278 \begin_layout LyX-Code
20279 B_pptext pp.
20280 \end_layout
20281
20282 \begin_layout Standard
20283 のようなものです.これは翻訳対象となるテキスト部分を定義し,これによって書誌情報や引用の対応する部分が翻訳されるようになります.
20284 \begin_inset Flex Code
20285 status collapsed
20286
20287 \begin_layout Plain Layout
20288 %B_pptext%
20289 \end_layout
20290
20291 \end_inset
20292
20293 のように,これをキーとして扱って,定義の中に入れることもできます.
20294 \lang english
20295 Note that there are two different translation paths: All definitions starting
20296  with 
20297 \begin_inset Flex Code
20298 status collapsed
20299
20300 \begin_layout Plain Layout
20301
20302 \lang english
20303 B_
20304 \end_layout
20305
20306 \end_inset
20307
20308 , such as in the example above, will be translated to the currently active
20309  buffer language (so the translation will match the generated document).
20310  All definitions starting with underscore only will be translated to the
20311  GUI language.
20312  This is the proper translation for strings that only occur in the dialogs
20313  or on buttons, such as this one:
20314 \end_layout
20315
20316 \begin_layout LyX-Code
20317
20318 \lang english
20319 _addtobib Add to bibliography only.
20320 \end_layout
20321
20322 \begin_layout Standard
20323 これらのうちいくつかは
20324 \lang english
20325 translatable strings
20326 \lang japanese
20327
20328 \begin_inset Flex Code
20329 status collapsed
20330
20331 \begin_layout Plain Layout
20332 stdciteformats.inc
20333 \end_layout
20334
20335 \end_inset
20336
20337 及び様々な
20338 \begin_inset Flex Code
20339 status collapsed
20340
20341 \begin_layout Plain Layout
20342 *.citeengine
20343 \end_layout
20344
20345 \end_inset
20346
20347 ファイル中に事前定義されています.これは,上記で述べたような意味でのマクロではないことに注意してください.
20348 \end_layout
20349
20350 \begin_layout Standard
20351 以下は,これらの機能を全て使った例です.
20352 \begin_inset VSpace defskip
20353 \end_inset
20354
20355
20356 \end_layout
20357
20358 \begin_layout Standard
20359 \noindent
20360
20361 \family sans
20362 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %B_edtext%, ]]}]]}
20363 \end_layout
20364
20365 \begin_layout Standard
20366 \begin_inset VSpace defskip
20367 \end_inset
20368
20369 これは,
20370 \begin_inset Flex Code
20371 status collapsed
20372
20373 \begin_layout Plain Layout
20374 author
20375 \end_layout
20376
20377 \end_inset
20378
20379 キーが定義されているならば,著者とコンマを出力し,
20380 \begin_inset Flex Code
20381 status collapsed
20382
20383 \begin_layout Plain Layout
20384 author
20385 \end_layout
20386
20387 \end_inset
20388
20389 キーが定義されておらず,
20390 \begin_inset Flex Code
20391 status collapsed
20392
20393 \begin_layout Plain Layout
20394 editor
20395 \end_layout
20396
20397 \end_inset
20398
20399 キーが定義されているならば,編集者名の後に
20400 \begin_inset Flex Code
20401 status collapsed
20402
20403 \begin_layout Plain Layout
20404 B_edtext
20405 \end_layout
20406
20407 \end_inset
20408
20409 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
20410 \begin_inset Flex Code
20411 status collapsed
20412
20413 \begin_layout Plain Layout
20414 stdciteformats.inc
20415 \end_layout
20416
20417 \end_inset
20418
20419 の中で定義されていますので,このファイルをまず読みこめば,ご自身の定義ないしは再定義の中で使用することができます.
20420 \end_layout
20421
20422 \begin_layout Section
20423 \begin_inset CommandInset label
20424 LatexCommand label
20425 name "sec:XHTML出力のタグ"
20426
20427 \end_inset
20428
20429 XHTML出力のタグ
20430 \end_layout
20431
20432 \begin_layout Standard
20433 \SpecialChar LaTeX
20434 やDocBookと同様,\SpecialChar LyX
20435 のXHTML出力の書式も,レイアウト情報によって制御することができます.一般的に,\SpecialChar LyX
20436 は適切な既定値を提供し,前述したように,他のレイアウト
20437 タグに基づいて,既定のCSSスタイルの構成まで行ないます.たとえば,章見出しを適切に整形するためのCSSを書き出すために,\SpecialChar LyX
20438 は,章様式の
20439 \begin_inset Flex Code
20440 status collapsed
20441
20442 \begin_layout Plain Layout
20443 Font
20444 \end_layout
20445
20446 \end_inset
20447
20448 宣言で提供されている情報を利用しようと試みます.
20449 \end_layout
20450
20451 \begin_layout Standard
20452 したがって,多くの場合,使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,まったく何もしなくてよいことになるでしょう.しかしながら
20453 ,これが必要になる場合もあるので,\SpecialChar LyX
20454 は,生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,たくさん提供しています.
20455 \end_layout
20456
20457 \begin_layout Standard
20458 様式宣言や差込枠宣言の外で使用することができるタグに,
20459 \begin_inset Flex Code
20460 status collapsed
20461
20462 \begin_layout Plain Layout
20463 HTMLPreamble
20464 \end_layout
20465
20466 \end_inset
20467
20468
20469 \begin_inset Flex Code
20470 status collapsed
20471
20472 \begin_layout Plain Layout
20473 AddToHTMLPreamble
20474 \end_layout
20475
20476 \end_inset
20477
20478 の2つがあることに注意してください.これらの詳細については,
20479 \begin_inset CommandInset ref
20480 LatexCommand ref
20481 reference "subsec:汎用テキストクラスパラメータ"
20482
20483 \end_inset
20484
20485 をご覧ください.
20486 \end_layout
20487
20488 \begin_layout Subsection
20489 \begin_inset CommandInset label
20490 LatexCommand label
20491 name "subsec:段落様式-XHTML"
20492
20493 \end_inset
20494
20495 段落様式
20496 \end_layout
20497
20498 \begin_layout Standard
20499 \SpecialChar LyX
20500 が段落のために出力するXHTMLの種類は,通常の段落を取り扱っているのか,コマンドを取り扱っているのか,あるいは環境を取り扱っているのかに依存し,これは対応する
20501 \begin_inset Flex Code
20502 status collapsed
20503
20504 \begin_layout Plain Layout
20505 \SpecialChar LaTeX
20506 Type
20507 \end_layout
20508
20509 \end_inset
20510
20511 タグの内容によって決定されます.
20512 \end_layout
20513
20514 \begin_layout Standard
20515 コマンドや通常の段落の場合には,XHTML出力は以下の形になります.
20516 \end_layout
20517
20518 \begin_layout LyX-Code
20519
20520 \family sans
20521 <tag attr=
20522 \begin_inset Quotes erd
20523 \end_inset
20524
20525 value
20526 \begin_inset Quotes erd
20527 \end_inset
20528
20529 >
20530 \end_layout
20531
20532 \begin_layout LyX-Code
20533
20534 \family sans
20535 <labeltag attr=
20536 \begin_inset Quotes erd
20537 \end_inset
20538
20539 value
20540 \begin_inset Quotes erd
20541 \end_inset
20542
20543 >ラベル</labeltag>
20544 \end_layout
20545
20546 \begin_layout LyX-Code
20547
20548 \family sans
20549 段落の内容
20550 \end_layout
20551
20552 \begin_layout LyX-Code
20553
20554 \family sans
20555 </tag>
20556 \end_layout
20557
20558 \begin_layout Standard
20559 もちろん,段落にラベルがなければ,ラベルタグは省略することができます.
20560 \end_layout
20561
20562 \begin_layout Standard
20563 環境のうち,リストの変種でないものに関しては,XHTMLは以下の形を取ります.
20564 \end_layout
20565
20566 \begin_layout LyX-Code
20567
20568 \family sans
20569 <tag attr=
20570 \begin_inset Quotes erd
20571 \end_inset
20572
20573 value
20574 \begin_inset Quotes erd
20575 \end_inset
20576
20577 >
20578 \end_layout
20579
20580 \begin_layout LyX-Code
20581
20582 \family sans
20583 <itemtag attr=
20584 \begin_inset Quotes erd
20585 \end_inset
20586
20587 value
20588 \begin_inset Quotes erd
20589 \end_inset
20590
20591 ><labeltag attr=
20592 \begin_inset Quotes erd
20593 \end_inset
20594
20595 value
20596 \begin_inset Quotes erd
20597 \end_inset
20598
20599 >環境ラベル</labeltag>最初の段落.
20600 \end_layout
20601
20602 \begin_layout LyX-Code
20603
20604 \family sans
20605 </itemtag>
20606 \end_layout
20607
20608 \begin_layout LyX-Code
20609
20610 \family sans
20611 <itemtag>二つめの段落.</itemtag>
20612 \end_layout
20613
20614 \begin_layout LyX-Code
20615
20616 \family sans
20617 </tag>
20618 \end_layout
20619
20620 \begin_layout Standard
20621 ラベルは,たとえば定理の場合にそうであるように,最初の段落にだけ出力されることに注意してください.
20622 \end_layout
20623
20624 \begin_layout Standard
20625 リストに関しては,次のような形になります.
20626 \end_layout
20627
20628 \begin_layout LyX-Code
20629
20630 \family sans
20631 <tag attr=
20632 \begin_inset Quotes erd
20633 \end_inset
20634
20635 value
20636 \begin_inset Quotes erd
20637 \end_inset
20638
20639 >
20640 \end_layout
20641
20642 \begin_layout LyX-Code
20643
20644 \family sans
20645 <itemtag attr=
20646 \begin_inset Quotes erd
20647 \end_inset
20648
20649 value
20650 \begin_inset Quotes erd
20651 \end_inset
20652
20653 ><labeltag attr=
20654 \begin_inset Quotes erd
20655 \end_inset
20656
20657 value
20658 \begin_inset Quotes erd
20659 \end_inset
20660
20661 >リストのラベル</labeltag>最初の項目.</itemtag>
20662 \end_layout
20663
20664 \begin_layout LyX-Code
20665
20666 \family sans
20667 <itemtag attr=
20668 \begin_inset Quotes erd
20669 \end_inset
20670
20671 value
20672 \begin_inset Quotes erd
20673 \end_inset
20674
20675 ><labeltag attr=
20676 \begin_inset Quotes erd
20677 \end_inset
20678
20679 value
20680 \begin_inset Quotes erd
20681 \end_inset
20682
20683 >リストのラベル</labeltag>二つめの項目.</itemtag>
20684 \end_layout
20685
20686 \begin_layout LyX-Code
20687
20688 \family sans
20689 </tag>
20690 \end_layout
20691
20692 \begin_layout LyX-Code
20693
20694 \end_layout
20695
20696 \begin_layout LyX-Code
20697
20698 \family sans
20699 <tag attr=
20700 \begin_inset Quotes erd
20701 \end_inset
20702
20703 value
20704 \begin_inset Quotes erd
20705 \end_inset
20706
20707 >
20708 \end_layout
20709
20710 \begin_layout LyX-Code
20711
20712 \family sans
20713 <labeltag attr=
20714 \begin_inset Quotes erd
20715 \end_inset
20716
20717 value
20718 \begin_inset Quotes erd
20719 \end_inset
20720
20721 >リストのラベル</labeltag><itemtag attr=
20722 \begin_inset Quotes erd
20723 \end_inset
20724
20725 value
20726 \begin_inset Quotes erd
20727 \end_inset
20728
20729 >最初の項目.</itemtag>
20730 \end_layout
20731
20732 \begin_layout LyX-Code
20733
20734 \family sans
20735 <labeltag attr=
20736 \begin_inset Quotes erd
20737 \end_inset
20738
20739 value
20740 \begin_inset Quotes erd
20741 \end_inset
20742
20743 >リストのラベル</labeltag><itemtag attr=
20744 \begin_inset Quotes erd
20745 \end_inset
20746
20747 value
20748 \begin_inset Quotes erd
20749 \end_inset
20750
20751 >二つめの項目</itemtag>
20752 \end_layout
20753
20754 \begin_layout LyX-Code
20755
20756 \family sans
20757 </tag>
20758 \end_layout
20759
20760 \begin_layout Standard
20761 ここで
20762 \begin_inset Flex Code
20763 status collapsed
20764
20765 \begin_layout Plain Layout
20766 labeltag
20767 \end_layout
20768
20769 \end_inset
20770
20771
20772 \begin_inset Flex Code
20773 status collapsed
20774
20775 \begin_layout Plain Layout
20776 itemtag
20777 \end_layout
20778
20779 \end_inset
20780
20781 の順序が違っていることに注意してください.どちらの順序になるかは,
20782 \begin_inset Flex Code
20783 status collapsed
20784
20785 \begin_layout Plain Layout
20786 HTMLLabelFirst
20787 \end_layout
20788
20789 \end_inset
20790
20791 の設定に依存します.もし
20792 \begin_inset Flex Code
20793 status collapsed
20794
20795 \begin_layout Plain Layout
20796 HTMLLabelFirst
20797 \end_layout
20798
20799 \end_inset
20800
20801 が偽であれば(既定値),最初のケースのようになり,これが真であれば,二番めのケースのように,labelがitemの外側に来るようになります.
20802 \end_layout
20803
20804 \begin_layout Standard
20805 各段落の特定のタグ出力や属性出力は,以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,前述のように,多くの場合,\SpecialChar LyX
20806 は適切な既定値を生成
20807 するので,たいしたことをしなくても,望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,自分の好みにあわせて微調整する目的
20808 でここにあるものと考えてください.
20809 \end_layout
20810
20811 \begin_layout Description
20812 \begin_inset Flex Code
20813 status collapsed
20814
20815 \begin_layout Plain Layout
20816 HTMLAttr
20817 \end_layout
20818
20819 \end_inset
20820
20821  [
20822 \begin_inset Flex Code
20823 status collapsed
20824
20825 \begin_layout Plain Layout
20826 文字列
20827 \end_layout
20828
20829 \end_inset
20830
20831 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
20832 \begin_inset Flex Code
20833 status collapsed
20834
20835 \begin_layout Plain Layout
20836 class=`mydiv'
20837 \end_layout
20838
20839 \end_inset
20840
20841 」のようなものです.既定においては,\SpecialChar LyX
20842 は「
20843 \begin_inset Flex Code
20844 status collapsed
20845
20846 \begin_layout Plain Layout
20847 class=`レイアウト名'
20848 \end_layout
20849
20850 \end_inset
20851
20852 」と出力します.ここで
20853 \begin_inset Flex Code
20854 status collapsed
20855
20856 \begin_layout Plain Layout
20857 レイアウト名
20858 \end_layout
20859
20860 \end_inset
20861
20862 は,レイアウトの\SpecialChar LyX
20863 名であり,chapterのように小文字で記述します.
20864 \end_layout
20865
20866 \begin_layout Description
20867 \begin_inset Flex Code
20868 status collapsed
20869
20870 \begin_layout Plain Layout
20871 HTMLForceCSS
20872 \end_layout
20873
20874 \end_inset
20875
20876  [
20877 \begin_inset Flex Code
20878 status collapsed
20879
20880 \begin_layout Plain Layout
20881
20882 \emph on
20883 0
20884 \emph default
20885 ,1
20886 \end_layout
20887
20888 \end_inset
20889
20890 ] 
20891 \begin_inset Flex Code
20892 status collapsed
20893
20894 \begin_layout Plain Layout
20895 HTMLStyle
20896 \end_layout
20897
20898 \end_inset
20899
20900 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
20901 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
20902 \begin_inset Flex Code
20903 status collapsed
20904
20905 \begin_layout Plain Layout
20906 1
20907 \end_layout
20908
20909 \end_inset
20910
20911 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
20912 \begin_inset Flex Code
20913 status collapsed
20914
20915 \begin_layout Plain Layout
20916 0
20917 \end_layout
20918
20919 \end_inset
20920
20921 です.
20922 \end_layout
20923
20924 \begin_layout Description
20925 \begin_inset Flex Code
20926 status collapsed
20927
20928 \begin_layout Plain Layout
20929 HTMLItem
20930 \end_layout
20931
20932 \end_inset
20933
20934  [
20935 \begin_inset Flex Code
20936 status collapsed
20937
20938 \begin_layout Plain Layout
20939 文字列
20940 \end_layout
20941
20942 \end_inset
20943
20944 ] 環境の段落に使用されるタグ.上記各例の
20945 \begin_inset Flex Code
20946 status collapsed
20947
20948 \begin_layout Plain Layout
20949 itemtag
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 \end_layout
20966
20967 \begin_layout Description
20968 \begin_inset Flex Code
20969 status collapsed
20970
20971 \begin_layout Plain Layout
20972 HTMLItemAttr
20973 \end_layout
20974
20975 \end_inset
20976
20977  [
20978 \begin_inset Flex Code
20979 status collapsed
20980
20981 \begin_layout Plain Layout
20982 文字列
20983 \end_layout
20984
20985 \end_inset
20986
20987 ] itemタグの属性.既定値は
20988 \begin_inset Flex Code
20989 status collapsed
20990
20991 \begin_layout Plain Layout
20992 class=`レイアウト名_item'
20993 \end_layout
20994
20995 \end_inset
20996
20997 です.ここには,様式情報は含まれては
20998 \emph on
20999 なりません
21000 \emph default
21001 .その目的のためには,
21002 \begin_inset Flex Code
21003 status collapsed
21004
21005 \begin_layout Plain Layout
21006 HTMLStyle
21007 \end_layout
21008
21009 \end_inset
21010
21011 を使用してください.
21012 \end_layout
21013
21014 \begin_layout Description
21015 \begin_inset Flex Code
21016 status collapsed
21017
21018 \begin_layout Plain Layout
21019 HTMLLabel
21020 \end_layout
21021
21022 \end_inset
21023
21024  [
21025 \begin_inset Flex Code
21026 status collapsed
21027
21028 \begin_layout Plain Layout
21029 文字列
21030 \end_layout
21031
21032 \end_inset
21033
21034 ] 段落と項目ラベルに使用されるタグ.上記各例の
21035 \begin_inset Flex Code
21036 status collapsed
21037
21038 \begin_layout Plain Layout
21039 labeltag
21040 \end_layout
21041
21042 \end_inset
21043
21044 を置き換えます.
21045 \begin_inset Flex Code
21046 status collapsed
21047
21048 \begin_layout Plain Layout
21049 LabelType
21050 \end_layout
21051
21052 \end_inset
21053
21054
21055 \begin_inset Flex Code
21056 status collapsed
21057
21058 \begin_layout Plain Layout
21059 Top_Environment
21060 \end_layout
21061
21062 \end_inset
21063
21064
21065 \begin_inset Flex Code
21066 status collapsed
21067
21068 \begin_layout Plain Layout
21069 Centered_Top_Environment
21070 \end_layout
21071
21072 \end_inset
21073
21074 の時は,既定値は
21075 \begin_inset Flex Code
21076 status collapsed
21077
21078 \begin_layout Plain Layout
21079 div
21080 \end_layout
21081
21082 \end_inset
21083
21084 ですが,それ以外の時の既定値は
21085 \begin_inset Flex Code
21086 status collapsed
21087
21088 \begin_layout Plain Layout
21089 span
21090 \end_layout
21091
21092 \end_inset
21093
21094 です.
21095 \end_layout
21096
21097 \begin_layout Description
21098 \begin_inset Flex Code
21099 status collapsed
21100
21101 \begin_layout Plain Layout
21102 HTMLLabelAttr
21103 \end_layout
21104
21105 \end_inset
21106
21107  [
21108 \begin_inset Flex Code
21109 status collapsed
21110
21111 \begin_layout Plain Layout
21112 文字列
21113 \end_layout
21114
21115 \end_inset
21116
21117 ] labelタグの属性.既定値は
21118 \begin_inset Flex Code
21119 status collapsed
21120
21121 \begin_layout Plain Layout
21122 class=`レイアウト名_label'
21123 \end_layout
21124
21125 \end_inset
21126
21127 です.ここには,様式情報は含まれては
21128 \emph on
21129 なりません
21130 \emph default
21131 .その目的のためには,
21132 \begin_inset Flex Code
21133 status collapsed
21134
21135 \begin_layout Plain Layout
21136 HTMLStyle
21137 \end_layout
21138
21139 \end_inset
21140
21141 を使用してください.
21142 \end_layout
21143
21144 \begin_layout Description
21145 \begin_inset Flex Code
21146 status collapsed
21147
21148 \begin_layout Plain Layout
21149 HTMLLabelFirst
21150 \end_layout
21151
21152 \end_inset
21153
21154  [
21155 \begin_inset Flex Code
21156 status collapsed
21157
21158 \begin_layout Plain Layout
21159
21160 \emph on
21161 0
21162 \emph default
21163 ,1
21164 \end_layout
21165
21166 \end_inset
21167
21168 ] このタグは,リスト関係環境でのみ意味を持ち,labelタグが,itemタグの前に出力されるか,中に出力されるかを制御します.これは,たとえば,descrip
21169 tion環境の中で,
21170 \begin_inset Flex Code
21171 status collapsed
21172
21173 \begin_layout Plain Layout
21174 `<dt>\SpecialChar ldots
21175 </dt><dd>\SpecialChar ldots
21176 </dd>
21177 \end_layout
21178
21179 \end_inset
21180
21181 という形を得るために使用されます.既定値は
21182 \begin_inset Flex Code
21183 status collapsed
21184
21185 \begin_layout Plain Layout
21186 0
21187 \end_layout
21188
21189 \end_inset
21190
21191 で,labelタグはitemタグの中に出力されます.
21192 \end_layout
21193
21194 \begin_layout Description
21195 \begin_inset Flex Code
21196 status collapsed
21197
21198 \begin_layout Plain Layout
21199 HTMLPreamble
21200 \end_layout
21201
21202 \end_inset
21203
21204  この様式が使用されたときに,
21205 \begin_inset Flex Code
21206 status collapsed
21207
21208 \begin_layout Plain Layout
21209 <head>
21210 \end_layout
21211
21212 \end_inset
21213
21214 セクションに出力される情報.これは,たとえば,
21215 \begin_inset Flex Code
21216 status collapsed
21217
21218 \begin_layout Plain Layout
21219 onclick
21220 \end_layout
21221
21222 \end_inset
21223
21224 ハンドラを定義するために
21225 \begin_inset Flex Code
21226 status collapsed
21227
21228 \begin_layout Plain Layout
21229 <script>
21230 \end_layout
21231
21232 \end_inset
21233
21234 ブロックをインクルードするのに使用することができます.
21235 \end_layout
21236
21237 \begin_layout Description
21238 \begin_inset Flex Code
21239 status collapsed
21240
21241 \begin_layout Plain Layout
21242 HTMLStyle
21243 \end_layout
21244
21245 \end_inset
21246
21247   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21248 \begin_inset Flex Code
21249 status collapsed
21250
21251 \begin_layout Plain Layout
21252 <style>
21253 \end_layout
21254
21255 \end_inset
21256
21257 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21258 \begin_inset Flex Code
21259 status collapsed
21260
21261 \begin_layout Plain Layout
21262 EndHTMLStyle
21263 \end_layout
21264
21265 \end_inset
21266
21267 で閉じなくてはなりません.
21268 \end_layout
21269
21270 \begin_layout Description
21271 \begin_inset Flex Code
21272 status collapsed
21273
21274 \begin_layout Plain Layout
21275 HTMLTag
21276 \end_layout
21277
21278 \end_inset
21279
21280  [
21281 \begin_inset Flex Code
21282 status collapsed
21283
21284 \begin_layout Plain Layout
21285 文字列
21286 \end_layout
21287
21288 \end_inset
21289
21290 ] 主幹ラベルに使用されるタグ.上記各例の
21291 \begin_inset Flex Code
21292 status collapsed
21293
21294 \begin_layout Plain Layout
21295 tag
21296 \end_layout
21297
21298 \end_inset
21299
21300 を置き換えます.既定値は
21301 \begin_inset Flex Code
21302 status collapsed
21303
21304 \begin_layout Plain Layout
21305 div
21306 \end_layout
21307
21308 \end_inset
21309
21310 です.
21311 \end_layout
21312
21313 \begin_layout Description
21314 \begin_inset Flex Code
21315 status collapsed
21316
21317 \begin_layout Plain Layout
21318 HTMLTitle
21319 \end_layout
21320
21321 \end_inset
21322
21323  [
21324 \begin_inset Flex Code
21325 status collapsed
21326
21327 \begin_layout Plain Layout
21328
21329 \emph on
21330 0
21331 \emph default
21332 ,1
21333 \end_layout
21334
21335 \end_inset
21336
21337 ] この様式が,XHTMLファイルの
21338 \begin_inset Flex Code
21339 status collapsed
21340
21341 \begin_layout Plain Layout
21342 <title>
21343 \end_layout
21344
21345 \end_inset
21346
21347 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
21348 \begin_inset Flex Code
21349 status collapsed
21350
21351 \begin_layout Plain Layout
21352 stdtitle.inc
21353 \end_layout
21354
21355 \end_inset
21356
21357 ファイルでは,
21358 \begin_inset Flex Code
21359 status collapsed
21360
21361 \begin_layout Plain Layout
21362 title
21363 \end_layout
21364
21365 \end_inset
21366
21367 環境のこの項目を真に設定しています.
21368 \end_layout
21369
21370 \begin_layout Subsection
21371 差込枠レイアウトXHTML
21372 \end_layout
21373
21374 \begin_layout Standard
21375 差込枠のXHTML出力も,レイアウトファイル内の情報によって制御することができます
21376 \begin_inset Foot
21377 status collapsed
21378
21379 \begin_layout Plain Layout
21380 現在のところ,これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されませ
21381 ん.
21382 \end_layout
21383
21384 \end_inset
21385
21386 .ここでも,\SpecialChar LyX
21387 は適切な既定値を提供しようと試み,既定のCSS様式を構成します.しかし,すべてカスタマイズ可能です.
21388 \end_layout
21389
21390 \begin_layout Standard
21391 \SpecialChar LyX
21392 が差込枠用に出力するXHTMLは,以下の形を取ります.
21393 \end_layout
21394
21395 \begin_layout LyX-Code
21396 <tag attr=
21397 \begin_inset Quotes erd
21398 \end_inset
21399
21400 value
21401 \begin_inset Quotes erd
21402 \end_inset
21403
21404 >
21405 \end_layout
21406
21407 \begin_layout LyX-Code
21408 <labeltag>ラベル</labeltag>
21409 \end_layout
21410
21411 \begin_layout LyX-Code
21412 <innertag attr=
21413 \begin_inset Quotes erd
21414 \end_inset
21415
21416 value
21417 \begin_inset Quotes erd
21418 \end_inset
21419
21420 >差込枠の内容.</innertag>
21421 \end_layout
21422
21423 \begin_layout LyX-Code
21424 </tag>
21425 \end_layout
21426
21427 \begin_layout Standard
21428 差込枠が多段落を許可している—つまり
21429 \begin_inset Flex Code
21430 status collapsed
21431
21432 \begin_layout Plain Layout
21433 MultiPar
21434 \end_layout
21435
21436 \end_inset
21437
21438 が真—ならば,差込枠の内容は,それ自身段落として出力され,それらの段落に用いられる様式(標準,引用など)を用いて整形されます.もちろん,段落にラベルがなければ,
21439 labelタグは省略され,ラベルがあれば,現在のところ,つねに
21440 \begin_inset Flex Code
21441 status collapsed
21442
21443 \begin_layout Plain Layout
21444 span
21445 \end_layout
21446
21447 \end_inset
21448
21449 が用いられます.innerタグは非必須であり,既定では出力されません.各差込枠用に出力される特定のタグや属性は,以下のレイアウトタグによって制御することができま
21450 す.
21451 \end_layout
21452
21453 \begin_layout Description
21454 \begin_inset Flex Code
21455 status collapsed
21456
21457 \begin_layout Plain Layout
21458 HTMLAttr
21459 \end_layout
21460
21461 \end_inset
21462
21463  [
21464 \begin_inset Flex Code
21465 status collapsed
21466
21467 \begin_layout Plain Layout
21468 文字列
21469 \end_layout
21470
21471 \end_inset
21472
21473 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21474 \begin_inset Flex Code
21475 status collapsed
21476
21477 \begin_layout Plain Layout
21478 class=`myinset' onclick=`\SpecialChar ldots
21479 '
21480 \end_layout
21481
21482 \end_inset
21483
21484 」のようなものです.既定においては,\SpecialChar LyX
21485 は「
21486 \begin_inset Flex Code
21487 status collapsed
21488
21489 \begin_layout Plain Layout
21490 class=`差込枠名'
21491 \end_layout
21492
21493 \end_inset
21494
21495 」と出力します.ここで
21496 \begin_inset Flex Code
21497 status collapsed
21498
21499 \begin_layout Plain Layout
21500 差込枠名
21501 \end_layout
21502
21503 \end_inset
21504
21505 は,差込枠の\SpecialChar LyX
21506 名であり,小文字で記述します.アルファベットや数字以外の文字は,アンダースコアに置き換えられます.
21507 \end_layout
21508
21509 \begin_layout Description
21510 \begin_inset Flex Code
21511 status collapsed
21512
21513 \begin_layout Plain Layout
21514 HTMLForceCSS
21515 \end_layout
21516
21517 \end_inset
21518
21519  [
21520 \begin_inset Flex Code
21521 status collapsed
21522
21523 \begin_layout Plain Layout
21524
21525 \emph on
21526 0
21527 \emph default
21528 ,1
21529 \end_layout
21530
21531 \end_inset
21532
21533 ] 
21534 \begin_inset Flex Code
21535 status collapsed
21536
21537 \begin_layout Plain Layout
21538 HTMLStyle
21539 \end_layout
21540
21541 \end_inset
21542
21543 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
21544 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
21545 \begin_inset Flex Code
21546 status collapsed
21547
21548 \begin_layout Plain Layout
21549 1
21550 \end_layout
21551
21552 \end_inset
21553
21554 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
21555 \begin_inset Flex Code
21556 status collapsed
21557
21558 \begin_layout Plain Layout
21559 0
21560 \end_layout
21561
21562 \end_inset
21563
21564 です.
21565 \end_layout
21566
21567 \begin_layout Description
21568 \begin_inset Flex Code
21569 status collapsed
21570
21571 \begin_layout Plain Layout
21572 HTMLInnerAttr
21573 \end_layout
21574
21575 \end_inset
21576
21577  [
21578 \begin_inset Flex Code
21579 status collapsed
21580
21581 \begin_layout Plain Layout
21582 文字列
21583 \end_layout
21584
21585 \end_inset
21586
21587 ] innerタグの属性.既定値は
21588 \begin_inset Flex Code
21589 status collapsed
21590
21591 \begin_layout Plain Layout
21592 class=`差込枠名_inner'
21593 \end_layout
21594
21595 \end_inset
21596
21597 です.
21598 \end_layout
21599
21600 \begin_layout Description
21601 \begin_inset Flex Code
21602 status collapsed
21603
21604 \begin_layout Plain Layout
21605 HTMLInnerTag
21606 \end_layout
21607
21608 \end_inset
21609
21610  [
21611 \begin_inset Flex Code
21612 status collapsed
21613
21614 \begin_layout Plain Layout
21615 文字列
21616 \end_layout
21617
21618 \end_inset
21619
21620 ] innerタグです.上記各例の
21621 \begin_inset Flex Code
21622 status collapsed
21623
21624 \begin_layout Plain Layout
21625 innertag
21626 \end_layout
21627
21628 \end_inset
21629
21630 を置き換えます.既定値はなしです.
21631 \end_layout
21632
21633 \begin_layout Description
21634 \begin_inset Flex Code
21635 status collapsed
21636
21637 \begin_layout Plain Layout
21638 HTMLIsBlock
21639 \end_layout
21640
21641 \end_inset
21642
21643  [
21644 \begin_inset Flex Code
21645 status collapsed
21646
21647 \begin_layout Plain Layout
21648 0,
21649 \emph on
21650 1
21651 \end_layout
21652
21653 \end_inset
21654
21655 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,それとも,(派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
21656 \end_layout
21657
21658 \begin_layout Description
21659 \begin_inset Flex Code
21660 status collapsed
21661
21662 \begin_layout Plain Layout
21663 HTMLLabel
21664 \end_layout
21665
21666 \end_inset
21667
21668  [
21669 \begin_inset Flex Code
21670 status collapsed
21671
21672 \begin_layout Plain Layout
21673 文字列
21674 \end_layout
21675
21676 \end_inset
21677
21678 ] 場合によっては,カウンタへの参照を含む,この差込枠のラベル.たとえば,脚註用には
21679 \begin_inset Flex Code
21680 status collapsed
21681
21682 \begin_layout Plain Layout
21683
21684 \backslash
21685 arabic{footnote}
21686 \end_layout
21687
21688 \end_inset
21689
21690 など.これは非必須であり,既定値はありません.
21691 \end_layout
21692
21693 \begin_layout Description
21694 \begin_inset Flex Code
21695 status collapsed
21696
21697 \begin_layout Plain Layout
21698 HTMLPreamble
21699 \end_layout
21700
21701 \end_inset
21702
21703  この様式が使用されたときに,
21704 \begin_inset Flex Code
21705 status collapsed
21706
21707 \begin_layout Plain Layout
21708 <head>
21709 \end_layout
21710
21711 \end_inset
21712
21713 セクションに出力される情報.これは,たとえば,
21714 \begin_inset Flex Code
21715 status collapsed
21716
21717 \begin_layout Plain Layout
21718 onclick
21719 \end_layout
21720
21721 \end_inset
21722
21723 ハンドラを定義するために
21724 \begin_inset Flex Code
21725 status collapsed
21726
21727 \begin_layout Plain Layout
21728 <script>
21729 \end_layout
21730
21731 \end_inset
21732
21733 ブロックをインクルードするのに使用することができます.
21734 \end_layout
21735
21736 \begin_layout Description
21737 \begin_inset Flex Code
21738 status collapsed
21739
21740 \begin_layout Plain Layout
21741 HTMLStyle
21742 \end_layout
21743
21744 \end_inset
21745
21746   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21747 \begin_inset Flex Code
21748 status collapsed
21749
21750 \begin_layout Plain Layout
21751 <style>
21752 \end_layout
21753
21754 \end_inset
21755
21756 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21757 \end_layout
21758
21759 \begin_layout Description
21760 \begin_inset Flex Code
21761 status collapsed
21762
21763 \begin_layout Plain Layout
21764 HTMLTag
21765 \end_layout
21766
21767 \end_inset
21768
21769  [
21770 \begin_inset Flex Code
21771 status collapsed
21772
21773 \begin_layout Plain Layout
21774 文字列
21775 \end_layout
21776
21777 \end_inset
21778
21779 ] 主幹ラベルに使用されるタグ.上記各例の
21780 \begin_inset Flex Code
21781 status collapsed
21782
21783 \begin_layout Plain Layout
21784 tag
21785 \end_layout
21786
21787 \end_inset
21788
21789 を置き換えます.既定値は
21790 \begin_inset Flex Code
21791 status collapsed
21792
21793 \begin_layout Plain Layout
21794 MultiPar
21795 \end_layout
21796
21797 \end_inset
21798
21799 の設定に依存し,
21800 \begin_inset Flex Code
21801 status collapsed
21802
21803 \begin_layout Plain Layout
21804 MultiPar
21805 \end_layout
21806
21807 \end_inset
21808
21809 が真ならば
21810 \begin_inset Flex Code
21811 status collapsed
21812
21813 \begin_layout Plain Layout
21814 div
21815 \end_layout
21816
21817 \end_inset
21818
21819 ,偽ならば
21820 \begin_inset Flex Code
21821 status collapsed
21822
21823 \begin_layout Plain Layout
21824 span
21825 \end_layout
21826
21827 \end_inset
21828
21829 です.
21830 \end_layout
21831
21832 \begin_layout Subsection
21833 フロートXHTML
21834 \end_layout
21835
21836 \begin_layout Standard
21837 フロートのXHTML出力も,レイアウトファイル内の情報によって制御することができます.出力は,以下の形を取ります.
21838 \end_layout
21839
21840 \begin_layout LyX-Code
21841 <tag attr=
21842 \begin_inset Quotes erd
21843 \end_inset
21844
21845 value
21846 \begin_inset Quotes erd
21847 \end_inset
21848
21849 >
21850 \end_layout
21851
21852 \begin_layout LyX-Code
21853 フロートの内容.
21854 \end_layout
21855
21856 \begin_layout LyX-Code
21857 </tag>
21858 \end_layout
21859
21860 \begin_layout Standard
21861 キャプションは,存在している場合には,独立した差込枠となり,そのような形で出力されます.その外観は,キャプション差込枠のInsetLayoutで制御することがで
21862 きます.
21863 \end_layout
21864
21865 \begin_layout Description
21866 \begin_inset Flex Code
21867 status collapsed
21868
21869 \begin_layout Plain Layout
21870 HTMLAttr
21871 \end_layout
21872
21873 \end_inset
21874
21875  [
21876 \begin_inset Flex Code
21877 status collapsed
21878
21879 \begin_layout Plain Layout
21880 文字列
21881 \end_layout
21882
21883 \end_inset
21884
21885 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21886 \begin_inset Flex Code
21887 status collapsed
21888
21889 \begin_layout Plain Layout
21890 class=`myfloat' onclick=`\SpecialChar ldots
21891 '
21892 \end_layout
21893
21894 \end_inset
21895
21896 」のようなものです.既定においては,\SpecialChar LyX
21897 は「
21898 \begin_inset Flex Code
21899 status collapsed
21900
21901 \begin_layout Plain Layout
21902 class=`float フロート-フロート型'
21903 \end_layout
21904
21905 \end_inset
21906
21907 」と出力します.ここで
21908 \begin_inset Flex Code
21909 status collapsed
21910
21911 \begin_layout Plain Layout
21912 フロート型
21913 \end_layout
21914
21915 \end_inset
21916
21917 は,フロート宣言で定義された(
21918 \begin_inset CommandInset ref
21919 LatexCommand ref
21920 reference "subsec:フロート"
21921
21922 \end_inset
21923
21924 参照),この型のフロートの\SpecialChar LyX
21925 名です.ただし,これは小文字に変換され,アルファベットや数字でない文字はアンダースコアに変換されます.例:float-table.
21926 \end_layout
21927
21928 \begin_layout Description
21929 \begin_inset Flex Code
21930 status collapsed
21931
21932 \begin_layout Plain Layout
21933 HTMLStyle
21934 \end_layout
21935
21936 \end_inset
21937
21938   このフロートが使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21939 \begin_inset Flex Code
21940 status collapsed
21941
21942 \begin_layout Plain Layout
21943 <style>
21944 \end_layout
21945
21946 \end_inset
21947
21948 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21949 \end_layout
21950
21951 \begin_layout Description
21952 \begin_inset Flex Code
21953 status collapsed
21954
21955 \begin_layout Plain Layout
21956 HTMLTag
21957 \end_layout
21958
21959 \end_inset
21960
21961  [
21962 \begin_inset Flex Code
21963 status collapsed
21964
21965 \begin_layout Plain Layout
21966 文字列
21967 \end_layout
21968
21969 \end_inset
21970
21971 ] このフロートに使用されるタグ.上記各例の
21972 \begin_inset Flex Code
21973 status collapsed
21974
21975 \begin_layout Plain Layout
21976 tag
21977 \end_layout
21978
21979 \end_inset
21980
21981 を置き換えます.既定値は
21982 \begin_inset Flex Code
21983 status collapsed
21984
21985 \begin_layout Plain Layout
21986 div
21987 \end_layout
21988
21989 \end_inset
21990
21991 であり,ほとんどの場合変更する必要はありません.
21992 \end_layout
21993
21994 \begin_layout Subsection
21995 書誌情報の整形
21996 \end_layout
21997
21998 \begin_layout Standard
21999 書誌情報は,
22000 \begin_inset Flex Code
22001 status collapsed
22002
22003 \begin_layout Plain Layout
22004 CiteFormat
22005 \end_layout
22006
22007 \end_inset
22008
22009 ブロックを使用して整形することができます.詳細については,
22010 \begin_inset CommandInset ref
22011 LatexCommand ref
22012 reference "subsec:引用書式指定"
22013
22014 \end_inset
22015
22016 を参照してください.
22017 \end_layout
22018
22019 \begin_layout Subsection
22020 \SpecialChar LyX
22021 が生成したCSS
22022 \end_layout
22023
22024 \begin_layout Standard
22025 \SpecialChar LyX
22026 は,提供されている他のレイアウト情報に基づいて,差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,これまでに何度か触れました.この節では,\SpecialChar LyX
22027
22028 がどのレイアウト情報を,どのように使うのか,ひとこと述べておきたいと思います.
22029 \end_layout
22030
22031 \begin_layout Standard
22032 \SpecialChar LyX
22033 は,現在のところ,
22034 \begin_inset Flex Code
22035 status collapsed
22036
22037 \begin_layout Plain Layout
22038 Font
22039 \end_layout
22040
22041 \end_inset
22042
22043 宣言で指定されている
22044 \begin_inset Flex Code
22045 status collapsed
22046
22047 \begin_layout Plain Layout
22048 Family
22049 \end_layout
22050
22051 \end_inset
22052
22053
22054 \begin_inset Flex Code
22055 status collapsed
22056
22057 \begin_layout Plain Layout
22058 Series
22059 \end_layout
22060
22061 \end_inset
22062
22063
22064 \begin_inset Flex Code
22065 status collapsed
22066
22067 \begin_layout Plain Layout
22068 Shape
22069 \end_layout
22070
22071 \end_inset
22072
22073
22074 \begin_inset Flex Code
22075 status collapsed
22076
22077 \begin_layout Plain Layout
22078 Size
22079 \end_layout
22080
22081 \end_inset
22082
22083 を利用して,フォント情報についてのみCSSを自動生成します(
22084 \begin_inset CommandInset ref
22085 LatexCommand ref
22086 reference "subsec:フォント指定"
22087
22088 \end_inset
22089
22090 を参照).この変換は,きわめて分かりやすく自明です.たとえば,「
22091 \begin_inset Flex Code
22092 status collapsed
22093
22094 \begin_layout Plain Layout
22095 Family Sans
22096 \end_layout
22097
22098 \end_inset
22099
22100 」は「
22101 \begin_inset Flex Code
22102 status collapsed
22103
22104 \begin_layout Plain Layout
22105 font-family: sans-serif
22106 \end_layout
22107
22108 \end_inset
22109
22110 」になります.\SpecialChar LyX
22111 の寸法とCSSの寸法のあいだの対応は,少し複雑ですが,それでも直感的に分かります.詳細については,
22112 \begin_inset Flex URL
22113 status collapsed
22114
22115 \begin_layout Plain Layout
22116
22117 src/FontInfo.cpp
22118 \end_layout
22119
22120 \end_inset
22121
22122
22123 \begin_inset Flex Code
22124 status collapsed
22125
22126 \begin_layout Plain Layout
22127 getSizeCSS()
22128 \end_layout
22129
22130 \end_inset
22131
22132 関数をご覧ください.
22133 \end_layout
22134
22135 \begin_layout Chapter
22136 外部素材を取り込む
22137 \begin_inset CommandInset label
22138 LatexCommand label
22139 name "chap:外部素材を取り込む"
22140
22141 \end_inset
22142
22143
22144 \end_layout
22145
22146 \begin_layout Standard
22147 \begin_inset Box Shadowbox
22148 position "t"
22149 hor_pos "c"
22150 has_inner_box 1
22151 inner_pos "t"
22152 use_parbox 0
22153 use_makebox 0
22154 width "100col%"
22155 special "none"
22156 height "1in"
22157 height_special "totalheight"
22158 thickness "0.4pt"
22159 separation "3pt"
22160 shadowsize "4pt"
22161 framecolor "black"
22162 backgroundcolor "none"
22163 status open
22164
22165 \begin_layout Plain Layout
22166 【警告】本説明書のこの部分は,しばらく更新されていません.もちろんまだ正確であることを期待していますが,保証の限りではありません.
22167 \end_layout
22168
22169 \end_inset
22170
22171
22172 \end_layout
22173
22174 \begin_layout Standard
22175 \SpecialChar LyX
22176 外部のソースから素材を使用する方法は,取扱説明書『
22177 \emph on
22178 埋込オブジェクト篇
22179 \emph default
22180 』で詳細にカバーされています.本章は,新種の素材を取り込む際に,舞台裏で何をする必要があるかをカバーします.
22181 \end_layout
22182
22183 \begin_layout Section
22184 どのように機能するのか
22185 \end_layout
22186
22187 \begin_layout Standard
22188 外部素材の機能は,ひな型の概念に基づいています.ひな型は,\SpecialChar LyX
22189 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,\SpecialChar LyX
22190 は,Xfigの図や,様々
22191 なラスター形式画像,チェス棋譜,LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
22192 \begin_inset Flex MenuItem
22193 status collapsed
22194
22195 \begin_layout Plain Layout
22196 挿入\SpecialChar menuseparator
22197 ファイル\SpecialChar menuseparator
22198 外部素材
22199 \end_layout
22200
22201 \end_inset
22202
22203 メニューで見ることができます.さらに,特定の型の素材をサポートするのに,自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しま
22204 すが,できればあなたが作ったすべてのひな型を投稿して,我々が\SpecialChar LyX
22205 の後の版に取り込むことができるようにしてくださることを希望します.
22206 \end_layout
22207
22208 \begin_layout Standard
22209 外部素材の機能におけるもう一つの基本的な発想は,最終素材の元となるオリジナルファイルと,書き出された文書や印刷された文書に取り込むための生成ファイルとを区別して
22210 いることです.たとえば,
22211 \begin_inset Flex Code
22212 status collapsed
22213
22214 \begin_layout Plain Layout
22215 Xfig
22216 \end_layout
22217
22218 \end_inset
22219
22220 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
22221 \begin_inset Flex Code
22222 status collapsed
22223
22224 \begin_layout Plain Layout
22225 .fig
22226 \end_layout
22227
22228 \end_inset
22229
22230 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,作業が終われば
22231 \begin_inset Flex Code
22232 status collapsed
22233
22234 \begin_layout Plain Layout
22235 fig
22236 \end_layout
22237
22238 \end_inset
22239
22240 ファイルに保存します.この図をお使いの文書に取り込みたいときには,\SpecialChar LaTeX
22241 ファイルにそのままインクルードできるように,
22242 \begin_inset Flex Code
22243 status collapsed
22244
22245 \begin_layout Plain Layout
22246 transfig
22247 \end_layout
22248
22249 \end_inset
22250
22251 を呼び出してPostScriptファイルを生成します.この場合には,
22252 \begin_inset Flex Code
22253 status collapsed
22254
22255 \begin_layout Plain Layout
22256 .fig
22257 \end_layout
22258
22259 \end_inset
22260
22261 ファイルがオリジナルファイルであり,PostScriptファイルが生成ファイルになります.
22262 \end_layout
22263
22264 \begin_layout Standard
22265 この区別は,文書を執筆している最中に,素材を更新することができるようにするために重要です.さらに,これによって,複数の書き出し書式をサポートするために必要な柔軟
22266 性が提供されます.たとえば,平文テキストファイルの場合には,図を生のPostScriptファイルとして取り込むのは,とても褒められた発想とはいえません.むしろ,
22267 その図への参照だけを含めるか,最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
22268 の外部素材マネジメントは
22269 ,\SpecialChar LyX
22270 がサポートする各書き出し書式別に仕分けしているので,ユーザがこれを行うことが可能となっています.
22271 \end_layout
22272
22273 \begin_layout Standard
22274 \SpecialChar LyX
22275 の外部素材マネジメントは,書き出し書式によって異なる生成物をサポートすることの他に,編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図
22276 の場合には,\SpecialChar LyX
22277 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,ダブルクリックすることで生成されたPostScriptファイ
22278 ルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファ
22279 イルブラウザをいじくり回す必要はないのです.このようにして,文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,最終的により生産性を上げることが
22280 できるようになるのです.
22281 \end_layout
22282
22283 \begin_layout Section
22284 外用ひな型設定ファイル
22285 \end_layout
22286
22287 \begin_layout Standard
22288 \SpecialChar LyX
22289 に自製の外用ひな型を付け加えるのは,比較的簡単です.しかしながら,これを不用心に行ってしまうと,たいていの場合,簡単に濫用されてしまうようなセキュリティホールを
22290 作ってしまいがちであることを心に留めておいてください.したがって,これを実行に移す前に,
22291 \begin_inset CommandInset ref
22292 LatexCommand ref
22293 reference "sec:セキュリティに関する論点"
22294
22295 \end_inset
22296
22297 のセキュリティに関する議論を読んでおいてください.
22298 \end_layout
22299
22300 \begin_layout Standard
22301 このことに言及した上で,あなたが作成した面白いひな型は,ぜひ投稿してください.
22302 \end_layout
22303
22304 \begin_layout Standard
22305 外用ひな型ファイルは,
22306 \begin_inset Flex Code
22307 status collapsed
22308
22309 \begin_layout Plain Layout
22310 LyXDir/lib/xtemplates/
22311 \end_layout
22312
22313 \end_inset
22314
22315 ディレクトリ中にある
22316 \begin_inset Flex Code
22317 status collapsed
22318
22319 \begin_layout Plain Layout
22320 *.xtemplate
22321 \end_layout
22322
22323 \end_inset
22324
22325 ファイルに定義されています.各ひな型は,そのファイル完結で定義されています.自分専用のひな型を
22326 \begin_inset Flex Code
22327 status collapsed
22328
22329 \begin_layout Plain Layout
22330 UserDir/xtemplates/
22331 \end_layout
22332
22333 \end_inset
22334
22335 に置くこともできますし,既存のひな型をそのデイレク取りにコピーして修正を加えることもできます.
22336 \end_layout
22337
22338 \begin_layout Standard
22339 典型的なひな型は以下のようになります.
22340 \end_layout
22341
22342 \begin_layout LyX-Code
22343 Template XFig
22344 \end_layout
22345
22346 \begin_layout LyX-Code
22347 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22348 \end_layout
22349
22350 \begin_layout LyX-Code
22351 HelpText
22352 \end_layout
22353
22354 \begin_layout LyX-Code
22355 An XFig figure.
22356 \end_layout
22357
22358 \begin_layout LyX-Code
22359 HelpTextEnd
22360 \end_layout
22361
22362 \begin_layout LyX-Code
22363 InputFormat fig
22364 \end_layout
22365
22366 \begin_layout LyX-Code
22367 FileFilter "*.fig"
22368 \end_layout
22369
22370 \begin_layout LyX-Code
22371 AutomaticProduction true
22372 \end_layout
22373
22374 \begin_layout LyX-Code
22375 Transform Rotate
22376 \end_layout
22377
22378 \begin_layout LyX-Code
22379 Transform Resize
22380 \end_layout
22381
22382 \begin_layout LyX-Code
22383 Format LaTeX
22384 \end_layout
22385
22386 \begin_layout LyX-Code
22387 TransformCommand Rotate RotationLatexCommand
22388 \end_layout
22389
22390 \begin_layout LyX-Code
22391 TransformCommand Resize ResizeLatexCommand
22392 \end_layout
22393
22394 \begin_layout LyX-Code
22395 Product "$$RotateFront$$ResizeFront
22396 \end_layout
22397
22398 \begin_layout LyX-Code
22399          
22400 \backslash
22401
22402 \backslash
22403 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22404 \end_layout
22405
22406 \begin_layout LyX-Code
22407          $$ResizeBack$$RotateBack"
22408 \end_layout
22409
22410 \begin_layout LyX-Code
22411 UpdateFormat pstex
22412 \end_layout
22413
22414 \begin_layout LyX-Code
22415 UpdateResult "$$AbsPath$$Basename.pstex_t"
22416 \end_layout
22417
22418 \begin_layout LyX-Code
22419 Requirement "graphicx"
22420 \end_layout
22421
22422 \begin_layout LyX-Code
22423 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22424 \end_layout
22425
22426 \begin_layout LyX-Code
22427 ReferencedFile latex "$$AbsPath$$Basename.eps"
22428 \end_layout
22429
22430 \begin_layout LyX-Code
22431 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22432 \end_layout
22433
22434 \begin_layout LyX-Code
22435 FormatEnd
22436 \end_layout
22437
22438 \begin_layout LyX-Code
22439 Format PDFLaTeX
22440 \end_layout
22441
22442 \begin_layout LyX-Code
22443 TransformCommand Rotate RotationLatexCommand
22444 \end_layout
22445
22446 \begin_layout LyX-Code
22447 TransformCommand Resize ResizeLatexCommand
22448 \end_layout
22449
22450 \begin_layout LyX-Code
22451 Product "$$RotateFront$$ResizeFront
22452 \end_layout
22453
22454 \begin_layout LyX-Code
22455          
22456 \backslash
22457
22458 \backslash
22459 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22460 \end_layout
22461
22462 \begin_layout LyX-Code
22463          $$ResizeBack$$RotateBack"
22464 \end_layout
22465
22466 \begin_layout LyX-Code
22467 UpdateFormat pdftex
22468 \end_layout
22469
22470 \begin_layout LyX-Code
22471 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22472 \end_layout
22473
22474 \begin_layout LyX-Code
22475 Requirement "graphicx"
22476 \end_layout
22477
22478 \begin_layout LyX-Code
22479 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22480 \end_layout
22481
22482 \begin_layout LyX-Code
22483 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22484 \end_layout
22485
22486 \begin_layout LyX-Code
22487 FormatEnd
22488 \end_layout
22489
22490 \begin_layout LyX-Code
22491 Format Ascii
22492 \end_layout
22493
22494 \begin_layout LyX-Code
22495 Product "$$Contents(
22496 \backslash
22497 "$$AbsPath$$Basename.asc
22498 \backslash
22499 ")"
22500 \end_layout
22501
22502 \begin_layout LyX-Code
22503 UpdateFormat asciixfig
22504 \end_layout
22505
22506 \begin_layout LyX-Code
22507 UpdateResult "$$AbsPath$$Basename.asc"
22508 \end_layout
22509
22510 \begin_layout LyX-Code
22511 FormatEnd
22512 \end_layout
22513
22514 \begin_layout LyX-Code
22515 Format DocBook
22516 \end_layout
22517
22518 \begin_layout LyX-Code
22519 Product "<graphic fileref=
22520 \backslash
22521 "$$AbsOrRelPathMaster$$Basename.eps
22522 \backslash
22523 ">
22524 \end_layout
22525
22526 \begin_layout LyX-Code
22527          </graphic>"
22528 \end_layout
22529
22530 \begin_layout LyX-Code
22531 UpdateFormat eps
22532 \end_layout
22533
22534 \begin_layout LyX-Code
22535 UpdateResult "$$AbsPath$$Basename.eps"
22536 \end_layout
22537
22538 \begin_layout LyX-Code
22539 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22540 \end_layout
22541
22542 \begin_layout LyX-Code
22543 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22544 \end_layout
22545
22546 \begin_layout LyX-Code
22547 FormatEnd
22548 \end_layout
22549
22550 \begin_layout LyX-Code
22551 Product "[XFig: $$FName]"
22552 \end_layout
22553
22554 \begin_layout LyX-Code
22555 FormatEnd
22556 \end_layout
22557
22558 \begin_layout LyX-Code
22559 TemplateEnd
22560 \end_layout
22561
22562 \begin_layout Standard
22563 ご覧の通り,ひな型は
22564 \begin_inset Flex Code
22565 status collapsed
22566
22567 \begin_layout Plain Layout
22568 Template
22569 \end_layout
22570
22571 \end_inset
22572
22573  \SpecialChar ldots
22574  
22575 \begin_inset Flex Code
22576 status collapsed
22577
22578 \begin_layout Plain Layout
22579 TemplateEnd
22580 \end_layout
22581
22582 \end_inset
22583
22584 で閉じられます.ひな型には,一般的な設定を行うヘッダ部と,サポートされている主要な文書ファイル形式の設定を行う
22585 \begin_inset Flex Code
22586 status collapsed
22587
22588 \begin_layout Plain Layout
22589 Format
22590 \end_layout
22591
22592 \end_inset
22593
22594  \SpecialChar ldots
22595  
22596 \begin_inset Flex Code
22597 status collapsed
22598
22599 \begin_layout Plain Layout
22600 FormatEnd
22601 \end_layout
22602
22603 \end_inset
22604
22605 部があります.
22606 \end_layout
22607
22608 \begin_layout Subsection
22609 ひな型のヘッダ
22610 \end_layout
22611
22612 \begin_layout Description
22613 \begin_inset Flex Code
22614 status collapsed
22615
22616 \begin_layout Plain Layout
22617 AutomaticProduction
22618 \begin_inset space ~
22619 \end_inset
22620
22621 true|false
22622 \end_layout
22623
22624 \end_inset
22625
22626  このひな型で扱うファイルを\SpecialChar LyX
22627 が生成しなくてはならないか否か.このコマンドは,一度だけ必ず現れなくてはなりません.
22628 \end_layout
22629
22630 \begin_layout Description
22631 \begin_inset Flex Code
22632 status collapsed
22633
22634 \begin_layout Plain Layout
22635 FileFilter
22636 \begin_inset space ~
22637 \end_inset
22638
22639 <パターン>
22640 \end_layout
22641
22642 \end_inset
22643
22644  望むファイル群を表示するために,ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,tgifには
22645 \begin_inset Flex Code
22646 status collapsed
22647
22648 \begin_layout Plain Layout
22649 .obj
22650 \end_layout
22651
22652 \end_inset
22653
22654
22655 \begin_inset Flex Code
22656 status collapsed
22657
22658 \begin_layout Plain Layout
22659 .tgo
22660 \end_layout
22661
22662 \end_inset
22663
22664 があります),「
22665 \begin_inset Flex Code
22666 status collapsed
22667
22668 \begin_layout Plain Layout
22669 *.{obj,tgo}
22670 \end_layout
22671
22672 \end_inset
22673
22674 」の様なパターンを使用してください.このコマンドは,一度だけ必ず現れなくてはなりません.
22675 \end_layout
22676
22677 \begin_layout Description
22678 \begin_inset Flex Code
22679 status collapsed
22680
22681 \begin_layout Plain Layout
22682 GuiName
22683 \begin_inset space ~
22684 \end_inset
22685
22686 <GUI名>
22687 \end_layout
22688
22689 \end_inset
22690
22691  この文字列はボタン上に表示されます.このコマンドは,一度だけ必ず現れなくてはなりません.
22692 \end_layout
22693
22694 \begin_layout Description
22695 \begin_inset Flex Code
22696 status collapsed
22697
22698 \begin_layout Plain Layout
22699 HelpText
22700 \begin_inset space ~
22701 \end_inset
22702
22703 <文章>
22704 \begin_inset space ~
22705 \end_inset
22706
22707 HelpTextEnd
22708 \end_layout
22709
22710 \end_inset
22711
22712  外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,一度だけ必
22713 ず現れなくてはなりません.
22714 \end_layout
22715
22716 \begin_layout Description
22717 \begin_inset Flex Code
22718 status collapsed
22719
22720 \begin_layout Plain Layout
22721 InputFormat
22722 \begin_inset space ~
22723 \end_inset
22724
22725 <書式>
22726 \end_layout
22727
22728 \end_inset
22729
22730  オリジナルファイルのファイル形式.これは,\SpecialChar LyX
22731 が知っている書式名でなくてはなりません(
22732 \begin_inset CommandInset ref
22733 LatexCommand ref
22734 reference "sec:ファイル形式"
22735
22736 \end_inset
22737
22738 参照).このひな型が,2つ以上の書式のオリジナルファイルを取り扱える場合は,「
22739 \begin_inset Flex Code
22740 status collapsed
22741
22742 \begin_layout Plain Layout
22743 *
22744 \end_layout
22745
22746 \end_inset
22747
22748 」を使用してください.この場合,\SpecialChar LyX
22749 はファイル形式を推定するために,ファイル自体に詮索を試みます.このコマンドは,一度だけ必ず現れなくてはなりません.
22750 \end_layout
22751
22752 \begin_layout Description
22753 \begin_inset Flex Code
22754 status collapsed
22755
22756 \begin_layout Plain Layout
22757 Template
22758 \begin_inset space ~
22759 \end_inset
22760
22761 <ID>
22762 \end_layout
22763
22764 \end_inset
22765
22766  このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
22767 \end_layout
22768
22769 \begin_layout Description
22770 \begin_inset Flex Code
22771 status collapsed
22772
22773 \begin_layout Plain Layout
22774 Transform
22775 \begin_inset space ~
22776 \end_inset
22777
22778 Rotate|Resize|Clip|Extra
22779 \end_layout
22780
22781 \end_inset
22782
22783  このコマンドは,このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,外部素材ダイア
22784 ログ中の対応するタブを使用可能にします.
22785 \begin_inset Flex Code
22786 status collapsed
22787
22788 \begin_layout Plain Layout
22789 Transform
22790 \end_layout
22791
22792 \end_inset
22793
22794 コマンド一つずつに応じて,
22795 \begin_inset Flex Code
22796 status collapsed
22797
22798 \begin_layout Plain Layout
22799 Format
22800 \end_layout
22801
22802 \end_inset
22803
22804 部に,対応する
22805 \begin_inset Flex Code
22806 status collapsed
22807
22808 \begin_layout Plain Layout
22809 TransformCommand
22810 \end_layout
22811
22812 \end_inset
22813
22814 コマンドか
22815 \begin_inset Flex Code
22816 status collapsed
22817
22818 \begin_layout Plain Layout
22819 TransformOption
22820 \end_layout
22821
22822 \end_inset
22823
22824 コマンドを置かなくてはなりません.これを行わないと,この書式での変換はサポートされません.
22825 \end_layout
22826
22827 \begin_layout Subsection
22828 \begin_inset Flex Code
22829 status collapsed
22830
22831 \begin_layout Plain Layout
22832 Format
22833 \end_layout
22834
22835 \end_inset
22836
22837
22838 \end_layout
22839
22840 \begin_layout Description
22841 \begin_inset Flex Code
22842 status collapsed
22843
22844 \begin_layout Plain Layout
22845 Format
22846 \begin_inset space ~
22847 \end_inset
22848
22849 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
22850 \end_layout
22851
22852 \end_inset
22853
22854  この書式定義が定める主要な文書ファイル形式.すべてのひな型が,全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,全書式に対して
22855 \begin_inset Flex Code
22856 status collapsed
22857
22858 \begin_layout Plain Layout
22859 Format
22860 \end_layout
22861
22862 \end_inset
22863
22864 部を定義してください.表示する方法がないときは,ダミーテキストを使用してください.これによって,書き出した文書内で,少なくとも外部素材への参照を見ることができる
22865 ようになります.
22866 \end_layout
22867
22868 \begin_layout Description
22869 \begin_inset Flex Code
22870 status collapsed
22871
22872 \begin_layout Plain Layout
22873 Option
22874 \begin_inset space ~
22875 \end_inset
22876
22877 <名称>
22878 \begin_inset space ~
22879 \end_inset
22880
22881 <値>
22882 \end_layout
22883
22884 \end_inset
22885
22886  このコマンドは,
22887 \begin_inset Flex Code
22888 status collapsed
22889
22890 \begin_layout Plain Layout
22891 Product
22892 \end_layout
22893
22894 \end_inset
22895
22896 での代入に使うマクロ
22897 \begin_inset Flex Code
22898 status collapsed
22899
22900 \begin_layout Plain Layout
22901 $$<名称>
22902 \end_layout
22903
22904 \end_inset
22905
22906 を新たに定義します.
22907 \begin_inset Flex Code
22908 status collapsed
22909
22910 \begin_layout Plain Layout
22911 <値>
22912 \end_layout
22913
22914 \end_inset
22915
22916 自体にも代入マクロを使うことができます.
22917 \begin_inset Flex Code
22918 status collapsed
22919
22920 \begin_layout Plain Layout
22921 Product
22922 \end_layout
22923
22924 \end_inset
22925
22926
22927 \begin_inset Flex Code
22928 status collapsed
22929
22930 \begin_layout Plain Layout
22931 <値>
22932 \end_layout
22933
22934 \end_inset
22935
22936 を直接使用するよりも優れた点は,
22937 \begin_inset Flex Code
22938 status collapsed
22939
22940 \begin_layout Plain Layout
22941 $$<名称>
22942 \end_layout
22943
22944 \end_inset
22945
22946 に代入された値が,その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
22947 \end_layout
22948
22949 \begin_layout Description
22950 \begin_inset Flex Code
22951 status collapsed
22952
22953 \begin_layout Plain Layout
22954 Product
22955 \begin_inset space ~
22956 \end_inset
22957
22958 <文>
22959 \end_layout
22960
22961 \end_inset
22962
22963  書き出された文書に挿入される文.実のところ,これが最も重要なコマンドであり,とても複雑になることがあります.このコマンドは,一度だけ必ず現れなくてはなりません
22964
22965 \end_layout
22966
22967 \begin_layout Description
22968 \begin_inset Flex Code
22969 status collapsed
22970
22971 \begin_layout Plain Layout
22972 Preamble
22973 \begin_inset space ~
22974 \end_inset
22975
22976 <名称>
22977 \end_layout
22978
22979 \end_inset
22980
22981  このコマンドは,\SpecialChar LaTeX
22982 プリアンブルに入れるプリアンブル片を指定します.これは
22983 \begin_inset Flex Code
22984 status collapsed
22985
22986 \begin_layout Plain Layout
22987 PreambleDef
22988 \end_layout
22989
22990 \end_inset
22991
22992  \SpecialChar ldots
22993  
22994 \begin_inset Flex Code
22995 status collapsed
22996
22997 \begin_layout Plain Layout
22998 PreambleDefEnd
22999 \end_layout
23000
23001 \end_inset
23002
23003 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
23004 \end_layout
23005
23006 \begin_layout Description
23007 \begin_inset Flex Code
23008 status collapsed
23009
23010 \begin_layout Plain Layout
23011 ReferencedFile
23012 \begin_inset space ~
23013 \end_inset
23014
23015 <書式>
23016 \begin_inset space ~
23017 \end_inset
23018
23019 <ファイル名>
23020 \end_layout
23021
23022 \end_inset
23023
23024  このコマンドは,変換過程で生成され,特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,親文書に対する相対パスとして解釈さ
23025 れます.このコマンドは全く登場しなくても1回以上現れても構いません.
23026 \end_layout
23027
23028 \begin_layout Description
23029 \begin_inset Flex Code
23030 status collapsed
23031
23032 \begin_layout Plain Layout
23033 Requirement
23034 \begin_inset space ~
23035 \end_inset
23036
23037 <package>
23038 \end_layout
23039
23040 \end_inset
23041
23042  必要とされる\SpecialChar LaTeX
23043 パッケージ名.パッケージは,\SpecialChar LaTeX
23044 プリアンブル中で
23045 \begin_inset Flex Code
23046 status collapsed
23047
23048 \begin_layout Plain Layout
23049
23050 \backslash
23051 usepackage{}
23052 \end_layout
23053
23054 \end_inset
23055
23056 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
23057 \end_layout
23058
23059 \begin_layout Description
23060 \begin_inset Flex Code
23061 status collapsed
23062
23063 \begin_layout Plain Layout
23064 TransformCommand
23065 \begin_inset space ~
23066 \end_inset
23067
23068 Rotate
23069 \begin_inset space ~
23070 \end_inset
23071
23072 RotationLatexCommand
23073 \end_layout
23074
23075 \end_inset
23076
23077  このコマンドは,回転用に,組み込みの\SpecialChar LaTeX
23078 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23079 \end_layout
23080
23081 \begin_layout Description
23082 \begin_inset Flex Code
23083 status collapsed
23084
23085 \begin_layout Plain Layout
23086 TransformCommand
23087 \begin_inset space ~
23088 \end_inset
23089
23090 Resize
23091 \begin_inset space ~
23092 \end_inset
23093
23094 ResizeLatexCommand
23095 \end_layout
23096
23097 \end_inset
23098
23099  このコマンドは,伸縮用に,組み込みの\SpecialChar LaTeX
23100 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23101 \end_layout
23102
23103 \begin_layout Description
23104 \begin_inset Flex Code
23105 status collapsed
23106
23107 \begin_layout Plain Layout
23108 TransformOption
23109 \begin_inset space ~
23110 \end_inset
23111
23112 Rotate
23113 \begin_inset space ~
23114 \end_inset
23115
23116 RotationLatexOption
23117 \end_layout
23118
23119 \end_inset
23120
23121  このコマンドは,回転が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23122 \end_layout
23123
23124 \begin_layout Description
23125 \begin_inset Flex Code
23126 status collapsed
23127
23128 \begin_layout Plain Layout
23129 TransformOption
23130 \begin_inset space ~
23131 \end_inset
23132
23133 Resize
23134 \begin_inset space ~
23135 \end_inset
23136
23137 ResizeLatexOption
23138 \end_layout
23139
23140 \end_inset
23141
23142  このコマンドは,伸縮が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23143 \end_layout
23144
23145 \begin_layout Description
23146 \begin_inset Flex Code
23147 status collapsed
23148
23149 \begin_layout Plain Layout
23150 TransformOption
23151 \begin_inset space ~
23152 \end_inset
23153
23154 Clip
23155 \begin_inset space ~
23156 \end_inset
23157
23158 ClipLatexOption
23159 \end_layout
23160
23161 \end_inset
23162
23163  このコマンドは,切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23164 \end_layout
23165
23166 \begin_layout Description
23167 \begin_inset Flex Code
23168 status collapsed
23169
23170 \begin_layout Plain Layout
23171 TransformOption
23172 \begin_inset space ~
23173 \end_inset
23174
23175 Extra
23176 \begin_inset space ~
23177 \end_inset
23178
23179 ExtraLatexOption
23180 \end_layout
23181
23182 \end_inset
23183
23184  このコマンドは,追加の非必須引数を使用することを指定します.このコマンドは,1回現れても全く現れなくても構いません.
23185 \end_layout
23186
23187 \begin_layout Description
23188 \begin_inset Flex Code
23189 status collapsed
23190
23191 \begin_layout Plain Layout
23192 UpdateFormat
23193 \begin_inset space ~
23194 \end_inset
23195
23196 <書式>
23197 \end_layout
23198
23199 \end_inset
23200
23201  変換されたファイルのファイル形式.これは,\SpecialChar LyX
23202 が知っている書式名でなくてはなりません(
23203 \begin_inset Flex MenuItem
23204 status collapsed
23205
23206 \begin_layout Plain Layout
23207 ツール\SpecialChar menuseparator
23208 設定\SpecialChar menuseparator
23209 ファイル処理\SpecialChar menuseparator
23210 ファイル書式
23211 \end_layout
23212
23213 \end_inset
23214
23215 ダイアログを参照).このコマンドは,一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,書式
23216 \begin_inset Flex Code
23217 status collapsed
23218
23219 \begin_layout Plain Layout
23220 pdf6
23221 \end_layout
23222
23223 \end_inset
23224
23225 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
23226 \end_layout
23227
23228 \begin_layout Description
23229 \begin_inset Flex Code
23230 status collapsed
23231
23232 \begin_layout Plain Layout
23233 UpdateResult
23234 \begin_inset space ~
23235 \end_inset
23236
23237 <ファイル名>
23238 \end_layout
23239
23240 \end_inset
23241
23242  変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,一度だけ必ず現れなくてはなりません.
23243 \end_layout
23244
23245 \begin_layout Subsection
23246 プリアンブルの定義
23247 \end_layout
23248
23249 \begin_layout Standard
23250 外用ひな型設定ファイルには,
23251 \begin_inset Flex Code
23252 status collapsed
23253
23254 \begin_layout Plain Layout
23255 PreambleDef
23256 \end_layout
23257
23258 \end_inset
23259
23260  \SpecialChar ldots
23261  
23262 \begin_inset Flex Code
23263 status collapsed
23264
23265 \begin_layout Plain Layout
23266 PreambleDefEnd
23267 \end_layout
23268
23269 \end_inset
23270
23271 で囲んだプリアンブル定義を追加することができます.これらの定義は,ひな型の
23272 \begin_inset Flex Code
23273 status collapsed
23274
23275 \begin_layout Plain Layout
23276 Format
23277 \end_layout
23278
23279 \end_inset
23280
23281 部で使用することができます.
23282 \end_layout
23283
23284 \begin_layout Section
23285 代入機構
23286 \end_layout
23287
23288 \begin_layout Standard
23289 外部素材機構が外部プログラムを呼び出すときには,ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,実行前に展開されるマクロをい
23290 ろいろ入れることができます.実行は,つねに元の文書があるディレクトリで行われます.
23291 \end_layout
23292
23293 \begin_layout Standard
23294 また,外部素材が表示されるときにはいつでも,その名称は代入機構によって組み立てられ,ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
23295 \end_layout
23296
23297 \begin_layout Standard
23298 使用できるマクロは以下の通りです.
23299 \end_layout
23300
23301 \begin_layout Description
23302 \begin_inset Flex Code
23303 status collapsed
23304
23305 \begin_layout Plain Layout
23306 $$AbsOrRelPathMaster
23307 \end_layout
23308
23309 \end_inset
23310
23311  \SpecialChar LyX
23312 親文書への絶対ファイルパスないしは相対ファイルパス
23313 \end_layout
23314
23315 \begin_layout Description
23316 \begin_inset Flex Code
23317 status collapsed
23318
23319 \begin_layout Plain Layout
23320 $$AbsOrRelPathParent
23321 \end_layout
23322
23323 \end_inset
23324
23325  \SpecialChar LyX
23326 文書への絶対ファイルパスないしは相対ファイルパス
23327 \end_layout
23328
23329 \begin_layout Description
23330 \begin_inset Flex Code
23331 status collapsed
23332
23333 \begin_layout Plain Layout
23334 $$AbsPath
23335 \end_layout
23336
23337 \end_inset
23338
23339  絶対ファイルパス
23340 \end_layout
23341
23342 \begin_layout Description
23343 \begin_inset Flex Code
23344 status collapsed
23345
23346 \begin_layout Plain Layout
23347 $$Basename
23348 \end_layout
23349
23350 \end_inset
23351
23352  パスおよび拡張子を除いたファイル名
23353 \end_layout
23354
23355 \begin_layout Description
23356 \begin_inset Flex Code
23357 status collapsed
23358
23359 \begin_layout Plain Layout
23360 $$Contents(
23361 \begin_inset Quotes eld
23362 \end_inset
23363
23364 filename.ext
23365 \begin_inset Quotes erd
23366 \end_inset
23367
23368 )
23369 \end_layout
23370
23371 \end_inset
23372
23373  このマクロは,
23374 \begin_inset Flex Code
23375 status collapsed
23376
23377 \begin_layout Plain Layout
23378 filename.ext
23379 \end_layout
23380
23381 \end_inset
23382
23383 と云う名のファイルの中身を展開します.
23384 \end_layout
23385
23386 \begin_layout Description
23387 \begin_inset Flex Code
23388 status collapsed
23389
23390 \begin_layout Plain Layout
23391 $$Extension
23392 \end_layout
23393
23394 \end_inset
23395
23396  ファイル拡張子(点を含む)
23397 \end_layout
23398
23399 \begin_layout Description
23400 \begin_inset Flex Code
23401 status collapsed
23402
23403 \begin_layout Plain Layout
23404 $$pngOrjpg
23405 \end_layout
23406
23407 \end_inset
23408
23409  これは,ファイルがJPEG形式の場合は,文字列「jpg」となり,それ以外では文字列「png」となります.これは,PNG形式とJPEG形式の両方をサポートする出
23410 力形式に対して,不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,pdf\SpecialChar TeX
23411 出力形式に対してこのマクロを使用します.
23412 \end_layout
23413
23414 \begin_layout Description
23415 \begin_inset Flex Code
23416 status collapsed
23417
23418 \begin_layout Plain Layout
23419 $$FName
23420 \end_layout
23421
23422 \end_inset
23423
23424  外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
23425 文書への絶対パスでも良いですし,相対パスでも構いません.
23426 \end_layout
23427
23428 \begin_layout Description
23429 \begin_inset Flex Code
23430 status collapsed
23431
23432 \begin_layout Plain Layout
23433 $$FPath
23434 \end_layout
23435
23436 \end_inset
23437
23438  
23439 \begin_inset Flex Code
23440 status collapsed
23441
23442 \begin_layout Plain Layout
23443 $$FName
23444 \end_layout
23445
23446 \end_inset
23447
23448 のパス部分(\SpecialChar LyX
23449 文書への絶対パス名か相対パス名)
23450 \end_layout
23451
23452 \begin_layout Description
23453 \begin_inset Flex Code
23454 status collapsed
23455
23456 \begin_layout Plain Layout
23457 $$RelPathMaster
23458 \end_layout
23459
23460 \end_inset
23461
23462  \SpecialChar LyX
23463 親文書への相対ファイルパス
23464 \end_layout
23465
23466 \begin_layout Description
23467 \begin_inset Flex Code
23468 status collapsed
23469
23470 \begin_layout Plain Layout
23471 $$RelPathParent
23472 \end_layout
23473
23474 \end_inset
23475
23476  \SpecialChar LyX
23477 文書への相対ファイルパス
23478 \end_layout
23479
23480 \begin_layout Description
23481 \begin_inset Flex Code
23482 status collapsed
23483
23484 \begin_layout Plain Layout
23485 $$Sysdir
23486 \end_layout
23487
23488 \end_inset
23489
23490  このマクロは,システムディレクトリの絶対パスを展開します.これは,典型的には,\SpecialChar LyX
23491 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
23492 \end_layout
23493
23494 \begin_layout Description
23495 \begin_inset Flex Code
23496 status collapsed
23497
23498 \begin_layout Plain Layout
23499 $$Tempname
23500 \end_layout
23501
23502 \end_inset
23503
23504  元の文書が閉じられたり,挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
23505 \end_layout
23506
23507 \begin_layout Standard
23508 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,たとえば絶対パスのファイル名を 
23509 \begin_inset Flex Code
23510 status collapsed
23511
23512 \begin_layout Plain Layout
23513 $$AbsPath$$Basename$$Extension
23514 \end_layout
23515
23516 \end_inset
23517
23518 のようにして作ることができます.
23519 \end_layout
23520
23521 \begin_layout Standard
23522 上記マクロは,特記しない限りはすべてのコマンドで代入が行われます.
23523 \begin_inset Flex Code
23524 status collapsed
23525
23526 \begin_layout Plain Layout
23527 Transform
23528 \end_layout
23529
23530 \end_inset
23531
23532 コマンドと
23533 \begin_inset Flex Code
23534 status collapsed
23535
23536 \begin_layout Plain Layout
23537 TransformCommand
23538 \end_layout
23539
23540 \end_inset
23541
23542 コマンドが有効にされている場合,
23543 \begin_inset Flex Code
23544 status collapsed
23545
23546 \begin_layout Plain Layout
23547 Product
23548 \end_layout
23549
23550 \end_inset
23551
23552 コマンドは,これらに加えて以下の代入もサポートします.
23553 \end_layout
23554
23555 \begin_layout Description
23556 \begin_inset Flex Code
23557 status collapsed
23558
23559 \begin_layout Plain Layout
23560 $$ResizeFront
23561 \end_layout
23562
23563 \end_inset
23564
23565  伸縮コマンドの前置部.
23566 \end_layout
23567
23568 \begin_layout Description
23569 \begin_inset Flex Code
23570 status collapsed
23571
23572 \begin_layout Plain Layout
23573 $$ResizeBack
23574 \end_layout
23575
23576 \end_inset
23577
23578  伸縮コマンドの後置部.
23579 \end_layout
23580
23581 \begin_layout Description
23582 \begin_inset Flex Code
23583 status collapsed
23584
23585 \begin_layout Plain Layout
23586 $$RotateFront
23587 \end_layout
23588
23589 \end_inset
23590
23591  回転コマンドの前置部.
23592 \end_layout
23593
23594 \begin_layout Description
23595 \begin_inset Flex Code
23596 status collapsed
23597
23598 \begin_layout Plain Layout
23599 $$RotateBack
23600 \end_layout
23601
23602 \end_inset
23603
23604  回転コマンドの後置部.
23605 \end_layout
23606
23607 \begin_layout Standard
23608 \begin_inset Flex Code
23609 status collapsed
23610
23611 \begin_layout Plain Layout
23612 Option
23613 \end_layout
23614
23615 \end_inset
23616
23617 コマンドの値に入れる文字列では,
23618 \begin_inset Flex Code
23619 status collapsed
23620
23621 \begin_layout Plain Layout
23622 Transform
23623 \end_layout
23624
23625 \end_inset
23626
23627 コマンドと
23628 \begin_inset Flex Code
23629 status collapsed
23630
23631 \begin_layout Plain Layout
23632 TransformOption
23633 \end_layout
23634
23635 \end_inset
23636
23637 コマンドが有効にされていれば,以下の代入もサポートされます.
23638 \end_layout
23639
23640 \begin_layout Description
23641 \begin_inset Flex Code
23642 status collapsed
23643
23644 \begin_layout Plain Layout
23645 $$Clip
23646 \end_layout
23647
23648 \end_inset
23649
23650  切り抜きオプション.
23651 \end_layout
23652
23653 \begin_layout Description
23654 \begin_inset Flex Code
23655 status collapsed
23656
23657 \begin_layout Plain Layout
23658 $$Extra
23659 \end_layout
23660
23661 \end_inset
23662
23663  追加オプション.
23664 \end_layout
23665
23666 \begin_layout Description
23667 \begin_inset Flex Code
23668 status collapsed
23669
23670 \begin_layout Plain Layout
23671 $$Resize
23672 \end_layout
23673
23674 \end_inset
23675
23676  伸縮オプション.
23677 \end_layout
23678
23679 \begin_layout Description
23680 \begin_inset Flex Code
23681 status collapsed
23682
23683 \begin_layout Plain Layout
23684 $$Rotate
23685 \end_layout
23686
23687 \end_inset
23688
23689  回転オプション.
23690 \end_layout
23691
23692 \begin_layout Standard
23693 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
23694 \end_layout
23695
23696 \begin_layout Enumerate
23697 相対ファイル名と絶対ファイル名は,それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえ
23698 ば相対名は,いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,プログラムによっては必要とされることがあり得ます.
23699 \end_layout
23700
23701 \begin_layout Enumerate
23702 \SpecialChar LaTeX
23703 は,相対ファイル名に関して,\SpecialChar LyX
23704 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
23705 にとって相対ファイル名とは,常にこのファイル名が書か
23706 れている文書に対して相対的なものになります.\SpecialChar LaTeX
23707 にとっての相対ファイル名は,常に親文書に対するものになります.これら二つの定義は,一つの文書しかないときには同じです
23708 が,部分文書を含む親文書があるときには異なったものとなってきます.つまり,相対ファイル名は,\SpecialChar LaTeX
23709 に提示されるときに変換されなくてはならないのです.幸い,正しいマクロ
23710 を選びさえすれば,これは\SpecialChar LyX
23711 が自動的に行ってくれます.
23712 \end_layout
23713
23714 \begin_layout Standard
23715 すると,新しく作ったひな型定義では,どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
23716 \end_layout
23717
23718 \begin_layout Itemize
23719 絶対パスが必要とされるときには
23720 \begin_inset Flex Code
23721 status collapsed
23722
23723 \begin_layout Plain Layout
23724 $$AbsPath
23725 \end_layout
23726
23727 \end_inset
23728
23729 を使う.
23730 \end_layout
23731
23732 \begin_layout Itemize
23733 代入された文字列が,\SpecialChar LaTeX
23734 インプットの一種である場合には,
23735 \begin_inset Flex Code
23736 status collapsed
23737
23738 \begin_layout Plain Layout
23739 $$AbsOrRelPathMaster
23740 \end_layout
23741
23742 \end_inset
23743
23744 を使う.
23745 \end_layout
23746
23747 \begin_layout Itemize
23748 それ以外ならば,ユーザの選択を尊重するために
23749 \begin_inset Flex Code
23750 status collapsed
23751
23752 \begin_layout Plain Layout
23753 $$AbsOrRelPathParent
23754 \end_layout
23755
23756 \end_inset
23757
23758 を使う.
23759 \end_layout
23760
23761 \begin_layout Standard
23762 このルールが機能せずに,たとえば相対名が必要となる特殊な場合もありますが,通常,上記でうまく動作します.特殊例の例としては,上述のXFigひな型での
23763 \begin_inset Flex Code
23764 status collapsed
23765
23766 \begin_layout Plain Layout
23767 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23768 \end_layout
23769
23770 \end_inset
23771
23772 というコマンドがあります.この場合,
23773 \begin_inset Flex Code
23774 status collapsed
23775
23776 \begin_layout Plain Layout
23777 .pstex_t
23778 \end_layout
23779
23780 \end_inset
23781
23782 ファイルの複写子は,ファイル内容を書き換えるのに相対名を必要とするために,絶対名を使用することができないのです.
23783 \end_layout
23784
23785 \begin_layout Section
23786 セキュリティに関する論点
23787 \begin_inset CommandInset label
23788 LatexCommand label
23789 name "sec:セキュリティに関する論点"
23790
23791 \end_inset
23792
23793
23794 \end_layout
23795
23796 \begin_layout Standard
23797 外部素材機能は,多くの外部プログラムとの橋渡しをし,しかもそれを自動的に行うので,そのセキュリティ面での帰結を考慮しなくてはなりません.特に,ユーザは好きなファ
23798 イル名やパラメータ文字列を含めることが許されていて,しかもそれらがコマンドに展開されるので,ユーザが文書を閲覧したり印刷したりしたときに,任意のコマンドを実行す
23799 ることができるような悪意ある文書を作成することが可能となりましょう.これは,我々がぜひとも避けたいことなのです.
23800 \end_layout
23801
23802 \begin_layout Standard
23803 しかしながら,外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,\SpecialChar LyX
23804 が安全なひな型でのみ適切に設定されているならば,セキュリティ上の問題は発生しま
23805 せん.これは,外部プログラムが
23806 \begin_inset Flex Code
23807 status collapsed
23808
23809 \begin_layout Plain Layout
23810 system
23811 \end_layout
23812
23813 \end_inset
23814
23815 システムコールではなく,
23816 \begin_inset Flex Code
23817 status collapsed
23818
23819 \begin_layout Plain Layout
23820 execvp
23821 \end_layout
23822
23823 \end_inset
23824
23825 システムコールで呼び出されているため,ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
23826 \end_layout
23827
23828 \begin_layout Standard
23829 これは,外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,制限があることを意味します.特に,パイプやリダイレクトはそのまま使用することは
23830 できません.これは,\SpecialChar LyX
23831 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,これを完全に統御の下においたまま行う安全なス
23832 クリプトを書いた上で,このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
23833 \end_layout
23834
23835 \begin_layout Standard
23836 シェルと直接やりとりするひな型を設計することは可能ではありますが,悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,任意のコマンドを実行できるよ
23837 うになるため,一般的には,統御下に置いた状態で
23838 \begin_inset Flex Code
23839 status collapsed
23840
23841 \begin_layout Plain Layout
23842 execvp
23843 \end_layout
23844
23845 \end_inset
23846
23847 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,管理された環境下で使用する分には,通常のシェルスクリプトを使用する方に流れる誘
23848 惑はあります.そうした場合には,お使いのシステムに簡単に濫用することのできるセキュリティホールを,
23849 \emph on
23850 間違いなく
23851 \emph default
23852 導入することを理解しておいてください.オープンソースの伝統に従って,私たちは人々に新しいひな型を投稿してくれるよう促していますが,そのような安全でないひな型はL
23853 yXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
23854 には,安全でないひな型は決して入っていません
23855
23856 \end_layout
23857
23858 \begin_layout Standard
23859 外部素材を含めることで強力な力を手に入れることができますが,この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリ
23860 プトのたった一行に入り込んだ,ちょっとしたエラーが,巨大なセキュリティ上の問題に扉を開きうるのです.したがって,もしこの問題を完全に理解していないならば,特定の
23861 ひな型が安全であるかどうか疑問がある際には,知識豊富なセキュリティの専門家か,\SpecialChar LyX
23862 開発チームに相談してみてください.そしてこの相談は,管理されていない環境下でこれを
23863 使用する前に,行うようにしてください.
23864 \end_layout
23865
23866 \begin_layout Chapter
23867 \start_of_appendix
23868 サポートされているレイアウト用\SpecialChar LyX
23869 関数一覧
23870 \begin_inset CommandInset label
23871 LatexCommand label
23872 name "chap:関数一覧"
23873
23874 \end_inset
23875
23876
23877 \end_layout
23878
23879 \begin_layout Standard
23880 \align center
23881 \begin_inset Tabular
23882 <lyxtabular version="3" rows="11" columns="8">
23883 <features tabularvalignment="middle">
23884 <column alignment="left" valignment="top">
23885 <column alignment="left" valignment="top">
23886 <column alignment="left" valignment="top">
23887 <column alignment="left" valignment="top">
23888 <column alignment="left" valignment="top">
23889 <column alignment="left" valignment="top">
23890 <column alignment="left" valignment="top">
23891 <column alignment="left" valignment="top">
23892 <row>
23893 <cell alignment="left" valignment="top" usebox="none">
23894 \begin_inset Text
23895
23896 \begin_layout Plain Layout
23897 accents
23898 \end_layout
23899
23900 \end_inset
23901 </cell>
23902 <cell alignment="left" valignment="top" usebox="none">
23903 \begin_inset Text
23904
23905 \begin_layout Plain Layout
23906 booktabs
23907 \end_layout
23908
23909 \end_inset
23910 </cell>
23911 <cell alignment="left" valignment="top" usebox="none">
23912 \begin_inset Text
23913
23914 \begin_layout Plain Layout
23915 feyn
23916 \end_layout
23917
23918 \end_inset
23919 </cell>
23920 <cell alignment="left" valignment="top" usebox="none">
23921 \begin_inset Text
23922
23923 \begin_layout Plain Layout
23924 listings
23925 \end_layout
23926
23927 \end_inset
23928 </cell>
23929 <cell alignment="center" valignment="top" usebox="none">
23930 \begin_inset Text
23931
23932 \begin_layout Plain Layout
23933 natbib
23934 \end_layout
23935
23936 \end_inset
23937 </cell>
23938 <cell alignment="center" valignment="top" usebox="none">
23939 \begin_inset Text
23940
23941 \begin_layout Plain Layout
23942 rotfloat
23943 \end_layout
23944
23945 \end_inset
23946 </cell>
23947 <cell alignment="center" valignment="top" usebox="none">
23948 \begin_inset Text
23949
23950 \begin_layout Plain Layout
23951 tfrupee
23952 \end_layout
23953
23954 \end_inset
23955 </cell>
23956 <cell alignment="center" valignment="top" usebox="none">
23957 \begin_inset Text
23958
23959 \begin_layout Plain Layout
23960 wasysym
23961 \end_layout
23962
23963 \end_inset
23964 </cell>
23965 </row>
23966 <row>
23967 <cell alignment="left" valignment="top" usebox="none">
23968 \begin_inset Text
23969
23970 \begin_layout Plain Layout
23971 amsbsy
23972 \end_layout
23973
23974 \end_inset
23975 </cell>
23976 <cell alignment="left" valignment="top" usebox="none">
23977 \begin_inset Text
23978
23979 \begin_layout Plain Layout
23980 calc
23981 \end_layout
23982
23983 \end_inset
23984 </cell>
23985 <cell alignment="left" valignment="top" usebox="none">
23986 \begin_inset Text
23987
23988 \begin_layout Plain Layout
23989 fixltx2e
23990 \end_layout
23991
23992 \end_inset
23993 </cell>
23994 <cell alignment="left" valignment="top" usebox="none">
23995 \begin_inset Text
23996
23997 \begin_layout Plain Layout
23998 longtable
23999 \end_layout
24000
24001 \end_inset
24002 </cell>
24003 <cell alignment="center" valignment="top" usebox="none">
24004 \begin_inset Text
24005
24006 \begin_layout Plain Layout
24007 nomencl
24008 \end_layout
24009
24010 \end_inset
24011 </cell>
24012 <cell alignment="center" valignment="top" usebox="none">
24013 \begin_inset Text
24014
24015 \begin_layout Plain Layout
24016 rsphrase
24017 \end_layout
24018
24019 \end_inset
24020 </cell>
24021 <cell alignment="center" valignment="top" usebox="none">
24022 \begin_inset Text
24023
24024 \begin_layout Plain Layout
24025 tipa
24026 \end_layout
24027
24028 \end_inset
24029 </cell>
24030 <cell alignment="center" valignment="top" usebox="none">
24031 \begin_inset Text
24032
24033 \begin_layout Plain Layout
24034 wrapfig
24035 \end_layout
24036
24037 \end_inset
24038 </cell>
24039 </row>
24040 <row>
24041 <cell alignment="left" valignment="top" usebox="none">
24042 \begin_inset Text
24043
24044 \begin_layout Plain Layout
24045 amscd
24046 \end_layout
24047
24048 \end_inset
24049 </cell>
24050 <cell alignment="left" valignment="top" usebox="none">
24051 \begin_inset Text
24052
24053 \begin_layout Plain Layout
24054 CJK
24055 \end_layout
24056
24057 \end_inset
24058 </cell>
24059 <cell alignment="left" valignment="top" usebox="none">
24060 \begin_inset Text
24061
24062 \begin_layout Plain Layout
24063 float
24064 \end_layout
24065
24066 \end_inset
24067 </cell>
24068 <cell alignment="left" valignment="top" usebox="none">
24069 \begin_inset Text
24070
24071 \begin_layout Plain Layout
24072 lyxskak
24073 \end_layout
24074
24075 \end_inset
24076 </cell>
24077 <cell alignment="center" valignment="top" usebox="none">
24078 \begin_inset Text
24079
24080 \begin_layout Plain Layout
24081 pdfcolmk
24082 \end_layout
24083
24084 \end_inset
24085 </cell>
24086 <cell alignment="center" valignment="top" usebox="none">
24087 \begin_inset Text
24088
24089 \begin_layout Plain Layout
24090 setspace
24091 \end_layout
24092
24093 \end_inset
24094 </cell>
24095 <cell alignment="center" valignment="top" usebox="none">
24096 \begin_inset Text
24097
24098 \begin_layout Plain Layout
24099 tipx
24100 \end_layout
24101
24102 \end_inset
24103 </cell>
24104 <cell alignment="center" valignment="top" usebox="none">
24105 \begin_inset Text
24106
24107 \begin_layout Plain Layout
24108 xargs
24109 \end_layout
24110
24111 \end_inset
24112 </cell>
24113 </row>
24114 <row>
24115 <cell alignment="left" valignment="top" usebox="none">
24116 \begin_inset Text
24117
24118 \begin_layout Plain Layout
24119 amsmath
24120 \end_layout
24121
24122 \end_inset
24123 </cell>
24124 <cell alignment="left" valignment="top" usebox="none">
24125 \begin_inset Text
24126
24127 \begin_layout Plain Layout
24128 color
24129 \end_layout
24130
24131 \end_inset
24132 </cell>
24133 <cell alignment="left" valignment="top" usebox="none">
24134 \begin_inset Text
24135
24136 \begin_layout Plain Layout
24137 framed
24138 \end_layout
24139
24140 \end_inset
24141 </cell>
24142 <cell alignment="left" valignment="top" usebox="none">
24143 \begin_inset Text
24144
24145 \begin_layout Plain Layout
24146 makeidx
24147 \end_layout
24148
24149 \end_inset
24150 </cell>
24151 <cell alignment="center" valignment="top" usebox="none">
24152 \begin_inset Text
24153
24154 \begin_layout Plain Layout
24155 pdfpages
24156 \end_layout
24157
24158 \end_inset
24159 </cell>
24160 <cell alignment="center" valignment="top" usebox="none">
24161 \begin_inset Text
24162
24163 \begin_layout Plain Layout
24164 shapepar
24165 \end_layout
24166
24167 \end_inset
24168 </cell>
24169 <cell alignment="center" valignment="top" usebox="none">
24170 \begin_inset Text
24171
24172 \begin_layout Plain Layout
24173 tone
24174 \end_layout
24175
24176 \end_inset
24177 </cell>
24178 <cell alignment="center" valignment="top" usebox="none">
24179 \begin_inset Text
24180
24181 \begin_layout Plain Layout
24182 xcolor
24183 \end_layout
24184
24185 \end_inset
24186 </cell>
24187 </row>
24188 <row>
24189 <cell alignment="left" valignment="top" usebox="none">
24190 \begin_inset Text
24191
24192 \begin_layout Plain Layout
24193 amssymb
24194 \end_layout
24195
24196 \end_inset
24197 </cell>
24198 <cell alignment="left" valignment="top" usebox="none">
24199 \begin_inset Text
24200
24201 \begin_layout Plain Layout
24202 covington
24203 \end_layout
24204
24205 \end_inset
24206 </cell>
24207 <cell alignment="left" valignment="top" usebox="none">
24208 \begin_inset Text
24209
24210 \begin_layout Plain Layout
24211 graphicx
24212 \end_layout
24213
24214 \end_inset
24215 </cell>
24216 <cell alignment="left" valignment="top" usebox="none">
24217 \begin_inset Text
24218
24219 \begin_layout Plain Layout
24220 marvosym
24221 \end_layout
24222
24223 \end_inset
24224 </cell>
24225 <cell alignment="center" valignment="top" usebox="none">
24226 \begin_inset Text
24227
24228 \begin_layout Plain Layout
24229 pifont
24230 \end_layout
24231
24232 \end_inset
24233 </cell>
24234 <cell alignment="center" valignment="top" usebox="none">
24235 \begin_inset Text
24236
24237 \begin_layout Plain Layout
24238 slashed
24239 \end_layout
24240
24241 \end_inset
24242 </cell>
24243 <cell alignment="center" valignment="top" usebox="none">
24244 \begin_inset Text
24245
24246 \begin_layout Plain Layout
24247 txfonts
24248 \end_layout
24249
24250 \end_inset
24251 </cell>
24252 <cell alignment="center" valignment="top" usebox="none">
24253 \begin_inset Text
24254
24255 \begin_layout Plain Layout
24256 xy
24257 \end_layout
24258
24259 \end_inset
24260 </cell>
24261 </row>
24262 <row>
24263 <cell alignment="left" valignment="top" usebox="none">
24264 \begin_inset Text
24265
24266 \begin_layout Plain Layout
24267 amstext
24268 \end_layout
24269
24270 \end_inset
24271 </cell>
24272 <cell alignment="left" valignment="top" usebox="none">
24273 \begin_inset Text
24274
24275 \begin_layout Plain Layout
24276 csquotes
24277 \end_layout
24278
24279 \end_inset
24280 </cell>
24281 <cell alignment="left" valignment="top" usebox="none">
24282 \begin_inset Text
24283
24284 \begin_layout Plain Layout
24285 hhline
24286 \end_layout
24287
24288 \end_inset
24289 </cell>
24290 <cell alignment="left" valignment="top" usebox="none">
24291 \begin_inset Text
24292
24293 \begin_layout Plain Layout
24294 mathdesign
24295 \end_layout
24296
24297 \end_inset
24298 </cell>
24299 <cell alignment="center" valignment="top" usebox="none">
24300 \begin_inset Text
24301
24302 \begin_layout Plain Layout
24303 pmboxdraw
24304 \end_layout
24305
24306 \end_inset
24307 </cell>
24308 <cell alignment="center" valignment="top" usebox="none">
24309 \begin_inset Text
24310
24311 \begin_layout Plain Layout
24312 soul
24313 \end_layout
24314
24315 \end_inset
24316 </cell>
24317 <cell alignment="center" valignment="top" usebox="none">
24318 \begin_inset Text
24319
24320 \begin_layout Plain Layout
24321 ulem
24322 \end_layout
24323
24324 \end_inset
24325 </cell>
24326 <cell alignment="center" valignment="top" usebox="none">
24327 \begin_inset Text
24328
24329 \begin_layout Plain Layout
24330 yhmath
24331 \end_layout
24332
24333 \end_inset
24334 </cell>
24335 </row>
24336 <row>
24337 <cell alignment="left" valignment="top" usebox="none">
24338 \begin_inset Text
24339
24340 \begin_layout Plain Layout
24341 amsthm
24342 \end_layout
24343
24344 \end_inset
24345 </cell>
24346 <cell alignment="left" valignment="top" usebox="none">
24347 \begin_inset Text
24348
24349 \begin_layout Plain Layout
24350 dvipost
24351 \end_layout
24352
24353 \end_inset
24354 </cell>
24355 <cell alignment="left" valignment="top" usebox="none">
24356 \begin_inset Text
24357
24358 \begin_layout Plain Layout
24359 hyperref
24360 \end_layout
24361
24362 \end_inset
24363 </cell>
24364 <cell alignment="left" valignment="top" usebox="none">
24365 \begin_inset Text
24366
24367 \begin_layout Plain Layout
24368 mathdots
24369 \end_layout
24370
24371 \end_inset
24372 </cell>
24373 <cell alignment="center" valignment="top" usebox="none">
24374 \begin_inset Text
24375
24376 \begin_layout Plain Layout
24377 polyglossia
24378 \end_layout
24379
24380 \end_inset
24381 </cell>
24382 <cell alignment="center" valignment="top" usebox="none">
24383 \begin_inset Text
24384
24385 \begin_layout Plain Layout
24386 splitidx
24387 \end_layout
24388
24389 \end_inset
24390 </cell>
24391 <cell alignment="center" valignment="top" usebox="none">
24392 \begin_inset Text
24393
24394 \begin_layout Plain Layout
24395 undertilde
24396 \end_layout
24397
24398 \end_inset
24399 </cell>
24400 <cell alignment="center" valignment="top" usebox="none">
24401 \begin_inset Text
24402
24403 \begin_layout Plain Layout
24404
24405 \end_layout
24406
24407 \end_inset
24408 </cell>
24409 </row>
24410 <row>
24411 <cell alignment="left" valignment="top" usebox="none">
24412 \begin_inset Text
24413
24414 \begin_layout Plain Layout
24415 array
24416 \end_layout
24417
24418 \end_inset
24419 </cell>
24420 <cell alignment="left" valignment="top" usebox="none">
24421 \begin_inset Text
24422
24423 \begin_layout Plain Layout
24424 endnotes
24425 \end_layout
24426
24427 \end_inset
24428 </cell>
24429 <cell alignment="left" valignment="top" usebox="none">
24430 \begin_inset Text
24431
24432 \begin_layout Plain Layout
24433 ifsym
24434 \end_layout
24435
24436 \end_inset
24437 </cell>
24438 <cell alignment="left" valignment="top" usebox="none">
24439 \begin_inset Text
24440
24441 \begin_layout Plain Layout
24442 mathrsfs
24443 \end_layout
24444
24445 \end_inset
24446 </cell>
24447 <cell alignment="center" valignment="top" usebox="none">
24448 \begin_inset Text
24449
24450 \begin_layout Plain Layout
24451 prettyref
24452 \end_layout
24453
24454 \end_inset
24455 </cell>
24456 <cell alignment="center" valignment="top" usebox="none">
24457 \begin_inset Text
24458
24459 \begin_layout Plain Layout
24460 subfig
24461 \end_layout
24462
24463 \end_inset
24464 </cell>
24465 <cell alignment="center" valignment="top" usebox="none">
24466 \begin_inset Text
24467
24468 \begin_layout Plain Layout
24469 units
24470 \end_layout
24471
24472 \end_inset
24473 </cell>
24474 <cell alignment="center" valignment="top" usebox="none">
24475 \begin_inset Text
24476
24477 \begin_layout Plain Layout
24478
24479 \end_layout
24480
24481 \end_inset
24482 </cell>
24483 </row>
24484 <row>
24485 <cell alignment="left" valignment="top" usebox="none">
24486 \begin_inset Text
24487
24488 \begin_layout Plain Layout
24489 ascii
24490 \end_layout
24491
24492 \end_inset
24493 </cell>
24494 <cell alignment="left" valignment="top" usebox="none">
24495 \begin_inset Text
24496
24497 \begin_layout Plain Layout
24498 enumitem
24499 \end_layout
24500
24501 \end_inset
24502 </cell>
24503 <cell alignment="left" valignment="top" usebox="none">
24504 \begin_inset Text
24505
24506 \begin_layout Plain Layout
24507 ifthen
24508 \end_layout
24509
24510 \end_inset
24511 </cell>
24512 <cell alignment="left" valignment="top" usebox="none">
24513 \begin_inset Text
24514
24515 \begin_layout Plain Layout
24516 mhchem
24517 \end_layout
24518
24519 \end_inset
24520 </cell>
24521 <cell alignment="center" valignment="top" usebox="none">
24522 \begin_inset Text
24523
24524 \begin_layout Plain Layout
24525 pxfonts
24526 \end_layout
24527
24528 \end_inset
24529 </cell>
24530 <cell alignment="center" valignment="top" usebox="none">
24531 \begin_inset Text
24532
24533 \begin_layout Plain Layout
24534 subscript
24535 \end_layout
24536
24537 \end_inset
24538 </cell>
24539 <cell alignment="center" valignment="top" usebox="none">
24540 \begin_inset Text
24541
24542 \begin_layout Plain Layout
24543 url
24544 \end_layout
24545
24546 \end_inset
24547 </cell>
24548 <cell alignment="center" valignment="top" usebox="none">
24549 \begin_inset Text
24550
24551 \begin_layout Plain Layout
24552
24553 \end_layout
24554
24555 \end_inset
24556 </cell>
24557 </row>
24558 <row>
24559 <cell alignment="left" valignment="top" usebox="none">
24560 \begin_inset Text
24561
24562 \begin_layout Plain Layout
24563 bbding
24564 \end_layout
24565
24566 \end_inset
24567 </cell>
24568 <cell alignment="left" valignment="top" usebox="none">
24569 \begin_inset Text
24570
24571 \begin_layout Plain Layout
24572 esint
24573 \end_layout
24574
24575 \end_inset
24576 </cell>
24577 <cell alignment="left" valignment="top" usebox="none">
24578 \begin_inset Text
24579
24580 \begin_layout Plain Layout
24581 jurabib
24582 \end_layout
24583
24584 \end_inset
24585 </cell>
24586 <cell alignment="left" valignment="top" usebox="none">
24587 \begin_inset Text
24588
24589 \begin_layout Plain Layout
24590 multicol
24591 \end_layout
24592
24593 \end_inset
24594 </cell>
24595 <cell alignment="center" valignment="top" usebox="none">
24596 \begin_inset Text
24597
24598 \begin_layout Plain Layout
24599 refstyle
24600 \end_layout
24601
24602 \end_inset
24603 </cell>
24604 <cell alignment="center" valignment="top" usebox="none">
24605 \begin_inset Text
24606
24607 \begin_layout Plain Layout
24608 textcomp
24609 \end_layout
24610
24611 \end_inset
24612 </cell>
24613 <cell alignment="center" valignment="top" usebox="none">
24614 \begin_inset Text
24615
24616 \begin_layout Plain Layout
24617 varioref
24618 \end_layout
24619
24620 \end_inset
24621 </cell>
24622 <cell alignment="center" valignment="top" usebox="none">
24623 \begin_inset Text
24624
24625 \begin_layout Plain Layout
24626
24627 \end_layout
24628
24629 \end_inset
24630 </cell>
24631 </row>
24632 <row>
24633 <cell alignment="center" valignment="top" usebox="none">
24634 \begin_inset Text
24635
24636 \begin_layout Plain Layout
24637 bm
24638 \end_layout
24639
24640 \end_inset
24641 </cell>
24642 <cell alignment="center" valignment="top" usebox="none">
24643 \begin_inset Text
24644
24645 \begin_layout Plain Layout
24646 fancybox
24647 \end_layout
24648
24649 \end_inset
24650 </cell>
24651 <cell alignment="center" valignment="top" usebox="none">
24652 \begin_inset Text
24653
24654 \begin_layout Plain Layout
24655 latexsym
24656 \end_layout
24657
24658 \end_inset
24659 </cell>
24660 <cell alignment="center" valignment="top" usebox="none">
24661 \begin_inset Text
24662
24663 \begin_layout Plain Layout
24664 multirow
24665 \end_layout
24666
24667 \end_inset
24668 </cell>
24669 <cell alignment="center" valignment="top" usebox="none">
24670 \begin_inset Text
24671
24672 \begin_layout Plain Layout
24673 rotating
24674 \end_layout
24675
24676 \end_inset
24677 </cell>
24678 <cell alignment="center" valignment="top" usebox="none">
24679 \begin_inset Text
24680
24681 \begin_layout Plain Layout
24682 textgreek
24683 \end_layout
24684
24685 \end_inset
24686 </cell>
24687 <cell alignment="center" valignment="top" usebox="none">
24688 \begin_inset Text
24689
24690 \begin_layout Plain Layout
24691 verbatim
24692 \end_layout
24693
24694 \end_inset
24695 </cell>
24696 <cell alignment="center" valignment="top" usebox="none">
24697 \begin_inset Text
24698
24699 \begin_layout Plain Layout
24700
24701 \end_layout
24702
24703 \end_inset
24704 </cell>
24705 </row>
24706 </lyxtabular>
24707
24708 \end_inset
24709
24710
24711 \end_layout
24712
24713 \begin_layout Chapter
24714 レイアウトで使用できる色名
24715 \begin_inset CommandInset label
24716 LatexCommand label
24717 name "chap:色名"
24718
24719 \end_inset
24720
24721
24722 \end_layout
24723
24724 \begin_layout Standard
24725 ここに列挙されている色は標準色であり,\SpecialChar LyX
24726 設定で調整できるものです.
24727 \end_layout
24728
24729 \begin_layout Section
24730
24731 \lang english
24732 Color functions
24733 \end_layout
24734
24735 \begin_layout Standard
24736
24737 \lang english
24738 The following are no real colors, but rather act on color definitions:
24739 \end_layout
24740
24741 \begin_layout Description
24742 ignore この色を無視します
24743 \end_layout
24744
24745 \begin_layout Description
24746 inherit この色を継承します
24747 \end_layout
24748
24749 \begin_layout Description
24750 none
24751 \series medium
24752  
24753 \series default
24754 特定の色ではありません – 透明か既定色です
24755 \end_layout
24756
24757 \begin_layout Section
24758
24759 \lang english
24760 Static colors
24761 \end_layout
24762
24763 \begin_layout Standard
24764
24765 \lang english
24766 These are fixed colors that cannot me customized:
24767 \end_layout
24768
24769 \begin_layout Description
24770 black
24771 \end_layout
24772
24773 \begin_layout Description
24774 white
24775 \end_layout
24776
24777 \begin_layout Description
24778 blue
24779 \end_layout
24780
24781 \begin_layout Description
24782 brown
24783 \end_layout
24784
24785 \begin_layout Description
24786 cyan
24787 \end_layout
24788
24789 \begin_layout Description
24790 darkgray
24791 \end_layout
24792
24793 \begin_layout Description
24794 gray
24795 \end_layout
24796
24797 \begin_layout Description
24798 green
24799 \end_layout
24800
24801 \begin_layout Description
24802 lightgray
24803 \end_layout
24804
24805 \begin_layout Description
24806 lime
24807 \end_layout
24808
24809 \begin_layout Description
24810 magenta
24811 \end_layout
24812
24813 \begin_layout Description
24814 olive
24815 \end_layout
24816
24817 \begin_layout Description
24818 orange
24819 \end_layout
24820
24821 \begin_layout Description
24822 pink
24823 \end_layout
24824
24825 \begin_layout Description
24826 purple
24827 \end_layout
24828
24829 \begin_layout Description
24830 red
24831 \end_layout
24832
24833 \begin_layout Description
24834 teal
24835 \end_layout
24836
24837 \begin_layout Description
24838 violet
24839 \end_layout
24840
24841 \begin_layout Description
24842 yellow
24843 \end_layout
24844
24845 \begin_layout Section
24846
24847 \lang english
24848 Dynamic colors
24849 \end_layout
24850
24851 \begin_layout Standard
24852
24853 \lang english
24854 These are the colors allocated to specific elements in
24855 \lang japanese
24856
24857 \begin_inset Flex MenuItem
24858 status collapsed
24859
24860 \begin_layout Plain Layout
24861 ツール\SpecialChar menuseparator
24862 設定
24863 \end_layout
24864
24865 \end_inset
24866
24867 :
24868 \end_layout
24869
24870 \begin_layout Description
24871 added_space 空白マーカ色
24872 \end_layout
24873
24874 \begin_layout Description
24875 addedtext 追加された文章色
24876 \end_layout
24877
24878 \begin_layout Description
24879 appendix 付録マーカ色
24880 \end_layout
24881
24882 \begin_layout Description
24883 background 背景色
24884 \end_layout
24885
24886 \begin_layout Description
24887 bottomarea 下部領域色
24888 \end_layout
24889
24890 \begin_layout Description
24891 branchlabel 派生枝ラベル色
24892 \end_layout
24893
24894 \begin_layout Description
24895 buttonbg ボタンの背景色
24896 \end_layout
24897
24898 \begin_layout Description
24899 buttonframe 差込枠の縁色
24900 \end_layout
24901
24902 \begin_layout Description
24903 buttonhoverbg フォーカスを得ているボタンの背景色
24904 \end_layout
24905
24906 \begin_layout Description
24907 changebar 変更バー色
24908 \end_layout
24909
24910 \begin_layout Description
24911 changedtextauthor1 変更された文章:第1著者の色
24912 \end_layout
24913
24914 \begin_layout Description
24915 changedtextauthor2 変更された文章:第2著者の色
24916 \end_layout
24917
24918 \begin_layout Description
24919 changedtextauthor3 変更された文章:第3著者の色
24920 \end_layout
24921
24922 \begin_layout Description
24923 changedtextauthor4 変更された文章:第4著者の色
24924 \end_layout
24925
24926 \begin_layout Description
24927 changedtextauthor5 変更された文章:第5著者の色
24928 \end_layout
24929
24930 \begin_layout Description
24931 collapsibletext 畳み込み可能枠の文字色
24932 \end_layout
24933
24934 \begin_layout Description
24935 collapsibleframe 畳み込み可能枠の縁色
24936 \end_layout
24937
24938 \begin_layout Description
24939 command コマンド差込枠の文字色
24940 \end_layout
24941
24942 \begin_layout Description
24943 commandbg コマンド差込枠の背景色
24944 \end_layout
24945
24946 \begin_layout Description
24947 commandframe コマンド差込枠の縁色
24948 \end_layout
24949
24950 \begin_layout Description
24951 comment コメント色
24952 \end_layout
24953
24954 \begin_layout Description
24955 commentbg コメントの背景色
24956 \end_layout
24957
24958 \begin_layout Description
24959 cursor カーソル色
24960 \end_layout
24961
24962 \begin_layout Description
24963 deletedtext 削除された文章の色
24964 \end_layout
24965
24966 \begin_layout Description
24967 deletedtextmodifier 削除された文章の修飾子の色
24968 \end_layout
24969
24970 \begin_layout Description
24971 depthbar 余白部の階層表示線の色
24972 \end_layout
24973
24974 \begin_layout Description
24975 eolmarker 行末標色
24976 \end_layout
24977
24978 \begin_layout Description
24979 error \SpecialChar LaTeX
24980 エラーボックス色
24981 \end_layout
24982
24983 \begin_layout Description
24984 footlabel 脚註ラベル色
24985 \end_layout
24986
24987 \begin_layout Description
24988 foreground 
24989 \lang english
24990 Foreground color
24991 \end_layout
24992
24993 \begin_layout Description
24994 graphicsbg 画像差込枠の背景色
24995 \end_layout
24996
24997 \begin_layout Description
24998 greyedoutbg 淡色表示差込枠の背景色
24999 \end_layout
25000
25001 \begin_layout Description
25002 greyedoutlabel 淡色表示差込枠のラベル色
25003 \end_layout
25004
25005 \begin_layout Description
25006 greyedouttext 淡色表示差込枠の文字色
25007 \end_layout
25008
25009 \begin_layout Description
25010 indexlabel 索引差込枠のラベル色
25011 \end_layout
25012
25013 \begin_layout Description
25014 inlinecompletion 行内補完色
25015 \end_layout
25016
25017 \begin_layout Description
25018 insetbg 差込枠標の背景色
25019 \end_layout
25020
25021 \begin_layout Description
25022 insetframe 差込枠標の縁色
25023 \end_layout
25024
25025 \begin_layout Description
25026 language 外国語の単語を標識するための色
25027 \end_layout
25028
25029 \begin_layout Description
25030 latex \SpecialChar LaTeX
25031 モードの文字色
25032 \end_layout
25033
25034 \begin_layout Description
25035 listingsbg プログラムリスト差込枠の背景色
25036 \end_layout
25037
25038 \begin_layout Description
25039 marginlabel 傍註のラベル色
25040 \end_layout
25041
25042 \begin_layout Description
25043 math 数式差込枠の文字色
25044 \end_layout
25045
25046 \begin_layout Description
25047 mathbg 数式差込枠の背景色
25048 \end_layout
25049
25050 \begin_layout Description
25051 mathcorners フォーカスを得ていない数式差込枠の縁色
25052 \end_layout
25053
25054 \begin_layout Description
25055 mathframe フォーカスを得ている数式差込枠の縁色
25056 \end_layout
25057
25058 \begin_layout Description
25059 mathline 数式行色
25060 \end_layout
25061
25062 \begin_layout Description
25063 mathmacrobg 数式マクロ差込枠の背景色
25064 \end_layout
25065
25066 \begin_layout Description
25067 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
25068 \end_layout
25069
25070 \begin_layout Description
25071 mathmacroframe 数式マクロ差込枠の縁色
25072 \end_layout
25073
25074 \begin_layout Description
25075 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
25076 \end_layout
25077
25078 \begin_layout Description
25079 mathmacrolabel 数式マクロ差込枠のラベル色
25080 \end_layout
25081
25082 \begin_layout Description
25083 mathmacronewarg 数式マクロ新パラメーターのひな型色
25084 \end_layout
25085
25086 \begin_layout Description
25087 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
25088 \end_layout
25089
25090 \begin_layout Description
25091 newpage 新規頁色
25092 \end_layout
25093
25094 \begin_layout Description
25095 nonunique_inlinecompletion 行内補完の一意でない部分の色
25096 \end_layout
25097
25098 \begin_layout Description
25099 note 註釈のラベル色
25100 \end_layout
25101
25102 \begin_layout Description
25103 notebg 註釈の背景色
25104 \end_layout
25105
25106 \begin_layout Description
25107 pagebreak 改頁/改行色
25108 \end_layout
25109
25110 \begin_layout Description
25111 paragraphmarker 段落末を標識するための段落標の色
25112 \end_layout
25113
25114 \begin_layout Description
25115 phantomtext 埋め草差込枠の文字色
25116 \end_layout
25117
25118 \begin_layout Description
25119 preview プレビューに用いられる色
25120 \end_layout
25121
25122 \begin_layout Description
25123 previewframe プレビュー縁色
25124 \end_layout
25125
25126 \begin_layout Description
25127 regexpframe 正規表現枠の色
25128 \end_layout
25129
25130 \begin_layout Description
25131 scroll 
25132 \lang english
25133 Color that indicates when a row can be scrolled
25134 \end_layout
25135
25136 \begin_layout Description
25137 selection 文章選択部の背景色
25138 \end_layout
25139
25140 \begin_layout Description
25141 selectiontext 文章選択部の前景色
25142 \end_layout
25143
25144 \begin_layout Description
25145 shadedbg 影付きボックスの背景色
25146 \end_layout
25147
25148 \begin_layout Description
25149 special 特殊文字の色
25150 \end_layout
25151
25152 \begin_layout Description
25153 tabularline 罫線色
25154 \end_layout
25155
25156 \begin_layout Description
25157 tabularonoffline 罫線色
25158 \end_layout
25159
25160 \begin_layout Description
25161 urllabel URL差込枠のラベル色
25162 \end_layout
25163
25164 \begin_layout Description
25165 urltext URL差込枠の文字色
25166 \end_layout
25167
25168 \end_body
25169 \end_document