]> git.lyx.org Git - lyx.git/blob - lib/doc/ja/Customization.lyx
d3819230ddf0470ebfeaa6a263fae6a766cd0633
[lyx.git] / lib / doc / ja / Customization.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 573
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
28 \use_default_options false
29 \begin_modules
30 logicalmkup
31 \end_modules
32 \maintain_unincluded_children false
33 \begin_local_layout
34 Format 57
35 InsetLayout Flex:MenuItem
36 LyxType               charstyle
37 LabelString           menu
38 LatexType             command
39 LatexName             menuitem
40 Font
41 Family              Sans
42 EndFont
43 Preamble
44 \newcommand*{\menuitem}[1]{{\sffamily #1}}
45 EndPreamble
46 ResetsFont true
47 End
48 # In case we need to do with sans...
49 #InsetLayout CharStyle:Code
50 #Font
51 #Family              Sans
52 #EndFont
53 #Preamble
54 #\renewcommand{\code}[1]{{\sffamily #1}}
55 #EndPreamble
56 #End
57 InsetLayout             Flex:Ruby
58 LyxType         charstyle
59 LatexType               command
60 LatexName               ruby
61 BgColor         none
62 LabelString             "ルビ"
63 Decoration              Conglomerate
64 Argument post:1
65 LabelString     "ルビ文"
66 MenuString      "ルビ文(S)|S"
67 Decoration      Conglomerate
68 Font
69 Size            tiny
70 EndFont
71 LabelFont
72 Size            tiny
73 EndFont
74 Mandatory       1
75 EndArgument
76 Preamble
77 \IfFileExists{okumacro.sty}
78 {\usepackage{okumacro}}
79 {\newcommand{\ruby}[2]{#2}}
80 EndPreamble
81 ResetsFont true
82 End
83 \end_local_layout
84 \language japanese
85 \language_package default
86 \inputencoding jis-platex
87 \fontencoding auto
88 \font_roman "lmodern" "IPAexMincho"
89 \font_sans "default" "IPAexGothic"
90 \font_typewriter "default" "default"
91 \font_math "auto" "auto"
92 \font_default_family default
93 \use_non_tex_fonts false
94 \font_sc false
95 \font_osf false
96 \font_sf_scale 100 100
97 \font_tt_scale 100 100
98 \use_microtype false
99 \use_dash_ligatures false
100 \graphics default
101 \default_output_format default
102 \output_sync 0
103 \bibtex_command default
104 \index_command default
105 \float_placement class
106 \float_alignment class
107 \paperfontsize 12
108 \spacing single
109 \use_hyperref true
110 \pdf_title "LyX Configuration Manual"
111 \pdf_author "LyX Team"
112 \pdf_subject "LyX-Documentation Customization"
113 \pdf_keywords "LyX, documentation, customization"
114 \pdf_bookmarks false
115 \pdf_bookmarksnumbered true
116 \pdf_bookmarksopen true
117 \pdf_bookmarksopenlevel 1
118 \pdf_breaklinks false
119 \pdf_pdfborder false
120 \pdf_colorlinks true
121 \pdf_backref false
122 \pdf_pdfusetitle false
123 \pdf_quoted_options "driverfallback=dvipdfmx, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
124 \papersize default
125 \use_geometry false
126 \use_package amsmath 1
127 \use_package amssymb 1
128 \use_package cancel 1
129 \use_package esint 1
130 \use_package mathdots 1
131 \use_package mathtools 1
132 \use_package mhchem 1
133 \use_package stackrel 1
134 \use_package stmaryrd 1
135 \use_package undertilde 1
136 \cite_engine basic
137 \cite_engine_type default
138 \biblio_style plain
139 \use_bibtopic false
140 \use_indices false
141 \paperorientation portrait
142 \suppress_date false
143 \justification false
144 \use_refstyle 0
145 \use_minted 0
146 \notefontcolor #0000ff
147 \branch OutDated
148 \selected 0
149 \filename_suffix 0
150 \color #f5fae7
151 \end_branch
152 \index 索引
153 \shortcut idx
154 \color #008000
155 \end_index
156 \secnumdepth 3
157 \tocdepth 3
158 \paragraph_separation indent
159 \paragraph_indentation default
160 \is_math_indent 1
161 \math_indentation default
162 \math_numbering_side default
163 \quotes_style english
164 \dynamic_quotes 0
165 \papercolumns 1
166 \papersides 2
167 \paperpagestyle headings
168 \tablestyle default
169 \tracking_changes false
170 \output_changes false
171 \html_math_output 0
172 \html_css_as_file 0
173 \html_be_strict true
174 \end_header
175
176 \begin_body
177
178 \begin_layout Title
179 \SpecialChar LyX
180 の高度設定
181 \begin_inset Newline newline
182 \end_inset
183
184 熟練ユーザのための各機能
185 \end_layout
186
187 \begin_layout Author
188 \SpecialChar LyX
189 開発チーム
190 \begin_inset Foot
191 status collapsed
192
193 \begin_layout Plain Layout
194 \noindent
195 もしコメントや誤りの修正をお持ちでしたら,\SpecialChar LyX
196 文書化メーリングリスト
197 \begin_inset CommandInset href
198 LatexCommand href
199 target "lyx-docs@lists.lyx.org"
200 type "mailto:"
201 literal "false"
202
203 \end_inset
204
205 宛お送りください.件名ヘッダに「[Customization]」という文字を入れ,このファイルの現在のメンテナRichard Heck <rgheck@comc
206 ast.net>をccにして送ってください.
207 \end_layout
208
209 \end_inset
210
211
212 \begin_inset Newline newline
213 \end_inset
214
215
216 \begin_inset Newline newline
217 \end_inset
218
219 第2.3.x版
220 \end_layout
221
222 \begin_layout Standard
223 \begin_inset CommandInset toc
224 LatexCommand tableofcontents
225
226 \end_inset
227
228
229 \begin_inset Note Note
230 status open
231
232 \begin_layout Plain Layout
233 本文書を修正する際には,変更追跡機能を使用してください.これによって,
234 \end_layout
235
236 \begin_layout Plain Layout
237 \SpecialChar LyX
238 翻訳者陣が変更点を認識しやすくなり,メンテナが最新の状態を維持することが容易になります.
239 \end_layout
240
241 \end_inset
242
243
244 \end_layout
245
246 \begin_layout Chapter
247 はじめに
248 \end_layout
249
250 \begin_layout Standard
251 この取扱説明書は,\SpecialChar LyX
252 に備わっている高度設定機能を取り扱います.ここでは,
253 \begin_inset Flex Ruby
254 status collapsed
255
256 \begin_layout Plain Layout
257 捷径
258 \begin_inset Argument post:1
259 status collapsed
260
261 \begin_layout Plain Layout
262 ショートカット
263 \end_layout
264
265 \end_inset
266
267
268 \end_layout
269
270 \end_inset
271
272 や画面プレビューオプション,プリンタオプション,\SpecialChar LyX
273 サーバ経由での\SpecialChar LyX
274 へのコマンド送信,国際化,新しい\SpecialChar LaTeX
275 クラスや\SpecialChar LyX
276 レイアウトの導入などの題材について論じます.おそらくは変更
277 可能なことすべてについて触れることは無理でしょうが—私たちの開発者たちは私たちが文書化できる速さよりも速く新しい機能を付け加えてしまうので—,もっとも一般的な高
278 度設定については説明を行い,わかりにくいものについては正しい方向を指し示すことができるようにしていくつもりです.
279 \end_layout
280
281 \begin_layout Standard
282 \begin_inset Branch OutDated
283 inverted 0
284 status collapsed
285
286 \begin_layout Standard
287 Information from previous versions of this document that now seems to be
288  outdated is contained in the OutDated branch of this document.
289  By default, this information will not appear in the \SpecialChar LaTeX
290  output.
291 \end_layout
292
293 \end_inset
294
295
296 \end_layout
297
298 \begin_layout Chapter
299 \SpecialChar LyX
300 設定ファイル
301 \end_layout
302
303 \begin_layout Standard
304 本章の目的は,\SpecialChar LyX
305 設定ファイル群を理解するための一助となることです.本章を読み進める前に,
306 \begin_inset Flex MenuItem
307 status collapsed
308
309 \begin_layout Plain Layout
310 ヘルプ\SpecialChar menuseparator
311 LyXについて
312 \end_layout
313
314 \end_inset
315
316 を使って,\SpecialChar LyX
317 ライブラリとユーザディレクトリがどこにあるかを確認しておいてください.ライブラリディレクトリは,\SpecialChar LyX
318 がシステム全体の設定ファイルを置いておくところです.一
319 方,ユーザディレクトリは,自身がそれを修正した版を置いておくところです.私たちは,本書の以下の部分で,前者を
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 \begin_inset Flex MenuItem
331 status collapsed
332
333 \begin_layout Plain Layout
334 UserDir
335 \end_layout
336
337 \end_inset
338
339 と呼ぶことにします.
340 \end_layout
341
342 \begin_layout Section
343 \begin_inset Flex Code
344 status collapsed
345
346 \begin_layout Plain Layout
347 LyXDir
348 \end_layout
349
350 \end_inset
351
352 にはなにがあるの?
353 \end_layout
354
355 \begin_layout Standard
356 \begin_inset Flex Code
357 status collapsed
358
359 \begin_layout Plain Layout
360 LyXDir
361 \end_layout
362
363 \end_inset
364
365 とそのサブディレクトリには,多くのファイルがあり,\SpecialChar LyX
366 の挙動を高度設定するのに使用されます.これらのファイルの多くは,\SpecialChar LyX
367 内の
368 \begin_inset Flex MenuItem
369 status collapsed
370
371 \begin_layout Plain Layout
372 ツール\SpecialChar menuseparator
373 設定
374 \end_layout
375
376 \end_inset
377
378 ダイアログから変更することができます.\SpecialChar LyX
379 中で行いたいと思うような高度設定は,ほとんどこのダイアログから行うことができるようになっています.しかしながら,LyXの他
380 の多くの内部動作は,
381 \begin_inset Flex Code
382 status collapsed
383
384 \begin_layout Plain Layout
385 LyXDir
386 \end_layout
387
388 \end_inset
389
390 のファイルを修正することで高度設定されます.これらのファイルは様々なカテゴリに分類しうるので,以下の各小節で説明します.
391 \end_layout
392
393 \begin_layout Subsection
394 自動的に生成されるファイル
395 \end_layout
396
397 \begin_layout Standard
398 \begin_inset Flex MenuItem
399 status collapsed
400
401 \begin_layout Plain Layout
402 UserDir
403 \end_layout
404
405 \end_inset
406
407 にある各ファイルは,\SpecialChar LyX
408 が自動設定を行ったときに生成されます.これらのファイルは,内部調査中に推測された様々な既定値が置かれています.これらは,随時上書きされてしま
409 うので,一般的には修正しないことが望まれます.
410 \end_layout
411
412 \begin_layout Labeling
413 \labelwidthstring 00.00.0000
414 \begin_inset Flex Code
415 status collapsed
416
417 \begin_layout Plain Layout
418 lyxrc.defaults
419 \end_layout
420
421 \end_inset
422
423  このファイルには,様々な既定コマンドが置かれています.
424 \end_layout
425
426 \begin_layout Labeling
427 \labelwidthstring 00.00.0000
428 \begin_inset Flex Code
429 status collapsed
430
431 \begin_layout Plain Layout
432 packages.lst
433 \end_layout
434
435 \end_inset
436
437  このファイルには,\SpecialChar LyX
438 が認識したパッケージの一覧が収められています.現在のところ,これは\SpecialChar LyX
439 プログラム自体には使用されていませんが,抽出された情報その他は,
440 \begin_inset Flex MenuItem
441 status collapsed
442
443 \begin_layout Plain Layout
444 ヘルプ\SpecialChar menuseparator
445 LaTeXの設定
446 \end_layout
447
448 \end_inset
449
450 で見ることができます.
451 \end_layout
452
453 \begin_layout Labeling
454 \labelwidthstring 00.00.0000
455 \begin_inset Flex Code
456 status collapsed
457
458 \begin_layout Plain Layout
459 textclass.lst
460 \end_layout
461
462 \end_inset
463
464  ユーザの
465 \begin_inset Flex Code
466 status collapsed
467
468 \begin_layout Plain Layout
469 Plain L
470 \end_layout
471
472 \end_inset
473
474 ディレクトリで検出されたテキストクラスと,関連した\SpecialChar LaTeX
475 文書クラスおよびその説明の一覧です.
476 \end_layout
477
478 \begin_layout Labeling
479 \labelwidthstring 00.00.0000
480 \begin_inset Flex Code
481 status collapsed
482
483 \begin_layout Plain Layout
484 lyxmodules.lst
485 \end_layout
486
487 \end_inset
488
489  ユーザの
490 \begin_inset Flex Code
491 status collapsed
492
493 \begin_layout Plain Layout
494 layout/
495 \end_layout
496
497 \end_inset
498
499 ディレクトリで検出されたレイアウトモジュールの一覧です.
500 \end_layout
501
502 \begin_layout Labeling
503 \labelwidthstring 00.00.0000
504 \begin_inset Flex Code
505 status collapsed
506
507 \begin_layout Plain Layout
508 *files.lst
509 \end_layout
510
511 \end_inset
512
513  ご使用のシステムで検出された様々な種類の\SpecialChar LaTeX
514 関連ファイルの一覧です.
515 \end_layout
516
517 \begin_layout Labeling
518 \labelwidthstring 00.00.0000
519 \begin_inset Flex Code
520 status collapsed
521
522 \begin_layout Plain Layout
523 doc/LaTeXConfig.lyx
524 \end_layout
525
526 \end_inset
527
528  このファイルは,自動設定中に
529 \begin_inset Flex Code
530 status collapsed
531
532 \begin_layout Plain Layout
533 LaTeXConfig.lyx.in
534 \end_layout
535
536 \end_inset
537
538 から自動的に生成されます.ご使用中の\SpecialChar LaTeX
539 の設定に関する情報が納められています.
540 \end_layout
541
542 \begin_layout Subsection
543 ディレクトリ
544 \end_layout
545
546 \begin_layout Standard
547 以下の各ディレクトリは,
548 \begin_inset Flex Code
549 status collapsed
550
551 \begin_layout Plain Layout
552 LyXDir
553 \end_layout
554
555 \end_inset
556
557
558 \begin_inset Flex Code
559 status collapsed
560
561 \begin_layout Plain Layout
562 UserDir
563 \end_layout
564
565 \end_inset
566
567 に重複して存在します.特定のファイルが両方の場所にある場合には,
568 \begin_inset Flex Code
569 status collapsed
570
571 \begin_layout Plain Layout
572 UserDir
573 \end_layout
574
575 \end_inset
576
577 の方にあるものが使用されます.
578 \end_layout
579
580 \begin_layout Labeling
581 \labelwidthstring 00.00.0000
582 \begin_inset Flex Code
583 status collapsed
584
585 \begin_layout Plain Layout
586 bind/
587 \end_layout
588
589 \end_inset
590
591  このディレクトリには,\SpecialChar LyX
592 で使用されるキー割当を定義している,拡張子が
593 \begin_inset Flex Code
594 status collapsed
595
596 \begin_layout Plain Layout
597 .bind
598 \end_layout
599
600 \end_inset
601
602 のファイルが置かれています.
603 \begin_inset Flex Code
604 status collapsed
605
606 \begin_layout Plain Layout
607 $LANG_xxx.bind
608 \end_layout
609
610 \end_inset
611
612 という名称の割当ファイルの各国語版がある場合には,そちらが用いられます.
613 \end_layout
614
615 \begin_layout Labeling
616 \labelwidthstring 00.00.0000
617 \begin_inset Flex Code
618 status collapsed
619
620 \begin_layout Plain Layout
621 citeengines/
622 \end_layout
623
624 \end_inset
625
626  このディレクトリには,幅広い文献引用力(natbib, biblatexなど)を定義する,拡張子が
627 \begin_inset Flex Code
628 status collapsed
629
630 \begin_layout Plain Layout
631 .citeengine
632 \end_layout
633
634 \end_inset
635
636 のファイルが置かれています.詳細については,第
637 \begin_inset CommandInset ref
638 LatexCommand ref
639 reference "subsec:引用エンジンファイル"
640 plural "false"
641 caps "false"
642 noprefix "false"
643
644 \end_inset
645
646 節をご覧ください.
647 \end_layout
648
649 \begin_layout Labeling
650 \labelwidthstring 00.00.0000
651 \begin_inset Flex Code
652 status collapsed
653
654 \begin_layout Plain Layout
655 clipart/
656 \end_layout
657
658 \end_inset
659
660  このディレクトリには,文書に取り込むことのできる画像ファイルが納められています.
661 \end_layout
662
663 \begin_layout Labeling
664 \labelwidthstring 00.00.0000
665 \begin_inset Flex Code
666 status collapsed
667
668 \begin_layout Plain Layout
669 doc/
670 \end_layout
671
672 \end_inset
673
674  このディレクトリには,\SpecialChar LyX
675 の取扱説明書ファイル(今お読みのものも含めて)が納められています.上述のように,
676 \begin_inset Flex Code
677 status collapsed
678
679 \begin_layout Plain Layout
680 LaTeXConfig.lyx
681 \end_layout
682
683 \end_inset
684
685 ファイルは特に注目に値します.各国語版のヘルプ文書は,
686 \begin_inset Flex Code
687 status collapsed
688
689 \begin_layout Plain Layout
690 doc/xx
691 \end_layout
692
693 \end_inset
694
695 (「xx」はISO言語コード)サブディレクトリにあります.詳しくは,
696 \begin_inset CommandInset ref
697 LatexCommand ref
698 reference "cha:LyXの各国語対応"
699
700 \end_inset
701
702 をご覧ください.
703 \end_layout
704
705 \begin_layout Labeling
706 \labelwidthstring 00.00.0000
707 \begin_inset Flex Code
708 status collapsed
709
710 \begin_layout Plain Layout
711 examples/
712 \end_layout
713
714 \end_inset
715
716  このディレクトリには,何らかの機能の使い方を説明する例示ファイルが納められています.ファイルブラウザ中で
717 \begin_inset Flex MenuItem
718 status collapsed
719
720 \begin_layout Plain Layout
721 用例
722 \end_layout
723
724 \end_inset
725
726 ボタンを押すと,このディレクトリが表示されます.
727 \end_layout
728
729 \begin_layout Labeling
730 \labelwidthstring 00.00.0000
731 \begin_inset Flex Code
732 status collapsed
733
734 \begin_layout Plain Layout
735 images/
736 \end_layout
737
738 \end_inset
739
740  このディレクトリには,
741 \begin_inset Flex MenuItem
742 status collapsed
743
744 \begin_layout Plain Layout
745 文書
746 \end_layout
747
748 \end_inset
749
750 ダイアログで使用される画像ファイルが納められています.さらに,ツールバーの各アイコンや,\SpecialChar LyX
751 を起動したときに現れるバナーも納められています.
752 \end_layout
753
754 \begin_layout Labeling
755 \labelwidthstring 00.00.0000
756 \begin_inset Flex Code
757 status collapsed
758
759 \begin_layout Plain Layout
760 kbd/
761 \end_layout
762
763 \end_inset
764
765  このディレクトリには,キーボードのキー割当ファイルが納められています.詳細については,
766 \begin_inset CommandInset ref
767 LatexCommand ref
768 reference "sec:国際キー配列"
769
770 \end_inset
771
772 をご覧ください.
773 \end_layout
774
775 \begin_layout Labeling
776 \labelwidthstring 00.00.0000
777 \begin_inset Flex Code
778 status collapsed
779
780 \begin_layout Plain Layout
781 layouts/
782 \end_layout
783
784 \end_inset
785
786  このディレクトリには,
787 \begin_inset CommandInset ref
788 LatexCommand ref
789 reference "cha:新規文書を導入"
790
791 \end_inset
792
793 に述べられているテキストクラスおよびモジュールのファイルが納められています.
794 \end_layout
795
796 \begin_layout Labeling
797 \labelwidthstring 00.00.0000
798 \begin_inset Flex Code
799 status collapsed
800
801 \begin_layout Plain Layout
802 lyx2lyx
803 \end_layout
804
805 \end_inset
806
807  このディレクトリには,\SpecialChar LyX
808 の各バージョン間の変換に使用される
809 \begin_inset Flex Code
810 status collapsed
811
812 \begin_layout Plain Layout
813 lyx2lyx
814 \end_layout
815
816 \end_inset
817
818  Pythonスクリプトが納められています.たとえば,複数のファイルの変換をバッチ処理したい場合には,これらをコマンドラインから実行することもできます.
819 \end_layout
820
821 \begin_layout Labeling
822 \labelwidthstring 00.00.0000
823 \begin_inset Flex Code
824 status collapsed
825
826 \begin_layout Plain Layout
827 scripts/
828 \end_layout
829
830 \end_inset
831
832  このディレクトリには,
833 \begin_inset Flex MenuItem
834 status collapsed
835
836 \begin_layout Plain Layout
837 外用ひな型
838 \end_layout
839
840 \end_inset
841
842 機能の有用性を示すためのファイルがいくつか納められています.\SpecialChar LyX
843 自身が使用するスクリプトもいくつか収められています.
844 \end_layout
845
846 \begin_layout Labeling
847 \labelwidthstring 00.00.0000
848 \begin_inset Flex Code
849 status collapsed
850
851 \begin_layout Plain Layout
852 templates/
853 \end_layout
854
855 \end_inset
856
857  このディレクトリには,
858 \begin_inset CommandInset ref
859 LatexCommand ref
860 reference "sec:ひな型を作成する"
861
862 \end_inset
863
864 で述べられている標準の\SpecialChar LyX
865 ひな型ファイルが納められています.
866 \end_layout
867
868 \begin_layout Labeling
869 \labelwidthstring 00.00.0000
870 \begin_inset Flex Code
871 status collapsed
872
873 \begin_layout Plain Layout
874 ui/
875 \end_layout
876
877 \end_inset
878
879  このディレクトリには,\SpecialChar LyX
880 の操作画面を定義する拡張子
881 \begin_inset Flex Code
882 status collapsed
883
884 \begin_layout Plain Layout
885 .ui
886 \end_layout
887
888 \end_inset
889
890 のファイルが納められています.つまり,これらのファイルは,どのメニュー項目がどのメニューに現れるかを定義し,どの項目がツールバーに現れるかを定義しています.
891 \end_layout
892
893 \begin_layout Labeling
894 \labelwidthstring 00.00.0000
895 \begin_inset Flex Code
896 status collapsed
897
898 \begin_layout Plain Layout
899 xtemplates/
900 \end_layout
901
902 \end_inset
903
904  このディレクトリには,\SpecialChar LyX
905 文書への外部素材の挿入のひな型を定義する,拡張子が
906 \begin_inset Flex Code
907 status collapsed
908
909 \begin_layout Plain Layout
910 .xtemplate
911 \end_layout
912
913 \end_inset
914
915 のファイルが置かれています.第
916 \begin_inset CommandInset ref
917 LatexCommand ref
918 reference "chap:外部素材を取り込む"
919 plural "false"
920 caps "false"
921 noprefix "false"
922
923 \end_inset
924
925 節参照.
926 \end_layout
927
928 \begin_layout Subsection
929 変更を加えない方がよいファイル
930 \end_layout
931
932 \begin_layout Standard
933 これらのファイルは\SpecialChar LyX
934 が内部的に使用するもので,あなたが開発者でない限りは,凡そこれらに変更を加える必要はありません.
935 \end_layout
936
937 \begin_layout Labeling
938 \labelwidthstring 00.00.0000
939 \begin_inset Flex Code
940 status collapsed
941
942 \begin_layout Plain Layout
943 CREDITS
944 \end_layout
945
946 \end_inset
947
948  このファイルは,\SpecialChar LyX
949 開発陣の名簿です.この内容は,メニュー項目
950 \begin_inset Flex MenuItem
951 status collapsed
952
953 \begin_layout Plain Layout
954 ヘルプ\SpecialChar menuseparator
955 LyXについて
956 \end_layout
957
958 \end_inset
959
960 で表示されます.
961 \end_layout
962
963 \begin_layout Labeling
964 \labelwidthstring 00.00.0000
965 \begin_inset Flex Code
966 status collapsed
967
968 \begin_layout Plain Layout
969 chkconfig.ltx
970 \end_layout
971
972 \end_inset
973
974  これは,自動設定プロセスによって使用される\SpecialChar LaTeX
975 スクリプトです.直接実行しないでください.
976 \end_layout
977
978 \begin_layout Labeling
979 \labelwidthstring 00.00.0000
980 \begin_inset Flex Code
981 status collapsed
982
983 \begin_layout Plain Layout
984 configure.py
985 \end_layout
986
987 \end_inset
988
989  これは,\SpecialChar LyX
990 の環境構成によって使用されるスクリプトです.これは,このスクリプトを実行したディレクトリに設定ファイルを生成します.
991 \end_layout
992
993 \begin_layout Subsection
994 ひとこと必要なファイル群
995 \end_layout
996
997 \begin_layout Labeling
998 \labelwidthstring 00.00.0000
999 \begin_inset Flex Code
1000 status collapsed
1001
1002 \begin_layout Plain Layout
1003 encodings
1004 \end_layout
1005
1006 \end_inset
1007
1008  このファイルには,各文字エンコーディングがどのようにUnicodeにマップされるかを示した表が載っています.
1009 \end_layout
1010
1011 \begin_layout Labeling
1012 \labelwidthstring 00.00.0000
1013 \begin_inset Flex Code
1014 status collapsed
1015
1016 \begin_layout Plain Layout
1017 languages
1018 \end_layout
1019
1020 \end_inset
1021
1022  このファイルには,現在\SpecialChar LyX
1023 がサポートしている言語の全一覧が載っています.
1024 \end_layout
1025
1026 \begin_layout Labeling
1027 \labelwidthstring 00.00.0000
1028 \begin_inset Flex Code
1029 status collapsed
1030
1031 \begin_layout Plain Layout
1032 latexfonts
1033 \end_layout
1034
1035 \end_inset
1036
1037  サポートされているフォントに関する情報が掲載されています.
1038 \end_layout
1039
1040 \begin_layout Labeling
1041 \labelwidthstring 00.00.0000
1042 \begin_inset Flex Code
1043 status collapsed
1044
1045 \begin_layout Plain Layout
1046 layouttranslations
1047 \end_layout
1048
1049 \end_inset
1050
1051  このファイルは,国際化された段落様式の翻訳が収録されています(
1052 \begin_inset CommandInset ref
1053 LatexCommand ref
1054 reference "subsec:段落様式の国際化"
1055
1056 \end_inset
1057
1058 参照).
1059 \end_layout
1060
1061 \begin_layout Labeling
1062 \labelwidthstring 00.00.0000
1063 \begin_inset Flex Code
1064 status collapsed
1065
1066 \begin_layout Plain Layout
1067 unicodesymbols
1068 \end_layout
1069
1070 \end_inset
1071
1072  このファイルは,unicodeエンコーディングされたグリフに関する情報と,\SpecialChar LyX
1073 が\SpecialChar LaTeX
1074 を介してそれらをどのようにサポートしているかについての情報を含んでいます.
1075 \end_layout
1076
1077 \begin_layout Section
1078 ユーザのローカル設定ディレクトリ
1079 \end_layout
1080
1081 \begin_layout Standard
1082 \SpecialChar LyX
1083 を非特権ユーザとして利用している場合でも,自分自身で使うために,\SpecialChar LyX
1084 の設定を変更したいと思うかもしれません.
1085 \begin_inset Flex Code
1086 status collapsed
1087
1088 \begin_layout Plain Layout
1089 UserDir
1090 \end_layout
1091
1092 \end_inset
1093
1094 ディレクトリには,すべての個人設定ファイルが収められています.これは,
1095 \begin_inset Flex MenuItem
1096 status collapsed
1097
1098 \begin_layout Plain Layout
1099 ヘルプ\SpecialChar menuseparator
1100 LyXについて
1101 \end_layout
1102
1103 \end_inset
1104
1105 で「ユーザーディレクトリ」として言及されているディレクトリです.このディレクトリは,
1106 \begin_inset Flex Code
1107 status collapsed
1108
1109 \begin_layout Plain Layout
1110 LyXDir
1111 \end_layout
1112
1113 \end_inset
1114
1115 のミラーとして使用されており,これは
1116 \begin_inset Flex Code
1117 status collapsed
1118
1119 \begin_layout Plain Layout
1120 UserDir
1121 \end_layout
1122
1123 \end_inset
1124
1125 内のすべてのファイルが,
1126 \begin_inset Flex Code
1127 status collapsed
1128
1129 \begin_layout Plain Layout
1130 LyXDir
1131 \end_layout
1132
1133 \end_inset
1134
1135 すし,自分自身で使うために個人のローカルディレクトリに置くこともできます.
1136 \end_layout
1137
1138 \begin_layout Standard
1139 わかりやすくするために,いくつか例を挙げましょう.
1140 \end_layout
1141
1142 \begin_layout Itemize
1143 \begin_inset Flex MenuItem
1144 status collapsed
1145
1146 \begin_layout Plain Layout
1147 ツール\SpecialChar menuseparator
1148 設定
1149 \end_layout
1150
1151 \end_inset
1152
1153 ダイアログで設定されるユーザ設定は,
1154 \begin_inset Flex Code
1155 status collapsed
1156
1157 \begin_layout Plain Layout
1158 UserDir
1159 \end_layout
1160
1161 \end_inset
1162
1163 中の
1164 \begin_inset Flex Code
1165 status collapsed
1166
1167 \begin_layout Plain Layout
1168 preferences
1169 \end_layout
1170
1171 \end_inset
1172
1173 ファイルに保存されます.
1174 \end_layout
1175
1176 \begin_layout Itemize
1177 \begin_inset Flex MenuItem
1178 status collapsed
1179
1180 \begin_layout Plain Layout
1181 ツール\SpecialChar menuseparator
1182 環境構成
1183 \end_layout
1184
1185 \end_inset
1186
1187 を使用して環境構成を行うと,\SpecialChar LyX
1188
1189 \begin_inset Flex Code
1190 status collapsed
1191
1192 \begin_layout Plain Layout
1193 configure.py
1194 \end_layout
1195
1196 \end_inset
1197
1198 スクリプトを実行し,その結果のファイルは,ご自身のローカル設定ディレクトリに書き込まれます.これはすなわち,
1199 \begin_inset Flex Code
1200 status collapsed
1201
1202 \begin_layout Plain Layout
1203 UserDir/layouts
1204 \end_layout
1205
1206 \end_inset
1207
1208 にご自身で追加したテキストファイルは,
1209 \begin_inset Flex MenuItem
1210 status collapsed
1211
1212 \begin_layout Plain Layout
1213 文書\SpecialChar menuseparator
1214 設定
1215 \end_layout
1216
1217 \end_inset
1218
1219 ダイアログのクラス一覧に表示されるようになることを意味します.
1220 \end_layout
1221
1222 \begin_layout Itemize
1223 たとえば,\SpecialChar LyX
1224 のFTPサイトから最新の取扱説明書をとってきたものの,使用中のシステム上で管理者権限がないために,それをインストールすることができなかったとしても,そ
1225 れらのファイルを
1226 \begin_inset Flex Code
1227 status collapsed
1228
1229 \begin_layout Plain Layout
1230 UserDir/doc/
1231 \end_layout
1232
1233 \end_inset
1234
1235 ディレクトリにコピーすれば,
1236 \begin_inset Flex MenuItem
1237 status collapsed
1238
1239 \begin_layout Plain Layout
1240 ヘルプ
1241 \end_layout
1242
1243 \end_inset
1244
1245 メニュー項目はこれらを開くようになります!
1246 \end_layout
1247
1248 \begin_layout Section
1249 \SpecialChar LyX
1250 を複数の設定を使って実行するには
1251 \end_layout
1252
1253 \begin_layout Standard
1254 ローカル設定ディレクトリにおいて設定の自由度があるだけでは,2つ以上の設定を自由に使いこなしたい場合には充分ではないかもしれません.たとえば,使用する度に異なる
1255 キー割当を使用したり,異なるプリンタ設定を使用したいことがあるかもしれません.これは,複数の設定ディレクトリを作ることで実現することができます.そして,実行時に
1256 どのディレクトリを使用するか指定するのです.
1257 \end_layout
1258
1259 \begin_layout Standard
1260 \SpecialChar LyX
1261 をコマンドラインスイッチ
1262 \begin_inset Flex Code
1263 status collapsed
1264
1265 \begin_layout Plain Layout
1266 -userdir
1267 \end_layout
1268
1269 \end_inset
1270
1271 P
1272 \emph on
1273 <ディレクトリ名>
1274 \emph default
1275 と共に起動すると,設定を既定のディレクトリではなく,指定したディレクトリから読み込むように,指示することになります(\SpecialChar LyX
1276
1277 \begin_inset Flex Code
1278 status collapsed
1279
1280 \begin_layout Plain Layout
1281 -userdir
1282 \end_layout
1283
1284 \end_inset
1285
1286 スイッチなしで実行すれば,既定ディレクトリを指定することになります).指定したディレクトリが存在しない場合には,\SpecialChar LyX
1287 は,初めて\SpecialChar LyX
1288 を実行したときに既定ディレクトリを訊い
1289 てくるのと同様に,そのディレクトリを作るかどうか訊いてきます.この追加したユーザディレクトリでは,既定ディレクトリで行うのと全く同じように設定オプションを修正す
1290 ることができます.これらのディレクトリは完全に独立しています(が,読み進めてください).また,環境変数
1291 \begin_inset Flex Code
1292 status collapsed
1293
1294 \begin_layout Plain Layout
1295 LYX_USERDIR_20x
1296 \end_layout
1297
1298 \end_inset
1299
1300 を特定の値に設定しても,全く同じ効果があります.
1301 \end_layout
1302
1303 \begin_layout Standard
1304 複数の設定を持つことはまた,維持の手間も増えるということです.もし新しいレイアウトを
1305 \begin_inset Flex Code
1306 status collapsed
1307
1308 \begin_layout Plain Layout
1309 NewUserDir/layouts
1310 \end_layout
1311
1312 \end_inset
1313
1314 に加えて,これをすべての設定で利用できるようにしたいならば,これをすべての設定ディレクトリで個々に付け加えなくてはなりません.これを避けるには,次のようなトリッ
1315 クを使用してください.\SpecialChar LyX
1316 が新しい設定ディレクトリを生成すると,そのサブディレクトリ(上記参照)はほとんど空です.新しい設定が既存のものをミラーするようにするには,
1317 空のサブディレクトリを,既存の設定の対応するサブディレクトリへのシンボリックリンクに置き換えてください.ただし
1318 \begin_inset Flex Code
1319 status collapsed
1320
1321 \begin_layout Plain Layout
1322 doc/
1323 \end_layout
1324
1325 \end_inset
1326
1327 サブディレクトリには,設定スクリプト(
1328 \begin_inset Flex MenuItem
1329 status collapsed
1330
1331 \begin_layout Plain Layout
1332 ツール\SpecialChar menuseparator
1333 環境構成
1334 \end_layout
1335
1336 \end_inset
1337
1338 で使用可能)が書き出した,設定毎に異なるファイルが含まれていますので,注意を払ってください.
1339 \end_layout
1340
1341 \begin_layout Chapter
1342 設定ダイアログ
1343 \end_layout
1344
1345 \begin_layout Standard
1346 設定ダイアログのオプションのすべては,
1347 \emph on
1348 ユーザーの手引き
1349 \emph default
1350 の付録
1351 \emph on
1352 設定ダイアログ
1353 \emph default
1354 に述べられています.オプションのうちいくつかについて,ここでさらに詳細に説明します.
1355 \end_layout
1356
1357 \begin_layout Section
1358 ファイル形式
1359 \begin_inset CommandInset label
1360 LatexCommand label
1361 name "sec:ファイル形式"
1362
1363 \end_inset
1364
1365
1366 \end_layout
1367
1368 \begin_layout Standard
1369 ファイル形式が定義されていない場合,はじめの一歩は,使いたいと思うファイル形式を定義することです.それには,
1370 \begin_inset Flex MenuItem
1371 status collapsed
1372
1373 \begin_layout Plain Layout
1374 ツール\SpecialChar menuseparator
1375 設定
1376 \end_layout
1377
1378 \end_inset
1379
1380 ダイアログを開いてください.
1381 \begin_inset Flex MenuItem
1382 status collapsed
1383
1384 \begin_layout Plain Layout
1385 ファイル処理\SpecialChar menuseparator
1386 ファイル形式
1387 \end_layout
1388
1389 \end_inset
1390
1391 の中で
1392 \begin_inset Flex MenuItem
1393 status collapsed
1394
1395 \begin_layout Plain Layout
1396 新規\SpecialChar ldots
1397
1398 \end_layout
1399
1400 \end_inset
1401
1402 ボタンを押して,登録する新しい形式を定義してください.
1403 \begin_inset Flex MenuItem
1404 status collapsed
1405
1406 \begin_layout Plain Layout
1407 形式
1408 \end_layout
1409
1410 \end_inset
1411
1412 フィールドは,GUI中で形式を認識するために用いられる名称です.
1413 \begin_inset Flex MenuItem
1414 status collapsed
1415
1416 \begin_layout Plain Layout
1417 短縮名
1418 \end_layout
1419
1420 \end_inset
1421
1422 は,形式を内部的に識別するために用いられます.さらにファイル拡張子も入力する必要があります.これらはすべて必須事項です.オプションの
1423 \begin_inset Flex MenuItem
1424 status collapsed
1425
1426 \begin_layout Plain Layout
1427 捷径
1428 \end_layout
1429
1430 \end_inset
1431
1432 フィールドは,メニュー中で
1433 \begin_inset Flex Ruby
1434 status collapsed
1435
1436 \begin_layout Plain Layout
1437 捷径
1438 \begin_inset Argument post:1
1439 status collapsed
1440
1441 \begin_layout Plain Layout
1442 ショートカット
1443 \end_layout
1444
1445 \end_inset
1446
1447
1448 \end_layout
1449
1450 \end_inset
1451
1452 を提供するのに使用されます(たとえば,
1453 \begin_inset Flex MenuItem
1454 status collapsed
1455
1456 \begin_layout Plain Layout
1457 Ctrl+D
1458 \end_layout
1459
1460 \end_inset
1461
1462 を押すと
1463 \begin_inset Flex MenuItem
1464 status collapsed
1465
1466 \begin_layout Plain Layout
1467 表示\SpecialChar menuseparator
1468 DVI
1469 \end_layout
1470
1471 \end_inset
1472
1473 となります).
1474 \end_layout
1475
1476 \begin_layout Standard
1477 形式には,
1478 \begin_inset Flex MenuItem
1479 status collapsed
1480
1481 \begin_layout Plain Layout
1482 閲覧プログラム
1483 \end_layout
1484
1485 \end_inset
1486
1487
1488 \begin_inset Flex MenuItem
1489 status collapsed
1490
1491 \begin_layout Plain Layout
1492 編集プログラム
1493 \end_layout
1494
1495 \end_inset
1496
1497 を関連づけることができます.たとえば,PostScriptファイルを閲覧するのに
1498 \begin_inset Flex MenuItem
1499 status collapsed
1500
1501 \begin_layout Plain Layout
1502 Ghostview
1503 \end_layout
1504
1505 \end_inset
1506
1507 を使用したいとしましょう.このプログラムを起動するのに必要なコマンドを対応するフィールドに入力します.ここで,コマンドを定義するのに,次節に掲げる4つの変数を用
1508 いることができます.この閲覧プログラムは,\SpecialChar LyX
1509 中で画像を閲覧したり
1510 \begin_inset Flex MenuItem
1511 status collapsed
1512
1513 \begin_layout Plain Layout
1514 表示
1515 \end_layout
1516
1517 \end_inset
1518
1519 メニューを使用したときに起動されます.一方,編集プログラムは,たとえば,画像を右クリックして現れるコンテクストメニューで
1520 \begin_inset Flex MenuItem
1521 status collapsed
1522
1523 \begin_layout Plain Layout
1524 外部で編集
1525 \end_layout
1526
1527 \end_inset
1528
1529 を選択したときに起動します.
1530 \end_layout
1531
1532 \begin_layout Standard
1533 ファイル形式の
1534 \begin_inset Flex MenuItem
1535 status collapsed
1536
1537 \begin_layout Plain Layout
1538 MIME
1539 \end_layout
1540
1541 \end_inset
1542
1543 型は必須ではありませんが,指定するときには,すべての形式の中で一意的なものでなくてはなりません.これは,この形式のファイルをファイル内容から検出するのに用いられ
1544 ます.重要なファイル形式のうちには,
1545 \begin_inset CommandInset href
1546 LatexCommand href
1547 name "IANA"
1548 target "http://www.iana.org/assignments/media-types/"
1549 literal "false"
1550
1551 \end_inset
1552
1553 に公式に登録されたMIME型がないものがあります.そこで,\SpecialChar LyX
1554 は,
1555 \begin_inset CommandInset href
1556 LatexCommand href
1557 name "freedesktop.org"
1558 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1559 literal "false"
1560
1561 \end_inset
1562
1563 で指定されているMIME型拡張表を使用しています.
1564 \end_layout
1565
1566 \begin_layout Standard
1567 \begin_inset Flex MenuItem
1568 status collapsed
1569
1570 \begin_layout Plain Layout
1571 文書形式
1572 \end_layout
1573
1574 \end_inset
1575
1576 オプションは,\SpecialChar LyX
1577 に,この形式が文書として書き出すのに適していることを指示するものです.このオプションが有効となっていて,適切な変換経路が存在する場合には(第
1578 \begin_inset CommandInset ref
1579 LatexCommand ref
1580 reference "sec:変換子"
1581
1582 \end_inset
1583
1584 節を参照),この形式が
1585 \begin_inset Flex MenuItem
1586 status collapsed
1587
1588 \begin_layout Plain Layout
1589 ファイル\SpecialChar menuseparator
1590 書き出し
1591 \end_layout
1592
1593 \end_inset
1594
1595
1596 \begin_inset Flex MenuItem
1597 status collapsed
1598
1599 \begin_layout Plain Layout
1600 表示
1601 \end_layout
1602
1603 \end_inset
1604
1605 footlabel Label color for footnotす.
1606 \begin_inset Flex Code
1607 status collapsed
1608
1609 \begin_layout Plain Layout
1610 png
1611 \end_layout
1612
1613 \end_inset
1614
1615 のような純粋な画像形式は,このオプションを有効にしてはいけません.
1616 \begin_inset Flex Code
1617 status collapsed
1618
1619 \begin_layout Plain Layout
1620 pdf
1621 \end_layout
1622
1623 \end_inset
1624
1625 のようにベクター画像であると同時に文書でもあるような形式は,これを有効にします.
1626 \end_layout
1627
1628 \begin_layout Standard
1629 \begin_inset Flex MenuItem
1630 status collapsed
1631
1632 \begin_layout Plain Layout
1633 ベクター画像形式
1634 \end_layout
1635
1636 \end_inset
1637
1638 オプションは,\SpecialChar LyX
1639 にこの形式がベクター画像を含みうることを教示するものです.この情報は,
1640 \begin_inset Flex MenuItem
1641 status collapsed
1642
1643 \begin_layout Plain Layout
1644 pdflatex
1645 \end_layout
1646
1647 \end_inset
1648
1649 を書き出す際に,内包されている画像をどの形式に変換するかを決定するのに使用されます.
1650 \begin_inset Flex MenuItem
1651 status collapsed
1652
1653 \begin_layout Plain Layout
1654 pdflatex
1655 \end_layout
1656
1657 \end_inset
1658
1659 は,
1660 \begin_inset Flex MenuItem
1661 status collapsed
1662
1663 \begin_layout Plain Layout
1664 pdf
1665 \end_layout
1666
1667 \end_inset
1668
1669
1670 \begin_inset Flex MenuItem
1671 status collapsed
1672
1673 \begin_layout Plain Layout
1674 png
1675 \end_layout
1676
1677 \end_inset
1678
1679
1680 \begin_inset Flex MenuItem
1681 status collapsed
1682
1683 \begin_layout Plain Layout
1684 Des
1685 \end_layout
1686
1687 \end_inset
1688
1689 以外の画像形式を取り扱うことができないので,内包されている画像は,これらの形式に変換される必要があるかもしれない為です.内包されている画像が既に
1690 \begin_inset Flex MenuItem
1691 status collapsed
1692
1693 \begin_layout Plain Layout
1694 pdf
1695 \end_layout
1696
1697 \end_inset
1698
1699
1700 \begin_inset Flex MenuItem
1701 status collapsed
1702
1703 \begin_layout Plain Layout
1704 png
1705 \end_layout
1706
1707 \end_inset
1708
1709
1710 \begin_inset Flex MenuItem
1711 status collapsed
1712
1713 \begin_layout Plain Layout
1714 jpg
1715 \end_layout
1716
1717 \end_inset
1718
1719 のいずれかになっていない場合には,ベクター画像形式オプションが有効になっている場合には
1720 \begin_inset Flex MenuItem
1721 status collapsed
1722
1723 \begin_layout Plain Layout
1724 pdf
1725 \end_layout
1726
1727 \end_inset
1728
1729 に変換され,そうでない場合には
1730 \begin_inset Flex MenuItem
1731 status collapsed
1732
1733 \begin_layout Plain Layout
1734 png
1735 \end_layout
1736
1737 \end_inset
1738
1739 に変換されます.
1740 \end_layout
1741
1742 \begin_layout Section
1743 複写子
1744 \end_layout
1745
1746 \begin_layout Standard
1747 形式の変換はすべて,\SpecialChar LyX
1748 の一時ディレクトリで行われるため,変換用にファイルを一時ディレクトリにコピーする前段階で,ファイルに変更を加える必要のあることがあります
1749 \begin_inset Foot
1750 status collapsed
1751
1752 \begin_layout Plain Layout
1753 たとえば,ファイルが他のファイル—たとえば画像—を,相対ファイル名を用いて参照している場合,このファイルが一時ディレクトリにコピーされると参照が無効になる場合が
1754 あります.
1755 \end_layout
1756
1757 \end_inset
1758
1759 .これは複写子によって取り扱われ,複写子は,ファイルを一時ディレクトリに(あるいは一時ディレクトリから)コピーすると同時に,その過程でファイルに変更を加えます.
1760 \end_layout
1761
1762 \begin_layout Standard
1763 複写子の定義においては,以下の8つの変数を用いることができます.
1764 \end_layout
1765
1766 \begin_layout Labeling
1767 \labelwidthstring 00.00.0000
1768 \begin_inset Flex Code
1769 status collapsed
1770
1771 \begin_layout Plain Layout
1772 $$s
1773 \end_layout
1774
1775 \end_inset
1776
1777  \SpecialChar LyX
1778 のシステムディレクトリ(例:
1779 \begin_inset Flex MenuItem
1780 status collapsed
1781
1782 \begin_layout Plain Layout
1783 /usr/share/lyx
1784 \end_layout
1785
1786 \end_inset
1787
1788
1789 \end_layout
1790
1791 \begin_layout Labeling
1792 \labelwidthstring 00.00.0000
1793 \begin_inset Flex Code
1794 status collapsed
1795
1796 \begin_layout Plain Layout
1797 $$i
1798 \end_layout
1799
1800 \end_inset
1801
1802  入力ファイル
1803 \end_layout
1804
1805 \begin_layout Labeling
1806 \labelwidthstring 00.00.0000
1807 \begin_inset Flex Code
1808 status collapsed
1809
1810 \begin_layout Plain Layout
1811 $$o
1812 \end_layout
1813
1814 \end_inset
1815
1816  出力ファイル
1817 \end_layout
1818
1819 \begin_layout Labeling
1820 \labelwidthstring 00.00.0000
1821 \begin_inset Flex Code
1822 status collapsed
1823
1824 \begin_layout Plain Layout
1825 $$b
1826 \end_layout
1827
1828 \end_inset
1829
1830  \SpecialChar LyX
1831 一時ディレクトリ内でのベース名(ファイル拡張子なし)
1832 \end_layout
1833
1834 \begin_layout Labeling
1835 \labelwidthstring 00.00.0000
1836 \begin_inset Flex Code
1837 status collapsed
1838
1839 \begin_layout Plain Layout
1840 $$p
1841 \end_layout
1842
1843 \end_inset
1844
1845  \SpecialChar LyX
1846 一時ディレクトリのフルパス名
1847 \end_layout
1848
1849 \begin_layout Labeling
1850 \labelwidthstring 00.00.0000
1851 \begin_inset Flex Code
1852 status collapsed
1853
1854 \begin_layout Plain Layout
1855 $$r
1856 \end_layout
1857
1858 \end_inset
1859
1860  処理されている元の\SpecialChar LyX
1861 ファイルのフルパス名
1862 \end_layout
1863
1864 \begin_layout Labeling
1865 \labelwidthstring 00.00.0000
1866 \begin_inset Flex Code
1867 status collapsed
1868
1869 \begin_layout Plain Layout
1870 $$f
1871 \end_layout
1872
1873 \end_inset
1874
1875  \SpecialChar LyX
1876 ファイルのファイル名(ディレクトリパスなし)
1877 \end_layout
1878
1879 \begin_layout Labeling
1880 \labelwidthstring 00.00.0000
1881 \begin_inset Flex Code
1882 status collapsed
1883
1884 \begin_layout Plain Layout
1885 $$l
1886 \end_layout
1887
1888 \end_inset
1889
1890  「\SpecialChar LaTeX
1891 名」
1892 \end_layout
1893
1894 \begin_layout Standard
1895 最後の変数は,\SpecialChar LaTeX
1896
1897 \series bold
1898
1899 \backslash
1900 include
1901 \series default
1902 コマンドで使用されるのと同形式のファイル名です.これは,書き出すファイルがそのようなインクルードに適している場合のみ,使用さるべきものです.
1903 \end_layout
1904
1905 \begin_layout Standard
1906 複写子は,出力ファイルに関する操作であれば,ほとんどすべてに対応することができます.たとえば,生成したPDFファイルを,
1907 \begin_inset Flex Code
1908 status collapsed
1909
1910 \begin_layout Plain Layout
1911 /home/you/pdf/
1912 \end_layout
1913
1914 \end_inset
1915
1916 という特別なディレクトリにコピーしたいものとしましょう.その場合には,以下のようなシェルスクリプトを書きます.
1917 \end_layout
1918
1919 \begin_layout Standard
1920 \begin_inset listings
1921 inline false
1922 status open
1923
1924 \begin_layout Plain Layout
1925
1926 #!/bin/bash
1927 \end_layout
1928
1929 \begin_layout Plain Layout
1930
1931 FROMFILE=$1
1932 \end_layout
1933
1934 \begin_layout Plain Layout
1935
1936 TOFILE=`basename $2`
1937 \end_layout
1938
1939 \begin_layout Plain Layout
1940
1941 DescriptionE /home/you/pdf/$TOFILE
1942 \end_layout
1943
1944 \end_inset
1945
1946 これを,例えば
1947 \begin_inset Flex Code
1948 status collapsed
1949
1950 \begin_layout Plain Layout
1951 /home/you/.lyx/scripts/pdfcopier.sh
1952 \end_layout
1953
1954 \end_inset
1955
1956 のような,自身のローカル\SpecialChar LyX
1957 ディレクトリに保存し,お使いのプラットフォームが必要とするならば,実行可能属性を付与します.それから,
1958 \begin_inset Flex MenuItem
1959 status collapsed
1960
1961 \begin_layout Plain Layout
1962 ツール\SpecialChar menuseparator
1963 設定
1964 \end_layout
1965
1966 \end_inset
1967
1968 ダイアログの
1969 \begin_inset Flex MenuItem
1970 status collapsed
1971
1972 \begin_layout Plain Layout
1973 ファイル処理\SpecialChar menuseparator
1974 ファイル形式
1975 \end_layout
1976
1977 \end_inset
1978
1979 の中で,
1980 \begin_inset Flex MenuItem
1981 status collapsed
1982
1983 \begin_layout Plain Layout
1984 PDF(pdflatex)
1985 \end_layout
1986
1987 \end_inset
1988
1989 形式—あるいは他のPDF形式のうちどれか—を選択し,
1990 \begin_inset Flex MenuItem
1991 status collapsed
1992
1993 \begin_layout Plain Layout
1994 複写子
1995 \end_layout
1996
1997 \end_inset
1998
1999 フィールドに
2000 \begin_inset Flex Code
2001 status collapsed
2002
2003 \begin_layout Plain Layout
2004 pdfcopier.sh $$i $$o
2005 \end_layout
2006
2007 \end_inset
2008
2009 と入力します.
2010 \end_layout
2011
2012 \begin_layout Standard
2013 複写子は,\SpecialChar LyX
2014 自身が様々な変換に使用します.たとえば,適切なプログラムが検出された場合,\SpecialChar LyX
2015 は自動的に
2016 \begin_inset Flex MenuItem
2017 status collapsed
2018
2019 \begin_layout Plain Layout
2020 HTML
2021 \end_layout
2022
2023 \end_inset
2024
2025 形式と
2026 \begin_inset Flex MenuItem
2027 status collapsed
2028
2029 \begin_layout Plain Layout
2030 HTML
2031 \begin_inset space ~
2032 \end_inset
2033
2034 (MS Word)
2035 \end_layout
2036
2037 \end_inset
2038
2039 形式の複写子を導入します.これらの形式を書き出す際,複写子は,本体のHTMLファイルだけでなく,関連した様々なファイル(スタイルファイルや画像など)もコピーされ
2040 るように手配します.これらのファイルはすべて,元の\SpecialChar LyX
2041 ファイルのあるディレクトリのサブディレクトリに書き込まれます.
2042 \begin_inset Foot
2043 status collapsed
2044
2045 \begin_layout Plain Layout
2046 この複写子の挙動は調整することができます.非必須の「-e」オプションは,コピーする拡張子をコンマ区切りで羅列したものを引数にとります.これを省略した場合には,す
2047 べてのファイルがコピーされます.「-t」引数は,生成したディレクトリに書き加える拡張子を指定するものです.既定値では,これは「
2048 \begin_inset Flex MenuItem
2049 status collapsed
2050
2051 \begin_layout Plain Layout
2052 LyXconv
2053 \end_layout
2054
2055 \end_inset
2056
2057 」となっているので,
2058 \begin_inset Flex MenuItem
2059 status collapsed
2060
2061 \begin_layout Plain Layout
2062 /path/to/filename.lyx
2063 \end_layout
2064
2065 \end_inset
2066
2067 から生成されたHTMLファイルは,
2068 \begin_inset Flex MenuItem
2069 status collapsed
2070
2071 \begin_layout Plain Layout
2072 /path/to/filename.html.LyXconv
2073 \end_layout
2074
2075 \end_inset
2076
2077 となります..
2078  
2079 \end_layout
2080
2081 \end_inset
2082
2083
2084 \end_layout
2085
2086 \begin_layout Section
2087 変換子
2088 \begin_inset CommandInset label
2089 LatexCommand label
2090 name "sec:変換子"
2091
2092 \end_inset
2093
2094
2095 \end_layout
2096
2097 \begin_layout Standard
2098 各形式間でファイルを変換するために,ご自身の変換子を定義することができます.これは,
2099 \begin_inset Flex MenuItem
2100 status collapsed
2101
2102 \begin_layout Plain Layout
2103 ツール\SpecialChar menuseparator
2104 設定\SpecialChar menuseparator
2105 ファイル処理\SpecialChar menuseparator
2106 変換子
2107 \end_layout
2108
2109 \end_inset
2110
2111 ダイアログで行います.
2112 \end_layout
2113
2114 \begin_layout Standard
2115 新規に変換子を定義するには,ドロップダウンリストから
2116 \begin_inset Flex MenuItem
2117 status collapsed
2118
2119 \begin_layout Plain Layout
2120 変換元の形式
2121 \end_layout
2122
2123 \end_inset
2124
2125
2126 \begin_inset Flex MenuItem
2127 status collapsed
2128
2129 \begin_layout Plain Layout
2130 変換先の形式
2131 \end_layout
2132
2133 \end_inset
2134
2135 を選択し,変換に必要なコマンドを入力してから
2136 \begin_inset Flex MenuItem
2137 status collapsed
2138
2139 \begin_layout Plain Layout
2140 追加
2141 \end_layout
2142
2143 \end_inset
2144
2145 ボタンを押してください.変換子の定義には,以下のような変数を使用することができます.
2146 \end_layout
2147
2148 \begin_layout Labeling
2149 \labelwidthstring 00.00.0000
2150 \begin_inset Flex Code
2151 status collapsed
2152
2153 \begin_layout Plain Layout
2154 $$s
2155 \end_layout
2156
2157 \end_inset
2158
2159  \SpecialChar LyX
2160 システムディレクトリ
2161 \end_layout
2162
2163 \begin_layout Labeling
2164 \labelwidthstring 00.00.0000
2165 \begin_inset Flex Code
2166 status collapsed
2167
2168 \begin_layout Plain Layout
2169 $$i
2170 \end_layout
2171
2172 \end_inset
2173
2174  入力ファイル
2175 \end_layout
2176
2177 \begin_layout Labeling
2178 \labelwidthstring 00.00.0000
2179 \begin_inset Flex Code
2180 status collapsed
2181
2182 \begin_layout Plain Layout
2183 $$o
2184 \end_layout
2185
2186 \end_inset
2187
2188  出力ファイル
2189 \end_layout
2190
2191 \begin_layout Labeling
2192 \labelwidthstring 00.00.0000
2193 \begin_inset Flex Code
2194 status collapsed
2195
2196 \begin_layout Plain Layout
2197 $$b
2198 \end_layout
2199
2200 \end_inset
2201
2202  入力ファイルのベースファイル名(拡張子をとった部分)
2203 \end_layout
2204
2205 \begin_layout Labeling
2206 \labelwidthstring 00.00.0000
2207 \begin_inset Flex Code
2208 status collapsed
2209
2210 \begin_layout Plain Layout
2211 $$p
2212 \end_layout
2213
2214 \end_inset
2215
2216  入力ファイルのパス
2217 \end_layout
2218
2219 \begin_layout Labeling
2220 \labelwidthstring 00.00.0000
2221 \begin_inset Flex Code
2222 status collapsed
2223
2224 \begin_layout Plain Layout
2225 $$r
2226 \end_layout
2227
2228 \end_inset
2229
2230  元の入力ファイルのパス(変換子が連鎖して呼び出されたときの挙動が$$pとは異なります)
2231 \end_layout
2232
2233 \begin_layout Labeling
2234 \labelwidthstring 00.00.0000
2235 \begin_inset Flex Code
2236 status collapsed
2237
2238 \begin_layout Plain Layout
2239 $$e
2240 \end_layout
2241
2242 \end_inset
2243
2244  文書エンコーディングのiconv名
2245 \end_layout
2246
2247 \begin_layout Standard
2248 \begin_inset Flex MenuItem
2249 status collapsed
2250
2251 \begin_layout Plain Layout
2252 追加フラグ
2253 \end_layout
2254
2255 \end_inset
2256
2257 フィールドには,以下のフラグをコンマで区切って入力することができます.
2258 \end_layout
2259
2260 \begin_layout Labeling
2261 \labelwidthstring 00.00.0000
2262 \begin_inset Flex Code
2263 status collapsed
2264
2265 \begin_layout Plain Layout
2266 latex
2267 \end_layout
2268
2269 \end_inset
2270
2271  この変換子が\SpecialChar LaTeX
2272 の一種を実行することを示します.これによって,\SpecialChar LyX
2273 の\SpecialChar LaTeX
2274 エラーログに記録を残せるようになります.
2275 \end_layout
2276
2277 \begin_layout Labeling
2278 \labelwidthstring 00.00.0000
2279 \begin_inset Flex Code
2280 status collapsed
2281
2282 \begin_layout Plain Layout
2283 needaux
2284 \end_layout
2285
2286 \end_inset
2287
2288  変換に\SpecialChar LaTeX
2289
2290 \begin_inset Flex MenuItem
2291 status collapsed
2292
2293 \begin_layout Plain Layout
2294 .aux
2295 \end_layout
2296
2297 \end_inset
2298
2299 ファイルが必要であることを示します.
2300 \end_layout
2301
2302 \begin_layout Labeling
2303 \labelwidthstring 00.00.0000
2304 \begin_inset Flex Code
2305 status collapsed
2306
2307 \begin_layout Plain Layout
2308 nice
2309 \end_layout
2310
2311 \end_inset
2312
2313  バックエンドからの
2314 \begin_inset Quotes erd
2315 \end_inset
2316
2317 nice
2318 \begin_inset Quotes erd
2319 \end_inset
2320
2321 なファイル,つまり\SpecialChar LyX
2322 が書き出す\SpecialChar LaTeX
2323 ファイルのように,
2324 \begin_inset Flex Code
2325 status open
2326
2327 \begin_layout Plain Layout
2328 input@path
2329 \end_layout
2330
2331 \end_inset
2332
2333 のない\SpecialChar LaTeX
2334 ファイルを必要とします.
2335 \end_layout
2336
2337 \begin_layout Labeling
2338 \labelwidthstring 00.00.0000
2339 \begin_inset Flex Code
2340 status collapsed
2341
2342 \begin_layout Plain Layout
2343 xml
2344 \end_layout
2345
2346 \end_inset
2347
2348  出力がXMLであることを示します.
2349 \end_layout
2350
2351 \begin_layout Standard
2352 以下の3つのフラグは 
2353 \begin_inset Flex MenuItem
2354 status collapsed
2355
2356 \begin_layout Plain Layout
2357 key
2358 \begin_inset space ~
2359 \end_inset
2360
2361 =
2362 \begin_inset space ~
2363 \end_inset
2364
2365 value
2366 \end_layout
2367
2368 \end_inset
2369
2370 形式の引数をとります(したがって厳密にはフラグとは呼べません).
2371 \end_layout
2372
2373 \begin_layout Labeling
2374 \labelwidthstring 00.00.0000
2375 \begin_inset Flex Code
2376 status collapsed
2377
2378 \begin_layout Plain Layout
2379 parselog
2380 \end_layout
2381
2382 \end_inset
2383
2384  これを指定すると,変換子の標準エラーが
2385 \begin_inset Flex Code
2386 status collapsed
2387
2388 \begin_layout Plain Layout
2389 infile.out
2390 \end_layout
2391
2392 \end_inset
2393
2394 ファイルにリダイレクトされ,引数に指定されたスクリプトが
2395 \begin_inset Flex Code
2396 status collapsed
2397
2398 \begin_layout Plain Layout
2399 script < infile.out > infile.log
2400 \end_layout
2401
2402 \end_inset
2403
2404 の形で実行されるようになります.引数には
2405 \begin_inset Flex Code
2406 status collapsed
2407
2408 \begin_layout Plain Layout
2409 $$s
2410 \end_layout
2411
2412 \end_inset
2413
2414 を指定することができます.
2415 \end_layout
2416
2417 \begin_layout Labeling
2418 \labelwidthstring 00.00.0000
2419 \begin_inset Flex Code
2420 status collapsed
2421
2422 \begin_layout Plain Layout
2423 resultdir
2424 \end_layout
2425
2426 \end_inset
2427
2428  これには,変換子が生成したファイルをダンプするディレクトリ名を指定します.\SpecialChar LyX
2429 はこのディレクトリを作成せず,ここに何もコピーしませんが,このディレクトリを宛先にコ
2430 ピーします.引数には,
2431 \begin_inset Flex Code
2432 status collapsed
2433
2434 \begin_layout Plain Layout
2435 $$b
2436 \end_layout
2437
2438 \end_inset
2439
2440 を使用することができ,これはディレクトリがコピーされる際に,入力ファイルおよび出力ファイルのベース名で置換されます.
2441 \begin_inset Newline newline
2442 \end_inset
2443
2444 resultdirとusetempdirは,同時に用いることはできませんのでご注意ください.前者が指定されているときには,後者は無視されます.
2445 \end_layout
2446
2447 \begin_layout Labeling
2448 \labelwidthstring 00.00.0000
2449 \begin_inset Flex Code
2450 status collapsed
2451
2452 \begin_layout Plain Layout
2453 resultfile
2454 \end_layout
2455
2456 \end_inset
2457
2458  これは出力ファイル名を指定するもので,
2459 \begin_inset Flex Code
2460 status collapsed
2461
2462 \begin_layout Plain Layout
2463 $$b
2464 \end_layout
2465
2466 \end_inset
2467
2468 を使用することができます.resultdirが指定されているときのみ有効で,必ず用いる必要はありません.指定されていなければ,既定値は「index」です.
2469 \end_layout
2470
2471 \begin_layout Standard
2472 最後の3つは,\SpecialChar LyX
2473 とともに導入される変換子には,現在いずれも使用されておりません.
2474 \end_layout
2475
2476 \begin_layout Standard
2477 変換しようとするすべての形式のあいだに変換子を定義する必要はありません.たとえば,「\SpecialChar LyX
2478 からPostScript」変換子が定義されていないのに,\SpecialChar LyX
2479 はPostScrip
2480 tを書き出していることに気づかれることでしょう.これは,まず\SpecialChar LaTeX
2481 ファイルを生成した後に(これには変換子を定義する必要はありません),「LaTeXからDVI」変換子を
2482 使用してDVIに変換し,最後に,得られたDVIをPostScriptに変換することによって実現しています.\SpecialChar LyX
2483 はこのような変換子の「連鎖」を自動的に見つけ,つねに最
2484 も短い連鎖を選択します.しかしながら,なお形式間に複数の変換方法を定義することも可能です.たとえば,標準的な\SpecialChar LyX
2485 設定は,\SpecialChar LaTeX
2486 からPDFへ変換するのに,以下の3つの方法を
2487 用意しています.
2488 \end_layout
2489
2490 \begin_layout Enumerate
2491 直接
2492 \begin_inset Flex MenuItem
2493 status collapsed
2494
2495 \begin_layout Plain Layout
2496 pdflatex
2497 \end_layout
2498
2499 \end_inset
2500
2501 を使用するもの
2502 \end_layout
2503
2504 \begin_layout Enumerate
2505 (DVIと)PostScriptを経由して
2506 \begin_inset Flex MenuItem
2507 status collapsed
2508
2509 \begin_layout Plain Layout
2510 ps2pdf
2511 \end_layout
2512
2513 \end_inset
2514
2515 を使用するもの
2516 \end_layout
2517
2518 \begin_layout Enumerate
2519 DVI経由で
2520 \begin_inset Flex MenuItem
2521 status collapsed
2522
2523 \begin_layout Plain Layout
2524 dvipdfm
2525 \end_layout
2526
2527 \end_inset
2528
2529 を使用するもの
2530 \end_layout
2531
2532 \begin_layout Enumerate
2533 直接
2534 \begin_inset Flex MenuItem
2535 status collapsed
2536
2537 \begin_layout Plain Layout
2538 Xe\SpecialChar TeX
2539
2540 \end_layout
2541
2542 \end_inset
2543
2544 を使用するもの
2545 \end_layout
2546
2547 \begin_layout Enumerate
2548 直接
2549 \begin_inset Flex MenuItem
2550 status collapsed
2551
2552 \begin_layout Plain Layout
2553 Lua\SpecialChar TeX
2554
2555 \end_layout
2556
2557 \end_inset
2558
2559 を使用するもの
2560 \end_layout
2561
2562 \begin_layout Standard
2563 このように代替連鎖を定義するには,第
2564 \begin_inset CommandInset ref
2565 LatexCommand ref
2566 reference "sec:ファイル形式"
2567
2568 \end_inset
2569
2570 節に述べられているように,ターゲットとなる「ファイル形式」を複数定義しなくてはなりません.たとえば,標準設定では,
2571 \begin_inset Flex MenuItem
2572 status collapsed
2573
2574 \begin_layout Plain Layout
2575 pdf
2576 \end_layout
2577
2578 \end_inset
2579
2580 (
2581 \begin_inset Flex MenuItem
2582 status collapsed
2583
2584 \begin_layout Plain Layout
2585 ps2pdf
2586 \end_layout
2587
2588 \end_inset
2589
2590 用)・
2591 \begin_inset Flex MenuItem
2592 status collapsed
2593
2594 \begin_layout Plain Layout
2595 pdf2
2596 \end_layout
2597
2598 \end_inset
2599
2600 (
2601 \begin_inset Flex MenuItem
2602 status collapsed
2603
2604 \begin_layout Plain Layout
2605 pdflatex
2606 \end_layout
2607
2608 \end_inset
2609
2610 用)・
2611 \begin_inset Flex MenuItem
2612 status collapsed
2613
2614 \begin_layout Plain Layout
2615 pdf3
2616 \end_layout
2617
2618 \end_inset
2619
2620 (
2621 \begin_inset Flex MenuItem
2622 status collapsed
2623
2624 \begin_layout Plain Layout
2625 dvipdfm
2626 \end_layout
2627
2628 \end_inset
2629
2630 用)・
2631 \begin_inset Flex MenuItem
2632 status collapsed
2633
2634 \begin_layout Plain Layout
2635 pdf4
2636 \end_layout
2637
2638 \end_inset
2639
2640 (
2641 \begin_inset Flex MenuItem
2642 status collapsed
2643
2644 \begin_layout Plain Layout
2645 Xe\SpecialChar TeX
2646
2647 \end_layout
2648
2649 \end_inset
2650
2651 用)・
2652 \begin_inset Flex MenuItem
2653 status collapsed
2654
2655 \begin_layout Plain Layout
2656 pdf5
2657 \end_layout
2658
2659 \end_inset
2660
2661 (
2662 \begin_inset Flex MenuItem
2663 status collapsed
2664
2665 \begin_layout Plain Layout
2666 Lua\SpecialChar TeX
2667
2668 \end_layout
2669
2670 \end_inset
2671
2672 用\SpecialChar softhyphen
2673 ) と命名された形式が定義されていて,すべて共通の拡張子
2674 \begin_inset Flex MenuItem
2675 status collapsed
2676
2677 \begin_layout Plain Layout
2678 .pdf
2679 \end_layout
2680
2681 \end_inset
2682
2683 を持ち,上記で言及した各変換方法に対応しています.
2684 \end_layout
2685
2686 \begin_layout Chapter
2687 \SpecialChar LyX
2688 の各国語対応
2689 \begin_inset CommandInset label
2690 LatexCommand label
2691 name "cha:LyXの各国語対応"
2692
2693 \end_inset
2694
2695
2696 \end_layout
2697
2698 \begin_layout Standard
2699 \SpecialChar LyX
2700 は,翻訳された操作画面の利用をサポートしています.私たちが最後に確かめたところでは,\SpecialChar LyX
2701 は30言語の翻訳を提供しています.選択した言語は,使用する
2702 \emph on
2703 ロケール
2704 \emph default
2705 と呼ばれます(ロケール設定についての詳しい資料は,お使いの基本ソフトに添付のロケール関連説明書をご覧ください.Linuxの場合は,マニュアルページの
2706 \begin_inset Flex Code
2707 status collapsed
2708
2709 \begin_layout Plain Layout
2710 locale(5)
2711 \end_layout
2712
2713 \end_inset
2714
2715 から見ると良いかもしれません).
2716 \end_layout
2717
2718 \begin_layout Standard
2719 これらの翻訳は適切に機能しますが,欠点もいくつかあることに注意してください.たとえば,ダイアログはすべて英文を念頭にデザインされているため,翻訳文の一部は,割り
2720 当てられたスペースに収めるには大きすぎるかもしれません.これは表示上の問題に過ぎず,他の障害は引き起こしません.また,翻訳によっては,すべての
2721 \begin_inset Flex Ruby
2722 status collapsed
2723
2724 \begin_layout Plain Layout
2725 捷径
2726 \begin_inset Argument post:1
2727 status collapsed
2728
2729 \begin_layout Plain Layout
2730 ショートカット
2731 \end_layout
2732
2733 \end_inset
2734
2735
2736 \end_layout
2737
2738 \end_inset
2739
2740 が定義されていないことに気づかれるでしょう.捷径のために空いている文字が十分ないことが時々あるのです.単に翻訳者がまだ捷径を定義していないこともあるでしょう.も
2741 ちろん,私たちの各国語対応チーム—あなたも参加したいと思われるかもしれません
2742 \begin_inset Foot
2743 status collapsed
2744
2745 \begin_layout Plain Layout
2746 もしあなたが英語以外の言語を流暢に操れるならば,これらのチームに参加することは,\SpecialChar LyX
2747 コミュニティに報いるたいへん素晴らしい方法です!
2748 \end_layout
2749
2750 \end_inset
2751
2752 —は,\SpecialChar LyX
2753 の将来のバージョンでこれらの欠点を修正しようとするでしょう.
2754 \end_layout
2755
2756 \begin_layout Section
2757 \SpecialChar LyX
2758 を翻訳する
2759 \end_layout
2760
2761 \begin_layout Subsection
2762 グラフィカル・ユーザ・インタフェース(テキスト・メッセージ)を翻訳する
2763 \begin_inset Argument 1
2764 status collapsed
2765
2766 \begin_layout Plain Layout
2767 GUI(テキストメッセージ)を翻訳する
2768 \end_layout
2769
2770 \end_inset
2771
2772
2773 \end_layout
2774
2775 \begin_layout Standard
2776 \SpecialChar LyX
2777 は,操作画面の国際化対応にGNU 
2778 \begin_inset Flex Code
2779 status collapsed
2780
2781 \begin_layout Plain Layout
2782 gettext
2783 \end_layout
2784
2785 \end_inset
2786
2787 ライブラリを使用します.\SpecialChar LyX
2788 のすべてのメニューやダイアログでお好みの言語を話させたいときには,その言語の
2789 \begin_inset Flex Code
2790 status collapsed
2791
2792 \begin_layout Plain Layout
2793 po
2794 \end_layout
2795
2796 \end_inset
2797
2798 ファイルが必要です.このファイルが利用可能であれば,そこから
2799 \begin_inset Flex Code
2800 status collapsed
2801
2802 \begin_layout Plain Layout
2803 mo
2804 \end_layout
2805
2806 \end_inset
2807
2808 ファイルを生成して,この
2809 \begin_inset Flex Code
2810 status collapsed
2811
2812 \begin_layout Plain Layout
2813 mo
2814 \end_layout
2815
2816 \end_inset
2817
2818 ファイルをインストールしなくてはなりません.この全過程は,GNU 
2819 \begin_inset Flex Code
2820 status collapsed
2821
2822 \begin_layout Plain Layout
2823 gettext
2824 \end_layout
2825
2826 \end_inset
2827
2828 の取扱説明書に説明があります.この作業をあなたのためだけに行うこともできますが,もしせっかくするのであれば,あなたの骨折りの結果を\SpecialChar LyX
2829 コミュニティの他の人々と分かち
2830 合いませんか.どのように段取りを進めればよいか,詳しくは\SpecialChar LyX
2831 開発者メーリングリストにメールを送ってください.
2832 \end_layout
2833
2834 \begin_layout Standard
2835 要約すれば,以下のように行います(xxは言語コードを表します).
2836 \end_layout
2837
2838 \begin_layout Itemize
2839 \SpecialChar LyX
2840 ソースコードをチェックアウトしてください(
2841 \begin_inset CommandInset href
2842 LatexCommand href
2843 name "ウェブ上の情報"
2844 target "https://www.lyx.org/HowToUseGIT"
2845 literal "false"
2846
2847 \end_inset
2848
2849 参照).
2850 \end_layout
2851
2852 \begin_layout Itemize
2853 \begin_inset Flex Code
2854 status collapsed
2855
2856 \begin_layout Plain Layout
2857 lyx.pot
2858 \end_layout
2859
2860 \end_inset
2861
2862 ファイルを
2863 \begin_inset Flex Code
2864 status collapsed
2865
2866 \begin_layout Plain Layout
2867 **.po
2868 \end_layout
2869
2870 \end_inset
2871
2872 ファイルのあるフォルダにコピーして,
2873 \begin_inset Flex Code
2874 status collapsed
2875
2876 \begin_layout Plain Layout
2877 xx.po
2878 \end_layout
2879
2880 \end_inset
2881
2882 に名前を付け替えてください(
2883 \begin_inset Flex Code
2884 status collapsed
2885
2886 \begin_layout Plain Layout
2887 lyx.pot
2888 \end_layout
2889
2890 \end_inset
2891
2892 がどこにもない場合には,コンソールからそのディレクトリで
2893 \begin_inset Flex Code
2894 status collapsed
2895
2896 \begin_layout Plain Layout
2897 make lyx.pot
2898 \end_layout
2899
2900 \end_inset
2901
2902 コマンドを実行し,作成し直すか,他言語の既存のpoファイルをひな型として使用することができます).
2903 \end_layout
2904
2905 \begin_layout Itemize
2906 \begin_inset Flex Code
2907 status collapsed
2908
2909 \begin_layout Plain Layout
2910 xx.po
2911 \end_layout
2912
2913 \end_inset
2914
2915 を編集します.
2916 \begin_inset Foot
2917 status collapsed
2918
2919 \begin_layout Plain Layout
2920 これは単なるテキストファイルなので,どのテキストエディタでも編集できます.しかし,
2921 \family typewriter
2922 Poedit
2923 \family default
2924 (全プラットフォーム用)や
2925 \family typewriter
2926 KBabel
2927 \family default
2928 (KDE用)のように,この目的の編集をサポートする特別なプログラムがあります.
2929 \family typewriter
2930 Emacs
2931 \family default
2932 にも
2933 \begin_inset Flex Code
2934 status collapsed
2935
2936 \begin_layout Plain Layout
2937 po
2938 \end_layout
2939
2940 \end_inset
2941
2942 ファイルを編集するための「モード」があります,第
2943 \begin_inset Flex URL
2944 status open
2945
2946 \begin_layout Plain Layout
2947
2948 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html#PO-Mode
2949 \end_layout
2950
2951 \end_inset
2952
2953
2954 \end_layout
2955
2956 \end_inset
2957
2958 メニューラベルやウィジェットラベルのうちには,翻訳しなくてはならない
2959 \begin_inset Flex Ruby
2960 status collapsed
2961
2962 \begin_layout Plain Layout
2963 捷径
2964 \begin_inset Argument post:1
2965 status collapsed
2966
2967 \begin_layout Plain Layout
2968 ショートカット
2969 \end_layout
2970
2971 \end_inset
2972
2973
2974 \end_layout
2975
2976 \end_inset
2977
2978 がある場合があります.これらのキーは「|」の後に記されており,当該言語の単語やフレーズに対応して翻訳しなくてはなりません.さらに,新しい
2979 \begin_inset Flex Code
2980 status collapsed
2981
2982 \begin_layout Plain Layout
2983 po
2984 \end_layout
2985
2986 \end_inset
2987
2988 ファイルの冒頭に,あなたの電子メールアドレスなどの情報も書き加えて,人々があなたに提案や,滑稽な怒りのメッセージを届けることができるようにしてください.
2989 \end_layout
2990
2991 \begin_layout Standard
2992 もし,あなたがこれを自身のためだけに行っているのであれば,
2993 \end_layout
2994
2995 \begin_layout Itemize
2996 \begin_inset Flex Code
2997 status collapsed
2998
2999 \begin_layout Plain Layout
3000 xx.mo
3001 \end_layout
3002
3003 \end_inset
3004
3005 を生成してください.これは
3006 \begin_inset Flex Code
3007 status collapsed
3008
3009 \begin_layout Plain Layout
3010 msgfmt -o xx.mo < xx.po
3011 \end_layout
3012
3013 \end_inset
3014
3015 でできます.
3016 \end_layout
3017
3018 \begin_layout Itemize
3019 この
3020 \begin_inset Flex Code
3021 status collapsed
3022
3023 \begin_layout Plain Layout
3024 mo
3025 \end_layout
3026
3027 \end_inset
3028
3029 ファイルを,お使いのロケールツリー中,言語xxのアプリケーションメッセージ用の正式なディレクトリにコピーして,
3030 \begin_inset Flex Code
3031 status collapsed
3032
3033 \begin_layout Plain Layout
3034 lyx.mo
3035 \end_layout
3036
3037 \end_inset
3038
3039 という名称にしてください(例:
3040 \begin_inset Flex Code
3041 status collapsed
3042
3043 \begin_layout Plain Layout
3044 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3045 \end_layout
3046
3047 \end_inset
3048
3049 ).
3050 \end_layout
3051
3052 \begin_layout Standard
3053 しかしながら前述のように,この新しい
3054 \begin_inset Flex Code
3055 status collapsed
3056
3057 \begin_layout Plain Layout
3058 po
3059 \end_layout
3060
3061 \end_inset
3062
3063 ファイルを他の人たちが使用できるよう,\SpecialChar LyX
3064 頒布版に追加できることが最善です.これを追加するには,\SpecialChar LyX
3065 に変更を加える必要がありますので,もしその気があれば,開発者メーリン
3066 グリストに電子メールを送ってください.
3067 \end_layout
3068
3069 \begin_layout Subsubsection
3070 多義訳語メッセージ
3071 \end_layout
3072
3073 \begin_layout Standard
3074 時には,一つの英語のメッセージが,翻訳先の言語では複数のメッセージに翻訳されなくてはならないことが判明することがあります.一つの例は,
3075 \begin_inset Flex Code
3076 status collapsed
3077
3078 \begin_layout Plain Layout
3079 To
3080 \end_layout
3081
3082 \end_inset
3083
3084 というメッセージで,これは英語で「to」がどういう意味を持っているかによって,独語ではNachと訳されたりBisと訳されたりします.GNU 
3085 \begin_inset Flex Code
3086 status collapsed
3087
3088 \begin_layout Plain Layout
3089 gettext
3090 \end_layout
3091
3092 \end_inset
3093
3094 は,このような多義訳語を
3095 \begin_inset Flex Code
3096 status collapsed
3097
3098 \begin_layout Plain Layout
3099 To
3100 \end_layout
3101
3102 \end_inset
3103
3104 の代わりに,
3105 \begin_inset Flex Code
3106 status collapsed
3107
3108 \begin_layout Plain Layout
3109 To[[as in 'From format x to format y']]
3110 \end_layout
3111
3112 \end_inset
3113
3114
3115 \begin_inset Flex Code
3116 status collapsed
3117
3118 \begin_layout Plain Layout
3119 To[[as in 'From page x to page y']]
3120 \end_layout
3121
3122 \end_inset
3123
3124 としなくてはなりません.これによって,これら2つの
3125 \begin_inset Flex Code
3126 status collapsed
3127
3128 \begin_layout Plain Layout
3129 To
3130 \end_layout
3131
3132 \end_inset
3133
3134 は,
3135 \begin_inset Flex Code
3136 status collapsed
3137
3138 \begin_layout Plain Layout
3139 gettext
3140 \end_layout
3141
3142 \end_inset
3143
3144 には別物と解釈され,それぞれ正しくNachとBisに訳すことができるようになります.
3145 \end_layout
3146
3147 \begin_layout Standard
3148 もちろん,この文脈情報は,翻訳が存在しないときには取り去られる必要がありますので,メッセージの終わりに二重大括弧で囲わなくてはなりません(上例参照).\SpecialChar LyX
3149 の翻訳機構
3150 では,メッセージの終わりに二重大括弧で囲われているものはすべて,メッセージを表示する前に取り去るようにされています.
3151 \end_layout
3152
3153 \begin_layout Subsection
3154 説明書を翻訳する
3155 \end_layout
3156
3157 \begin_layout Standard
3158
3159 \begin_inset Flex MenuItem
3160 status collapsed
3161
3162 \begin_layout Plain Layout
3163 Help
3164 \end_layout
3165
3166 \end_inset
3167
3168 メニュー中の)オンライン説明書は翻訳することができます(そして翻訳されるべきです!).説明書の翻訳版が利用可能であり
3169 \begin_inset Foot
3170 status collapsed
3171
3172 \begin_layout Plain Layout
3173 2008年3月現在,説明書の少なくとも一部が翻訳されている言語は14言語に上り,入門編が訳されているものはさらにいくつかあります.
3174 \end_layout
3175
3176 \end_inset
3177
3178 ,ロケールがその言語に設定されている場合,\SpecialChar LyX
3179 はこれを自動的に使用します.\SpecialChar LyX
3180 は,翻訳版を
3181 \begin_inset Flex Code
3182 status collapsed
3183
3184 \begin_layout Plain Layout
3185 LyXDir/doc/xx/DocName.lyx
3186 \end_layout
3187
3188 \end_inset
3189
3190
3191 \begin_inset Flex Code
3192 status collapsed
3193
3194 \begin_layout Plain Layout
3195 xx
3196 \end_layout
3197
3198 \end_inset
3199
3200 は現在使用している言語コード)で探します.翻訳文書がない場合には,既定の英語版が表示されます.翻訳版は,原典と同じファイル名(上述の
3201 \begin_inset Flex Code
3202 status collapsed
3203
3204 \begin_layout Plain Layout
3205 DocName
3206 \end_layout
3207
3208 \end_inset
3209
3210 )を持っていなくてはならないことに注意してください.説明書を翻訳する気がおありであれば(これは原典の校正としてもたいへん役立ちます!),以下のような点をすぐに行
3211 うべきです.
3212 \end_layout
3213
3214 \begin_layout Itemize
3215 説明書翻訳ウェブページ
3216 \begin_inset CommandInset href
3217 LatexCommand href
3218 name "https://www.lyx.org/Translation"
3219 target "https://www.lyx.org/Translation"
3220 literal "false"
3221
3222 \end_inset
3223
3224 を確認してください.ここで,どの文書が(もしあれば)お使いの言語に既に翻訳されているかを見つけることができます.また,説明書をお使いの言語に翻訳する作業の面倒を
3225 見ている人を(もしいれば)見つけることができます.この作業の面倒を見ている人がいない場合には,私たちにあなたが興味をお持ちであることを知らせてください.
3226 \end_layout
3227
3228 \begin_layout Standard
3229 いったん実際の翻訳の仕事に取りかかったならば,トラブルを回避するいくつかのヒントがあります.
3230 \end_layout
3231
3232 \begin_layout Itemize
3233 文書化チームに所属してください!そのための情報が
3234 \begin_inset Flex Code
3235 status collapsed
3236
3237 \begin_layout Plain Layout
3238 Intro.lyx
3239 \end_layout
3240
3241 \end_inset
3242
3243
3244 \begin_inset Flex MenuItem
3245 status collapsed
3246
3247 \begin_layout Plain Layout
3248 ヘルプ\SpecialChar menuseparator
3249 はじめの一歩
3250 \end_layout
3251
3252 \end_inset
3253
3254 )にあります.また,この
3255 \begin_inset Flex Code
3256 status collapsed
3257
3258 \begin_layout Plain Layout
3259 Intro.lyx
3260 \end_layout
3261
3262 \end_inset
3263
3264 が最初に訳すべき文書です.
3265 \end_layout
3266
3267 \begin_layout Itemize
3268 翻訳しようとする言語での印刷慣行を学んでください.活版印刷は古来の技術であり,何世紀にもわたって世界の至る所で,様々な慣行を発達させてきました.また,あなたの国
3269 で活版工が用いる専門用語も学んでください.自分で勝手な専門用語を捻出するとユーザを混乱させるだけです.(
3270 \emph on
3271 警告!活版技術は病みつきになる可能性があるので注意してくさい!
3272 \emph default
3273
3274 \end_layout
3275
3276 \begin_layout Itemize
3277 文書のコピーをとってください.これを作業用コピーとします.これをお使いの
3278 \begin_inset Flex Code
3279 status collapsed
3280
3281 \begin_layout Plain Layout
3282 UserDir/doc/xx/
3283 \end_layout
3284
3285 \end_inset
3286
3287 ディレクトリにコピーすれば,個人用の翻訳ヘルプファイルとして使用することができます.
3288 \begin_inset Newline newline
3289 \end_inset
3290
3291
3292 \begin_inset Note Greyedout
3293 status open
3294
3295 \begin_layout Plain Layout
3296
3297 \series bold
3298 【註】
3299 \series default
3300 外部素材(画像など)のある複雑な文書の場合,例えば一時ディレクトリなどにコピーを作ると,文書を別の場所に移したとき,外部素材へのリンクは壊れてしまうかもしれない
3301 ことに注意してください.最も良い方法は,LyXツリーをgit (
3302 \begin_inset Flex URL
3303 status collapsed
3304
3305 \begin_layout Plain Layout
3306
3307 https://www.lyx.org/HowToUseGIT
3308 \end_layout
3309
3310 \end_inset
3311
3312 参照)からとってきて,そのdocファイルを直接編集するのが良いでしょう.
3313 \end_layout
3314
3315 \end_inset
3316
3317
3318 \end_layout
3319
3320 \begin_layout Itemize
3321 (\SpecialChar LyX
3322 チームが維持している)原典の説明書は,時折更新されます.変更点については,
3323 \begin_inset CommandInset href
3324 LatexCommand href
3325 name "https://www.lyx.org/trac/timeline"
3326 target "https://www.lyx.org/trac/timeline"
3327 literal "false"
3328
3329 \end_inset
3330
3331 のソースビューアでご覧ください.この方法で,翻訳文書のどの部分を更新しなくてはならないか,たやすく見つけることができます.
3332 \end_layout
3333
3334 \begin_layout Standard
3335 もし原典に誤りを見つけたならば,修正して文書化チームの他のメンバーに変更したことを知らせてください(文書化チームに参加することをお忘れになっていませんよね).
3336 \end_layout
3337
3338 \begin_layout Standard
3339 \begin_inset Branch OutDated
3340 inverted 0
3341 status collapsed
3342
3343 \begin_layout Section
3344 International Keyboard Support
3345 \end_layout
3346
3347 \begin_layout Standard
3348
3349 \emph on
3350 [Editor's Note: The following section is by
3351 \emph default
3352  
3353 \shape smallcaps
3354 \emph on
3355 Ivan Schreter
3356 \shape default
3357 .
3358  It needs to be fixed to conform to the new Documentation Style sheet and
3359  to make use of the new v1.0 features.
3360  The whole thing also needs to be merged with the section following it.-jw
3361  It may also be badly out of date.-rh (2008)]
3362 \end_layout
3363
3364 \begin_layout Subsection
3365 Defining Own Keymaps: Keymap File Format
3366 \end_layout
3367
3368 \begin_layout Standard
3369 Let's look at a keyboard definition file a little closer.
3370  It is a plain text file defining
3371 \end_layout
3372
3373 \begin_layout Itemize
3374 key-to-key or key-to-string translations
3375 \end_layout
3376
3377 \begin_layout Itemize
3378 dead keys
3379 \end_layout
3380
3381 \begin_layout Itemize
3382 dead keys exceptions
3383 \end_layout
3384
3385 \begin_layout Standard
3386 To define key-to-key or key-to-string translation, use this command:
3387 \end_layout
3388
3389 \begin_layout Quotation
3390 \begin_inset Flex Code
3391 status collapsed
3392
3393 \begin_layout Plain Layout
3394
3395 \backslash
3396 kmap
3397 \end_layout
3398
3399 \end_inset
3400
3401  
3402 \begin_inset Flex Code
3403 status collapsed
3404
3405 \begin_layout Plain Layout
3406 key
3407 \end_layout
3408
3409 \end_inset
3410
3411  outstring 
3412 \end_layout
3413
3414 \begin_layout Standard
3415 where 
3416 \begin_inset Flex Code
3417 status collapsed
3418
3419 \begin_layout Plain Layout
3420 key
3421 \end_layout
3422
3423 \end_inset
3424
3425  is the key to be translated and 
3426 \begin_inset Flex Code
3427 status collapsed
3428
3429 \begin_layout Plain Layout
3430 outstring
3431 \end_layout
3432
3433 \end_inset
3434
3435  is the string to be inserted into the document.
3436  To define dead keys, use:
3437 \end_layout
3438
3439 \begin_layout Quotation
3440 \begin_inset Flex Code
3441 status collapsed
3442
3443 \begin_layout Plain Layout
3444
3445 \backslash
3446 kmod
3447 \end_layout
3448
3449 \end_inset
3450
3451  
3452 \begin_inset Flex Code
3453 status collapsed
3454
3455 \begin_layout Plain Layout
3456 key
3457 \end_layout
3458
3459 \end_inset
3460
3461  deadkey
3462 \end_layout
3463
3464 \begin_layout Standard
3465 where 
3466 \begin_inset Flex Code
3467 status collapsed
3468
3469 \begin_layout Plain Layout
3470 key
3471 \end_layout
3472
3473 \end_inset
3474
3475  is a keyboard key and 
3476 \begin_inset Flex Code
3477 status collapsed
3478
3479 \begin_layout Plain Layout
3480 deadkey
3481 \end_layout
3482
3483 \end_inset
3484
3485  is dead key name.
3486  The following dead keys are supported (shortcut name is in parentheses):
3487 \end_layout
3488
3489 \begin_layout Quotation
3490
3491 \emph on
3492 Name
3493 \begin_inset space \hfill{}
3494 \end_inset
3495
3496 Example
3497 \end_layout
3498
3499 \begin_layout Quotation
3500 acute (acu)
3501 \begin_inset space \hfill{}
3502 \end_inset
3503
3504
3505 \lang english
3506 áéíóú
3507 \end_layout
3508
3509 \begin_layout Quotation
3510 grave (gra)
3511 \begin_inset space \hfill{}
3512 \end_inset
3513
3514
3515 \lang english
3516 àèìòù
3517 \end_layout
3518
3519 \begin_layout Quotation
3520 macron (mac)
3521 \begin_inset space \hfill{}
3522 \end_inset
3523
3524
3525 \lang english
3526  ō
3527 \end_layout
3528
3529 \begin_layout Quotation
3530 tilde (til)
3531 \begin_inset space \hfill{}
3532 \end_inset
3533
3534
3535 \lang english
3536 ñÑ
3537 \end_layout
3538
3539 \begin_layout Quotation
3540 underbar (underb)
3541 \begin_inset space \hfill{}
3542 \end_inset
3543
3544
3545 \begin_inset ERT
3546 status open
3547
3548 \begin_layout Plain Layout
3549
3550
3551 \backslash
3552 b o
3553 \end_layout
3554
3555 \end_inset
3556
3557
3558 \end_layout
3559
3560 \begin_layout Quotation
3561 cedilla (ced)
3562 \begin_inset space \hfill{}
3563 \end_inset
3564
3565
3566 \lang english
3567 çÇ
3568 \end_layout
3569
3570 \begin_layout Quotation
3571 underdot (underd)
3572 \begin_inset space \hfill{}
3573 \end_inset
3574
3575
3576 \begin_inset ERT
3577 status open
3578
3579 \begin_layout Plain Layout
3580
3581
3582 \backslash
3583 d o
3584 \end_layout
3585
3586 \end_inset
3587
3588
3589 \end_layout
3590
3591 \begin_layout Quotation
3592 circumflex (circu)
3593 \begin_inset space \hfill{}
3594 \end_inset
3595
3596
3597 \lang english
3598 âêîôû
3599 \end_layout
3600
3601 \begin_layout Quotation
3602 circle (circl)
3603 \begin_inset space \hfill{}
3604 \end_inset
3605
3606
3607 \lang english
3608 ÅůŮ
3609 \end_layout
3610
3611 \begin_layout Quotation
3612 tie (tie)
3613 \begin_inset space \hfill{}
3614 \end_inset
3615
3616
3617 \begin_inset ERT
3618 status open
3619
3620 \begin_layout Plain Layout
3621
3622
3623 \backslash
3624 t o
3625 \end_layout
3626
3627 \end_inset
3628
3629
3630 \end_layout
3631
3632 \begin_layout Quotation
3633 breve (bre)
3634 \begin_inset space \hfill{}
3635 \end_inset
3636
3637
3638 \lang english
3639 ă
3640 \lang japanese
3641
3642 \begin_inset ERT
3643 status open
3644
3645 \begin_layout Plain Layout
3646
3647
3648 \backslash
3649 u o
3650 \end_layout
3651
3652 \end_inset
3653
3654
3655 \end_layout
3656
3657 \begin_layout Quotation
3658 caron (car)
3659 \begin_inset space \hfill{}
3660 \end_inset
3661
3662
3663 \lang english
3664 čšž
3665 \end_layout
3666
3667 \begin_layout Quotation
3668 hungarian umlaut (hug)
3669 \begin_inset space \hfill{}
3670 \end_inset
3671
3672
3673 \lang english
3674 őű
3675 \end_layout
3676
3677 \begin_layout Quotation
3678 umlaut (uml)
3679 \begin_inset space \hfill{}
3680 \end_inset
3681
3682
3683 \lang english
3684 äöü
3685 \end_layout
3686
3687 \begin_layout Quotation
3688 dot (dot)
3689 \begin_inset space \hfill{}
3690 \end_inset
3691
3692
3693 \lang english
3694 ż
3695 \lang japanese
3696
3697 \begin_inset ERT
3698 status open
3699
3700 \begin_layout Plain Layout
3701
3702
3703 \backslash
3704 .s
3705 \end_layout
3706
3707 \end_inset
3708
3709
3710 \end_layout
3711
3712 \begin_layout Standard
3713 Since in many international keyboards there are exceptions to what some
3714  dead keys should do, you can define them using
3715 \end_layout
3716
3717 \begin_layout Quotation
3718 \begin_inset Flex Code
3719 status collapsed
3720
3721 \begin_layout Plain Layout
3722
3723 \backslash
3724 kxmod
3725 \end_layout
3726
3727 \end_inset
3728
3729  deadkey key outstring
3730 \end_layout
3731
3732 \begin_layout Standard
3733 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3734 , so you put in
3735 \end_layout
3736
3737 \begin_layout Quotation
3738 \begin_inset Flex Code
3739 status collapsed
3740
3741 \begin_layout Plain Layout
3742
3743 \backslash
3744 kxmod
3745 \end_layout
3746
3747 \end_inset
3748
3749  caron o "
3750 \backslash
3751 ^o"
3752 \end_layout
3753
3754 \begin_layout Standard
3755 to make it work correctly.
3756  Also, you have to define as exceptions dead keys over i and j, to remove
3757  the dot from them before inserting an accent mark.
3758  I will change this when the time comes, but so far I haven't had time.
3759 \end_layout
3760
3761 \begin_layout Standard
3762 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3763  double backslash.
3764  Also, quotes and 
3765 \begin_inset Flex Code
3766 status collapsed
3767
3768 \begin_layout Plain Layout
3769 #
3770 \end_layout
3771
3772 \end_inset
3773
3774  have different meaning.
3775  
3776 \begin_inset Flex Code
3777 status collapsed
3778
3779 \begin_layout Plain Layout
3780 #
3781 \end_layout
3782
3783 \end_inset
3784
3785  marks comments, quotes start and end \SpecialChar LaTeX
3786 -style commands.
3787  To enter quote, you'll need to use 
3788 \begin_inset Flex Code
3789 status collapsed
3790
3791 \begin_layout Plain Layout
3792
3793 \backslash
3794 "
3795 \end_layout
3796
3797 \end_inset
3798
3799 , to enter 
3800 \begin_inset Flex Code
3801 status collapsed
3802
3803 \begin_layout Plain Layout
3804 #
3805 \end_layout
3806
3807 \end_inset
3808
3809 , use 
3810 \begin_inset Flex Code
3811 status collapsed
3812
3813 \begin_layout Plain Layout
3814
3815 \backslash
3816 #
3817 \end_layout
3818
3819 \end_inset
3820
3821 .
3822 \end_layout
3823
3824 \begin_layout Standard
3825 If you make a keyboard description file that works for your language, please
3826  mail it to me, so I can include it in the next keymap distribution.
3827 \end_layout
3828
3829 \begin_layout Standard
3830 More keywords will be supported in keymap configuration file in future,
3831  like
3832 \end_layout
3833
3834 \begin_layout Itemize
3835 \begin_inset Flex Code
3836 status collapsed
3837
3838 \begin_layout Plain Layout
3839
3840 \backslash
3841 kinclude filename
3842 \end_layout
3843
3844 \end_inset
3845
3846
3847 \emph on
3848
3849 \begin_inset space \hfill{}
3850 \end_inset
3851
3852
3853 \begin_inset Flex Code
3854 status collapsed
3855
3856 \begin_layout Plain Layout
3857 include
3858 \end_layout
3859
3860 \end_inset
3861
3862  another file
3863 \end_layout
3864
3865 \begin_layout Itemize
3866 \begin_inset Flex Code
3867 status collapsed
3868
3869 \begin_layout Plain Layout
3870
3871 \backslash
3872 kprog program
3873 \end_layout
3874
3875 \end_inset
3876
3877
3878 \emph on
3879
3880 \begin_inset space \hfill{}
3881 \end_inset
3882
3883
3884 \begin_inset Flex Code
3885 status collapsed
3886
3887 \begin_layout Plain Layout
3888 define
3889 \end_layout
3890
3891 \end_inset
3892
3893  an external keymap translation program 
3894 \end_layout
3895
3896 \begin_layout Standard
3897 Also, it should look into 
3898 \begin_inset Flex Code
3899 status collapsed
3900
3901 \begin_layout Plain Layout
3902 lyxrc
3903 \end_layout
3904
3905 \end_inset
3906
3907  file for defaults, too (for example, a 
3908 \begin_inset Flex Code
3909 status collapsed
3910
3911 \begin_layout Plain Layout
3912
3913 \backslash
3914 kinclude
3915 \end_layout
3916
3917 \end_inset
3918
3919  option to include default keyboard).
3920 \end_layout
3921
3922 \end_inset
3923
3924
3925 \end_layout
3926
3927 \begin_layout Section
3928 国際キー配列
3929 \begin_inset CommandInset label
3930 LatexCommand label
3931 name "sec:国際キー配列"
3932
3933 \end_inset
3934
3935
3936 \end_layout
3937
3938 \begin_layout Standard
3939 \begin_inset Note Note
3940 status open
3941
3942 \begin_layout Plain Layout
3943 2008年3月にこの文書を改訂するに当たって,改訂者が本節の内容に詳しくなかったために,本節は改訂されていません.他に改訂してくださる方がおられれば幸いです.
3944 \end_layout
3945
3946 \begin_layout Plain Layout
3947 (RH)
3948 \end_layout
3949
3950 \end_inset
3951
3952
3953 \end_layout
3954
3955 \begin_layout Standard
3956 以下の2節では,
3957 \begin_inset Flex Code
3958 status collapsed
3959
3960 \begin_layout Plain Layout
3961 .kmap
3962 \end_layout
3963
3964 \end_inset
3965
3966 および
3967 \begin_inset Flex Code
3968 status collapsed
3969
3970 \begin_layout Plain Layout
3971 .cdef
3972 \end_layout
3973
3974 \end_inset
3975
3976 ファイルの文法を詳細に解説します.これらの節は,提供されているキー配列があなたのニーズに合わない場合に,自身用のキー配列をデザインする手助けとなるでしょう.
3977 \end_layout
3978
3979 \begin_layout Subsection
3980 .kmapファイル
3981 \end_layout
3982
3983 \begin_layout Standard
3984 \begin_inset Flex Code
3985 status collapsed
3986
3987 \begin_layout Plain Layout
3988 .kmap
3989 \end_layout
3990
3991 \end_inset
3992
3993 ファイルは,打鍵したものを文字や文字列に割り当てます.名前が示唆するように,これはキーボード配列表を定義します.
3994 \begin_inset Flex Code
3995 status collapsed
3996
3997 \begin_layout Plain Layout
3998 .kmap
3999 \end_layout
4000
4001 \end_inset
4002
4003 ファイルは,以下の各項で説明するように,
4004 \begin_inset Flex Code
4005 status collapsed
4006
4007 \begin_layout Plain Layout
4008 kmap
4009 \end_layout
4010
4011 \end_inset
4012
4013
4014 \begin_inset Flex Code
4015 status collapsed
4016
4017 \begin_layout Plain Layout
4018 kmod
4019 \end_layout
4020
4021 \end_inset
4022
4023
4024 \begin_inset Flex Code
4025 status collapsed
4026
4027 \begin_layout Plain Layout
4028 ksmod
4029 \end_layout
4030
4031 \end_inset
4032
4033
4034 \begin_inset Flex Code
4035 status collapsed
4036
4037 \begin_layout Plain Layout
4038 kcomb
4039 \end_layout
4040
4041 \end_inset
4042
4043 のキーワードを定義します.
4044 \end_layout
4045
4046 \begin_layout Labeling
4047 \labelwidthstring 00.00.0000
4048 \begin_inset Flex Code
4049 status collapsed
4050
4051 \begin_layout Plain Layout
4052 kmap
4053 \end_layout
4054
4055 \end_inset
4056
4057  文字を文字列に割り当てる
4058 \end_layout
4059
4060 \begin_layout LyX-Code
4061
4062 \backslash
4063 kmap 
4064 \family roman
4065 \emph on
4066 文字
4067 \family default
4068 \emph default
4069  
4070 \family roman
4071 \emph on
4072 文字列
4073 \end_layout
4074
4075 \begin_layout Standard
4076 これは,
4077 \emph on
4078 文字
4079 \emph default
4080
4081 \emph on
4082 文字列
4083 \emph default
4084 に割り当てます.
4085 \emph on
4086 文字列
4087 \emph default
4088 中では,二重引用符(")とバックスラッシュ(
4089 \backslash
4090 )は,前にバックスラッシュ(
4091 \backslash
4092 )を付けてエスケープしなくてはならないことに注意してください.
4093 \end_layout
4094
4095 \begin_layout Standard
4096 \begin_inset Flex MenuItem
4097 status collapsed
4098
4099 \begin_layout Plain Layout
4100 &
4101 \end_layout
4102
4103 \end_inset
4104
4105 を打鍵すると
4106 \begin_inset Flex MenuItem
4107 status collapsed
4108
4109 \begin_layout Plain Layout
4110 /
4111 \end_layout
4112
4113 \end_inset
4114
4115 記号が出力される
4116 \begin_inset Flex MenuItem
4117 status collapsed
4118
4119 \begin_layout Plain Layout
4120 kmap
4121 \end_layout
4122
4123 \end_inset
4124
4125 ステートメントを,一例としてあげると,
4126 \end_layout
4127
4128 \begin_layout LyX-Code
4129
4130 \backslash
4131 kmap & /
4132 \end_layout
4133
4134 \begin_layout Standard
4135 のようになります.
4136 \end_layout
4137
4138 \begin_layout Labeling
4139 \labelwidthstring 00.00.0000
4140 \begin_inset Flex Code
4141 status collapsed
4142
4143 \begin_layout Plain Layout
4144 kmod
4145 \end_layout
4146
4147 \end_inset
4148
4149  アクセント文字を指定する
4150 \end_layout
4151
4152 \begin_layout LyX-Code
4153
4154 \backslash
4155 kmod 
4156 \family roman
4157 \emph on
4158 文字 アクセント 許可文字
4159 \end_layout
4160
4161 \begin_layout Standard
4162 これは
4163 \emph on
4164 文字
4165 \emph default
4166
4167 \emph on
4168 許可文字
4169 \emph default
4170 のアクセントとするものです.これはデッドキー
4171 \begin_inset Foot
4172 status collapsed
4173
4174 \begin_layout Plain Layout
4175
4176 \emph on
4177 デッドキー
4178 \emph default
4179 という用語は,それ自身で文字を出力しないけれども,別のキーを続けて打つと,望んだアクセント文字を出力するキーのことを指し示します.たとえば,独語で
4180 \emph on
4181 ä
4182 \emph default
4183 のようなウムラウトのついた文字は,このようにして出すことができます.
4184 \end_layout
4185
4186 \end_inset
4187
4188 機構です.
4189 \end_layout
4190
4191 \begin_layout Standard
4192
4193 \emph on
4194 文字
4195 \emph default
4196 を打鍵してから
4197 \emph on
4198 許可文字
4199 \emph default
4200 にないキーを打鍵すると,
4201 \emph on
4202 文字
4203 \emph default
4204 の後に許可文字ではないその文字が出力として表示されます.
4205 \begin_inset Flex MenuItem
4206 status collapsed
4207
4208 \begin_layout Plain Layout
4209 Backspace
4210 \end_layout
4211
4212 \end_inset
4213
4214 はデッドキーを取り消しますので,
4215 \emph on
4216 文字
4217 \emph default
4218
4219 \begin_inset Flex MenuItem
4220 status collapsed
4221
4222 \begin_layout Plain Layout
4223 Backspace
4224 \end_layout
4225
4226 \end_inset
4227
4228 と打鍵すると,カーソルは一文字戻ることなく,文字が次の打鍵したものに及ぼしたはずの効力を取り消します.
4229 \end_layout
4230
4231 \begin_layout Standard
4232 以下の例は,'文字をacuteアクセントとして,a・e・i・o・u・A・E・I・O・Uの文字に許可するものです.
4233 \end_layout
4234
4235 \begin_layout LyX-Code
4236
4237 \backslash
4238 kmod ' acute aeiouAEIOU
4239 \end_layout
4240
4241 \begin_layout Labeling
4242 \labelwidthstring 00.00.0000
4243 \begin_inset Flex Code
4244 status collapsed
4245
4246 \begin_layout Plain Layout
4247 ksmod
4248 \end_layout
4249
4250 \end_inset
4251
4252  アクセント文字に例外を指定する
4253 \end_layout
4254
4255 \begin_layout LyX-Code
4256
4257 \backslash
4258 kxmod  
4259 \family roman
4260 \emph on
4261 アクセント 文字 結果
4262 \end_layout
4263
4264 \begin_layout Standard
4265 これは
4266 \emph on
4267 文字
4268 \emph default
4269 上の
4270 \emph on
4271 アクセント
4272 \emph default
4273 について例外を指定するものです.ここで
4274 \emph on
4275 アクセント
4276 \emph default
4277 には,前出の
4278 \begin_inset Flex Code
4279 status collapsed
4280
4281 \begin_layout Plain Layout
4282
4283 \backslash
4284 kmod
4285 \end_layout
4286
4287 \end_inset
4288
4289 宣言で打鍵キーを既に割り当てられてなくてはならず,
4290 \emph on
4291 文字
4292 \emph default
4293
4294 \emph on
4295 アクセント
4296 \emph default
4297
4298 \emph on
4299 許可文字
4300 \emph default
4301 の集合に属していてはなりません.こうして
4302 \emph on
4303 アクセント
4304 \emph default
4305
4306 \emph on
4307 文字
4308 \emph default
4309 の順に入力すると,
4310 \emph on
4311 結果
4312 \emph default
4313 が出力されるようになります.
4314 \begin_inset Flex Code
4315 status collapsed
4316
4317 \begin_layout Plain Layout
4318 .kmap
4319 \end_layout
4320
4321 \end_inset
4322
4323 ファイルにこの宣言がない場合には,
4324 \emph on
4325 アクセント
4326 \emph default
4327
4328 \emph on
4329 文字
4330 \emph default
4331 と入力すると,
4332 \emph on
4333 アクセントキー
4334 \emph default
4335
4336 \emph on
4337 文字
4338 \emph default
4339
4340 \emph on
4341 アクセントキー
4342 \emph default
4343
4344 \begin_inset Flex Code
4345 status collapsed
4346
4347 \begin_layout Plain Layout
4348
4349 \backslash
4350 kmod
4351 \end_layout
4352
4353 \end_inset
4354
4355 宣言の最初の変数)と出力されます.
4356 \end_layout
4357
4358 \begin_layout Standard
4359 以下のコマンドを用いると,acute-i('i)と入力した場合,äiと出力されるようになります.
4360 \end_layout
4361
4362 \begin_layout LyX-Code
4363
4364 \backslash
4365 kxmod acute i "
4366 \backslash
4367
4368 \backslash
4369 '{
4370 \backslash
4371
4372 \backslash
4373 i}"
4374 \end_layout
4375
4376 \begin_layout Labeling
4377 \labelwidthstring 00.00.0000
4378 \begin_inset Flex Code
4379 status collapsed
4380
4381 \begin_layout Plain Layout
4382 kcomb
4383 \end_layout
4384
4385 \end_inset
4386
4387  2つのアクセント文字を結合する
4388 \end_layout
4389
4390 \begin_layout LyX-Code
4391
4392 \backslash
4393 kcomb 
4394 \family roman
4395 \emph on
4396 アクセント1 アクセント2 許可文字
4397 \end_layout
4398
4399 \begin_layout Standard
4400 これはなかなか難解になってきます.これは
4401 \emph on
4402 アクセント1
4403 \emph default
4404
4405 \emph on
4406 アクセント2
4407 \emph default
4408 を(この順番で)結びつけて,
4409 \emph on
4410 許可文字
4411 \emph default
4412 に効果を及ぼすようにします.
4413 \emph on
4414 アクセント1
4415 \emph default
4416
4417 \emph on
4418 アクセント2
4419 \emph default
4420 の打鍵キーは,ファイル内のこのコマンド
4421 \emph on
4422 よりも前に
4423 \emph default
4424
4425 \begin_inset Flex Code
4426 status collapsed
4427
4428 \begin_layout Plain Layout
4429
4430 \backslash
4431 kmod
4432 \end_layout
4433
4434 \end_inset
4435
4436 コマンドで設定されていなくてはなりません.
4437 \end_layout
4438
4439 \begin_layout Standard
4440 \begin_inset Flex Code
4441 status collapsed
4442
4443 \begin_layout Plain Layout
4444 greek.kmap
4445 \end_layout
4446
4447 \end_inset
4448
4449 ファイル上にある例をとってみましょう.
4450 \end_layout
4451
4452 \begin_layout LyX-Code
4453
4454 \backslash
4455 kmod ; acute aeioyvhAEIOYVH 
4456 \backslash
4457 kmod : umlaut iyIY 
4458 \backslash
4459 kcomb acute umlaut iyIY
4460 \end_layout
4461
4462 \begin_layout Standard
4463 これは
4464 \begin_inset Flex MenuItem
4465 status collapsed
4466
4467 \begin_layout Plain Layout
4468 ;:i
4469 \end_layout
4470
4471 \end_inset
4472
4473 を押すと
4474 \begin_inset Flex Code
4475 status collapsed
4476
4477 \begin_layout Plain Layout
4478
4479 \backslash
4480 '{
4481 \backslash
4482 "{i}}
4483 \end_layout
4484
4485 \end_inset
4486
4487 という効果を得るようにするものです.この場合のバックスペースは,最後のデッドキーを取り消すので,
4488 \begin_inset Flex MenuItem
4489 status collapsed
4490
4491 \begin_layout Plain Layout
4492 ;: Backspace i
4493 \end_layout
4494
4495 \end_inset
4496
4497 と押した場合には,
4498 \begin_inset Flex Code
4499 status collapsed
4500
4501 \begin_layout Plain Layout
4502
4503 \backslash
4504 '{i}
4505 \end_layout
4506
4507 \end_inset
4508
4509 となります.
4510 \end_layout
4511
4512 \begin_layout Subsection
4513 .cdefファイル
4514 \end_layout
4515
4516 \begin_layout Standard
4517 \begin_inset Flex Code
4518 status collapsed
4519
4520 \begin_layout Plain Layout
4521 .kmap
4522 \end_layout
4523
4524 \end_inset
4525
4526 による割り当てが行われた後,
4527 \begin_inset Flex Code
4528 status collapsed
4529
4530 \begin_layout Plain Layout
4531 .cdef
4532 \end_layout
4533
4534 \end_inset
4535
4536 ファイルは,記号の作り出す文字列を現在のフォントの文字に割り当てます.\SpecialChar LyX
4537 頒布版には,現在のところ,少なくとも
4538 \begin_inset Flex Code
4539 status collapsed
4540
4541 \begin_layout Plain Layout
4542 iso8859-1.cdef
4543 \end_layout
4544
4545 \end_inset
4546
4547 ファイルと
4548 \begin_inset Flex Code
4549 status collapsed
4550
4551 \begin_layout Plain Layout
4552 iso8859-2.cdef
4553 \end_layout
4554
4555 \end_inset
4556
4557 ファイルが含まれています.
4558 \end_layout
4559
4560 \begin_layout Standard
4561 一般的に
4562 \begin_inset Flex Code
4563 status collapsed
4564
4565 \begin_layout Plain Layout
4566 .cdef
4567 \end_layout
4568
4569 \end_inset
4570
4571 ファイルは,
4572 \end_layout
4573
4574 \begin_layout LyX-Code
4575
4576 \family roman
4577 \emph on
4578 セット中の文字番号
4579 \family default
4580 \emph default
4581  
4582 \family roman
4583 \emph on
4584  文字列
4585 \end_layout
4586
4587 \begin_layout Standard
4588 という形の宣言の羅列です.たとえば,
4589 \begin_inset Flex MenuItem
4590 status collapsed
4591
4592 \begin_layout Plain Layout
4593
4594 \backslash
4595 '{e}
4596 \end_layout
4597
4598 \end_inset
4599
4600 をiso-8859-1セットの対応する文字(233)に割り当てるには,以下の宣言を用います.
4601 \end_layout
4602
4603 \begin_layout LyX-Code
4604 233 "
4605 \backslash
4606
4607 \backslash
4608 '{e}"
4609 \end_layout
4610
4611 \begin_layout Standard
4612 ここで,
4613 \emph on
4614 文字列
4615 \emph default
4616 中の
4617 \begin_inset Flex Code
4618 status collapsed
4619
4620 \begin_layout Plain Layout
4621
4622 \backslash
4623
4624 \end_layout
4625
4626 \end_inset
4627
4628
4629 \begin_inset Flex Code
4630 status collapsed
4631
4632 \begin_layout Plain Layout
4633 "
4634 \end_layout
4635
4636 \end_inset
4637
4638 はエスケープされています.同一の文字を二つ以上の文字列に充てることができることに注意してください.
4639 \begin_inset Flex Code
4640 status collapsed
4641
4642 \begin_layout Plain Layout
4643 iso-8859-7.cdef
4644 \end_layout
4645
4646 \end_inset
4647
4648 ファイルには,
4649 \end_layout
4650
4651 \begin_layout LyX-Code
4652 192 "
4653 \backslash
4654
4655 \backslash
4656 '{
4657 \backslash
4658
4659 \backslash
4660
4661 \backslash
4662 "{i}}"
4663 \begin_inset Newline newline
4664 \end_inset
4665
4666 192 "
4667 \backslash
4668
4669 \backslash
4670
4671 \backslash
4672 "{
4673 \backslash
4674
4675 \backslash
4676 '{i}}"
4677 \end_layout
4678
4679 \begin_layout Standard
4680 という例があります.\SpecialChar LyX
4681 は,キー打鍵やデッドキーの組み合わせで生成される文字列の割り当てを見つけることができないとき,それがアクセント付き文字のように解釈ができない
4682 かどうかチェックして,画面上の文字にアクセントを引くことを試みます.
4683 \end_layout
4684
4685 \begin_layout Subsection
4686 デッドキー
4687 \end_layout
4688
4689 \begin_layout Standard
4690 国際文字のサポートを追加する第2の方法として,いわゆるデッドキーによる方法があります.デッドキーは文字と一緒に用いて,アクセント付き文字を生成します.ここではそ
4691 の機能を説明するために,きわめて単純なデッドキーの作り方を説明します.
4692 \end_layout
4693
4694 \begin_layout Standard
4695 仮に,曲折アクセント記号「 ̂」が必要になったものとしましょう.この場合,自身の
4696 \begin_inset Flex Code
4697 status collapsed
4698
4699 \begin_layout Plain Layout
4700 lyxrc
4701 \end_layout
4702
4703 \end_inset
4704
4705 ファイル中で,
4706 \begin_inset Flex MenuItem
4707 status collapsed
4708
4709 \begin_layout Plain Layout
4710 ^
4711 \end_layout
4712
4713 \end_inset
4714
4715 キー(すなわち
4716 \begin_inset Flex MenuItem
4717 status collapsed
4718
4719 \begin_layout Plain Layout
4720 Shift-6
4721 \end_layout
4722
4723 \end_inset
4724
4725 キー)を,\SpecialChar LyX
4726 コマンドの
4727 \begin_inset Flex Code
4728 status collapsed
4729
4730 \begin_layout Plain Layout
4731 accent-circumflex
4732 \end_layout
4733
4734 \end_inset
4735
4736 に結びつけることができます.すると
4737 \begin_inset Flex MenuItem
4738 status collapsed
4739
4740 \begin_layout Plain Layout
4741 ^
4742 \end_layout
4743
4744 \end_inset
4745
4746 キーの後に文字を打ったときはいつでも,この文字上に曲折アクセントが付けられるようになります.たとえば「
4747 \begin_inset Flex MenuItem
4748 status collapsed
4749
4750 \begin_layout Plain Layout
4751 ^e
4752 \end_layout
4753
4754 \end_inset
4755
4756 」という打鍵順は「ê」という文字を生成します.しかしながら,もし「
4757 \begin_inset Flex MenuItem
4758 status collapsed
4759
4760 \begin_layout Plain Layout
4761 ^t
4762 \end_layout
4763
4764 \end_inset
4765
4766 」と打鍵したならば,「
4767 \begin_inset Flex MenuItem
4768 status collapsed
4769
4770 \begin_layout Plain Layout
4771 t
4772 \end_layout
4773
4774 \end_inset
4775
4776 」は曲折アクセントをとることは決してないために,\SpecialChar LyX
4777 はビープを鳴らして文句を付けます.デッドキーの後に
4778 \begin_inset Flex MenuItem
4779 status collapsed
4780
4781 \begin_layout Plain Layout
4782 スペース
4783 \end_layout
4784
4785 \end_inset
4786
4787 を打つと,アクセントだけが生成されます.この最後の点に注意してください.あるキーをデッドキーに割り当てる場合には,このキー上の文字を別のキーに割り当て直す必要が
4788 あります.たとえば,
4789 \begin_inset Flex MenuItem
4790 status collapsed
4791
4792 \begin_layout Plain Layout
4793 ,キー
4794 \end_layout
4795
4796 \end_inset
4797
4798 をセディーユに割り当てるのはよくありません.コンマを入力しようとすると必ずセディーユが出てくるようになるためです.
4799 \end_layout
4800
4801 \begin_layout Standard
4802 デッドキーを割り当てるのによく用いられる方法は,
4803 \begin_inset Flex MenuItem
4804 status collapsed
4805
4806 \begin_layout Plain Layout
4807 Meta-
4808 \end_layout
4809
4810 \end_inset
4811
4812
4813 \begin_inset Flex MenuItem
4814 status collapsed
4815
4816 \begin_layout Plain Layout
4817 Ctrl-
4818 \end_layout
4819
4820 \end_inset
4821
4822
4823 \begin_inset Flex MenuItem
4824 status collapsed
4825
4826 \begin_layout Plain Layout
4827 Shift-
4828 \end_layout
4829
4830 \end_inset
4831
4832 キーを,「
4833 \begin_inset Flex MenuItem
4834 status collapsed
4835
4836 \begin_layout Plain Layout
4837 ~
4838 \end_layout
4839
4840 \end_inset
4841
4842 」・「
4843 \begin_inset Flex MenuItem
4844 status collapsed
4845
4846 \begin_layout Plain Layout
4847 ,
4848 \end_layout
4849
4850 \end_inset
4851
4852 」・「
4853 \begin_inset Flex MenuItem
4854 status collapsed
4855
4856 \begin_layout Plain Layout
4857 ^
4858 \end_layout
4859
4860 \end_inset
4861
4862 」のようなアクセントと一緒に用いる方法です.また,
4863 \begin_inset Flex Code
4864 status collapsed
4865
4866 \begin_layout Plain Layout
4867 xmodmap
4868 \end_layout
4869
4870 \end_inset
4871
4872
4873 \begin_inset Flex Code
4874 status collapsed
4875
4876 \begin_layout Plain Layout
4877 xkeycaps
4878 \end_layout
4879
4880 \end_inset
4881
4882 を使って,特別な
4883 \begin_inset Flex Code
4884 status collapsed
4885
4886 \begin_layout Plain Layout
4887 Mode_Switch
4888 \end_layout
4889
4890 \end_inset
4891
4892 キーを設定する方法もあります.
4893 \begin_inset Flex Code
4894 status collapsed
4895
4896 \begin_layout Plain Layout
4897 Mode_Switch
4898 \end_layout
4899
4900 \end_inset
4901
4902 キーは,ちょうど
4903 \begin_inset Flex MenuItem
4904 status collapsed
4905
4906 \begin_layout Plain Layout
4907 Shift
4908 \end_layout
4909
4910 \end_inset
4911
4912 キーのように機能するので,アクセント文字を割り当てるのに使用できます.また,特定のキーを
4913 \begin_inset Flex Code
4914 status collapsed
4915
4916 \begin_layout Plain Layout
4917 usldead_cedilla
4918 \end_layout
4919
4920 \end_inset
4921
4922 などに割り当てることで,これらのキーをデッドキーに仕立て,このシンボリックキーを対応する\SpecialChar LyX
4923 コマンドに割り当てることもできます
4924 \begin_inset Foot
4925 status collapsed
4926
4927 \begin_layout Plain Layout
4928
4929 \noun on
4930 John Weiss
4931 \noun default
4932 からの註:これはまさに私が,自分の
4933 \begin_inset Flex Code
4934 status collapsed
4935
4936 \begin_layout Plain Layout
4937 ~/.lyx/lyxrc
4938 \end_layout
4939
4940 \end_inset
4941
4942
4943 \begin_inset Flex Code
4944 status collapsed
4945
4946 \begin_layout Plain Layout
4947 ~/.xmodmap
4948 \end_layout
4949
4950 \end_inset
4951
4952 で行っていることです.私は,
4953 \begin_inset Flex MenuItem
4954 status collapsed
4955
4956 \begin_layout Plain Layout
4957 Scroll
4958 \begin_inset space ~
4959 \end_inset
4960
4961 Lock
4962 \end_layout
4963
4964 \end_inset
4965
4966 キーを
4967 \begin_inset Flex Code
4968 status collapsed
4969
4970 \begin_layout Plain Layout
4971 Mode_Shift
4972 \end_layout
4973
4974 \end_inset
4975
4976 に仕立てて,多数の
4977 \begin_inset Flex Code
4978 status collapsed
4979
4980 \begin_layout Plain Layout
4981 usldead_*
4982 \end_layout
4983
4984 \end_inset
4985
4986 シンボリックキーを
4987 \begin_inset Flex MenuItem
4988 status collapsed
4989
4990 \begin_layout Plain Layout
4991 Scroll
4992 \begin_inset space ~
4993 \end_inset
4994
4995 Lock-^
4996 \end_layout
4997
4998 \end_inset
4999
5000
5001 \begin_inset Flex MenuItem
5002 status collapsed
5003
5004 \begin_layout Plain Layout
5005 Scroll
5006 \begin_inset space ~
5007 \end_inset
5008
5009 Lock-~
5010 \end_layout
5011
5012 \end_inset
5013
5014 などに割り当てています.私はこの方法でアクセント文字を入力しています.
5015 \end_layout
5016
5017 \end_inset
5018
5019 .この
5020 \begin_inset Flex Code
5021 status collapsed
5022
5023 \begin_layout Plain Layout
5024 Mode_Switch
5025 \end_layout
5026
5027 \end_inset
5028
5029 キーには,
5030 \begin_inset Flex MenuItem
5031 status collapsed
5032
5033 \begin_layout Plain Layout
5034 Ctrl-
5035 \end_layout
5036
5037 \end_inset
5038
5039 キーの片方や使われていないファンクションキーなど,ほぼ何でも指定することができます.アクセントを生み出す\SpecialChar LyX
5040 コマンドについては,
5041 \emph on
5042 \SpecialChar LyX
5043 関数説明書
5044 \emph default
5045
5046 \begin_inset Flex Code
5047 status collapsed
5048
5049 \begin_layout Plain Layout
5050 LFUN_ACCENT_*
5051 \end_layout
5052
5053 \end_inset
5054
5055 の項をご覧ください.ここには完備した一覧があります.
5056 \end_layout
5057
5058 \begin_layout Subsection
5059 自分の言語設定を保存する
5060 \end_layout
5061
5062 \begin_layout Standard
5063 \begin_inset Flex MenuItem
5064 status collapsed
5065
5066 \begin_layout Plain Layout
5067 ツール\SpecialChar menuseparator
5068 設定
5069 \end_layout
5070
5071 \end_inset
5072
5073 ダイアログを使えば,\SpecialChar LyX
5074 を起動したときに,ご希望の言語環境に自動的に設定されるように,設定を編集することができます.
5075 \end_layout
5076
5077 \begin_layout Chapter
5078 文書クラス・レイアウト・ひな型の新規導入
5079 \begin_inset CommandInset label
5080 LatexCommand label
5081 name "cha:新規文書を導入"
5082
5083 \end_inset
5084
5085
5086 \begin_inset Argument 1
5087 status collapsed
5088
5089 \begin_layout Plain Layout
5090 文書クラスを新規に導入する
5091 \end_layout
5092
5093 \end_inset
5094
5095
5096 \end_layout
5097
5098 \begin_layout Standard
5099 この章では,新しく\SpecialChar LyX
5100 のレイアウトファイルやひな型ファイルを作成して,導入する手順を説明すると共に,新規に\SpecialChar LaTeX
5101 文書クラス(ドキュメントクラス)を正しく導入する方法を復習
5102 します.
5103 \end_layout
5104
5105 \begin_layout Standard
5106 まず,\SpecialChar LyX
5107 と\SpecialChar LaTeX
5108 の間の関係をどのように考えるべきか,若干の註釈を加えておくことにしましょう.理解していただきたいことは,ある意味において,\SpecialChar LyX
5109 は,La\SpecialChar TeX
5110 について何も知らないと
5111 云うことです.実際のところ,\SpecialChar LyX
5112 の観点からは,\SpecialChar LaTeX
5113 は,\SpecialChar LyX
5114 が出力を生成することができる,複数の「バックエンド形式」のうちの一つに過ぎないということです.同種のバックエンド形
5115 式には,DocBook・平文・XHTMLがあります.もちろん\SpecialChar LaTeX
5116 は,とくに重要な形式ですが,\SpecialChar LyX
5117 がLa\SpecialChar TeX
5118 について持っている情報のほとんどは,実はプログラム本体には含まれて
5119 いないのです
5120 \begin_inset Foot
5121 status collapsed
5122
5123 \begin_layout Plain Layout
5124 過度に複雑なため,\SpecialChar LyX
5125 に「ハードコード化」されているコマンドもありますが,一般的に開発者は,これを「わるいこと」とみなしています.
5126 \end_layout
5127
5128 \end_inset
5129
5130 .このような情報は,
5131 \begin_inset Flex Code
5132 status collapsed
5133
5134 \begin_layout Plain Layout
5135 article.cls
5136 \end_layout
5137
5138 \end_inset
5139
5140 のような標準クラスでも,「レイアウトファイル」に保管されています.同様に,\SpecialChar LyX
5141 は,DocBookやXHTMLについてもほとんど知りません.\SpecialChar LyX
5142 が知っていることは,レイア
5143 ウトファイルの中にあります.
5144 \end_layout
5145
5146 \begin_layout Standard
5147 文書クラス用のレイアウトファイルは,\SpecialChar LyX
5148 構成体—対応する様式や何らかの差込枠などを有する段落群—と,それに対応する\SpecialChar LaTeX
5149 構成体・DocBook構成体・XHTML構成体との
5150 間の翻訳指南書のようなものです.たとえば,\SpecialChar LyX
5151
5152 \begin_inset Flex Code
5153 status collapsed
5154
5155 \begin_layout Plain Layout
5156 article.cls
5157 \end_layout
5158
5159 \end_inset
5160
5161 について知っていることのほとんど総ては,
5162 \begin_inset Flex Code
5163 status collapsed
5164
5165 \begin_layout Plain Layout
5166 article.layout
5167 \end_layout
5168
5169 \end_inset
5170
5171 と,それが呼び出す他の様々なファイルに書き込まれています.このことから,レイアウトファイルを書こうとする人は,既存のファイルを研究することを勧めます.とっかかり
5172 としては,
5173 \begin_inset Flex Code
5174 status collapsed
5175
5176 \begin_layout Plain Layout
5177 article.layout
5178 \end_layout
5179
5180 \end_inset
5181
5182
5183 \begin_inset Flex Code
5184 status collapsed
5185
5186 \begin_layout Plain Layout
5187 book.layout
5188 \end_layout
5189
5190 \end_inset
5191
5192 や,文書クラス用の他のレイアウトファイルに取り込まれている
5193 \begin_inset Flex Code
5194 status collapsed
5195
5196 \begin_layout Plain Layout
5197 stdsections.inc
5198 \end_layout
5199
5200 \end_inset
5201
5202 から見始めるのがよいでしょう.このファイルは,節などの定義が為されている場所です.
5203 \begin_inset Flex Code
5204 status collapsed
5205
5206 \begin_layout Plain Layout
5207 stdsections.inc
5208 \end_layout
5209
5210 \end_inset
5211
5212 は,節様式や小節様式などとしてマークされている段落を,対応する\SpecialChar LaTeX
5213 ・DocBook・XHTMLのコマンドやタグにどのように翻訳すべきかを\SpecialChar LyX
5214 に知らせるものです.基本的に
5215 \begin_inset Flex Code
5216 status collapsed
5217
5218 \begin_layout Plain Layout
5219 article.layout
5220 \end_layout
5221
5222 \end_inset
5223
5224 ファイルは,これらの
5225 \begin_inset Flex Code
5226 status collapsed
5227
5228 \begin_layout Plain Layout
5229 std*.inc
5230 \end_layout
5231
5232 \end_inset
5233
5234 ファイルを取り込んでいるだけのものです.
5235 \end_layout
5236
5237 \begin_layout Standard
5238 しかしながら,\SpecialChar LyX
5239 –\SpecialChar LaTeX
5240 間の対応を定義するだけが,レイアウトファイルが行うことではありません.レイアウトファイルが行うもう一つの仕事は,\SpecialChar LyX
5241 構成体自身が画面上にどのように表
5242 示されるべきかを定義することです.この2つの仕事は全く独立したものであるので,レイアウトファイルが2つの仕事を行うという事実は,しばしば混乱を引き起こす元となり
5243 ます.ある段落様式を\SpecialChar LaTeX
5244 に翻訳する仕方を\SpecialChar LyX
5245 に指示することは,その表示の仕方を\SpecialChar LyX
5246 に指示するものではありません.逆に,ある段落様式の表示の仕方を\SpecialChar LyX
5247 に指示することは,その段落様
5248 式をどのように\SpecialChar LaTeX
5249 に翻訳するかを\SpecialChar LyX
5250 に指示するものではありません(ましてや\SpecialChar LaTeX
5251 に表示の仕方を指示するものではありません).つまり,一般的に,新しい\SpecialChar LyX
5252 構成体を定義する際には,(
5253 i)
5254 \begin_inset space ~
5255 \end_inset
5256
5257 \SpecialChar LaTeX
5258 にどのように翻訳するかを\SpecialChar LyX
5259 に指示する,(ii)
5260 \begin_inset space ~
5261 \end_inset
5262
5263 それをどのように表示するかを\SpecialChar LyX
5264 に指示する,という,二つのかなり異なることを行わなくてはならないのです.
5265 \end_layout
5266
5267 \begin_layout Standard
5268 もちろん,\SpecialChar LyX
5269 の他のバックエンド形式に関しても,ほぼ同じことが言えますが,XHTMLの場合には若干事情が異なり,\SpecialChar LyX
5270 が,ブラウザ中での段落の表示方法を(CSSの形で)出
5271 力するにあたって,当該段落を\SpecialChar LyX
5272 が画面上に出力する仕方の情報を,ある程度利用することができます.しかし,この場合でも,\SpecialChar LyX
5273 が内部的に行うことと,外部的に行う物事の間の区
5274 別は,依然として有効であり,この2つは独立して制御することができます.詳細に関しては,第
5275 \begin_inset CommandInset ref
5276 LatexCommand ref
5277 reference "sec:XHTML出力のタグ"
5278
5279 \end_inset
5280
5281 節をご覧ください.
5282 \end_layout
5283
5284 \begin_layout Section
5285 新しい\SpecialChar LaTeX
5286 ファイルの導入
5287 \end_layout
5288
5289 \begin_layout Standard
5290 頒布版によっては,\SpecialChar LyX
5291 で使いたい\SpecialChar LaTeX
5292 パッケージやクラスファイルが含まれていないことがあるかもしれません.たとえば,オーバーヘッドプロジェクタ用のスライドを準備するための
5293 パッケージである,Foil\SpecialChar TeX
5294 がないかもしれません.\SpecialChar TeX
5295 Live(2008年以降)やMiK\SpecialChar TeX
5296 のような最近の\SpecialChar LaTeX
5297 頒布版には,これらのパッケージを導入するためのユーザーインタフェ
5298 ースが用意されています.たとえば,MiK\SpecialChar TeX
5299 では,付属の「Package
5300 \begin_inset space ~
5301 \end_inset
5302
5303 Manager」プログラムを起動すると,利用できるパッケージの一覧を得ることができます.どれかを導入するには,その上で右クリックするかツールバーボタンを押してく
5304 ださい.
5305 \end_layout
5306
5307 \begin_layout Standard
5308 お使いの\SpecialChar LaTeX
5309 頒布版がこのような「パッケージマネジャー」を提供していなかったり,使用中の頒布版にそのパッケージが入っていない場合には,以下のステップに従って手動で導入
5310 してください.
5311 \end_layout
5312
5313 \begin_layout Enumerate
5314 \begin_inset CommandInset href
5315 LatexCommand href
5316 name "CTAN"
5317 target "http://www.ctan.org/"
5318 literal "false"
5319
5320 \end_inset
5321
5322 などから欲しいパッケージを入手してください.
5323 \end_layout
5324
5325 \begin_layout Enumerate
5326 パッケージに「
5327 \begin_inset Flex Code
5328 status collapsed
5329
5330 \begin_layout Plain Layout
5331 .ins
5332 \end_layout
5333
5334 \end_inset
5335
5336 」で終わるファイル名が入っている場合(Foil\SpecialChar TeX
5337 がその一例です)は,コンソールを開いて,このファイルのフォルダに移動し,コマンド
5338 \begin_inset Flex Code
5339 status collapsed
5340
5341 \begin_layout Plain Layout
5342 latex foiltex.ins
5343 \end_layout
5344
5345 \end_inset
5346
5347 を実行してください.すると,パッケージが解凍されて,導入すべきすべてのファイルが展開されます.たいていの\SpecialChar LaTeX
5348 パッケージは圧縮されていないので,このステップは飛ばすこ
5349 とができます.
5350 \end_layout
5351
5352 \begin_layout Enumerate
5353 ここで,パッケージを全ユーザーに使用可能にするか自分自身だけで使うかを決定する必要があります.
5354 \end_layout
5355
5356 \begin_deeper
5357 \begin_layout Enumerate
5358 (Linux・OSXなどの)*nix系システムでは,システム上の全ユーザーに新パッケージを利用可能にしたければ,「ローカル」\SpecialChar TeX
5359 ツリーに導入し,そうでなければ「ユー
5360 ザー」\SpecialChar TeX
5361 ツリーに導入してください.これらのツリーが存在しない場合にどこに作成すればよいかは,お使いのシステムに依存します.これを見いだすには,
5362 \begin_inset Flex Code
5363 status collapsed
5364
5365 \begin_layout Plain Layout
5366 texmf.cnf
5367 \end_layout
5368
5369 \end_inset
5370
5371 ファイルを参照してください
5372 \begin_inset Foot
5373 status collapsed
5374
5375 \begin_layout Plain Layout
5376 このファイルは,通常
5377 \family sans
5378 $TEXMF/web2c
5379 \family default
5380 ディレクトリにありますが,コマンド
5381 \begin_inset Flex Code
5382 status collapsed
5383
5384 \begin_layout Plain Layout
5385 kpsewhich texmf.cnf
5386 \end_layout
5387
5388 \end_inset
5389
5390 を実行してその場所を見つけることもできます.
5391 \end_layout
5392
5393 \end_inset
5394
5395 .「ローカル」\SpecialChar TeX
5396 ツリーの場所は,
5397 \begin_inset Flex Code
5398 status collapsed
5399
5400 \begin_layout Plain Layout
5401 TEXMFLOCAL
5402 \end_layout
5403
5404 \end_inset
5405
5406 変数で定義されており,通常は
5407 \begin_inset Flex Code
5408 status collapsed
5409
5410 \begin_layout Plain Layout
5411 /usr/local/share/texmf/
5412 \end_layout
5413
5414 \end_inset
5415
5416
5417 \begin_inset Flex Code
5418 status collapsed
5419
5420 \begin_layout Plain Layout
5421 /usr/local/texlive/XXXX
5422 \end_layout
5423
5424 \end_inset
5425
5426  (XXXXは導入されている\SpecialChar TeX
5427 Live頒布版の年次)のような場所になっています.「ユーザー」\SpecialChar TeX
5428 ツリーの場所は,
5429 \begin_inset Flex Code
5430 status collapsed
5431
5432 \begin_layout Plain Layout
5433 TEXMFHOME
5434 \end_layout
5435
5436 \end_inset
5437
5438 で定義されており,通常は
5439 \begin_inset Flex Code
5440 status collapsed
5441
5442 \begin_layout Plain Layout
5443 $HOME/texmf/
5444 \end_layout
5445
5446 \end_inset
5447
5448
5449 \begin_inset Flex Code
5450 status collapsed
5451
5452 \begin_layout Plain Layout
5453 $HOME/.texliveXXXX
5454 \end_layout
5455
5456 \end_inset
5457
5458 です(もしこれらの変数が事前定義されていなければ,定義しなくてはなりません).「ローカル」ツリーを作成したり変更したりするには,おそらくroot権限が必要ですが
5459 ,「ユーザー」ツリーにはこのような制限はありません.
5460 \begin_inset Newline newline
5461 \end_inset
5462
5463 一般的に,システムをアップグレードした際に,ユーザーが修正されたり上書きされたりということが起こらないので,ユーザーツリーに導入することが推奨されます.こうする
5464 と,自分のホームディレクトリをバックアップする際に,パッケージも他のものと一緒にバックアップされます(もちろん通常行われるようにすればの話です).
5465 \end_layout
5466
5467 \begin_layout Enumerate
5468 Windowで,システム上の全ユーザーに新パッケージを利用可能にしたい場合には,\SpecialChar LaTeX
5469 の導入されているフォルダのサブフォルダ
5470 \begin_inset Flex Code
5471 status collapsed
5472
5473 \begin_layout Plain Layout
5474 ~
5475 \backslash
5476 tex
5477 \backslash
5478 latex
5479 \end_layout
5480
5481 \end_inset
5482
5483 に移動します(MiK\SpecialChar TeX
5484 の既定値では,これは
5485 \begin_inset Flex Code
5486 status collapsed
5487
5488 \begin_layout Plain Layout
5489 ~:Programs
5490 \backslash
5491 MiKTeX
5492 \backslash
5493 tex
5494 \backslash
5495 latex
5496 \end_layout
5497
5498 \end_inset
5499
5500 です)
5501 \begin_inset Foot
5502 status open
5503
5504 \begin_layout Plain Layout
5505 これは,英語版でのみ正しいパスになっています.独語版では
5506 \begin_inset Flex Code
5507 status collapsed
5508
5509 \begin_layout Plain Layout
5510 ~:Programme
5511 \backslash
5512 MiKTeX
5513 \backslash
5514 tex
5515 \backslash
5516 latex
5517 \end_layout
5518
5519 \end_inset
5520
5521 となり,他の言語でも同様です.
5522 \end_layout
5523
5524 \end_inset
5525
5526 .ここに新規フォルダ
5527 \begin_inset Flex Code
5528 status collapsed
5529
5530 \begin_layout Plain Layout
5531 foiltex
5532 \end_layout
5533
5534 \end_inset
5535
5536 を作成し,パッケージの全ファイルをそこにコピーしてください.パッケージを自分だけで使用したい場合や,admin権限を持っていない場合には,ローカル\SpecialChar LaTeX
5537 フォルダで同じ
5538 ことを行います.たとえばMiK\SpecialChar TeX
5539
5540 \begin_inset space ~
5541 \end_inset
5542
5543 2.8では,これはWinXP上では
5544 \begin_inset Newline newline
5545 \end_inset
5546
5547
5548 \begin_inset Flex Code
5549 status collapsed
5550
5551 \begin_layout Plain Layout
5552 ~:
5553 \backslash
5554 Documents and Settings
5555 \backslash
5556 <ユーザー名>
5557 \backslash
5558 Application Data
5559 \backslash
5560
5561 \end_layout
5562
5563 \end_inset
5564
5565
5566 \begin_inset Newline newline
5567 \end_inset
5568
5569
5570 \begin_inset Phantom HPhantom
5571 status open
5572
5573 \begin_layout Plain Layout
5574
5575 \family typewriter
5576 ~:
5577 \backslash
5578
5579 \end_layout
5580
5581 \end_inset
5582
5583
5584 \begin_inset Flex Code
5585 status collapsed
5586
5587 \begin_layout Plain Layout
5588 MiKTeX
5589 \backslash
5590 2.8
5591 \backslash
5592 tex
5593 \backslash
5594 latex
5595 \end_layout
5596
5597 \end_inset
5598
5599
5600 \begin_inset Newline newline
5601 \end_inset
5602
5603 フォルダ,WinVista上では
5604 \begin_inset Newline newline
5605 \end_inset
5606
5607
5608 \begin_inset Flex Code
5609 status collapsed
5610
5611 \begin_layout Plain Layout
5612 ~:
5613 \backslash
5614 Users
5615 \backslash
5616 <ユーザー名>
5617 \backslash
5618 AppData
5619 \backslash
5620 Roaming
5621 \backslash
5622 2.8
5623 \backslash
5624 MiKTeX
5625 \backslash
5626 tex
5627 \backslash
5628 latex
5629 \end_layout
5630
5631 \end_inset
5632
5633
5634 \begin_inset Newline newline
5635 \end_inset
5636
5637 フォルダになります.
5638 \end_layout
5639
5640 \end_deeper
5641 \begin_layout Enumerate
5642 ここまで来れば,あとは\SpecialChar LaTeX
5643 に新しいファイルがあることを告げるだけです.これは使用している\SpecialChar LaTeX
5644 頒布版に依存します.
5645 \end_layout
5646
5647 \begin_deeper
5648 \begin_layout Enumerate
5649 \SpecialChar TeX
5650 Liveの場合には,コンソールから
5651 \begin_inset Flex Code
5652 status collapsed
5653
5654 \begin_layout Plain Layout
5655 texhash
5656 \end_layout
5657
5658 \end_inset
5659
5660 コマンドを実行してください.パッケージを全ユーザー用に導入した場合には,おそらくroot権限で行う必要があります.
5661 \end_layout
5662
5663 \begin_layout Enumerate
5664 MiK\SpecialChar TeX
5665 では,パッケージを全ユーザー用に導入した場合には,「Settings
5666 \begin_inset space ~
5667 \end_inset
5668
5669 (Admin)」を起動し,「Refresh FNDB」と記してあるボタンを押してください.そうでない場合には,「Settings」を起動して同様に行ってください
5670
5671 \end_layout
5672
5673 \end_deeper
5674 \begin_layout Enumerate
5675 最後に,\SpecialChar LyX
5676 に新しいパッケージがあることを告げなくてはなりません.そこで,\SpecialChar LyX
5677 からツール\SpecialChar menuseparator
5678 環境構成メニューを実行して,\SpecialChar LyX
5679 を再起動します.
5680 \end_layout
5681
5682 \begin_layout Standard
5683 これでパッケージが導入されました.この例では,文書クラス
5684 \begin_inset Flex Code
5685 status collapsed
5686
5687 \begin_layout Plain Layout
5688 Slides
5689 \begin_inset space ~
5690 \end_inset
5691
5692 (FoilTeX)
5693 \end_layout
5694
5695 \end_inset
5696
5697
5698 \begin_inset Flex MenuItem
5699 status collapsed
5700
5701 \begin_layout Plain Layout
5702 文書\SpecialChar menuseparator
5703 設定\SpecialChar menuseparator
5704 文書クラス
5705 \end_layout
5706
5707 \end_inset
5708
5709 で利用可能になっているはずです.
5710 \end_layout
5711
5712 \begin_layout Standard
5713 \begin_inset Flex MenuItem
5714 status collapsed
5715
5716 \begin_layout Plain Layout
5717 文書\SpecialChar menuseparator
5718 設定\SpecialChar menuseparator
5719 文書クラス
5720 \end_layout
5721
5722 \end_inset
5723
5724 メニューに列挙されてもいない\SpecialChar LaTeX
5725 文書クラスを使用したい場合には,その「レイアウト」ファイルを作り出さなくてはなりません.これが次節のトピックです.
5726 \end_layout
5727
5728 \begin_layout Section
5729 レイアウトファイルの型
5730 \end_layout
5731
5732 \begin_layout Standard
5733 この節は,レイアウト情報を含む各種\SpecialChar LyX
5734 ファイルについて述べます.これらのファイルは,各種段落様式や文字様式についての記述がされているものであり,\SpecialChar LyX
5735 がそれらをどのように
5736 表示すべきなのか,また,それらをどのように\SpecialChar LaTeX
5737 やDocBook,XHTMLその他の出力形式に翻訳すればよいのかが記されています.
5738 \end_layout
5739
5740 \begin_layout Standard
5741 ここでは,レイアウトファイル作成過程の包括的な解説を試みたいと思いますが,\SpecialChar LaTeX
5742 クラスだけでもサポートする文書の種類があまりにたくさんあるので,読者が出会いうるケース
5743 や問題をすべてカバーすることはとても望めません.\SpecialChar LyX
5744 ユーザーメーリングリストには,自身の経験を人々と分かち合いたいと望む,レイアウトデザインの経験豊かな人々がよく顔
5745 を出していますので,気軽に質問を投げかけてみてください.
5746 \end_layout
5747
5748 \begin_layout Standard
5749 新しいレイアウトを準備するに当たっては,\SpecialChar LyX
5750 と共に頒布されているレイアウトの例を見るのがたいへん役立ちます.他の人々も使用できる\SpecialChar LaTeX
5751 文書クラス用の\SpecialChar LyX
5752 レイアウトを作ったり,
5753 他の人々にも有用なモジュールをお書きになった場合には,
5754 \begin_inset CommandInset href
5755 LatexCommand href
5756 name "LyX Wikiのレイアウトに関する節"
5757 target "https://wiki.lyx.org/Layouts/Layouts"
5758 literal "false"
5759
5760 \end_inset
5761
5762 か,\SpecialChar LyX
5763 開発者メーリングリストに投稿して,\SpecialChar LyX
5764 頒布版に同梱することができるようにしてください
5765 \begin_inset Foot
5766 status collapsed
5767
5768 \begin_layout Plain Layout
5769 \SpecialChar LyX
5770 はGeneral Public Licenseの下でライセンスされていますので,\SpecialChar LyX
5771 に寄贈されたものは総て同じライセンス下に置かれることに注意してください.
5772 \end_layout
5773
5774 \end_inset
5775
5776
5777 \end_layout
5778
5779 \begin_layout Subsection
5780 レイアウトモジュール
5781 \begin_inset CommandInset label
5782 LatexCommand label
5783 name "subsec:レイアウトモジュール"
5784
5785 \end_inset
5786
5787
5788 \end_layout
5789
5790 \begin_layout Standard
5791 ここまで,「レイアウトファイル」についてお話してきました.しかし,レイアウト情報を含むものには,他の種類のファイルもあります.厳密にレイアウトファイルと呼ぶとき
5792 ,それは
5793 \begin_inset Flex Code
5794 status collapsed
5795
5796 \begin_layout Plain Layout
5797 .layout
5798 \end_layout
5799
5800 \end_inset
5801
5802 拡張子を持ち,文書クラスに関する情報を\SpecialChar LyX
5803 に提供するものを指します.しかしながら,\SpecialChar LyX
5804  1.6以降,レイアウト情報は,拡張子が
5805 \begin_inset Flex Code
5806 status collapsed
5807
5808 \begin_layout Plain Layout
5809 .module
5810 \end_layout
5811
5812 \end_inset
5813
5814 のレイアウト
5815 \emph on
5816 モジュール
5817 \emph default
5818 にも含めることができます.レイアウトが\SpecialChar LaTeX
5819 クラスに対応しているように,モジュールは\SpecialChar LaTeX
5820 パッケージに対応するものであり,
5821 \begin_inset Flex Code
5822 status collapsed
5823
5824 \begin_layout Plain Layout
5825 endnotes
5826 \end_layout
5827
5828 \end_inset
5829
5830 モジュールのように,特定のパッケージにサポートを提供するためのモジュールもあります.レイアウトモジュールは,特定の文書レイアウトに特化したものではなく,多くのレ
5831 イアウトで使用できるという意味において,一面,
5832 \begin_inset Flex Code
5833 status collapsed
5834
5835 \begin_layout Plain Layout
5836 stdsections.inc
5837 \end_layout
5838
5839 \end_inset
5840
5841 等のインクルードファイル
5842 \begin_inset Foot
5843 status collapsed
5844
5845 \begin_layout Plain Layout
5846 これらは任意の拡張子をつけることができますが,慣習的に
5847 \begin_inset Flex Code
5848 status collapsed
5849
5850 \begin_layout Plain Layout
5851 .inc
5852 \end_layout
5853
5854 \end_inset
5855
5856 拡張子が用いられます.
5857 \end_layout
5858
5859 \end_inset
5860
5861 のようなものです.相異なる点といえば,
5862 \begin_inset Flex Code
5863 status collapsed
5864
5865 \begin_layout Plain Layout
5866 article.cls
5867 \end_layout
5868
5869 \end_inset
5870
5871 でインクルードファイルを使用するには,そのファイルを編集しなくてはなりませんが,モジュールの場合は,
5872 \begin_inset Flex MenuItem
5873 status collapsed
5874
5875 \begin_layout Plain Layout
5876 文書\SpecialChar menuseparator
5877 設定
5878 \end_layout
5879
5880 \end_inset
5881
5882 ダイアログで選択するだけですみます.
5883 \end_layout
5884
5885 \begin_layout Standard
5886 モジュール作成は,新しく段落様式を一つ加えたり,自由差込枠を加えたりするだけで済むことも多いので,レイアウト編集を学ぶ上でもっとも易しい方法です.しかし原理的に
5887 は,レイアウトファイルに入れることのできるものはすべて入れることができます.
5888 \end_layout
5889
5890 \begin_layout Standard
5891 新しいモジュールを作成し,それを
5892 \begin_inset Flex Code
5893 status collapsed
5894
5895 \begin_layout Plain Layout
5896 layout/
5897 \end_layout
5898
5899 \end_inset
5900
5901 フォルダにコピーした後,モジュールがメニューに現れるようにするためには,\SpecialChar LyX
5902 の環境構成を行って再起動しなくてはなりません.しかしながら,モジュールの修正の場合には,
5903 \begin_inset Flex MenuItem
5904 status collapsed
5905
5906 \begin_layout Plain Layout
5907 文書\SpecialChar menuseparator
5908 設定
5909 \end_layout
5910
5911 \end_inset
5912
5913 を開いてどれかを選択し「OK」を押せば,直ちに反映されます.
5914 \emph on
5915 これを実行する前に,作業中の文書を保存しておくことを強く勧めます
5916 \emph default
5917 .もっと言えば,
5918 \emph on
5919 実際の文書で作業しているときに,同時にモジュールの編集をしようとしないことを強く勧めます
5920 \emph default
5921 .もちろん開発陣は,そのような場合でも\SpecialChar LyX
5922 が安定性を維持するように努力していますが,あなたが作成したモジュール中の文法エラー等によって,奇妙な挙動が引き起こされるこ
5923 とがあるからです.
5924 \end_layout
5925
5926 \begin_layout Subsubsection
5927 ローカルレイアウト
5928 \end_layout
5929
5930 \begin_layout Standard
5931 \SpecialChar LyX
5932 に於けるモジュールは,\SpecialChar LaTeX
5933 に於けるパッケージに当たります.しかしながら,特定の差込枠や文字様式を,ひとつの文書のためだけに作りたいこともあるでしょうから,そのような
5934 場合に,他の文書でも利用できるようなモジュールをわざわざ書くことには,あまり意味がありません.このような場合に必要となるのが,「ローカルレイアウト」なのです.
5935 \end_layout
5936
5937 \begin_layout Standard
5938 これは,
5939 \family sans
5940 文書\SpecialChar menuseparator
5941 設定\SpecialChar menuseparator
5942 ローカルのレイアウト
5943 \family default
5944 にあります.そこにある大きなテキストボックスは,本来ならレイアウトファイルやモジュールに入力すべきものを,入力するためのものです.特定の文書のローカルレイアウト
5945 は,その文書専属のモジュールだと考えることができます.したがって,
5946 \begin_inset Flex Code
5947 status collapsed
5948
5949 \begin_layout Plain Layout
5950 Format
5951 \end_layout
5952
5953 \end_inset
5954
5955 タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,通常は,執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX
5956  
5957 \begin_inset Info
5958 type  "lyxinfo"
5959 arg   "version"
5960 \end_inset
5961
5962 では,最新書式は
5963 \begin_inset Info
5964 type  "lyxinfo"
5965 arg   "layoutformat"
5966 \end_inset
5967
5968 です)
5969 \end_layout
5970
5971 \begin_layout Standard
5972 \begin_inset Flex Code
5973 status collapsed
5974
5975 \begin_layout Plain Layout
5976 ローカルのレイアウト
5977 \end_layout
5978
5979 \end_inset
5980
5981 面に何かを入力すると,下部にある「検証」ボタンが有効になります.このボタンを押すと,ユーザーの入力したものが,指定された書式に沿って,有効なレイアウト情報になっ
5982 ているかどうかが検証されます.すると,\SpecialChar LyX
5983 がその結果を返しますが,残念ながら,エラーがあった場合にそれが何のエラーであるかは返しません.しかしながら,\SpecialChar LyX
5984 をターミナル(
5985 擬似端末)から起動した場合には,そのエラーがターミナルに返されます.ローカルレイアウトは,正しい書式で入力されないうちは,保存することができません.
5986 \end_layout
5987
5988 \begin_layout Standard
5989 ここで,前節と同じ警告があります.ローカルレイアウトは,作業中の文書上で,特に保存していない文書上ではいじらないでください.それに注意すれば,テスト用文書上でロ
5990 ーカルレイアウトを用いるのは,レイアウトのアイディアを試すのに便利ですし,モジュール開発の第一歩としても便利です.
5991 \end_layout
5992
5993 \begin_layout Subsection
5994 \begin_inset Flex MenuItem
5995 status collapsed
5996
5997 \begin_layout Plain Layout
5998 .sty
5999 \end_layout
6000
6001 \end_inset
6002
6003 ファイル用のレイアウト
6004 \end_layout
6005
6006 \begin_layout Standard
6007 新しく\SpecialChar LaTeX
6008 文書クラスをサポートしようとするとき,\SpecialChar LaTeX2e
6009 クラス(
6010 \begin_inset Flex Code
6011 status collapsed
6012
6013 \begin_layout Plain Layout
6014 .cls
6015 \end_layout
6016
6017 \end_inset
6018
6019 )ファイルが絡む場合と,スタイル(
6020 \begin_inset Flex Code
6021 status collapsed
6022
6023 \begin_layout Plain Layout
6024 .sty
6025 \end_layout
6026
6027 \end_inset
6028
6029 )ファイルが絡む場合の2つの状況があり得ます.スタイルファイルのサポートは,通常は,かなり容易ですが,新しくクラスファイルをサポートすることは,もう少し難しくな
6030 ります.この節では,前者について述べることとし,後者については次節に譲ります.当然のことながら,新しくDocBook DTDをサポートしたい場合にも,同様の所見
6031 が当てはまります.
6032 \end_layout
6033
6034 \begin_layout Standard
6035 この易しい方の場合では,新しい文書クラスは,既にサポートされている文書クラスと共に使うスタイルファイルとして提供されています.例示のために,スタイルファイルは
6036 \begin_inset Flex MenuItem
6037 status collapsed
6038
6039 \begin_layout Plain Layout
6040 myclass.sty
6041 \end_layout
6042
6043 \end_inset
6044
6045 という名称で,標準的なクラスである
6046 \begin_inset Flex MenuItem
6047 status collapsed
6048
6049 \begin_layout Plain Layout
6050 report.cls
6051 \end_layout
6052
6053 \end_inset
6054
6055 と共に用いられるものと仮定しましょう.
6056 \end_layout
6057
6058 \begin_layout Standard
6059 既存の文書クラスのレイアウトファイルを,以下のように,お使いのローカルディレクトリにコピーすることから始めてください
6060 \begin_inset Foot
6061 status collapsed
6062
6063 \begin_layout Plain Layout
6064 もちろん,どのディレクトリがローカルディレクトリとなるかは,プラットフォームに依存します.\SpecialChar LyX
6065 では,起動時に
6066 \begin_inset Flex MenuItem
6067 status collapsed
6068
6069 \begin_layout Plain Layout
6070 -userdir
6071 \end_layout
6072
6073 \end_inset
6074
6075 オプションを指定することによって,ローカルディレクトリを指定することも可能です.
6076 \end_layout
6077
6078 \end_inset
6079
6080
6081 \end_layout
6082
6083 \begin_layout LyX-Code
6084 cp report.layout ~/.lyx/layouts/myclass.layout
6085 \end_layout
6086
6087 \begin_layout Standard
6088 それから,
6089 \begin_inset Flex Code
6090 status collapsed
6091
6092 \begin_layout Plain Layout
6093 myclass.layout
6094 \end_layout
6095
6096 \end_inset
6097
6098 を編集して,
6099 \end_layout
6100
6101 \begin_layout LyX-Code
6102
6103 \backslash
6104 DeclareLaTeXClass{report}
6105 \end_layout
6106
6107 \begin_layout Standard
6108 という行を
6109 \end_layout
6110
6111 \begin_layout LyX-Code
6112
6113 \backslash
6114 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6115 \end_layout
6116
6117 \begin_layout Standard
6118 のように変更してください.それから,ファイル冒頭辺りに
6119 \end_layout
6120
6121 \begin_layout LyX-Code
6122 Preamble 
6123 \begin_inset Newline newline
6124 \end_inset
6125
6126     
6127 \backslash
6128 usepackage{myclass}
6129 \begin_inset Newline newline
6130 \end_inset
6131
6132 EndPreamble
6133 \end_layout
6134
6135 \begin_layout Standard
6136 と書き加えてください.
6137 \end_layout
6138
6139 \begin_layout Standard
6140 \SpecialChar LyX
6141 を起動して
6142 \begin_inset Flex MenuItem
6143 status collapsed
6144
6145 \begin_layout Plain Layout
6146 ツール\SpecialChar menuseparator
6147 環境構成
6148 \end_layout
6149
6150 \end_inset
6151
6152 を選択してください.それから\SpecialChar LyX
6153 を再起動し,新規文書を作成してみてください.すると,
6154 \begin_inset Flex MenuItem
6155 status collapsed
6156
6157 \begin_layout Plain Layout
6158 文書\SpecialChar menuseparator
6159 設定
6160 \end_layout
6161
6162 \end_inset
6163
6164 ダイアログの文書クラスオプションに「
6165 \begin_inset Flex MenuItem
6166 status collapsed
6167
6168 \begin_layout Plain Layout
6169 report (myclass)
6170 \end_layout
6171
6172 \end_inset
6173
6174 」が現れるはずです.新しいクラスにおいて,節区切り用コマンドなどの一部が,基礎となったクラス—この例では
6175 \begin_inset Flex Code
6176 status collapsed
6177
6178 \begin_layout Plain Layout
6179 report
6180 \end_layout
6181
6182 \end_inset
6183
6184 —とは違う挙動をすることはよくありますので,希望に応じて,各節の設定をいじると良いでしょう.各節のレイアウト情報は,
6185 \begin_inset Flex Code
6186 status collapsed
6187
6188 \begin_layout Plain Layout
6189 stdsections.inc
6190 \end_layout
6191
6192 \end_inset
6193
6194 に含まれていますが,このファイルをコピーしたり変更したりする必要はありません.代わりに,自身のレイアウトファイル中,
6195 \begin_inset Flex Code
6196 status collapsed
6197
6198 \begin_layout Plain Layout
6199 stdsections.inc
6200 \end_layout
6201
6202 \end_inset
6203
6204 も取り込む
6205 \begin_inset Flex Code
6206 status collapsed
6207
6208 \begin_layout Plain Layout
6209 Input stdclass.inc
6210 \end_layout
6211
6212 \end_inset
6213
6214 の後に変更を加えるだけです.たとえば,章見だしのフォントをサンセリフ体に変更するには,以下のような行を加えます.
6215 \end_layout
6216
6217 \begin_layout LyX-Code
6218 Style Chapter
6219 \end_layout
6220
6221 \begin_layout LyX-Code
6222     Font
6223 \end_layout
6224
6225 \begin_layout LyX-Code
6226         Family Sans
6227 \end_layout
6228
6229 \begin_layout LyX-Code
6230     EndFont
6231 \end_layout
6232
6233 \begin_layout LyX-Code
6234 End
6235 \end_layout
6236
6237 \begin_layout Standard
6238 これは,既存の章様式宣言を上書き(あるいはこの場合には追加)します.
6239 \end_layout
6240
6241 \begin_layout Standard
6242 新しいパッケージでは,基礎となったクラスには存在しないコマンドや環境を提供することもできます.この場合には,これらをレイアウトファイルに加えます.そのやり方につ
6243 いては,第
6244 \begin_inset CommandInset ref
6245 LatexCommand ref
6246 reference "sec:テキストクラス"
6247
6248 \end_inset
6249
6250 節の情報を参照してください.
6251 \end_layout
6252
6253 \begin_layout Standard
6254 もし
6255 \begin_inset Flex Code
6256 status collapsed
6257
6258 \begin_layout Plain Layout
6259 myclass.sty
6260 \end_layout
6261
6262 \end_inset
6263
6264 が他の文書クラスで使用することができたり,あるいはできない場合でも,基礎となるクラスから読み込むことのできるモジュールを書くのが最も簡単であることがわかるでしょ
6265 う.最も簡単なモジュールの例としては,以下のようなものになります.
6266 \end_layout
6267
6268 \begin_layout LyX-Code
6269 #
6270 \backslash
6271 DeclareLyXModule{My Package}
6272 \end_layout
6273
6274 \begin_layout LyX-Code
6275 #DescriptionBegin
6276 \end_layout
6277
6278 \begin_layout LyX-Code
6279 #Support for mypkg.sty.
6280 \end_layout
6281
6282 \begin_layout LyX-Code
6283 #DescriptionEnd
6284 \begin_inset Newline newline
6285 \end_inset
6286
6287
6288 \end_layout
6289
6290 \begin_layout LyX-Code
6291 Format 
6292 \begin_inset Info
6293 type  "lyxinfo"
6294 arg   "layoutformat"
6295 \end_inset
6296
6297
6298 \begin_inset Newline newline
6299 \end_inset
6300
6301
6302 \end_layout
6303
6304 \begin_layout LyX-Code
6305 Preamble
6306 \begin_inset Newline newline
6307 \end_inset
6308
6309     
6310 \backslash
6311 usepackage{mypkg}
6312 \begin_inset Newline newline
6313 \end_inset
6314
6315 EndPreamble
6316 \end_layout
6317
6318 \begin_layout Standard
6319 もう少し複雑なモジュールでは,既存の構成物の挙動を修正したり,新しい構成物を定義したりすることになるでしょう.この辺りの議論については,第
6320 \begin_inset CommandInset ref
6321 LatexCommand ref
6322 reference "sec:テキストクラス"
6323
6324 \end_inset
6325
6326 節を参照してください.
6327 \end_layout
6328
6329 \begin_layout Subsection
6330 \begin_inset Flex MenuItem
6331 status collapsed
6332
6333 \begin_layout Plain Layout
6334 .cls
6335 \end_layout
6336
6337 \end_inset
6338
6339 ファイル用のレイアウト
6340 \end_layout
6341
6342 \begin_layout Standard
6343 これには2つのケースがありえます.ひとつは,クラスファイル自体が既存の文書クラスに立脚している場合です.たとえば,多くの学位論文用クラスは
6344 \begin_inset Flex MenuItem
6345 status collapsed
6346
6347 \begin_layout Plain Layout
6348 book.cls
6349 \end_layout
6350
6351 \end_inset
6352
6353 に基づいています.お使いのものがどうであるかを見るには,クラスファイル中に
6354 \end_layout
6355
6356 \begin_layout LyX-Code
6357
6358 \backslash
6359 LoadClass{book}
6360 \end_layout
6361
6362 \begin_layout Standard
6363 という行がないかどうか探してください.もしこれがあれば,
6364 \begin_inset Flex Code
6365 status collapsed
6366
6367 \begin_layout Plain Layout
6368 Declare\SpecialChar LaTeX
6369 Class
6370 \end_layout
6371
6372 \end_inset
6373
6374 行は異なりますが,おおよそ前節のように進めることができます.あなたが新しく作るクラスが
6375 \begin_inset Flex Code
6376 status collapsed
6377
6378 \begin_layout Plain Layout
6379 thesis
6380 \end_layout
6381
6382 \end_inset
6383
6384 であり,
6385 \begin_inset Flex Code
6386 status collapsed
6387
6388 \begin_layout Plain Layout
6389 book
6390 \end_layout
6391
6392 \end_inset
6393
6394 クラスに基づいていれば,
6395 \begin_inset Flex Code
6396 status collapsed
6397
6398 \begin_layout Plain Layout
6399 Declare\SpecialChar LaTeX
6400 Class
6401 \end_layout
6402
6403 \end_inset
6404
6405 行は以下のようにします
6406 \begin_inset Foot
6407 status collapsed
6408
6409 \begin_layout Plain Layout
6410 さらに\SpecialChar LyX
6411 は,文書クラス名がレイアウトファイル名と同じだと仮定するので,クラスファイルを
6412 \begin_inset Flex Code
6413 status collapsed
6414
6415 \begin_layout Plain Layout
6416 thesis.layout
6417 \end_layout
6418
6419 \end_inset
6420
6421 という名前で保存するのが最も簡単です. 
6422 \end_layout
6423
6424 \end_inset
6425
6426
6427 \end_layout
6428
6429 \begin_layout LyX-Code
6430
6431 \backslash
6432 DeclareLaTeXClass[thesis,book]{thesis}
6433 \end_layout
6434
6435 \begin_layout Standard
6436 他方,新しいクラスが既存のクラスに基づいていない場合には,おそらくあなた自身のレイアウトをしたためる必要があります.もし可能であれば,類似した\SpecialChar LaTeX
6437 クラスを使用してい
6438 る既存のレイアウトファイルをコピーして,それに修正を加えるようにすることを強くお勧めします.少なくとも,どの項目を考慮すべきかがわかるように,既存のファイルを作
6439 業の開始点としてください.
6440 \end_layout
6441
6442 \begin_layout Subsection
6443 ひな型を作成する
6444 \begin_inset CommandInset label
6445 LatexCommand label
6446 name "sec:ひな型を作成する"
6447
6448 \end_inset
6449
6450
6451 \end_layout
6452
6453 \begin_layout Standard
6454 新しい文書クラス用のレイアウトファイルを書いたならば,そのレイアウト用のひな型も書くことを検討されるかもしれません.ひな型は,内容はダミーですが,レイアウトの使
6455 い方を示す一種のチュートリアルとして動作します.もちろん,イメージを得るために,\SpecialChar LyX
6456 添付のひな型をあれこれ見てみるのもよいでしょう.
6457 \end_layout
6458
6459 \begin_layout Standard
6460 ひな型は,通常の文書と同様,\SpecialChar LyX
6461 を使って作成することができます.唯一違う点は,通常の文書では,フォント構成や用紙寸法を含め,すべてのあり得る設定が為されている点です
6462 .これらの場合,通常ユーザーはひな型が彼の設定値を上書きすることを望みません.この理由から,ひな型の設計者は,
6463 \begin_inset Flex Code
6464 status collapsed
6465
6466 \begin_layout Plain Layout
6467
6468 \backslash
6469 fontscheme
6470 \end_layout
6471
6472 \end_inset
6473
6474
6475 \begin_inset Flex Code
6476 status collapsed
6477
6478 \begin_layout Plain Layout
6479
6480 \backslash
6481 papersize
6482 \end_layout
6483
6484 \end_inset
6485
6486 などの対応するコマンドをひな型\SpecialChar LyX
6487 ファイルから取り除く必要があります.これは,たとえば
6488 \begin_inset Flex Code
6489 status collapsed
6490
6491 \begin_layout Plain Layout
6492 vi
6493 \end_layout
6494
6495 \end_inset
6496
6497
6498 \begin_inset Flex Code
6499 status collapsed
6500
6501 \begin_layout Plain Layout
6502 notepad
6503 \end_layout
6504
6505 \end_inset
6506
6507 のような,どの軽いテキストエディタでも行うことができます.
6508 \end_layout
6509
6510 \begin_layout Standard
6511 編集したひな型を
6512 \begin_inset Flex Code
6513 status collapsed
6514
6515 \begin_layout Plain Layout
6516 UserDir/templates/
6517 \end_layout
6518
6519 \end_inset
6520
6521 に置き,グローバルなひな型ディレクトリ
6522 \begin_inset Flex Code
6523 status collapsed
6524
6525 \begin_layout Plain Layout
6526 LyXDir/templates/
6527 \end_layout
6528
6529 \end_inset
6530
6531 から使用したいものを同じ場所にコピーし,
6532 \begin_inset Flex MenuItem
6533 status collapsed
6534
6535 \begin_layout Plain Layout
6536 ツール\SpecialChar menuseparator
6537 設定\SpecialChar menuseparator
6538 パス
6539 \end_layout
6540
6541 \end_inset
6542
6543 ダイアログのひな型パスを再定義してください.
6544 \end_layout
6545
6546 \begin_layout Standard
6547 ところで,特別な意味を持つひな型
6548 \begin_inset Flex Code
6549 status collapsed
6550
6551 \begin_layout Plain Layout
6552 defaults.lyx
6553 \end_layout
6554
6555 \end_inset
6556
6557 があることに注意してください.このひな型は,
6558 \begin_inset Flex MenuItem
6559 status collapsed
6560
6561 \begin_layout Plain Layout
6562 ファイル\SpecialChar menuseparator
6563 新規
6564 \end_layout
6565
6566 \end_inset
6567
6568 を使って新規文書を作成する際,便利な既定値を提供する目的で必ず読み込まれます.このひな型を\SpecialChar LyX
6569 内部から作成するのにしなくてはならないことは,対応する設定を持つ文書を
6570 開き,
6571 \begin_inset Flex MenuItem
6572 status collapsed
6573
6574 \begin_layout Plain Layout
6575 文書既定値として保存
6576 \end_layout
6577
6578 \end_inset
6579
6580 ボタンを押すことです.
6581 \end_layout
6582
6583 \begin_layout Subsection
6584 旧レイアウトファイルの更新
6585 \end_layout
6586
6587 \begin_layout Standard
6588 レイアウトファイルの書式は,\SpecialChar LyX
6589 のリリース毎に変更されますので,古いレイアウトファイルは変換されなくてはなりません.\SpecialChar LyX
6590 が古い書式のレイアウトファイルを読み込むと,\SpecialChar LyX
6591 は,
6592 自動的に変換ツール
6593 \begin_inset Flex Code
6594 status collapsed
6595
6596 \begin_layout Plain Layout
6597 \SpecialChar LyX
6598 Dir/scripts/layout2layout.py
6599 \end_layout
6600
6601 \end_inset
6602
6603 を呼び出し,それを現在の書式の一時ファイルに変換します.元のファイルは変更を加えられずに措かれます.もしこのレイアウトファイルをよく使うならば,\SpecialChar LyX
6604 がこれを毎回行な
6605 わくて済むように,レイアウトファイルを恒久的に変換しておきたいと思うかもしれません.これを行うには,以下のように変換子を手動で呼び出してください.
6606 \end_layout
6607
6608 \begin_layout Enumerate
6609 ファイル
6610 \begin_inset Flex Code
6611 status collapsed
6612
6613 \begin_layout Plain Layout
6614 myclass.layout
6615 \end_layout
6616
6617 \end_inset
6618
6619
6620 \begin_inset Flex Code
6621 status collapsed
6622
6623 \begin_layout Plain Layout
6624 myclass.old
6625 \end_layout
6626
6627 \end_inset
6628
6629 に改称
6630 \end_layout
6631
6632 \begin_layout Enumerate
6633 以下のコマンドをコール
6634 \begin_inset Newline newline
6635 \end_inset
6636
6637
6638 \begin_inset Flex Code
6639 status collapsed
6640
6641 \begin_layout Plain Layout
6642 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
6643 \end_layout
6644
6645 \end_inset
6646
6647
6648 \begin_inset Newline newline
6649 \end_inset
6650
6651 ここで
6652 \begin_inset Flex Code
6653 status collapsed
6654
6655 \begin_layout Plain Layout
6656 LyXDir
6657 \end_layout
6658
6659 \end_inset
6660
6661 は\SpecialChar LyX
6662 システムディレクトリの名前です.
6663 \end_layout
6664
6665 \begin_layout Standard
6666 手動変換は,インクルードされているファイル内部の変更までは取り扱いませんので,それらのファイルは別に変換されなくてはなりません.
6667 \end_layout
6668
6669 \begin_layout Subsection
6670 \begin_inset CommandInset label
6671 LatexCommand label
6672 name "subsec:引用エンジンファイル"
6673
6674 \end_inset
6675
6676 引用エンジンファイル
6677 \end_layout
6678
6679 \begin_layout Standard
6680 \begin_inset Flex Code
6681 status collapsed
6682
6683 \begin_layout Plain Layout
6684 citeengines/
6685 \end_layout
6686
6687 \end_inset
6688
6689 サブディレクトリ以下に収められている,いわゆる
6690 \begin_inset Flex Code
6691 status collapsed
6692
6693 \begin_layout Plain Layout
6694 *.citeengine
6695 \end_layout
6696
6697 \end_inset
6698
6699 ファイルは,レイアウトファイルの特殊形です.これらの目的は,
6700 \family sans
6701 natbib
6702 \family default
6703
6704 \family sans
6705 jurabib
6706 \family default
6707
6708 \family sans
6709 biblatex
6710 \family default
6711 など,書誌情報を生成する\SpecialChar LaTeX
6712 パッケージの詳細を定義することですが,通常の(追加パッケージのない)Bib\SpecialChar TeX
6713 引用が\SpecialChar LyX
6714 中でどのように取り扱われるかも,これらのファイルの中で定
6715 義されます.
6716 \end_layout
6717
6718 \begin_layout Standard
6719 より具体的には,どのパッケージを\SpecialChar LyX
6720 が読み込む必要があるのか,どの引用コマンドが利用可能であるのか,これらが\SpecialChar LyX
6721 中(作業領域・ダイアログ・コンテクストメニュー)で,さら
6722 にはXHTMLや平文出力中でどのように表示されるのかを定義します.さらに,これらのファイルは,使用できる派生様式(著者-刊行年,数値など)とその子細を特定します
6723 .引用エンジンファイルは,
6724 \family sans
6725 文書\SpecialChar menuseparator
6726 設定\SpecialChar ldots
6727 \SpecialChar menuseparator
6728 書誌情報\SpecialChar menuseparator
6729 様式整形子
6730 \family default
6731 で利用できる選択肢を生成するのにも使用されます.
6732 \end_layout
6733
6734 \begin_layout Standard
6735 引用エンジンファイルは,本質的に通常のレイアウトファイルであり,理論上どのようなレイアウト情報も内包することができますが,通常は
6736 \begin_inset Flex Code
6737 status collapsed
6738
6739 \begin_layout Plain Layout
6740 MaxCiteNames
6741 \end_layout
6742
6743 \end_inset
6744
6745
6746 \begin_inset Flex Code
6747 status collapsed
6748
6749 \begin_layout Plain Layout
6750 CiteFramework
6751 \end_layout
6752
6753 \end_inset
6754
6755
6756 \begin_inset Flex Code
6757 status collapsed
6758
6759 \begin_layout Plain Layout
6760 CiteEngine
6761 \end_layout
6762
6763 \end_inset
6764
6765
6766 \begin_inset Flex Code
6767 status collapsed
6768
6769 \begin_layout Plain Layout
6770 CiteFormat
6771 \end_layout
6772
6773 \end_inset
6774
6775 ブロックのような特定のパラメータをもっぱら含みます.この最後の2つの文法は,ファイル自身に加え,第 
6776 \begin_inset CommandInset ref
6777 LatexCommand ref
6778 reference "subsec:引用エンジンの説明"
6779 plural "false"
6780 caps "false"
6781 noprefix "false"
6782
6783 \end_inset
6784
6785 節と第
6786 \begin_inset CommandInset ref
6787 LatexCommand ref
6788 reference "subsec:引用書式指定"
6789 plural "false"
6790 caps "false"
6791 noprefix "false"
6792
6793 \end_inset
6794
6795 節に述べられています.
6796 \end_layout
6797
6798 \begin_layout Section
6799 \begin_inset CommandInset label
6800 LatexCommand label
6801 name "sec:テキストクラス"
6802
6803 \end_inset
6804
6805 レイアウトファイルの書式
6806 \end_layout
6807
6808 \begin_layout Standard
6809 以下の各節では,いよいよ自分の手を汚してレイアウトファイルを作成したり編集したりする段階になった際,直面することの説明を行います.私たちからのアドバイスとしては
6810 ,ゆっくりと進めるようにして,ちょっと進むごとに保存やテストを行い,心休まる音楽を聴き,好きな大人の飲み物を一二杯口にしながら行うのがいいでしょう.特に行き詰ま
6811 ってしまったときにはそうです.実際にはそんなに難しいことではないのですが,特に一度に多くのことをやろうとすると,選択肢が多くありすぎて圧倒されてしまうのです.さ
6812 て,もう一杯大人向け飲料をどうぞ.適量ね.\SpecialChar LyX
6813 の既存のレイアウトを例や参考に使ったり,既存のレイアウトを自身の目的に合わせて修正したりすると,作業が容易になります.
6814 \end_layout
6815
6816 \begin_layout Standard
6817 この章で述べられているタグは,すべて大文字小文字を区別しません.つまり,
6818 \begin_inset Flex Code
6819 status collapsed
6820
6821 \begin_layout Plain Layout
6822 Style
6823 \end_layout
6824
6825 \end_inset
6826
6827
6828 \begin_inset Flex Code
6829 status collapsed
6830
6831 \begin_layout Plain Layout
6832 style
6833 \end_layout
6834
6835 \end_inset
6836
6837
6838 \begin_inset Flex Code
6839 status collapsed
6840
6841 \begin_layout Plain Layout
6842 StYlE
6843 \end_layout
6844
6845 \end_inset
6846
6847 は同じコマンドとなります.機能名の後にある角括弧は,その機能が取り得る値を示します.テキストクラス設定内で機能が特定されていない場合には,既定値は
6848 \begin_inset Flex Code
6849 status collapsed
6850
6851 \begin_layout Plain Layout
6852
6853 \emph on
6854 強調
6855 \end_layout
6856
6857 \end_inset
6858
6859 で表記されます.引数が「文字列」や「浮動小数点型」などのデータ型をとる場合には,既定値は
6860 \begin_inset Flex Code
6861 status collapsed
6862
6863 \begin_layout Plain Layout
6864 浮動小数点型=
6865 \emph on
6866 既定値
6867 \end_layout
6868
6869 \end_inset
6870
6871 のように表示されます.
6872 \end_layout
6873
6874 \begin_layout Subsection
6875 文書クラス宣言と分類
6876 \end_layout
6877
6878 \begin_layout Standard
6879 レイアウトファイル中の
6880 \begin_inset Flex Code
6881 status collapsed
6882
6883 \begin_layout Plain Layout
6884 #
6885 \end_layout
6886
6887 \end_inset
6888
6889 で始まる行はコメントです.この規則には一つだけ例外があります.すべての
6890 \begin_inset Flex Code
6891 status collapsed
6892
6893 \begin_layout Plain Layout
6894 *.layout
6895 \end_layout
6896
6897 \end_inset
6898
6899 ファイルは,以下のような行で始めなくてはならないのです.
6900 \end_layout
6901
6902 \begin_layout LyX-Code
6903
6904 \size small
6905 #% Do not delete the line below; configure depends on this
6906 \end_layout
6907
6908 \begin_layout LyX-Code
6909
6910 \size small
6911 #  
6912 \backslash
6913 DeclareLaTeXClass{Article (Standard Class)}
6914 \end_layout
6915
6916 \begin_layout LyX-Code
6917
6918 \size small
6919 #  
6920 \backslash
6921 DeclareCategory{Articles}
6922 \end_layout
6923
6924 \begin_layout Standard
6925 2行目と3行目は,\SpecialChar LyX
6926 が環境構成を行う際に用いられます.このレイアウトファイルは,\SpecialChar LaTeX
6927 スクリプト
6928 \begin_inset Flex Code
6929 status collapsed
6930
6931 \begin_layout Plain Layout
6932 chkconfig.ltx
6933 \end_layout
6934
6935 \end_inset
6936
6937 が,
6938 \begin_inset Flex Code
6939 status collapsed
6940
6941 \begin_layout Plain Layout
6942 #
6943 \end_layout
6944
6945 \end_inset
6946
6947 を無視する特別なモードで読み込みます.1行目は単なる\SpecialChar LaTeX
6948 コメントですが,2行目にはテキストクラスの宣言が,3行目にはクラスの分類(非必須)が書かれています.これらの
6949 行が
6950 \begin_inset Flex Code
6951 status collapsed
6952
6953 \begin_layout Plain Layout
6954 article.layout
6955 \end_layout
6956
6957 \end_inset
6958
6959 と名付けられたファイルにあると,
6960 \begin_inset Flex Code
6961 status collapsed
6962
6963 \begin_layout Plain Layout
6964 article
6965 \end_layout
6966
6967 \end_inset
6968
6969 (レイアウトファイル名)という名称のテキストクラスを定義し,\SpecialChar LaTeX
6970 文書クラス
6971 \begin_inset Flex Code
6972 status collapsed
6973
6974 \begin_layout Plain Layout
6975 article.cls
6976 \end_layout
6977
6978 \end_inset
6979
6980 を使用するようになります(既定ではレイアウトと同じ名称のものを使用します).上記に現れる「Article (Standard Class)」という文字列は,
6981 \begin_inset Flex MenuItem
6982 status collapsed
6983
6984 \begin_layout Plain Layout
6985 文書\SpecialChar menuseparator
6986 設定
6987 \end_layout
6988
6989 \end_inset
6990
6991 ダイアログのテキストクラスの説明に使用されます.分類(例中の「Articles」)は,
6992 \begin_inset Flex MenuItem
6993 status collapsed
6994
6995 \begin_layout Plain Layout
6996 文書\SpecialChar menuseparator
6997 設定
6998 \end_layout
6999
7000 \end_inset
7001
7002 ダイアログで使用され,文書クラスはこの分類によってグループ化されます(分類は通常ジャンルを表し,典型的なものには,「Articles」「Books」「Repor
7003 ts」「Letters」「Presentations」「Curricula Vitae」等があります).分類を宣言しない場合には,このクラスは「Uncatego
7004 rized」グループに属することになります.
7005 \end_layout
7006
7007 \begin_layout Standard
7008 節見出し表示に変更を加えた,
7009 \begin_inset Flex Code
7010 status collapsed
7011
7012 \begin_layout Plain Layout
7013 article.cls
7014 \end_layout
7015
7016 \end_inset
7017
7018 文書クラスを使用するテキストクラスを自分で書いたものとしましょう.これを
7019 \begin_inset Flex Code
7020 status collapsed
7021
7022 \begin_layout Plain Layout
7023 myarticle.layout
7024 \end_layout
7025
7026 \end_inset
7027
7028 というファイルに置いたとすると,このファイルのヘッダは以下のようになります.
7029 \end_layout
7030
7031 \begin_layout LyX-Code
7032
7033 \size small
7034 #% Do not delete the line below; configure depends on this 
7035 \end_layout
7036
7037 \begin_layout LyX-Code
7038
7039 \size small
7040 #  
7041 \backslash
7042 DeclareLaTeXClass[article]{article (with My Own Headings)}
7043 \end_layout
7044
7045 \begin_layout LyX-Code
7046
7047 \size small
7048 #  
7049 \backslash
7050 DeclareCategory{Articles}
7051 \end_layout
7052
7053 \begin_layout Standard
7054 これは,\SpecialChar LaTeX
7055 文書クラス
7056 \begin_inset Flex Code
7057 status collapsed
7058
7059 \begin_layout Plain Layout
7060 article.cls
7061 \end_layout
7062
7063 \end_inset
7064
7065 に関連づけられ,「Article (with My Own Headings)」と表示される,
7066 \begin_inset Flex Code
7067 status collapsed
7068
7069 \begin_layout Plain Layout
7070 myarticle
7071 \end_layout
7072
7073 \end_inset
7074
7075 テキストクラスを宣言するものです.もしこのテキストクラスが複数のパッケージに依存するならば,以下のように宣言すると良いでしょう.
7076 \end_layout
7077
7078 \begin_layout LyX-Code
7079
7080 \size small
7081 #% Do not delete the line below; configure depends on this 
7082 \end_layout
7083
7084 \begin_layout LyX-Code
7085
7086 \size small
7087 #  
7088 \backslash
7089 DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)}
7090 \end_layout
7091
7092 \begin_layout LyX-Code
7093
7094 \size small
7095 #  
7096 \backslash
7097 DeclareCategory{Articles}
7098 \end_layout
7099
7100 \begin_layout Standard
7101 これは,このテキストクラスが
7102 \begin_inset Flex Code
7103 status collapsed
7104
7105 \begin_layout Plain Layout
7106 foo.sty
7107 \end_layout
7108
7109 \end_inset
7110
7111 パッケージを使用することを示しています.最後に,DocBookコード向けのクラスを宣言することもできることを見ます.典型的な宣言は以下のようになります.
7112 \end_layout
7113
7114 \begin_layout LyX-Code
7115
7116 \size small
7117 #% Do not delete the line below; configure depends on this 
7118 \end_layout
7119
7120 \begin_layout LyX-Code
7121
7122 \size small
7123
7124 \backslash
7125 DeclareDocBookClass[article]{SGML (DocBook article)}
7126 \end_layout
7127
7128 \begin_layout LyX-Code
7129
7130 \size small
7131 #  
7132 \backslash
7133 DeclareCategory{Articles}
7134 \end_layout
7135
7136 \begin_layout Standard
7137 これらの宣言には,文書クラス名を宣言する非必須パラメータ(ただしリストではない)を与えることができることに注意してください.
7138 \end_layout
7139
7140 \begin_layout Standard
7141 できる限り明示的に要約すると,レイアウト宣言は以下の形をとります.
7142 \end_layout
7143
7144 \begin_layout LyX-Code
7145
7146 \size small
7147 #  
7148 \backslash
7149 DeclareLaTeXClass[クラス,パッケージ名.sty]{レイアウトの説明}
7150 \end_layout
7151
7152 \begin_layout LyX-Code
7153
7154 \size small
7155 #  
7156 \backslash
7157 DeclareCategory{分類}
7158 \end_layout
7159
7160 \begin_layout Standard
7161 ここで「クラス」は,\SpecialChar LaTeX
7162 クラスファイル名とレイアウトファイル名が異なるときのみ,指定する必要があります.クラスファイル名が指定されなければ,\SpecialChar LyX
7163 は単純に,クラスファイル
7164 名がレイアウトファイル名と同じであると仮定します.
7165 \end_layout
7166
7167 \begin_layout Standard
7168 テキストクラスがあなたの嗜好に合うように修正できたならば,他にしなくてはならないことは,それを
7169 \begin_inset Flex Code
7170 status collapsed
7171
7172 \begin_layout Plain Layout
7173 LyXDir/layouts/
7174 \end_layout
7175
7176 \end_inset
7177
7178
7179 \begin_inset Flex Code
7180 status collapsed
7181
7182 \begin_layout Plain Layout
7183 UserDir/layouts
7184 \end_layout
7185
7186 \end_inset
7187
7188 にコピーし,
7189 \begin_inset Flex MenuItem
7190 status collapsed
7191
7192 \begin_layout Plain Layout
7193 ツール\SpecialChar menuseparator
7194 環境構成
7195 \end_layout
7196
7197 \end_inset
7198
7199 を実行し,\SpecialChar LyX
7200 を終了して再起動するだけです.そうすれば,この新しいテキストクラスが,他のテキストクラスと同様に使用できるようになります.
7201 \end_layout
7202
7203 \begin_layout Standard
7204 レイアウトファイルが導入されたならば,これを編集して,環境構成したり\SpecialChar LyX
7205 を再起動したりすることなく,その変更を確認することができます
7206 \begin_inset Foot
7207 status collapsed
7208
7209 \begin_layout Plain Layout
7210 第1.6版よりも前の\SpecialChar LyX
7211 では,これを行うことはできませんでした.その結果,レイアウトファイルに加えた変更を反映させるには,その度に\SpecialChar LyX
7212 を再起動しなくてはならなかったので,
7213 レイアウトファイルを編集する作業は,たいへん時間を浪費する作業だったのです.
7214 \end_layout
7215
7216 \end_inset
7217
7218 .\SpecialChar LyX
7219 関数
7220 \begin_inset Flex MenuItem
7221 status collapsed
7222
7223 \begin_layout Plain Layout
7224 layout-reload
7225 \end_layout
7226
7227 \end_inset
7228
7229 を使用すれば,現在使っているレイアウトの再読み込みを強制することができるのです.この関数への既定のキー割り当てはありません—もちろん自分でどれかのキーに割り当て
7230 ることもできますが—.しかし,通常は,この関数を使用する場合は,これをミニバッファに入力します.
7231 \end_layout
7232
7233 \begin_layout Standard
7234
7235 \emph on
7236 注意
7237 \emph default
7238
7239 \begin_inset Flex MenuItem
7240 status collapsed
7241
7242 \begin_layout Plain Layout
7243 layout-reload
7244 \end_layout
7245
7246 \end_inset
7247
7248 はかなり「高度な機能」です.この機能を利用する前に,作業中の文書を保存しておくことを
7249 \emph on
7250 強く
7251 \emph default
7252 勧めます.もっと言えば,大事な文書の作業をしているときに,同時にレイアウト情報の編集をしようとしないことを
7253 \emph on
7254 強く
7255 \emph default
7256 勧めます.テスト用文書を使用してください.レイアウトファイル中の文法エラー等が奇妙な挙動を引き起こす可能性があります.特に,そのようなエラーが起こると,\SpecialChar LyX
7257 は現在の
7258 レイアウトが無効であるものと判断して,別のレイアウトに切り替えようとする可能性があります
7259 \begin_inset Foot
7260 status collapsed
7261
7262 \begin_layout Plain Layout
7263 非常に悪質な文法エラーの場合には,\SpecialChar LyX
7264 が終了してしまうことさえあります.これは,ある種のエラーでは,\SpecialChar LyX
7265 がレイアウト情報を全く読めなくなる可能性があるからです.ご注意く
7266 ださい.
7267 \end_layout
7268
7269 \end_inset
7270
7271 .\SpecialChar LyX
7272 開発陣は,このような状況下でも安定性を保つよう努力していますが,後悔よりも安心の方が良いでしょう
7273 \begin_inset Foot
7274 status collapsed
7275
7276 \begin_layout Plain Layout
7277 重ねての助言ですが,つねにバックアップを取ってください.それから,お母さんのお片づけに注意.
7278 \end_layout
7279
7280 \end_inset
7281
7282
7283 \end_layout
7284
7285 \begin_layout Subsection
7286 モジュール宣言
7287 \end_layout
7288
7289 \begin_layout Standard
7290 モジュールは,以下のような行で始まらなくてはなりません.
7291 \end_layout
7292
7293 \begin_layout LyX-Code
7294 #
7295 \backslash
7296 DeclareLyXModule[endnotes.sty]{Endnotes} 
7297 \end_layout
7298
7299 \begin_layout Standard
7300 波括弧内に入っている必須引数はモジュール名で,これは
7301 \begin_inset Flex MenuItem
7302 status collapsed
7303
7304 \begin_layout Plain Layout
7305 文書\SpecialChar menuseparator
7306 設定
7307 \end_layout
7308
7309 \end_inset
7310
7311 内に表示されます.角括弧内の引数は非必須です.これは,モジュールが依存する\SpecialChar LaTeX
7312 パッケージをすべて宣言します.また,非必須引数として,
7313 \begin_inset Flex Code
7314 status collapsed
7315
7316 \begin_layout Plain Layout
7317 変換元->変換先
7318 \end_layout
7319
7320 \end_inset
7321
7322 の形を使用することができます.これは,
7323 \begin_inset Flex Code
7324 status collapsed
7325
7326 \begin_layout Plain Layout
7327 変換元
7328 \end_layout
7329
7330 \end_inset
7331
7332 形式から
7333 \begin_inset Flex Code
7334 status collapsed
7335
7336 \begin_layout Plain Layout
7337 変換先
7338 \end_layout
7339
7340 \end_inset
7341
7342 形式への変換鎖が存在するときのみ,このモジュールを使用できることを宣言するものです.
7343 \end_layout
7344
7345 \begin_layout Standard
7346 それから,以下のようなモジュール宣言を行います
7347 \begin_inset Foot
7348 status collapsed
7349
7350 \begin_layout Plain Layout
7351 モジュールを\SpecialChar LyX
7352 に公開する場合には英語が望ましいです.この説明は翻訳メッセージ一覧に現れるようになるので,次回のインタフェースの更新時に翻訳されることになります.
7353 \end_layout
7354
7355 \end_inset
7356
7357
7358 \end_layout
7359
7360 \begin_layout LyX-Code
7361 #DescriptionBegin 
7362 \end_layout
7363
7364 \begin_layout LyX-Code
7365 #Adds an endnote command, in addition to footnotes.
7366  
7367 \end_layout
7368
7369 \begin_layout LyX-Code
7370 #You will need to add  
7371 \backslash
7372 theendnotes in TeX code where you 
7373 \end_layout
7374
7375 \begin_layout LyX-Code
7376 #want the endnotes to appear.
7377  
7378 \end_layout
7379
7380 \begin_layout LyX-Code
7381 #DescriptionEnd 
7382 \end_layout
7383
7384 \begin_layout LyX-Code
7385 #Requires: somemodule | othermodule
7386 \end_layout
7387
7388 \begin_layout LyX-Code
7389 #Excludes: badmodule
7390 \end_layout
7391
7392 \begin_layout Standard
7393 ここで説明(Description)は,
7394 \begin_inset Flex MenuItem
7395 status collapsed
7396
7397 \begin_layout Plain Layout
7398 文書\SpecialChar menuseparator
7399 設定
7400 \end_layout
7401
7402 \end_inset
7403
7404 でこのモジュールが何をするものか,ユーザに情報を与えるために使用されます.
7405 \begin_inset Flex Code
7406 status collapsed
7407
7408 \begin_layout Plain Layout
7409 Requires
7410 \end_layout
7411
7412 \end_inset
7413
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 行は,このモジュールが共に使用してはならない,他のモジュールを特定するのに用いられます.この2つの行は必須ではなく,上記のようにモジュールが複数ある場合には,パ
7425 イプ記号「|」で区切らなくてはなりません.
7426 \begin_inset Flex Code
7427 status collapsed
7428
7429 \begin_layout Plain Layout
7430 Requires
7431 \end_layout
7432
7433 \end_inset
7434
7435 に指定されたモジュールは,選言的に取り扱われることに注意してください.つまり,
7436 \begin_inset Flex Code
7437 status collapsed
7438
7439 \begin_layout Plain Layout
7440 Requires
7441 \end_layout
7442
7443 \end_inset
7444
7445 に指定されたモジュールのうち,
7446 \emph on
7447 少なくとも一つ
7448 \emph default
7449 が使用されていればよいということです.同様に,
7450 \begin_inset Flex Code
7451 status collapsed
7452
7453 \begin_layout Plain Layout
7454 Excludes
7455 \end_layout
7456
7457 \end_inset
7458
7459 に指定されたモジュールは,一つも使用されてはなりません.ここでモジュールは,
7460 \begin_inset Flex Code
7461 status collapsed
7462
7463 \begin_layout Plain Layout
7464 .module
7465 \end_layout
7466
7467 \end_inset
7468
7469 拡張子を除いたファイル名で認識されることに注意してください.つまり
7470 \begin_inset Flex Code
7471 status collapsed
7472
7473 \begin_layout Plain Layout
7474 somemodule
7475 \end_layout
7476
7477 \end_inset
7478
7479 とは,実のところ
7480 \begin_inset Flex Code
7481 status collapsed
7482
7483 \begin_layout Plain Layout
7484 somemodule.module
7485 \end_layout
7486
7487 \end_inset
7488
7489 に他なりません.
7490 \end_layout
7491
7492 \begin_layout Subsection
7493 引用エンジンファイルの宣言
7494 \end_layout
7495
7496 \begin_layout Standard
7497 引用エンジンファイルは,次のような行で始まらなくてはなりません.
7498 \end_layout
7499
7500 \begin_layout LyX-Code
7501 #
7502 \backslash
7503 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
7504 \end_layout
7505
7506 \begin_layout Standard
7507 波括弧内の必須引数はモジュール名で,
7508 \begin_inset Flex Noun
7509 status collapsed
7510
7511 \begin_layout Plain Layout
7512 文書\SpecialChar menuseparator
7513 設定\SpecialChar menuseparator
7514 書誌情報
7515 \end_layout
7516
7517 \end_inset
7518
7519 にそのまま現れます.角括弧内の引数は非必須です.これは,引用エンジンが依存する\SpecialChar LaTeX
7520 パッケージを宣言します.
7521 \end_layout
7522
7523 \begin_layout Standard
7524 引用エンジン宣言には,その後,以下のような行が続きます
7525 \begin_inset Foot
7526 status collapsed
7527
7528 \begin_layout Plain Layout
7529 \SpecialChar LyX
7530 とともに公表するモジュールの場合は,英語で書かれることが望まれます.この説明は,翻訳対象メッセージのリストに含まれますので,次回インタフェースの更新の際に翻訳さ
7531 れることになります.
7532 \end_layout
7533
7534 \end_inset
7535
7536
7537 \end_layout
7538
7539 \begin_layout LyX-Code
7540 # DescriptionBegin
7541 \end_layout
7542
7543 \begin_layout LyX-Code
7544 #   Biblatex supports many author-year and numerical styles.
7545 \end_layout
7546
7547 \begin_layout LyX-Code
7548 #   It is mainly aimed at the Humanities.
7549  It is highly
7550 \end_layout
7551
7552 \begin_layout LyX-Code
7553 #   customizable, fully localized and provides many features
7554 \end_layout
7555
7556 \begin_layout LyX-Code
7557 #   that are not possible with BibTeX.
7558  The use of 'biber' as
7559 \end_layout
7560
7561 \begin_layout LyX-Code
7562 #   bibliography processor is advised.
7563 \end_layout
7564
7565 \begin_layout LyX-Code
7566 # DescriptionEnd
7567 \end_layout
7568
7569 \begin_layout Standard
7570 この説明は,
7571 \begin_inset Flex Noun
7572 status collapsed
7573
7574 \begin_layout Plain Layout
7575 文書\SpecialChar menuseparator
7576 設定\SpecialChar menuseparator
7577 書誌情報
7578 \end_layout
7579
7580 \end_inset
7581
7582 の中で,ユーザーに引用エンジンに関する情報を提供するために使われます.
7583 \end_layout
7584
7585 \begin_layout Subsection
7586 書式番号
7587 \end_layout
7588
7589 \begin_layout Standard
7590 レイアウトファイルやインクルードされたファイル,またはモジュールの最初の非コメント行には,以下のように,かならずファイル形式番号が記されていなくてはなりません.
7591 \end_layout
7592
7593 \begin_layout Description
7594 \begin_inset Flex Code
7595 status collapsed
7596
7597 \begin_layout Plain Layout
7598 Format
7599 \end_layout
7600
7601 \end_inset
7602
7603  [
7604 \begin_inset Flex Code
7605 status collapsed
7606
7607 \begin_layout Plain Layout
7608 整数型
7609 \end_layout
7610
7611 \end_inset
7612
7613 ] このレイアウトファイルの書式
7614 \end_layout
7615
7616 \begin_layout Standard
7617 このタグは\SpecialChar LyX
7618
7619 \begin_inset space ~
7620 \end_inset
7621
7622 1.4.0で導入されました.\SpecialChar LyX
7623
7624 \begin_inset space ~
7625 \end_inset
7626
7627 1.3.x以前のレイアウトファイルには,明示されたファイル形式がないため,書式1と解されます.\SpecialChar LyX
7628 現行版のファイル形式は,書式
7629 \begin_inset Info
7630 type  "lyxinfo"
7631 arg   "layoutformat"
7632 \end_inset
7633
7634 です.しかし,\SpecialChar LyX
7635 の各版は,旧版の\SpecialChar LyX
7636 で作成されたファイルを読むことができるように,旧版のレイアウトファイルも読むことができます.しかしながら,以前の書式に変換する方法
7637 はありません.
7638 \end_layout
7639
7640 \begin_layout Subsection
7641 \begin_inset CommandInset label
7642 LatexCommand label
7643 name "subsec:汎用テキストクラスパラメータ"
7644
7645 \end_inset
7646
7647 汎用テキストクラスパラメータ
7648 \end_layout
7649
7650 \begin_layout Standard
7651 以下は,文書クラス全体の挙動を決定する汎用パラメータです(これは,
7652 \begin_inset Flex Code
7653 status collapsed
7654
7655 \begin_layout Plain Layout
7656 .layout
7657 \end_layout
7658
7659 \end_inset
7660
7661 ファイルのみに使用されるべきで,モジュールでは使ってはならない,ということを意味するものでは
7662 \emph on
7663 ありません
7664 \emph default
7665 .モジュールには,すべてのレイアウトタグを使用することができます).
7666 \end_layout
7667
7668 \begin_layout Description
7669 \begin_inset Flex Code
7670 status collapsed
7671
7672 \begin_layout Plain Layout
7673 AddToHTMLPreamble
7674 \end_layout
7675
7676 \end_inset
7677
7678  この文書クラスがXHTMLに出力されるときに,
7679 \begin_inset Flex Code
7680 status collapsed
7681
7682 \begin_layout Plain Layout
7683 <head>
7684 \end_layout
7685
7686 \end_inset
7687
7688 ブロックに追加出力される情報です.典型的には,これはCSSスタイル情報を出力するのに用いられますが,
7689 \begin_inset Flex Code
7690 status collapsed
7691
7692 \begin_layout Plain Layout
7693 <head>
7694 \end_layout
7695
7696 \end_inset
7697
7698 に出力するものであれば,何でも使用することができます.「
7699 \begin_inset Flex Code
7700 status collapsed
7701
7702 \begin_layout Plain Layout
7703 EndPreamble
7704 \end_layout
7705
7706 \end_inset
7707
7708 」で閉じる必要があります.
7709 \end_layout
7710
7711 \begin_layout Description
7712 \begin_inset Flex Code
7713 status collapsed
7714
7715 \begin_layout Plain Layout
7716 AddToPreamble
7717 \end_layout
7718
7719 \end_inset
7720
7721  文書プリアンブルに書き加えられる情報です.「
7722 \begin_inset Flex Code
7723 status collapsed
7724
7725 \begin_layout Plain Layout
7726 EndPreamble
7727 \end_layout
7728
7729 \end_inset
7730
7731 」で閉じる必要があります.
7732 \end_layout
7733
7734 \begin_layout Description
7735 \begin_inset Flex Code
7736 status collapsed
7737
7738 \begin_layout Plain Layout
7739 CiteEngine <エンジン>
7740 \end_layout
7741
7742 \end_inset
7743
7744  文献参照を表示する方法を定義します.詳細については,第
7745 \begin_inset CommandInset ref
7746 LatexCommand ref
7747 reference "subsec:引用エンジンの説明"
7748 plural "false"
7749 caps "false"
7750 noprefix "false"
7751
7752 \end_inset
7753
7754 節をご覧ください.「
7755 \begin_inset Flex Code
7756 status collapsed
7757
7758 \begin_layout Plain Layout
7759 End
7760 \end_layout
7761
7762 \end_inset
7763
7764 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
7765 \begin_inset CommandInset ref
7766 LatexCommand ref
7767 reference "subsec:引用エンジンファイル"
7768 plural "false"
7769 caps "false"
7770 noprefix "false"
7771
7772 \end_inset
7773
7774 節参照).
7775 \end_layout
7776
7777 \begin_layout Description
7778 \begin_inset Flex Code
7779 status collapsed
7780
7781 \begin_layout Plain Layout
7782 CiteFormat
7783 \end_layout
7784
7785 \end_inset
7786
7787  書誌情報の表示に使う書式を定義します.詳細については,第
7788 \begin_inset CommandInset ref
7789 LatexCommand ref
7790 reference "subsec:引用書式指定"
7791
7792 \end_inset
7793
7794 節をご覧ください.「
7795 \begin_inset Flex Code
7796 status collapsed
7797
7798 \begin_layout Plain Layout
7799 End
7800 \end_layout
7801
7802 \end_inset
7803
7804 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
7805 \begin_inset CommandInset ref
7806 LatexCommand ref
7807 reference "subsec:引用エンジンファイル"
7808 plural "false"
7809 caps "false"
7810 noprefix "false"
7811
7812 \end_inset
7813
7814 節参照).
7815 \end_layout
7816
7817 \begin_layout Description
7818 \begin_inset Flex Code
7819 status collapsed
7820
7821 \begin_layout Plain Layout
7822 CiteFramework
7823 \end_layout
7824
7825 \end_inset
7826
7827  [
7828 \begin_inset Flex Code
7829 status collapsed
7830
7831 \begin_layout Plain Layout
7832
7833 \emph on
7834 bibtex
7835 \end_layout
7836
7837 \end_inset
7838
7839 ,
7840 \begin_inset Flex Code
7841 status collapsed
7842
7843 \begin_layout Plain Layout
7844 biblatex
7845 \end_layout
7846
7847 \end_inset
7848
7849 ] 書誌情報を生成するのに,
7850 \family sans
7851 Biblatex
7852 \family default
7853 を用いるのかBib\SpecialChar TeX
7854 を用いるのかを特定します.主に引用エンジンファイルで使用されます(第
7855 \begin_inset CommandInset ref
7856 LatexCommand ref
7857 reference "subsec:引用エンジンファイル"
7858 plural "false"
7859 caps "false"
7860 noprefix "false"
7861
7862 \end_inset
7863
7864 節参照).
7865 \end_layout
7866
7867 \begin_layout Description
7868 \begin_inset Flex Code
7869 status collapsed
7870
7871 \begin_layout Plain Layout
7872 ClassOptions
7873 \end_layout
7874
7875 \end_inset
7876
7877  文書クラスがサポートする様々な大域オプションを記します.説明は,第
7878 \begin_inset CommandInset ref
7879 LatexCommand ref
7880 reference "subsec:ClassOptions"
7881
7882 \end_inset
7883
7884 節を参照してください.「
7885 \begin_inset Flex Code
7886 status collapsed
7887
7888 \begin_layout Plain Layout
7889 End
7890 \end_layout
7891
7892 \end_inset
7893
7894 」で閉じる必要があります.
7895 \end_layout
7896
7897 \begin_layout Description
7898 \begin_inset Flex Code
7899 status collapsed
7900
7901 \begin_layout Plain Layout
7902 Columns
7903 \end_layout
7904
7905 \end_inset
7906
7907  [
7908 \begin_inset Flex Code
7909 status collapsed
7910
7911 \begin_layout Plain Layout
7912
7913 \emph on
7914 1
7915 \end_layout
7916
7917 \end_inset
7918
7919 ,
7920 \begin_inset space \thinspace{}
7921 \end_inset
7922
7923
7924 \begin_inset Flex Code
7925 status collapsed
7926
7927 \begin_layout Plain Layout
7928 2
7929 \end_layout
7930
7931 \end_inset
7932
7933 ] 文書クラスが既定で1段組か2段組かを指定します.
7934 \begin_inset Flex MenuItem
7935 status collapsed
7936
7937 \begin_layout Plain Layout
7938 文書\SpecialChar menuseparator
7939 設定
7940 \end_layout
7941
7942 \end_inset
7943
7944 ダイアログで変更することができます.
7945 \end_layout
7946
7947 \begin_layout Description
7948 \begin_inset Flex Code
7949 status collapsed
7950
7951 \begin_layout Plain Layout
7952 Counter
7953 \end_layout
7954
7955 \end_inset
7956
7957  [
7958 \begin_inset Flex Code
7959 status collapsed
7960
7961 \begin_layout Plain Layout
7962 文字列
7963 \end_layout
7964
7965 \end_inset
7966
7967 ] この部分はカウンタの特性を定義します.カウンタがまだ存在していなければ,生成されます.もし存在しなければ修正されます.「
7968 \begin_inset Flex Code
7969 status collapsed
7970
7971 \begin_layout Plain Layout
7972 End
7973 \end_layout
7974
7975 \end_inset
7976
7977 」で閉じる必要があります.
7978 \begin_inset Newline newline
7979 \end_inset
7980
7981 カウンタについての詳細は,第
7982 \begin_inset CommandInset ref
7983 LatexCommand ref
7984 reference "subsec:カウンタ"
7985
7986 \end_inset
7987
7988 節を参照してください.
7989 \end_layout
7990
7991 \begin_layout Description
7992 \begin_inset Flex Code
7993 status collapsed
7994
7995 \begin_layout Plain Layout
7996 DefaultFont
7997 \end_layout
7998
7999 \end_inset
8000
8001  文書を表示するのに用いられる既定フォントを設定します.フォントの宣言の仕方については,第
8002 \begin_inset CommandInset ref
8003 LatexCommand ref
8004 reference "subsec:フォント指定"
8005
8006 \end_inset
8007
8008 節を参照してください.「
8009 \begin_inset Flex Code
8010 status collapsed
8011
8012 \begin_layout Plain Layout
8013 EndFont
8014 \end_layout
8015
8016 \end_inset
8017
8018 」で閉じる必要があります.
8019 \end_layout
8020
8021 \begin_layout Description
8022 \begin_inset Flex Code
8023 status collapsed
8024
8025 \begin_layout Plain Layout
8026 DefaultModule
8027 \end_layout
8028
8029 \end_inset
8030
8031  [
8032 \begin_inset Flex Code
8033 status collapsed
8034
8035 \begin_layout Plain Layout
8036 <モジュール>
8037 \end_layout
8038
8039 \end_inset
8040
8041 ] この文書クラスに,既定で取り込むモジュールを指定します.モジュールは,
8042 \begin_inset Flex Code
8043 status collapsed
8044
8045 \begin_layout Plain Layout
8046 .module
8047 \end_layout
8048
8049 \end_inset
8050
8051 拡張子を除いたファイル名で指定します.ユーザはこのモジュールを除外することができますが,当初は有効の状態になっています(これは新しいファイルが作成されたときや,
8052 既存の文書にこの文書クラスが選択したときのみ該当します).
8053 \end_layout
8054
8055 \begin_layout Description
8056 \begin_inset Flex Code
8057 status collapsed
8058
8059 \begin_layout Plain Layout
8060 DefaultStyle
8061 \end_layout
8062
8063 \end_inset
8064
8065  [
8066 \begin_inset Flex Code
8067 status collapsed
8068
8069 \begin_layout Plain Layout
8070 <様式>
8071 \end_layout
8072
8073 \end_inset
8074
8075 ]
8076 \lang english
8077  
8078 \lang japanese
8079 これは新規段落に割り当てられる様式であり,通常は
8080 \begin_inset Flex MenuItem
8081 status collapsed
8082
8083 \begin_layout Plain Layout
8084 標準
8085 \end_layout
8086
8087 \end_inset
8088
8089 です.もしこれを指定しなければ,最初に定義される様式がこれに割り当てられるようにはなっていますが,このディレクティブを使用することが推奨されます.
8090 \end_layout
8091
8092 \begin_layout Description
8093 \begin_inset Flex Code
8094 status collapsed
8095
8096 \begin_layout Plain Layout
8097 ExcludesModule
8098 \end_layout
8099
8100 \end_inset
8101
8102  [
8103 \begin_inset Flex Code
8104 status collapsed
8105
8106 \begin_layout Plain Layout
8107 <モジュール>
8108 \end_layout
8109
8110 \end_inset
8111
8112 ] このタグは,指定されたモジュール—
8113 \begin_inset Flex Code
8114 status collapsed
8115
8116 \begin_layout Plain Layout
8117 .module
8118 \end_layout
8119
8120 \end_inset
8121
8122 拡張子を除いたファイル名で指定します—が,この文書クラスでは使用できないように設定します.これはたとえば,特定の学術誌用レイアウトファイルの中で,定理番号を節毎
8123 に振る
8124 \begin_inset Flex Code
8125 status collapsed
8126
8127 \begin_layout Plain Layout
8128 theorems-sec
8129 \end_layout
8130
8131 \end_inset
8132
8133 モジュールが使用されるのを防ぐために用いたりすることができます.このタグは,モジュール内で
8134 \emph on
8135 使用してはいけません
8136 \emph default
8137 .モジュールは,他のモジュールを排除する独自の枠組みがあります(第
8138 \begin_inset CommandInset ref
8139 LatexCommand ref
8140 reference "subsec:レイアウトモジュール"
8141
8142 \end_inset
8143
8144 節参照).
8145 \end_layout
8146
8147 \begin_layout Description
8148 \begin_inset Flex Code
8149 status collapsed
8150
8151 \begin_layout Plain Layout
8152 Float
8153 \end_layout
8154
8155 \end_inset
8156
8157  フロートを新規に定義します.詳細は,第
8158 \begin_inset CommandInset ref
8159 LatexCommand ref
8160 reference "subsec:フロート"
8161
8162 \end_inset
8163
8164 節を参照してください.「
8165 \begin_inset Flex Code
8166 status collapsed
8167
8168 \begin_layout Plain Layout
8169 End
8170 \end_layout
8171
8172 \end_inset
8173
8174 」で閉じる必要があります.
8175 \end_layout
8176
8177 \begin_layout Description
8178 \begin_inset Flex Code
8179 status collapsed
8180
8181 \begin_layout Plain Layout
8182 HTMLPreamble
8183 \end_layout
8184
8185 \end_inset
8186
8187  この文書クラスがXHTMLに出力されるときに,
8188 \begin_inset Flex Code
8189 status collapsed
8190
8191 \begin_layout Plain Layout
8192 <head>
8193 \end_layout
8194
8195 \end_inset
8196
8197 ブロックに出力される情報です.これより前に出現した
8198 \begin_inset Flex Code
8199 status collapsed
8200
8201 \begin_layout Plain Layout
8202 HTMLPreamble
8203 \end_layout
8204
8205 \end_inset
8206
8207
8208 \begin_inset Flex Code
8209 status collapsed
8210
8211 \begin_layout Plain Layout
8212 AddToHTMLPreamble
8213 \end_layout
8214
8215 \end_inset
8216
8217 宣言は,すべて完全に上書きされることに注意してください(プリアンブルに何かを追加したい時には,
8218 \begin_inset Flex Code
8219 status collapsed
8220
8221 \begin_layout Plain Layout
8222 AddToHTMLPreamble
8223 \end_layout
8224
8225 \end_inset
8226
8227 を使用してください).これは「
8228 \begin_inset Flex Code
8229 status collapsed
8230
8231 \begin_layout Plain Layout
8232 EndPreamble
8233 \end_layout
8234
8235 \end_inset
8236
8237 」で閉じる必要があります.
8238 \end_layout
8239
8240 \begin_layout Description
8241 \begin_inset Flex Code
8242 status collapsed
8243
8244 \begin_layout Plain Layout
8245 HTMLTOCSection
8246 \end_layout
8247
8248 \end_inset
8249
8250  [
8251 \begin_inset Flex Code
8252 status collapsed
8253
8254 \begin_layout Plain Layout
8255 <様式>
8256 \end_layout
8257
8258 \end_inset
8259
8260 ] 文書がHTMLに出力されるときに,目次や書誌情報などに使用されるレイアウトです.articleの場合には,これは通常「節」であり,bookの場合は「章」です
8261 .これを指定しない場合には,\SpecialChar LyX
8262 はどのレイアウトを使用するべきか,解析しようと試みます.
8263 \end_layout
8264
8265 \begin_layout Description
8266 \begin_inset Flex Code
8267 status collapsed
8268
8269 \begin_layout Plain Layout
8270 IfCounter 
8271 \end_layout
8272
8273 \end_inset
8274
8275  [
8276 \begin_inset Flex Code
8277 status collapsed
8278
8279 \begin_layout Plain Layout
8280 <カウンタ>
8281 \end_layout
8282
8283 \end_inset
8284
8285 ] 与えられたカウンタの特性を修正します.カウンタが存在しない場合には,この節は無視されます.「
8286 \begin_inset Flex Code
8287 status collapsed
8288
8289 \begin_layout Plain Layout
8290 End
8291 \end_layout
8292
8293 \end_inset
8294
8295 」で閉じる必要があります.
8296 \begin_inset Newline newline
8297 \end_inset
8298
8299 カウンタについての詳細は,第
8300 \begin_inset CommandInset ref
8301 LatexCommand ref
8302 reference "subsec:カウンタ"
8303
8304 \end_inset
8305
8306 節をご覧ください.
8307 \end_layout
8308
8309 \begin_layout Description
8310 \begin_inset Flex Code
8311 status collapsed
8312
8313 \begin_layout Plain Layout
8314 IfStyle
8315 \end_layout
8316
8317 \end_inset
8318
8319  [
8320 \begin_inset Flex Code
8321 status collapsed
8322
8323 \begin_layout Plain Layout
8324 <様式>
8325 \end_layout
8326
8327 \end_inset
8328
8329 ] 与えられた段落様式の特性を修正します.様式が存在しない場合には,この節は無視されます.「
8330 \begin_inset Flex Code
8331 status collapsed
8332
8333 \begin_layout Plain Layout
8334 End
8335 \end_layout
8336
8337 \end_inset
8338
8339 」で閉じる必要があります.
8340 \end_layout
8341
8342 \begin_layout Description
8343 \begin_inset Flex Code
8344 status collapsed
8345
8346 \begin_layout Plain Layout
8347 Input
8348 \end_layout
8349
8350 \end_inset
8351
8352  [
8353 \begin_inset Flex Code
8354 status collapsed
8355
8356 \begin_layout Plain Layout
8357 <ファイル名>
8358 \end_layout
8359
8360 \end_inset
8361
8362 ]
8363 \lang english
8364  
8365 \lang japanese
8366 名称の指し示すように,このコマンドは,同じコマンドを何度も指定せずに済むように,別のレイアウト定義ファイルを取り込ませます.よく使われる例は,基本的なレイアウト
8367 のほとんどを収録している
8368 \begin_inset Flex Code
8369 status collapsed
8370
8371 \begin_layout Plain Layout
8372 stdclass.inc
8373 \end_layout
8374
8375 \end_inset
8376
8377 のような標準レイアウトファイルです.
8378 \end_layout
8379
8380 \begin_layout Description
8381 \begin_inset Flex Code
8382 status collapsed
8383
8384 \begin_layout Plain Layout
8385 InsetLayout
8386 \end_layout
8387
8388 \end_inset
8389
8390  [
8391 \begin_inset Flex Code
8392 status collapsed
8393
8394 \begin_layout Plain Layout
8395 <型>
8396 \end_layout
8397
8398 \end_inset
8399
8400 ]
8401 \lang english
8402  
8403 \lang japanese
8404 このセクションは,差込枠のレイアウトを定義(再定義)します.これは,既存の差込枠にも,新しい文字様式のような新規のユーザ定義差込枠にも使用することができます.「
8405 \begin_inset Flex Code
8406 status collapsed
8407
8408 \begin_layout Plain Layout
8409 End
8410 \end_layout
8411
8412 \end_inset
8413
8414 」で閉じる必要があります.
8415 \begin_inset Newline newline
8416 \end_inset
8417
8418 詳しい情報は,第
8419 \begin_inset CommandInset ref
8420 LatexCommand ref
8421 reference "subsec:任意設定差込枠"
8422
8423 \end_inset
8424
8425 節をご覧ください.
8426 \end_layout
8427
8428 \begin_layout Description
8429 \begin_inset Flex Code
8430 status collapsed
8431
8432 \begin_layout Plain Layout
8433 LeftMargin
8434 \end_layout
8435
8436 \end_inset
8437
8438  [
8439 \begin_inset Flex Code
8440 status collapsed
8441
8442 \begin_layout Plain Layout
8443 文字列
8444 \end_layout
8445
8446 \end_inset
8447
8448 ] 画面上の左余白の幅を指示する文字列.例:「
8449 \begin_inset Flex Code
8450 status collapsed
8451
8452 \begin_layout Plain Layout
8453 MMMMM
8454 \end_layout
8455
8456 \end_inset
8457
8458 」.(これは,「2ex」のような「長さ」ではないことに注意してください.)
8459 \end_layout
8460
8461 \begin_layout Description
8462 \begin_inset Flex Code
8463 status collapsed
8464
8465 \begin_layout Plain Layout
8466 MaxCiteNames
8467 \end_layout
8468
8469 \end_inset
8470
8471  [
8472 \begin_inset Flex Code
8473 status collapsed
8474
8475 \begin_layout Plain Layout
8476 整数
8477 \end_layout
8478
8479 \end_inset
8480
8481 ] 著者-刊行年引用で,引用が「第一著者 et al.」に切り替わる前に,表示される名前の最大数を定める整数.主に引用エンジンファイルで使用されます(第
8482 \begin_inset CommandInset ref
8483 LatexCommand ref
8484 reference "subsec:引用エンジンファイル"
8485 plural "false"
8486 caps "false"
8487 noprefix "false"
8488
8489 \end_inset
8490
8491 節参照).
8492 \end_layout
8493
8494 \begin_layout Description
8495 \begin_inset Flex Code
8496 status collapsed
8497
8498 \begin_layout Plain Layout
8499 NoCounter
8500 \end_layout
8501
8502 \end_inset
8503
8504  [
8505 \begin_inset Flex Code
8506 status collapsed
8507
8508 \begin_layout Plain Layout
8509 <カウンタ>
8510 \end_layout
8511
8512 \end_inset
8513
8514 ] このコマンドは,既存のカウンタ(通常インクルードファイル内で定義されたもの)を削除します.
8515 \end_layout
8516
8517 \begin_layout Description
8518 \begin_inset Flex Code
8519 status collapsed
8520
8521 \begin_layout Plain Layout
8522 NoFloat
8523 \end_layout
8524
8525 \end_inset
8526
8527  [
8528 \begin_inset Flex Code
8529 status collapsed
8530
8531 \begin_layout Plain Layout
8532 <フロート>
8533 \end_layout
8534
8535 \end_inset
8536
8537 ] このコマンドは既存のフロートを削除します.これは特に,Inputで取り込んだファイルに定義されていたフロートを抑制するのに便利です.
8538 \end_layout
8539
8540 \begin_layout Description
8541 \begin_inset Flex Code
8542 status collapsed
8543
8544 \begin_layout Plain Layout
8545 NoStyle
8546 \end_layout
8547
8548 \end_inset
8549
8550  [
8551 \begin_inset Flex Code
8552 status collapsed
8553
8554 \begin_layout Plain Layout
8555 <様式>
8556 \end_layout
8557
8558 \end_inset
8559
8560 ] このコマンドは既存の様式を削除します.これは特に,Inputで取り込んだファイルに定義されていた様式を抑制するのに便利です.
8561 \end_layout
8562
8563 \begin_layout Description
8564 \begin_inset Flex Code
8565 status collapsed
8566
8567 \begin_layout Plain Layout
8568 OutlinerName
8569 \end_layout
8570
8571 \end_inset
8572
8573  [
8574 \begin_inset Flex Code
8575 status collapsed
8576
8577 \begin_layout Plain Layout
8578 <型>
8579 \end_layout
8580
8581 \end_inset
8582
8583 ] [
8584 \begin_inset Flex Code
8585 status collapsed
8586
8587 \begin_layout Plain Layout
8588 <文字列>
8589 \end_layout
8590
8591 \end_inset
8592
8593 ] 型が
8594 \begin_inset Flex Code
8595 status collapsed
8596
8597 \begin_layout Plain Layout
8598 <型>
8599 \end_layout
8600
8601 \end_inset
8602
8603 で名前が
8604 \begin_inset Flex Code
8605 status collapsed
8606
8607 \begin_layout Plain Layout
8608 <文字列>
8609 \end_layout
8610
8611 \end_inset
8612
8613 の新しい一覧表を定義します.AddToTocコマンドもご覧ください.
8614 \end_layout
8615
8616 \begin_layout Description
8617 \begin_inset Flex Code
8618 status collapsed
8619
8620 \begin_layout Plain Layout
8621 OutputFormat
8622 \end_layout
8623
8624 \end_inset
8625
8626  [
8627 \begin_inset Flex Code
8628 status collapsed
8629
8630 \begin_layout Plain Layout
8631 <形式>
8632 \end_layout
8633
8634 \end_inset
8635
8636 ] このクラスによって生成されるファイル形式を示す文字列(
8637 \family sans
8638 設定
8639 \family default
8640 ダイアログで定義される形のもの).おもに,
8641 \begin_inset Flex Code
8642 status collapsed
8643
8644 \begin_layout Plain Layout
8645 OutputType
8646 \end_layout
8647
8648 \end_inset
8649
8650
8651 \begin_inset Flex Code
8652 status collapsed
8653
8654 \begin_layout Plain Layout
8655 literate
8656 \end_layout
8657
8658 \end_inset
8659
8660 になっていて,新しい型のliterate文書を定義したい時に便利です.対応する
8661 \begin_inset Flex Code
8662 status collapsed
8663
8664 \begin_layout Plain Layout
8665 OutputType
8666 \end_layout
8667
8668 \end_inset
8669
8670 パラメーターに遭遇したときには,この文字列は,「
8671 \begin_inset Flex Code
8672 status collapsed
8673
8674 \begin_layout Plain Layout
8675 docbook
8676 \end_layout
8677
8678 \end_inset
8679
8680 」・「
8681 \begin_inset Flex Code
8682 status collapsed
8683
8684 \begin_layout Plain Layout
8685 lat
8686 \emph on
8687 ex
8688 \end_layout
8689
8690 \end_inset
8691
8692 」のいずれかにリセットされます.
8693 \end_layout
8694
8695 \begin_layout Description
8696 \begin_inset Flex Code
8697 status collapsed
8698
8699 \begin_layout Plain Layout
8700 OutputType
8701 \end_layout
8702
8703 \end_inset
8704
8705  [
8706 \begin_inset Flex Code
8707 status collapsed
8708
8709 \begin_layout Plain Layout
8710
8711 \emph on
8712 lat
8713 \emph default
8714 ex
8715 \end_layout
8716
8717 \end_inset
8718
8719
8720 \begin_inset Flex Code
8721 status collapsed
8722
8723 \begin_layout Plain Layout
8724 docbook
8725 \end_layout
8726
8727 \end_inset
8728
8729
8730 \begin_inset Flex Code
8731 status collapsed
8732
8733 \begin_layout Plain Layout
8734 literate
8735 \end_layout
8736
8737 \end_inset
8738
8739 ] このクラスを使用する文書がどのような種類の出力をするかを示す文字列.現在のところ,取り得る値は「docbook」・「latex」・「literate」です.
8740 \end_layout
8741
8742 \begin_layout Description
8743 \begin_inset Flex Code
8744 status collapsed
8745
8746 \begin_layout Plain Layout
8747 PackageOptions
8748 \end_layout
8749
8750 \end_inset
8751
8752  [
8753 \begin_inset Flex Code
8754 status collapsed
8755
8756 \begin_layout Plain Layout
8757 文字列
8758 \end_layout
8759
8760 \end_inset
8761
8762  
8763 \begin_inset Flex Code
8764 status collapsed
8765
8766 \begin_layout Plain Layout
8767 文字列
8768 \end_layout
8769
8770 \end_inset
8771
8772 ] 第1文字列で指定したパッケージ用のオプションを第2文字列で指定します.例えば,「
8773 \begin_inset Flex Code
8774 status collapsed
8775
8776 \begin_layout Plain Layout
8777 PackageOptions natbib square
8778 \end_layout
8779
8780 \end_inset
8781
8782 」とすると,
8783 \begin_inset Flex Code
8784 status collapsed
8785
8786 \begin_layout Plain Layout
8787 natbib
8788 \end_layout
8789
8790 \end_inset
8791
8792
8793 \begin_inset Flex Code
8794 status collapsed
8795
8796 \begin_layout Plain Layout
8797 square
8798 \end_layout
8799
8800 \end_inset
8801
8802 オプションとともに読み込みます(\SpecialChar TeX
8803 perts向けに述べると,これは,
8804 \begin_inset Flex Code
8805 status collapsed
8806
8807 \begin_layout Plain Layout
8808 natbib
8809 \end_layout
8810
8811 \end_inset
8812
8813 を読み込む前に,\SpecialChar LyX
8814
8815 \begin_inset Flex Code
8816 status collapsed
8817
8818 \begin_layout Plain Layout
8819
8820 \backslash
8821 PassOptionsToPackage{natbib}{square}
8822 \end_layout
8823
8824 \end_inset
8825
8826 を出力させます).
8827 \end_layout
8828
8829 \begin_layout Description
8830 \begin_inset Flex Code
8831 status collapsed
8832
8833 \begin_layout Plain Layout
8834 PageStyle
8835 \end_layout
8836
8837 \end_inset
8838
8839  [
8840 \emph on
8841
8842 \begin_inset Flex Code
8843 status collapsed
8844
8845 \begin_layout Plain Layout
8846 plain
8847 \end_layout
8848
8849 \end_inset
8850
8851
8852 \emph default
8853
8854 \begin_inset Flex Code
8855 status collapsed
8856
8857 \begin_layout Plain Layout
8858 empty
8859 \end_layout
8860
8861 \end_inset
8862
8863
8864 \begin_inset Flex Code
8865 status collapsed
8866
8867 \begin_layout Plain Layout
8868 headings
8869 \end_layout
8870
8871 \end_inset
8872
8873 ] 既定ページ様式.
8874 \begin_inset Flex MenuItem
8875 status collapsed
8876
8877 \begin_layout Plain Layout
8878 文書\SpecialChar menuseparator
8879 設定
8880 \end_layout
8881
8882 \end_inset
8883
8884 ダイアログで変更することができます.
8885 \end_layout
8886
8887 \begin_layout Description
8888 \begin_inset Flex Code
8889 status collapsed
8890
8891 \begin_layout Plain Layout
8892 Preamble
8893 \end_layout
8894
8895 \end_inset
8896
8897  \SpecialChar LaTeX
8898 文書のプリアンブルを設定します.前に行った
8899 \begin_inset Flex Code
8900 status collapsed
8901
8902 \begin_layout Plain Layout
8903 Preamble
8904 \end_layout
8905
8906 \end_inset
8907
8908 宣言や
8909 \begin_inset Flex Code
8910 status collapsed
8911
8912 \begin_layout Plain Layout
8913 AddToPreamble
8914 \end_layout
8915
8916 \end_inset
8917
8918 宣言は,すべて上書きされてしまうので注意してください.(プリアンブルに何かを追加したい時には,
8919 \begin_inset Flex Code
8920 status collapsed
8921
8922 \begin_layout Plain Layout
8923 AddToPreamble
8924 \end_layout
8925
8926 \end_inset
8927
8928 を使用してください.)「
8929 \begin_inset Flex Code
8930 status collapsed
8931
8932 \begin_layout Plain Layout
8933 EndPreamble
8934 \end_layout
8935
8936 \end_inset
8937
8938 」で閉じる必要があります.
8939 \end_layout
8940
8941 \begin_layout Description
8942 \begin_inset Flex Code
8943 status collapsed
8944
8945 \begin_layout Plain Layout
8946 Provides
8947 \end_layout
8948
8949 \end_inset
8950
8951  [
8952 \begin_inset Flex Code
8953 status collapsed
8954
8955 \begin_layout Plain Layout
8956 文字列
8957 \end_layout
8958
8959 \end_inset
8960
8961 ] [
8962 \begin_inset Flex Code
8963 status collapsed
8964
8965 \begin_layout Plain Layout
8966
8967 \emph on
8968 0
8969 \end_layout
8970
8971 \end_inset
8972
8973
8974 \begin_inset Flex Code
8975 status collapsed
8976
8977 \begin_layout Plain Layout
8978 1
8979 \end_layout
8980
8981 \end_inset
8982
8983 ] このクラスが
8984 \begin_inset Flex Code
8985 status collapsed
8986
8987 \begin_layout Plain Layout
8988 文字列
8989 \end_layout
8990
8991 \end_inset
8992
8993 で示される機能を既に提供しているかどうかを示します.機能は,一般的にパッケージ名(
8994 \begin_inset Flex Code
8995 status collapsed
8996
8997 \begin_layout Plain Layout
8998 amsmath
8999 \end_layout
9000
9001 \end_inset
9002
9003
9004 \begin_inset Flex Code
9005 status collapsed
9006
9007 \begin_layout Plain Layout
9008 makeidx
9009 \end_layout
9010
9011 \end_inset
9012
9013 ・\SpecialChar ldots
9014 )やマクロ名(
9015 \begin_inset Flex Code
9016 status collapsed
9017
9018 \begin_layout Plain Layout
9019 url
9020 \end_layout
9021
9022 \end_inset
9023
9024
9025 \begin_inset Flex Code
9026 status collapsed
9027
9028 \begin_layout Plain Layout
9029 boldsymbol
9030 \end_layout
9031
9032 \end_inset
9033
9034 ・\SpecialChar ldots
9035 )です.機能一覧については,
9036 \begin_inset CommandInset ref
9037 LatexCommand ref
9038 reference "chap:関数一覧"
9039
9040 \end_inset
9041
9042 を参照.
9043 \end_layout
9044
9045 \begin_layout Description
9046 \begin_inset Flex Code
9047 status collapsed
9048
9049 \begin_layout Plain Layout
9050 ProvidesModule
9051 \end_layout
9052
9053 \end_inset
9054
9055  [
9056 \begin_inset Flex Code
9057 status collapsed
9058
9059 \begin_layout Plain Layout
9060 文字列
9061 \end_layout
9062
9063 \end_inset
9064
9065 ] このレイアウトが
9066 \begin_inset Flex Code
9067 status collapsed
9068
9069 \begin_layout Plain Layout
9070 文字列
9071 \end_layout
9072
9073 \end_inset
9074
9075 で表されているモジュールの機能を提供することを示し,
9076 \begin_inset Flex Code
9077 status collapsed
9078
9079 \begin_layout Plain Layout
9080 .module
9081 \end_layout
9082
9083 \end_inset
9084
9085 拡張子を除いたファイル名で指定します.
9086 \begin_inset Flex Code
9087 status collapsed
9088
9089 \begin_layout Plain Layout
9090 DefaultModule
9091 \end_layout
9092
9093 \end_inset
9094
9095 タグを使用すると,モジュールを使用しなくてはならないことを示しますが,このタグは主に,このレイアウトがモジュールを直接取り込んでしまっていることを示すのに用いら
9096 れます.同じ機能を別に実装しているモジュール中で使用するなどすることもできます.
9097 \end_layout
9098
9099 \begin_layout Description
9100 \begin_inset Flex Code
9101 status collapsed
9102
9103 \begin_layout Plain Layout
9104 Requires
9105 \end_layout
9106
9107 \end_inset
9108
9109  [
9110 \begin_inset Flex Code
9111 status collapsed
9112
9113 \begin_layout Plain Layout
9114 文字列
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 さい(機能一覧については
9131 \begin_inset CommandInset ref
9132 LatexCommand ref
9133 reference "chap:関数一覧"
9134
9135 \end_inset
9136
9137 を参照).特定のオプションをとるパッケージを要求する場合,
9138 \begin_inset Flex Code
9139 status collapsed
9140
9141 \begin_layout Plain Layout
9142 PackageOptions
9143 \end_layout
9144
9145 \end_inset
9146
9147 を追加して使うことができます.
9148 \end_layout
9149
9150 \begin_layout Description
9151 \begin_inset Flex Code
9152 status collapsed
9153
9154 \begin_layout Plain Layout
9155 RightMargin
9156 \end_layout
9157
9158 \end_inset
9159
9160  [
9161 \begin_inset Flex Code
9162 status collapsed
9163
9164 \begin_layout Plain Layout
9165 文字列
9166 \end_layout
9167
9168 \end_inset
9169
9170 ] 画面上の右余白の幅を指示する文字列.例:「
9171 \begin_inset Flex Code
9172 status collapsed
9173
9174 \begin_layout Plain Layout
9175 MMMMM
9176 \end_layout
9177
9178 \end_inset
9179
9180 」.
9181 \end_layout
9182
9183 \begin_layout Description
9184 \begin_inset Flex Code
9185 status collapsed
9186
9187 \begin_layout Plain Layout
9188 SecNumDepth
9189 \end_layout
9190
9191 \end_inset
9192
9193  [
9194 \begin_inset Flex Code
9195 status collapsed
9196
9197 \begin_layout Plain Layout
9198 int=3
9199 \end_layout
9200
9201 \end_inset
9202
9203 ] どの節区切りまで連番を振るかを指定します.\SpecialChar LaTeX
9204 における
9205 \begin_inset Flex Code
9206 status collapsed
9207
9208 \begin_layout Plain Layout
9209 secnumdepth
9210 \end_layout
9211
9212 \end_inset
9213
9214 カウンタに対応します.
9215 \end_layout
9216
9217 \begin_layout Description
9218 \begin_inset Flex Code
9219 status collapsed
9220
9221 \begin_layout Plain Layout
9222 Sides
9223 \end_layout
9224
9225 \end_inset
9226
9227  [
9228 \emph on
9229
9230 \begin_inset Flex Code
9231 status collapsed
9232
9233 \begin_layout Plain Layout
9234 1
9235 \end_layout
9236
9237 \end_inset
9238
9239
9240 \emph default
9241 ,
9242 \begin_inset space \thinspace{}
9243 \end_inset
9244
9245
9246 \begin_inset Flex Code
9247 status collapsed
9248
9249 \begin_layout Plain Layout
9250 2
9251 \end_layout
9252
9253 \end_inset
9254
9255 ] クラスの既定値として,用紙の片面に印字するか両面に印字するかを指定します.
9256 \begin_inset Flex MenuItem
9257 status collapsed
9258
9259 \begin_layout Plain Layout
9260 文書\SpecialChar menuseparator
9261 設定
9262 \end_layout
9263
9264 \end_inset
9265
9266 ダイアログで変更することができます.
9267 \end_layout
9268
9269 \begin_layout Description
9270 \begin_inset Flex Code
9271 status collapsed
9272
9273 \begin_layout Plain Layout
9274 Style
9275 \end_layout
9276
9277 \end_inset
9278
9279  [
9280 \begin_inset Flex Code
9281 status collapsed
9282
9283 \begin_layout Plain Layout
9284 <名称>
9285 \end_layout
9286
9287 \end_inset
9288
9289 ]
9290 \lang english
9291  
9292 \lang japanese
9293 この部分は段落様式を定義します.様式がまだ存在していなければ,生成されます.既に存在していれば,そのパラメータが修正されます.「
9294 \begin_inset Flex Code
9295 status collapsed
9296
9297 \begin_layout Plain Layout
9298 End
9299 \end_layout
9300
9301 \end_inset
9302
9303 」で閉じる必要があります.
9304 \begin_inset Newline newline
9305 \end_inset
9306
9307 段落様式に関する詳細は,
9308 \begin_inset CommandInset ref
9309 LatexCommand ref
9310 reference "subsec:段落様式-XHTML"
9311
9312 \end_inset
9313
9314 をご覧ください.
9315 \end_layout
9316
9317 \begin_layout Description
9318 \begin_inset Flex Code
9319 status collapsed
9320
9321 \begin_layout Plain Layout
9322 TitleLatexName
9323 \end_layout
9324
9325 \end_inset
9326
9327  [
9328 \begin_inset Flex Code
9329 status collapsed
9330
9331 \begin_layout Plain Layout
9332 文字列="maketitle"
9333 \end_layout
9334
9335 \end_inset
9336
9337
9338 \begin_inset Flex Code
9339 status collapsed
9340
9341 \begin_layout Plain Layout
9342 TitleLatexType
9343 \end_layout
9344
9345 \end_inset
9346
9347 で使用すべきコマンド名あるいは環境名.The name of the command or environment to be used with
9348  
9349 \begin_inset Flex Code
9350 status collapsed
9351
9352 \begin_layout Plain Layout
9353 TitleLatexType
9354 \end_layout
9355
9356 \end_inset
9357
9358 .
9359 \end_layout
9360
9361 \begin_layout Description
9362 \begin_inset Flex Code
9363 status collapsed
9364
9365 \begin_layout Plain Layout
9366 TitleLatexType
9367 \end_layout
9368
9369 \end_inset
9370
9371  [
9372 \begin_inset Flex Code
9373 status collapsed
9374
9375 \begin_layout Plain Layout
9376
9377 \emph on
9378 CommandAfter
9379 \end_layout
9380
9381 \end_inset
9382
9383
9384 \begin_inset Flex Code
9385 status collapsed
9386
9387 \begin_layout Plain Layout
9388 Environment
9389 \end_layout
9390
9391 \end_inset
9392
9393 ] 文書のタイトルを定義するのに,どのようなマークアップを使用するのかを示します.
9394 \begin_inset Flex Code
9395 status collapsed
9396
9397 \begin_layout Plain Layout
9398 CommandAfter
9399 \end_layout
9400
9401 \end_inset
9402
9403 は,「
9404 \begin_inset Flex Code
9405 status collapsed
9406
9407 \begin_layout Plain Layout
9408 InTitle
9409 \begin_inset space ~
9410 \end_inset
9411
9412 1
9413 \end_layout
9414
9415 \end_inset
9416
9417 」が指定されている最後のレイアウトの後に,
9418 \begin_inset Flex Code
9419 status collapsed
9420
9421 \begin_layout Plain Layout
9422 TitleLatexName
9423 \end_layout
9424
9425 \end_inset
9426
9427 で指定したマクロ名を挿入することを意味します.
9428 \begin_inset Flex Code
9429 status collapsed
9430
9431 \begin_layout Plain Layout
9432 Environment
9433 \end_layout
9434
9435 \end_inset
9436
9437 は,「
9438 \begin_inset Flex Code
9439 status collapsed
9440
9441 \begin_layout Plain Layout
9442 InTitle
9443 \begin_inset space ~
9444 \end_inset
9445
9446 1
9447 \end_layout
9448
9449 \end_inset
9450
9451 」を持つ段落群を
9452 \begin_inset Flex Code
9453 status collapsed
9454
9455 \begin_layout Plain Layout
9456 TitleLatexName
9457 \end_layout
9458
9459 \end_inset
9460
9461 で指定した環境でくるむ場合に対応します.
9462 \end_layout
9463
9464 \begin_layout Description
9465 \begin_inset Flex Code
9466 status collapsed
9467
9468 \begin_layout Plain Layout
9469 TocDepth
9470 \end_layout
9471
9472 \end_inset
9473
9474  [
9475 \begin_inset Flex Code
9476 status collapsed
9477
9478 \begin_layout Plain Layout
9479 int=3
9480 \end_layout
9481
9482 \end_inset
9483
9484 ] どの節区切りまで目次に取り込むかを指定します.\SpecialChar LaTeX
9485
9486 \begin_inset Flex Code
9487 status collapsed
9488
9489 \begin_layout Plain Layout
9490 tocdepth
9491 \end_layout
9492
9493 \end_inset
9494
9495 カウンタに対応します.
9496 \end_layout
9497
9498 \begin_layout Subsection
9499 \begin_inset Flex Code
9500 status collapsed
9501
9502 \begin_layout Plain Layout
9503 ClassOptions
9504 \end_layout
9505
9506 \end_inset
9507
9508
9509 \begin_inset CommandInset label
9510 LatexCommand label
9511 name "subsec:ClassOptions"
9512
9513 \end_inset
9514
9515
9516 \end_layout
9517
9518 \begin_layout Standard
9519 \begin_inset Flex Code
9520 status collapsed
9521
9522 \begin_layout Plain Layout
9523 ClassOptions
9524 \end_layout
9525
9526 \end_inset
9527
9528 部は,以下の項目を取り得ます.
9529 \end_layout
9530
9531 \begin_layout Description
9532 \begin_inset Flex Code
9533 status collapsed
9534
9535 \begin_layout Plain Layout
9536 FontSize
9537 \end_layout
9538
9539 \end_inset
9540
9541  [
9542 \begin_inset Flex Code
9543 status collapsed
9544
9545 \begin_layout Plain Layout
9546 文字列="10|11|12"
9547 \end_layout
9548
9549 \end_inset
9550
9551 ] 文書のメインフォントが使用できるフォント寸法の一覧です.「
9552 \begin_inset Flex Code
9553 status collapsed
9554
9555 \begin_layout Plain Layout
9556 |
9557 \end_layout
9558
9559 \end_inset
9560
9561 」で区切ります.
9562 \end_layout
9563
9564 \begin_layout Description
9565 \begin_inset Flex Code
9566 status collapsed
9567
9568 \begin_layout Plain Layout
9569 Header
9570 \end_layout
9571
9572 \end_inset
9573
9574  XMLベースの出力クラスで,DTD行を設定するのに使用されます.例:PUBLIC 
9575 \begin_inset Quotes eld
9576 \end_inset
9577
9578 -//OASIS//DTD DocBook V4.2//EN
9579 \begin_inset Quotes erd
9580 \end_inset
9581
9582
9583 \end_layout
9584
9585 \begin_layout Description
9586 \begin_inset Flex Code
9587 status collapsed
9588
9589 \begin_layout Plain Layout
9590 PageStyle
9591 \end_layout
9592
9593 \end_inset
9594
9595  [
9596 \begin_inset Flex Code
9597 status collapsed
9598
9599 \begin_layout Plain Layout
9600 文字列="empty|plain|headings|fancy"
9601 \end_layout
9602
9603 \end_inset
9604
9605 ] 使用できるページ様式の一覧です.「
9606 \begin_inset Flex Code
9607 status collapsed
9608
9609 \begin_layout Plain Layout
9610 |
9611 \end_layout
9612
9613 \end_inset
9614
9615 」で区切ります.
9616 \end_layout
9617
9618 \begin_layout Description
9619 \begin_inset Flex Code
9620 status collapsed
9621
9622 \begin_layout Plain Layout
9623 Other
9624 \end_layout
9625
9626 \end_inset
9627
9628  [
9629 \begin_inset Flex Code
9630 status collapsed
9631
9632 \begin_layout Plain Layout
9633 文字列=""
9634 \end_layout
9635
9636 \end_inset
9637
9638
9639 \begin_inset Flex Code
9640 status collapsed
9641
9642 \begin_layout Plain Layout
9643
9644 \backslash
9645 documentclass
9646 \end_layout
9647
9648 \end_inset
9649
9650 コマンドの非必須パラメータとして付け加える文書クラスオプションです.コンマで区切ります.
9651 \end_layout
9652
9653 \begin_layout Standard
9654 \begin_inset Flex Code
9655 status collapsed
9656
9657 \begin_layout Plain Layout
9658 ClassOptions
9659 \end_layout
9660
9661 \end_inset
9662
9663 部は「
9664 \begin_inset Flex Code
9665 status collapsed
9666
9667 \begin_layout Plain Layout
9668 End
9669 \end_layout
9670
9671 \end_inset
9672
9673 」で閉じる必要があります.
9674 \end_layout
9675
9676 \begin_layout Subsection
9677 段落様式
9678 \begin_inset CommandInset label
9679 LatexCommand label
9680 name "subsec:段落様式"
9681
9682 \end_inset
9683
9684
9685 \end_layout
9686
9687 \begin_layout Standard
9688 段落様式の記述は,以下のようになります
9689 \begin_inset Foot
9690 status collapsed
9691
9692 \begin_layout Plain Layout
9693 これは新しいレイアウトを定義するか,既存のレイアウトを修正することになることに注意してください.
9694 \end_layout
9695
9696 \end_inset
9697
9698
9699 \end_layout
9700
9701 \begin_layout LyX-Code
9702 Style 
9703 \family roman
9704 \emph on
9705 名称
9706 \end_layout
9707
9708 \begin_layout LyX-Code
9709  ...
9710 \end_layout
9711
9712 \begin_layout LyX-Code
9713 End
9714 \end_layout
9715
9716 \begin_layout Standard
9717 ここでは,以下のコマンドを使用することができます.
9718 \end_layout
9719
9720 \begin_layout Description
9721 \begin_inset Flex Code
9722 status collapsed
9723
9724 \begin_layout Plain Layout
9725 AddToToc
9726 \end_layout
9727
9728 \end_inset
9729
9730  [
9731 \begin_inset Flex Code
9732 status collapsed
9733
9734 \begin_layout Plain Layout
9735 文字列
9736 \end_layout
9737
9738 \end_inset
9739
9740 =""] この段落は指定された型の一覧表に現れます.空の文字列を与えると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドもご覧
9741 ください.既定値:無効.
9742 \end_layout
9743
9744 \begin_layout Description
9745 \begin_inset Flex Code
9746 status collapsed
9747
9748 \begin_layout Plain Layout
9749 Align
9750 \end_layout
9751
9752 \end_inset
9753
9754  [
9755 \begin_inset Flex Code
9756 status collapsed
9757
9758 \begin_layout Plain Layout
9759
9760 \emph on
9761 block
9762 \emph default
9763 , left, right, center
9764 \end_layout
9765
9766 \end_inset
9767
9768 ] 段落の揃え.
9769 \end_layout
9770
9771 \begin_layout Description
9772 \begin_inset Flex Code
9773 status collapsed
9774
9775 \begin_layout Plain Layout
9776 AlignPossible
9777 \end_layout
9778
9779 \end_inset
9780
9781  [
9782 \begin_inset Flex Code
9783 status collapsed
9784
9785 \begin_layout Plain Layout
9786
9787 \emph on
9788 block
9789 \emph default
9790 , left, right, center
9791 \end_layout
9792
9793 \end_inset
9794
9795 ] 使用できる揃えのコンマ区切りリスト(\SpecialChar LaTeX
9796 スタイルには,意味を成さない一部の揃えが禁じられているものがあります.たとえば,連番箇条書きを右揃えや中央揃えにすること
9797 はできません).
9798 \end_layout
9799
9800 \begin_layout Description
9801 \begin_inset Flex Code
9802 status collapsed
9803
9804 \begin_layout Plain Layout
9805 Argument
9806 \end_layout
9807
9808 \end_inset
9809
9810  [
9811 \begin_inset Flex Code
9812 status collapsed
9813
9814 \begin_layout Plain Layout
9815 整数
9816 \end_layout
9817
9818 \end_inset
9819
9820 ] 現在の様式に関連付けられたコマンドまたは環境の引数番号<整数>を定義します.これは,節見出しのようなものに便利で,また\SpecialChar LaTeX
9821 でのみ意味を持ちます.コマンドまたは環
9822 境の引数は全て–段落の内容自身に関連付けられた必須引数を除き,必須・非必須を問わず–,別の場所で定義され,引数番号はその順序を表します.定義は
9823 \begin_inset Flex Code
9824 status collapsed
9825
9826 \begin_layout Plain Layout
9827 EndArgument
9828 \end_layout
9829
9830 \end_inset
9831
9832 で閉じなくてはなりません.非必須引数が2つあるコマンドの場合は,以下のようになります.
9833 \end_layout
9834
9835 \begin_deeper
9836 \begin_layout Quote
9837
9838 \family typewriter
9839 Argument 1
9840 \end_layout
9841
9842 \begin_layout Quote
9843
9844 \family typewriter
9845 ...
9846 \end_layout
9847
9848 \begin_layout Quote
9849
9850 \family typewriter
9851 EndArgument
9852 \end_layout
9853
9854 \begin_layout Quote
9855
9856 \family typewriter
9857 Argument 2
9858 \end_layout
9859
9860 \begin_layout Quote
9861
9862 \family typewriter
9863 ...
9864 \end_layout
9865
9866 \begin_layout Quote
9867
9868 \family typewriter
9869 EndArgument
9870 \end_layout
9871
9872 \begin_layout Standard
9873 \begin_inset Flex Code
9874 status collapsed
9875
9876 \begin_layout Plain Layout
9877 Argument
9878 \end_layout
9879
9880 \end_inset
9881
9882 定義内部では,以下の指定をすることができます.
9883 \end_layout
9884
9885 \begin_layout Itemize
9886 \begin_inset Flex Code
9887 status collapsed
9888
9889 \begin_layout Plain Layout
9890 LabelString
9891 \end_layout
9892
9893 \end_inset
9894
9895  
9896 \begin_inset Flex Code
9897 status collapsed
9898
9899 \begin_layout Plain Layout
9900 [文字列]
9901 \end_layout
9902
9903 \end_inset
9904
9905  この引数を挿入するメニューと引数差込枠ボタンに表示される文字列です(別に
9906 \begin_inset Flex Code
9907 status collapsed
9908
9909 \begin_layout Plain Layout
9910 MenuString
9911 \end_layout
9912
9913 \end_inset
9914
9915 を指定した場合を除く).メニューには,後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9916 \begin_inset space \space{}
9917 \end_inset
9918
9919
9920 \begin_inset Quotes eld
9921 \end_inset
9922
9923
9924 \begin_inset Flex Code
9925 status collapsed
9926
9927 \begin_layout Plain Layout
9928 Short Title|S
9929 \end_layout
9930
9931 \end_inset
9932
9933
9934 \begin_inset Quotes erd
9935 \end_inset
9936
9937 ).
9938 \end_layout
9939
9940 \begin_layout Itemize
9941 \begin_inset Flex Code
9942 status collapsed
9943
9944 \begin_layout Plain Layout
9945 MenuString
9946 \end_layout
9947
9948 \end_inset
9949
9950  
9951 \begin_inset Flex Code
9952 status collapsed
9953
9954 \begin_layout Plain Layout
9955 [文字列]
9956 \end_layout
9957
9958 \end_inset
9959
9960  メニュー単独用の文字列.後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9961 \begin_inset space \space{}
9962 \end_inset
9963
9964
9965 \begin_inset Quotes eld
9966 \end_inset
9967
9968
9969 \begin_inset Flex Code
9970 status collapsed
9971
9972 \begin_layout Plain Layout
9973 Short Title|S
9974 \end_layout
9975
9976 \end_inset
9977
9978
9979 \begin_inset Quotes erd
9980 \end_inset
9981
9982 ).この指定は必須ではありません.指定しない場合には,代わりに
9983 \begin_inset Flex Code
9984 status collapsed
9985
9986 \begin_layout Plain Layout
9987 LabelString
9988 \end_layout
9989
9990 \end_inset
9991
9992 がメニューに用いられます.
9993 \end_layout
9994
9995 \begin_layout Itemize
9996 \begin_inset Flex Code
9997 status collapsed
9998
9999 \begin_layout Plain Layout
10000 Tooltip
10001 \end_layout
10002
10003 \end_inset
10004
10005  
10006 \begin_inset Flex Code
10007 status collapsed
10008
10009 \begin_layout Plain Layout
10010 [文字列]
10011 \end_layout
10012
10013 \end_inset
10014
10015  引数差込枠にマウスをかざしたときに現れるツールチップに表示される長めの説明文.
10016 \end_layout
10017
10018 \begin_layout Itemize
10019 \begin_inset Flex Code
10020 status collapsed
10021
10022 \begin_layout Plain Layout
10023 Mandatory
10024 \end_layout
10025
10026 \end_inset
10027
10028  [
10029 \begin_inset Flex Code
10030 status collapsed
10031
10032 \begin_layout Plain Layout
10033
10034 \emph on
10035 0
10036 \end_layout
10037
10038 \end_inset
10039
10040 ,
10041 \begin_inset space \thinspace{}
10042 \end_inset
10043
10044
10045 \begin_inset Flex Code
10046 status collapsed
10047
10048 \begin_layout Plain Layout
10049 1
10050 \end_layout
10051
10052 \end_inset
10053
10054 ] これが必須の引数なのか(1)非必須の引数なのか(0)を宣言します.必須引数は,与えられなければ空の出力を行いますが,非必須引数の場合はそもそも出力されません
10055 .既定では,必須引数は
10056 \begin_inset Flex Code
10057 status collapsed
10058
10059 \begin_layout Plain Layout
10060 {...}
10061 \end_layout
10062
10063 \end_inset
10064
10065 で区切られ,非必須引数は
10066 \begin_inset Flex Code
10067 status collapsed
10068
10069 \begin_layout Plain Layout
10070 [...]
10071 \end_layout
10072
10073 \end_inset
10074
10075 で区切られます.
10076 \end_layout
10077
10078 \begin_layout Itemize
10079 \begin_inset Flex Code
10080 status collapsed
10081
10082 \begin_layout Plain Layout
10083 Requires
10084 \end_layout
10085
10086 \end_inset
10087
10088  
10089 \begin_inset Flex Code
10090 status collapsed
10091
10092 \begin_layout Plain Layout
10093 [整数=0]
10094 \end_layout
10095
10096 \end_inset
10097
10098  この引数が出力されるとき,必要となる別の引数を(番号によって)指定します.例えば,\SpecialChar LaTeX
10099 コマンドでは,
10100 \begin_inset Flex Code
10101 status collapsed
10102
10103 \begin_layout Plain Layout
10104
10105 \backslash
10106 command[][引数]{文字列}
10107 \end_layout
10108
10109 \end_inset
10110
10111 のように,前に(少なくとも空の)別の非必須引数を要求する非必須引数があります.これは,
10112 \begin_inset Flex Code
10113 status collapsed
10114
10115 \begin_layout Plain Layout
10116 Argument 2
10117 \end_layout
10118
10119 \end_inset
10120
10121 中に
10122 \begin_inset Flex Code
10123 status collapsed
10124
10125 \begin_layout Plain Layout
10126 Requires 1
10127 \end_layout
10128
10129 \end_inset
10130
10131 ステートメントを置くことで実現できます.
10132 \end_layout
10133
10134 \begin_layout Itemize
10135 \begin_inset Flex Code
10136 status collapsed
10137
10138 \begin_layout Plain Layout
10139 LeftDelim
10140 \end_layout
10141
10142 \end_inset
10143
10144  
10145 \begin_inset Flex Code
10146 status collapsed
10147
10148 \begin_layout Plain Layout
10149 [文字列]
10150 \end_layout
10151
10152 \end_inset
10153
10154  (
10155 \begin_inset Flex Code
10156 status collapsed
10157
10158 \begin_layout Plain Layout
10159 {
10160 \end_layout
10161
10162 \end_inset
10163
10164
10165 \begin_inset Flex Code
10166 status collapsed
10167
10168 \begin_layout Plain Layout
10169 [
10170 \end_layout
10171
10172 \end_inset
10173
10174 ではない)ユーザー定義の左区切りを定義します.出力中の改行は
10175 \begin_inset Flex Code
10176 status collapsed
10177
10178 \begin_layout Plain Layout
10179 <br/>
10180 \end_layout
10181
10182 \end_inset
10183
10184 で指示できます.
10185 \end_layout
10186
10187 \begin_layout Itemize
10188 \begin_inset Flex Code
10189 status collapsed
10190
10191 \begin_layout Plain Layout
10192 RightDelim
10193 \end_layout
10194
10195 \end_inset
10196
10197  
10198 \begin_inset Flex Code
10199 status collapsed
10200
10201 \begin_layout Plain Layout
10202 [文字列]
10203 \end_layout
10204
10205 \end_inset
10206
10207  (
10208 \begin_inset Flex Code
10209 status collapsed
10210
10211 \begin_layout Plain Layout
10212 }
10213 \end_layout
10214
10215 \end_inset
10216
10217
10218 \begin_inset Flex Code
10219 status collapsed
10220
10221 \begin_layout Plain Layout
10222 ]
10223 \end_layout
10224
10225 \end_inset
10226
10227 ではない)ユーザー定義の右区切りを定義します.出力中の改行は
10228 \begin_inset Flex Code
10229 status collapsed
10230
10231 \begin_layout Plain Layout
10232 <br/>
10233 \end_layout
10234
10235 \end_inset
10236
10237 で指示できます.
10238 \end_layout
10239
10240 \begin_layout Itemize
10241 \begin_inset Flex Code
10242 status collapsed
10243
10244 \begin_layout Plain Layout
10245 DefaultArg
10246 \end_layout
10247
10248 \end_inset
10249
10250  
10251 \begin_inset Flex Code
10252 status collapsed
10253
10254 \begin_layout Plain Layout
10255 [文字列]
10256 \end_layout
10257
10258 \end_inset
10259
10260  ユーザー指定引数が与えられなかったとき,すなわち引数差込枠が挿入されなかったときに限り,挿入される引数を定義します(空の引数差込枠が挿入されてもDefault
10261 Argは無効になることに注意してください).引数が複数のときはコンマで区切る必要があります.
10262 \end_layout
10263
10264 \begin_layout Itemize
10265 \begin_inset Flex Code
10266 status collapsed
10267
10268 \begin_layout Plain Layout
10269 PresetArg
10270 \end_layout
10271
10272 \end_inset
10273
10274  
10275 \begin_inset Flex Code
10276 status collapsed
10277
10278 \begin_layout Plain Layout
10279 [文字列]
10280 \end_layout
10281
10282 \end_inset
10283
10284  どのような場合にも(単独もしくはユーザー定義引数とともに)挿入される引数を定義します.引数が複数のときはコンマで区切る必要があります.
10285 \end_layout
10286
10287 \begin_layout Itemize
10288 \begin_inset Flex Code
10289 status collapsed
10290
10291 \begin_layout Plain Layout
10292 Font
10293 \end_layout
10294
10295 \end_inset
10296
10297  引数の内容に用いられるフォント.
10298 \begin_inset CommandInset ref
10299 LatexCommand ref
10300 reference "subsec:フォント指定"
10301
10302 \end_inset
10303
10304 参照.
10305 \end_layout
10306
10307 \begin_layout Itemize
10308 \begin_inset Flex Code
10309 status collapsed
10310
10311 \begin_layout Plain Layout
10312 LabelFont
10313 \end_layout
10314
10315 \end_inset
10316
10317  ラベルに用いられるフォント.
10318 \begin_inset CommandInset ref
10319 LatexCommand ref
10320 reference "subsec:フォント指定"
10321
10322 \end_inset
10323
10324 参照.
10325 \end_layout
10326
10327 \begin_layout Itemize
10328 \begin_inset Flex Code
10329 status collapsed
10330
10331 \begin_layout Plain Layout
10332 Decoration
10333 \end_layout
10334
10335 \end_inset
10336
10337  [
10338 \begin_inset Flex Code
10339 status collapsed
10340
10341 \begin_layout Plain Layout
10342
10343 \emph on
10344 Classic
10345 \emph default
10346 , Minimalistic, Conglomerate
10347 \end_layout
10348
10349 \end_inset
10350
10351 ] 差込枠の枠とボタンに用いられる装飾様式.
10352 \end_layout
10353
10354 \begin_layout Itemize
10355 \begin_inset Flex Code
10356 status collapsed
10357
10358 \begin_layout Plain Layout
10359 AutoInsert
10360 \end_layout
10361
10362 \end_inset
10363
10364  
10365 \begin_inset Flex Code
10366 status collapsed
10367
10368 \begin_layout Plain Layout
10369 [整数=0]
10370 \end_layout
10371
10372 \end_inset
10373
10374  これが
10375 \begin_inset Flex Code
10376 status collapsed
10377
10378 \begin_layout Plain Layout
10379 1
10380 \end_layout
10381
10382 \end_inset
10383
10384 に設定されると,各様式が選択されたときに,この引数が自動的に挿入されます.現在のところ,様式・レイアウト毎に1変数のみ自動挿入することができます.
10385 \end_layout
10386
10387 \begin_layout Itemize
10388 \begin_inset Flex Code
10389 status collapsed
10390
10391 \begin_layout Plain Layout
10392 InsertCotext
10393 \end_layout
10394
10395 \end_inset
10396
10397  
10398 \begin_inset Flex Code
10399 status collapsed
10400
10401 \begin_layout Plain Layout
10402 [整数=0]
10403 \end_layout
10404
10405 \end_inset
10406
10407  これが
10408 \begin_inset Flex Code
10409 status collapsed
10410
10411 \begin_layout Plain Layout
10412 1
10413 \end_layout
10414
10415 \end_inset
10416
10417 に設定されると,この引数は,副文(選択した文ないしは段落全体)のコピーを内容にとって挿入されます.
10418 \end_layout
10419
10420 \begin_layout Itemize
10421 \begin_inset Flex Code
10422 status collapsed
10423
10424 \begin_layout Plain Layout
10425 PassThru
10426 \end_layout
10427
10428 \end_inset
10429
10430  [
10431 \begin_inset Flex Code
10432 status collapsed
10433
10434 \begin_layout Plain Layout
10435
10436 \emph on
10437 inherited
10438 \emph default
10439 , true, false
10440 \end_layout
10441
10442 \end_inset
10443
10444 ] この引数の内容が,\SpecialChar LaTeX
10445 が要求する特別な書き換えを行うことなく,原文のまま出力されるべきかどうかを指定します.既定値では,
10446 \begin_inset Flex Code
10447 status collapsed
10448
10449 \begin_layout Plain Layout
10450 PassThru
10451 \end_layout
10452
10453 \end_inset
10454
10455 の状態は,引数が属する差込枠または段落レイアウトに継承されます.trueまたはfalseは,この引数のみの状態を変更します.
10456 \end_layout
10457
10458 \begin_layout Itemize
10459 \begin_inset Flex Code
10460 status collapsed
10461
10462 \begin_layout Plain Layout
10463 PassThruChars
10464 \end_layout
10465
10466 \end_inset
10467
10468  [
10469 \begin_inset Flex Code
10470 status collapsed
10471
10472 \begin_layout Plain Layout
10473 文字列
10474 \end_layout
10475
10476 \end_inset
10477
10478 ]
10479 \family typewriter
10480  
10481 \family default
10482 \SpecialChar LaTeX
10483 が要求する特別な翻訳は抜きにして,生の形で出力されるべき各文字を定義します.PassThruとは違って,引数用に,これは明示的に定義されなくてはなりません.つま
10484 り,引数は,親差込枠や親レイアウトからPassThruCharsを継承しません.
10485 \end_layout
10486
10487 \begin_layout Itemize
10488 \begin_inset Flex Code
10489 status collapsed
10490
10491 \begin_layout Plain Layout
10492 IsTocCaption
10493 \end_layout
10494
10495 \end_inset
10496
10497  [
10498 \begin_inset Flex Code
10499 status collapsed
10500
10501 \begin_layout Plain Layout
10502
10503 \emph on
10504 0
10505 \end_layout
10506
10507 \end_inset
10508
10509 ,
10510 \begin_inset space \thinspace{}
10511 \end_inset
10512
10513
10514 \begin_inset Flex Code
10515 status collapsed
10516
10517 \begin_layout Plain Layout
10518 1
10519 \end_layout
10520
10521 \end_inset
10522
10523 ] これを1に設定すると,引数は,その内容を対応する一覧表の項目に出力します.AddToTocを参照.
10524 \end_layout
10525
10526 \begin_layout Standard
10527 既定では,
10528 \begin_inset Flex Code
10529 status collapsed
10530
10531 \begin_layout Plain Layout
10532 LatexType
10533 \end_layout
10534
10535 \end_inset
10536
10537
10538 \begin_inset Flex Code
10539 status collapsed
10540
10541 \begin_layout Plain Layout
10542 Command
10543 \end_layout
10544
10545 \end_inset
10546
10547 のとき,各レイアウトで\SpecialChar LyX
10548 作業領域に入力した文字列は,コマンドの最後の(必須)引数になります.しかしながら,前置句
10549 \begin_inset Flex Code
10550 status collapsed
10551
10552 \begin_layout Plain Layout
10553 post:
10554 \end_layout
10555
10556 \end_inset
10557
10558 を付けた文字列は,この作業領域引数の後に出力されます.後置引数の番号は1から振られ直されますので,作業領域引数の後の最初の引数は
10559 \begin_inset Flex Code
10560 status collapsed
10561
10562 \begin_layout Plain Layout
10563 post:1
10564 \end_layout
10565
10566 \end_inset
10567
10568 となります.後置引数は,
10569 \begin_inset Flex Code
10570 status collapsed
10571
10572 \begin_layout Plain Layout
10573 Command
10574 \end_layout
10575
10576 \end_inset
10577
10578 以外の
10579 \begin_inset Flex Code
10580 status collapsed
10581
10582 \begin_layout Plain Layout
10583 LatexType
10584 \end_layout
10585
10586 \end_inset
10587
10588 では無視されます.
10589 \end_layout
10590
10591 \begin_layout Standard
10592 (
10593 \begin_inset Flex Code
10594 status collapsed
10595
10596 \begin_layout Plain Layout
10597
10598 \backslash
10599 item[foo]
10600 \end_layout
10601
10602 \end_inset
10603
10604 のような)箇条書き
10605 \begin_inset Flex Code
10606 status collapsed
10607
10608 \begin_layout Plain Layout
10609
10610 \backslash
10611 item
10612 \end_layout
10613
10614 \end_inset
10615
10616 の引数は,前置句
10617 \begin_inset Flex Code
10618 status collapsed
10619
10620 \begin_layout Plain Layout
10621 item:
10622 \end_layout
10623
10624 \end_inset
10625
10626 の後に番号を付けます(例:
10627 \begin_inset Flex Code
10628 status collapsed
10629
10630 \begin_layout Plain Layout
10631 Argument item:1
10632 \end_layout
10633
10634 \end_inset
10635
10636 ).
10637 \end_layout
10638
10639 \end_deeper
10640 \begin_layout Description
10641
10642 \lang english
10643 \begin_inset Flex Code
10644 status collapsed
10645
10646 \begin_layout Plain Layout
10647
10648 \lang english
10649 AutoNests
10650 \end_layout
10651
10652 \end_inset
10653
10654  Includes a comma-separated list of layouts that should be nested in and
10655  after the current layout.
10656  Only makes sense for nestable layouts (such as environments).
10657  Must be ended by 
10658 \begin_inset Quotes eld
10659 \end_inset
10660
10661
10662 \begin_inset Flex Code
10663 status collapsed
10664
10665 \begin_layout Plain Layout
10666
10667 \lang english
10668 EndAutoNests
10669 \end_layout
10670
10671 \end_inset
10672
10673
10674 \begin_inset Quotes erd
10675 \end_inset
10676
10677 .
10678  See also 
10679 \begin_inset Flex Code
10680 status collapsed
10681
10682 \begin_layout Plain Layout
10683
10684 \lang english
10685 IsAutoNestedBy
10686 \end_layout
10687
10688 \end_inset
10689
10690 .
10691 \end_layout
10692
10693 \begin_layout Description
10694 \begin_inset Flex Code
10695 status collapsed
10696
10697 \begin_layout Plain Layout
10698 BabelPreamble
10699 \end_layout
10700
10701 \end_inset
10702
10703  これは,前に現れたこの様式の
10704 \begin_inset Flex Code
10705 status collapsed
10706
10707 \begin_layout Plain Layout
10708 BabelPreamble
10709 \end_layout
10710
10711 \end_inset
10712
10713 宣言をすべて,完全に上書きしますので注意してください.「
10714 \begin_inset Flex Code
10715 status collapsed
10716
10717 \begin_layout Plain Layout
10718 EndBabelPreamble
10719 \end_layout
10720
10721 \end_inset
10722
10723 」で閉じる必要があります.これの利用法についての詳細は,第
10724 \begin_inset CommandInset ref
10725 LatexCommand ref
10726 reference "subsec:段落様式の国際化"
10727
10728 \end_inset
10729
10730 節をご覧ください.
10731 \end_layout
10732
10733 \begin_layout Description
10734 \begin_inset Flex Code
10735 status collapsed
10736
10737 \begin_layout Plain Layout
10738 BottomSep
10739 \end_layout
10740
10741 \end_inset
10742
10743  [
10744 \begin_inset Flex Code
10745 status collapsed
10746
10747 \begin_layout Plain Layout
10748 浮動小数点型=0
10749 \end_layout
10750
10751 \end_inset
10752
10753 ]
10754 \begin_inset Foot
10755 status collapsed
10756
10757 \begin_layout Plain Layout
10758 ここで「浮動小数点型」とは1.5のような実数を指します.
10759 \end_layout
10760
10761 \end_inset
10762
10763  このレイアウト型の段落塊の最後の段落と,次の段落とを分離する垂直空白.次の段落が別のレイアウト型である場合,分離幅は足し上げられるのではなく,最大値がとられま
10764 す.
10765 \end_layout
10766
10767 \begin_layout Description
10768 \begin_inset Flex Code
10769 status collapsed
10770
10771 \begin_layout Plain Layout
10772 Category
10773 \end_layout
10774
10775 \end_inset
10776
10777  [
10778 \begin_inset Flex Code
10779 status collapsed
10780
10781 \begin_layout Plain Layout
10782 文字列
10783 \end_layout
10784
10785 \end_inset
10786
10787 ] この様式のカテゴリです.これは,ツールバーのレイアウト・コンボボックスで関連した様式をグループ化するのに用いられます.任意の文字列を使用することができますが
10788 ,作成した様式に既存のカテゴリを使用したいと思うことが多いでしょう.
10789 \end_layout
10790
10791 \begin_layout Description
10792 \begin_inset Flex Code
10793 status collapsed
10794
10795 \begin_layout Plain Layout
10796 CommandDepth
10797 \end_layout
10798
10799 \end_inset
10800
10801  XMLコマンドの深度.XML型の書式でのみ使用されます.
10802 \end_layout
10803
10804 \begin_layout Description
10805 \begin_inset Flex Code
10806 status collapsed
10807
10808 \begin_layout Plain Layout
10809 CopyStyle
10810 \end_layout
10811
10812 \end_inset
10813
10814  [
10815 \begin_inset Flex Code
10816 status collapsed
10817
10818 \begin_layout Plain Layout
10819 文字列
10820 \end_layout
10821
10822 \end_inset
10823
10824 ] 既存の様式から,すべての機能を現在の様式にコピーします.
10825 \end_layout
10826
10827 \begin_layout Description
10828 \begin_inset Flex Code
10829 status collapsed
10830
10831 \begin_layout Plain Layout
10832 DependsOn
10833 \end_layout
10834
10835 \end_inset
10836
10837  [
10838 \begin_inset Flex Code
10839 status collapsed
10840
10841 \begin_layout Plain Layout
10842 <名称>
10843 \end_layout
10844
10845 \end_inset
10846
10847 ]
10848 \lang english
10849  
10850 \lang japanese
10851 この
10852 \emph on
10853 前に
10854 \emph default
10855 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,プリアンブルの断片の順序を確実にするためのものです
10856 \begin_inset Foot
10857 status collapsed
10858
10859 \begin_layout Plain Layout
10860 この機能以外には,プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
10861 の特定のバージョンで観察された順序は,将来のバージョンで警告なしに変わる可能性が
10862 あります.
10863 \end_layout
10864
10865 \end_inset
10866
10867
10868 \end_layout
10869
10870 \begin_layout Description
10871 \begin_inset Flex Code
10872 status collapsed
10873
10874 \begin_layout Plain Layout
10875 EndLabeltype
10876 \end_layout
10877
10878 \end_inset
10879
10880  [
10881 \begin_inset Flex Code
10882 status collapsed
10883
10884 \begin_layout Plain Layout
10885
10886 \emph on
10887 No_Label
10888 \emph default
10889 , Box, Filled_Box, Static
10890 \end_layout
10891
10892 \end_inset
10893
10894 ] 段落の最後(あるいは
10895 \begin_inset Flex Code
10896 status collapsed
10897
10898 \begin_layout Plain Layout
10899 LatexType
10900 \end_layout
10901
10902 \end_inset
10903
10904 が,
10905 \begin_inset Flex Code
10906 status collapsed
10907
10908 \begin_layout Plain Layout
10909 Environment
10910 \end_layout
10911
10912 \end_inset
10913
10914
10915 \begin_inset Flex Code
10916 status collapsed
10917
10918 \begin_layout Plain Layout
10919 Item_Environment
10920 \end_layout
10921
10922 \end_inset
10923
10924
10925 \begin_inset Flex Code
10926 status collapsed
10927
10928 \begin_layout Plain Layout
10929 List_Environment
10930 \end_layout
10931
10932 \end_inset
10933
10934 のいずれかの場合は,段落群の最後)に置くラベル.
10935 \begin_inset Flex Code
10936 status collapsed
10937
10938 \begin_layout Plain Layout
10939 No_Label
10940 \end_layout
10941
10942 \end_inset
10943
10944 の場合は「何もない」ことを指し,
10945 \begin_inset Flex Code
10946 status collapsed
10947
10948 \begin_layout Plain Layout
10949 Box
10950 \end_layout
10951
10952 \end_inset
10953
10954 (あるいは
10955 \begin_inset Flex Code
10956 status collapsed
10957
10958 \begin_layout Plain Layout
10959 Filled_Box
10960 \end_layout
10961
10962 \end_inset
10963
10964 )の場合は,証明終了マーカ用の白い箱型(あるいは黒い箱型)を指し,
10965 \begin_inset Flex Code
10966 status collapsed
10967
10968 \begin_layout Plain Layout
10969 Static
10970 \end_layout
10971
10972 \end_inset
10973
10974 は明示したテキスト文字列を指します.
10975 \end_layout
10976
10977 \begin_layout Description
10978 \begin_inset Flex Code
10979 status collapsed
10980
10981 \begin_layout Plain Layout
10982 EndLabelString
10983 \end_layout
10984
10985 \end_inset
10986
10987  [
10988 \begin_inset Flex Code
10989 status collapsed
10990
10991 \begin_layout Plain Layout
10992 文字列=""
10993 \end_layout
10994
10995 \end_inset
10996
10997
10998 \begin_inset Flex Code
10999 status collapsed
11000
11001 \begin_layout Plain Layout
11002 Static
11003 \end_layout
11004
11005 \end_inset
11006
11007
11008 \begin_inset Flex Code
11009 status collapsed
11010
11011 \begin_layout Plain Layout
11012 EndLabelType
11013 \end_layout
11014
11015 \end_inset
11016
11017 のラベルで用いる文字列.
11018 \end_layout
11019
11020 \begin_layout Description
11021 \begin_inset Flex Code
11022 status collapsed
11023
11024 \begin_layout Plain Layout
11025 Font
11026 \end_layout
11027
11028 \end_inset
11029
11030  本文テキストとラベルの
11031 \emph on
11032 両方で
11033 \emph default
11034 用いられるフォント.第
11035 \begin_inset CommandInset ref
11036 LatexCommand ref
11037 reference "subsec:フォント指定"
11038
11039 \end_inset
11040
11041 節を参照.このフォントを定義すると,自動的に
11042 \begin_inset Flex Code
11043 status collapsed
11044
11045 \begin_layout Plain Layout
11046 LabelFont
11047 \end_layout
11048
11049 \end_inset
11050
11051 も同じ値で定義されることに注意してください.したがって,
11052 \begin_inset Flex Code
11053 status collapsed
11054
11055 \begin_layout Plain Layout
11056 LabelFont
11057 \end_layout
11058
11059 \end_inset
11060
11061 も同時に定義したい場合には,これを先に定義してください.
11062 \end_layout
11063
11064 \begin_layout Description
11065 \begin_inset Flex Code
11066 status collapsed
11067
11068 \begin_layout Plain Layout
11069 ForceLocal
11070 \end_layout
11071
11072 \end_inset
11073
11074  [
11075 \begin_inset Flex Code
11076 status collapsed
11077
11078 \begin_layout Plain Layout
11079 int=0
11080 \end_layout
11081
11082 \end_inset
11083
11084 ] 新しい様式を\SpecialChar LyX
11085 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
11086  2.1.0です.引数は数字で,0・-1・1以上の任意の数をとることが
11087 できます.様式の
11088 \begin_inset Flex Code
11089 status collapsed
11090
11091 \begin_layout Plain Layout
11092 ForceLocal
11093 \end_layout
11094
11095 \end_inset
11096
11097 フラグが1以上ならば,これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,文書ヘッダからの様式定義が文書クラスに追加されます.したがって,古い
11098 版の\SpecialChar LyX
11099 もこの様式を取り扱えるようになります.
11100 \begin_inset Flex Code
11101 status collapsed
11102
11103 \begin_layout Plain Layout
11104 ForceLocal
11105 \end_layout
11106
11107 \end_inset
11108
11109 の引数は版数です.様式が読み込まれたときに,文書クラス中の既存の様式の版数よりも小さいと,新しい様式は無視されます.版数が大きいと,既存の様式に代わって新しい様
11110 式が用いられます.値-1は無限大の版数を意味し,この様式が常に用いられることになります.
11111 \end_layout
11112
11113 \begin_layout Description
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  [
11124 \emph on
11125
11126 \begin_inset Flex Code
11127 status collapsed
11128
11129 \begin_layout Plain Layout
11130 0
11131 \end_layout
11132
11133 \end_inset
11134
11135
11136 \emph default
11137 ,
11138 \begin_inset space \thinspace{}
11139 \end_inset
11140
11141
11142 \begin_inset Flex Code
11143 status collapsed
11144
11145 \begin_layout Plain Layout
11146 1
11147 \end_layout
11148
11149 \end_inset
11150
11151 ] \SpecialChar LyX
11152 は,空白をそれ自体文字や記号ではなく,2つの単語の間の分割子として捉えているため,単語間に2つ以上の空白を入れることは,通常許可していません.これ自体はとて
11153 も素晴らしいことですが,たとえばプログラムコードや生の\SpecialChar LaTeX
11154 コードを入力しようとするときなどに,煩わしくなることがあります.このことから,
11155 \begin_inset Flex Code
11156 status collapsed
11157
11158 \begin_layout Plain Layout
11159 FreeSpacing
11160 \end_layout
11161
11162 \end_inset
11163
11164 を有効にすることが認められています.\SpecialChar LyX
11165 は,\SpecialChar LaTeX
11166 モード以外では2つめ以降の空白には,保護された空白を使用することに注意してください.
11167 \end_layout
11168
11169 \begin_layout Description
11170 \begin_inset Flex Code
11171 status collapsed
11172
11173 \begin_layout Plain Layout
11174 HTML*
11175 \end_layout
11176
11177 \end_inset
11178
11179  これらのタグは,XHTML出力で使用されます.第
11180 \begin_inset CommandInset ref
11181 LatexCommand ref
11182 reference "subsec:段落様式-XHTML"
11183
11184 \end_inset
11185
11186 節をご覧ください.
11187 \end_layout
11188
11189 \begin_layout Description
11190 \begin_inset Flex Code
11191 status collapsed
11192
11193 \begin_layout Plain Layout
11194 InnerTag
11195 \end_layout
11196
11197 \end_inset
11198
11199  [[FIXME]] (XML型書式でのみ使用されます.)
11200 \end_layout
11201
11202 \begin_layout Description
11203 \begin_inset Flex Code
11204 status collapsed
11205
11206 \begin_layout Plain Layout
11207 InPreamble
11208 \end_layout
11209
11210 \end_inset
11211
11212  [
11213 \emph on
11214
11215 \begin_inset Flex Code
11216 status collapsed
11217
11218 \begin_layout Plain Layout
11219 0
11220 \end_layout
11221
11222 \end_inset
11223
11224
11225 \emph default
11226 ,
11227 \begin_inset space \thinspace{}
11228 \end_inset
11229
11230
11231 \begin_inset Flex Code
11232 status collapsed
11233
11234 \begin_layout Plain Layout
11235 1
11236 \end_layout
11237
11238 \end_inset
11239
11240
11241 \begin_inset Flex Code
11242 status collapsed
11243
11244 \begin_layout Plain Layout
11245 1
11246 \end_layout
11247
11248 \end_inset
11249
11250 の場合,様式が文書本体ではなく,文書プリアンブルにインクルードされるようにします.これは,タイトルや著者の情報をプリアンブルで設定する必要のある文書クラスに便利
11251 です.これは,
11252 \begin_inset Flex Code
11253 status collapsed
11254
11255 \begin_layout Plain Layout
11256 LatexType
11257 \end_layout
11258
11259 \end_inset
11260
11261
11262 \begin_inset Flex Code
11263 status collapsed
11264
11265 \begin_layout Plain Layout
11266 Command
11267 \end_layout
11268
11269 \end_inset
11270
11271 または
11272 \begin_inset Flex Code
11273 status collapsed
11274
11275 \begin_layout Plain Layout
11276 Paragraph
11277 \end_layout
11278
11279 \end_inset
11280
11281 の様式に対してのみ動作します.
11282 \end_layout
11283
11284 \begin_layout Description
11285 \begin_inset Flex Code
11286 status collapsed
11287
11288 \begin_layout Plain Layout
11289 InTitle
11290 \end_layout
11291
11292 \end_inset
11293
11294  [
11295 \emph on
11296
11297 \begin_inset Flex Code
11298 status collapsed
11299
11300 \begin_layout Plain Layout
11301 0
11302 \end_layout
11303
11304 \end_inset
11305
11306
11307 \emph default
11308 ,
11309 \begin_inset space \thinspace{}
11310 \end_inset
11311
11312
11313 \begin_inset Flex Code
11314 status collapsed
11315
11316 \begin_layout Plain Layout
11317 1
11318 \end_layout
11319
11320 \end_inset
11321
11322
11323 \begin_inset Flex Code
11324 status collapsed
11325
11326 \begin_layout Plain Layout
11327 1
11328 \end_layout
11329
11330 \end_inset
11331
11332 の場合,このレイアウトをタイトルブロックの一部としてマークします(大域項目の
11333 \begin_inset Flex Code
11334 status collapsed
11335
11336 \begin_layout Plain Layout
11337 TitleLatexType
11338 \end_layout
11339
11340 \end_inset
11341
11342
11343 \begin_inset Flex Code
11344 status collapsed
11345
11346 \begin_layout Plain Layout
11347 TitleLatexName
11348 \end_layout
11349
11350 \end_inset
11351
11352 も参照).
11353 \end_layout
11354
11355 \begin_layout Description
11356
11357 \lang english
11358 \begin_inset Flex Code
11359 status collapsed
11360
11361 \begin_layout Plain Layout
11362
11363 \lang english
11364 IsAutoNestedBy
11365 \end_layout
11366
11367 \end_inset
11368
11369  Includes a comma-separated list of layouts after which this one should
11370  be nested.
11371  Only makes sense with regard to nestable layouts (such as environments).
11372  Must be ended by 
11373 \begin_inset Quotes eld
11374 \end_inset
11375
11376
11377 \begin_inset Flex Code
11378 status collapsed
11379
11380 \begin_layout Plain Layout
11381
11382 \lang english
11383 EndIsAutoNestedBy
11384 \end_layout
11385
11386 \end_inset
11387
11388
11389 \begin_inset Quotes erd
11390 \end_inset
11391
11392 .
11393  See also 
11394 \begin_inset Flex Code
11395 status collapsed
11396
11397 \begin_layout Plain Layout
11398
11399 \lang english
11400 AutoNests
11401 \end_layout
11402
11403 \end_inset
11404
11405 .
11406 \end_layout
11407
11408 \begin_layout Description
11409 \begin_inset Flex Code
11410 status collapsed
11411
11412 \begin_layout Plain Layout
11413 IsTocCaption
11414 \end_layout
11415
11416 \end_inset
11417
11418  [
11419 \begin_inset Flex Code
11420 status collapsed
11421
11422 \begin_layout Plain Layout
11423
11424 \emph on
11425 0
11426 \end_layout
11427
11428 \end_inset
11429
11430 ,
11431 \begin_inset space \thinspace{}
11432 \end_inset
11433
11434
11435 \begin_inset Flex Code
11436 status collapsed
11437
11438 \begin_layout Plain Layout
11439 1
11440 \end_layout
11441
11442 \end_inset
11443
11444 ] これを1に設定すると,AddToTocが有効になり,段落は,その内容の要約を一覧表の項目に表示します.0に設定すると,ラベルが存在すれば,それのみが表示され
11445 ます.
11446 \end_layout
11447
11448 \begin_layout Description
11449 \begin_inset Flex Code
11450 status collapsed
11451
11452 \begin_layout Plain Layout
11453 ItemCommand
11454 \end_layout
11455
11456 \end_inset
11457
11458  [
11459 \begin_inset Flex Code
11460 status collapsed
11461
11462 \begin_layout Plain Layout
11463 文字列="item"
11464 \end_layout
11465
11466 \end_inset
11467
11468 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
11469 コマンド.コマンドは,前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,\SpecialChar LaTeX
11470 出力中では
11471 \begin_inset Flex Code
11472 status collapsed
11473
11474 \begin_layout Plain Layout
11475
11476 \backslash
11477 item
11478 \end_layout
11479
11480 \end_inset
11481
11482 となります).
11483 \end_layout
11484
11485 \begin_layout Description
11486 \begin_inset Flex Code
11487 status collapsed
11488
11489 \begin_layout Plain Layout
11490 ItemSep
11491 \end_layout
11492
11493 \end_inset
11494
11495  [
11496 \begin_inset Flex Code
11497 status collapsed
11498
11499 \begin_layout Plain Layout
11500 浮動小数点型=0
11501 \end_layout
11502
11503 \end_inset
11504
11505 ] これは,同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,それぞれのレイアウトは,その環境の
11506 \begin_inset Flex Code
11507 status collapsed
11508
11509 \begin_layout Plain Layout
11510 ParSep
11511 \end_layout
11512
11513 \end_inset
11514
11515 だけ分離されます.しかし,その環境の項目全体は,さらにこの
11516 \begin_inset Flex Code
11517 status collapsed
11518
11519 \begin_layout Plain Layout
11520 ItemSep
11521 \end_layout
11522
11523 \end_inset
11524
11525 分だけ離されます.これは
11526 \emph on
11527 乗数
11528 \emph default
11529 であることに注意してください.
11530 \end_layout
11531
11532 \begin_layout Description
11533 \begin_inset Flex Code
11534 status collapsed
11535
11536 \begin_layout Plain Layout
11537 ItemTag
11538 \end_layout
11539
11540 \end_inset
11541
11542  [[FIXME]] (XML型書式でのみ使用されます.)
11543 \end_layout
11544
11545 \begin_layout Description
11546 \begin_inset Flex Code
11547 status collapsed
11548
11549 \begin_layout Plain Layout
11550 KeepEmpty
11551 \end_layout
11552
11553 \end_inset
11554
11555  [
11556 \emph on
11557
11558 \begin_inset Flex Code
11559 status collapsed
11560
11561 \begin_layout Plain Layout
11562 0
11563 \end_layout
11564
11565 \end_inset
11566
11567
11568 \emph default
11569 ,
11570 \begin_inset space \thinspace{}
11571 \end_inset
11572
11573
11574 \begin_inset Flex Code
11575 status collapsed
11576
11577 \begin_layout Plain Layout
11578 1
11579 \end_layout
11580
11581 \end_inset
11582
11583 ] 段落を空のままにすると,\SpecialChar LaTeX
11584 出力が空になってしまうので,通常,\SpecialChar LyX
11585 は段落を空にすることを許可しません.しかしながら,これを無効にすることが望ましい場合が存在します.
11586 たとえば,書簡のひな型では,必須フィールドを人々が忘れないように,空のフィールドのまま提供する手もあります.特別なクラスにおいては,レイアウトを実際には文章を含
11587 まないある種の改行として使用することもあります.
11588 \end_layout
11589
11590 \begin_layout Description
11591 \begin_inset Flex Code
11592 status collapsed
11593
11594 \begin_layout Plain Layout
11595 LabelBottomsep
11596 \end_layout
11597
11598 \end_inset
11599
11600  [
11601 \begin_inset Flex Code
11602 status collapsed
11603
11604 \begin_layout Plain Layout
11605 浮動小数点型=0
11606 \end_layout
11607
11608 \end_inset
11609
11610 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
11611 \begin_inset Flex Code
11612 status collapsed
11613
11614 \begin_layout Plain Layout
11615 Top_Environment
11616 \end_layout
11617
11618 \end_inset
11619
11620 および
11621 \begin_inset Newline linebreak
11622 \end_inset
11623
11624
11625 \begin_inset Flex Code
11626 status collapsed
11627
11628 \begin_layout Plain Layout
11629 Centered_Top_Environment
11630 \end_layout
11631
11632 \end_inset
11633
11634 ).
11635 \end_layout
11636
11637 \begin_layout Description
11638 \begin_inset Flex Code
11639 status collapsed
11640
11641 \begin_layout Plain Layout
11642 LabelCounter
11643 \end_layout
11644
11645 \end_inset
11646
11647  [
11648 \begin_inset Flex Code
11649 status collapsed
11650
11651 \begin_layout Plain Layout
11652 文字列=""
11653 \end_layout
11654
11655 \end_inset
11656
11657 ] 自動連番に使われるカウンタ名(詳しくは第
11658 \begin_inset CommandInset ref
11659 LatexCommand ref
11660 reference "subsec:カウンタ"
11661 plural "false"
11662 caps "false"
11663 noprefix "false"
11664
11665 \end_inset
11666
11667 節参照).カウンタがラベル中に表示されるようにするためには,
11668 \begin_inset Flex Code
11669 status collapsed
11670
11671 \begin_layout Plain Layout
11672 LabelString
11673 \end_layout
11674
11675 \end_inset
11676
11677 中で参照する必要があります.これは,少なくとも
11678 \begin_inset Flex Code
11679 status collapsed
11680
11681 \begin_layout Plain Layout
11682 Static
11683 \end_layout
11684
11685 \end_inset
11686
11687
11688 \begin_inset Flex Code
11689 status collapsed
11690
11691 \begin_layout Plain Layout
11692 Above
11693 \end_layout
11694
11695 \end_inset
11696
11697
11698 \begin_inset Flex Code
11699 status collapsed
11700
11701 \begin_layout Plain Layout
11702 Centered
11703 \end_layout
11704
11705 \end_inset
11706
11707 の各
11708 \begin_inset Flex Code
11709 status collapsed
11710
11711 \begin_layout Plain Layout
11712 LabelType
11713 \end_layout
11714
11715 \end_inset
11716
11717 で動作します.
11718 \begin_inset Newline newline
11719 \end_inset
11720
11721 また,
11722 \begin_inset Flex Code
11723 status collapsed
11724
11725 \begin_layout Plain Layout
11726 LabelType
11727 \end_layout
11728
11729 \end_inset
11730
11731
11732 \begin_inset Flex Code
11733 status collapsed
11734
11735 \begin_layout Plain Layout
11736 Enumerate
11737 \end_layout
11738
11739 \end_inset
11740
11741 型のときにも,若干複雑にはなりますが,本項目を使うことができます.たとえば,「
11742 \begin_inset Flex Code
11743 status collapsed
11744
11745 \begin_layout Plain Layout
11746 LabelCounter myenum
11747 \end_layout
11748
11749 \end_inset
11750
11751 」と宣言したものとしましょう.すると,\SpecialChar LaTeX
11752 におけるのと同様,実際に使われるカウンタは,
11753 \begin_inset Flex Code
11754 status collapsed
11755
11756 \begin_layout Plain Layout
11757 myenumi
11758 \end_layout
11759
11760 \end_inset
11761
11762
11763 \begin_inset Flex Code
11764 status collapsed
11765
11766 \begin_layout Plain Layout
11767 myenumii
11768 \end_layout
11769
11770 \end_inset
11771
11772
11773 \begin_inset Flex Code
11774 status collapsed
11775
11776 \begin_layout Plain Layout
11777 myenumii
11778 \end_layout
11779
11780 \end_inset
11781
11782
11783 \begin_inset Flex Code
11784 status collapsed
11785
11786 \begin_layout Plain Layout
11787 myenumiv
11788 \end_layout
11789
11790 \end_inset
11791
11792 のようになります.これらのカウンタは,全て別々に宣言されなくてはなりません.
11793 \begin_inset Newline newline
11794 \end_inset
11795
11796 カウンタの詳細については,
11797 \begin_inset CommandInset ref
11798 LatexCommand ref
11799 reference "subsec:カウンタ"
11800
11801 \end_inset
11802
11803 をご覧ください.
11804 \end_layout
11805
11806 \begin_layout Description
11807 \begin_inset Flex Code
11808 status collapsed
11809
11810 \begin_layout Plain Layout
11811 LabelFont
11812 \end_layout
11813
11814 \end_inset
11815
11816  ラベルに使用されるフォント.
11817 \begin_inset CommandInset ref
11818 LatexCommand ref
11819 reference "subsec:フォント指定"
11820
11821 \end_inset
11822
11823 を参照.
11824 \end_layout
11825
11826 \begin_layout Description
11827 \begin_inset Flex Code
11828 status collapsed
11829
11830 \begin_layout Plain Layout
11831 LabelIndent
11832 \end_layout
11833
11834 \end_inset
11835
11836  [
11837 \begin_inset Flex Code
11838 status collapsed
11839
11840 \begin_layout Plain Layout
11841 文字列=""
11842 \end_layout
11843
11844 \end_inset
11845
11846 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
11847 \end_layout
11848
11849 \begin_layout Description
11850 \begin_inset Flex Code
11851 status collapsed
11852
11853 \begin_layout Plain Layout
11854 LabelSep
11855 \end_layout
11856
11857 \end_inset
11858
11859  [
11860 \begin_inset Flex Code
11861 status collapsed
11862
11863 \begin_layout Plain Layout
11864 文字列=""
11865 \end_layout
11866
11867 \end_inset
11868
11869 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
11870 \end_layout
11871
11872 \begin_layout Description
11873 \begin_inset Flex Code
11874 status collapsed
11875
11876 \begin_layout Plain Layout
11877 LabelString
11878 \end_layout
11879
11880 \end_inset
11881
11882  [
11883 \begin_inset Flex Code
11884 status collapsed
11885
11886 \begin_layout Plain Layout
11887 文字列=""
11888 \end_layout
11889
11890 \end_inset
11891
11892
11893 \begin_inset Flex Code
11894 status collapsed
11895
11896 \begin_layout Plain Layout
11897 Static
11898 \end_layout
11899
11900 \end_inset
11901
11902 ラベル型でラベルに使用する文字列.
11903 \begin_inset Flex Code
11904 status collapsed
11905
11906 \begin_layout Plain Layout
11907 LabelCounter
11908 \end_layout
11909
11910 \end_inset
11911
11912 を設定している場合,
11913 \begin_inset CommandInset ref
11914 LatexCommand ref
11915 reference "subsec:カウンタ"
11916
11917 \end_inset
11918
11919 に述べられている特別な整形コマンドを含めることができます.
11920 \end_layout
11921
11922 \begin_layout Description
11923 \begin_inset Flex Code
11924 status collapsed
11925
11926 \begin_layout Plain Layout
11927 LabelStringAppendix
11928 \end_layout
11929
11930 \end_inset
11931
11932  [
11933 \begin_inset Flex Code
11934 status collapsed
11935
11936 \begin_layout Plain Layout
11937 文字列=""
11938 \end_layout
11939
11940 \end_inset
11941
11942 ] これは付録の中で
11943 \begin_inset Flex Code
11944 status collapsed
11945
11946 \begin_layout Plain Layout
11947 LabelString
11948 \end_layout
11949
11950 \end_inset
11951
11952 の代わりに用いられます.各
11953 \begin_inset Flex Code
11954 status collapsed
11955
11956 \begin_layout Plain Layout
11957 LabelString
11958 \end_layout
11959
11960 \end_inset
11961
11962 ステートメントは,
11963 \begin_inset Flex Code
11964 status collapsed
11965
11966 \begin_layout Plain Layout
11967 LabelStringAppendix
11968 \end_layout
11969
11970 \end_inset
11971
11972 をもリセットすることに注意してください.
11973 \end_layout
11974
11975 \begin_layout Description
11976 \begin_inset Flex Code
11977 status collapsed
11978
11979 \begin_layout Plain Layout
11980 LabelTag
11981 \end_layout
11982
11983 \end_inset
11984
11985  [FIXME] (XML型書式でのみ使用されます.)
11986 \end_layout
11987
11988 \begin_layout Description
11989 \begin_inset Flex Code
11990 status collapsed
11991
11992 \begin_layout Plain Layout
11993 LabelType
11994 \end_layout
11995
11996 \end_inset
11997
11998  [
11999 \begin_inset Flex Code
12000 status collapsed
12001
12002 \begin_layout Plain Layout
12003
12004 \emph on
12005 No_Label
12006 \emph default
12007 , Manual, Static, Above,
12008 \begin_inset Newline newline
12009 \end_inset
12010
12011 Centered, Sensitive, Enumerate,
12012 \begin_inset Newline newline
12013 \end_inset
12014
12015 Itemize, Bibliography
12016 \end_layout
12017
12018 \end_inset
12019
12020 ]
12021 \end_layout
12022
12023 \begin_deeper
12024 \begin_layout Description
12025 \begin_inset Flex Code
12026 status collapsed
12027
12028 \begin_layout Plain Layout
12029 Manual
12030 \end_layout
12031
12032 \end_inset
12033
12034  は,ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,保護された空白を使用してください.
12035 \end_layout
12036
12037 \begin_layout Description
12038 \begin_inset Flex Code
12039 status collapsed
12040
12041 \begin_layout Plain Layout
12042 Static
12043 \end_layout
12044
12045 \end_inset
12046
12047  は,ラベルが
12048 \begin_inset Flex Code
12049 status collapsed
12050
12051 \begin_layout Plain Layout
12052 LabelString
12053 \end_layout
12054
12055 \end_inset
12056
12057 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
12058 \begin_inset Flex Code
12059 status collapsed
12060
12061 \begin_layout Plain Layout
12062 LatexType
12063 \end_layout
12064
12065 \end_inset
12066
12067
12068 \begin_inset Flex Code
12069 status collapsed
12070
12071 \begin_layout Plain Layout
12072 Environment
12073 \end_layout
12074
12075 \end_inset
12076
12077 のときは,連続する同じ
12078 \begin_inset Flex Code
12079 status collapsed
12080
12081 \begin_layout Plain Layout
12082 Style
12083 \end_layout
12084
12085 \end_inset
12086
12087 の段落中,最初の段落にのみ表示されます.
12088 \end_layout
12089
12090 \begin_layout Description
12091 \begin_inset Flex Code
12092 status collapsed
12093
12094 \begin_layout Plain Layout
12095 Above
12096 \end_layout
12097
12098 \end_inset
12099
12100 および
12101 \begin_inset Flex Code
12102 status collapsed
12103
12104 \begin_layout Plain Layout
12105 Centered
12106 \end_layout
12107
12108 \end_inset
12109
12110  は,
12111 \begin_inset Flex Code
12112 status collapsed
12113
12114 \begin_layout Plain Layout
12115 Static
12116 \end_layout
12117
12118 \end_inset
12119
12120 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
12121 \end_layout
12122
12123 \begin_layout Description
12124 \begin_inset Flex Code
12125 status collapsed
12126
12127 \begin_layout Plain Layout
12128 Sensitive
12129 \end_layout
12130
12131 \end_inset
12132
12133  はキャプションラベルの「図」や「表」の特別な場合です.
12134 \begin_inset Flex Code
12135 status collapsed
12136
12137 \begin_layout Plain Layout
12138 Sensitive
12139 \end_layout
12140
12141 \end_inset
12142
12143 は,(ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,フロートに関連付けられたカウンタの値がNであるものとすると,「Float
12144 Type N」にハードコードされています.キャプションがフロートの外に挿入されると,
12145 \begin_inset Flex Code
12146 status collapsed
12147
12148 \begin_layout Plain Layout
12149 LabelString
12150 \end_layout
12151
12152 \end_inset
12153
12154 は「意味を成しません!」と表示されます.
12155 \end_layout
12156
12157 \begin_layout Description
12158 \begin_inset Flex Code
12159 status collapsed
12160
12161 \begin_layout Plain Layout
12162 Enumerate
12163 \end_layout
12164
12165 \end_inset
12166
12167  は,通常の連番ラベルを生成します.
12168 \lang english
12169 The number type needs to be set in the 
12170 \family sans
12171 Counter
12172 \family default
12173 , see 
12174 \lang japanese
12175
12176 \begin_inset CommandInset ref
12177 LatexCommand ref
12178 reference "subsec:カウンタ"
12179
12180 \end_inset
12181
12182
12183 \end_layout
12184
12185 \begin_layout Description
12186 \begin_inset Flex Code
12187 status collapsed
12188
12189 \begin_layout Plain Layout
12190 Itemize
12191 \end_layout
12192
12193 \end_inset
12194
12195  は,各階層でさまざまなブリットを生成します.
12196 \lang english
12197 The bullet types displayed can be set via 
12198 \begin_inset Flex Noun
12199 status collapsed
12200
12201 \begin_layout Plain Layout
12202
12203 \lang english
12204 Document\SpecialChar menuseparator
12205 Settings\SpecialChar menuseparator
12206 Bullets
12207 \end_layout
12208
12209 \end_inset
12210
12211 .
12212 \end_layout
12213
12214 \begin_layout Description
12215 \begin_inset Flex Code
12216 status collapsed
12217
12218 \begin_layout Plain Layout
12219 Bibliography
12220 \end_layout
12221
12222 \end_inset
12223
12224  は,
12225 \begin_inset Flex Code
12226 status collapsed
12227
12228 \begin_layout Plain Layout
12229 LatexType BibEnvironment
12230 \end_layout
12231
12232 \end_inset
12233
12234 とともにのみ使用されます.
12235 \end_layout
12236
12237 \end_deeper
12238 \begin_layout Description
12239 \begin_inset Flex Code
12240 status collapsed
12241
12242 \begin_layout Plain Layout
12243 LangPreamble
12244 \end_layout
12245
12246 \end_inset
12247
12248  これは,この様式で既に出現した
12249 \begin_inset Flex Code
12250 status collapsed
12251
12252 \begin_layout Plain Layout
12253 LangPreamble
12254 \end_layout
12255
12256 \end_inset
12257
12258 宣言をすべて,完全に上書きしますので,注意してください.使用法についての詳細は,
12259 \begin_inset CommandInset ref
12260 LatexCommand ref
12261 reference "subsec:段落様式の国際化"
12262
12263 \end_inset
12264
12265 をご覧ください.
12266 \end_layout
12267
12268 \begin_layout Description
12269 \begin_inset Flex Code
12270 status collapsed
12271
12272 \begin_layout Plain Layout
12273 LatexName
12274 \end_layout
12275
12276 \end_inset
12277
12278  [
12279 \begin_inset Flex Code
12280 status collapsed
12281
12282 \begin_layout Plain Layout
12283 <名称>
12284 \end_layout
12285
12286 \end_inset
12287
12288 ] 対応する\SpecialChar LaTeX
12289 の名称です.環境名かコマンド名を指します.
12290 \end_layout
12291
12292 \begin_layout Description
12293 \begin_inset Flex Code
12294 status collapsed
12295
12296 \begin_layout Plain Layout
12297 LatexParam
12298 \end_layout
12299
12300 \end_inset
12301
12302  [
12303 \begin_inset Flex Code
12304 status collapsed
12305
12306 \begin_layout Plain Layout
12307 <パラメータ>
12308 \end_layout
12309
12310 \end_inset
12311
12312 ] 対応する
12313 \begin_inset Flex Code
12314 status collapsed
12315
12316 \begin_layout Plain Layout
12317 LatexName
12318 \end_layout
12319
12320 \end_inset
12321
12322 の非必須パラメータです.このパラメータは,\SpecialChar LyX
12323 内部から変更することはできません(変更可能なパラメータには
12324 \begin_inset Flex Code
12325 status collapsed
12326
12327 \begin_layout Plain Layout
12328 Argument
12329 \end_layout
12330
12331 \end_inset
12332
12333 を使用してください).これは,全ての\SpecialChar LaTeX
12334  
12335 \begin_inset Flex Code
12336 status collapsed
12337
12338 \begin_layout Plain Layout
12339 Argument
12340 \end_layout
12341
12342 \end_inset
12343
12344 の後にそのままの形で出力されます.
12345 \end_layout
12346
12347 \begin_layout Description
12348 \begin_inset Flex Code
12349 status collapsed
12350
12351 \begin_layout Plain Layout
12352 LatexType
12353 \end_layout
12354
12355 \end_inset
12356
12357  [
12358 \begin_inset Flex Code
12359 status collapsed
12360
12361 \begin_layout Plain Layout
12362
12363 \emph on
12364 Paragraph
12365 \emph default
12366 , Command, Environment, Item_Environment,
12367 \begin_inset Newline newline
12368 \end_inset
12369
12370 List_Environment, Bib_Environment
12371 \end_layout
12372
12373 \end_inset
12374
12375 ] レイアウトがどのように\SpecialChar LaTeX
12376 に変換されるべきかを示します
12377 \begin_inset Foot
12378 status collapsed
12379
12380 \begin_layout Plain Layout
12381 これらのルールはSGMLクラスにも適用されるので,
12382 \begin_inset Flex Code
12383 status collapsed
12384
12385 \begin_layout Plain Layout
12386 LatexType
12387 \end_layout
12388
12389 \end_inset
12390
12391 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイル(ファイル名
12392 \begin_inset Flex Code
12393 status collapsed
12394
12395 \begin_layout Plain Layout
12396 db_*.inc
12397 \end_layout
12398
12399 \end_inset
12400
12401 )を見てください.
12402 \end_layout
12403
12404 \end_inset
12405
12406
12407 \end_layout
12408
12409 \begin_deeper
12410 \begin_layout Description
12411 \begin_inset Flex Code
12412 status collapsed
12413
12414 \begin_layout Plain Layout
12415 Paragraph
12416 \end_layout
12417
12418 \end_inset
12419
12420  は,何も特別なことは意味しません.
12421 \end_layout
12422
12423 \begin_layout Description
12424 \begin_inset Flex Code
12425 status collapsed
12426
12427 \begin_layout Plain Layout
12428 Command
12429 \end_layout
12430
12431 \end_inset
12432
12433  は,
12434 \begin_inset Flex Code
12435 status collapsed
12436
12437 \begin_layout Plain Layout
12438
12439 \backslash
12440
12441 \emph on
12442 LatexName
12443 \emph default
12444 {\SpecialChar ldots
12445 }
12446 \end_layout
12447
12448 \end_inset
12449
12450 を意味します.
12451 \end_layout
12452
12453 \begin_layout Description
12454 \begin_inset Flex Code
12455 status collapsed
12456
12457 \begin_layout Plain Layout
12458 Environment
12459 \end_layout
12460
12461 \end_inset
12462
12463  は,
12464 \begin_inset Flex Code
12465 status collapsed
12466
12467 \begin_layout Plain Layout
12468
12469 \backslash
12470 begin{
12471 \emph on
12472 LatexName
12473 \emph default
12474 }\SpecialChar ldots
12475
12476 \backslash
12477 end{
12478 \emph on
12479 LatexName
12480 \emph default
12481 }
12482 \end_layout
12483
12484 \end_inset
12485
12486 を意味します.
12487 \end_layout
12488
12489 \begin_layout Description
12490 \begin_inset Flex Code
12491 status collapsed
12492
12493 \begin_layout Plain Layout
12494 Item_Environment
12495 \end_layout
12496
12497 \end_inset
12498
12499  は
12500 \begin_inset Flex Code
12501 status collapsed
12502
12503 \begin_layout Plain Layout
12504 Environment
12505 \end_layout
12506
12507 \end_inset
12508
12509 と同じですが,
12510 \begin_inset Flex Code
12511 status collapsed
12512
12513 \begin_layout Plain Layout
12514
12515 \backslash
12516 item
12517 \end_layout
12518
12519 \end_inset
12520
12521 がこの環境のすべての段落に付けられるところだけが異なっています.
12522 \end_layout
12523
12524 \begin_layout Description
12525 \begin_inset Flex Code
12526 status collapsed
12527
12528 \begin_layout Plain Layout
12529 List_Environment
12530 \end_layout
12531
12532 \end_inset
12533
12534  は
12535 \begin_inset Flex Code
12536 status collapsed
12537
12538 \begin_layout Plain Layout
12539 Item_Environment
12540 \end_layout
12541
12542 \end_inset
12543
12544 と同じですが,
12545 \begin_inset Flex Code
12546 status collapsed
12547
12548 \begin_layout Plain Layout
12549 LabelWidthString
12550 \end_layout
12551
12552 \end_inset
12553
12554 が環境の引数として渡されるところだけが異なっています.
12555 \begin_inset Flex Code
12556 status collapsed
12557
12558 \begin_layout Plain Layout
12559 LabelWidthString
12560 \end_layout
12561
12562 \end_inset
12563
12564 は,
12565 \begin_inset Flex MenuItem
12566 status collapsed
12567
12568 \begin_layout Plain Layout
12569 編集\SpecialChar menuseparator
12570 段落設定
12571 \end_layout
12572
12573 \end_inset
12574
12575 ダイアログで定義することができます.
12576 \end_layout
12577
12578 \begin_layout Description
12579 \begin_inset Flex Code
12580 status collapsed
12581
12582 \begin_layout Plain Layout
12583 Bib_Environment
12584 \end_layout
12585
12586 \end_inset
12587
12588  は
12589 \begin_inset Flex Code
12590 status collapsed
12591
12592 \begin_layout Plain Layout
12593 Environment
12594 \end_layout
12595
12596 \end_inset
12597
12598 に似ていますが,以下のように,書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
12599 \begin_inset Newline newline
12600 \end_inset
12601
12602
12603 \begin_inset Flex Code
12604 status collapsed
12605
12606 \begin_layout Plain Layout
12607
12608 \backslash
12609 begin{thebibliography}{99}
12610 \end_layout
12611
12612 \end_inset
12613
12614
12615 \begin_inset Newline newline
12616 \end_inset
12617
12618 したがって,これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,書誌情報項目の段落設定で,ユーザーが変更することができます.
12619 \end_layout
12620
12621 \begin_layout Standard
12622 上記最後のいくつかをまとめると,\SpecialChar LaTeX
12623 出力は,\SpecialChar LaTeX
12624 型に依存して
12625 \end_layout
12626
12627 \begin_layout LyX-Code
12628
12629 \backslash
12630 LatexName[LatexParam]{\SpecialChar ldots
12631 }
12632 \end_layout
12633
12634 \begin_layout Standard
12635 のようになるか,
12636 \end_layout
12637
12638 \begin_layout LyX-Code
12639
12640 \backslash
12641 begin{LatexName}[LatexParam] \SpecialChar ldots
12642  
12643 \backslash
12644 end{LatexName}.
12645 \end_layout
12646
12647 \begin_layout Standard
12648 となります.
12649 \end_layout
12650
12651 \end_deeper
12652 \begin_layout Description
12653 \begin_inset Flex Code
12654 status collapsed
12655
12656 \begin_layout Plain Layout
12657 LeftDelim
12658 \end_layout
12659
12660 \end_inset
12661
12662  [
12663 \begin_inset Flex Code
12664 status collapsed
12665
12666 \begin_layout Plain Layout
12667 文字列
12668 \end_layout
12669
12670 \end_inset
12671
12672 ] 様式の内容の最初に置かれる文字列.出力中の改行は
12673 \begin_inset Flex Code
12674 status collapsed
12675
12676 \begin_layout Plain Layout
12677 <br/>
12678 \end_layout
12679
12680 \end_inset
12681
12682 で指示できます.
12683 \end_layout
12684
12685 \begin_layout Description
12686 \begin_inset Flex Code
12687 status collapsed
12688
12689 \begin_layout Plain Layout
12690 LeftMargin
12691 \end_layout
12692
12693 \end_inset
12694
12695  [
12696 \begin_inset Flex Code
12697 status collapsed
12698
12699 \begin_layout Plain Layout
12700 文字列=""
12701 \end_layout
12702
12703 \end_inset
12704
12705 ] レイアウトを環境の中に入れた場合,左余白は単純に加えられるのではなく,因子
12706 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
12707 \end_inset
12708
12709 をかけて加えられます.このパラメータは,
12710 \begin_inset Flex Code
12711 status collapsed
12712
12713 \begin_layout Plain Layout
12714 Margin
12715 \end_layout
12716
12717 \end_inset
12718
12719
12720 \begin_inset Flex Code
12721 status collapsed
12722
12723 \begin_layout Plain Layout
12724 Manual
12725 \end_layout
12726
12727 \end_inset
12728
12729 あるいは
12730 \begin_inset Flex Code
12731 status collapsed
12732
12733 \begin_layout Plain Layout
12734 Dynamic
12735 \end_layout
12736
12737 \end_inset
12738
12739 に設定されているときにも用いられることに注意してください.その場合には,これは手動設定余白または動的設定余白に加えられることに注意してください.
12740 \begin_inset Newline newline
12741 \end_inset
12742
12743 たとえば「
12744 \begin_inset Flex Code
12745 status collapsed
12746
12747 \begin_layout Plain Layout
12748 MM
12749 \end_layout
12750
12751 \end_inset
12752
12753 」と指定すると,段落を通常フォントの「
12754 \begin_inset Flex Code
12755 status collapsed
12756
12757 \begin_layout Plain Layout
12758 MM
12759 \end_layout
12760
12761 \end_inset
12762
12763 」の幅だけ行頭下げを行います.文字列の前に「
12764 \begin_inset Flex Code
12765 status collapsed
12766
12767 \begin_layout Plain Layout
12768 -
12769 \end_layout
12770
12771 \end_inset
12772
12773 」を付けると,負の幅を与えることができます.この方法が採用されたのは,どの画面フォントでも見かけが同じになるようにするためです.
12774 \end_layout
12775
12776 \begin_layout Description
12777 \begin_inset Flex Code
12778 status collapsed
12779
12780 \begin_layout Plain Layout
12781 Margin
12782 \end_layout
12783
12784 \end_inset
12785
12786  [
12787 \begin_inset Flex Code
12788 status collapsed
12789
12790 \begin_layout Plain Layout
12791
12792 \emph on
12793 Static
12794 \emph default
12795 , Manual, Dynamic, First_Dynamic, Right_Address_Box
12796 \end_layout
12797
12798 \end_inset
12799
12800
12801 \begin_inset Newline newline
12802 \end_inset
12803
12804 このレイアウトの左余白の種類です.
12805 \end_layout
12806
12807 \begin_deeper
12808 \begin_layout Description
12809 \begin_inset Flex Code
12810 status collapsed
12811
12812 \begin_layout Plain Layout
12813 Static
12814 \end_layout
12815
12816 \end_inset
12817
12818  は固定余白を示します.
12819 \end_layout
12820
12821 \begin_layout Description
12822 \begin_inset Flex Code
12823 status collapsed
12824
12825 \begin_layout Plain Layout
12826 Manual
12827 \end_layout
12828
12829 \end_inset
12830
12831  は,左余白が
12832 \begin_inset Flex MenuItem
12833 status collapsed
12834
12835 \begin_layout Plain Layout
12836 編集\SpecialChar menuseparator
12837 段落設定
12838 \end_layout
12839
12840 \end_inset
12841
12842 ダイアログで入力した文字列によって決められることを示します.これは,タブを用いずに整った一覧表を組むのに使用されます.
12843 \end_layout
12844
12845 \begin_layout Description
12846 \begin_inset Flex Code
12847 status collapsed
12848
12849 \begin_layout Plain Layout
12850 Dynamic
12851 \end_layout
12852
12853 \end_inset
12854
12855  は,余白がラベルの大きさに依存することを示します.これは,自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,「3.2
12856  非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
12857 \end_layout
12858
12859 \begin_layout Description
12860 \begin_inset Flex Code
12861 status collapsed
12862
12863 \begin_layout Plain Layout
12864 First_Dynamic
12865 \end_layout
12866
12867 \end_inset
12868
12869  は似ていますが,段落の最初の行だけがDynamicでその他の行はStaticです.これは,たとえば,箇条書き(記述)に使用されます.
12870 \end_layout
12871
12872 \begin_layout Description
12873 \begin_inset Flex Code
12874 status collapsed
12875
12876 \begin_layout Plain Layout
12877 Right_Address_Box
12878 \end_layout
12879
12880 \end_inset
12881
12882  は,段落中,最も長い行が右余白に合うように余白を選択します.これは,ページの右端に住所を組版するのに用いられます.
12883 \end_layout
12884
12885 \end_deeper
12886 \begin_layout Description
12887 \begin_inset Flex Code
12888 status collapsed
12889
12890 \begin_layout Plain Layout
12891 NeedProtect
12892 \end_layout
12893
12894 \end_inset
12895
12896  [
12897 \begin_inset Flex Code
12898 status collapsed
12899
12900 \begin_layout Plain Layout
12901
12902 \emph on
12903 0
12904 \end_layout
12905
12906 \end_inset
12907
12908 ,
12909 \begin_inset space \thinspace{}
12910 \end_inset
12911
12912
12913 \begin_inset Flex Code
12914 status collapsed
12915
12916 \begin_layout Plain Layout
12917 1
12918 \end_layout
12919
12920 \end_inset
12921
12922 ] このレイアウト中の脆弱なコマンドが
12923 \begin_inset Flex Code
12924 status collapsed
12925
12926 \begin_layout Plain Layout
12927
12928 \backslash
12929 protect
12930 \end_layout
12931
12932 \end_inset
12933
12934 されるべきか否か(註:これはこのコマンド自体が
12935 \begin_inset Flex Code
12936 status collapsed
12937
12938 \begin_layout Plain Layout
12939
12940 \backslash
12941 protect
12942 \end_layout
12943
12944 \end_inset
12945
12946 されるべきかでは
12947 \emph on
12948 ありません
12949 \emph default
12950 ).
12951 \end_layout
12952
12953 \begin_layout Description
12954 \begin_inset Flex Code
12955 status collapsed
12956
12957 \begin_layout Plain Layout
12958 Newline
12959 \end_layout
12960
12961 \end_inset
12962
12963  [
12964 \begin_inset Flex Code
12965 status collapsed
12966
12967 \begin_layout Plain Layout
12968 0
12969 \end_layout
12970
12971 \end_inset
12972
12973 ,
12974 \begin_inset space \thinspace{}
12975 \end_inset
12976
12977
12978 \begin_inset Flex Code
12979 status collapsed
12980
12981 \begin_layout Plain Layout
12982
12983 \emph on
12984 1
12985 \end_layout
12986
12987 \end_inset
12988
12989 ] 新規行を\SpecialChar LaTeX
12990 の新規行(
12991 \begin_inset Flex Code
12992 status collapsed
12993
12994 \begin_layout Plain Layout
12995
12996 \backslash
12997
12998 \backslash
12999
13000 \end_layout
13001
13002 \end_inset
13003
13004 )に変換するか否か.\SpecialChar LyX
13005 中で\SpecialChar LaTeX
13006 編集をやりやすくするために,変換は無効にすることができます.
13007 \end_layout
13008
13009 \begin_layout Description
13010 \begin_inset Flex Code
13011 status collapsed
13012
13013 \begin_layout Plain Layout
13014 NextNoIndent
13015 \end_layout
13016
13017 \end_inset
13018
13019  [
13020 \begin_inset Flex Code
13021 status collapsed
13022
13023 \begin_layout Plain Layout
13024
13025 \emph on
13026 0
13027 \end_layout
13028
13029 \end_inset
13030
13031 ,
13032 \begin_inset space \thinspace{}
13033 \end_inset
13034
13035
13036 \begin_inset Flex Code
13037 status collapsed
13038
13039 \begin_layout Plain Layout
13040 1
13041 \end_layout
13042
13043 \end_inset
13044
13045 ] 真に設定すると,
13046 \begin_inset Flex Code
13047 status collapsed
13048
13049 \begin_layout Plain Layout
13050 DefaultStyle
13051 \end_layout
13052
13053 \end_inset
13054
13055  (通常
13056 \begin_inset Flex Code
13057 status collapsed
13058
13059 \begin_layout Plain Layout
13060 Standard
13061 \end_layout
13062
13063 \end_inset
13064
13065 )段落が行頭下げになっている場合でも,この型の段落に続くそれらの段落は,字下げされません(逆に言えば,既定でない段落には影響を与えません).
13066 \end_layout
13067
13068 \begin_layout Description
13069 \begin_inset Flex Code
13070 status collapsed
13071
13072 \begin_layout Plain Layout
13073 ObsoletedBy
13074 \end_layout
13075
13076 \end_inset
13077
13078  [
13079 \begin_inset Flex Code
13080 status collapsed
13081
13082 \begin_layout Plain Layout
13083 <名称>
13084 \end_layout
13085
13086 \end_inset
13087
13088 ] このレイアウトが置き換えられたレイアウト名.これは,後方互換性を維持しながら,レイアウトの名称を変更するのに使用されます.
13089 \end_layout
13090
13091 \begin_layout Description
13092 \begin_inset Flex Code
13093 status collapsed
13094
13095 \begin_layout Plain Layout
13096 ParagraphGroup
13097 \end_layout
13098
13099 \end_inset
13100
13101  [
13102 \begin_inset Flex Code
13103 status collapsed
13104
13105 \begin_layout Plain Layout
13106 0
13107 \end_layout
13108
13109 \end_inset
13110
13111 ,
13112 \begin_inset space \thinspace{}
13113 \end_inset
13114
13115
13116 \begin_inset Flex Code
13117 status collapsed
13118
13119 \begin_layout Plain Layout
13120 1
13121 \end_layout
13122
13123 \end_inset
13124
13125 ] 同じ型の段落が引き続く場合,同じ段落として取り扱うか否かを決定します.これは,そのような連続グループに対して,
13126 \begin_inset Flex Code
13127 status collapsed
13128
13129 \begin_layout Plain Layout
13130 GuiLabel
13131 \end_layout
13132
13133 \end_inset
13134
13135 が一度だけ出力される効果があります.既定では,
13136 \begin_inset Flex Code
13137 status collapsed
13138
13139 \begin_layout Plain Layout
13140 LaTeXType
13141 \end_layout
13142
13143 \end_inset
13144
13145
13146 \begin_inset Flex Code
13147 status collapsed
13148
13149 \begin_layout Plain Layout
13150 Environment
13151 \end_layout
13152
13153 \end_inset
13154
13155 および
13156 \begin_inset Flex Code
13157 status collapsed
13158
13159 \begin_layout Plain Layout
13160 Bib_Environment
13161 \end_layout
13162
13163 \end_inset
13164
13165  については有効であり,他の型すべてについて無効になっています.
13166 \end_layout
13167
13168 \begin_layout Description
13169 \begin_inset Flex Code
13170 status collapsed
13171
13172 \begin_layout Plain Layout
13173 ParbreakIsNewline
13174 \end_layout
13175
13176 \end_inset
13177
13178  [
13179 \begin_inset Flex Code
13180 status collapsed
13181
13182 \begin_layout Plain Layout
13183
13184 \emph on
13185 0
13186 \end_layout
13187
13188 \end_inset
13189
13190 ,
13191 \begin_inset space \thinspace{}
13192 \end_inset
13193
13194
13195 \begin_inset Flex Code
13196 status collapsed
13197
13198 \begin_layout Plain Layout
13199 1
13200 \end_layout
13201
13202 \end_inset
13203
13204 ] \SpecialChar LaTeX
13205 出力中で,段落を空行ではなく,改行で区切るよう指定します.
13206 \begin_inset Flex Code
13207 status collapsed
13208
13209 \begin_layout Plain Layout
13210 PassThru 1
13211 \end_layout
13212
13213 \end_inset
13214
13215 と併用すれば,(\SpecialChar TeX
13216 コードを使用したときのように)テキストエディタをエミュレートすることができます.
13217 \end_layout
13218
13219 \begin_layout Description
13220 \begin_inset Flex Code
13221 status collapsed
13222
13223 \begin_layout Plain Layout
13224 ParIndent
13225 \end_layout
13226
13227 \end_inset
13228
13229  [
13230 \begin_inset Flex Code
13231 status collapsed
13232
13233 \begin_layout Plain Layout
13234 文字列=""
13235 \end_layout
13236
13237 \end_inset
13238
13239 ] 段落の最初の行の行頭下げ.レイアウトによっては
13240 \begin_inset Flex Code
13241 status collapsed
13242
13243 \begin_layout Plain Layout
13244 Parindent
13245 \end_layout
13246
13247 \end_inset
13248
13249 は固定されています.例外には標準レイアウトがあり,標準レイアウトの段落の行頭下げは,
13250 \begin_inset Flex Code
13251 status collapsed
13252
13253 \begin_layout Plain Layout
13254 NextNoIndent
13255 \end_layout
13256
13257 \end_inset
13258
13259 で禁止することができるようになっています.また,環境中の標準レイアウト段落は,当該段落の
13260 \begin_inset Flex Code
13261 status collapsed
13262
13263 \begin_layout Plain Layout
13264 Parindent
13265 \end_layout
13266
13267 \end_inset
13268
13269 ではなく,この環境の
13270 \begin_inset Flex Code
13271 status collapsed
13272
13273 \begin_layout Plain Layout
13274 Parindent
13275 \end_layout
13276
13277 \end_inset
13278
13279 を使用します.たとえば,箇条書き(連番)内の標準段落は,行頭下げされません.
13280 \end_layout
13281
13282 \begin_layout Description
13283 \begin_inset Flex Code
13284 status collapsed
13285
13286 \begin_layout Plain Layout
13287 ParSep
13288 \end_layout
13289
13290 \end_inset
13291
13292  [
13293 \begin_inset Flex Code
13294 status collapsed
13295
13296 \begin_layout Plain Layout
13297 浮動小数点型=0
13298 \end_layout
13299
13300 \end_inset
13301
13302 ] このレイアウトの2段落間の垂直余白.
13303 \end_layout
13304
13305 \begin_layout Description
13306 \begin_inset Flex Code
13307 status collapsed
13308
13309 \begin_layout Plain Layout
13310 Parskip
13311 \end_layout
13312
13313 \end_inset
13314
13315  [
13316 \begin_inset Flex Code
13317 status collapsed
13318
13319 \begin_layout Plain Layout
13320 浮動小数点型=0
13321 \end_layout
13322
13323 \end_inset
13324
13325 ] \SpecialChar LyX
13326 では,文書を組版するのに,ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,この値は完全に無視されます.「スキップ」を選
13327 択した際には,\SpecialChar LaTeX
13328 型「段落」レイアウトの
13329 \begin_inset Flex Code
13330 status collapsed
13331
13332 \begin_layout Plain Layout
13333 ParIndent
13334 \end_layout
13335
13336 \end_inset
13337
13338 は無視され,すべての段落はこの
13339 \begin_inset Flex Code
13340 status collapsed
13341
13342 \begin_layout Plain Layout
13343 Parskip
13344 \end_layout
13345
13346 \end_inset
13347
13348 引数分だけ引き離されます.垂直余白は,
13349 \begin_inset Flex Code
13350 status collapsed
13351
13352 \begin_layout Plain Layout
13353 DefaultHeight
13354 \end_layout
13355
13356 \end_inset
13357
13358 を標準フォントでの1行の高さとすると,
13359 \begin_inset Flex Code
13360 status collapsed
13361
13362 \begin_layout Plain Layout
13363 Parskipの値
13364 \end_layout
13365
13366 \end_inset
13367
13368
13369 \begin_inset Formula $\times$
13370 \end_inset
13371
13372
13373 \begin_inset Flex Code
13374 status collapsed
13375
13376 \begin_layout Plain Layout
13377 DefaultHeight
13378 \end_layout
13379
13380 \end_inset
13381
13382 によって計算されます.このようにして,画面フォントを変更しても同じように表示されるのです.
13383 \end_layout
13384
13385 \begin_layout Description
13386 \begin_inset Flex Code
13387 status collapsed
13388
13389 \begin_layout Plain Layout
13390 PassThru
13391 \end_layout
13392
13393 \end_inset
13394
13395  [
13396 \emph on
13397
13398 \begin_inset Flex Code
13399 status collapsed
13400
13401 \begin_layout Plain Layout
13402 0
13403 \end_layout
13404
13405 \end_inset
13406
13407
13408 \emph default
13409 ,
13410 \begin_inset space \thinspace{}
13411 \end_inset
13412
13413
13414 \begin_inset Flex Code
13415 status collapsed
13416
13417 \begin_layout Plain Layout
13418 1
13419 \end_layout
13420
13421 \end_inset
13422
13423 ] この段落の内容が,\SpecialChar LaTeX
13424 が必要とするような特別な変換を行わずに,生の形で出力されるべきかどうか.
13425 \end_layout
13426
13427 \begin_layout Description
13428 \begin_inset Flex Code
13429 status collapsed
13430
13431 \begin_layout Plain Layout
13432 PassThruChars
13433 \end_layout
13434
13435 \end_inset
13436
13437  [
13438 \begin_inset Flex Code
13439 status collapsed
13440
13441 \begin_layout Plain Layout
13442 文字列
13443 \end_layout
13444
13445 \end_inset
13446
13447 ]
13448 \family typewriter
13449  
13450 \family default
13451 \SpecialChar LaTeX
13452 が要請する特別な翻訳なしで.生の形で出力されるべき,それぞれの文字を定義します.
13453 \end_layout
13454
13455 \begin_layout Description
13456 \begin_inset Flex Code
13457 status collapsed
13458
13459 \begin_layout Plain Layout
13460 Preamble
13461 \end_layout
13462
13463 \end_inset
13464
13465  この様式が使用されたときに,\SpecialChar LaTeX
13466 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,パッケージを読み込んだりと言ったことに使用します.「
13467 \begin_inset Flex Code
13468 status collapsed
13469
13470 \begin_layout Plain Layout
13471 EndPreamble
13472 \end_layout
13473
13474 \end_inset
13475
13476 」で閉じる必要があります.
13477 \end_layout
13478
13479 \begin_layout Description
13480 \begin_inset Flex Code
13481 status collapsed
13482
13483 \begin_layout Plain Layout
13484 RefPrefix
13485 \end_layout
13486
13487 \end_inset
13488
13489  [
13490 \begin_inset Flex Code
13491 status collapsed
13492
13493 \begin_layout Plain Layout
13494 文字列
13495 \end_layout
13496
13497 \end_inset
13498
13499 ] この型の段落を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
13500 \end_layout
13501
13502 \begin_layout Description
13503 \begin_inset Flex Code
13504 status collapsed
13505
13506 \begin_layout Plain Layout
13507 Requires
13508 \end_layout
13509
13510 \end_inset
13511
13512  [
13513 \begin_inset Flex Code
13514 status collapsed
13515
13516 \begin_layout Plain Layout
13517 文字列
13518 \end_layout
13519
13520 \end_inset
13521
13522 ] この様式が機能
13523 \begin_inset Flex Code
13524 status collapsed
13525
13526 \begin_layout Plain Layout
13527 文字列
13528 \end_layout
13529
13530 \end_inset
13531
13532 を必要とするかどうか(機能詳細については,第
13533 \begin_inset CommandInset ref
13534 LatexCommand ref
13535 reference "chap:関数一覧"
13536
13537 \end_inset
13538
13539 節参照).特定のオプションをとるパッケージを要求する場合,
13540 \begin_inset Flex Code
13541 status collapsed
13542
13543 \begin_layout Plain Layout
13544 PackageOptions
13545 \end_layout
13546
13547 \end_inset
13548
13549 を汎用テキストクラスパラメータとして追加して使うことができます(
13550 \begin_inset CommandInset ref
13551 LatexCommand ref
13552 reference "subsec:汎用テキストクラスパラメータ"
13553
13554 \end_inset
13555
13556 を参照).
13557 \end_layout
13558
13559 \begin_layout Description
13560 \begin_inset Flex Code
13561 status collapsed
13562
13563 \begin_layout Plain Layout
13564 ResetArgs
13565 \end_layout
13566
13567 \end_inset
13568
13569  [
13570 \begin_inset Flex Code
13571 status collapsed
13572
13573 \begin_layout Plain Layout
13574
13575 \emph on
13576 0
13577 \end_layout
13578
13579 \end_inset
13580
13581 ,
13582 \begin_inset Flex Code
13583 status collapsed
13584
13585 \begin_layout Plain Layout
13586 1
13587 \end_layout
13588
13589 \end_inset
13590
13591 ] (
13592 \begin_inset Flex Code
13593 status collapsed
13594
13595 \begin_layout Plain Layout
13596 Argument
13597 \end_layout
13598
13599 \end_inset
13600
13601 タグで定義された)この様式の\SpecialChar LaTeX
13602 引数をリセットします.これは,様式を
13603 \begin_inset Flex Code
13604 status collapsed
13605
13606 \begin_layout Plain Layout
13607 CopyStyle
13608 \end_layout
13609
13610 \end_inset
13611
13612 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
13613 \end_layout
13614
13615 \begin_layout Description
13616 \begin_inset Flex Code
13617 status collapsed
13618
13619 \begin_layout Plain Layout
13620 ResumeCounter
13621 \end_layout
13622
13623 \end_inset
13624
13625  [
13626 \begin_inset Flex Code
13627 status collapsed
13628
13629 \begin_layout Plain Layout
13630
13631 \emph on
13632 0
13633 \end_layout
13634
13635 \end_inset
13636
13637 ,
13638 \begin_inset Flex Code
13639 status collapsed
13640
13641 \begin_layout Plain Layout
13642 1
13643 \end_layout
13644
13645 \end_inset
13646
13647 ] レイアウトの新しい一群で通常リセットされるカウンタを元に戻します.これは,
13648 \begin_inset Flex Code
13649 status collapsed
13650
13651 \begin_layout Plain Layout
13652 LabelType
13653 \end_layout
13654
13655 \end_inset
13656
13657
13658 \begin_inset Flex Code
13659 status collapsed
13660
13661 \begin_layout Plain Layout
13662 Enumerate
13663 \end_layout
13664
13665 \end_inset
13666
13667 の時のみ有効です.
13668 \end_layout
13669
13670 \begin_layout Description
13671 \begin_inset Flex Code
13672 status collapsed
13673
13674 \begin_layout Plain Layout
13675 RightDelim
13676 \end_layout
13677
13678 \end_inset
13679
13680  [
13681 \begin_inset Flex Code
13682 status collapsed
13683
13684 \begin_layout Plain Layout
13685 文字列
13686 \end_layout
13687
13688 \end_inset
13689
13690 ] 様式の内容の最後に置かれる文字列.出力中の改行は
13691 \begin_inset Flex Code
13692 status collapsed
13693
13694 \begin_layout Plain Layout
13695 <br/>
13696 \end_layout
13697
13698 \end_inset
13699
13700 で指示できます.
13701 \end_layout
13702
13703 \begin_layout Description
13704 \begin_inset Flex Code
13705 status collapsed
13706
13707 \begin_layout Plain Layout
13708 RightMargin
13709 \end_layout
13710
13711 \end_inset
13712
13713  [
13714 \begin_inset Flex Code
13715 status collapsed
13716
13717 \begin_layout Plain Layout
13718 文字列=""
13719 \end_layout
13720
13721 \end_inset
13722
13723
13724 \begin_inset Flex Code
13725 status collapsed
13726
13727 \begin_layout Plain Layout
13728 LeftMargin
13729 \end_layout
13730
13731 \end_inset
13732
13733 に同様.
13734 \end_layout
13735
13736 \begin_layout Description
13737 \begin_inset Flex Code
13738 status collapsed
13739
13740 \begin_layout Plain Layout
13741 Spacing
13742 \end_layout
13743
13744 \end_inset
13745
13746  [
13747 \begin_inset Flex Code
13748 status collapsed
13749
13750 \begin_layout Plain Layout
13751
13752 \emph on
13753 single
13754 \end_layout
13755
13756 \end_inset
13757
13758
13759 \begin_inset Flex Code
13760 status collapsed
13761
13762 \begin_layout Plain Layout
13763 onehalf
13764 \end_layout
13765
13766 \end_inset
13767
13768
13769 \begin_inset Flex Code
13770 status collapsed
13771
13772 \begin_layout Plain Layout
13773 double
13774 \end_layout
13775
13776 \end_inset
13777
13778
13779 \begin_inset Flex Code
13780 status collapsed
13781
13782 \begin_layout Plain Layout
13783 other
13784 \begin_inset space ~
13785 \end_inset
13786
13787 <
13788 \emph on
13789
13790 \emph default
13791 >
13792 \end_layout
13793
13794 \end_inset
13795
13796 ]
13797 \lang english
13798  
13799 \lang japanese
13800 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
13801 \begin_inset Flex Code
13802 status collapsed
13803
13804 \begin_layout Plain Layout
13805 single
13806 \end_layout
13807
13808 \end_inset
13809
13810
13811 \begin_inset Flex Code
13812 status collapsed
13813
13814 \begin_layout Plain Layout
13815 onehalf
13816 \end_layout
13817
13818 \end_inset
13819
13820
13821 \begin_inset Flex Code
13822 status collapsed
13823
13824 \begin_layout Plain Layout
13825 double
13826 \end_layout
13827
13828 \end_inset
13829
13830 は,それぞれ乗数1・1.25・1.667に対応します.引数
13831 \begin_inset Flex Code
13832 status collapsed
13833
13834 \begin_layout Plain Layout
13835 other
13836 \end_layout
13837
13838 \end_inset
13839
13840 を指定した場合には,実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
13841 \begin_inset Flex Code
13842 status collapsed
13843
13844 \begin_layout Plain Layout
13845 Spacing
13846 \end_layout
13847
13848 \end_inset
13849
13850 は,\SpecialChar LaTeX
13851 パッケージ
13852 \begin_inset Flex Code
13853 status collapsed
13854
13855 \begin_layout Plain Layout
13856 setspace
13857 \end_layout
13858
13859 \end_inset
13860
13861 パッケージを使用した,限定的な\SpecialChar LaTeX
13862 コードを生成することを意味することにご注意ください.
13863 \end_layout
13864
13865 \begin_layout Description
13866 \begin_inset Flex Code
13867 status collapsed
13868
13869 \begin_layout Plain Layout
13870 Spellcheck
13871 \end_layout
13872
13873 \end_inset
13874
13875  [
13876 \begin_inset Flex Code
13877 status collapsed
13878
13879 \begin_layout Plain Layout
13880 0
13881 \end_layout
13882
13883 \end_inset
13884
13885 ,
13886 \begin_inset space \thinspace{}
13887 \end_inset
13888
13889
13890 \begin_inset Flex Code
13891 status collapsed
13892
13893 \begin_layout Plain Layout
13894 1
13895 \end_layout
13896
13897 \end_inset
13898
13899 ] この様式の段落をスペルチェックするか否か.既定値は真です.
13900 \end_layout
13901
13902 \begin_layout Description
13903 \begin_inset Flex Code
13904 status collapsed
13905
13906 \begin_layout Plain Layout
13907 StepMasterCounter
13908 \end_layout
13909
13910 \end_inset
13911
13912  [
13913 \begin_inset Flex Code
13914 status collapsed
13915
13916 \begin_layout Plain Layout
13917
13918 \emph on
13919 0
13920 \end_layout
13921
13922 \end_inset
13923
13924 ,
13925 \begin_inset Flex Code
13926 status collapsed
13927
13928 \begin_layout Plain Layout
13929 1
13930 \end_layout
13931
13932 \end_inset
13933
13934 ] 新しいレイアウト群を開始する際に,このカウンタの親カウンタを進めるか否か.これは,現在のところ,
13935 \begin_inset Flex Code
13936 status collapsed
13937
13938 \begin_layout Plain Layout
13939 LabelType
13940 \end_layout
13941
13942 \end_inset
13943
13944
13945 \begin_inset Flex Code
13946 status collapsed
13947
13948 \begin_layout Plain Layout
13949 Enumerate
13950 \end_layout
13951
13952 \end_inset
13953
13954 の時のみ有効です.
13955 \end_layout
13956
13957 \begin_layout Description
13958 \begin_inset Flex Code
13959 status collapsed
13960
13961 \begin_layout Plain Layout
13962 TextFont
13963 \end_layout
13964
13965 \end_inset
13966
13967  本文に使うフォント.第
13968 \begin_inset CommandInset ref
13969 LatexCommand ref
13970 reference "subsec:フォント指定"
13971
13972 \end_inset
13973
13974 節参照.
13975 \end_layout
13976
13977 \begin_layout Description
13978 \begin_inset Flex Code
13979 status collapsed
13980
13981 \begin_layout Plain Layout
13982 TocLevel
13983 \end_layout
13984
13985 \end_inset
13986
13987  [
13988 \begin_inset Flex Code
13989 status collapsed
13990
13991 \begin_layout Plain Layout
13992 整数型=3
13993 \end_layout
13994
13995 \end_inset
13996
13997 ] 目次中でのこの様式の階層.これは,節見出しの自動連番に使用されます.
13998 \end_layout
13999
14000 \begin_layout Description
14001 \begin_inset Flex Code
14002 status collapsed
14003
14004 \begin_layout Plain Layout
14005 ToggleIndent
14006 \end_layout
14007
14008 \end_inset
14009
14010  [
14011 \emph on
14012
14013 \begin_inset Flex Code
14014 status collapsed
14015
14016 \begin_layout Plain Layout
14017 default
14018 \end_layout
14019
14020 \end_inset
14021
14022
14023 \emph default
14024
14025 \begin_inset Flex Code
14026 status collapsed
14027
14028 \begin_layout Plain Layout
14029 always
14030 \end_layout
14031
14032 \end_inset
14033
14034
14035 \begin_inset Flex Code
14036 status collapsed
14037
14038 \begin_layout Plain Layout
14039 never
14040 \end_layout
14041
14042 \end_inset
14043
14044 ] このタグは,この段落の1行目の行頭下げが,段落設定ダイアログで切り替えられるかどうかを決めます.
14045 \begin_inset Flex Code
14046 status collapsed
14047
14048 \begin_layout Plain Layout
14049 default
14050 \end_layout
14051
14052 \end_inset
14053
14054 が指定されると,文書設定が「行頭下げ」段落様式を使用しているときに,行頭下げを変更することができます.
14055 \begin_inset Flex Code
14056 status collapsed
14057
14058 \begin_layout Plain Layout
14059 always
14060 \end_layout
14061
14062 \end_inset
14063
14064 は,文書設定にかかわらず変更することができ,
14065 \begin_inset Flex Code
14066 status collapsed
14067
14068 \begin_layout Plain Layout
14069 never
14070 \end_layout
14071
14072 \end_inset
14073
14074 は,どのような場合でも変更することができません.
14075 \end_layout
14076
14077 \begin_layout Description
14078 \begin_inset Flex Code
14079 status collapsed
14080
14081 \begin_layout Plain Layout
14082 TopSep
14083 \end_layout
14084
14085 \end_inset
14086
14087  [
14088 \begin_inset Flex Code
14089 status collapsed
14090
14091 \begin_layout Plain Layout
14092 浮動小数点型=0
14093 \end_layout
14094
14095 \end_inset
14096
14097 ] このレイアウトを持つ一連の段落群の最初の段落と,その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,余白は単純に追加されるのではなく,それら
14098 の最大値がとられます.
14099 \end_layout
14100
14101 \begin_layout Subsection
14102 段落様式の国際化
14103 \begin_inset CommandInset label
14104 LatexCommand label
14105 name "subsec:段落様式の国際化"
14106
14107 \end_inset
14108
14109
14110 \end_layout
14111
14112 \begin_layout Standard
14113 \SpecialChar LyX
14114 は,長きにわたってレイアウト情報の国際化をサポートしてきましたが,第2.0版までは,これは操作画面にのみ適用されるものであって,たとえばPDF出力には適用されませ
14115 んでした.たとえば,フランスの著者が,「Theorem 1」の代わりに「
14116 \lang french
14117 Théorème
14118 \lang japanese
14119  1」としたければ,醜いハックに頼るしかありませんでした.Georg Baumのおかげで,これは解消されました.
14120 \end_layout
14121
14122 \begin_layout Standard
14123 もし
14124 \begin_inset Flex MenuItem
14125 status collapsed
14126
14127 \begin_layout Plain Layout
14128 Style
14129 \end_layout
14130
14131 \end_inset
14132
14133 が,組版文書に出力される文字列を定義するのであれば,非英語文書や複数言語文書をサポートするために,
14134 \begin_inset Flex MenuItem
14135 status collapsed
14136
14137 \begin_layout Plain Layout
14138 LangPreamble
14139 \end_layout
14140
14141 \end_inset
14142
14143
14144 \begin_inset Flex MenuItem
14145 status collapsed
14146
14147 \begin_layout Plain Layout
14148 BabelPreamble
14149 \end_layout
14150
14151 \end_inset
14152
14153 を使用することができます.以下の抜粋(
14154 \begin_inset Flex MenuItem
14155 status collapsed
14156
14157 \begin_layout Plain Layout
14158 theorems-ams.inc
14159 \end_layout
14160
14161 \end_inset
14162
14163 より)は,これがどう動作するかを示すものです.
14164 \end_layout
14165
14166 \begin_layout LyX-Code
14167 Preamble
14168 \end_layout
14169
14170 \begin_deeper
14171 \begin_layout LyX-Code
14172   
14173 \backslash
14174 theoremstyle{remark}
14175 \end_layout
14176
14177 \begin_layout LyX-Code
14178   
14179 \backslash
14180 newtheorem{claim}[thm]{
14181 \backslash
14182 protect
14183 \backslash
14184 claimname}
14185 \end_layout
14186
14187 \begin_layout LyX-Code
14188 EndPreamble
14189 \end_layout
14190
14191 \begin_layout LyX-Code
14192 LangPreamble
14193 \end_layout
14194
14195 \begin_layout LyX-Code
14196   
14197 \backslash
14198 providecommand{
14199 \backslash
14200 claimname}{_(Claim)}
14201 \end_layout
14202
14203 \begin_layout LyX-Code
14204 EndLangPreamble
14205 \end_layout
14206
14207 \begin_layout LyX-Code
14208 BabelPreamble
14209 \end_layout
14210
14211 \begin_layout LyX-Code
14212     
14213 \backslash
14214 addto
14215 \backslash
14216 captions$$lang{
14217 \backslash
14218 renewcommand{
14219 \backslash
14220 claimname}{_(Claim)}}
14221 \end_layout
14222
14223 \begin_layout LyX-Code
14224 EndBabelPreamble
14225 \end_layout
14226
14227 \end_deeper
14228 \begin_layout Standard
14229 原則として,
14230 \begin_inset Flex MenuItem
14231 status collapsed
14232
14233 \begin_layout Plain Layout
14234 LangPreamble
14235 \end_layout
14236
14237 \end_inset
14238
14239
14240 \begin_inset Flex MenuItem
14241 status collapsed
14242
14243 \begin_layout Plain Layout
14244 BabelPreamble
14245 \end_layout
14246
14247 \end_inset
14248
14249 タグ内には,有効な\SpecialChar LaTeX
14250 コードはすべて用いることができますが,実際においては,ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるの
14251 は,\SpecialChar LaTeX
14252 コマンド
14253 \begin_inset Flex Code
14254 status collapsed
14255
14256 \begin_layout Plain Layout
14257
14258 \backslash
14259 claimname
14260 \end_layout
14261
14262 \end_inset
14263
14264 とその
14265 \begin_inset Flex Code
14266 status collapsed
14267
14268 \begin_layout Plain Layout
14269
14270 \backslash
14271 newtheorem
14272 \end_layout
14273
14274 \end_inset
14275
14276 中での用い方です.
14277 \end_layout
14278
14279 \begin_layout Standard
14280 \begin_inset Flex Code
14281 status collapsed
14282
14283 \begin_layout Plain Layout
14284 LangPreamble
14285 \end_layout
14286
14287 \end_inset
14288
14289 タグは,文書全体の言語に基づいた国際化を提供します.タグの内容は,
14290 \begin_inset Flex Code
14291 status collapsed
14292
14293 \begin_layout Plain Layout
14294 Preamble
14295 \end_layout
14296
14297 \end_inset
14298
14299 タグと同様,プリアンブルに置かれるのですが,これを特別なものにしているのは,「関数」
14300 \begin_inset Flex Code
14301 status collapsed
14302
14303 \begin_layout Plain Layout
14304 _()
14305 \end_layout
14306
14307 \end_inset
14308
14309 が使用されていることです.これは,\SpecialChar LyX
14310 が\SpecialChar LaTeX
14311 出力を生成する際,その引数を文書言語に翻訳したもので置き換えられます.
14312 \end_layout
14313
14314 \begin_layout Standard
14315 \begin_inset Flex Code
14316 status collapsed
14317
14318 \begin_layout Plain Layout
14319 BabelPreamble
14320 \end_layout
14321
14322 \end_inset
14323
14324 タグは,複数言語文書をサポートし,
14325 \begin_inset Flex Code
14326 status collapsed
14327
14328 \begin_layout Plain Layout
14329 babel
14330 \end_layout
14331
14332 \end_inset
14333
14334 パッケージへのインタフェースを提供することを意図しているので,もう少し複雑です.その内容は,文書に現れる言語それぞれについて一度,プリアンブルに追加されます.こ
14335 の場合には,
14336 \begin_inset Flex Code
14337 status collapsed
14338
14339 \begin_layout Plain Layout
14340 _()
14341 \end_layout
14342
14343 \end_inset
14344
14345 の引数は,その当該言語への翻訳で置き換えられ,
14346 \begin_inset Flex Code
14347 status collapsed
14348
14349 \begin_layout Plain Layout
14350 $$lang
14351 \end_layout
14352
14353 \end_inset
14354
14355 は言語名(babelパッケージで使用されるもの)で置き換えられます.
14356 \end_layout
14357
14358 \begin_layout Standard
14359 したがって,フランス語のセクションを持つドイツ語文書では,以下のような内容がプリアンブルに追加されます
14360 \end_layout
14361
14362 \begin_layout LyX-Code
14363
14364 \backslash
14365 addto
14366 \backslash
14367 captionsfrench{
14368 \backslash
14369 renewcommand{
14370 \backslash
14371 claimname}{Affirmation}}
14372 \begin_inset Newline newline
14373 \end_inset
14374
14375
14376 \backslash
14377 addto
14378 \backslash
14379 captionsngerman{
14380 \backslash
14381 renewcommand{
14382 \backslash
14383 claimname}{Behauptung}}
14384 \begin_inset Newline newline
14385 \end_inset
14386
14387
14388 \backslash
14389 providecommand{
14390 \backslash
14391 claimname}{Behauptung}
14392 \end_layout
14393
14394 \begin_layout Standard
14395 それから,\SpecialChar LaTeX
14396
14397 \begin_inset Flex Code
14398 status collapsed
14399
14400 \begin_layout Plain Layout
14401 babel
14402 \end_layout
14403
14404 \end_inset
14405
14406 は協力して,出力に正しい文字列を生成します.
14407 \end_layout
14408
14409 \begin_layout Standard
14410 ここで注意しておくべき一つの重要な点は,翻訳は,
14411 \begin_inset Flex Code
14412 status collapsed
14413
14414 \begin_layout Plain Layout
14415 layouttranslations
14416 \end_layout
14417
14418 \end_inset
14419
14420 ファイルを通じて,\SpecialChar LyX
14421 自身によって提供されるということです.つまり,ユーザー作成のレイアウトファイルに入力された文字列は,
14422 \begin_inset Flex Code
14423 status collapsed
14424
14425 \begin_layout Plain Layout
14426 layouttranslations
14427 \end_layout
14428
14429 \end_inset
14430
14431 ファイルをそれに応じて変更しない限り,\SpecialChar LyX
14432 の国際化ルーチンでは取り扱われないので,
14433 \begin_inset Flex MenuItem
14434 status collapsed
14435
14436 \begin_layout Plain Layout
14437 LangPreamble
14438 \end_layout
14439
14440 \end_inset
14441
14442
14443 \begin_inset Flex MenuItem
14444 status collapsed
14445
14446 \begin_layout Plain Layout
14447 BabelPreamble
14448 \end_layout
14449
14450 \end_inset
14451
14452 は,事実上,\SpecialChar LyX
14453 とともに提供されるレイアウトファイルでのみ,使うことができるということを意味します.とはいえ,こういうことでありますので,将来的に\SpecialChar LyX
14454 に同梱させようとい
14455 う意図を以て作成されたレイアウトは,適切なところではすべて,これらのタグを使用するべきです.\SpecialChar LyX
14456 が提供する段落様式の翻訳は,マイナー更新(例えば2.1.x版から2.1.y版
14457 )では変更されないことに注意してください.しかしながら,メジャー更新(例えば2.0.x版から2.1.y版)では,新しい翻訳や修正が導入される可能性は大いにあります.
14458 \end_layout
14459
14460 \begin_layout Subsection
14461 フロート
14462 \begin_inset CommandInset label
14463 LatexCommand label
14464 name "subsec:フロート"
14465
14466 \end_inset
14467
14468
14469 \end_layout
14470
14471 \begin_layout Standard
14472 \SpecialChar LyX
14473 第1.3.0版以来,テキストクラス自体の中でフロート(
14474 \begin_inset Flex MenuItem
14475 status collapsed
14476
14477 \begin_layout Plain Layout
14478 figure
14479 \end_layout
14480
14481 \end_inset
14482
14483
14484 \begin_inset Flex MenuItem
14485 status collapsed
14486
14487 \begin_layout Plain Layout
14488 table
14489 \end_layout
14490
14491 \end_inset
14492
14493 ・\SpecialChar ldots
14494 )を定義することが可能となり,かつ必要となりました.標準的なフロートは
14495 \begin_inset Flex Code
14496 status collapsed
14497
14498 \begin_layout Plain Layout
14499 stdfloats.inc
14500 \end_layout
14501
14502 \end_inset
14503
14504 ファイルに含まれているので,作業中のレイアウトファイルに
14505 \end_layout
14506
14507 \begin_layout LyX-Code
14508 Input stdfloats.inc
14509 \end_layout
14510
14511 \begin_layout Standard
14512 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
14513 に同梱されているAGUクラスのように,それ以外のフロート型を提供するテキストクラスを実装するには,以下の情報が役立つであり
14514 ましょう.
14515 \end_layout
14516
14517 \begin_layout Description
14518 \begin_inset Flex Code
14519 status collapsed
14520
14521 \begin_layout Plain Layout
14522 AllowedPlacement
14523 \end_layout
14524
14525 \end_inset
14526
14527  [
14528 \begin_inset Flex Code
14529 status collapsed
14530
14531 \begin_layout Plain Layout
14532 文字列
14533 \end_layout
14534
14535 \end_inset
14536
14537 =!htbpH] このフロート型に許可された配置用の選択肢.値は,配置文字からなる文字列です.使用できる文字には,
14538 \emph on
14539 h
14540 \emph default
14541  (
14542 \begin_inset Quotes eld
14543 \end_inset
14544
14545 here if possible:可能ならば現在位置に
14546 \begin_inset Quotes erd
14547 \end_inset
14548
14549 ), 
14550 \emph on
14551 t
14552 \emph default
14553  (
14554 \begin_inset Quotes eld
14555 \end_inset
14556
14557 top of page:ページ上部
14558 \begin_inset Quotes erd
14559 \end_inset
14560
14561 )・
14562 \emph on
14563 b
14564 \emph default
14565  (
14566 \begin_inset Quotes eld
14567 \end_inset
14568
14569 bottom of page:ページ下部
14570 \begin_inset Quotes erd
14571 \end_inset
14572
14573 )・
14574 \emph on
14575 p
14576 \emph default
14577  (
14578 \begin_inset Quotes eld
14579 \end_inset
14580
14581 page of floats:フロートを独立したページに
14582 \begin_inset Quotes erd
14583 \end_inset
14584
14585 )・
14586 \emph on
14587 H
14588 \emph default
14589  (
14590 \begin_inset Quotes eld
14591 \end_inset
14592
14593 here definitely:何としても現在位置に置く
14594 \begin_inset Quotes erd
14595 \end_inset
14596
14597 )・
14598 \emph on
14599 !
14600 \emph default
14601  (
14602 \begin_inset Quotes eld
14603 \end_inset
14604
14605 ignore LaTeX rules:LaTeXの規則を無視する
14606 \begin_inset Quotes erd
14607 \end_inset
14608
14609 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,文字列として
14610 \emph on
14611 none
14612 \emph default
14613 を与えてください.
14614 \end_layout
14615
14616 \begin_layout Description
14617 \begin_inset Flex Code
14618 status collapsed
14619
14620 \begin_layout Plain Layout
14621 AllowsSideways
14622 \end_layout
14623
14624 \end_inset
14625
14626  [
14627 \begin_inset Flex Code
14628 status collapsed
14629
14630 \begin_layout Plain Layout
14631 0
14632 \end_layout
14633
14634 \end_inset
14635
14636 ,
14637 \begin_inset space \thinspace{}
14638 \end_inset
14639
14640
14641 \emph on
14642
14643 \begin_inset Flex Code
14644 status collapsed
14645
14646 \begin_layout Plain Layout
14647 1
14648 \end_layout
14649
14650 \end_inset
14651
14652
14653 \emph default
14654 ] フロートを,\SpecialChar LaTeX
14655 パッケージの
14656 \family typewriter
14657 rotfloat
14658 \family default
14659  (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
14660 \begin_inset Flex Code
14661 status collapsed
14662
14663 \begin_layout Plain Layout
14664 0
14665 \end_layout
14666
14667 \end_inset
14668
14669 を指定してください.
14670 \end_layout
14671
14672 \begin_layout Description
14673 \begin_inset Flex Code
14674 status collapsed
14675
14676 \begin_layout Plain Layout
14677 AllowsWide
14678 \end_layout
14679
14680 \end_inset
14681
14682  [
14683 \begin_inset Flex Code
14684 status collapsed
14685
14686 \begin_layout Plain Layout
14687 0
14688 \end_layout
14689
14690 \end_inset
14691
14692 ,
14693 \begin_inset space \thinspace{}
14694 \end_inset
14695
14696
14697 \emph on
14698
14699 \begin_inset Flex Code
14700 status collapsed
14701
14702 \begin_layout Plain Layout
14703 1
14704 \end_layout
14705
14706 \end_inset
14707
14708
14709 \emph default
14710 ] このフロートに,二段組段落において段落をまたぐ,星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
14711 \begin_inset Flex Code
14712 status collapsed
14713
14714 \begin_layout Plain Layout
14715 0
14716 \end_layout
14717
14718 \end_inset
14719
14720 を指定してください.
14721 \end_layout
14722
14723 \begin_layout Description
14724 \begin_inset Flex Code
14725 status collapsed
14726
14727 \begin_layout Plain Layout
14728 Extension
14729 \end_layout
14730
14731 \end_inset
14732
14733  [
14734 \begin_inset Flex Code
14735 status collapsed
14736
14737 \begin_layout Plain Layout
14738 文字列
14739 \end_layout
14740
14741 \end_inset
14742
14743 =
14744 \begin_inset Quotes erd
14745 \end_inset
14746
14747
14748 \begin_inset Quotes erd
14749 \end_inset
14750
14751 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
14752 がキャプションを書き込むファイルです.
14753 \end_layout
14754
14755 \begin_layout Description
14756 \begin_inset Flex Code
14757 status collapsed
14758
14759 \begin_layout Plain Layout
14760 GuiName
14761 \end_layout
14762
14763 \end_inset
14764
14765  [
14766 \begin_inset Flex Code
14767 status collapsed
14768
14769 \begin_layout Plain Layout
14770 文字列
14771 \end_layout
14772
14773 \end_inset
14774
14775 =
14776 \begin_inset Quotes erd
14777 \end_inset
14778
14779
14780 \begin_inset Quotes erd
14781 \end_inset
14782
14783 ] メニューとキャプションに使用される文字列.babelが使用される場合には,これは現在の言語に翻訳されます.
14784 \end_layout
14785
14786 \begin_layout Description
14787 \begin_inset Flex Code
14788 status collapsed
14789
14790 \begin_layout Plain Layout
14791 HTML*
14792 \end_layout
14793
14794 \end_inset
14795
14796  これらは,XHTML出力で使用されます.
14797 \begin_inset CommandInset ref
14798 LatexCommand ref
14799 reference "sec:XHTML出力のタグ"
14800
14801 \end_inset
14802
14803 をご覧ください.
14804 \end_layout
14805
14806 \begin_layout Description
14807 \begin_inset Flex Code
14808 status collapsed
14809
14810 \begin_layout Plain Layout
14811 IsPredefined
14812 \end_layout
14813
14814 \end_inset
14815
14816  [
14817 \begin_inset Flex Code
14818 status collapsed
14819
14820 \begin_layout Plain Layout
14821
14822 \emph on
14823 0
14824 \end_layout
14825
14826 \end_inset
14827
14828 ,
14829 \begin_inset space \thinspace{}
14830 \end_inset
14831
14832
14833 \begin_inset Flex Code
14834 status collapsed
14835
14836 \begin_layout Plain Layout
14837 1
14838 \end_layout
14839
14840 \end_inset
14841
14842 ] フロートがドキュメントクラス中に既に定義されているのか,あるいは\SpecialChar LaTeX
14843 パッケージ
14844 \begin_inset Flex Code
14845 status collapsed
14846
14847 \begin_layout Plain Layout
14848 float
14849 \end_layout
14850
14851 \end_inset
14852
14853 を読み込む必要があり,そのファイル内のものを使用して,オン・ザ・フライで定義するかを示します.既定は
14854 \begin_inset Flex Code
14855 status collapsed
14856
14857 \begin_layout Plain Layout
14858 0
14859 \end_layout
14860
14861 \end_inset
14862
14863 で,この場合
14864 \begin_inset Flex Code
14865 status collapsed
14866
14867 \begin_layout Plain Layout
14868 float
14869 \end_layout
14870
14871 \end_inset
14872
14873 を使用します.\SpecialChar LaTeX
14874 ドキュメントクラス中に既に定義されているときには,
14875 \begin_inset Flex Code
14876 status collapsed
14877
14878 \begin_layout Plain Layout
14879 0
14880 \end_layout
14881
14882 \end_inset
14883
14884 に設定しなくてはなりません.
14885 \end_layout
14886
14887 \begin_layout Description
14888 \begin_inset Flex Code
14889 status collapsed
14890
14891 \begin_layout Plain Layout
14892 ListCommand
14893 \end_layout
14894
14895 \end_inset
14896
14897  [
14898 \begin_inset Flex Code
14899 status collapsed
14900
14901 \begin_layout Plain Layout
14902 文字列
14903 \end_layout
14904
14905 \end_inset
14906
14907 =
14908 \begin_inset Quotes erd
14909 \end_inset
14910
14911
14912 \begin_inset Quotes erd
14913 \end_inset
14914
14915 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
14916 \backslash
14917 」は書きません.
14918 \begin_inset Flex Code
14919 status collapsed
14920
14921 \begin_layout Plain Layout
14922 NeedsFloatPkg
14923 \end_layout
14924
14925 \end_inset
14926
14927 が偽の時には,このコマンドを生成する標準的な方法はないので,これは
14928 \emph on
14929 必ず
14930 \emph default
14931 指定しなくてはなりません.
14932 \begin_inset Flex Code
14933 status collapsed
14934
14935 \begin_layout Plain Layout
14936 NeedsFloatPkg
14937 \end_layout
14938
14939 \end_inset
14940
14941 が真の時は,標準的な方法が存在するので,これは無視されます.
14942 \end_layout
14943
14944 \begin_layout Description
14945 \begin_inset Flex Code
14946 status collapsed
14947
14948 \begin_layout Plain Layout
14949 ListName
14950 \end_layout
14951
14952 \end_inset
14953
14954  [
14955 \begin_inset Flex Code
14956 status collapsed
14957
14958 \begin_layout Plain Layout
14959 文字列
14960 \end_layout
14961
14962 \end_inset
14963
14964 =
14965 \begin_inset Quotes erd
14966 \end_inset
14967
14968
14969 \begin_inset Quotes erd
14970 \end_inset
14971
14972 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
14973 中では,これは画面上のラベルとして使用されます.また,見出しとして使用するために,La\SpecialChar TeX
14974 に渡さ
14975 れ,XHTML出力でも見出しとして使用されます.これは,文書言語に翻訳されます.
14976 \end_layout
14977
14978 \begin_layout Description
14979 \begin_inset Flex Code
14980 status collapsed
14981
14982 \begin_layout Plain Layout
14983 NumberWithin
14984 \end_layout
14985
14986 \end_inset
14987
14988  [
14989 \begin_inset Flex Code
14990 status collapsed
14991
14992 \begin_layout Plain Layout
14993 文字列
14994 \end_layout
14995
14996 \end_inset
14997
14998 =
14999 \begin_inset Quotes erd
15000 \end_inset
15001
15002
15003 \begin_inset Quotes erd
15004 \end_inset
15005
15006 ] この(非必須の)引数は,このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
15007 \begin_inset Flex Code
15008 status collapsed
15009
15010 \begin_layout Plain Layout
15011 NumberWithin
15012 \end_layout
15013
15014 \end_inset
15015
15016 が「
15017 \begin_inset Flex Code
15018 status collapsed
15019
15020 \begin_layout Plain Layout
15021 chapter
15022 \end_layout
15023
15024 \end_inset
15025
15026 」に指定されていれば,フロートは章ごとに番号が振り直されます.
15027 \end_layout
15028
15029 \begin_layout Description
15030 \begin_inset Flex Code
15031 status collapsed
15032
15033 \begin_layout Plain Layout
15034 Placement
15035 \end_layout
15036
15037 \end_inset
15038
15039  [
15040 \begin_inset Flex Code
15041 status collapsed
15042
15043 \begin_layout Plain Layout
15044 文字列
15045 \end_layout
15046
15047 \end_inset
15048
15049 =
15050 \begin_inset Quotes erd
15051 \end_inset
15052
15053
15054 \begin_inset Quotes erd
15055 \end_inset
15056
15057 ] このクラスのフロートの既定の配置法.文字列は,標準的な\SpecialChar LaTeX
15058 表記に従い,
15059 \begin_inset Flex Code
15060 status collapsed
15061
15062 \begin_layout Plain Layout
15063 t
15064 \end_layout
15065
15066 \end_inset
15067
15068 ならば上部(top),
15069 \begin_inset Flex Code
15070 status collapsed
15071
15072 \begin_layout Plain Layout
15073 b
15074 \end_layout
15075
15076 \end_inset
15077
15078 ならば下部(bottom),
15079 \begin_inset Flex Code
15080 status collapsed
15081
15082 \begin_layout Plain Layout
15083 p
15084 \end_layout
15085
15086 \end_inset
15087
15088 ならばページ(page),
15089 \begin_inset Flex Code
15090 status collapsed
15091
15092 \begin_layout Plain Layout
15093 h
15094 \end_layout
15095
15096 \end_inset
15097
15098 ならばここ(here)を表します
15099 \begin_inset Foot
15100 status collapsed
15101
15102 \begin_layout Plain Layout
15103 \SpecialChar LaTeX
15104 同様,文字列中でのこれらの文字の順序は関係ありません.
15105 \end_layout
15106
15107 \end_inset
15108
15109 .これらの他に新しい型
15110 \begin_inset Flex Code
15111 status collapsed
15112
15113 \begin_layout Plain Layout
15114 H
15115 \end_layout
15116
15117 \end_inset
15118
15119 があり,これはフロートを「ここ」に置いていいけれども他の場所はだめ,というものなので,本当はフロートにあるものではありません.しかし,
15120 \begin_inset Flex Code
15121 status collapsed
15122
15123 \begin_layout Plain Layout
15124 H
15125 \end_layout
15126
15127 \end_inset
15128
15129 指定子は特別なものであり,その細かい実装上の理由で,組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,代わり
15130 に「
15131 \begin_inset Flex Code
15132 status collapsed
15133
15134 \begin_layout Plain Layout
15135 tbp
15136 \end_layout
15137
15138 \end_inset
15139
15140 」を指定してください.
15141 \end_layout
15142
15143 \begin_layout Description
15144 \begin_inset Flex Code
15145 status collapsed
15146
15147 \begin_layout Plain Layout
15148 RefPrefix
15149 \end_layout
15150
15151 \end_inset
15152
15153  [
15154 \begin_inset Flex Code
15155 status collapsed
15156
15157 \begin_layout Plain Layout
15158 文字列
15159 \end_layout
15160
15161 \end_inset
15162
15163 ] この型のフロートを参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.コピーした様式が設定した
15164 \begin_inset Flex Code
15165 status collapsed
15166
15167 \begin_layout Plain Layout
15168 RefPrefix
15169 \end_layout
15170
15171 \end_inset
15172
15173 は,特別な文字列「OFF」(すべて大文字)を使えば,いつでも削除することができます.
15174 \end_layout
15175
15176 \begin_layout Description
15177 \begin_inset Flex Code
15178 status collapsed
15179
15180 \begin_layout Plain Layout
15181 Style
15182 \end_layout
15183
15184 \end_inset
15185
15186  [
15187 \begin_inset Flex Code
15188 status collapsed
15189
15190 \begin_layout Plain Layout
15191 文字列
15192 \end_layout
15193
15194 \end_inset
15195
15196 =
15197 \begin_inset Quotes erd
15198 \end_inset
15199
15200
15201 \begin_inset Quotes erd
15202 \end_inset
15203
15204
15205 \begin_inset Flex Code
15206 status collapsed
15207
15208 \begin_layout Plain Layout
15209
15210 \backslash
15211 newfloat
15212 \end_layout
15213
15214 \end_inset
15215
15216 を使用してフロートを定義する際に使用される様式.
15217 \end_layout
15218
15219 \begin_layout Description
15220 \begin_inset Flex Code
15221 status collapsed
15222
15223 \begin_layout Plain Layout
15224 Type
15225 \end_layout
15226
15227 \end_inset
15228
15229  [
15230 \begin_inset Flex Code
15231 status collapsed
15232
15233 \begin_layout Plain Layout
15234 文字列
15235 \end_layout
15236
15237 \end_inset
15238
15239 =
15240 \begin_inset Quotes erd
15241 \end_inset
15242
15243
15244 \begin_inset Quotes erd
15245 \end_inset
15246
15247 ] プログラムやアルゴリズムのような,フロートの新しいクラス「型」.適切な
15248 \begin_inset Flex Code
15249 status collapsed
15250
15251 \begin_layout Plain Layout
15252
15253 \backslash
15254 newfloat
15255 \end_layout
15256
15257 \end_inset
15258
15259 の後で,
15260 \begin_inset Flex Code
15261 status collapsed
15262
15263 \begin_layout Plain Layout
15264
15265 \backslash
15266 begin{program}
15267 \end_layout
15268
15269 \end_inset
15270
15271
15272 \begin_inset Flex Code
15273 status collapsed
15274
15275 \begin_layout Plain Layout
15276
15277 \backslash
15278 end{algorithm*}
15279 \end_layout
15280
15281 \end_inset
15282
15283 といったコマンドが利用できます.
15284 \end_layout
15285
15286 \begin_layout Description
15287 \begin_inset Flex Code
15288 status collapsed
15289
15290 \begin_layout Plain Layout
15291 UsesFloatPkg
15292 \end_layout
15293
15294 \end_inset
15295
15296  [
15297 \begin_inset Flex Code
15298 status collapsed
15299
15300 \begin_layout Plain Layout
15301 0
15302 \end_layout
15303
15304 \end_inset
15305
15306 ,
15307 \begin_inset space \thinspace{}
15308 \end_inset
15309
15310
15311 \begin_inset Flex Code
15312 status collapsed
15313
15314 \begin_layout Plain Layout
15315
15316 \emph on
15317 1
15318 \end_layout
15319
15320 \end_inset
15321
15322 ] このフロートが,クラスファイルやパッケージ中で,\SpecialChar LaTeX
15323 パッケージ
15324 \begin_inset Flex Code
15325 status collapsed
15326
15327 \begin_layout Plain Layout
15328 float
15329 \end_layout
15330
15331 \end_inset
15332
15333 が提供しているものを使用して定義されているのか,\SpecialChar LyX
15334 自身がオン・ザ・フライで定義しているのかを示します.
15335 \end_layout
15336
15337 \begin_layout Standard
15338 \begin_inset Flex Code
15339 status collapsed
15340
15341 \begin_layout Plain Layout
15342
15343 \emph on
15344 type
15345 \end_layout
15346
15347 \end_inset
15348
15349 型のフロートを定義すると,自動的に
15350 \emph on
15351 対応する
15352 \emph default
15353
15354 \begin_inset Flex Code
15355 status collapsed
15356
15357 \begin_layout Plain Layout
15358
15359 \emph on
15360 type
15361 \end_layout
15362
15363 \end_inset
15364
15365 名カウンタが定義されます.
15366 \end_layout
15367
15368 \begin_layout Subsection
15369 自由差込枠と差込枠レイアウト
15370 \begin_inset CommandInset label
15371 LatexCommand label
15372 name "subsec:任意設定差込枠"
15373
15374 \end_inset
15375
15376
15377 \end_layout
15378
15379 \begin_layout Standard
15380 自由差込枠には次の3種類があります.
15381 \end_layout
15382
15383 \begin_layout Itemize
15384 文字様式(
15385 \begin_inset Flex Code
15386 status collapsed
15387
15388 \begin_layout Plain Layout
15389 CharStyle
15390 \end_layout
15391
15392 \end_inset
15393
15394 ).これは,
15395 \begin_inset Flex Code
15396 status collapsed
15397
15398 \begin_layout Plain Layout
15399
15400 \backslash
15401 noun
15402 \end_layout
15403
15404 \end_inset
15405
15406
15407 \begin_inset Flex Code
15408 status collapsed
15409
15410 \begin_layout Plain Layout
15411
15412 \backslash
15413 code
15414 \end_layout
15415
15416 \end_inset
15417
15418 などの\SpecialChar LaTeX
15419 コマンドに対応した意味論的マークアップを定義するものです.
15420 \end_layout
15421
15422 \begin_layout Itemize
15423 ユーザ設定(
15424 \begin_inset Flex Code
15425 status collapsed
15426
15427 \begin_layout Plain Layout
15428 Custom
15429 \end_layout
15430
15431 \end_inset
15432
15433 ).これは,\SpecialChar TeX
15434 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,これは
15435 \begin_inset Flex Code
15436 status collapsed
15437
15438 \begin_layout Plain Layout
15439 endnote
15440 \end_layout
15441
15442 \end_inset
15443
15444 モジュール中で定義されています.
15445 \end_layout
15446
15447 \begin_layout Itemize
15448 XML要素(
15449 \begin_inset Flex Code
15450 status collapsed
15451
15452 \begin_layout Plain Layout
15453 Element
15454 \end_layout
15455
15456 \end_inset
15457
15458 ).DocBookクラスで使用するものです.
15459 \end_layout
15460
15461 \begin_layout Standard
15462 自由差込枠は,以下で説明する
15463 \begin_inset Flex Code
15464 status collapsed
15465
15466 \begin_layout Plain Layout
15467 InsetLayout
15468 \end_layout
15469
15470 \end_inset
15471
15472 タグを使用して定義されます.
15473 \end_layout
15474
15475 \begin_layout Standard
15476 \begin_inset Flex Code
15477 status collapsed
15478
15479 \begin_layout Plain Layout
15480 InsetLayout
15481 \end_layout
15482
15483 \end_inset
15484
15485 タグは,もう一つ別の機能も提供します.これを使えば,いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
15486 \begin_inset Flex Code
15487 status collapsed
15488
15489 \begin_layout Plain Layout
15490 InsetLayout
15491 \end_layout
15492
15493 \end_inset
15494
15495 は自由差込枠を定義することの他に,脚註・傍註・註釈差込枠・\SpecialChar TeX
15496 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザ
15497 ー定義するのに使用されます.
15498 \end_layout
15499
15500 \begin_layout Standard
15501 \begin_inset Flex Code
15502 status collapsed
15503
15504 \begin_layout Plain Layout
15505 InsetLayout
15506 \end_layout
15507
15508 \end_inset
15509
15510 定義は以下の形の行では始まらなくてはなりません.
15511 \end_layout
15512
15513 \begin_layout LyX-Code
15514 InsetLayout <型>
15515 \end_layout
15516
15517 \begin_layout Standard
15518 ここで
15519 \begin_inset Flex Code
15520 status collapsed
15521
15522 \begin_layout Plain Layout
15523 <型>
15524 \end_layout
15525
15526 \end_inset
15527
15528 は,レイアウトを定義しようとしている差込枠を指し,4つの場合があります.
15529 \end_layout
15530
15531 \begin_layout Enumerate
15532 既存の差込枠のレイアウトを変更する場合.この場合,
15533 \begin_inset Flex Code
15534 status collapsed
15535
15536 \begin_layout Plain Layout
15537 <型>
15538 \end_layout
15539
15540 \end_inset
15541
15542 は以下のいずれかになります:
15543 \begin_inset Flex Code
15544 status collapsed
15545
15546 \begin_layout Plain Layout
15547 Algorithm
15548 \end_layout
15549
15550 \end_inset
15551
15552
15553 \begin_inset Flex Code
15554 status collapsed
15555
15556 \begin_layout Plain Layout
15557 Branch
15558 \end_layout
15559
15560 \end_inset
15561
15562
15563 \begin_inset Flex Code
15564 status collapsed
15565
15566 \begin_layout Plain Layout
15567 Box
15568 \end_layout
15569
15570 \end_inset
15571
15572
15573 \begin_inset Flex Code
15574 status collapsed
15575
15576 \begin_layout Plain Layout
15577 Box:shaded
15578 \end_layout
15579
15580 \end_inset
15581
15582
15583 \begin_inset Flex Code
15584 status collapsed
15585
15586 \begin_layout Plain Layout
15587 Caption:Standard
15588 \end_layout
15589
15590 \end_inset
15591
15592
15593 \begin_inset Flex Code
15594 status collapsed
15595
15596 \begin_layout Plain Layout
15597 ERT
15598 \end_layout
15599
15600 \end_inset
15601
15602
15603 \begin_inset Flex Code
15604 status collapsed
15605
15606 \begin_layout Plain Layout
15607 Figure
15608 \end_layout
15609
15610 \end_inset
15611
15612
15613 \begin_inset Flex Code
15614 status collapsed
15615
15616 \begin_layout Plain Layout
15617 Foot
15618 \end_layout
15619
15620 \end_inset
15621
15622
15623 \begin_inset Flex Code
15624 status collapsed
15625
15626 \begin_layout Plain Layout
15627 Index
15628 \end_layout
15629
15630 \end_inset
15631
15632
15633 \begin_inset Flex Code
15634 status collapsed
15635
15636 \begin_layout Plain Layout
15637 Info
15638 \end_layout
15639
15640 \end_inset
15641
15642
15643 \begin_inset Flex Code
15644 status collapsed
15645
15646 \begin_layout Plain Layout
15647 Info:menu
15648 \end_layout
15649
15650 \end_inset
15651
15652
15653 \begin_inset Flex Code
15654 status collapsed
15655
15656 \begin_layout Plain Layout
15657 Info:shortcut
15658 \end_layout
15659
15660 \end_inset
15661
15662
15663 \begin_inset Flex Code
15664 status collapsed
15665
15666 \begin_layout Plain Layout
15667 Info:shortcuts
15668 \end_layout
15669
15670 \end_inset
15671
15672
15673 \begin_inset Flex Code
15674 status collapsed
15675
15676 \begin_layout Plain Layout
15677 Listings
15678 \end_layout
15679
15680 \end_inset
15681
15682
15683 \begin_inset Flex Code
15684 status collapsed
15685
15686 \begin_layout Plain Layout
15687 Marginal
15688 \end_layout
15689
15690 \end_inset
15691
15692
15693 \begin_inset Flex Code
15694 status collapsed
15695
15696 \begin_layout Plain Layout
15697 Note:Comment
15698 \end_layout
15699
15700 \end_inset
15701
15702
15703 \begin_inset Flex Code
15704 status collapsed
15705
15706 \begin_layout Plain Layout
15707 Note:Note
15708 \end_layout
15709
15710 \end_inset
15711
15712
15713 \begin_inset Flex Code
15714 status collapsed
15715
15716 \begin_layout Plain Layout
15717 Note:GreyedOut
15718 \end_layout
15719
15720 \end_inset
15721
15722
15723 \begin_inset Flex Code
15724 status collapsed
15725
15726 \begin_layout Plain Layout
15727 Table
15728 \end_layout
15729
15730 \end_inset
15731
15732
15733 \begin_inset Flex Code
15734 status collapsed
15735
15736 \begin_layout Plain Layout
15737 URL
15738 \end_layout
15739
15740 \end_inset
15741
15742
15743 \end_layout
15744
15745 \begin_layout Enumerate
15746 自由差込枠のレイアウトを定義する場合.この場合,
15747 \begin_inset Flex Code
15748 status collapsed
15749
15750 \begin_layout Plain Layout
15751 <型>
15752 \end_layout
15753
15754 \end_inset
15755
15756
15757 \begin_inset Flex Code
15758 status collapsed
15759
15760 \begin_layout Plain Layout
15761 Flex:<名称>
15762 \end_layout
15763
15764 \end_inset
15765
15766 の形でなくてはなりません.ここで,
15767 \begin_inset Flex Code
15768 status collapsed
15769
15770 \begin_layout Plain Layout
15771 名称
15772 \end_layout
15773
15774 \end_inset
15775
15776 は,既存の自由差込枠で使用されていない有効な識別子であれば,何でも構いません.識別子には空白を入れることもできますが,この場合には全体を引用符で囲まなくてはなり
15777 ません.自由差込枠の定義には,この定義がどの差込枠型なのか宣言するために,
15778 \begin_inset Flex Code
15779 status collapsed
15780
15781 \begin_layout Plain Layout
15782 LyXType
15783 \end_layout
15784
15785 \end_inset
15786
15787 項目が含まれていなくてはならないことに注意してください.
15788 \end_layout
15789
15790 \begin_layout Enumerate
15791 ユーザー定義派生枝を定義する場合.この場合,
15792 \begin_inset Flex Code
15793 status collapsed
15794
15795 \begin_layout Plain Layout
15796 <型>
15797 \end_layout
15798
15799 \end_inset
15800
15801 は「
15802 \begin_inset Flex Code
15803 status collapsed
15804
15805 \begin_layout Plain Layout
15806 Branch:<名称>
15807 \end_layout
15808
15809 \end_inset
15810
15811 」の形でなくてはなりません.ここで,
15812 \begin_inset Flex Code
15813 status collapsed
15814
15815 \begin_layout Plain Layout
15816 名称
15817 \end_layout
15818
15819 \end_inset
15820
15821 は,ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主
15822 な目的は,ユーザーの必要に応じて,特定の派生枝を\SpecialChar LaTeX
15823 がくるむことができるようにすることです.
15824 \end_layout
15825
15826 \begin_layout Enumerate
15827 ユーザー(またはクラス)定義のキャプションを定義する場合.この場合,
15828 \begin_inset Flex Code
15829 status collapsed
15830
15831 \begin_layout Plain Layout
15832 <型>
15833 \end_layout
15834
15835 \end_inset
15836
15837 は「
15838 \begin_inset Flex Code
15839 status collapsed
15840
15841 \begin_layout Plain Layout
15842 Caption:<名称>
15843 \end_layout
15844
15845 \end_inset
15846
15847 」の形でなくてはなりません.ここで,
15848 \begin_inset Flex Code
15849 status collapsed
15850
15851 \begin_layout Plain Layout
15852 名称
15853 \end_layout
15854
15855 \end_inset
15856
15857 は,メニューに表示されるキャプション名です.応用例については,標準キャプション(
15858 \begin_inset Flex Code
15859 status collapsed
15860
15861 \begin_layout Plain Layout
15862 Caption:Standard
15863 \end_layout
15864
15865 \end_inset
15866
15867 ),若しくはKOMA-Scriptクラスのクラス定義キャプション(
15868 \begin_inset Flex Code
15869 status collapsed
15870
15871 \begin_layout Plain Layout
15872 Caption:Above
15873 \end_layout
15874
15875 \end_inset
15876
15877
15878 \begin_inset Flex Code
15879 status collapsed
15880
15881 \begin_layout Plain Layout
15882 Caption:Below
15883 \end_layout
15884
15885 \end_inset
15886
15887 ),
15888 \family sans
15889 多言語キャプション
15890 \family default
15891 モジュール(
15892 \begin_inset Flex Code
15893 status collapsed
15894
15895 \begin_layout Plain Layout
15896 Caption:\SpecialChar allowbreak
15897 Bicaption
15898 \end_layout
15899
15900 \end_inset
15901
15902 )をご覧ください.
15903 \end_layout
15904
15905 \begin_layout Standard
15906 \begin_inset Flex Code
15907 status collapsed
15908
15909 \begin_layout Plain Layout
15910 InsetLayout
15911 \end_layout
15912
15913 \end_inset
15914
15915 定義には以下の項目を入れることができます.
15916 \end_layout
15917
15918 \begin_layout Description
15919 \begin_inset Flex Code
15920 status collapsed
15921
15922 \begin_layout Plain Layout
15923 AddToToc
15924 \end_layout
15925
15926 \end_inset
15927
15928  [
15929 \begin_inset Flex Code
15930 status collapsed
15931
15932 \begin_layout Plain Layout
15933 文字列
15934 \end_layout
15935
15936 \end_inset
15937
15938 =""] この差込枠は,この型の一覧表に表示されます.空の文字列を入れると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドも参
15939 照してください.これは,自由差込枠にのみ実装されています.既定値:無効.
15940 \end_layout
15941
15942 \begin_layout Description
15943 \begin_inset Flex Code
15944 status collapsed
15945
15946 \begin_layout Plain Layout
15947 Argument
15948 \end_layout
15949
15950 \end_inset
15951
15952  [
15953 \begin_inset Flex Code
15954 status collapsed
15955
15956 \begin_layout Plain Layout
15957 整数
15958 \end_layout
15959
15960 \end_inset
15961
15962 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引数番号を定義します.定義は
15963 \begin_inset Flex Code
15964 status collapsed
15965
15966 \begin_layout Plain Layout
15967 EndArgument
15968 \end_layout
15969
15970 \end_inset
15971
15972 で閉じなくてはなりません.詳細は第
15973 \begin_inset CommandInset ref
15974 LatexCommand ref
15975 reference "subsec:段落様式"
15976
15977 \end_inset
15978
15979 節参照.
15980 \end_layout
15981
15982 \begin_layout Description
15983 \begin_inset Flex Code
15984 status collapsed
15985
15986 \begin_layout Plain Layout
15987 BabelPreamble
15988 \end_layout
15989
15990 \end_inset
15991
15992  言語コマンドを変更するプリアンブル.第
15993 \begin_inset CommandInset ref
15994 LatexCommand ref
15995 reference "subsec:段落様式の国際化"
15996
15997 \end_inset
15998
15999 節参照.
16000 \end_layout
16001
16002 \begin_layout Description
16003 \begin_inset Flex Code
16004 status collapsed
16005
16006 \begin_layout Plain Layout
16007 BgColor
16008 \end_layout
16009
16010 \end_inset
16011
16012  [
16013 \begin_inset Flex Code
16014 status collapsed
16015
16016 \begin_layout Plain Layout
16017 <名称>
16018 \end_layout
16019
16020 \end_inset
16021
16022 ] 差込枠の背景色.使用できる色名一覧は第
16023 \begin_inset CommandInset ref
16024 LatexCommand ref
16025 reference "chap:色名"
16026
16027 \end_inset
16028
16029 節参照.
16030 \end_layout
16031
16032 \begin_layout Description
16033 \begin_inset Flex Code
16034 status collapsed
16035
16036 \begin_layout Plain Layout
16037 ContentAsLabel
16038 \end_layout
16039
16040 \end_inset
16041
16042  [
16043 \begin_inset Flex Code
16044 status collapsed
16045
16046 \begin_layout Plain Layout
16047
16048 \emph on
16049 0
16050 \end_layout
16051
16052 \end_inset
16053
16054 ,
16055 \begin_inset space \thinspace{}
16056 \end_inset
16057
16058
16059 \begin_inset Flex Code
16060 status collapsed
16061
16062 \begin_layout Plain Layout
16063 1
16064 \end_layout
16065
16066 \end_inset
16067
16068 ] 差込枠を閉じた際,差込枠の内容をラベルとして使用するか否か.既定値は偽です.
16069 \end_layout
16070
16071 \begin_layout Description
16072 \begin_inset Flex Code
16073 status collapsed
16074
16075 \begin_layout Plain Layout
16076 CopyStyle
16077 \end_layout
16078
16079 \end_inset
16080
16081  [<型>] 段落様式と同様です.第
16082 \begin_inset CommandInset ref
16083 LatexCommand ref
16084 reference "subsec:段落様式"
16085
16086 \end_inset
16087
16088 節参照のこと.完全な型を指定する必要があることに注意してください.例:
16089 \begin_inset Flex Code
16090 status collapsed
16091
16092 \begin_layout Plain Layout
16093 CopyStyle Flex:<名称>
16094 \end_layout
16095
16096 \end_inset
16097
16098
16099 \end_layout
16100
16101 \begin_layout Description
16102 \begin_inset Flex Code
16103 status collapsed
16104
16105 \begin_layout Plain Layout
16106 CustomPars
16107 \end_layout
16108
16109 \end_inset
16110
16111  [
16112 \begin_inset Flex Code
16113 status collapsed
16114
16115 \begin_layout Plain Layout
16116
16117 \emph on
16118 0
16119 \end_layout
16120
16121 \end_inset
16122
16123 ,
16124 \begin_inset space \thinspace{}
16125 \end_inset
16126
16127
16128 \begin_inset Flex Code
16129 status collapsed
16130
16131 \begin_layout Plain Layout
16132 1
16133 \end_layout
16134
16135 \end_inset
16136
16137 ] 段落を設定するのに,段落設定ダイアログをユーザが使えるかどうかを指定します.
16138 \end_layout
16139
16140 \begin_layout Description
16141 \begin_inset Flex Code
16142 status collapsed
16143
16144 \begin_layout Plain Layout
16145 Decoration
16146 \end_layout
16147
16148 \end_inset
16149
16150  差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
16151 \begin_inset Flex Code
16152 status collapsed
16153
16154 \begin_layout Plain Layout
16155 Classic
16156 \end_layout
16157
16158 \end_inset
16159
16160
16161 \begin_inset Flex Code
16162 status collapsed
16163
16164 \begin_layout Plain Layout
16165 Minimalistic
16166 \end_layout
16167
16168 \end_inset
16169
16170
16171 \begin_inset Flex Code
16172 status collapsed
16173
16174 \begin_layout Plain Layout
16175 Conglomerate
16176 \end_layout
16177
16178 \end_inset
16179
16180 のいずれかを指定することができます.脚註は通常
16181 \begin_inset Flex Code
16182 status collapsed
16183
16184 \begin_layout Plain Layout
16185 Classic
16186 \end_layout
16187
16188 \end_inset
16189
16190 を使用し,\SpecialChar TeX
16191 コード差込枠は通常
16192 \begin_inset Flex Code
16193 status collapsed
16194
16195 \begin_layout Plain Layout
16196 Minimalistic
16197 \end_layout
16198
16199 \end_inset
16200
16201 ,文字様式は
16202 \begin_inset Flex Code
16203 status collapsed
16204
16205 \begin_layout Plain Layout
16206 Conglomerate
16207 \end_layout
16208
16209 \end_inset
16210
16211 を使用します.
16212 \end_layout
16213
16214 \begin_layout Description
16215 \begin_inset Flex Code
16216 status collapsed
16217
16218 \begin_layout Plain Layout
16219 Display
16220 \end_layout
16221
16222 \end_inset
16223
16224  [
16225 \begin_inset Flex Code
16226 status collapsed
16227
16228 \begin_layout Plain Layout
16229 0
16230 \end_layout
16231
16232 \end_inset
16233
16234 ,
16235 \begin_inset space \thinspace{}
16236 \end_inset
16237
16238
16239 \begin_inset Flex Code
16240 status collapsed
16241
16242 \begin_layout Plain Layout
16243
16244 \emph on
16245 1
16246 \end_layout
16247
16248 \end_inset
16249
16250
16251 \begin_inset Flex Code
16252 status collapsed
16253
16254 \begin_layout Plain Layout
16255 LatexType
16256 \end_layout
16257
16258 \end_inset
16259
16260
16261 \begin_inset Flex Code
16262 status collapsed
16263
16264 \begin_layout Plain Layout
16265 Environment
16266 \end_layout
16267
16268 \end_inset
16269
16270 の時のみ意味をもちます.環境を,出力中で独立して出力させるか,周囲のテキストとインラインで出力させるかを示します.偽にすると,\SpecialChar LaTeX
16271 環境は,
16272 \begin_inset Flex Code
16273 status collapsed
16274
16275 \begin_layout Plain Layout
16276
16277 \backslash
16278 begin{LatexName}
16279 \end_layout
16280
16281 \end_inset
16282
16283 タグと
16284 \begin_inset Flex Code
16285 status collapsed
16286
16287 \begin_layout Plain Layout
16288
16289 \backslash
16290 end{LatexName}
16291 \end_layout
16292
16293 \end_inset
16294
16295 タグの後の空白(改行文字を含む)を無視するものと仮定します.
16296 \end_layout
16297
16298 \begin_layout Description
16299 \begin_inset Flex Code
16300 status collapsed
16301
16302 \begin_layout Plain Layout
16303 End
16304 \end_layout
16305
16306 \end_inset
16307
16308  
16309 \begin_inset Flex Code
16310 status collapsed
16311
16312 \begin_layout Plain Layout
16313 InsetLayout
16314 \end_layout
16315
16316 \end_inset
16317
16318 宣言を閉じるのに必要です.
16319 \end_layout
16320
16321 \begin_layout Description
16322 \begin_inset Flex Code
16323 status collapsed
16324
16325 \begin_layout Plain Layout
16326 Font
16327 \end_layout
16328
16329 \end_inset
16330
16331  本文本体とラベル
16332 \emph on
16333 両方に
16334 \emph default
16335 使用されるフォントです.第
16336 \begin_inset CommandInset ref
16337 LatexCommand ref
16338 reference "subsec:フォント指定"
16339
16340 \end_inset
16341
16342 節を参照.このフォントを定義すると自動的に
16343 \begin_inset Flex Code
16344 status collapsed
16345
16346 \begin_layout Plain Layout
16347 LabelFont
16348 \end_layout
16349
16350 \end_inset
16351
16352 も同じ値に定義されるので,これらを別々の値にしたいときは,これを先に定義してから後に
16353 \begin_inset Flex Code
16354 status collapsed
16355
16356 \begin_layout Plain Layout
16357 LabelFont
16358 \end_layout
16359
16360 \end_inset
16361
16362 を定義しなくてはならないことに注意してください.
16363 \end_layout
16364
16365 \begin_layout Description
16366 \begin_inset Flex Code
16367 status collapsed
16368
16369 \begin_layout Plain Layout
16370 FixedWidthPreambleEncoding
16371 \end_layout
16372
16373 \end_inset
16374
16375  [
16376 \begin_inset Flex Code
16377 status collapsed
16378
16379 \begin_layout Plain Layout
16380
16381 \emph on
16382 0
16383 \end_layout
16384
16385 \end_inset
16386
16387 ,
16388 \begin_inset space \thinspace{}
16389 \end_inset
16390
16391
16392 \begin_inset Flex Code
16393 status collapsed
16394
16395 \begin_layout Plain Layout
16396 1
16397 \end_layout
16398
16399 \end_inset
16400
16401 ] このレイアウトによって生成される
16402 \begin_inset Flex Code
16403 status collapsed
16404
16405 \begin_layout Plain Layout
16406 BabelPreamble
16407 \end_layout
16408
16409 \end_inset
16410
16411 および
16412 \begin_inset Flex Code
16413 status collapsed
16414
16415 \begin_layout Plain Layout
16416 LangPreamble
16417 \end_layout
16418
16419 \end_inset
16420
16421 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
16422 \family typewriter
16423 listings
16424 \family default
16425 のように,
16426 \family sans
16427 utf8
16428 \family default
16429 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
16430 パッケージのために必要です.この設定は,Xe\SpecialChar TeX
16431 やLua\SpecialChar TeX
16432 のようなUnicodeを完全に解する\SpecialChar LaTeX
16433 バックエンドを使用してい
16434 る場合には,無視されます.
16435 \end_layout
16436
16437 \begin_layout Description
16438 \begin_inset Flex Code
16439 status collapsed
16440
16441 \begin_layout Plain Layout
16442 ForceLocalFontSwitch
16443 \end_layout
16444
16445 \end_inset
16446
16447  [
16448 \begin_inset Flex Code
16449 status collapsed
16450
16451 \begin_layout Plain Layout
16452
16453 \emph on
16454 0
16455 \end_layout
16456
16457 \end_inset
16458
16459 ,
16460 \begin_inset space \thinspace{}
16461 \end_inset
16462
16463
16464 \begin_inset Flex Code
16465 status collapsed
16466
16467 \begin_layout Plain Layout
16468 1
16469 \end_layout
16470
16471 \end_inset
16472
16473 ] babel使用時に,常にローカルフォント切替(
16474 \begin_inset Flex Code
16475 status collapsed
16476
16477 \begin_layout Plain Layout
16478
16479 \backslash
16480 foreignlanguage
16481 \end_layout
16482
16483 \end_inset
16484
16485 )を使い,グローバル切替(
16486 \begin_inset Flex Code
16487 status collapsed
16488
16489 \begin_layout Plain Layout
16490
16491 \backslash
16492 selectlanguage
16493 \end_layout
16494
16495 \end_inset
16496
16497 など)は使わない.
16498 \end_layout
16499
16500 \begin_layout Description
16501 \begin_inset Flex Code
16502 status collapsed
16503
16504 \begin_layout Plain Layout
16505 ForceLTR
16506 \end_layout
16507
16508 \end_inset
16509
16510  [
16511 \begin_inset Flex Code
16512 status collapsed
16513
16514 \begin_layout Plain Layout
16515
16516 \emph on
16517 0
16518 \end_layout
16519
16520 \end_inset
16521
16522 ,
16523 \begin_inset space \thinspace{}
16524 \end_inset
16525
16526
16527 \begin_inset Flex Code
16528 status collapsed
16529
16530 \begin_layout Plain Layout
16531 1
16532 \end_layout
16533
16534 \end_inset
16535
16536 ] たとえば\SpecialChar TeX
16537 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
16538 \end_layout
16539
16540 \begin_layout Description
16541 \begin_inset Flex Code
16542 status collapsed
16543
16544 \begin_layout Plain Layout
16545 ForceOwnlines
16546 \end_layout
16547
16548 \end_inset
16549
16550  [
16551 \begin_inset Flex Code
16552 status collapsed
16553
16554 \begin_layout Plain Layout
16555
16556 \emph on
16557 0
16558 \end_layout
16559
16560 \end_inset
16561
16562 ,
16563 \begin_inset space \thinspace{}
16564 \end_inset
16565
16566
16567 \begin_inset Flex Code
16568 status collapsed
16569
16570 \begin_layout Plain Layout
16571 1
16572 \end_layout
16573
16574 \end_inset
16575
16576 ] \SpecialChar LaTeX
16577 出力において,この差込枠が開始する前と終了する後に,改行を強制します.これは,解析上の目的のために,差込枠が単独行に出力されるように保証します.
16578 \end_layout
16579
16580 \begin_layout Description
16581 \begin_inset Flex Code
16582 status collapsed
16583
16584 \begin_layout Plain Layout
16585 ForcePlain
16586 \end_layout
16587
16588 \end_inset
16589
16590  [
16591 \begin_inset Flex Code
16592 status collapsed
16593
16594 \begin_layout Plain Layout
16595
16596 \emph on
16597 0
16598 \end_layout
16599
16600 \end_inset
16601
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 ] PlainLayoutを使用するべきなのか,それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
16617 \end_layout
16618
16619 \begin_layout Description
16620 \begin_inset Flex Code
16621 status collapsed
16622
16623 \begin_layout Plain Layout
16624 FreeSpacing
16625 \end_layout
16626
16627 \end_inset
16628
16629  [
16630 \emph on
16631
16632 \begin_inset Flex Code
16633 status collapsed
16634
16635 \begin_layout Plain Layout
16636 0
16637 \end_layout
16638
16639 \end_inset
16640
16641
16642 \emph default
16643 ,
16644 \begin_inset space \thinspace{}
16645 \end_inset
16646
16647
16648 \begin_inset Flex Code
16649 status collapsed
16650
16651 \begin_layout Plain Layout
16652 1
16653 \end_layout
16654
16655 \end_inset
16656
16657 ] 段落様式と同様.第
16658 \begin_inset CommandInset ref
16659 LatexCommand ref
16660 reference "subsec:段落様式"
16661
16662 \end_inset
16663
16664 節参照.
16665 \end_layout
16666
16667 \begin_layout Description
16668 \begin_inset Flex Code
16669 status collapsed
16670
16671 \begin_layout Plain Layout
16672 HTML*
16673 \end_layout
16674
16675 \end_inset
16676
16677  これらは,XHTML出力で使用されます.第
16678 \begin_inset CommandInset ref
16679 LatexCommand ref
16680 reference "sec:XHTML出力のタグ"
16681
16682 \end_inset
16683
16684 節をご覧ください.
16685 \end_layout
16686
16687 \begin_layout Description
16688 \begin_inset Flex Code
16689 status collapsed
16690
16691 \begin_layout Plain Layout
16692 InToc
16693 \end_layout
16694
16695 \end_inset
16696
16697  [
16698 \begin_inset Flex Code
16699 status collapsed
16700
16701 \begin_layout Plain Layout
16702
16703 \emph on
16704 0
16705 \end_layout
16706
16707 \end_inset
16708
16709 ,
16710 \begin_inset space \thinspace{}
16711 \end_inset
16712
16713
16714 \begin_inset Flex Code
16715 status collapsed
16716
16717 \begin_layout Plain Layout
16718 1
16719 \end_layout
16720
16721 \end_inset
16722
16723 ] AddToTocの設定に関わらず,「文書構造」面用に出力される文字列に,この差込枠の内容を含めるかどうか.たとえば,節見出しの脚註の内容が,文書構造の目次に
16724 表示されることは望まないでしょうが,通常,文字様式の内容は表示されることを望むでしょう.既定値は偽,すなわち含めません.
16725 \end_layout
16726
16727 \begin_layout Description
16728 \begin_inset Flex Code
16729 status collapsed
16730
16731 \begin_layout Plain Layout
16732 IsTocCaption
16733 \end_layout
16734
16735 \end_inset
16736
16737  [
16738 \begin_inset Flex Code
16739 status collapsed
16740
16741 \begin_layout Plain Layout
16742
16743 \emph on
16744 0
16745 \end_layout
16746
16747 \end_inset
16748
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 ] AddToTocが有効なときに,これが1に設定されていると,差込枠の内容の要約が,目次項目に表示されます.0の場合は,ラベルのみが表示されます.
16764 \end_layout
16765
16766 \begin_layout Description
16767 \begin_inset Flex Code
16768 status collapsed
16769
16770 \begin_layout Plain Layout
16771 KeepEmpty
16772 \end_layout
16773
16774 \end_inset
16775
16776  [
16777 \emph on
16778
16779 \begin_inset Flex Code
16780 status collapsed
16781
16782 \begin_layout Plain Layout
16783 0
16784 \end_layout
16785
16786 \end_inset
16787
16788
16789 \emph default
16790 ,
16791 \begin_inset space \thinspace{}
16792 \end_inset
16793
16794
16795 \begin_inset Flex Code
16796 status collapsed
16797
16798 \begin_layout Plain Layout
16799 1
16800 \end_layout
16801
16802 \end_inset
16803
16804 ] 段落様式と同様.第
16805 \begin_inset CommandInset ref
16806 LatexCommand ref
16807 reference "subsec:段落様式"
16808
16809 \end_inset
16810
16811 節参照.
16812 \end_layout
16813
16814 \begin_layout Description
16815 \begin_inset Flex Code
16816 status collapsed
16817
16818 \begin_layout Plain Layout
16819 LabelFont
16820 \end_layout
16821
16822 \end_inset
16823
16824  ラベルに使用されるフォント.第
16825 \begin_inset CommandInset ref
16826 LatexCommand ref
16827 reference "subsec:フォント指定"
16828
16829 \end_inset
16830
16831 節を参照.非効率を回避するため,この定義は
16832 \begin_inset Flex Code
16833 status collapsed
16834
16835 \begin_layout Plain Layout
16836 Font
16837 \end_layout
16838
16839 \end_inset
16840
16841 の前には決して現れてはなりません.
16842 \end_layout
16843
16844 \begin_layout Description
16845 \begin_inset Flex Code
16846 status collapsed
16847
16848 \begin_layout Plain Layout
16849 LabelString
16850 \end_layout
16851
16852 \end_inset
16853
16854  [
16855 \begin_inset Flex Code
16856 status collapsed
16857
16858 \begin_layout Plain Layout
16859 文字列
16860 \end_layout
16861
16862 \end_inset
16863
16864 =
16865 \begin_inset Quotes erd
16866 \end_inset
16867
16868
16869 \begin_inset Quotes erd
16870 \end_inset
16871
16872 ]
16873 \lang english
16874  
16875 \lang japanese
16876 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
16877 コードや派生枝),ラベルが動的に変更されます.
16878 \end_layout
16879
16880 \begin_layout Description
16881 \begin_inset Flex Code
16882 status collapsed
16883
16884 \begin_layout Plain Layout
16885 LangPreamble
16886 \end_layout
16887
16888 \end_inset
16889
16890  言語依存のプリアンブル.第
16891 \begin_inset CommandInset ref
16892 LatexCommand ref
16893 reference "subsec:段落様式の国際化"
16894
16895 \end_inset
16896
16897 節参照.
16898 \end_layout
16899
16900 \begin_layout Description
16901 \begin_inset Flex Code
16902 status collapsed
16903
16904 \begin_layout Plain Layout
16905 LatexName
16906 \end_layout
16907
16908 \end_inset
16909
16910  [
16911 \begin_inset Flex Code
16912 status collapsed
16913
16914 \begin_layout Plain Layout
16915 <名称>
16916 \end_layout
16917
16918 \end_inset
16919
16920 ] 対応する\SpecialChar LaTeX
16921 関連物の名称.環境名ないしはコマンド名.
16922 \end_layout
16923
16924 \begin_layout Description
16925 \begin_inset Flex Code
16926 status collapsed
16927
16928 \begin_layout Plain Layout
16929 LatexParam
16930 \end_layout
16931
16932 \end_inset
16933
16934  [
16935 \begin_inset Flex Code
16936 status collapsed
16937
16938 \begin_layout Plain Layout
16939 <パラメータ>
16940 \end_layout
16941
16942 \end_inset
16943
16944 ]
16945 \lang english
16946  
16947 \lang japanese
16948 対応する
16949 \begin_inset Flex Code
16950 status collapsed
16951
16952 \begin_layout Plain Layout
16953 LatexName
16954 \end_layout
16955
16956 \end_inset
16957
16958 関連物の非必須パラメータ.
16959 \begin_inset Flex Code
16960 status collapsed
16961
16962 \begin_layout Plain Layout
16963 []
16964 \end_layout
16965
16966 \end_inset
16967
16968 のような括弧対を含む.このパラメータは\SpecialChar LyX
16969 内部から変更することはできません(変更可能なパラメータには
16970 \begin_inset Flex Code
16971 status collapsed
16972
16973 \begin_layout Plain Layout
16974 Argument
16975 \end_layout
16976
16977 \end_inset
16978
16979 を使用してください).これは,全ての\SpecialChar LaTeX
16980  
16981 \begin_inset Flex Code
16982 status collapsed
16983
16984 \begin_layout Plain Layout
16985 Argument
16986 \end_layout
16987
16988 \end_inset
16989
16990 の後にそのままの形で出力されます.
16991 \end_layout
16992
16993 \begin_layout Description
16994 \begin_inset Flex Code
16995 status collapsed
16996
16997 \begin_layout Plain Layout
16998 LatexType
16999 \end_layout
17000
17001 \end_inset
17002
17003  [
17004 \begin_inset Flex Code
17005 status collapsed
17006
17007 \begin_layout Plain Layout
17008 Command, Environment, None
17009 \end_layout
17010
17011 \end_inset
17012
17013 ] 様式がどのように\SpecialChar LaTeX
17014 に変換されるべきかを示します
17015 \begin_inset Foot
17016 status collapsed
17017
17018 \begin_layout Plain Layout
17019 これらのルールはSGMLクラスにも適用されるので,
17020 \begin_inset Flex Code
17021 status collapsed
17022
17023 \begin_layout Plain Layout
17024 LatexType
17025 \end_layout
17026
17027 \end_inset
17028
17029 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイルを見てください.
17030 \end_layout
17031
17032 \end_inset
17033
17034
17035 \end_layout
17036
17037 \begin_deeper
17038 \begin_layout Description
17039 \begin_inset Flex Code
17040 status collapsed
17041
17042 \begin_layout Plain Layout
17043 None
17044 \end_layout
17045
17046 \end_inset
17047
17048  は,何も特別なことは意味しません
17049 \end_layout
17050
17051 \begin_layout Description
17052 \begin_inset Flex Code
17053 status collapsed
17054
17055 \begin_layout Plain Layout
17056 Command
17057 \end_layout
17058
17059 \end_inset
17060
17061  は,
17062 \begin_inset Flex Code
17063 status collapsed
17064
17065 \begin_layout Plain Layout
17066
17067 \backslash
17068
17069 \emph on
17070 LatexName
17071 \emph default
17072 {\SpecialChar ldots
17073 }
17074 \end_layout
17075
17076 \end_inset
17077
17078 を意味します
17079 \end_layout
17080
17081 \begin_layout Description
17082 \begin_inset Flex Code
17083 status collapsed
17084
17085 \begin_layout Plain Layout
17086 Environment
17087 \end_layout
17088
17089 \end_inset
17090
17091  は,
17092 \begin_inset Flex Code
17093 status collapsed
17094
17095 \begin_layout Plain Layout
17096
17097 \backslash
17098 begin{
17099 \emph on
17100 LatexName
17101 \emph default
17102 }\SpecialChar ldots
17103
17104 \backslash
17105 end{
17106 \emph on
17107 LatexName
17108 \emph default
17109 }
17110 \end_layout
17111
17112 \end_inset
17113
17114 を意味します
17115 \end_layout
17116
17117 \begin_layout Standard
17118 上記最後のいくつかをまとめると,\SpecialChar LaTeX
17119 出力は,\SpecialChar LaTeX
17120 型に依存して
17121 \end_layout
17122
17123 \begin_layout LyX-Code
17124
17125 \backslash
17126 LatexName[LatexParam]{\SpecialChar ldots
17127 }
17128 \end_layout
17129
17130 \begin_layout Standard
17131 のようになるか,
17132 \end_layout
17133
17134 \begin_layout LyX-Code
17135
17136 \backslash
17137 begin{LatexName}[LatexParam] \SpecialChar ldots
17138  
17139 \backslash
17140 end{LatexName}.
17141 \end_layout
17142
17143 \begin_layout Standard
17144 となります.
17145 \end_layout
17146
17147 \end_deeper
17148 \begin_layout Description
17149 \begin_inset Flex Code
17150 status collapsed
17151
17152 \begin_layout Plain Layout
17153 LeftDelim
17154 \end_layout
17155
17156 \end_inset
17157
17158  [
17159 \begin_inset Flex Code
17160 status collapsed
17161
17162 \begin_layout Plain Layout
17163 文字列
17164 \end_layout
17165
17166 \end_inset
17167
17168 ] 様式の内容の最初に置かれる文字列.出力中の改行は
17169 \begin_inset Flex Code
17170 status collapsed
17171
17172 \begin_layout Plain Layout
17173 <br/>
17174 \end_layout
17175
17176 \end_inset
17177
17178 で指示できます.
17179 \end_layout
17180
17181 \begin_layout Description
17182 \begin_inset Flex Code
17183 status collapsed
17184
17185 \begin_layout Plain Layout
17186 LyxType
17187 \end_layout
17188
17189 \end_inset
17190
17191  
17192 \begin_inset Flex Code
17193 status collapsed
17194
17195 \begin_layout Plain Layout
17196 charstyle
17197 \end_layout
17198
17199 \end_inset
17200
17201
17202 \begin_inset Flex Code
17203 status collapsed
17204
17205 \begin_layout Plain Layout
17206 custom
17207 \end_layout
17208
17209 \end_inset
17210
17211
17212 \begin_inset Flex Code
17213 status collapsed
17214
17215 \begin_layout Plain Layout
17216 element
17217 \end_layout
17218
17219 \end_inset
17220
17221
17222 \begin_inset Flex Code
17223 status collapsed
17224
17225 \begin_layout Plain Layout
17226 end
17227 \end_layout
17228
17229 \end_inset
17230
17231 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,自由差込枠に必須であり,かつ自由差込枠でしか意味を持ちません.こ
17232 の項目は,就中,差込枠がどのメニューに表示されるかを決定します.
17233 \begin_inset Flex Code
17234 status collapsed
17235
17236 \begin_layout Plain Layout
17237 LyxType
17238 \end_layout
17239
17240 \end_inset
17241
17242
17243 \begin_inset Flex Code
17244 status collapsed
17245
17246 \begin_layout Plain Layout
17247 charstyle
17248 \end_layout
17249
17250 \end_inset
17251
17252 に設定すると,
17253 \begin_inset Flex Code
17254 status collapsed
17255
17256 \begin_layout Plain Layout
17257 MultiPar
17258 \end_layout
17259
17260 \end_inset
17261
17262 が偽に設定されます
17263 \lang english
17264  and 
17265 \lang japanese
17266
17267 \begin_inset Flex Code
17268 status collapsed
17269
17270 \begin_layout Plain Layout
17271 ForcePlain
17272 \end_layout
17273
17274 \end_inset
17275
17276
17277 \lang english
17278  to true
17279 \lang japanese
17280 .文字様式差込枠で
17281 \begin_inset Flex Code
17282 status collapsed
17283
17284 \begin_layout Plain Layout
17285 MultiPar
17286 \end_layout
17287
17288 \end_inset
17289
17290 を真にしたい時には
17291 \lang english
17292 , or 
17293 \lang japanese
17294
17295 \begin_inset Flex Code
17296 status collapsed
17297
17298 \begin_layout Plain Layout
17299 ForcePlain
17300 \end_layout
17301
17302 \end_inset
17303
17304
17305 \lang english
17306  to false
17307 \lang japanese
17308
17309 \begin_inset Flex Code
17310 status collapsed
17311
17312 \begin_layout Plain Layout
17313 LyxType
17314 \end_layout
17315
17316 \end_inset
17317
17318 を設定した
17319 \emph on
17320 後に
17321 \emph default
17322 設定すれば,真に設定することができます.
17323 \end_layout
17324
17325 \begin_layout Description
17326 \begin_inset Flex Code
17327 status collapsed
17328
17329 \begin_layout Plain Layout
17330 MultiPar
17331 \end_layout
17332
17333 \end_inset
17334
17335  [
17336 \begin_inset Flex Code
17337 status collapsed
17338
17339 \begin_layout Plain Layout
17340
17341 \emph on
17342 0
17343 \end_layout
17344
17345 \end_inset
17346
17347 ,
17348 \begin_inset space \thinspace{}
17349 \end_inset
17350
17351
17352 \begin_inset Flex Code
17353 status collapsed
17354
17355 \begin_layout Plain Layout
17356 1
17357 \end_layout
17358
17359 \end_inset
17360
17361 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
17362 \begin_inset Flex Code
17363 status collapsed
17364
17365 \begin_layout Plain Layout
17366 CustomPars
17367 \end_layout
17368
17369 \end_inset
17370
17371 を同じ値に設定し,
17372 \begin_inset Flex Code
17373 status collapsed
17374
17375 \begin_layout Plain Layout
17376 ForcePlain
17377 \end_layout
17378
17379 \end_inset
17380
17381 を逆の値に設定します.これらは,
17382 \begin_inset Flex Code
17383 status collapsed
17384
17385 \begin_layout Plain Layout
17386 MultiPar
17387 \end_layout
17388
17389 \end_inset
17390
17391
17392 \emph on
17393 後に
17394 \emph default
17395 指定されれば,他の値に指定し直すことができます.既定値は真です.
17396 \end_layout
17397
17398 \begin_layout Description
17399 \begin_inset Flex Code
17400 status collapsed
17401
17402 \begin_layout Plain Layout
17403 NeedProtect
17404 \end_layout
17405
17406 \end_inset
17407
17408  [
17409 \begin_inset Flex Code
17410 status collapsed
17411
17412 \begin_layout Plain Layout
17413
17414 \emph on
17415 0
17416 \end_layout
17417
17418 \end_inset
17419
17420 ,
17421 \begin_inset space \thinspace{}
17422 \end_inset
17423
17424
17425 \begin_inset Flex Code
17426 status collapsed
17427
17428 \begin_layout Plain Layout
17429 1
17430 \end_layout
17431
17432 \end_inset
17433
17434 ] 本レイアウト中で脆弱なコマンドを
17435 \begin_inset Flex Code
17436 status collapsed
17437
17438 \begin_layout Plain Layout
17439
17440 \backslash
17441 protect
17442 \end_layout
17443
17444 \end_inset
17445
17446 するか否か(註:当該コマンド自身をprotectするかどうかでは
17447 \emph on
17448 ありません
17449 \emph default
17450 ).既定値は偽です.
17451 \end_layout
17452
17453 \begin_layout Description
17454 \begin_inset Flex Code
17455 status collapsed
17456
17457 \begin_layout Plain Layout
17458 NoInsetLayout
17459 \end_layout
17460
17461 \end_inset
17462
17463  [
17464 \begin_inset Flex Code
17465 status collapsed
17466
17467 \begin_layout Plain Layout
17468 <レイアウト>
17469 \end_layout
17470
17471 \end_inset
17472
17473 ] 既存の
17474 \begin_inset Flex Code
17475 status collapsed
17476
17477 \begin_layout Plain Layout
17478 InsetLayout
17479 \end_layout
17480
17481 \end_inset
17482
17483 を削除します.
17484 \end_layout
17485
17486 \begin_layout Description
17487 \begin_inset Flex Code
17488 status collapsed
17489
17490 \begin_layout Plain Layout
17491 ObsoletedBy
17492 \end_layout
17493
17494 \end_inset
17495
17496  [
17497 \begin_inset Flex Code
17498 status collapsed
17499
17500 \begin_layout Plain Layout
17501 <レイアウト>
17502 \end_layout
17503
17504 \end_inset
17505
17506 ] この古い
17507 \begin_inset Flex Code
17508 status collapsed
17509
17510 \begin_layout Plain Layout
17511 InsetLayout
17512 \end_layout
17513
17514 \end_inset
17515
17516 を引き継いだ
17517 \begin_inset Flex Code
17518 status collapsed
17519
17520 \begin_layout Plain Layout
17521 InsetLayout
17522 \end_layout
17523
17524 \end_inset
17525
17526 の名称.これは,
17527 \begin_inset Flex Code
17528 status collapsed
17529
17530 \begin_layout Plain Layout
17531 InsetLayout
17532 \end_layout
17533
17534 \end_inset
17535
17536 の改名を,後方互換性を維持しながら行うために用いられます.
17537 \end_layout
17538
17539 \begin_layout Description
17540 \begin_inset Flex Code
17541 status collapsed
17542
17543 \begin_layout Plain Layout
17544 ParbreakIsNewline
17545 \end_layout
17546
17547 \end_inset
17548
17549  [
17550 \begin_inset Flex Code
17551 status collapsed
17552
17553 \begin_layout Plain Layout
17554
17555 \emph on
17556 0
17557 \end_layout
17558
17559 \end_inset
17560
17561 ,
17562 \begin_inset space \thinspace{}
17563 \end_inset
17564
17565
17566 \begin_inset Flex Code
17567 status collapsed
17568
17569 \begin_layout Plain Layout
17570 1
17571 \end_layout
17572
17573 \end_inset
17574
17575 ] 段落様式と同様.第
17576 \begin_inset CommandInset ref
17577 LatexCommand ref
17578 reference "subsec:段落様式"
17579
17580 \end_inset
17581
17582 節参照.
17583 \end_layout
17584
17585 \begin_layout Description
17586 \begin_inset Flex Code
17587 status collapsed
17588
17589 \begin_layout Plain Layout
17590 PassThru
17591 \end_layout
17592
17593 \end_inset
17594
17595  [
17596 \emph on
17597
17598 \begin_inset Flex Code
17599 status collapsed
17600
17601 \begin_layout Plain Layout
17602 0
17603 \end_layout
17604
17605 \end_inset
17606
17607
17608 \emph default
17609 ,
17610 \begin_inset space \thinspace{}
17611 \end_inset
17612
17613
17614 \begin_inset Flex Code
17615 status collapsed
17616
17617 \begin_layout Plain Layout
17618 1
17619 \end_layout
17620
17621 \end_inset
17622
17623 ] 段落様式と同様.第
17624 \begin_inset CommandInset ref
17625 LatexCommand ref
17626 reference "subsec:段落様式"
17627
17628 \end_inset
17629
17630 節参照.
17631 \end_layout
17632
17633 \begin_layout Description
17634 \begin_inset Flex Code
17635 status collapsed
17636
17637 \begin_layout Plain Layout
17638 Preamble
17639 \end_layout
17640
17641 \end_inset
17642
17643  段落様式と同様.第
17644 \begin_inset CommandInset ref
17645 LatexCommand ref
17646 reference "subsec:段落様式"
17647
17648 \end_inset
17649
17650 節参照.
17651 \end_layout
17652
17653 \begin_layout Description
17654 \begin_inset Flex Code
17655 status collapsed
17656
17657 \begin_layout Plain Layout
17658 RefPrefix
17659 \end_layout
17660
17661 \end_inset
17662
17663  [
17664 \begin_inset Flex Code
17665 status collapsed
17666
17667 \begin_layout Plain Layout
17668 文字列
17669 \end_layout
17670
17671 \end_inset
17672
17673 ] この型の差込枠を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
17674 \end_layout
17675
17676 \begin_layout Description
17677 \begin_inset Flex Code
17678 status collapsed
17679
17680 \begin_layout Plain Layout
17681 Requires
17682 \end_layout
17683
17684 \end_inset
17685
17686  [
17687 \begin_inset Flex Code
17688 status collapsed
17689
17690 \begin_layout Plain Layout
17691 文字列
17692 \end_layout
17693
17694 \end_inset
17695
17696 ] 段落様式と同様.第
17697 \begin_inset CommandInset ref
17698 LatexCommand ref
17699 reference "subsec:段落様式"
17700
17701 \end_inset
17702
17703 節参照.
17704 \end_layout
17705
17706 \begin_layout Description
17707 \begin_inset Flex Code
17708 status collapsed
17709
17710 \begin_layout Plain Layout
17711 ResetArgs
17712 \end_layout
17713
17714 \end_inset
17715
17716  [
17717 \begin_inset Flex Code
17718 status collapsed
17719
17720 \begin_layout Plain Layout
17721
17722 \emph on
17723 0
17724 \end_layout
17725
17726 \end_inset
17727
17728 ,
17729 \begin_inset space \thinspace{}
17730 \end_inset
17731
17732
17733 \begin_inset Flex Code
17734 status collapsed
17735
17736 \begin_layout Plain Layout
17737 1
17738 \end_layout
17739
17740 \end_inset
17741
17742 ] (
17743 \begin_inset Flex Code
17744 status collapsed
17745
17746 \begin_layout Plain Layout
17747 Argument
17748 \end_layout
17749
17750 \end_inset
17751
17752 タグで定義された)この様式の\SpecialChar LaTeX
17753 引数をリセットします.これは,様式を
17754 \begin_inset Flex Code
17755 status collapsed
17756
17757 \begin_layout Plain Layout
17758 CopyStyle
17759 \end_layout
17760
17761 \end_inset
17762
17763 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
17764 \end_layout
17765
17766 \begin_layout Description
17767 \begin_inset Flex Code
17768 status collapsed
17769
17770 \begin_layout Plain Layout
17771 ResetsFont
17772 \end_layout
17773
17774 \end_inset
17775
17776  [
17777 \begin_inset Flex Code
17778 status collapsed
17779
17780 \begin_layout Plain Layout
17781 0
17782 \end_layout
17783
17784 \end_inset
17785
17786 ,
17787 \begin_inset space \thinspace{}
17788 \end_inset
17789
17790
17791 \begin_inset Flex Code
17792 status collapsed
17793
17794 \begin_layout Plain Layout
17795
17796 \emph on
17797 1
17798 \end_layout
17799
17800 \end_inset
17801
17802 ] この差込枠が周囲の環境と同じフォントを用いるか,独自のフォントを用いるか.既定値は真,すなわち独自のフォントを用います.
17803 \begin_inset Note Note
17804 status open
17805
17806 \begin_layout Plain Layout
17807 This is outdated: The default changed from 1 to 0
17808 \end_layout
17809
17810 \end_inset
17811
17812
17813 \end_layout
17814
17815 \begin_layout Description
17816 \begin_inset Flex Code
17817 status collapsed
17818
17819 \begin_layout Plain Layout
17820 RightDelim
17821 \end_layout
17822
17823 \end_inset
17824
17825  [
17826 \begin_inset Flex Code
17827 status collapsed
17828
17829 \begin_layout Plain Layout
17830 文字列
17831 \end_layout
17832
17833 \end_inset
17834
17835 ] 様式の内容の最後に置かれる文字列.出力中の改行は
17836 \begin_inset Flex Code
17837 status collapsed
17838
17839 \begin_layout Plain Layout
17840 <br/>
17841 \end_layout
17842
17843 \end_inset
17844
17845 で指示できます.
17846 \end_layout
17847
17848 \begin_layout Description
17849 \begin_inset Flex Code
17850 status collapsed
17851
17852 \begin_layout Plain Layout
17853 Spellcheck
17854 \end_layout
17855
17856 \end_inset
17857
17858  [
17859 \begin_inset Flex Code
17860 status collapsed
17861
17862 \begin_layout Plain Layout
17863 0
17864 \end_layout
17865
17866 \end_inset
17867
17868 ,
17869 \begin_inset space \thinspace{}
17870 \end_inset
17871
17872
17873 \begin_inset Flex Code
17874 status collapsed
17875
17876 \begin_layout Plain Layout
17877
17878 \emph on
17879 1
17880 \end_layout
17881
17882 \end_inset
17883
17884 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
17885 \end_layout
17886
17887 \begin_layout Subsection
17888 カウンタ
17889 \begin_inset CommandInset label
17890 LatexCommand label
17891 name "subsec:カウンタ"
17892
17893 \end_inset
17894
17895
17896 \end_layout
17897
17898 \begin_layout Standard
17899 テキストクラスには,カウンタ(
17900 \begin_inset Flex MenuItem
17901 status collapsed
17902
17903 \begin_layout Plain Layout
17904 chapter
17905 \end_layout
17906
17907 \end_inset
17908
17909
17910 \begin_inset Flex MenuItem
17911 status collapsed
17912
17913 \begin_layout Plain Layout
17914 figure
17915 \end_layout
17916
17917 \end_inset
17918
17919 ・\SpecialChar ldots
17920 )を定義することが必要です.標準的なカウンタは
17921 \begin_inset Flex Code
17922 status collapsed
17923
17924 \begin_layout Plain Layout
17925 stdcounters.inc
17926 \end_layout
17927
17928 \end_inset
17929
17930 ファイルに含まれているので,作業中のレイアウトファイルに
17931 \end_layout
17932
17933 \begin_layout LyX-Code
17934 Input stdcounters.inc
17935 \end_layout
17936
17937 \begin_layout Standard
17938 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,そうすることもできます.カウンタ宣言は,
17939 \end_layout
17940
17941 \begin_layout LyX-Code
17942 Counter カウンタ名
17943 \end_layout
17944
17945 \begin_layout Standard
17946 で始まらなくてはなりません.ここで「
17947 \begin_inset Flex Code
17948 status collapsed
17949
17950 \begin_layout Plain Layout
17951 カウンタ名
17952 \end_layout
17953
17954 \end_inset
17955
17956 」は,実際のカウンタ名で置き換えます.また,宣言は「
17957 \begin_inset Flex Code
17958 status collapsed
17959
17960 \begin_layout Plain Layout
17961 End
17962 \end_layout
17963
17964 \end_inset
17965
17966 」で終わらなくてはなりません.
17967 \end_layout
17968
17969 \begin_layout Standard
17970 以下のパラメータを使用することができます.
17971 \end_layout
17972
17973 \begin_layout Description
17974 \begin_inset Flex Code
17975 status collapsed
17976
17977 \begin_layout Plain Layout
17978 InitialValue
17979 \end_layout
17980
17981 \end_inset
17982
17983  [
17984 \begin_inset Flex Code
17985 status collapsed
17986
17987 \begin_layout Plain Layout
17988 整数=1
17989 \end_layout
17990
17991 \end_inset
17992
17993 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,既定値1のままで充分でしょう.
17994 \end_layout
17995
17996 \begin_layout Description
17997 \begin_inset Flex Code
17998 status collapsed
17999
18000 \begin_layout Plain Layout
18001 LabelString [文字列=""]
18002 \end_layout
18003
18004 \end_inset
18005
18006  定義されていると,ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
18007 \begin_inset Flex Code
18008 status collapsed
18009
18010 \begin_layout Plain Layout
18011 LabelStringAppendix
18012 \end_layout
18013
18014 \end_inset
18015
18016 も同じ値に設定されます.文字列中では,以下の構成要素を使用することができます.
18017 \end_layout
18018
18019 \begin_deeper
18020 \begin_layout Itemize
18021 \begin_inset Flex Code
18022 status collapsed
18023
18024 \begin_layout Plain Layout
18025
18026 \backslash
18027 thecounter
18028 \end_layout
18029
18030 \end_inset
18031
18032 は,カウンタ
18033 \begin_inset Flex Code
18034 status collapsed
18035
18036 \begin_layout Plain Layout
18037 counter
18038 \end_layout
18039
18040 \end_inset
18041
18042
18043 \begin_inset Flex Code
18044 status collapsed
18045
18046 \begin_layout Plain Layout
18047 LabelString
18048 \end_layout
18049
18050 \end_inset
18051
18052 (または
18053 \begin_inset Newline linebreak
18054 \end_inset
18055
18056
18057 \begin_inset Flex Code
18058 status collapsed
18059
18060 \begin_layout Plain Layout
18061 LabelStringAppendix
18062 \end_layout
18063
18064 \end_inset
18065
18066 )を展開したもので置き換えられます. 
18067 \end_layout
18068
18069 \begin_layout Itemize
18070 カウンタ値は,\SpecialChar LaTeX
18071 型マクロ
18072 \begin_inset Flex Code
18073 status collapsed
18074
18075 \begin_layout Plain Layout
18076
18077 \backslash
18078
18079 \emph on
18080 numbertype
18081 \emph default
18082 {
18083 \emph on
18084 カウンタ
18085 \emph default
18086 }
18087 \end_layout
18088
18089 \end_inset
18090
18091 を用いて表現することができます.ここで
18092 \begin_inset Flex Code
18093 status collapsed
18094
18095 \begin_layout Plain Layout
18096
18097 \emph on
18098 numbertype
18099 \end_layout
18100
18101 \end_inset
18102
18103 は以下のいずれかです.
18104 \begin_inset Flex Code
18105 status collapsed
18106
18107 \begin_layout Plain Layout
18108 arabic
18109 \end_layout
18110
18111 \end_inset
18112
18113 :1, 2, 3,\SpecialChar ldots
18114
18115 \begin_inset Flex Code
18116 status collapsed
18117
18118 \begin_layout Plain Layout
18119 alph
18120 \end_layout
18121
18122 \end_inset
18123
18124 :a, b, c, \SpecialChar ldots
18125 (小文字);
18126 \begin_inset Flex Code
18127 status collapsed
18128
18129 \begin_layout Plain Layout
18130 Alph
18131 \end_layout
18132
18133 \end_inset
18134
18135 :A, B, C, \SpecialChar ldots
18136 (大文字);
18137 \begin_inset Flex Code
18138 status collapsed
18139
18140 \begin_layout Plain Layout
18141 roman
18142 \end_layout
18143
18144 \end_inset
18145
18146 :i, ii, iii, \SpecialChar ldots
18147 (小文字ローマ数字);
18148 \begin_inset Flex Code
18149 status collapsed
18150
18151 \begin_layout Plain Layout
18152 Roman
18153 \end_layout
18154
18155 \end_inset
18156
18157 :I, II, III\SpecialChar ldots
18158 (大文字ローマ数字).
18159 \end_layout
18160
18161 \end_deeper
18162 \begin_layout Standard
18163 \begin_inset Flex Code
18164 status collapsed
18165
18166 \begin_layout Plain Layout
18167 LabelString
18168 \end_layout
18169
18170 \end_inset
18171
18172 が定義されていないときは,既定値は以下のように組み立てられます.このカウンタに親カウンタ
18173 \begin_inset Flex Code
18174 status collapsed
18175
18176 \begin_layout Plain Layout
18177 master
18178 \end_layout
18179
18180 \end_inset
18181
18182
18183 \begin_inset Flex Code
18184 status collapsed
18185
18186 \begin_layout Plain Layout
18187 Within
18188 \end_layout
18189
18190 \end_inset
18191
18192 で定義)があるときには,文字列
18193 \begin_inset Newline linebreak
18194 \end_inset
18195
18196
18197 \begin_inset Flex Code
18198 status collapsed
18199
18200 \begin_layout Plain Layout
18201
18202 \backslash
18203 themaster.
18204 \backslash
18205 arabic{カウンタ}
18206 \end_layout
18207
18208 \end_inset
18209
18210 が使用されます.それ以外の場合は,
18211 \begin_inset Flex Code
18212 status collapsed
18213
18214 \begin_layout Plain Layout
18215
18216 \backslash
18217 arabic{カウンタ}
18218 \end_layout
18219
18220 \end_inset
18221
18222 が使用されます.
18223 \end_layout
18224
18225 \begin_layout Description
18226 \begin_inset Flex Code
18227 status collapsed
18228
18229 \begin_layout Plain Layout
18230 LabelStringAppendix
18231 \end_layout
18232
18233 \end_inset
18234
18235  [
18236 \begin_inset Flex Code
18237 status collapsed
18238
18239 \begin_layout Plain Layout
18240 文字列
18241 \end_layout
18242
18243 \end_inset
18244
18245 =""] 
18246 \begin_inset Flex Code
18247 status collapsed
18248
18249 \begin_layout Plain Layout
18250 LabelString
18251 \end_layout
18252
18253 \end_inset
18254
18255 と同様ですが,付録で使用するためのものです.
18256 \end_layout
18257
18258 \begin_layout Description
18259 \begin_inset Flex Code
18260 status collapsed
18261
18262 \begin_layout Plain Layout
18263 PrettyFormat
18264 \end_layout
18265
18266 \end_inset
18267
18268  [
18269 \begin_inset Flex Code
18270 status collapsed
18271
18272 \begin_layout Plain Layout
18273 文字列
18274 \end_layout
18275
18276 \end_inset
18277
18278 =
18279 \begin_inset Quotes erd
18280 \end_inset
18281
18282
18283 \begin_inset Quotes erd
18284 \end_inset
18285
18286 ] このカウンタの整形参照で使用する書式.たとえば,節番号への参照を「Section
18287 \begin_inset space ~
18288 \end_inset
18289
18290 2.4」のように表示させたい場合には,文字列に「##」を含めます.これは,カウンタ番号で置換されます.したがって,節の場合には「Section ##」のようにしま
18291 す.
18292 \end_layout
18293
18294 \begin_layout Description
18295 \begin_inset Flex Code
18296 status collapsed
18297
18298 \begin_layout Plain Layout
18299 Within
18300 \end_layout
18301
18302 \end_inset
18303
18304  [
18305 \begin_inset Flex Code
18306 status collapsed
18307
18308 \begin_layout Plain Layout
18309 文字列
18310 \end_layout
18311
18312 \end_inset
18313
18314 =
18315 \begin_inset Quotes erd
18316 \end_inset
18317
18318
18319 \begin_inset Quotes erd
18320 \end_inset
18321
18322 ] これを別のカウンタ名に設定すると,現在のカウンタは,別のカウンタが増加する毎にリセットされます.たとえば,
18323 \begin_inset Flex Code
18324 status collapsed
18325
18326 \begin_layout Plain Layout
18327 subsection
18328 \end_layout
18329
18330 \end_inset
18331
18332
18333 \begin_inset Flex Code
18334 status collapsed
18335
18336 \begin_layout Plain Layout
18337 section
18338 \end_layout
18339
18340 \end_inset
18341
18342 毎に番号がリセットされます.
18343 \end_layout
18344
18345 \begin_layout Subsection
18346 フォント指定
18347 \begin_inset CommandInset label
18348 LatexCommand label
18349 name "subsec:フォント指定"
18350
18351 \end_inset
18352
18353
18354 \end_layout
18355
18356 \begin_layout Standard
18357 フォント指定は,以下のような形を取ります.
18358 \end_layout
18359
18360 \begin_layout LyX-Code
18361 Font 
18362 \family roman
18363 \emph on
18364 または
18365 \family default
18366 \emph default
18367  LabelFont 
18368 \family roman
18369 \emph on
18370 または
18371 \family default
18372 \emph default
18373  DefaultFont
18374 \end_layout
18375
18376 \begin_layout LyX-Code
18377  ...
18378 \end_layout
18379
18380 \begin_layout LyX-Code
18381 EndFont
18382 \end_layout
18383
18384 \begin_layout Standard
18385 以下のコマンドを使用することができます.
18386 \end_layout
18387
18388 \begin_layout Description
18389 \begin_inset Flex Code
18390 status collapsed
18391
18392 \begin_layout Plain Layout
18393 Color
18394 \end_layout
18395
18396 \end_inset
18397
18398  [
18399 \begin_inset Flex Code
18400 status collapsed
18401
18402 \begin_layout Plain Layout
18403
18404 \emph on
18405 none
18406 \end_layout
18407
18408 \end_inset
18409
18410
18411 \begin_inset Flex Code
18412 status collapsed
18413
18414 \begin_layout Plain Layout
18415 black
18416 \end_layout
18417
18418 \end_inset
18419
18420
18421 \begin_inset Flex Code
18422 status collapsed
18423
18424 \begin_layout Plain Layout
18425 white
18426 \end_layout
18427
18428 \end_inset
18429
18430
18431 \begin_inset Flex Code
18432 status collapsed
18433
18434 \begin_layout Plain Layout
18435 red
18436 \end_layout
18437
18438 \end_inset
18439
18440
18441 \begin_inset Flex Code
18442 status collapsed
18443
18444 \begin_layout Plain Layout
18445 green
18446 \end_layout
18447
18448 \end_inset
18449
18450
18451 \begin_inset Flex Code
18452 status collapsed
18453
18454 \begin_layout Plain Layout
18455 blue
18456 \end_layout
18457
18458 \end_inset
18459
18460
18461 \begin_inset Flex Code
18462 status collapsed
18463
18464 \begin_layout Plain Layout
18465 cyan
18466 \end_layout
18467
18468 \end_inset
18469
18470
18471 \begin_inset Flex Code
18472 status collapsed
18473
18474 \begin_layout Plain Layout
18475 magenta
18476 \end_layout
18477
18478 \end_inset
18479
18480
18481 \begin_inset Flex Code
18482 status collapsed
18483
18484 \begin_layout Plain Layout
18485 yellow
18486 \end_layout
18487
18488 \end_inset
18489
18490
18491 \begin_inset Flex Code
18492 status collapsed
18493
18494 \begin_layout Plain Layout
18495 brown
18496 \end_layout
18497
18498 \end_inset
18499
18500
18501 \begin_inset Flex Code
18502 status collapsed
18503
18504 \begin_layout Plain Layout
18505 darkgray
18506 \end_layout
18507
18508 \end_inset
18509
18510
18511 \begin_inset Flex Code
18512 status collapsed
18513
18514 \begin_layout Plain Layout
18515 gray
18516 \end_layout
18517
18518 \end_inset
18519
18520
18521 \begin_inset Flex Code
18522 status collapsed
18523
18524 \begin_layout Plain Layout
18525 lightgray
18526 \end_layout
18527
18528 \end_inset
18529
18530
18531 \begin_inset Flex Code
18532 status collapsed
18533
18534 \begin_layout Plain Layout
18535 lime
18536 \end_layout
18537
18538 \end_inset
18539
18540
18541 \begin_inset Flex Code
18542 status collapsed
18543
18544 \begin_layout Plain Layout
18545 orange
18546 \end_layout
18547
18548 \end_inset
18549
18550
18551 \begin_inset Flex Code
18552 status collapsed
18553
18554 \begin_layout Plain Layout
18555 olive
18556 \end_layout
18557
18558 \end_inset
18559
18560
18561 \begin_inset Flex Code
18562 status collapsed
18563
18564 \begin_layout Plain Layout
18565 pink
18566 \end_layout
18567
18568 \end_inset
18569
18570
18571 \begin_inset Flex Code
18572 status collapsed
18573
18574 \begin_layout Plain Layout
18575 purple
18576 \end_layout
18577
18578 \end_inset
18579
18580
18581 \begin_inset Flex Code
18582 status collapsed
18583
18584 \begin_layout Plain Layout
18585 teal
18586 \end_layout
18587
18588 \end_inset
18589
18590
18591 \begin_inset Flex Code
18592 status collapsed
18593
18594 \begin_layout Plain Layout
18595 violet
18596 \end_layout
18597
18598 \end_inset
18599
18600 ]
18601 \end_layout
18602
18603 \begin_layout Description
18604 \begin_inset Flex Code
18605 status collapsed
18606
18607 \begin_layout Plain Layout
18608 Family
18609 \end_layout
18610
18611 \end_inset
18612
18613  [
18614 \emph on
18615
18616 \begin_inset Flex Code
18617 status collapsed
18618
18619 \begin_layout Plain Layout
18620 Roman
18621 \end_layout
18622
18623 \end_inset
18624
18625
18626 \emph default
18627
18628 \begin_inset Flex Code
18629 status collapsed
18630
18631 \begin_layout Plain Layout
18632 Sans
18633 \end_layout
18634
18635 \end_inset
18636
18637
18638 \begin_inset Flex Code
18639 status collapsed
18640
18641 \begin_layout Plain Layout
18642 Typewriter
18643 \end_layout
18644
18645 \end_inset
18646
18647
18648 \end_layout
18649
18650 \begin_layout Description
18651 \begin_inset Flex Code
18652 status collapsed
18653
18654 \begin_layout Plain Layout
18655 Misc
18656 \end_layout
18657
18658 \end_inset
18659
18660  [
18661 \begin_inset Flex Code
18662 status collapsed
18663
18664 \begin_layout Plain Layout
18665 文字列
18666 \end_layout
18667
18668 \end_inset
18669
18670 ] 有効な引数は,
18671 \begin_inset Flex Code
18672 status collapsed
18673
18674 \begin_layout Plain Layout
18675 emph
18676 \end_layout
18677
18678 \end_inset
18679
18680
18681 \begin_inset Flex Code
18682 status collapsed
18683
18684 \begin_layout Plain Layout
18685 noun
18686 \end_layout
18687
18688 \end_inset
18689
18690
18691 \begin_inset Flex Code
18692 status collapsed
18693
18694 \begin_layout Plain Layout
18695 strikeout
18696 \end_layout
18697
18698 \end_inset
18699
18700
18701 \begin_inset Flex Code
18702 status collapsed
18703
18704 \begin_layout Plain Layout
18705 underbar
18706 \end_layout
18707
18708 \end_inset
18709
18710
18711 \begin_inset Flex Code
18712 status collapsed
18713
18714 \begin_layout Plain Layout
18715 uuline
18716 \end_layout
18717
18718 \end_inset
18719
18720
18721 \begin_inset Flex Code
18722 status collapsed
18723
18724 \begin_layout Plain Layout
18725 uwave
18726 \end_layout
18727
18728 \end_inset
18729
18730
18731 \begin_inset Flex Code
18732 status collapsed
18733
18734 \begin_layout Plain Layout
18735 no_emph
18736 \end_layout
18737
18738 \end_inset
18739
18740
18741 \begin_inset Flex Code
18742 status collapsed
18743
18744 \begin_layout Plain Layout
18745 no_noun
18746 \end_layout
18747
18748 \end_inset
18749
18750
18751 \begin_inset Flex Code
18752 status collapsed
18753
18754 \begin_layout Plain Layout
18755 no_strikeout
18756 \end_layout
18757
18758 \end_inset
18759
18760
18761 \begin_inset Flex Code
18762 status collapsed
18763
18764 \begin_layout Plain Layout
18765 no_bar
18766 \end_layout
18767
18768 \end_inset
18769
18770
18771 \begin_inset Flex Code
18772 status collapsed
18773
18774 \begin_layout Plain Layout
18775 no_uuline
18776 \end_layout
18777
18778 \end_inset
18779
18780
18781 \begin_inset Flex Code
18782 status collapsed
18783
18784 \begin_layout Plain Layout
18785 no_uwave
18786 \end_layout
18787
18788 \end_inset
18789
18790 です.それぞれ,対応する属性を有効にしたり無効にしたりします.
18791 \begin_inset Newline newline
18792 \end_inset
18793
18794 たとえば,
18795 \begin_inset Flex Code
18796 status collapsed
18797
18798 \begin_layout Plain Layout
18799 emph
18800 \end_layout
18801
18802 \end_inset
18803
18804 は強調を有効にし,
18805 \begin_inset Flex Code
18806 status collapsed
18807
18808 \begin_layout Plain Layout
18809 no_emph
18810 \end_layout
18811
18812 \end_inset
18813
18814 はそれを無効にします.もし後者がわかりにくければ,現在のコンテクストのフォント設定は,一般的に周囲のコンテクストから継承していることを思い出してください.ですか
18815
18816 \begin_inset Flex Code
18817 status collapsed
18818
18819 \begin_layout Plain Layout
18820 no_emph
18821 \end_layout
18822
18823 \end_inset
18824
18825 は,たとえば定理環境で,何をせずとも有効となっている強調を無効にするのです.
18826 \end_layout
18827
18828 \begin_layout Description
18829 \begin_inset Flex Code
18830 status collapsed
18831
18832 \begin_layout Plain Layout
18833 Series
18834 \end_layout
18835
18836 \end_inset
18837
18838  [
18839 \emph on
18840
18841 \begin_inset Flex Code
18842 status collapsed
18843
18844 \begin_layout Plain Layout
18845 Medium
18846 \end_layout
18847
18848 \end_inset
18849
18850
18851 \emph default
18852
18853 \begin_inset Flex Code
18854 status collapsed
18855
18856 \begin_layout Plain Layout
18857 Bold
18858 \end_layout
18859
18860 \end_inset
18861
18862
18863 \end_layout
18864
18865 \begin_layout Description
18866 \begin_inset Flex Code
18867 status collapsed
18868
18869 \begin_layout Plain Layout
18870 Shape
18871 \end_layout
18872
18873 \end_inset
18874
18875  [
18876 \emph on
18877
18878 \begin_inset Flex Code
18879 status collapsed
18880
18881 \begin_layout Plain Layout
18882 Up
18883 \end_layout
18884
18885 \end_inset
18886
18887
18888 \emph default
18889
18890 \begin_inset Flex Code
18891 status collapsed
18892
18893 \begin_layout Plain Layout
18894 Italic
18895 \end_layout
18896
18897 \end_inset
18898
18899
18900 \begin_inset Flex Code
18901 status collapsed
18902
18903 \begin_layout Plain Layout
18904 SmallCaps
18905 \end_layout
18906
18907 \end_inset
18908
18909
18910 \begin_inset Flex Code
18911 status collapsed
18912
18913 \begin_layout Plain Layout
18914 Slanted
18915 \end_layout
18916
18917 \end_inset
18918
18919
18920 \end_layout
18921
18922 \begin_layout Description
18923 \begin_inset Flex Code
18924 status collapsed
18925
18926 \begin_layout Plain Layout
18927 Size
18928 \end_layout
18929
18930 \end_inset
18931
18932  [
18933 \begin_inset Flex Code
18934 status collapsed
18935
18936 \begin_layout Plain Layout
18937 tiny
18938 \end_layout
18939
18940 \end_inset
18941
18942
18943 \begin_inset Flex Code
18944 status collapsed
18945
18946 \begin_layout Plain Layout
18947 small
18948 \end_layout
18949
18950 \end_inset
18951
18952
18953 \begin_inset Flex Code
18954 status collapsed
18955
18956 \begin_layout Plain Layout
18957
18958 \emph on
18959 normal
18960 \end_layout
18961
18962 \end_inset
18963
18964
18965 \begin_inset Flex Code
18966 status collapsed
18967
18968 \begin_layout Plain Layout
18969 large
18970 \end_layout
18971
18972 \end_inset
18973
18974
18975 \begin_inset Flex Code
18976 status collapsed
18977
18978 \begin_layout Plain Layout
18979 larger
18980 \end_layout
18981
18982 \end_inset
18983
18984
18985 \begin_inset Flex Code
18986 status collapsed
18987
18988 \begin_layout Plain Layout
18989 largest
18990 \end_layout
18991
18992 \end_inset
18993
18994
18995 \begin_inset Flex Code
18996 status collapsed
18997
18998 \begin_layout Plain Layout
18999 huge
19000 \end_layout
19001
19002 \end_inset
19003
19004
19005 \begin_inset Flex Code
19006 status collapsed
19007
19008 \begin_layout Plain Layout
19009 giant
19010 \end_layout
19011
19012 \end_inset
19013
19014 ]
19015 \end_layout
19016
19017 \begin_layout Subsection
19018 \begin_inset CommandInset label
19019 LatexCommand label
19020 name "subsec:引用エンジンの説明"
19021
19022 \end_inset
19023
19024 引用エンジンの説明
19025 \end_layout
19026
19027 \begin_layout Standard
19028 主に引用エンジンファイル(第
19029 \begin_inset CommandInset ref
19030 LatexCommand ref
19031 reference "subsec:引用エンジンファイル"
19032 plural "false"
19033 caps "false"
19034 noprefix "false"
19035
19036 \end_inset
19037
19038 節参照)で用いられる
19039 \begin_inset Flex Code
19040 status collapsed
19041
19042 \begin_layout Plain Layout
19043 CiteEngine
19044 \end_layout
19045
19046 \end_inset
19047
19048 ブロックは,特定の「引用エンジン」で提供される引用コマンドを定義します.\SpecialChar LyX
19049 の用語では,引用エンジンとは,番号や著者名,刊行年を使って,引用を整形する特定の方法のこ
19050 とを指します.\SpecialChar LyX
19051 は,3つのエンジンの型をサポートします.すなわち,
19052 \end_layout
19053
19054 \begin_layout Enumerate
19055 \begin_inset Flex Code
19056 status collapsed
19057
19058 \begin_layout Plain Layout
19059 default
19060 \end_layout
19061
19062 \end_inset
19063
19064 : 既定のBib\SpecialChar TeX
19065 流の引用方法である,単純な番号による様式(例:「[1]」)
19066 \end_layout
19067
19068 \begin_layout Enumerate
19069 \begin_inset Flex Code
19070 status collapsed
19071
19072 \begin_layout Plain Layout
19073 authoryear
19074 \end_layout
19075
19076 \end_inset
19077
19078 : 著者名と刊行年を使ったHarvard様式の引用(例:「Smith and Miller (2017b)」)
19079 \end_layout
19080
19081 \begin_layout Enumerate
19082 \begin_inset Flex Code
19083 status collapsed
19084
19085 \begin_layout Plain Layout
19086 numerical
19087 \end_layout
19088
19089 \end_inset
19090
19091 : 番号に隣接して著者名やタイトルを付けることのできる拡張された番号引用(例:「Smith and Miller [1]」)
19092 \end_layout
19093
19094 \begin_layout Standard
19095 \begin_inset Flex Code
19096 status collapsed
19097
19098 \begin_layout Plain Layout
19099 CiteEngine
19100 \end_layout
19101
19102 \end_inset
19103
19104 ブロックは以下のようになります.
19105 \end_layout
19106
19107 \begin_layout LyX-Code
19108 CiteEngine default
19109 \end_layout
19110
19111 \begin_layout LyX-Code
19112  cite
19113 \end_layout
19114
19115 \begin_layout LyX-Code
19116  Citep*[][]
19117 \end_layout
19118
19119 \begin_layout LyX-Code
19120  citeyearpar[][]=parencite*
19121 \end_layout
19122
19123 \begin_layout LyX-Code
19124  ...
19125 \end_layout
19126
19127 \begin_layout LyX-Code
19128 End
19129 \end_layout
19130
19131 \begin_layout Standard
19132 \begin_inset Flex Code
19133 status collapsed
19134
19135 \begin_layout Plain Layout
19136 CiteEngine
19137 \end_layout
19138
19139 \end_inset
19140
19141 に続くタグがエンジンを表します.各行は,このエンジンによってサポートされる引用コマンドや引用コマンドパラダイムを定義します.行は,\SpecialChar LyX
19142 コマンドと\SpecialChar LaTeX
19143 出力を命名するのに使
19144 われる引用コマンドのみを含むこともあれば,色々変えるために複雑なこともあります.完全な文法は
19145 \end_layout
19146
19147 \begin_layout LyX-Code
19148 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
19149 \end_layout
19150
19151 \begin_layout Standard
19152 という形になっています.ここで
19153 \end_layout
19154
19155 \begin_layout Itemize
19156 \begin_inset Flex Code
19157 status collapsed
19158
19159 \begin_layout Plain Layout
19160 LyXName
19161 \end_layout
19162
19163 \end_inset
19164
19165
19166 \begin_inset Flex Code
19167 status collapsed
19168
19169 \begin_layout Plain Layout
19170 *.lyx
19171 \end_layout
19172
19173 \end_inset
19174
19175 ファイルで使用される名前.
19176 \end_layout
19177
19178 \begin_deeper
19179 \begin_layout Standard
19180 可搬性のために,異なる引用パッケージ中の同じ形をしたコマンドには,同じ名前をつけるようにしています(したがって,多くの名前がnatbibから派生しており,\SpecialChar LaTeX
19181 コマン
19182 ド名が異なる場合には,しばしば
19183 \begin_inset Flex Code
19184 status collapsed
19185
19186 \begin_layout Plain Layout
19187 latexcmd
19188 \end_layout
19189
19190 \end_inset
19191
19192 を変える必要があります).
19193 \end_layout
19194
19195 \end_deeper
19196 \begin_layout Itemize
19197 \begin_inset Flex Code
19198 status collapsed
19199
19200 \begin_layout Plain Layout
19201 alias
19202 \end_layout
19203
19204 \end_inset
19205
19206 : このエンジンにおいて,与えられた
19207 \begin_inset Flex Code
19208 status collapsed
19209
19210 \begin_layout Plain Layout
19211 LyXName
19212 \end_layout
19213
19214 \end_inset
19215
19216 にフォールバックするコマンドの(コンマで区切られた)リスト.これによって,引用パッケージとエンジンを切り替えるのが楽になります.
19217 \begin_inset Flex Code
19218 status collapsed
19219
19220 \begin_layout Plain Layout
19221 alias
19222 \end_layout
19223
19224 \end_inset
19225
19226 はレイアウト定義中での
19227 \begin_inset Flex Code
19228 status collapsed
19229
19230 \begin_layout Plain Layout
19231 ObsoletedBy
19232 \end_layout
19233
19234 \end_inset
19235
19236 に相当するものと考えてよいでしょう.
19237 \end_layout
19238
19239 \begin_layout Itemize
19240 \begin_inset Flex Code
19241 status collapsed
19242
19243 \begin_layout Plain Layout
19244 latexcmd
19245 \end_layout
19246
19247 \end_inset
19248
19249 : 出力される実際の\SpecialChar LaTeX
19250 コマンド.
19251 \end_layout
19252
19253 \begin_layout Standard
19254 \begin_inset Flex Code
19255 status collapsed
19256
19257 \begin_layout Plain Layout
19258 Alias
19259 \end_layout
19260
19261 \end_inset
19262
19263
19264 \begin_inset Flex Code
19265 status collapsed
19266
19267 \begin_layout Plain Layout
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 latexcmd
19279 \end_layout
19280
19281 \end_inset
19282
19283 が与えられない時は,
19284 \begin_inset Flex Code
19285 status collapsed
19286
19287 \begin_layout Plain Layout
19288 LyXName
19289 \end_layout
19290
19291 \end_inset
19292
19293 が\SpecialChar LaTeX
19294 に出力されます.
19295 \end_layout
19296
19297 \begin_layout Standard
19298 さらに,下記の点に注意してください.
19299 \end_layout
19300
19301 \begin_layout Itemize
19302 大文字にするとコマンドも大文字化されたものになります(
19303 \begin_inset Flex Code
19304 status collapsed
19305
19306 \begin_layout Plain Layout
19307
19308 \backslash
19309 latexcmd
19310 \end_layout
19311
19312 \end_inset
19313
19314
19315 \begin_inset Flex Code
19316 status collapsed
19317
19318 \begin_layout Plain Layout
19319
19320 \backslash
19321 Latexcmd
19322 \end_layout
19323
19324 \end_inset
19325
19326 に).これらは通常,名前の前置詞を大文字化するのを確実にします(
19327 \emph on
19328 von Goethe
19329 \emph default
19330  
19331 \begin_inset Formula $\Rightarrow$
19332 \end_inset
19333
19334  
19335 \emph on
19336 Von Goethe
19337 \emph default
19338 ).
19339 \end_layout
19340
19341 \begin_layout Itemize
19342 括弧
19343 \begin_inset Flex Code
19344 status collapsed
19345
19346 \begin_layout Plain Layout
19347 []
19348 \end_layout
19349
19350 \end_inset
19351
19352 は非必須引数の数を表します(0-2をとりえます).
19353 \end_layout
19354
19355 \begin_layout Itemize
19356 星印
19357 \begin_inset Flex Code
19358 status collapsed
19359
19360 \begin_layout Plain Layout
19361 *
19362 \end_layout
19363
19364 \end_inset
19365
19366 は星印付きコマンドを示します(
19367 \begin_inset Flex Code
19368 status collapsed
19369
19370 \begin_layout Plain Layout
19371
19372 \backslash
19373 latexcmd
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 \backslash
19385 latexcmd*
19386 \end_layout
19387
19388 \end_inset
19389
19390 に).
19391 \end_layout
19392
19393 \begin_deeper
19394 \begin_layout Standard
19395 既定では,星印付きバージョンは,
19396 \begin_inset Flex Code
19397 status collapsed
19398
19399 \begin_layout Plain Layout
19400 MaxCiteNames
19401 \end_layout
19402
19403 \end_inset
19404
19405 の閾値を超えたために「et al.」に省略されるべき時にも全ての著者を出力することを意味します.
19406 \end_layout
19407
19408 \begin_layout Standard
19409 星印が,当該コマンドについては別の意味を持つ場合には,
19410 \begin_inset Flex Code
19411 status collapsed
19412
19413 \begin_layout Plain Layout
19414 <!_stardesc!_stardesctooltip>
19415 \end_layout
19416
19417 \end_inset
19418
19419 のように三角括弧で指定することができます.前置詞
19420 \begin_inset Flex Code
19421 status collapsed
19422
19423 \begin_layout Plain Layout
19424 !_
19425 \end_layout
19426
19427 \end_inset
19428
19429 で標識した,翻訳可能なキーワードを最大2つ与えることができます.最初のキーワードは,引用ダイアログ中の「Full aut&hor list」チェックボックスラベ
19430 ルを書き換える文字列を指し,二つ目のキーワードは,このチェックボックスに対する非必須のツールチップの文字列を指します.
19431 \end_layout
19432
19433 \begin_layout Standard
19434 これらの2つのマクロは,下記のように,前置詞から
19435 \begin_inset Flex Code
19436 status collapsed
19437
19438 \begin_layout Plain Layout
19439 !
19440 \end_layout
19441
19442 \end_inset
19443
19444 を落とした形で
19445 \begin_inset Flex Code
19446 status collapsed
19447
19448 \begin_layout Plain Layout
19449 CiteFormat
19450 \end_layout
19451
19452 \end_inset
19453
19454 (次節参照)で定義されなくてはなりません.
19455 \end_layout
19456
19457 \begin_layout LyX-Code
19458 _stardesc Sta&rred command label
19459 \end_layout
19460
19461 \begin_layout LyX-Code
19462 _stardesctooltip Tooltip for the starred command checkbox.
19463 \end_layout
19464
19465 \end_deeper
19466 \begin_layout Itemize
19467 ドル記号
19468 \begin_inset Flex Code
19469 status collapsed
19470
19471 \begin_layout Plain Layout
19472 $
19473 \end_layout
19474
19475 \end_inset
19476
19477 は,このコマンドが「qualified citation lists」を取り扱うことを示します.これは,リスト中の個別の引用に対して,前置文字列と後置文字列を置
19478 くことができる,
19479 \family sans
19480 Biblatex
19481 \family default
19482 に特有の複数文献引用機能です.詳細については,
19483 \family sans
19484 Biblatex
19485 \family default
19486 の取扱説明書をご覧ください.
19487 \end_layout
19488
19489 \begin_layout Subsection
19490 \begin_inset CommandInset label
19491 LatexCommand label
19492 name "subsec:引用書式指定"
19493
19494 \end_inset
19495
19496 引用書式指定
19497 \end_layout
19498
19499 \begin_layout Standard
19500 (引用ダイアログやツールチップなどの)\SpecialChar LyX
19501 内部やXHTML出力において,書誌情報をどのように表示するべきかの叙述には,
19502 \begin_inset Flex Code
19503 status collapsed
19504
19505 \begin_layout Plain Layout
19506 CiteFormat
19507 \end_layout
19508
19509 \end_inset
19510
19511 ブロックが使用されています.このブロックは,以下のような形をしています.
19512 \end_layout
19513
19514 \begin_layout LyX-Code
19515 CiteFormat
19516 \end_layout
19517
19518 \begin_layout LyX-Code
19519  article ...
19520 \end_layout
19521
19522 \begin_layout LyX-Code
19523  book ...
19524 \end_layout
19525
19526 \begin_layout LyX-Code
19527 End
19528 \end_layout
19529
19530 \begin_layout Standard
19531 あるいは
19532 \end_layout
19533
19534 \begin_layout LyX-Code
19535 CiteFormat
19536 \end_layout
19537
19538 \begin_layout LyX-Code
19539  cite ...
19540 \end_layout
19541
19542 \begin_layout LyX-Code
19543  citet*[][] ...
19544 \end_layout
19545
19546 \begin_layout LyX-Code
19547 End
19548 \end_layout
19549
19550 \begin_layout Standard
19551 最初の例の各行は,それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,このような定義は,Bib\SpecialChar TeX
19552 ファイル中に存
19553 在しうる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,\SpecialChar LyX
19554 は,ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
19555 は,いくつかの書式を
19556 \begin_inset Flex Code
19557 status collapsed
19558
19559 \begin_layout Plain Layout
19560 stdciteformats.inc
19561 \end_layout
19562
19563 \end_inset
19564
19565 ファイルで事前定義しており,これはほとんどの\SpecialChar LyX
19566 文書クラスにインクルードされています.
19567 \end_layout
19568
19569 \begin_layout Standard
19570 2つ目の例では,各行は,特定の引用コマンド(この例では
19571 \begin_inset Flex Code
19572 status collapsed
19573
19574 \begin_layout Plain Layout
19575
19576 \backslash
19577 cite
19578 \end_layout
19579
19580 \end_inset
19581
19582 及び
19583 \begin_inset Flex Code
19584 status collapsed
19585
19586 \begin_layout Plain Layout
19587
19588 \backslash
19589 citet
19590 \end_layout
19591
19592 \end_inset
19593
19594 )が,引用差込枠ラベルや引用ダイアログ,メニュー,XHTML出力でどのように表示されるべきかを定義しています.\SpecialChar LyX
19595 は,\SpecialChar LyX
19596 に同梱されている個別の
19597 \begin_inset Flex Code
19598 status collapsed
19599
19600 \begin_layout Plain Layout
19601 *.citeengine
19602 \end_layout
19603
19604 \end_inset
19605
19606 ファイル中において,
19607 \family sans
19608 文書\SpecialChar menuseparator
19609 設定\SpecialChar menuseparator
19610 書誌情報\SpecialChar ldots
19611
19612 \family default
19613 でサポートしている引用様式用に,そのような書式を定義しています(第
19614 \begin_inset CommandInset ref
19615 LatexCommand ref
19616 reference "subsec:引用エンジンファイル"
19617 plural "false"
19618 caps "false"
19619 noprefix "false"
19620
19621 \end_inset
19622
19623 節参照).
19624 \end_layout
19625
19626 \begin_layout Standard
19627 この定義は,Bib\SpecialChar TeX
19628 キーをその値で置換できる機能を持った,簡単な言語を使用しています.キーは,
19629 \begin_inset Flex Code
19630 status collapsed
19631
19632 \begin_layout Plain Layout
19633 %author%
19634 \end_layout
19635
19636 \end_inset
19637
19638 のように
19639 \begin_inset Flex Code
19640 status collapsed
19641
19642 \begin_layout Plain Layout
19643 %
19644 \end_layout
19645
19646 \end_inset
19647
19648 記号でくくらなくてはなりません.したがって,簡単な定義は以下のようになります.
19649 \end_layout
19650
19651 \begin_layout LyX-Code
19652 misc %author%, 
19653 \begin_inset Quotes eld
19654 \end_inset
19655
19656 %title%
19657 \begin_inset Quotes erd
19658 \end_inset
19659
19660
19661 \end_layout
19662
19663 \begin_layout Standard
19664 これは,「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
19665 \end_layout
19666
19667 \begin_layout Standard
19668 もちろん,キーが存在するときのみ,そのキーを出力したい時があるはずです.このようなときには
19669 \begin_inset Flex Code
19670 status collapsed
19671
19672 \begin_layout Plain Layout
19673 {%volume%[[vol.
19674 \begin_inset space ~
19675 \end_inset
19676
19677 %volume%]]}
19678 \end_layout
19679
19680 \end_inset
19681
19682 のように,条件付きの構成を使用することができます.これは,
19683 \begin_inset Flex Code
19684 status collapsed
19685
19686 \begin_layout Plain Layout
19687 volume
19688 \end_layout
19689
19690 \end_inset
19691
19692 が存在するならば,「vol.
19693 \begin_inset space ~
19694 \end_inset
19695
19696 」とvolumeキーを出力するという意味です.また,
19697 \begin_inset Newline newline
19698 \end_inset
19699
19700
19701 \begin_inset Flex Code
19702 status collapsed
19703
19704 \begin_layout Plain Layout
19705 {%author%[[%author%]][[%editor%, ed.]]}
19706 \end_layout
19707
19708 \end_inset
19709
19710
19711 \begin_inset Newline newline
19712 \end_inset
19713
19714 のように,条件の中にelse節を含めることも可能です.ここでは,もし
19715 \begin_inset Flex Code
19716 status collapsed
19717
19718 \begin_layout Plain Layout
19719 author
19720 \end_layout
19721
19722 \end_inset
19723
19724 キーが存在するならば出力され,そうでなければeditorキーと「,
19725 \begin_inset space ~
19726 \end_inset
19727
19728 ed.」が出力されます.ここでもキーは,
19729 \begin_inset Flex Code
19730 status collapsed
19731
19732 \begin_layout Plain Layout
19733 %
19734 \end_layout
19735
19736 \end_inset
19737
19738 記号でくくられていることに注意してください.条件全体は,波括弧で囲まれています.if節およびelse節は,「
19739 \begin_inset Flex Code
19740 status collapsed
19741
19742 \begin_layout Plain Layout
19743 [[
19744 \end_layout
19745
19746 \end_inset
19747
19748 」と「
19749 \begin_inset Flex Code
19750 status collapsed
19751
19752 \begin_layout Plain Layout
19753 ]]
19754 \end_layout
19755
19756 \end_inset
19757
19758 」の二重角括弧で囲まれています.これらすべてのあいだには,空白は入ってはなりません.
19759 \end_layout
19760
19761 \begin_layout Standard
19762 これらの条件文に使うことができるものには,項目キーの他に,以下の特殊キーがあります.
19763 \end_layout
19764
19765 \begin_layout Itemize
19766 \begin_inset Flex Code
19767 status collapsed
19768
19769 \begin_layout Plain Layout
19770 {%dialog%[[真]][[偽]]}
19771 \end_layout
19772
19773 \end_inset
19774
19775 : ダイアログとメニューに対しては「真」の部分を処理し,他の文脈(作業領域や書き出し)には「偽」の部分を処理します
19776 \end_layout
19777
19778 \begin_layout Itemize
19779 \begin_inset Flex Code
19780 status collapsed
19781
19782 \begin_layout Plain Layout
19783 {%export%[[真]][[偽]]}
19784 \end_layout
19785
19786 \end_inset
19787
19788 : 書き出しとメニューに対しては「真」の部分を処理し,他の文脈(作業領域やダイアログ)には「偽」の部分を処理します
19789 \end_layout
19790
19791 \begin_layout Itemize
19792 \begin_inset Flex Code
19793 status collapsed
19794
19795 \begin_layout Plain Layout
19796 {%next%[[真]]}
19797 \end_layout
19798
19799 \end_inset
19800
19801 : 他の項目が続く場合には「真」の部分を処理します(複数キーを持つ引用など)
19802 \end_layout
19803
19804 \begin_layout Itemize
19805 \begin_inset Flex Code
19806 status collapsed
19807
19808 \begin_layout Plain Layout
19809 {%second%[[真]][[偽]]}
19810 \end_layout
19811
19812 \end_inset
19813
19814 : これが複数項目の2番目の場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19815 \end_layout
19816
19817 \begin_layout Itemize
19818 \begin_inset Flex Code
19819 status collapsed
19820
19821 \begin_layout Plain Layout
19822 {%ifstar%[[真]][[偽]]}
19823 \end_layout
19824
19825 \end_inset
19826
19827 : (
19828 \begin_inset Flex Code
19829 status collapsed
19830
19831 \begin_layout Plain Layout
19832
19833 \backslash
19834 cite*
19835 \end_layout
19836
19837 \end_inset
19838
19839 など)星印付き引用コマンドの場合には「真」の部分を処理し,星印付きでない場合には「偽」の部分を処理します
19840 \end_layout
19841
19842 \begin_layout Itemize
19843 \begin_inset Flex Code
19844 status collapsed
19845
19846 \begin_layout Plain Layout
19847 {%ifentrytype:<type>%[[真]][[偽]]}
19848 \end_layout
19849
19850 \end_inset
19851
19852 : 現行の項目が
19853 \begin_inset Flex Code
19854 status collapsed
19855
19856 \begin_layout Plain Layout
19857 <型>
19858 \end_layout
19859
19860 \end_inset
19861
19862 に一致する場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:引用定義において
19863 \begin_inset Flex Code
19864 status collapsed
19865
19866 \begin_layout Plain Layout
19867 {%ifentrytype:book%[[これはbookです]][[これはbookではありません]]}
19868 \end_layout
19869
19870 \end_inset
19871
19872
19873 \end_layout
19874
19875 \begin_layout Itemize
19876 \begin_inset Flex Code
19877 status collapsed
19878
19879 \begin_layout Plain Layout
19880 {%ifmultiple:<authortype>%[[真]][[偽]]}
19881 \end_layout
19882
19883 \end_inset
19884
19885 : 現行の項目が著者型(著者・編者など)が複数の著者を含む場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:書誌情報定義において
19886 \begin_inset Flex Code
19887 status collapsed
19888
19889 \begin_layout Plain Layout
19890 {%ifmultiple:editor%[[eds.]][[ed.]]}
19891 \end_layout
19892
19893 \end_inset
19894
19895
19896 \end_layout
19897
19898 \begin_layout Itemize
19899 \begin_inset Flex Code
19900 status collapsed
19901
19902 \begin_layout Plain Layout
19903 {%ifqualified%[[真]][[偽]]}
19904 \end_layout
19905
19906 \end_inset
19907
19908 : 現行の引用がqualified citation listである(複数文献引用に対する
19909 \family sans
19910 Biblatex
19911 \family default
19912 特有の形式)場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19913 \end_layout
19914
19915 \begin_layout Standard
19916 \begin_inset Flex Code
19917 status collapsed
19918
19919 \begin_layout Plain Layout
19920 %author%
19921 \end_layout
19922
19923 \end_inset
19924
19925 は書誌情報ファイルに記録されている形のままの著者キーを出力すると述べました.これは「Miller, Peter and Smith, Mary
19926  and White, Jane」のような文字列に終わることがあり(Bib\SpecialChar TeX
19927 では著者を区切るのに「and」が用いられるため),望ましい結果ではありません.したがっ
19928 て,\SpecialChar LyX
19929 は,正しく整形された名前のリスト(これも翻訳の対象となります)を得るための方法を提供しています.以下のキーが提供されています.
19930 \end_layout
19931
19932 \begin_layout Enumerate
19933 書誌情報項目の主要著者・編者に適した,姓名付き名前リスト用.
19934 \begin_inset Flex Code
19935 status collapsed
19936
19937 \begin_layout Plain Layout
19938 <nametype>
19939 \end_layout
19940
19941 \end_inset
19942
19943 部分は要請されているリスト型を表します(例:
19944 \begin_inset Flex Code
19945 status collapsed
19946
19947 \begin_layout Plain Layout
19948 <nametype:author>
19949 \end_layout
19950
19951 \end_inset
19952
19953
19954 \end_layout
19955
19956 \begin_deeper
19957 \begin_layout Itemize
19958 \begin_inset Flex Code
19959 status collapsed
19960
19961 \begin_layout Plain Layout
19962 %abbrvnames:<nametype>%
19963 \end_layout
19964
19965 \end_inset
19966
19967
19968 \begin_inset Flex Code
19969 status collapsed
19970
19971 \begin_layout Plain Layout
19972 MaxCiteNames
19973 \end_layout
19974
19975 \end_inset
19976
19977 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
19978 \end_layout
19979
19980 \begin_layout Itemize
19981 \begin_inset Flex Code
19982 status collapsed
19983
19984 \begin_layout Plain Layout
19985 %fullnames:<nametype>%
19986 \end_layout
19987
19988 \end_inset
19989
19990 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
19991 \end_layout
19992
19993 \begin_layout Itemize
19994 \begin_inset Flex Code
19995 status collapsed
19996
19997 \begin_layout Plain Layout
19998 %forceabbrvnames:<nametype>%
19999 \end_layout
20000
20001 \end_inset
20002
20003
20004 \begin_inset Flex Code
20005 status collapsed
20006
20007 \begin_layout Plain Layout
20008 MaxCiteNames
20009 \end_layout
20010
20011 \end_inset
20012
20013 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20014 \end_layout
20015
20016 \end_deeper
20017 \begin_layout Enumerate
20018 書誌情報項目中の姓名の順序が異なっている場合の,姓名付き名前リスト(例:「Miller, John: 何らかの文, in: Mary Smith,
20019  ed.: A volume」
20020 \end_layout
20021
20022 \begin_deeper
20023 \begin_layout Itemize
20024 \begin_inset Flex Code
20025 status collapsed
20026
20027 \begin_layout Plain Layout
20028 %abbrvbynames:<nametype>%
20029 \end_layout
20030
20031 \end_inset
20032
20033
20034 \begin_inset Flex Code
20035 status collapsed
20036
20037 \begin_layout Plain Layout
20038 MaxCiteNames
20039 \end_layout
20040
20041 \end_inset
20042
20043 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
20044 \end_layout
20045
20046 \begin_layout Itemize
20047 \begin_inset Flex Code
20048 status collapsed
20049
20050 \begin_layout Plain Layout
20051 %fullbynames:<nametype>%
20052 \end_layout
20053
20054 \end_inset
20055
20056 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
20057 \end_layout
20058
20059 \begin_layout Itemize
20060 \begin_inset Flex Code
20061 status collapsed
20062
20063 \begin_layout Plain Layout
20064 %forceabbrvbynames:<nametype>%
20065 \end_layout
20066
20067 \end_inset
20068
20069
20070 \begin_inset Flex Code
20071 status collapsed
20072
20073 \begin_layout Plain Layout
20074 MaxCiteNames
20075 \end_layout
20076
20077 \end_inset
20078
20079 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20080 \end_layout
20081
20082 \end_deeper
20083 \begin_layout Enumerate
20084 著者-発行年引用ラベルで用いられるような,姓のみを含む姓リスト.これらは
20085 \begin_inset Flex Code
20086 status collapsed
20087
20088 \begin_layout Plain Layout
20089 <nametype>
20090 \end_layout
20091
20092 \end_inset
20093
20094 部分を取りませんが,(著者-発行年ラベルで通例であるように)常に著者リストか,存在しない場合には編者リストを返します.
20095 \end_layout
20096
20097 \begin_deeper
20098 \begin_layout Itemize
20099 \begin_inset Flex Code
20100 status collapsed
20101
20102 \begin_layout Plain Layout
20103 %abbrvciteauthor%
20104 \end_layout
20105
20106 \end_inset
20107
20108
20109 \begin_inset Flex Code
20110 status collapsed
20111
20112 \begin_layout Plain Layout
20113 MaxCiteNames
20114 \end_layout
20115
20116 \end_inset
20117
20118 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
20119 \end_layout
20120
20121 \begin_layout Itemize
20122 \begin_inset Flex Code
20123 status collapsed
20124
20125 \begin_layout Plain Layout
20126 %fullciteauthor%
20127 \end_layout
20128
20129 \end_inset
20130
20131 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
20132 \end_layout
20133
20134 \begin_layout Itemize
20135 \begin_inset Flex Code
20136 status collapsed
20137
20138 \begin_layout Plain Layout
20139 %forceabbrvciteauthor%
20140 \end_layout
20141
20142 \end_inset
20143
20144
20145 \begin_inset Flex Code
20146 status collapsed
20147
20148 \begin_layout Plain Layout
20149 MaxCiteNames
20150 \end_layout
20151
20152 \end_inset
20153
20154 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20155 \end_layout
20156
20157 \end_deeper
20158 \begin_layout Standard
20159 前二者の姓名の順序は,下記のマクロで変更することができます.
20160 \end_layout
20161
20162 \begin_layout Itemize
20163 \begin_inset Flex Code
20164 status collapsed
20165
20166 \begin_layout Plain Layout
20167 !firstnameform %surname%, %prename%
20168 \end_layout
20169
20170 \end_inset
20171
20172 (1の場合の最初の著者)
20173 \end_layout
20174
20175 \begin_layout Itemize
20176 \begin_inset Flex Code
20177 status collapsed
20178
20179 \begin_layout Plain Layout
20180 !othernameform %surname%, %prename%
20181 \end_layout
20182
20183 \end_inset
20184
20185 (1の場合の他の著者)
20186 \end_layout
20187
20188 \begin_layout Itemize
20189 \begin_inset Flex Code
20190 status collapsed
20191
20192 \begin_layout Plain Layout
20193 !firstbynameform %prename% %surname%
20194 \end_layout
20195
20196 \end_inset
20197
20198 (2の場合の最初の著者)
20199 \end_layout
20200
20201 \begin_layout Itemize
20202 \begin_inset Flex Code
20203 status collapsed
20204
20205 \begin_layout Plain Layout
20206 !otherbynameform %prename% %surname%
20207 \end_layout
20208
20209 \end_inset
20210
20211 (2の場合の他の著者)
20212 \end_layout
20213
20214 \begin_layout Standard
20215 これによって,名前を「Miller, Peter and Mary Smith: \SpecialChar ldots
20216 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
20217 」のように
20218 設定することができます.
20219 \end_layout
20220
20221 \begin_layout Standard
20222 もう一つ,定義中で使用することのできる文法として,
20223 \begin_inset Flex Code
20224 status collapsed
20225
20226 \begin_layout Plain Layout
20227 {!<i>!}
20228 \end_layout
20229
20230 \end_inset
20231
20232 という形をしたものがあります.これは,「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,平文を書き出すときには,HTMLタ
20233 グを出力させたくはありませんから,HTMLタグは「
20234 \begin_inset Flex Code
20235 status collapsed
20236
20237 \begin_layout Plain Layout
20238 {!
20239 \end_layout
20240
20241 \end_inset
20242
20243 」と「
20244 \begin_inset Flex Code
20245 status collapsed
20246
20247 \begin_layout Plain Layout
20248 !}
20249 \end_layout
20250
20251 \end_inset
20252
20253 」でくるんでやらなくてはならないのです.
20254 \end_layout
20255
20256 \begin_layout Standard
20257 \begin_inset Flex Code
20258 status collapsed
20259
20260 \begin_layout Plain Layout
20261 CiteFormat
20262 \end_layout
20263
20264 \end_inset
20265
20266 ブロックでは,他に2つの特殊な定義が可能です.一つめの例としては,
20267 \end_layout
20268
20269 \begin_layout LyX-Code
20270 !quotetitle 
20271 \begin_inset Quotes eld
20272 \end_inset
20273
20274 %title%
20275 \begin_inset Quotes erd
20276 \end_inset
20277
20278
20279 \end_layout
20280
20281 \begin_layout Standard
20282 といった例が挙げられます.これは,短縮形ないしはマクロであり,
20283 \begin_inset Flex Code
20284 status collapsed
20285
20286 \begin_layout Plain Layout
20287 %!quotetitle%
20288 \end_layout
20289
20290 \end_inset
20291
20292 のように,これがキーであるかのように扱って使用することができます.\SpecialChar LyX
20293 は,
20294 \begin_inset Flex Code
20295 status collapsed
20296
20297 \begin_layout Plain Layout
20298 %!quotetitle%
20299 \end_layout
20300
20301 \end_inset
20302
20303 を,そこで定義されているものを扱う場合と同じように取り扱います.ですから,明白な警告を敢えてさせて頂くと,
20304 \end_layout
20305
20306 \begin_layout LyX-Code
20307 !funfun %funfun%
20308 \end_layout
20309
20310 \begin_layout Standard
20311 のようなことはしないでください.\SpecialChar LyX
20312 は,無限ループに陥るようなことはありませんが,諦めるまでに時間のかかる長いループに入るかもしれません.
20313 \end_layout
20314
20315 \begin_layout Standard
20316 特殊な定義の二つめは,
20317 \end_layout
20318
20319 \begin_layout LyX-Code
20320 B_pptext pp.
20321 \end_layout
20322
20323 \begin_layout Standard
20324 のようなものです.これは翻訳対象となるテキスト部分を定義し,これによって書誌情報や引用の対応する部分が翻訳されるようになります.
20325 \begin_inset Flex Code
20326 status collapsed
20327
20328 \begin_layout Plain Layout
20329 %B_pptext%
20330 \end_layout
20331
20332 \end_inset
20333
20334 のように,これをキーとして扱って,定義の中に入れることもできます.
20335 \lang english
20336 Note that there are two different translation paths: All definitions starting
20337  with 
20338 \begin_inset Flex Code
20339 status collapsed
20340
20341 \begin_layout Plain Layout
20342
20343 \lang english
20344 B_
20345 \end_layout
20346
20347 \end_inset
20348
20349 , such as in the example above, will be translated to the currently active
20350  buffer language (so the translation will match the generated document).
20351  All definitions starting with underscore only will be translated to the
20352  GUI language.
20353  This is the proper translation for strings that only occur in the dialogs
20354  or on buttons, such as this one:
20355 \end_layout
20356
20357 \begin_layout LyX-Code
20358
20359 \lang english
20360 _addtobib Add to bibliography only.
20361 \end_layout
20362
20363 \begin_layout Standard
20364 これらのうちいくつかは
20365 \lang english
20366 translatable strings
20367 \lang japanese
20368
20369 \begin_inset Flex Code
20370 status collapsed
20371
20372 \begin_layout Plain Layout
20373 stdciteformats.inc
20374 \end_layout
20375
20376 \end_inset
20377
20378 及び様々な
20379 \begin_inset Flex Code
20380 status collapsed
20381
20382 \begin_layout Plain Layout
20383 *.citeengine
20384 \end_layout
20385
20386 \end_inset
20387
20388 ファイル中に事前定義されています.これは,上記で述べたような意味でのマクロではないことに注意してください.
20389 \end_layout
20390
20391 \begin_layout Standard
20392 以下は,これらの機能を全て使った例です.
20393 \begin_inset VSpace defskip
20394 \end_inset
20395
20396
20397 \end_layout
20398
20399 \begin_layout Standard
20400 \noindent
20401
20402 \family sans
20403 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %B_edtext%, ]]}]]}
20404 \end_layout
20405
20406 \begin_layout Standard
20407 \begin_inset VSpace defskip
20408 \end_inset
20409
20410 これは,
20411 \begin_inset Flex Code
20412 status collapsed
20413
20414 \begin_layout Plain Layout
20415 author
20416 \end_layout
20417
20418 \end_inset
20419
20420 キーが定義されているならば,著者とコンマを出力し,
20421 \begin_inset Flex Code
20422 status collapsed
20423
20424 \begin_layout Plain Layout
20425 author
20426 \end_layout
20427
20428 \end_inset
20429
20430 キーが定義されておらず,
20431 \begin_inset Flex Code
20432 status collapsed
20433
20434 \begin_layout Plain Layout
20435 editor
20436 \end_layout
20437
20438 \end_inset
20439
20440 キーが定義されているならば,編集者名の後に
20441 \begin_inset Flex Code
20442 status collapsed
20443
20444 \begin_layout Plain Layout
20445 B_edtext
20446 \end_layout
20447
20448 \end_inset
20449
20450 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
20451 \begin_inset Flex Code
20452 status collapsed
20453
20454 \begin_layout Plain Layout
20455 stdciteformats.inc
20456 \end_layout
20457
20458 \end_inset
20459
20460 の中で定義されていますので,このファイルをまず読みこめば,ご自身の定義ないしは再定義の中で使用することができます.
20461 \end_layout
20462
20463 \begin_layout Section
20464 \begin_inset CommandInset label
20465 LatexCommand label
20466 name "sec:XHTML出力のタグ"
20467
20468 \end_inset
20469
20470 XHTML出力のタグ
20471 \end_layout
20472
20473 \begin_layout Standard
20474 \SpecialChar LaTeX
20475 やDocBookと同様,\SpecialChar LyX
20476 のXHTML出力の書式も,レイアウト情報によって制御することができます.一般的に,\SpecialChar LyX
20477 は適切な既定値を提供し,前述したように,他のレイアウト
20478 タグに基づいて,既定のCSSスタイルの構成まで行ないます.たとえば,章見出しを適切に整形するためのCSSを書き出すために,\SpecialChar LyX
20479 は,章様式の
20480 \begin_inset Flex Code
20481 status collapsed
20482
20483 \begin_layout Plain Layout
20484 Font
20485 \end_layout
20486
20487 \end_inset
20488
20489 宣言で提供されている情報を利用しようと試みます.
20490 \end_layout
20491
20492 \begin_layout Standard
20493 したがって,多くの場合,使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,まったく何もしなくてよいことになるでしょう.しかしながら
20494 ,これが必要になる場合もあるので,\SpecialChar LyX
20495 は,生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,たくさん提供しています.
20496 \end_layout
20497
20498 \begin_layout Standard
20499 様式宣言や差込枠宣言の外で使用することができるタグに,
20500 \begin_inset Flex Code
20501 status collapsed
20502
20503 \begin_layout Plain Layout
20504 HTMLPreamble
20505 \end_layout
20506
20507 \end_inset
20508
20509
20510 \begin_inset Flex Code
20511 status collapsed
20512
20513 \begin_layout Plain Layout
20514 AddToHTMLPreamble
20515 \end_layout
20516
20517 \end_inset
20518
20519 の2つがあることに注意してください.これらの詳細については,
20520 \begin_inset CommandInset ref
20521 LatexCommand ref
20522 reference "subsec:汎用テキストクラスパラメータ"
20523
20524 \end_inset
20525
20526 をご覧ください.
20527 \end_layout
20528
20529 \begin_layout Subsection
20530 \begin_inset CommandInset label
20531 LatexCommand label
20532 name "subsec:段落様式-XHTML"
20533
20534 \end_inset
20535
20536 段落様式
20537 \end_layout
20538
20539 \begin_layout Standard
20540 \SpecialChar LyX
20541 が段落のために出力するXHTMLの種類は,通常の段落を取り扱っているのか,コマンドを取り扱っているのか,あるいは環境を取り扱っているのかに依存し,これは対応する
20542 \begin_inset Flex Code
20543 status collapsed
20544
20545 \begin_layout Plain Layout
20546 \SpecialChar LaTeX
20547 Type
20548 \end_layout
20549
20550 \end_inset
20551
20552 タグの内容によって決定されます.
20553 \end_layout
20554
20555 \begin_layout Standard
20556 コマンドや通常の段落の場合には,XHTML出力は以下の形になります.
20557 \end_layout
20558
20559 \begin_layout LyX-Code
20560
20561 \family sans
20562 <tag attr=
20563 \begin_inset Quotes erd
20564 \end_inset
20565
20566 value
20567 \begin_inset Quotes erd
20568 \end_inset
20569
20570 >
20571 \end_layout
20572
20573 \begin_layout LyX-Code
20574
20575 \family sans
20576 <labeltag attr=
20577 \begin_inset Quotes erd
20578 \end_inset
20579
20580 value
20581 \begin_inset Quotes erd
20582 \end_inset
20583
20584 >ラベル</labeltag>
20585 \end_layout
20586
20587 \begin_layout LyX-Code
20588
20589 \family sans
20590 段落の内容
20591 \end_layout
20592
20593 \begin_layout LyX-Code
20594
20595 \family sans
20596 </tag>
20597 \end_layout
20598
20599 \begin_layout Standard
20600 もちろん,段落にラベルがなければ,ラベルタグは省略することができます.
20601 \end_layout
20602
20603 \begin_layout Standard
20604 環境のうち,リストの変種でないものに関しては,XHTMLは以下の形を取ります.
20605 \end_layout
20606
20607 \begin_layout LyX-Code
20608
20609 \family sans
20610 <tag attr=
20611 \begin_inset Quotes erd
20612 \end_inset
20613
20614 value
20615 \begin_inset Quotes erd
20616 \end_inset
20617
20618 >
20619 \end_layout
20620
20621 \begin_layout LyX-Code
20622
20623 \family sans
20624 <itemtag attr=
20625 \begin_inset Quotes erd
20626 \end_inset
20627
20628 value
20629 \begin_inset Quotes erd
20630 \end_inset
20631
20632 ><labeltag attr=
20633 \begin_inset Quotes erd
20634 \end_inset
20635
20636 value
20637 \begin_inset Quotes erd
20638 \end_inset
20639
20640 >環境ラベル</labeltag>最初の段落.
20641 \end_layout
20642
20643 \begin_layout LyX-Code
20644
20645 \family sans
20646 </itemtag>
20647 \end_layout
20648
20649 \begin_layout LyX-Code
20650
20651 \family sans
20652 <itemtag>二つめの段落.</itemtag>
20653 \end_layout
20654
20655 \begin_layout LyX-Code
20656
20657 \family sans
20658 </tag>
20659 \end_layout
20660
20661 \begin_layout Standard
20662 ラベルは,たとえば定理の場合にそうであるように,最初の段落にだけ出力されることに注意してください.
20663 \end_layout
20664
20665 \begin_layout Standard
20666 リストに関しては,次のような形になります.
20667 \end_layout
20668
20669 \begin_layout LyX-Code
20670
20671 \family sans
20672 <tag attr=
20673 \begin_inset Quotes erd
20674 \end_inset
20675
20676 value
20677 \begin_inset Quotes erd
20678 \end_inset
20679
20680 >
20681 \end_layout
20682
20683 \begin_layout LyX-Code
20684
20685 \family sans
20686 <itemtag attr=
20687 \begin_inset Quotes erd
20688 \end_inset
20689
20690 value
20691 \begin_inset Quotes erd
20692 \end_inset
20693
20694 ><labeltag attr=
20695 \begin_inset Quotes erd
20696 \end_inset
20697
20698 value
20699 \begin_inset Quotes erd
20700 \end_inset
20701
20702 >リストのラベル</labeltag>最初の項目.</itemtag>
20703 \end_layout
20704
20705 \begin_layout LyX-Code
20706
20707 \family sans
20708 <itemtag attr=
20709 \begin_inset Quotes erd
20710 \end_inset
20711
20712 value
20713 \begin_inset Quotes erd
20714 \end_inset
20715
20716 ><labeltag attr=
20717 \begin_inset Quotes erd
20718 \end_inset
20719
20720 value
20721 \begin_inset Quotes erd
20722 \end_inset
20723
20724 >リストのラベル</labeltag>二つめの項目.</itemtag>
20725 \end_layout
20726
20727 \begin_layout LyX-Code
20728
20729 \family sans
20730 </tag>
20731 \end_layout
20732
20733 \begin_layout LyX-Code
20734
20735 \end_layout
20736
20737 \begin_layout LyX-Code
20738
20739 \family sans
20740 <tag attr=
20741 \begin_inset Quotes erd
20742 \end_inset
20743
20744 value
20745 \begin_inset Quotes erd
20746 \end_inset
20747
20748 >
20749 \end_layout
20750
20751 \begin_layout LyX-Code
20752
20753 \family sans
20754 <labeltag attr=
20755 \begin_inset Quotes erd
20756 \end_inset
20757
20758 value
20759 \begin_inset Quotes erd
20760 \end_inset
20761
20762 >リストのラベル</labeltag><itemtag attr=
20763 \begin_inset Quotes erd
20764 \end_inset
20765
20766 value
20767 \begin_inset Quotes erd
20768 \end_inset
20769
20770 >最初の項目.</itemtag>
20771 \end_layout
20772
20773 \begin_layout LyX-Code
20774
20775 \family sans
20776 <labeltag attr=
20777 \begin_inset Quotes erd
20778 \end_inset
20779
20780 value
20781 \begin_inset Quotes erd
20782 \end_inset
20783
20784 >リストのラベル</labeltag><itemtag attr=
20785 \begin_inset Quotes erd
20786 \end_inset
20787
20788 value
20789 \begin_inset Quotes erd
20790 \end_inset
20791
20792 >二つめの項目</itemtag>
20793 \end_layout
20794
20795 \begin_layout LyX-Code
20796
20797 \family sans
20798 </tag>
20799 \end_layout
20800
20801 \begin_layout Standard
20802 ここで
20803 \begin_inset Flex Code
20804 status collapsed
20805
20806 \begin_layout Plain Layout
20807 labeltag
20808 \end_layout
20809
20810 \end_inset
20811
20812
20813 \begin_inset Flex Code
20814 status collapsed
20815
20816 \begin_layout Plain Layout
20817 itemtag
20818 \end_layout
20819
20820 \end_inset
20821
20822 の順序が違っていることに注意してください.どちらの順序になるかは,
20823 \begin_inset Flex Code
20824 status collapsed
20825
20826 \begin_layout Plain Layout
20827 HTMLLabelFirst
20828 \end_layout
20829
20830 \end_inset
20831
20832 の設定に依存します.もし
20833 \begin_inset Flex Code
20834 status collapsed
20835
20836 \begin_layout Plain Layout
20837 HTMLLabelFirst
20838 \end_layout
20839
20840 \end_inset
20841
20842 が偽であれば(既定値),最初のケースのようになり,これが真であれば,二番めのケースのように,labelがitemの外側に来るようになります.
20843 \end_layout
20844
20845 \begin_layout Standard
20846 各段落の特定のタグ出力や属性出力は,以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,前述のように,多くの場合,\SpecialChar LyX
20847 は適切な既定値を生成
20848 するので,たいしたことをしなくても,望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,自分の好みにあわせて微調整する目的
20849 でここにあるものと考えてください.
20850 \end_layout
20851
20852 \begin_layout Description
20853 \begin_inset Flex Code
20854 status collapsed
20855
20856 \begin_layout Plain Layout
20857 HTMLAttr
20858 \end_layout
20859
20860 \end_inset
20861
20862  [
20863 \begin_inset Flex Code
20864 status collapsed
20865
20866 \begin_layout Plain Layout
20867 文字列
20868 \end_layout
20869
20870 \end_inset
20871
20872 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
20873 \begin_inset Flex Code
20874 status collapsed
20875
20876 \begin_layout Plain Layout
20877 class=`mydiv'
20878 \end_layout
20879
20880 \end_inset
20881
20882 」のようなものです.既定においては,\SpecialChar LyX
20883 は「
20884 \begin_inset Flex Code
20885 status collapsed
20886
20887 \begin_layout Plain Layout
20888 class=`レイアウト名'
20889 \end_layout
20890
20891 \end_inset
20892
20893 」と出力します.ここで
20894 \begin_inset Flex Code
20895 status collapsed
20896
20897 \begin_layout Plain Layout
20898 レイアウト名
20899 \end_layout
20900
20901 \end_inset
20902
20903 は,レイアウトの\SpecialChar LyX
20904 名であり,chapterのように小文字で記述します.
20905 \end_layout
20906
20907 \begin_layout Description
20908 \begin_inset Flex Code
20909 status collapsed
20910
20911 \begin_layout Plain Layout
20912 HTMLForceCSS
20913 \end_layout
20914
20915 \end_inset
20916
20917  [
20918 \begin_inset Flex Code
20919 status collapsed
20920
20921 \begin_layout Plain Layout
20922
20923 \emph on
20924 0
20925 \emph default
20926 ,1
20927 \end_layout
20928
20929 \end_inset
20930
20931 ] 
20932 \begin_inset Flex Code
20933 status collapsed
20934
20935 \begin_layout Plain Layout
20936 HTMLStyle
20937 \end_layout
20938
20939 \end_inset
20940
20941 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
20942 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
20943 \begin_inset Flex Code
20944 status collapsed
20945
20946 \begin_layout Plain Layout
20947 1
20948 \end_layout
20949
20950 \end_inset
20951
20952 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
20953 \begin_inset Flex Code
20954 status collapsed
20955
20956 \begin_layout Plain Layout
20957 0
20958 \end_layout
20959
20960 \end_inset
20961
20962 です.
20963 \end_layout
20964
20965 \begin_layout Description
20966 \begin_inset Flex Code
20967 status collapsed
20968
20969 \begin_layout Plain Layout
20970 HTMLItem
20971 \end_layout
20972
20973 \end_inset
20974
20975  [
20976 \begin_inset Flex Code
20977 status collapsed
20978
20979 \begin_layout Plain Layout
20980 文字列
20981 \end_layout
20982
20983 \end_inset
20984
20985 ] 環境の段落に使用されるタグ.上記各例の
20986 \begin_inset Flex Code
20987 status collapsed
20988
20989 \begin_layout Plain Layout
20990 itemtag
20991 \end_layout
20992
20993 \end_inset
20994
20995 を置き換えます.既定値は
20996 \begin_inset Flex Code
20997 status collapsed
20998
20999 \begin_layout Plain Layout
21000 div
21001 \end_layout
21002
21003 \end_inset
21004
21005 です.
21006 \end_layout
21007
21008 \begin_layout Description
21009 \begin_inset Flex Code
21010 status collapsed
21011
21012 \begin_layout Plain Layout
21013 HTMLItemAttr
21014 \end_layout
21015
21016 \end_inset
21017
21018  [
21019 \begin_inset Flex Code
21020 status collapsed
21021
21022 \begin_layout Plain Layout
21023 文字列
21024 \end_layout
21025
21026 \end_inset
21027
21028 ] itemタグの属性.既定値は
21029 \begin_inset Flex Code
21030 status collapsed
21031
21032 \begin_layout Plain Layout
21033 class=`レイアウト名_item'
21034 \end_layout
21035
21036 \end_inset
21037
21038 です.ここには,様式情報は含まれては
21039 \emph on
21040 なりません
21041 \emph default
21042 .その目的のためには,
21043 \begin_inset Flex Code
21044 status collapsed
21045
21046 \begin_layout Plain Layout
21047 HTMLStyle
21048 \end_layout
21049
21050 \end_inset
21051
21052 を使用してください.
21053 \end_layout
21054
21055 \begin_layout Description
21056 \begin_inset Flex Code
21057 status collapsed
21058
21059 \begin_layout Plain Layout
21060 HTMLLabel
21061 \end_layout
21062
21063 \end_inset
21064
21065  [
21066 \begin_inset Flex Code
21067 status collapsed
21068
21069 \begin_layout Plain Layout
21070 文字列
21071 \end_layout
21072
21073 \end_inset
21074
21075 ] 段落と項目ラベルに使用されるタグ.上記各例の
21076 \begin_inset Flex Code
21077 status collapsed
21078
21079 \begin_layout Plain Layout
21080 labeltag
21081 \end_layout
21082
21083 \end_inset
21084
21085 を置き換えます.
21086 \begin_inset Flex Code
21087 status collapsed
21088
21089 \begin_layout Plain Layout
21090 LabelType
21091 \end_layout
21092
21093 \end_inset
21094
21095
21096 \begin_inset Flex Code
21097 status collapsed
21098
21099 \begin_layout Plain Layout
21100 Top_Environment
21101 \end_layout
21102
21103 \end_inset
21104
21105
21106 \begin_inset Flex Code
21107 status collapsed
21108
21109 \begin_layout Plain Layout
21110 Centered_Top_Environment
21111 \end_layout
21112
21113 \end_inset
21114
21115 の時は,既定値は
21116 \begin_inset Flex Code
21117 status collapsed
21118
21119 \begin_layout Plain Layout
21120 div
21121 \end_layout
21122
21123 \end_inset
21124
21125 ですが,それ以外の時の既定値は
21126 \begin_inset Flex Code
21127 status collapsed
21128
21129 \begin_layout Plain Layout
21130 span
21131 \end_layout
21132
21133 \end_inset
21134
21135 です.
21136 \end_layout
21137
21138 \begin_layout Description
21139 \begin_inset Flex Code
21140 status collapsed
21141
21142 \begin_layout Plain Layout
21143 HTMLLabelAttr
21144 \end_layout
21145
21146 \end_inset
21147
21148  [
21149 \begin_inset Flex Code
21150 status collapsed
21151
21152 \begin_layout Plain Layout
21153 文字列
21154 \end_layout
21155
21156 \end_inset
21157
21158 ] labelタグの属性.既定値は
21159 \begin_inset Flex Code
21160 status collapsed
21161
21162 \begin_layout Plain Layout
21163 class=`レイアウト名_label'
21164 \end_layout
21165
21166 \end_inset
21167
21168 です.ここには,様式情報は含まれては
21169 \emph on
21170 なりません
21171 \emph default
21172 .その目的のためには,
21173 \begin_inset Flex Code
21174 status collapsed
21175
21176 \begin_layout Plain Layout
21177 HTMLStyle
21178 \end_layout
21179
21180 \end_inset
21181
21182 を使用してください.
21183 \end_layout
21184
21185 \begin_layout Description
21186 \begin_inset Flex Code
21187 status collapsed
21188
21189 \begin_layout Plain Layout
21190 HTMLLabelFirst
21191 \end_layout
21192
21193 \end_inset
21194
21195  [
21196 \begin_inset Flex Code
21197 status collapsed
21198
21199 \begin_layout Plain Layout
21200
21201 \emph on
21202 0
21203 \emph default
21204 ,1
21205 \end_layout
21206
21207 \end_inset
21208
21209 ] このタグは,リスト関係環境でのみ意味を持ち,labelタグが,itemタグの前に出力されるか,中に出力されるかを制御します.これは,たとえば,descrip
21210 tion環境の中で,
21211 \begin_inset Flex Code
21212 status collapsed
21213
21214 \begin_layout Plain Layout
21215 `<dt>\SpecialChar ldots
21216 </dt><dd>\SpecialChar ldots
21217 </dd>
21218 \end_layout
21219
21220 \end_inset
21221
21222 という形を得るために使用されます.既定値は
21223 \begin_inset Flex Code
21224 status collapsed
21225
21226 \begin_layout Plain Layout
21227 0
21228 \end_layout
21229
21230 \end_inset
21231
21232 で,labelタグはitemタグの中に出力されます.
21233 \end_layout
21234
21235 \begin_layout Description
21236 \begin_inset Flex Code
21237 status collapsed
21238
21239 \begin_layout Plain Layout
21240 HTMLPreamble
21241 \end_layout
21242
21243 \end_inset
21244
21245  この様式が使用されたときに,
21246 \begin_inset Flex Code
21247 status collapsed
21248
21249 \begin_layout Plain Layout
21250 <head>
21251 \end_layout
21252
21253 \end_inset
21254
21255 セクションに出力される情報.これは,たとえば,
21256 \begin_inset Flex Code
21257 status collapsed
21258
21259 \begin_layout Plain Layout
21260 onclick
21261 \end_layout
21262
21263 \end_inset
21264
21265 ハンドラを定義するために
21266 \begin_inset Flex Code
21267 status collapsed
21268
21269 \begin_layout Plain Layout
21270 <script>
21271 \end_layout
21272
21273 \end_inset
21274
21275 ブロックをインクルードするのに使用することができます.
21276 \end_layout
21277
21278 \begin_layout Description
21279 \begin_inset Flex Code
21280 status collapsed
21281
21282 \begin_layout Plain Layout
21283 HTMLStyle
21284 \end_layout
21285
21286 \end_inset
21287
21288   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21289 \begin_inset Flex Code
21290 status collapsed
21291
21292 \begin_layout Plain Layout
21293 <style>
21294 \end_layout
21295
21296 \end_inset
21297
21298 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21299 \begin_inset Flex Code
21300 status collapsed
21301
21302 \begin_layout Plain Layout
21303 EndHTMLStyle
21304 \end_layout
21305
21306 \end_inset
21307
21308 で閉じなくてはなりません.
21309 \end_layout
21310
21311 \begin_layout Description
21312 \begin_inset Flex Code
21313 status collapsed
21314
21315 \begin_layout Plain Layout
21316 HTMLTag
21317 \end_layout
21318
21319 \end_inset
21320
21321  [
21322 \begin_inset Flex Code
21323 status collapsed
21324
21325 \begin_layout Plain Layout
21326 文字列
21327 \end_layout
21328
21329 \end_inset
21330
21331 ] 主幹ラベルに使用されるタグ.上記各例の
21332 \begin_inset Flex Code
21333 status collapsed
21334
21335 \begin_layout Plain Layout
21336 tag
21337 \end_layout
21338
21339 \end_inset
21340
21341 を置き換えます.既定値は
21342 \begin_inset Flex Code
21343 status collapsed
21344
21345 \begin_layout Plain Layout
21346 div
21347 \end_layout
21348
21349 \end_inset
21350
21351 です.
21352 \end_layout
21353
21354 \begin_layout Description
21355 \begin_inset Flex Code
21356 status collapsed
21357
21358 \begin_layout Plain Layout
21359 HTMLTitle
21360 \end_layout
21361
21362 \end_inset
21363
21364  [
21365 \begin_inset Flex Code
21366 status collapsed
21367
21368 \begin_layout Plain Layout
21369
21370 \emph on
21371 0
21372 \emph default
21373 ,1
21374 \end_layout
21375
21376 \end_inset
21377
21378 ] この様式が,XHTMLファイルの
21379 \begin_inset Flex Code
21380 status collapsed
21381
21382 \begin_layout Plain Layout
21383 <title>
21384 \end_layout
21385
21386 \end_inset
21387
21388 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
21389 \begin_inset Flex Code
21390 status collapsed
21391
21392 \begin_layout Plain Layout
21393 stdtitle.inc
21394 \end_layout
21395
21396 \end_inset
21397
21398 ファイルでは,
21399 \begin_inset Flex Code
21400 status collapsed
21401
21402 \begin_layout Plain Layout
21403 title
21404 \end_layout
21405
21406 \end_inset
21407
21408 環境のこの項目を真に設定しています.
21409 \end_layout
21410
21411 \begin_layout Subsection
21412 差込枠レイアウトXHTML
21413 \end_layout
21414
21415 \begin_layout Standard
21416 差込枠のXHTML出力も,レイアウトファイル内の情報によって制御することができます
21417 \begin_inset Foot
21418 status collapsed
21419
21420 \begin_layout Plain Layout
21421 現在のところ,これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されませ
21422 ん.
21423 \end_layout
21424
21425 \end_inset
21426
21427 .ここでも,\SpecialChar LyX
21428 は適切な既定値を提供しようと試み,既定のCSS様式を構成します.しかし,すべてカスタマイズ可能です.
21429 \end_layout
21430
21431 \begin_layout Standard
21432 \SpecialChar LyX
21433 が差込枠用に出力するXHTMLは,以下の形を取ります.
21434 \end_layout
21435
21436 \begin_layout LyX-Code
21437 <tag attr=
21438 \begin_inset Quotes erd
21439 \end_inset
21440
21441 value
21442 \begin_inset Quotes erd
21443 \end_inset
21444
21445 >
21446 \end_layout
21447
21448 \begin_layout LyX-Code
21449 <labeltag>ラベル</labeltag>
21450 \end_layout
21451
21452 \begin_layout LyX-Code
21453 <innertag attr=
21454 \begin_inset Quotes erd
21455 \end_inset
21456
21457 value
21458 \begin_inset Quotes erd
21459 \end_inset
21460
21461 >差込枠の内容.</innertag>
21462 \end_layout
21463
21464 \begin_layout LyX-Code
21465 </tag>
21466 \end_layout
21467
21468 \begin_layout Standard
21469 差込枠が多段落を許可している—つまり
21470 \begin_inset Flex Code
21471 status collapsed
21472
21473 \begin_layout Plain Layout
21474 MultiPar
21475 \end_layout
21476
21477 \end_inset
21478
21479 が真—ならば,差込枠の内容は,それ自身段落として出力され,それらの段落に用いられる様式(標準,引用など)を用いて整形されます.もちろん,段落にラベルがなければ,
21480 labelタグは省略され,ラベルがあれば,現在のところ,つねに
21481 \begin_inset Flex Code
21482 status collapsed
21483
21484 \begin_layout Plain Layout
21485 span
21486 \end_layout
21487
21488 \end_inset
21489
21490 が用いられます.innerタグは非必須であり,既定では出力されません.各差込枠用に出力される特定のタグや属性は,以下のレイアウトタグによって制御することができま
21491 す.
21492 \end_layout
21493
21494 \begin_layout Description
21495 \begin_inset Flex Code
21496 status collapsed
21497
21498 \begin_layout Plain Layout
21499 HTMLAttr
21500 \end_layout
21501
21502 \end_inset
21503
21504  [
21505 \begin_inset Flex Code
21506 status collapsed
21507
21508 \begin_layout Plain Layout
21509 文字列
21510 \end_layout
21511
21512 \end_inset
21513
21514 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21515 \begin_inset Flex Code
21516 status collapsed
21517
21518 \begin_layout Plain Layout
21519 class=`myinset' onclick=`\SpecialChar ldots
21520 '
21521 \end_layout
21522
21523 \end_inset
21524
21525 」のようなものです.既定においては,\SpecialChar LyX
21526 は「
21527 \begin_inset Flex Code
21528 status collapsed
21529
21530 \begin_layout Plain Layout
21531 class=`差込枠名'
21532 \end_layout
21533
21534 \end_inset
21535
21536 」と出力します.ここで
21537 \begin_inset Flex Code
21538 status collapsed
21539
21540 \begin_layout Plain Layout
21541 差込枠名
21542 \end_layout
21543
21544 \end_inset
21545
21546 は,差込枠の\SpecialChar LyX
21547 名であり,小文字で記述します.アルファベットや数字以外の文字は,アンダースコアに置き換えられます.
21548 \end_layout
21549
21550 \begin_layout Description
21551 \begin_inset Flex Code
21552 status collapsed
21553
21554 \begin_layout Plain Layout
21555 HTMLForceCSS
21556 \end_layout
21557
21558 \end_inset
21559
21560  [
21561 \begin_inset Flex Code
21562 status collapsed
21563
21564 \begin_layout Plain Layout
21565
21566 \emph on
21567 0
21568 \emph default
21569 ,1
21570 \end_layout
21571
21572 \end_inset
21573
21574 ] 
21575 \begin_inset Flex Code
21576 status collapsed
21577
21578 \begin_layout Plain Layout
21579 HTMLStyle
21580 \end_layout
21581
21582 \end_inset
21583
21584 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
21585 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
21586 \begin_inset Flex Code
21587 status collapsed
21588
21589 \begin_layout Plain Layout
21590 1
21591 \end_layout
21592
21593 \end_inset
21594
21595 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
21596 \begin_inset Flex Code
21597 status collapsed
21598
21599 \begin_layout Plain Layout
21600 0
21601 \end_layout
21602
21603 \end_inset
21604
21605 です.
21606 \end_layout
21607
21608 \begin_layout Description
21609 \begin_inset Flex Code
21610 status collapsed
21611
21612 \begin_layout Plain Layout
21613 HTMLInnerAttr
21614 \end_layout
21615
21616 \end_inset
21617
21618  [
21619 \begin_inset Flex Code
21620 status collapsed
21621
21622 \begin_layout Plain Layout
21623 文字列
21624 \end_layout
21625
21626 \end_inset
21627
21628 ] innerタグの属性.既定値は
21629 \begin_inset Flex Code
21630 status collapsed
21631
21632 \begin_layout Plain Layout
21633 class=`差込枠名_inner'
21634 \end_layout
21635
21636 \end_inset
21637
21638 です.
21639 \end_layout
21640
21641 \begin_layout Description
21642 \begin_inset Flex Code
21643 status collapsed
21644
21645 \begin_layout Plain Layout
21646 HTMLInnerTag
21647 \end_layout
21648
21649 \end_inset
21650
21651  [
21652 \begin_inset Flex Code
21653 status collapsed
21654
21655 \begin_layout Plain Layout
21656 文字列
21657 \end_layout
21658
21659 \end_inset
21660
21661 ] innerタグです.上記各例の
21662 \begin_inset Flex Code
21663 status collapsed
21664
21665 \begin_layout Plain Layout
21666 innertag
21667 \end_layout
21668
21669 \end_inset
21670
21671 を置き換えます.既定値はなしです.
21672 \end_layout
21673
21674 \begin_layout Description
21675 \begin_inset Flex Code
21676 status collapsed
21677
21678 \begin_layout Plain Layout
21679 HTMLIsBlock
21680 \end_layout
21681
21682 \end_inset
21683
21684  [
21685 \begin_inset Flex Code
21686 status collapsed
21687
21688 \begin_layout Plain Layout
21689 0,
21690 \emph on
21691 1
21692 \end_layout
21693
21694 \end_inset
21695
21696 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,それとも,(派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
21697 \end_layout
21698
21699 \begin_layout Description
21700 \begin_inset Flex Code
21701 status collapsed
21702
21703 \begin_layout Plain Layout
21704 HTMLLabel
21705 \end_layout
21706
21707 \end_inset
21708
21709  [
21710 \begin_inset Flex Code
21711 status collapsed
21712
21713 \begin_layout Plain Layout
21714 文字列
21715 \end_layout
21716
21717 \end_inset
21718
21719 ] 場合によっては,カウンタへの参照を含む,この差込枠のラベル.たとえば,脚註用には
21720 \begin_inset Flex Code
21721 status collapsed
21722
21723 \begin_layout Plain Layout
21724
21725 \backslash
21726 arabic{footnote}
21727 \end_layout
21728
21729 \end_inset
21730
21731 など.これは非必須であり,既定値はありません.
21732 \end_layout
21733
21734 \begin_layout Description
21735 \begin_inset Flex Code
21736 status collapsed
21737
21738 \begin_layout Plain Layout
21739 HTMLPreamble
21740 \end_layout
21741
21742 \end_inset
21743
21744  この様式が使用されたときに,
21745 \begin_inset Flex Code
21746 status collapsed
21747
21748 \begin_layout Plain Layout
21749 <head>
21750 \end_layout
21751
21752 \end_inset
21753
21754 セクションに出力される情報.これは,たとえば,
21755 \begin_inset Flex Code
21756 status collapsed
21757
21758 \begin_layout Plain Layout
21759 onclick
21760 \end_layout
21761
21762 \end_inset
21763
21764 ハンドラを定義するために
21765 \begin_inset Flex Code
21766 status collapsed
21767
21768 \begin_layout Plain Layout
21769 <script>
21770 \end_layout
21771
21772 \end_inset
21773
21774 ブロックをインクルードするのに使用することができます.
21775 \end_layout
21776
21777 \begin_layout Description
21778 \begin_inset Flex Code
21779 status collapsed
21780
21781 \begin_layout Plain Layout
21782 HTMLStyle
21783 \end_layout
21784
21785 \end_inset
21786
21787   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21788 \begin_inset Flex Code
21789 status collapsed
21790
21791 \begin_layout Plain Layout
21792 <style>
21793 \end_layout
21794
21795 \end_inset
21796
21797 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21798 \end_layout
21799
21800 \begin_layout Description
21801 \begin_inset Flex Code
21802 status collapsed
21803
21804 \begin_layout Plain Layout
21805 HTMLTag
21806 \end_layout
21807
21808 \end_inset
21809
21810  [
21811 \begin_inset Flex Code
21812 status collapsed
21813
21814 \begin_layout Plain Layout
21815 文字列
21816 \end_layout
21817
21818 \end_inset
21819
21820 ] 主幹ラベルに使用されるタグ.上記各例の
21821 \begin_inset Flex Code
21822 status collapsed
21823
21824 \begin_layout Plain Layout
21825 tag
21826 \end_layout
21827
21828 \end_inset
21829
21830 を置き換えます.既定値は
21831 \begin_inset Flex Code
21832 status collapsed
21833
21834 \begin_layout Plain Layout
21835 MultiPar
21836 \end_layout
21837
21838 \end_inset
21839
21840 の設定に依存し,
21841 \begin_inset Flex Code
21842 status collapsed
21843
21844 \begin_layout Plain Layout
21845 MultiPar
21846 \end_layout
21847
21848 \end_inset
21849
21850 が真ならば
21851 \begin_inset Flex Code
21852 status collapsed
21853
21854 \begin_layout Plain Layout
21855 div
21856 \end_layout
21857
21858 \end_inset
21859
21860 ,偽ならば
21861 \begin_inset Flex Code
21862 status collapsed
21863
21864 \begin_layout Plain Layout
21865 span
21866 \end_layout
21867
21868 \end_inset
21869
21870 です.
21871 \end_layout
21872
21873 \begin_layout Subsection
21874 フロートXHTML
21875 \end_layout
21876
21877 \begin_layout Standard
21878 フロートのXHTML出力も,レイアウトファイル内の情報によって制御することができます.出力は,以下の形を取ります.
21879 \end_layout
21880
21881 \begin_layout LyX-Code
21882 <tag attr=
21883 \begin_inset Quotes erd
21884 \end_inset
21885
21886 value
21887 \begin_inset Quotes erd
21888 \end_inset
21889
21890 >
21891 \end_layout
21892
21893 \begin_layout LyX-Code
21894 フロートの内容.
21895 \end_layout
21896
21897 \begin_layout LyX-Code
21898 </tag>
21899 \end_layout
21900
21901 \begin_layout Standard
21902 キャプションは,存在している場合には,独立した差込枠となり,そのような形で出力されます.その外観は,キャプション差込枠のInsetLayoutで制御することがで
21903 きます.
21904 \end_layout
21905
21906 \begin_layout Description
21907 \begin_inset Flex Code
21908 status collapsed
21909
21910 \begin_layout Plain Layout
21911 HTMLAttr
21912 \end_layout
21913
21914 \end_inset
21915
21916  [
21917 \begin_inset Flex Code
21918 status collapsed
21919
21920 \begin_layout Plain Layout
21921 文字列
21922 \end_layout
21923
21924 \end_inset
21925
21926 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21927 \begin_inset Flex Code
21928 status collapsed
21929
21930 \begin_layout Plain Layout
21931 class=`myfloat' onclick=`\SpecialChar ldots
21932 '
21933 \end_layout
21934
21935 \end_inset
21936
21937 」のようなものです.既定においては,\SpecialChar LyX
21938 は「
21939 \begin_inset Flex Code
21940 status collapsed
21941
21942 \begin_layout Plain Layout
21943 class=`float フロート-フロート型'
21944 \end_layout
21945
21946 \end_inset
21947
21948 」と出力します.ここで
21949 \begin_inset Flex Code
21950 status collapsed
21951
21952 \begin_layout Plain Layout
21953 フロート型
21954 \end_layout
21955
21956 \end_inset
21957
21958 は,フロート宣言で定義された(
21959 \begin_inset CommandInset ref
21960 LatexCommand ref
21961 reference "subsec:フロート"
21962
21963 \end_inset
21964
21965 参照),この型のフロートの\SpecialChar LyX
21966 名です.ただし,これは小文字に変換され,アルファベットや数字でない文字はアンダースコアに変換されます.例:float-table.
21967 \end_layout
21968
21969 \begin_layout Description
21970 \begin_inset Flex Code
21971 status collapsed
21972
21973 \begin_layout Plain Layout
21974 HTMLStyle
21975 \end_layout
21976
21977 \end_inset
21978
21979   このフロートが使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21980 \begin_inset Flex Code
21981 status collapsed
21982
21983 \begin_layout Plain Layout
21984 <style>
21985 \end_layout
21986
21987 \end_inset
21988
21989 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21990 \end_layout
21991
21992 \begin_layout Description
21993 \begin_inset Flex Code
21994 status collapsed
21995
21996 \begin_layout Plain Layout
21997 HTMLTag
21998 \end_layout
21999
22000 \end_inset
22001
22002  [
22003 \begin_inset Flex Code
22004 status collapsed
22005
22006 \begin_layout Plain Layout
22007 文字列
22008 \end_layout
22009
22010 \end_inset
22011
22012 ] このフロートに使用されるタグ.上記各例の
22013 \begin_inset Flex Code
22014 status collapsed
22015
22016 \begin_layout Plain Layout
22017 tag
22018 \end_layout
22019
22020 \end_inset
22021
22022 を置き換えます.既定値は
22023 \begin_inset Flex Code
22024 status collapsed
22025
22026 \begin_layout Plain Layout
22027 div
22028 \end_layout
22029
22030 \end_inset
22031
22032 であり,ほとんどの場合変更する必要はありません.
22033 \end_layout
22034
22035 \begin_layout Subsection
22036 書誌情報の整形
22037 \end_layout
22038
22039 \begin_layout Standard
22040 書誌情報は,
22041 \begin_inset Flex Code
22042 status collapsed
22043
22044 \begin_layout Plain Layout
22045 CiteFormat
22046 \end_layout
22047
22048 \end_inset
22049
22050 ブロックを使用して整形することができます.詳細については,
22051 \begin_inset CommandInset ref
22052 LatexCommand ref
22053 reference "subsec:引用書式指定"
22054
22055 \end_inset
22056
22057 を参照してください.
22058 \end_layout
22059
22060 \begin_layout Subsection
22061 \SpecialChar LyX
22062 が生成したCSS
22063 \end_layout
22064
22065 \begin_layout Standard
22066 \SpecialChar LyX
22067 は,提供されている他のレイアウト情報に基づいて,差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,これまでに何度か触れました.この節では,\SpecialChar LyX
22068
22069 がどのレイアウト情報を,どのように使うのか,ひとこと述べておきたいと思います.
22070 \end_layout
22071
22072 \begin_layout Standard
22073 \SpecialChar LyX
22074 は,現在のところ,
22075 \begin_inset Flex Code
22076 status collapsed
22077
22078 \begin_layout Plain Layout
22079 Font
22080 \end_layout
22081
22082 \end_inset
22083
22084 宣言で指定されている
22085 \begin_inset Flex Code
22086 status collapsed
22087
22088 \begin_layout Plain Layout
22089 Family
22090 \end_layout
22091
22092 \end_inset
22093
22094
22095 \begin_inset Flex Code
22096 status collapsed
22097
22098 \begin_layout Plain Layout
22099 Series
22100 \end_layout
22101
22102 \end_inset
22103
22104
22105 \begin_inset Flex Code
22106 status collapsed
22107
22108 \begin_layout Plain Layout
22109 Shape
22110 \end_layout
22111
22112 \end_inset
22113
22114
22115 \begin_inset Flex Code
22116 status collapsed
22117
22118 \begin_layout Plain Layout
22119 Size
22120 \end_layout
22121
22122 \end_inset
22123
22124 を利用して,フォント情報についてのみCSSを自動生成します(
22125 \begin_inset CommandInset ref
22126 LatexCommand ref
22127 reference "subsec:フォント指定"
22128
22129 \end_inset
22130
22131 を参照).この変換は,きわめて分かりやすく自明です.たとえば,「
22132 \begin_inset Flex Code
22133 status collapsed
22134
22135 \begin_layout Plain Layout
22136 Family Sans
22137 \end_layout
22138
22139 \end_inset
22140
22141 」は「
22142 \begin_inset Flex Code
22143 status collapsed
22144
22145 \begin_layout Plain Layout
22146 font-family: sans-serif
22147 \end_layout
22148
22149 \end_inset
22150
22151 」になります.\SpecialChar LyX
22152 の寸法とCSSの寸法のあいだの対応は,少し複雑ですが,それでも直感的に分かります.詳細については,
22153 \begin_inset Flex URL
22154 status collapsed
22155
22156 \begin_layout Plain Layout
22157
22158 src/FontInfo.cpp
22159 \end_layout
22160
22161 \end_inset
22162
22163
22164 \begin_inset Flex Code
22165 status collapsed
22166
22167 \begin_layout Plain Layout
22168 getSizeCSS()
22169 \end_layout
22170
22171 \end_inset
22172
22173 関数をご覧ください.
22174 \end_layout
22175
22176 \begin_layout Chapter
22177 外部素材を取り込む
22178 \begin_inset CommandInset label
22179 LatexCommand label
22180 name "chap:外部素材を取り込む"
22181
22182 \end_inset
22183
22184
22185 \end_layout
22186
22187 \begin_layout Standard
22188 \begin_inset Box Shadowbox
22189 position "t"
22190 hor_pos "c"
22191 has_inner_box 1
22192 inner_pos "t"
22193 use_parbox 0
22194 use_makebox 0
22195 width "100col%"
22196 special "none"
22197 height "1in"
22198 height_special "totalheight"
22199 thickness "0.4pt"
22200 separation "3pt"
22201 shadowsize "4pt"
22202 framecolor "black"
22203 backgroundcolor "none"
22204 status open
22205
22206 \begin_layout Plain Layout
22207 【警告】本説明書のこの部分は,しばらく更新されていません.もちろんまだ正確であることを期待していますが,保証の限りではありません.
22208 \end_layout
22209
22210 \end_inset
22211
22212
22213 \end_layout
22214
22215 \begin_layout Standard
22216 \SpecialChar LyX
22217 外部のソースから素材を使用する方法は,取扱説明書『
22218 \emph on
22219 埋込オブジェクト篇
22220 \emph default
22221 』で詳細にカバーされています.本章は,新種の素材を取り込む際に,舞台裏で何をする必要があるかをカバーします.
22222 \end_layout
22223
22224 \begin_layout Section
22225 どのように機能するのか
22226 \end_layout
22227
22228 \begin_layout Standard
22229 外部素材の機能は,ひな型の概念に基づいています.ひな型は,\SpecialChar LyX
22230 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,\SpecialChar LyX
22231 は,Xfigの図や,様々
22232 なラスター形式画像,チェス棋譜,LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
22233 \begin_inset Flex MenuItem
22234 status collapsed
22235
22236 \begin_layout Plain Layout
22237 挿入\SpecialChar menuseparator
22238 ファイル\SpecialChar menuseparator
22239 外部素材
22240 \end_layout
22241
22242 \end_inset
22243
22244 メニューで見ることができます.さらに,特定の型の素材をサポートするのに,自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しま
22245 すが,できればあなたが作ったすべてのひな型を投稿して,我々が\SpecialChar LyX
22246 の後の版に取り込むことができるようにしてくださることを希望します.
22247 \end_layout
22248
22249 \begin_layout Standard
22250 外部素材の機能におけるもう一つの基本的な発想は,最終素材の元となるオリジナルファイルと,書き出された文書や印刷された文書に取り込むための生成ファイルとを区別して
22251 いることです.たとえば,
22252 \begin_inset Flex Code
22253 status collapsed
22254
22255 \begin_layout Plain Layout
22256 Xfig
22257 \end_layout
22258
22259 \end_inset
22260
22261 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
22262 \begin_inset Flex Code
22263 status collapsed
22264
22265 \begin_layout Plain Layout
22266 .fig
22267 \end_layout
22268
22269 \end_inset
22270
22271 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,作業が終われば
22272 \begin_inset Flex Code
22273 status collapsed
22274
22275 \begin_layout Plain Layout
22276 fig
22277 \end_layout
22278
22279 \end_inset
22280
22281 ファイルに保存します.この図をお使いの文書に取り込みたいときには,\SpecialChar LaTeX
22282 ファイルにそのままインクルードできるように,
22283 \begin_inset Flex Code
22284 status collapsed
22285
22286 \begin_layout Plain Layout
22287 transfig
22288 \end_layout
22289
22290 \end_inset
22291
22292 を呼び出してPostScriptファイルを生成します.この場合には,
22293 \begin_inset Flex Code
22294 status collapsed
22295
22296 \begin_layout Plain Layout
22297 .fig
22298 \end_layout
22299
22300 \end_inset
22301
22302 ファイルがオリジナルファイルであり,PostScriptファイルが生成ファイルになります.
22303 \end_layout
22304
22305 \begin_layout Standard
22306 この区別は,文書を執筆している最中に,素材を更新することができるようにするために重要です.さらに,これによって,複数の書き出し書式をサポートするために必要な柔軟
22307 性が提供されます.たとえば,平文テキストファイルの場合には,図を生のPostScriptファイルとして取り込むのは,とても褒められた発想とはいえません.むしろ,
22308 その図への参照だけを含めるか,最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
22309 の外部素材マネジメントは
22310 ,\SpecialChar LyX
22311 がサポートする各書き出し書式別に仕分けしているので,ユーザがこれを行うことが可能となっています.
22312 \end_layout
22313
22314 \begin_layout Standard
22315 \SpecialChar LyX
22316 の外部素材マネジメントは,書き出し書式によって異なる生成物をサポートすることの他に,編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図
22317 の場合には,\SpecialChar LyX
22318 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,ダブルクリックすることで生成されたPostScriptファイ
22319 ルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファ
22320 イルブラウザをいじくり回す必要はないのです.このようにして,文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,最終的により生産性を上げることが
22321 できるようになるのです.
22322 \end_layout
22323
22324 \begin_layout Section
22325 外用ひな型設定ファイル
22326 \end_layout
22327
22328 \begin_layout Standard
22329 \SpecialChar LyX
22330 に自製の外用ひな型を付け加えるのは,比較的簡単です.しかしながら,これを不用心に行ってしまうと,たいていの場合,簡単に濫用されてしまうようなセキュリティホールを
22331 作ってしまいがちであることを心に留めておいてください.したがって,これを実行に移す前に,
22332 \begin_inset CommandInset ref
22333 LatexCommand ref
22334 reference "sec:セキュリティに関する論点"
22335
22336 \end_inset
22337
22338 のセキュリティに関する議論を読んでおいてください.
22339 \end_layout
22340
22341 \begin_layout Standard
22342 このことに言及した上で,あなたが作成した面白いひな型は,ぜひ投稿してください.
22343 \end_layout
22344
22345 \begin_layout Standard
22346 外用ひな型ファイルは,
22347 \begin_inset Flex Code
22348 status collapsed
22349
22350 \begin_layout Plain Layout
22351 LyXDir/lib/xtemplates/
22352 \end_layout
22353
22354 \end_inset
22355
22356 ディレクトリ中にある
22357 \begin_inset Flex Code
22358 status collapsed
22359
22360 \begin_layout Plain Layout
22361 *.xtemplate
22362 \end_layout
22363
22364 \end_inset
22365
22366 ファイルに定義されています.各ひな型は,そのファイル完結で定義されています.自分専用のひな型を
22367 \begin_inset Flex Code
22368 status collapsed
22369
22370 \begin_layout Plain Layout
22371 UserDir/xtemplates/
22372 \end_layout
22373
22374 \end_inset
22375
22376 に置くこともできますし,既存のひな型をそのデイレク取りにコピーして修正を加えることもできます.
22377 \end_layout
22378
22379 \begin_layout Standard
22380 典型的なひな型は以下のようになります.
22381 \end_layout
22382
22383 \begin_layout LyX-Code
22384 Template XFig
22385 \end_layout
22386
22387 \begin_layout LyX-Code
22388 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22389 \end_layout
22390
22391 \begin_layout LyX-Code
22392 HelpText
22393 \end_layout
22394
22395 \begin_layout LyX-Code
22396 An XFig figure.
22397 \end_layout
22398
22399 \begin_layout LyX-Code
22400 HelpTextEnd
22401 \end_layout
22402
22403 \begin_layout LyX-Code
22404 InputFormat fig
22405 \end_layout
22406
22407 \begin_layout LyX-Code
22408 FileFilter "*.fig"
22409 \end_layout
22410
22411 \begin_layout LyX-Code
22412 AutomaticProduction true
22413 \end_layout
22414
22415 \begin_layout LyX-Code
22416 Transform Rotate
22417 \end_layout
22418
22419 \begin_layout LyX-Code
22420 Transform Resize
22421 \end_layout
22422
22423 \begin_layout LyX-Code
22424 Format LaTeX
22425 \end_layout
22426
22427 \begin_layout LyX-Code
22428 TransformCommand Rotate RotationLatexCommand
22429 \end_layout
22430
22431 \begin_layout LyX-Code
22432 TransformCommand Resize ResizeLatexCommand
22433 \end_layout
22434
22435 \begin_layout LyX-Code
22436 Product "$$RotateFront$$ResizeFront
22437 \end_layout
22438
22439 \begin_layout LyX-Code
22440          
22441 \backslash
22442
22443 \backslash
22444 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22445 \end_layout
22446
22447 \begin_layout LyX-Code
22448          $$ResizeBack$$RotateBack"
22449 \end_layout
22450
22451 \begin_layout LyX-Code
22452 UpdateFormat pstex
22453 \end_layout
22454
22455 \begin_layout LyX-Code
22456 UpdateResult "$$AbsPath$$Basename.pstex_t"
22457 \end_layout
22458
22459 \begin_layout LyX-Code
22460 Requirement "graphicx"
22461 \end_layout
22462
22463 \begin_layout LyX-Code
22464 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22465 \end_layout
22466
22467 \begin_layout LyX-Code
22468 ReferencedFile latex "$$AbsPath$$Basename.eps"
22469 \end_layout
22470
22471 \begin_layout LyX-Code
22472 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22473 \end_layout
22474
22475 \begin_layout LyX-Code
22476 FormatEnd
22477 \end_layout
22478
22479 \begin_layout LyX-Code
22480 Format PDFLaTeX
22481 \end_layout
22482
22483 \begin_layout LyX-Code
22484 TransformCommand Rotate RotationLatexCommand
22485 \end_layout
22486
22487 \begin_layout LyX-Code
22488 TransformCommand Resize ResizeLatexCommand
22489 \end_layout
22490
22491 \begin_layout LyX-Code
22492 Product "$$RotateFront$$ResizeFront
22493 \end_layout
22494
22495 \begin_layout LyX-Code
22496          
22497 \backslash
22498
22499 \backslash
22500 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22501 \end_layout
22502
22503 \begin_layout LyX-Code
22504          $$ResizeBack$$RotateBack"
22505 \end_layout
22506
22507 \begin_layout LyX-Code
22508 UpdateFormat pdftex
22509 \end_layout
22510
22511 \begin_layout LyX-Code
22512 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22513 \end_layout
22514
22515 \begin_layout LyX-Code
22516 Requirement "graphicx"
22517 \end_layout
22518
22519 \begin_layout LyX-Code
22520 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22521 \end_layout
22522
22523 \begin_layout LyX-Code
22524 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22525 \end_layout
22526
22527 \begin_layout LyX-Code
22528 FormatEnd
22529 \end_layout
22530
22531 \begin_layout LyX-Code
22532 Format Ascii
22533 \end_layout
22534
22535 \begin_layout LyX-Code
22536 Product "$$Contents(
22537 \backslash
22538 "$$AbsPath$$Basename.asc
22539 \backslash
22540 ")"
22541 \end_layout
22542
22543 \begin_layout LyX-Code
22544 UpdateFormat asciixfig
22545 \end_layout
22546
22547 \begin_layout LyX-Code
22548 UpdateResult "$$AbsPath$$Basename.asc"
22549 \end_layout
22550
22551 \begin_layout LyX-Code
22552 FormatEnd
22553 \end_layout
22554
22555 \begin_layout LyX-Code
22556 Format DocBook
22557 \end_layout
22558
22559 \begin_layout LyX-Code
22560 Product "<graphic fileref=
22561 \backslash
22562 "$$AbsOrRelPathMaster$$Basename.eps
22563 \backslash
22564 ">
22565 \end_layout
22566
22567 \begin_layout LyX-Code
22568          </graphic>"
22569 \end_layout
22570
22571 \begin_layout LyX-Code
22572 UpdateFormat eps
22573 \end_layout
22574
22575 \begin_layout LyX-Code
22576 UpdateResult "$$AbsPath$$Basename.eps"
22577 \end_layout
22578
22579 \begin_layout LyX-Code
22580 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22581 \end_layout
22582
22583 \begin_layout LyX-Code
22584 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22585 \end_layout
22586
22587 \begin_layout LyX-Code
22588 FormatEnd
22589 \end_layout
22590
22591 \begin_layout LyX-Code
22592 Product "[XFig: $$FName]"
22593 \end_layout
22594
22595 \begin_layout LyX-Code
22596 FormatEnd
22597 \end_layout
22598
22599 \begin_layout LyX-Code
22600 TemplateEnd
22601 \end_layout
22602
22603 \begin_layout Standard
22604 ご覧の通り,ひな型は
22605 \begin_inset Flex Code
22606 status collapsed
22607
22608 \begin_layout Plain Layout
22609 Template
22610 \end_layout
22611
22612 \end_inset
22613
22614  \SpecialChar ldots
22615  
22616 \begin_inset Flex Code
22617 status collapsed
22618
22619 \begin_layout Plain Layout
22620 TemplateEnd
22621 \end_layout
22622
22623 \end_inset
22624
22625 で閉じられます.ひな型には,一般的な設定を行うヘッダ部と,サポートされている主要な文書ファイル形式の設定を行う
22626 \begin_inset Flex Code
22627 status collapsed
22628
22629 \begin_layout Plain Layout
22630 Format
22631 \end_layout
22632
22633 \end_inset
22634
22635  \SpecialChar ldots
22636  
22637 \begin_inset Flex Code
22638 status collapsed
22639
22640 \begin_layout Plain Layout
22641 FormatEnd
22642 \end_layout
22643
22644 \end_inset
22645
22646 部があります.
22647 \end_layout
22648
22649 \begin_layout Subsection
22650 ひな型のヘッダ
22651 \end_layout
22652
22653 \begin_layout Description
22654 \begin_inset Flex Code
22655 status collapsed
22656
22657 \begin_layout Plain Layout
22658 AutomaticProduction
22659 \begin_inset space ~
22660 \end_inset
22661
22662 true|false
22663 \end_layout
22664
22665 \end_inset
22666
22667  このひな型で扱うファイルを\SpecialChar LyX
22668 が生成しなくてはならないか否か.このコマンドは,一度だけ必ず現れなくてはなりません.
22669 \end_layout
22670
22671 \begin_layout Description
22672 \begin_inset Flex Code
22673 status collapsed
22674
22675 \begin_layout Plain Layout
22676 FileFilter
22677 \begin_inset space ~
22678 \end_inset
22679
22680 <パターン>
22681 \end_layout
22682
22683 \end_inset
22684
22685  望むファイル群を表示するために,ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,tgifには
22686 \begin_inset Flex Code
22687 status collapsed
22688
22689 \begin_layout Plain Layout
22690 .obj
22691 \end_layout
22692
22693 \end_inset
22694
22695
22696 \begin_inset Flex Code
22697 status collapsed
22698
22699 \begin_layout Plain Layout
22700 .tgo
22701 \end_layout
22702
22703 \end_inset
22704
22705 があります),「
22706 \begin_inset Flex Code
22707 status collapsed
22708
22709 \begin_layout Plain Layout
22710 *.{obj,tgo}
22711 \end_layout
22712
22713 \end_inset
22714
22715 」の様なパターンを使用してください.このコマンドは,一度だけ必ず現れなくてはなりません.
22716 \end_layout
22717
22718 \begin_layout Description
22719 \begin_inset Flex Code
22720 status collapsed
22721
22722 \begin_layout Plain Layout
22723 GuiName
22724 \begin_inset space ~
22725 \end_inset
22726
22727 <GUI名>
22728 \end_layout
22729
22730 \end_inset
22731
22732  この文字列はボタン上に表示されます.このコマンドは,一度だけ必ず現れなくてはなりません.
22733 \end_layout
22734
22735 \begin_layout Description
22736 \begin_inset Flex Code
22737 status collapsed
22738
22739 \begin_layout Plain Layout
22740 HelpText
22741 \begin_inset space ~
22742 \end_inset
22743
22744 <文章>
22745 \begin_inset space ~
22746 \end_inset
22747
22748 HelpTextEnd
22749 \end_layout
22750
22751 \end_inset
22752
22753  外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,一度だけ必
22754 ず現れなくてはなりません.
22755 \end_layout
22756
22757 \begin_layout Description
22758 \begin_inset Flex Code
22759 status collapsed
22760
22761 \begin_layout Plain Layout
22762 InputFormat
22763 \begin_inset space ~
22764 \end_inset
22765
22766 <書式>
22767 \end_layout
22768
22769 \end_inset
22770
22771  オリジナルファイルのファイル形式.これは,\SpecialChar LyX
22772 が知っている書式名でなくてはなりません(
22773 \begin_inset CommandInset ref
22774 LatexCommand ref
22775 reference "sec:ファイル形式"
22776
22777 \end_inset
22778
22779 参照).このひな型が,2つ以上の書式のオリジナルファイルを取り扱える場合は,「
22780 \begin_inset Flex Code
22781 status collapsed
22782
22783 \begin_layout Plain Layout
22784 *
22785 \end_layout
22786
22787 \end_inset
22788
22789 」を使用してください.この場合,\SpecialChar LyX
22790 はファイル形式を推定するために,ファイル自体に詮索を試みます.このコマンドは,一度だけ必ず現れなくてはなりません.
22791 \end_layout
22792
22793 \begin_layout Description
22794 \begin_inset Flex Code
22795 status collapsed
22796
22797 \begin_layout Plain Layout
22798 Template
22799 \begin_inset space ~
22800 \end_inset
22801
22802 <ID>
22803 \end_layout
22804
22805 \end_inset
22806
22807  このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
22808 \end_layout
22809
22810 \begin_layout Description
22811 \begin_inset Flex Code
22812 status collapsed
22813
22814 \begin_layout Plain Layout
22815 Transform
22816 \begin_inset space ~
22817 \end_inset
22818
22819 Rotate|Resize|Clip|Extra
22820 \end_layout
22821
22822 \end_inset
22823
22824  このコマンドは,このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,外部素材ダイア
22825 ログ中の対応するタブを使用可能にします.
22826 \begin_inset Flex Code
22827 status collapsed
22828
22829 \begin_layout Plain Layout
22830 Transform
22831 \end_layout
22832
22833 \end_inset
22834
22835 コマンド一つずつに応じて,
22836 \begin_inset Flex Code
22837 status collapsed
22838
22839 \begin_layout Plain Layout
22840 Format
22841 \end_layout
22842
22843 \end_inset
22844
22845 部に,対応する
22846 \begin_inset Flex Code
22847 status collapsed
22848
22849 \begin_layout Plain Layout
22850 TransformCommand
22851 \end_layout
22852
22853 \end_inset
22854
22855 コマンドか
22856 \begin_inset Flex Code
22857 status collapsed
22858
22859 \begin_layout Plain Layout
22860 TransformOption
22861 \end_layout
22862
22863 \end_inset
22864
22865 コマンドを置かなくてはなりません.これを行わないと,この書式での変換はサポートされません.
22866 \end_layout
22867
22868 \begin_layout Subsection
22869 \begin_inset Flex Code
22870 status collapsed
22871
22872 \begin_layout Plain Layout
22873 Format
22874 \end_layout
22875
22876 \end_inset
22877
22878
22879 \end_layout
22880
22881 \begin_layout Description
22882 \begin_inset Flex Code
22883 status collapsed
22884
22885 \begin_layout Plain Layout
22886 Format
22887 \begin_inset space ~
22888 \end_inset
22889
22890 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
22891 \end_layout
22892
22893 \end_inset
22894
22895  この書式定義が定める主要な文書ファイル形式.すべてのひな型が,全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,全書式に対して
22896 \begin_inset Flex Code
22897 status collapsed
22898
22899 \begin_layout Plain Layout
22900 Format
22901 \end_layout
22902
22903 \end_inset
22904
22905 部を定義してください.表示する方法がないときは,ダミーテキストを使用してください.これによって,書き出した文書内で,少なくとも外部素材への参照を見ることができる
22906 ようになります.
22907 \end_layout
22908
22909 \begin_layout Description
22910 \begin_inset Flex Code
22911 status collapsed
22912
22913 \begin_layout Plain Layout
22914 Option
22915 \begin_inset space ~
22916 \end_inset
22917
22918 <名称>
22919 \begin_inset space ~
22920 \end_inset
22921
22922 <値>
22923 \end_layout
22924
22925 \end_inset
22926
22927  このコマンドは,
22928 \begin_inset Flex Code
22929 status collapsed
22930
22931 \begin_layout Plain Layout
22932 Product
22933 \end_layout
22934
22935 \end_inset
22936
22937 での代入に使うマクロ
22938 \begin_inset Flex Code
22939 status collapsed
22940
22941 \begin_layout Plain Layout
22942 $$<名称>
22943 \end_layout
22944
22945 \end_inset
22946
22947 を新たに定義します.
22948 \begin_inset Flex Code
22949 status collapsed
22950
22951 \begin_layout Plain Layout
22952 <値>
22953 \end_layout
22954
22955 \end_inset
22956
22957 自体にも代入マクロを使うことができます.
22958 \begin_inset Flex Code
22959 status collapsed
22960
22961 \begin_layout Plain Layout
22962 Product
22963 \end_layout
22964
22965 \end_inset
22966
22967
22968 \begin_inset Flex Code
22969 status collapsed
22970
22971 \begin_layout Plain Layout
22972 <値>
22973 \end_layout
22974
22975 \end_inset
22976
22977 を直接使用するよりも優れた点は,
22978 \begin_inset Flex Code
22979 status collapsed
22980
22981 \begin_layout Plain Layout
22982 $$<名称>
22983 \end_layout
22984
22985 \end_inset
22986
22987 に代入された値が,その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
22988 \end_layout
22989
22990 \begin_layout Description
22991 \begin_inset Flex Code
22992 status collapsed
22993
22994 \begin_layout Plain Layout
22995 Product
22996 \begin_inset space ~
22997 \end_inset
22998
22999 <文>
23000 \end_layout
23001
23002 \end_inset
23003
23004  書き出された文書に挿入される文.実のところ,これが最も重要なコマンドであり,とても複雑になることがあります.このコマンドは,一度だけ必ず現れなくてはなりません
23005
23006 \end_layout
23007
23008 \begin_layout Description
23009 \begin_inset Flex Code
23010 status collapsed
23011
23012 \begin_layout Plain Layout
23013 Preamble
23014 \begin_inset space ~
23015 \end_inset
23016
23017 <名称>
23018 \end_layout
23019
23020 \end_inset
23021
23022  このコマンドは,\SpecialChar LaTeX
23023 プリアンブルに入れるプリアンブル片を指定します.これは
23024 \begin_inset Flex Code
23025 status collapsed
23026
23027 \begin_layout Plain Layout
23028 PreambleDef
23029 \end_layout
23030
23031 \end_inset
23032
23033  \SpecialChar ldots
23034  
23035 \begin_inset Flex Code
23036 status collapsed
23037
23038 \begin_layout Plain Layout
23039 PreambleDefEnd
23040 \end_layout
23041
23042 \end_inset
23043
23044 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
23045 \end_layout
23046
23047 \begin_layout Description
23048 \begin_inset Flex Code
23049 status collapsed
23050
23051 \begin_layout Plain Layout
23052 ReferencedFile
23053 \begin_inset space ~
23054 \end_inset
23055
23056 <書式>
23057 \begin_inset space ~
23058 \end_inset
23059
23060 <ファイル名>
23061 \end_layout
23062
23063 \end_inset
23064
23065  このコマンドは,変換過程で生成され,特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,親文書に対する相対パスとして解釈さ
23066 れます.このコマンドは全く登場しなくても1回以上現れても構いません.
23067 \end_layout
23068
23069 \begin_layout Description
23070 \begin_inset Flex Code
23071 status collapsed
23072
23073 \begin_layout Plain Layout
23074 Requirement
23075 \begin_inset space ~
23076 \end_inset
23077
23078 <package>
23079 \end_layout
23080
23081 \end_inset
23082
23083  必要とされる\SpecialChar LaTeX
23084 パッケージ名.パッケージは,\SpecialChar LaTeX
23085 プリアンブル中で
23086 \begin_inset Flex Code
23087 status collapsed
23088
23089 \begin_layout Plain Layout
23090
23091 \backslash
23092 usepackage{}
23093 \end_layout
23094
23095 \end_inset
23096
23097 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
23098 \end_layout
23099
23100 \begin_layout Description
23101 \begin_inset Flex Code
23102 status collapsed
23103
23104 \begin_layout Plain Layout
23105 TransformCommand
23106 \begin_inset space ~
23107 \end_inset
23108
23109 Rotate
23110 \begin_inset space ~
23111 \end_inset
23112
23113 RotationLatexCommand
23114 \end_layout
23115
23116 \end_inset
23117
23118  このコマンドは,回転用に,組み込みの\SpecialChar LaTeX
23119 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23120 \end_layout
23121
23122 \begin_layout Description
23123 \begin_inset Flex Code
23124 status collapsed
23125
23126 \begin_layout Plain Layout
23127 TransformCommand
23128 \begin_inset space ~
23129 \end_inset
23130
23131 Resize
23132 \begin_inset space ~
23133 \end_inset
23134
23135 ResizeLatexCommand
23136 \end_layout
23137
23138 \end_inset
23139
23140  このコマンドは,伸縮用に,組み込みの\SpecialChar LaTeX
23141 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23142 \end_layout
23143
23144 \begin_layout Description
23145 \begin_inset Flex Code
23146 status collapsed
23147
23148 \begin_layout Plain Layout
23149 TransformOption
23150 \begin_inset space ~
23151 \end_inset
23152
23153 Rotate
23154 \begin_inset space ~
23155 \end_inset
23156
23157 RotationLatexOption
23158 \end_layout
23159
23160 \end_inset
23161
23162  このコマンドは,回転が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23163 \end_layout
23164
23165 \begin_layout Description
23166 \begin_inset Flex Code
23167 status collapsed
23168
23169 \begin_layout Plain Layout
23170 TransformOption
23171 \begin_inset space ~
23172 \end_inset
23173
23174 Resize
23175 \begin_inset space ~
23176 \end_inset
23177
23178 ResizeLatexOption
23179 \end_layout
23180
23181 \end_inset
23182
23183  このコマンドは,伸縮が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23184 \end_layout
23185
23186 \begin_layout Description
23187 \begin_inset Flex Code
23188 status collapsed
23189
23190 \begin_layout Plain Layout
23191 TransformOption
23192 \begin_inset space ~
23193 \end_inset
23194
23195 Clip
23196 \begin_inset space ~
23197 \end_inset
23198
23199 ClipLatexOption
23200 \end_layout
23201
23202 \end_inset
23203
23204  このコマンドは,切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23205 \end_layout
23206
23207 \begin_layout Description
23208 \begin_inset Flex Code
23209 status collapsed
23210
23211 \begin_layout Plain Layout
23212 TransformOption
23213 \begin_inset space ~
23214 \end_inset
23215
23216 Extra
23217 \begin_inset space ~
23218 \end_inset
23219
23220 ExtraLatexOption
23221 \end_layout
23222
23223 \end_inset
23224
23225  このコマンドは,追加の非必須引数を使用することを指定します.このコマンドは,1回現れても全く現れなくても構いません.
23226 \end_layout
23227
23228 \begin_layout Description
23229 \begin_inset Flex Code
23230 status collapsed
23231
23232 \begin_layout Plain Layout
23233 UpdateFormat
23234 \begin_inset space ~
23235 \end_inset
23236
23237 <書式>
23238 \end_layout
23239
23240 \end_inset
23241
23242  変換されたファイルのファイル形式.これは,\SpecialChar LyX
23243 が知っている書式名でなくてはなりません(
23244 \begin_inset Flex MenuItem
23245 status collapsed
23246
23247 \begin_layout Plain Layout
23248 ツール\SpecialChar menuseparator
23249 設定\SpecialChar menuseparator
23250 ファイル処理\SpecialChar menuseparator
23251 ファイル書式
23252 \end_layout
23253
23254 \end_inset
23255
23256 ダイアログを参照).このコマンドは,一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,書式
23257 \begin_inset Flex Code
23258 status collapsed
23259
23260 \begin_layout Plain Layout
23261 pdf6
23262 \end_layout
23263
23264 \end_inset
23265
23266 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
23267 \end_layout
23268
23269 \begin_layout Description
23270 \begin_inset Flex Code
23271 status collapsed
23272
23273 \begin_layout Plain Layout
23274 UpdateResult
23275 \begin_inset space ~
23276 \end_inset
23277
23278 <ファイル名>
23279 \end_layout
23280
23281 \end_inset
23282
23283  変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,一度だけ必ず現れなくてはなりません.
23284 \end_layout
23285
23286 \begin_layout Subsection
23287 プリアンブルの定義
23288 \end_layout
23289
23290 \begin_layout Standard
23291 外用ひな型設定ファイルには,
23292 \begin_inset Flex Code
23293 status collapsed
23294
23295 \begin_layout Plain Layout
23296 PreambleDef
23297 \end_layout
23298
23299 \end_inset
23300
23301  \SpecialChar ldots
23302  
23303 \begin_inset Flex Code
23304 status collapsed
23305
23306 \begin_layout Plain Layout
23307 PreambleDefEnd
23308 \end_layout
23309
23310 \end_inset
23311
23312 で囲んだプリアンブル定義を追加することができます.これらの定義は,ひな型の
23313 \begin_inset Flex Code
23314 status collapsed
23315
23316 \begin_layout Plain Layout
23317 Format
23318 \end_layout
23319
23320 \end_inset
23321
23322 部で使用することができます.
23323 \end_layout
23324
23325 \begin_layout Section
23326 代入機構
23327 \end_layout
23328
23329 \begin_layout Standard
23330 外部素材機構が外部プログラムを呼び出すときには,ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,実行前に展開されるマクロをい
23331 ろいろ入れることができます.実行は,つねに元の文書があるディレクトリで行われます.
23332 \end_layout
23333
23334 \begin_layout Standard
23335 また,外部素材が表示されるときにはいつでも,その名称は代入機構によって組み立てられ,ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
23336 \end_layout
23337
23338 \begin_layout Standard
23339 使用できるマクロは以下の通りです.
23340 \end_layout
23341
23342 \begin_layout Description
23343 \begin_inset Flex Code
23344 status collapsed
23345
23346 \begin_layout Plain Layout
23347 $$AbsOrRelPathMaster
23348 \end_layout
23349
23350 \end_inset
23351
23352  \SpecialChar LyX
23353 親文書への絶対ファイルパスないしは相対ファイルパス
23354 \end_layout
23355
23356 \begin_layout Description
23357 \begin_inset Flex Code
23358 status collapsed
23359
23360 \begin_layout Plain Layout
23361 $$AbsOrRelPathParent
23362 \end_layout
23363
23364 \end_inset
23365
23366  \SpecialChar LyX
23367 文書への絶対ファイルパスないしは相対ファイルパス
23368 \end_layout
23369
23370 \begin_layout Description
23371 \begin_inset Flex Code
23372 status collapsed
23373
23374 \begin_layout Plain Layout
23375 $$AbsPath
23376 \end_layout
23377
23378 \end_inset
23379
23380  絶対ファイルパス
23381 \end_layout
23382
23383 \begin_layout Description
23384 \begin_inset Flex Code
23385 status collapsed
23386
23387 \begin_layout Plain Layout
23388 $$Basename
23389 \end_layout
23390
23391 \end_inset
23392
23393  パスおよび拡張子を除いたファイル名
23394 \end_layout
23395
23396 \begin_layout Description
23397 \begin_inset Flex Code
23398 status collapsed
23399
23400 \begin_layout Plain Layout
23401 $$Contents(
23402 \begin_inset Quotes eld
23403 \end_inset
23404
23405 filename.ext
23406 \begin_inset Quotes erd
23407 \end_inset
23408
23409 )
23410 \end_layout
23411
23412 \end_inset
23413
23414  このマクロは,
23415 \begin_inset Flex Code
23416 status collapsed
23417
23418 \begin_layout Plain Layout
23419 filename.ext
23420 \end_layout
23421
23422 \end_inset
23423
23424 と云う名のファイルの中身を展開します.
23425 \end_layout
23426
23427 \begin_layout Description
23428 \begin_inset Flex Code
23429 status collapsed
23430
23431 \begin_layout Plain Layout
23432 $$Extension
23433 \end_layout
23434
23435 \end_inset
23436
23437  ファイル拡張子(点を含む)
23438 \end_layout
23439
23440 \begin_layout Description
23441 \begin_inset Flex Code
23442 status collapsed
23443
23444 \begin_layout Plain Layout
23445 $$pngOrjpg
23446 \end_layout
23447
23448 \end_inset
23449
23450  これは,ファイルがJPEG形式の場合は,文字列「jpg」となり,それ以外では文字列「png」となります.これは,PNG形式とJPEG形式の両方をサポートする出
23451 力形式に対して,不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,pdf\SpecialChar TeX
23452 出力形式に対してこのマクロを使用します.
23453 \end_layout
23454
23455 \begin_layout Description
23456 \begin_inset Flex Code
23457 status collapsed
23458
23459 \begin_layout Plain Layout
23460 $$FName
23461 \end_layout
23462
23463 \end_inset
23464
23465  外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
23466 文書への絶対パスでも良いですし,相対パスでも構いません.
23467 \end_layout
23468
23469 \begin_layout Description
23470 \begin_inset Flex Code
23471 status collapsed
23472
23473 \begin_layout Plain Layout
23474 $$FPath
23475 \end_layout
23476
23477 \end_inset
23478
23479  
23480 \begin_inset Flex Code
23481 status collapsed
23482
23483 \begin_layout Plain Layout
23484 $$FName
23485 \end_layout
23486
23487 \end_inset
23488
23489 のパス部分(\SpecialChar LyX
23490 文書への絶対パス名か相対パス名)
23491 \end_layout
23492
23493 \begin_layout Description
23494 \begin_inset Flex Code
23495 status collapsed
23496
23497 \begin_layout Plain Layout
23498 $$RelPathMaster
23499 \end_layout
23500
23501 \end_inset
23502
23503  \SpecialChar LyX
23504 親文書への相対ファイルパス
23505 \end_layout
23506
23507 \begin_layout Description
23508 \begin_inset Flex Code
23509 status collapsed
23510
23511 \begin_layout Plain Layout
23512 $$RelPathParent
23513 \end_layout
23514
23515 \end_inset
23516
23517  \SpecialChar LyX
23518 文書への相対ファイルパス
23519 \end_layout
23520
23521 \begin_layout Description
23522 \begin_inset Flex Code
23523 status collapsed
23524
23525 \begin_layout Plain Layout
23526 $$Sysdir
23527 \end_layout
23528
23529 \end_inset
23530
23531  このマクロは,システムディレクトリの絶対パスを展開します.これは,典型的には,\SpecialChar LyX
23532 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
23533 \end_layout
23534
23535 \begin_layout Description
23536 \begin_inset Flex Code
23537 status collapsed
23538
23539 \begin_layout Plain Layout
23540 $$Tempname
23541 \end_layout
23542
23543 \end_inset
23544
23545  元の文書が閉じられたり,挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
23546 \end_layout
23547
23548 \begin_layout Standard
23549 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,たとえば絶対パスのファイル名を 
23550 \begin_inset Flex Code
23551 status collapsed
23552
23553 \begin_layout Plain Layout
23554 $$AbsPath$$Basename$$Extension
23555 \end_layout
23556
23557 \end_inset
23558
23559 のようにして作ることができます.
23560 \end_layout
23561
23562 \begin_layout Standard
23563 上記マクロは,特記しない限りはすべてのコマンドで代入が行われます.
23564 \begin_inset Flex Code
23565 status collapsed
23566
23567 \begin_layout Plain Layout
23568 Transform
23569 \end_layout
23570
23571 \end_inset
23572
23573 コマンドと
23574 \begin_inset Flex Code
23575 status collapsed
23576
23577 \begin_layout Plain Layout
23578 TransformCommand
23579 \end_layout
23580
23581 \end_inset
23582
23583 コマンドが有効にされている場合,
23584 \begin_inset Flex Code
23585 status collapsed
23586
23587 \begin_layout Plain Layout
23588 Product
23589 \end_layout
23590
23591 \end_inset
23592
23593 コマンドは,これらに加えて以下の代入もサポートします.
23594 \end_layout
23595
23596 \begin_layout Description
23597 \begin_inset Flex Code
23598 status collapsed
23599
23600 \begin_layout Plain Layout
23601 $$ResizeFront
23602 \end_layout
23603
23604 \end_inset
23605
23606  伸縮コマンドの前置部.
23607 \end_layout
23608
23609 \begin_layout Description
23610 \begin_inset Flex Code
23611 status collapsed
23612
23613 \begin_layout Plain Layout
23614 $$ResizeBack
23615 \end_layout
23616
23617 \end_inset
23618
23619  伸縮コマンドの後置部.
23620 \end_layout
23621
23622 \begin_layout Description
23623 \begin_inset Flex Code
23624 status collapsed
23625
23626 \begin_layout Plain Layout
23627 $$RotateFront
23628 \end_layout
23629
23630 \end_inset
23631
23632  回転コマンドの前置部.
23633 \end_layout
23634
23635 \begin_layout Description
23636 \begin_inset Flex Code
23637 status collapsed
23638
23639 \begin_layout Plain Layout
23640 $$RotateBack
23641 \end_layout
23642
23643 \end_inset
23644
23645  回転コマンドの後置部.
23646 \end_layout
23647
23648 \begin_layout Standard
23649 \begin_inset Flex Code
23650 status collapsed
23651
23652 \begin_layout Plain Layout
23653 Option
23654 \end_layout
23655
23656 \end_inset
23657
23658 コマンドの値に入れる文字列では,
23659 \begin_inset Flex Code
23660 status collapsed
23661
23662 \begin_layout Plain Layout
23663 Transform
23664 \end_layout
23665
23666 \end_inset
23667
23668 コマンドと
23669 \begin_inset Flex Code
23670 status collapsed
23671
23672 \begin_layout Plain Layout
23673 TransformOption
23674 \end_layout
23675
23676 \end_inset
23677
23678 コマンドが有効にされていれば,以下の代入もサポートされます.
23679 \end_layout
23680
23681 \begin_layout Description
23682 \begin_inset Flex Code
23683 status collapsed
23684
23685 \begin_layout Plain Layout
23686 $$Clip
23687 \end_layout
23688
23689 \end_inset
23690
23691  切り抜きオプション.
23692 \end_layout
23693
23694 \begin_layout Description
23695 \begin_inset Flex Code
23696 status collapsed
23697
23698 \begin_layout Plain Layout
23699 $$Extra
23700 \end_layout
23701
23702 \end_inset
23703
23704  追加オプション.
23705 \end_layout
23706
23707 \begin_layout Description
23708 \begin_inset Flex Code
23709 status collapsed
23710
23711 \begin_layout Plain Layout
23712 $$Resize
23713 \end_layout
23714
23715 \end_inset
23716
23717  伸縮オプション.
23718 \end_layout
23719
23720 \begin_layout Description
23721 \begin_inset Flex Code
23722 status collapsed
23723
23724 \begin_layout Plain Layout
23725 $$Rotate
23726 \end_layout
23727
23728 \end_inset
23729
23730  回転オプション.
23731 \end_layout
23732
23733 \begin_layout Standard
23734 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
23735 \end_layout
23736
23737 \begin_layout Enumerate
23738 相対ファイル名と絶対ファイル名は,それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえ
23739 ば相対名は,いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,プログラムによっては必要とされることがあり得ます.
23740 \end_layout
23741
23742 \begin_layout Enumerate
23743 \SpecialChar LaTeX
23744 は,相対ファイル名に関して,\SpecialChar LyX
23745 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
23746 にとって相対ファイル名とは,常にこのファイル名が書か
23747 れている文書に対して相対的なものになります.\SpecialChar LaTeX
23748 にとっての相対ファイル名は,常に親文書に対するものになります.これら二つの定義は,一つの文書しかないときには同じです
23749 が,部分文書を含む親文書があるときには異なったものとなってきます.つまり,相対ファイル名は,\SpecialChar LaTeX
23750 に提示されるときに変換されなくてはならないのです.幸い,正しいマクロ
23751 を選びさえすれば,これは\SpecialChar LyX
23752 が自動的に行ってくれます.
23753 \end_layout
23754
23755 \begin_layout Standard
23756 すると,新しく作ったひな型定義では,どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
23757 \end_layout
23758
23759 \begin_layout Itemize
23760 絶対パスが必要とされるときには
23761 \begin_inset Flex Code
23762 status collapsed
23763
23764 \begin_layout Plain Layout
23765 $$AbsPath
23766 \end_layout
23767
23768 \end_inset
23769
23770 を使う.
23771 \end_layout
23772
23773 \begin_layout Itemize
23774 代入された文字列が,\SpecialChar LaTeX
23775 インプットの一種である場合には,
23776 \begin_inset Flex Code
23777 status collapsed
23778
23779 \begin_layout Plain Layout
23780 $$AbsOrRelPathMaster
23781 \end_layout
23782
23783 \end_inset
23784
23785 を使う.
23786 \end_layout
23787
23788 \begin_layout Itemize
23789 それ以外ならば,ユーザの選択を尊重するために
23790 \begin_inset Flex Code
23791 status collapsed
23792
23793 \begin_layout Plain Layout
23794 $$AbsOrRelPathParent
23795 \end_layout
23796
23797 \end_inset
23798
23799 を使う.
23800 \end_layout
23801
23802 \begin_layout Standard
23803 このルールが機能せずに,たとえば相対名が必要となる特殊な場合もありますが,通常,上記でうまく動作します.特殊例の例としては,上述のXFigひな型での
23804 \begin_inset Flex Code
23805 status collapsed
23806
23807 \begin_layout Plain Layout
23808 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23809 \end_layout
23810
23811 \end_inset
23812
23813 というコマンドがあります.この場合,
23814 \begin_inset Flex Code
23815 status collapsed
23816
23817 \begin_layout Plain Layout
23818 .pstex_t
23819 \end_layout
23820
23821 \end_inset
23822
23823 ファイルの複写子は,ファイル内容を書き換えるのに相対名を必要とするために,絶対名を使用することができないのです.
23824 \end_layout
23825
23826 \begin_layout Section
23827 セキュリティに関する論点
23828 \begin_inset CommandInset label
23829 LatexCommand label
23830 name "sec:セキュリティに関する論点"
23831
23832 \end_inset
23833
23834
23835 \end_layout
23836
23837 \begin_layout Standard
23838 外部素材機能は,多くの外部プログラムとの橋渡しをし,しかもそれを自動的に行うので,そのセキュリティ面での帰結を考慮しなくてはなりません.特に,ユーザは好きなファ
23839 イル名やパラメータ文字列を含めることが許されていて,しかもそれらがコマンドに展開されるので,ユーザが文書を閲覧したり印刷したりしたときに,任意のコマンドを実行す
23840 ることができるような悪意ある文書を作成することが可能となりましょう.これは,我々がぜひとも避けたいことなのです.
23841 \end_layout
23842
23843 \begin_layout Standard
23844 しかしながら,外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,\SpecialChar LyX
23845 が安全なひな型でのみ適切に設定されているならば,セキュリティ上の問題は発生しま
23846 せん.これは,外部プログラムが
23847 \begin_inset Flex Code
23848 status collapsed
23849
23850 \begin_layout Plain Layout
23851 system
23852 \end_layout
23853
23854 \end_inset
23855
23856 システムコールではなく,
23857 \begin_inset Flex Code
23858 status collapsed
23859
23860 \begin_layout Plain Layout
23861 execvp
23862 \end_layout
23863
23864 \end_inset
23865
23866 システムコールで呼び出されているため,ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
23867 \end_layout
23868
23869 \begin_layout Standard
23870 これは,外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,制限があることを意味します.特に,パイプやリダイレクトはそのまま使用することは
23871 できません.これは,\SpecialChar LyX
23872 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,これを完全に統御の下においたまま行う安全なス
23873 クリプトを書いた上で,このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
23874 \end_layout
23875
23876 \begin_layout Standard
23877 シェルと直接やりとりするひな型を設計することは可能ではありますが,悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,任意のコマンドを実行できるよ
23878 うになるため,一般的には,統御下に置いた状態で
23879 \begin_inset Flex Code
23880 status collapsed
23881
23882 \begin_layout Plain Layout
23883 execvp
23884 \end_layout
23885
23886 \end_inset
23887
23888 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,管理された環境下で使用する分には,通常のシェルスクリプトを使用する方に流れる誘
23889 惑はあります.そうした場合には,お使いのシステムに簡単に濫用することのできるセキュリティホールを,
23890 \emph on
23891 間違いなく
23892 \emph default
23893 導入することを理解しておいてください.オープンソースの伝統に従って,私たちは人々に新しいひな型を投稿してくれるよう促していますが,そのような安全でないひな型はL
23894 yXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
23895 には,安全でないひな型は決して入っていません
23896
23897 \end_layout
23898
23899 \begin_layout Standard
23900 外部素材を含めることで強力な力を手に入れることができますが,この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリ
23901 プトのたった一行に入り込んだ,ちょっとしたエラーが,巨大なセキュリティ上の問題に扉を開きうるのです.したがって,もしこの問題を完全に理解していないならば,特定の
23902 ひな型が安全であるかどうか疑問がある際には,知識豊富なセキュリティの専門家か,\SpecialChar LyX
23903 開発チームに相談してみてください.そしてこの相談は,管理されていない環境下でこれを
23904 使用する前に,行うようにしてください.
23905 \end_layout
23906
23907 \begin_layout Chapter
23908 \start_of_appendix
23909 サポートされているレイアウト用\SpecialChar LyX
23910 関数一覧
23911 \begin_inset CommandInset label
23912 LatexCommand label
23913 name "chap:関数一覧"
23914
23915 \end_inset
23916
23917
23918 \end_layout
23919
23920 \begin_layout Standard
23921 \align center
23922 \begin_inset Tabular
23923 <lyxtabular version="3" rows="11" columns="8">
23924 <features tabularvalignment="middle">
23925 <column alignment="left" valignment="top">
23926 <column alignment="left" valignment="top">
23927 <column alignment="left" valignment="top">
23928 <column alignment="left" valignment="top">
23929 <column alignment="left" valignment="top">
23930 <column alignment="left" valignment="top">
23931 <column alignment="left" valignment="top">
23932 <column alignment="left" valignment="top">
23933 <row>
23934 <cell alignment="left" valignment="top" usebox="none">
23935 \begin_inset Text
23936
23937 \begin_layout Plain Layout
23938 accents
23939 \end_layout
23940
23941 \end_inset
23942 </cell>
23943 <cell alignment="left" valignment="top" usebox="none">
23944 \begin_inset Text
23945
23946 \begin_layout Plain Layout
23947 booktabs
23948 \end_layout
23949
23950 \end_inset
23951 </cell>
23952 <cell alignment="left" valignment="top" usebox="none">
23953 \begin_inset Text
23954
23955 \begin_layout Plain Layout
23956 feyn
23957 \end_layout
23958
23959 \end_inset
23960 </cell>
23961 <cell alignment="left" valignment="top" usebox="none">
23962 \begin_inset Text
23963
23964 \begin_layout Plain Layout
23965 listings
23966 \end_layout
23967
23968 \end_inset
23969 </cell>
23970 <cell alignment="center" valignment="top" usebox="none">
23971 \begin_inset Text
23972
23973 \begin_layout Plain Layout
23974 natbib
23975 \end_layout
23976
23977 \end_inset
23978 </cell>
23979 <cell alignment="center" valignment="top" usebox="none">
23980 \begin_inset Text
23981
23982 \begin_layout Plain Layout
23983 rotfloat
23984 \end_layout
23985
23986 \end_inset
23987 </cell>
23988 <cell alignment="center" valignment="top" usebox="none">
23989 \begin_inset Text
23990
23991 \begin_layout Plain Layout
23992 tfrupee
23993 \end_layout
23994
23995 \end_inset
23996 </cell>
23997 <cell alignment="center" valignment="top" usebox="none">
23998 \begin_inset Text
23999
24000 \begin_layout Plain Layout
24001 wasysym
24002 \end_layout
24003
24004 \end_inset
24005 </cell>
24006 </row>
24007 <row>
24008 <cell alignment="left" valignment="top" usebox="none">
24009 \begin_inset Text
24010
24011 \begin_layout Plain Layout
24012 amsbsy
24013 \end_layout
24014
24015 \end_inset
24016 </cell>
24017 <cell alignment="left" valignment="top" usebox="none">
24018 \begin_inset Text
24019
24020 \begin_layout Plain Layout
24021 calc
24022 \end_layout
24023
24024 \end_inset
24025 </cell>
24026 <cell alignment="left" valignment="top" usebox="none">
24027 \begin_inset Text
24028
24029 \begin_layout Plain Layout
24030 fixltx2e
24031 \end_layout
24032
24033 \end_inset
24034 </cell>
24035 <cell alignment="left" valignment="top" usebox="none">
24036 \begin_inset Text
24037
24038 \begin_layout Plain Layout
24039 longtable
24040 \end_layout
24041
24042 \end_inset
24043 </cell>
24044 <cell alignment="center" valignment="top" usebox="none">
24045 \begin_inset Text
24046
24047 \begin_layout Plain Layout
24048 nomencl
24049 \end_layout
24050
24051 \end_inset
24052 </cell>
24053 <cell alignment="center" valignment="top" usebox="none">
24054 \begin_inset Text
24055
24056 \begin_layout Plain Layout
24057 rsphrase
24058 \end_layout
24059
24060 \end_inset
24061 </cell>
24062 <cell alignment="center" valignment="top" usebox="none">
24063 \begin_inset Text
24064
24065 \begin_layout Plain Layout
24066 tipa
24067 \end_layout
24068
24069 \end_inset
24070 </cell>
24071 <cell alignment="center" valignment="top" usebox="none">
24072 \begin_inset Text
24073
24074 \begin_layout Plain Layout
24075 wrapfig
24076 \end_layout
24077
24078 \end_inset
24079 </cell>
24080 </row>
24081 <row>
24082 <cell alignment="left" valignment="top" usebox="none">
24083 \begin_inset Text
24084
24085 \begin_layout Plain Layout
24086 amscd
24087 \end_layout
24088
24089 \end_inset
24090 </cell>
24091 <cell alignment="left" valignment="top" usebox="none">
24092 \begin_inset Text
24093
24094 \begin_layout Plain Layout
24095 CJK
24096 \end_layout
24097
24098 \end_inset
24099 </cell>
24100 <cell alignment="left" valignment="top" usebox="none">
24101 \begin_inset Text
24102
24103 \begin_layout Plain Layout
24104 float
24105 \end_layout
24106
24107 \end_inset
24108 </cell>
24109 <cell alignment="left" valignment="top" usebox="none">
24110 \begin_inset Text
24111
24112 \begin_layout Plain Layout
24113 lyxskak
24114 \end_layout
24115
24116 \end_inset
24117 </cell>
24118 <cell alignment="center" valignment="top" usebox="none">
24119 \begin_inset Text
24120
24121 \begin_layout Plain Layout
24122 pdfcolmk
24123 \end_layout
24124
24125 \end_inset
24126 </cell>
24127 <cell alignment="center" valignment="top" usebox="none">
24128 \begin_inset Text
24129
24130 \begin_layout Plain Layout
24131 setspace
24132 \end_layout
24133
24134 \end_inset
24135 </cell>
24136 <cell alignment="center" valignment="top" usebox="none">
24137 \begin_inset Text
24138
24139 \begin_layout Plain Layout
24140 tipx
24141 \end_layout
24142
24143 \end_inset
24144 </cell>
24145 <cell alignment="center" valignment="top" usebox="none">
24146 \begin_inset Text
24147
24148 \begin_layout Plain Layout
24149 xargs
24150 \end_layout
24151
24152 \end_inset
24153 </cell>
24154 </row>
24155 <row>
24156 <cell alignment="left" valignment="top" usebox="none">
24157 \begin_inset Text
24158
24159 \begin_layout Plain Layout
24160 amsmath
24161 \end_layout
24162
24163 \end_inset
24164 </cell>
24165 <cell alignment="left" valignment="top" usebox="none">
24166 \begin_inset Text
24167
24168 \begin_layout Plain Layout
24169 color
24170 \end_layout
24171
24172 \end_inset
24173 </cell>
24174 <cell alignment="left" valignment="top" usebox="none">
24175 \begin_inset Text
24176
24177 \begin_layout Plain Layout
24178 framed
24179 \end_layout
24180
24181 \end_inset
24182 </cell>
24183 <cell alignment="left" valignment="top" usebox="none">
24184 \begin_inset Text
24185
24186 \begin_layout Plain Layout
24187 makeidx
24188 \end_layout
24189
24190 \end_inset
24191 </cell>
24192 <cell alignment="center" valignment="top" usebox="none">
24193 \begin_inset Text
24194
24195 \begin_layout Plain Layout
24196 pdfpages
24197 \end_layout
24198
24199 \end_inset
24200 </cell>
24201 <cell alignment="center" valignment="top" usebox="none">
24202 \begin_inset Text
24203
24204 \begin_layout Plain Layout
24205 shapepar
24206 \end_layout
24207
24208 \end_inset
24209 </cell>
24210 <cell alignment="center" valignment="top" usebox="none">
24211 \begin_inset Text
24212
24213 \begin_layout Plain Layout
24214 tone
24215 \end_layout
24216
24217 \end_inset
24218 </cell>
24219 <cell alignment="center" valignment="top" usebox="none">
24220 \begin_inset Text
24221
24222 \begin_layout Plain Layout
24223 xcolor
24224 \end_layout
24225
24226 \end_inset
24227 </cell>
24228 </row>
24229 <row>
24230 <cell alignment="left" valignment="top" usebox="none">
24231 \begin_inset Text
24232
24233 \begin_layout Plain Layout
24234 amssymb
24235 \end_layout
24236
24237 \end_inset
24238 </cell>
24239 <cell alignment="left" valignment="top" usebox="none">
24240 \begin_inset Text
24241
24242 \begin_layout Plain Layout
24243 covington
24244 \end_layout
24245
24246 \end_inset
24247 </cell>
24248 <cell alignment="left" valignment="top" usebox="none">
24249 \begin_inset Text
24250
24251 \begin_layout Plain Layout
24252 graphicx
24253 \end_layout
24254
24255 \end_inset
24256 </cell>
24257 <cell alignment="left" valignment="top" usebox="none">
24258 \begin_inset Text
24259
24260 \begin_layout Plain Layout
24261 marvosym
24262 \end_layout
24263
24264 \end_inset
24265 </cell>
24266 <cell alignment="center" valignment="top" usebox="none">
24267 \begin_inset Text
24268
24269 \begin_layout Plain Layout
24270 pifont
24271 \end_layout
24272
24273 \end_inset
24274 </cell>
24275 <cell alignment="center" valignment="top" usebox="none">
24276 \begin_inset Text
24277
24278 \begin_layout Plain Layout
24279 slashed
24280 \end_layout
24281
24282 \end_inset
24283 </cell>
24284 <cell alignment="center" valignment="top" usebox="none">
24285 \begin_inset Text
24286
24287 \begin_layout Plain Layout
24288 txfonts
24289 \end_layout
24290
24291 \end_inset
24292 </cell>
24293 <cell alignment="center" valignment="top" usebox="none">
24294 \begin_inset Text
24295
24296 \begin_layout Plain Layout
24297 xy
24298 \end_layout
24299
24300 \end_inset
24301 </cell>
24302 </row>
24303 <row>
24304 <cell alignment="left" valignment="top" usebox="none">
24305 \begin_inset Text
24306
24307 \begin_layout Plain Layout
24308 amstext
24309 \end_layout
24310
24311 \end_inset
24312 </cell>
24313 <cell alignment="left" valignment="top" usebox="none">
24314 \begin_inset Text
24315
24316 \begin_layout Plain Layout
24317 csquotes
24318 \end_layout
24319
24320 \end_inset
24321 </cell>
24322 <cell alignment="left" valignment="top" usebox="none">
24323 \begin_inset Text
24324
24325 \begin_layout Plain Layout
24326 hhline
24327 \end_layout
24328
24329 \end_inset
24330 </cell>
24331 <cell alignment="left" valignment="top" usebox="none">
24332 \begin_inset Text
24333
24334 \begin_layout Plain Layout
24335 mathdesign
24336 \end_layout
24337
24338 \end_inset
24339 </cell>
24340 <cell alignment="center" valignment="top" usebox="none">
24341 \begin_inset Text
24342
24343 \begin_layout Plain Layout
24344 pmboxdraw
24345 \end_layout
24346
24347 \end_inset
24348 </cell>
24349 <cell alignment="center" valignment="top" usebox="none">
24350 \begin_inset Text
24351
24352 \begin_layout Plain Layout
24353 soul
24354 \end_layout
24355
24356 \end_inset
24357 </cell>
24358 <cell alignment="center" valignment="top" usebox="none">
24359 \begin_inset Text
24360
24361 \begin_layout Plain Layout
24362 ulem
24363 \end_layout
24364
24365 \end_inset
24366 </cell>
24367 <cell alignment="center" valignment="top" usebox="none">
24368 \begin_inset Text
24369
24370 \begin_layout Plain Layout
24371 yhmath
24372 \end_layout
24373
24374 \end_inset
24375 </cell>
24376 </row>
24377 <row>
24378 <cell alignment="left" valignment="top" usebox="none">
24379 \begin_inset Text
24380
24381 \begin_layout Plain Layout
24382 amsthm
24383 \end_layout
24384
24385 \end_inset
24386 </cell>
24387 <cell alignment="left" valignment="top" usebox="none">
24388 \begin_inset Text
24389
24390 \begin_layout Plain Layout
24391 dvipost
24392 \end_layout
24393
24394 \end_inset
24395 </cell>
24396 <cell alignment="left" valignment="top" usebox="none">
24397 \begin_inset Text
24398
24399 \begin_layout Plain Layout
24400 hyperref
24401 \end_layout
24402
24403 \end_inset
24404 </cell>
24405 <cell alignment="left" valignment="top" usebox="none">
24406 \begin_inset Text
24407
24408 \begin_layout Plain Layout
24409 mathdots
24410 \end_layout
24411
24412 \end_inset
24413 </cell>
24414 <cell alignment="center" valignment="top" usebox="none">
24415 \begin_inset Text
24416
24417 \begin_layout Plain Layout
24418 polyglossia
24419 \end_layout
24420
24421 \end_inset
24422 </cell>
24423 <cell alignment="center" valignment="top" usebox="none">
24424 \begin_inset Text
24425
24426 \begin_layout Plain Layout
24427 splitidx
24428 \end_layout
24429
24430 \end_inset
24431 </cell>
24432 <cell alignment="center" valignment="top" usebox="none">
24433 \begin_inset Text
24434
24435 \begin_layout Plain Layout
24436 undertilde
24437 \end_layout
24438
24439 \end_inset
24440 </cell>
24441 <cell alignment="center" valignment="top" usebox="none">
24442 \begin_inset Text
24443
24444 \begin_layout Plain Layout
24445
24446 \end_layout
24447
24448 \end_inset
24449 </cell>
24450 </row>
24451 <row>
24452 <cell alignment="left" valignment="top" usebox="none">
24453 \begin_inset Text
24454
24455 \begin_layout Plain Layout
24456 array
24457 \end_layout
24458
24459 \end_inset
24460 </cell>
24461 <cell alignment="left" valignment="top" usebox="none">
24462 \begin_inset Text
24463
24464 \begin_layout Plain Layout
24465 endnotes
24466 \end_layout
24467
24468 \end_inset
24469 </cell>
24470 <cell alignment="left" valignment="top" usebox="none">
24471 \begin_inset Text
24472
24473 \begin_layout Plain Layout
24474 ifsym
24475 \end_layout
24476
24477 \end_inset
24478 </cell>
24479 <cell alignment="left" valignment="top" usebox="none">
24480 \begin_inset Text
24481
24482 \begin_layout Plain Layout
24483 mathrsfs
24484 \end_layout
24485
24486 \end_inset
24487 </cell>
24488 <cell alignment="center" valignment="top" usebox="none">
24489 \begin_inset Text
24490
24491 \begin_layout Plain Layout
24492 prettyref
24493 \end_layout
24494
24495 \end_inset
24496 </cell>
24497 <cell alignment="center" valignment="top" usebox="none">
24498 \begin_inset Text
24499
24500 \begin_layout Plain Layout
24501 subfig
24502 \end_layout
24503
24504 \end_inset
24505 </cell>
24506 <cell alignment="center" valignment="top" usebox="none">
24507 \begin_inset Text
24508
24509 \begin_layout Plain Layout
24510 units
24511 \end_layout
24512
24513 \end_inset
24514 </cell>
24515 <cell alignment="center" valignment="top" usebox="none">
24516 \begin_inset Text
24517
24518 \begin_layout Plain Layout
24519
24520 \end_layout
24521
24522 \end_inset
24523 </cell>
24524 </row>
24525 <row>
24526 <cell alignment="left" valignment="top" usebox="none">
24527 \begin_inset Text
24528
24529 \begin_layout Plain Layout
24530 ascii
24531 \end_layout
24532
24533 \end_inset
24534 </cell>
24535 <cell alignment="left" valignment="top" usebox="none">
24536 \begin_inset Text
24537
24538 \begin_layout Plain Layout
24539 enumitem
24540 \end_layout
24541
24542 \end_inset
24543 </cell>
24544 <cell alignment="left" valignment="top" usebox="none">
24545 \begin_inset Text
24546
24547 \begin_layout Plain Layout
24548 ifthen
24549 \end_layout
24550
24551 \end_inset
24552 </cell>
24553 <cell alignment="left" valignment="top" usebox="none">
24554 \begin_inset Text
24555
24556 \begin_layout Plain Layout
24557 mhchem
24558 \end_layout
24559
24560 \end_inset
24561 </cell>
24562 <cell alignment="center" valignment="top" usebox="none">
24563 \begin_inset Text
24564
24565 \begin_layout Plain Layout
24566 pxfonts
24567 \end_layout
24568
24569 \end_inset
24570 </cell>
24571 <cell alignment="center" valignment="top" usebox="none">
24572 \begin_inset Text
24573
24574 \begin_layout Plain Layout
24575 subscript
24576 \end_layout
24577
24578 \end_inset
24579 </cell>
24580 <cell alignment="center" valignment="top" usebox="none">
24581 \begin_inset Text
24582
24583 \begin_layout Plain Layout
24584 url
24585 \end_layout
24586
24587 \end_inset
24588 </cell>
24589 <cell alignment="center" valignment="top" usebox="none">
24590 \begin_inset Text
24591
24592 \begin_layout Plain Layout
24593
24594 \end_layout
24595
24596 \end_inset
24597 </cell>
24598 </row>
24599 <row>
24600 <cell alignment="left" valignment="top" usebox="none">
24601 \begin_inset Text
24602
24603 \begin_layout Plain Layout
24604 bbding
24605 \end_layout
24606
24607 \end_inset
24608 </cell>
24609 <cell alignment="left" valignment="top" usebox="none">
24610 \begin_inset Text
24611
24612 \begin_layout Plain Layout
24613 esint
24614 \end_layout
24615
24616 \end_inset
24617 </cell>
24618 <cell alignment="left" valignment="top" usebox="none">
24619 \begin_inset Text
24620
24621 \begin_layout Plain Layout
24622 jurabib
24623 \end_layout
24624
24625 \end_inset
24626 </cell>
24627 <cell alignment="left" valignment="top" usebox="none">
24628 \begin_inset Text
24629
24630 \begin_layout Plain Layout
24631 multicol
24632 \end_layout
24633
24634 \end_inset
24635 </cell>
24636 <cell alignment="center" valignment="top" usebox="none">
24637 \begin_inset Text
24638
24639 \begin_layout Plain Layout
24640 refstyle
24641 \end_layout
24642
24643 \end_inset
24644 </cell>
24645 <cell alignment="center" valignment="top" usebox="none">
24646 \begin_inset Text
24647
24648 \begin_layout Plain Layout
24649 textcomp
24650 \end_layout
24651
24652 \end_inset
24653 </cell>
24654 <cell alignment="center" valignment="top" usebox="none">
24655 \begin_inset Text
24656
24657 \begin_layout Plain Layout
24658 varioref
24659 \end_layout
24660
24661 \end_inset
24662 </cell>
24663 <cell alignment="center" valignment="top" usebox="none">
24664 \begin_inset Text
24665
24666 \begin_layout Plain Layout
24667
24668 \end_layout
24669
24670 \end_inset
24671 </cell>
24672 </row>
24673 <row>
24674 <cell alignment="center" valignment="top" usebox="none">
24675 \begin_inset Text
24676
24677 \begin_layout Plain Layout
24678 bm
24679 \end_layout
24680
24681 \end_inset
24682 </cell>
24683 <cell alignment="center" valignment="top" usebox="none">
24684 \begin_inset Text
24685
24686 \begin_layout Plain Layout
24687 fancybox
24688 \end_layout
24689
24690 \end_inset
24691 </cell>
24692 <cell alignment="center" valignment="top" usebox="none">
24693 \begin_inset Text
24694
24695 \begin_layout Plain Layout
24696 latexsym
24697 \end_layout
24698
24699 \end_inset
24700 </cell>
24701 <cell alignment="center" valignment="top" usebox="none">
24702 \begin_inset Text
24703
24704 \begin_layout Plain Layout
24705 multirow
24706 \end_layout
24707
24708 \end_inset
24709 </cell>
24710 <cell alignment="center" valignment="top" usebox="none">
24711 \begin_inset Text
24712
24713 \begin_layout Plain Layout
24714 rotating
24715 \end_layout
24716
24717 \end_inset
24718 </cell>
24719 <cell alignment="center" valignment="top" usebox="none">
24720 \begin_inset Text
24721
24722 \begin_layout Plain Layout
24723 textgreek
24724 \end_layout
24725
24726 \end_inset
24727 </cell>
24728 <cell alignment="center" valignment="top" usebox="none">
24729 \begin_inset Text
24730
24731 \begin_layout Plain Layout
24732 verbatim
24733 \end_layout
24734
24735 \end_inset
24736 </cell>
24737 <cell alignment="center" valignment="top" usebox="none">
24738 \begin_inset Text
24739
24740 \begin_layout Plain Layout
24741
24742 \end_layout
24743
24744 \end_inset
24745 </cell>
24746 </row>
24747 </lyxtabular>
24748
24749 \end_inset
24750
24751
24752 \end_layout
24753
24754 \begin_layout Chapter
24755 レイアウトで使用できる色名
24756 \begin_inset CommandInset label
24757 LatexCommand label
24758 name "chap:色名"
24759
24760 \end_inset
24761
24762
24763 \end_layout
24764
24765 \begin_layout Standard
24766 ここに列挙されている色は標準色であり,\SpecialChar LyX
24767 設定で調整できるものです.
24768 \end_layout
24769
24770 \begin_layout Section
24771
24772 \lang english
24773 Color functions
24774 \end_layout
24775
24776 \begin_layout Standard
24777
24778 \lang english
24779 The following are no real colors, but rather act on color definitions:
24780 \end_layout
24781
24782 \begin_layout Description
24783 ignore この色を無視します
24784 \end_layout
24785
24786 \begin_layout Description
24787 inherit この色を継承します
24788 \end_layout
24789
24790 \begin_layout Description
24791 none
24792 \series medium
24793  
24794 \series default
24795 特定の色ではありません – 透明か既定色です
24796 \end_layout
24797
24798 \begin_layout Section
24799
24800 \lang english
24801 Static colors
24802 \end_layout
24803
24804 \begin_layout Standard
24805
24806 \lang english
24807 These are fixed colors that cannot me customized:
24808 \end_layout
24809
24810 \begin_layout Description
24811 black
24812 \end_layout
24813
24814 \begin_layout Description
24815 white
24816 \end_layout
24817
24818 \begin_layout Description
24819 blue
24820 \end_layout
24821
24822 \begin_layout Description
24823 brown
24824 \end_layout
24825
24826 \begin_layout Description
24827 cyan
24828 \end_layout
24829
24830 \begin_layout Description
24831 darkgray
24832 \end_layout
24833
24834 \begin_layout Description
24835 gray
24836 \end_layout
24837
24838 \begin_layout Description
24839 green
24840 \end_layout
24841
24842 \begin_layout Description
24843 lightgray
24844 \end_layout
24845
24846 \begin_layout Description
24847 lime
24848 \end_layout
24849
24850 \begin_layout Description
24851 magenta
24852 \end_layout
24853
24854 \begin_layout Description
24855 olive
24856 \end_layout
24857
24858 \begin_layout Description
24859 orange
24860 \end_layout
24861
24862 \begin_layout Description
24863 pink
24864 \end_layout
24865
24866 \begin_layout Description
24867 purple
24868 \end_layout
24869
24870 \begin_layout Description
24871 red
24872 \end_layout
24873
24874 \begin_layout Description
24875 teal
24876 \end_layout
24877
24878 \begin_layout Description
24879 violet
24880 \end_layout
24881
24882 \begin_layout Description
24883 yellow
24884 \end_layout
24885
24886 \begin_layout Section
24887
24888 \lang english
24889 Dynamic colors
24890 \end_layout
24891
24892 \begin_layout Standard
24893
24894 \lang english
24895 These are the colors allocated to specific elements in
24896 \lang japanese
24897
24898 \begin_inset Flex MenuItem
24899 status collapsed
24900
24901 \begin_layout Plain Layout
24902 ツール\SpecialChar menuseparator
24903 設定
24904 \end_layout
24905
24906 \end_inset
24907
24908 :
24909 \end_layout
24910
24911 \begin_layout Description
24912 added_space 空白マーカ色
24913 \end_layout
24914
24915 \begin_layout Description
24916 addedtext 追加された文章色
24917 \end_layout
24918
24919 \begin_layout Description
24920 appendix 付録マーカ色
24921 \end_layout
24922
24923 \begin_layout Description
24924 background 背景色
24925 \end_layout
24926
24927 \begin_layout Description
24928 bottomarea 下部領域色
24929 \end_layout
24930
24931 \begin_layout Description
24932 branchlabel 派生枝ラベル色
24933 \end_layout
24934
24935 \begin_layout Description
24936 buttonbg ボタンの背景色
24937 \end_layout
24938
24939 \begin_layout Description
24940 buttonframe 差込枠の縁色
24941 \end_layout
24942
24943 \begin_layout Description
24944 buttonhoverbg フォーカスを得ているボタンの背景色
24945 \end_layout
24946
24947 \begin_layout Description
24948 changebar 変更バー色
24949 \end_layout
24950
24951 \begin_layout Description
24952 changedtextauthor1 変更された文章:第1著者の色
24953 \end_layout
24954
24955 \begin_layout Description
24956 changedtextauthor2 変更された文章:第2著者の色
24957 \end_layout
24958
24959 \begin_layout Description
24960 changedtextauthor3 変更された文章:第3著者の色
24961 \end_layout
24962
24963 \begin_layout Description
24964 changedtextauthor4 変更された文章:第4著者の色
24965 \end_layout
24966
24967 \begin_layout Description
24968 changedtextauthor5 変更された文章:第5著者の色
24969 \end_layout
24970
24971 \begin_layout Description
24972 collapsibletext 畳み込み可能枠の文字色
24973 \end_layout
24974
24975 \begin_layout Description
24976 collapsibleframe 畳み込み可能枠の縁色
24977 \end_layout
24978
24979 \begin_layout Description
24980 command コマンド差込枠の文字色
24981 \end_layout
24982
24983 \begin_layout Description
24984 commandbg コマンド差込枠の背景色
24985 \end_layout
24986
24987 \begin_layout Description
24988 commandframe コマンド差込枠の縁色
24989 \end_layout
24990
24991 \begin_layout Description
24992 comment コメント色
24993 \end_layout
24994
24995 \begin_layout Description
24996 commentbg コメントの背景色
24997 \end_layout
24998
24999 \begin_layout Description
25000 cursor カーソル色
25001 \end_layout
25002
25003 \begin_layout Description
25004 deletedtext 削除された文章の色
25005 \end_layout
25006
25007 \begin_layout Description
25008 deletedtextmodifier 削除された文章の修飾子の色
25009 \end_layout
25010
25011 \begin_layout Description
25012 depthbar 余白部の階層表示線の色
25013 \end_layout
25014
25015 \begin_layout Description
25016 eolmarker 行末標色
25017 \end_layout
25018
25019 \begin_layout Description
25020 error \SpecialChar LaTeX
25021 エラーボックス色
25022 \end_layout
25023
25024 \begin_layout Description
25025 footlabel 脚註ラベル色
25026 \end_layout
25027
25028 \begin_layout Description
25029 foreground 
25030 \lang english
25031 Foreground color
25032 \end_layout
25033
25034 \begin_layout Description
25035 graphicsbg 画像差込枠の背景色
25036 \end_layout
25037
25038 \begin_layout Description
25039 greyedoutbg 淡色表示差込枠の背景色
25040 \end_layout
25041
25042 \begin_layout Description
25043 greyedoutlabel 淡色表示差込枠のラベル色
25044 \end_layout
25045
25046 \begin_layout Description
25047 greyedouttext 淡色表示差込枠の文字色
25048 \end_layout
25049
25050 \begin_layout Description
25051 indexlabel 索引差込枠のラベル色
25052 \end_layout
25053
25054 \begin_layout Description
25055 inlinecompletion 行内補完色
25056 \end_layout
25057
25058 \begin_layout Description
25059 insetbg 差込枠標の背景色
25060 \end_layout
25061
25062 \begin_layout Description
25063 insetframe 差込枠標の縁色
25064 \end_layout
25065
25066 \begin_layout Description
25067 language 外国語の単語を標識するための色
25068 \end_layout
25069
25070 \begin_layout Description
25071 latex \SpecialChar LaTeX
25072 モードの文字色
25073 \end_layout
25074
25075 \begin_layout Description
25076 listingsbg プログラムリスト差込枠の背景色
25077 \end_layout
25078
25079 \begin_layout Description
25080 marginlabel 傍註のラベル色
25081 \end_layout
25082
25083 \begin_layout Description
25084 math 数式差込枠の文字色
25085 \end_layout
25086
25087 \begin_layout Description
25088 mathbg 数式差込枠の背景色
25089 \end_layout
25090
25091 \begin_layout Description
25092 mathcorners フォーカスを得ていない数式差込枠の縁色
25093 \end_layout
25094
25095 \begin_layout Description
25096 mathframe フォーカスを得ている数式差込枠の縁色
25097 \end_layout
25098
25099 \begin_layout Description
25100 mathline 数式行色
25101 \end_layout
25102
25103 \begin_layout Description
25104 mathmacrobg 数式マクロ差込枠の背景色
25105 \end_layout
25106
25107 \begin_layout Description
25108 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
25109 \end_layout
25110
25111 \begin_layout Description
25112 mathmacroframe 数式マクロ差込枠の縁色
25113 \end_layout
25114
25115 \begin_layout Description
25116 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
25117 \end_layout
25118
25119 \begin_layout Description
25120 mathmacrolabel 数式マクロ差込枠のラベル色
25121 \end_layout
25122
25123 \begin_layout Description
25124 mathmacronewarg 数式マクロ新パラメーターのひな型色
25125 \end_layout
25126
25127 \begin_layout Description
25128 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
25129 \end_layout
25130
25131 \begin_layout Description
25132 newpage 新規頁色
25133 \end_layout
25134
25135 \begin_layout Description
25136 nonunique_inlinecompletion 行内補完の一意でない部分の色
25137 \end_layout
25138
25139 \begin_layout Description
25140 note 註釈のラベル色
25141 \end_layout
25142
25143 \begin_layout Description
25144 notebg 註釈の背景色
25145 \end_layout
25146
25147 \begin_layout Description
25148 pagebreak 改頁/改行色
25149 \end_layout
25150
25151 \begin_layout Description
25152 paragraphmarker 段落末を標識するための段落標の色
25153 \end_layout
25154
25155 \begin_layout Description
25156 phantomtext 埋め草差込枠の文字色
25157 \end_layout
25158
25159 \begin_layout Description
25160 preview プレビューに用いられる色
25161 \end_layout
25162
25163 \begin_layout Description
25164 previewframe プレビュー縁色
25165 \end_layout
25166
25167 \begin_layout Description
25168 regexpframe 正規表現枠の色
25169 \end_layout
25170
25171 \begin_layout Description
25172 scroll 
25173 \lang english
25174 Color that indicates when a row can be scrolled
25175 \end_layout
25176
25177 \begin_layout Description
25178 selection 文章選択部の背景色
25179 \end_layout
25180
25181 \begin_layout Description
25182 selectiontext 文章選択部の前景色
25183 \end_layout
25184
25185 \begin_layout Description
25186 shadedbg 影付きボックスの背景色
25187 \end_layout
25188
25189 \begin_layout Description
25190 special 特殊文字の色
25191 \end_layout
25192
25193 \begin_layout Description
25194 tabularline 罫線色
25195 \end_layout
25196
25197 \begin_layout Description
25198 tabularonoffline 罫線色
25199 \end_layout
25200
25201 \begin_layout Description
25202 urllabel URL差込枠のラベル色
25203 \end_layout
25204
25205 \begin_layout Description
25206 urltext URL差込枠の文字色
25207 \end_layout
25208
25209 \end_body
25210 \end_document