]> git.lyx.org Git - lyx.git/blob - lib/doc/ja/Customization.lyx
Customization: some color name fixes.
[lyx.git] / lib / doc / ja / Customization.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties false
6 \origin /systemlyxdir/doc/ja/
7 \textclass scrbook
8 \begin_preamble
9 % DO NOT ALTER THIS PREAMBLE!!!
10 %
11 % This preamble is designed to ensure that this document prints
12 % out as advertised. If you mess with this preamble,
13 % parts of this document may not print out as expected.  If you
14 % have problems LaTeXing this file, please contact 
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
17
18 % the pages of the TOC is numbered roman
19 % and a pdf-bookmark for the TOC is added
20 \let\myTOC\tableofcontents
21 \renewcommand\tableofcontents{%
22   \frontmatter
23   \pdfbookmark[1]{\contentsname}{}
24   \myTOC
25   \mainmatter }
26
27 % Added only for Japanese translation
28 % This is needed to use \textquotedbl (this doesn't exist in OT1 encoding)
29 \usepackage[T1]{fontenc}
30 \end_preamble
31 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
32 \use_default_options false
33 \begin_modules
34 logicalmkup
35 \end_modules
36 \maintain_unincluded_children false
37 \begin_local_layout
38 Format 57
39 InsetLayout Flex:MenuItem
40 LyxType               charstyle
41 LabelString           menu
42 LatexType             command
43 LatexName             menuitem
44 Font
45 Family              Sans
46 EndFont
47 Preamble
48 \newcommand*{\menuitem}[1]{{\sffamily #1}}
49 EndPreamble
50 ResetsFont true
51 End
52 # In case we need to do with sans...
53 #InsetLayout CharStyle:Code
54 #Font
55 #Family              Sans
56 #EndFont
57 #Preamble
58 #\renewcommand{\code}[1]{{\sffamily #1}}
59 #EndPreamble
60 #End
61 InsetLayout             Flex:Ruby
62 LyxType         charstyle
63 LatexType               command
64 LatexName               ruby
65 BgColor         none
66 LabelString             "ルビ"
67 Decoration              Conglomerate
68 Argument post:1
69 LabelString     "ルビ文"
70 MenuString      "ルビ文(S)|S"
71 Decoration      Conglomerate
72 Font
73 Size            tiny
74 EndFont
75 LabelFont
76 Size            tiny
77 EndFont
78 Mandatory       1
79 EndArgument
80 Preamble
81 \IfFileExists{okumacro.sty}
82 {\usepackage{okumacro}}
83 {\newcommand{\ruby}[2]{#2}}
84 EndPreamble
85 ResetsFont true
86 End
87 \end_local_layout
88 \language japanese
89 \language_package default
90 \inputencoding auto
91 \fontencoding global
92 \font_roman "default" "default"
93 \font_sans "default" "default"
94 \font_typewriter "default" "default"
95 \font_math "auto" "auto"
96 \font_default_family default
97 \use_non_tex_fonts false
98 \font_sc false
99 \font_osf false
100 \font_sf_scale 100 100
101 \font_tt_scale 100 100
102 \use_microtype false
103 \use_dash_ligatures false
104 \graphics default
105 \default_output_format default
106 \output_sync 0
107 \bibtex_command default
108 \index_command default
109 \paperfontsize 12
110 \spacing single
111 \use_hyperref true
112 \pdf_title "LyX Configuration Manual"
113 \pdf_author "LyX Team"
114 \pdf_subject "LyX-Documentation Customization"
115 \pdf_keywords "LyX, documentation, customization"
116 \pdf_bookmarks false
117 \pdf_bookmarksnumbered true
118 \pdf_bookmarksopen true
119 \pdf_bookmarksopenlevel 1
120 \pdf_breaklinks false
121 \pdf_pdfborder false
122 \pdf_colorlinks true
123 \pdf_backref false
124 \pdf_pdfusetitle false
125 \pdf_quoted_options "driverfallback=dvipdfmx, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
126 \papersize default
127 \use_geometry false
128 \use_package amsmath 1
129 \use_package amssymb 1
130 \use_package cancel 1
131 \use_package esint 1
132 \use_package mathdots 1
133 \use_package mathtools 1
134 \use_package mhchem 1
135 \use_package stackrel 1
136 \use_package stmaryrd 1
137 \use_package undertilde 1
138 \cite_engine basic
139 \cite_engine_type default
140 \biblio_style plain
141 \use_bibtopic false
142 \use_indices false
143 \paperorientation portrait
144 \suppress_date false
145 \justification false
146 \use_refstyle 0
147 \use_minted 0
148 \notefontcolor #0000ff
149 \branch OutDated
150 \selected 0
151 \filename_suffix 0
152 \color #f5fae7
153 \end_branch
154 \index 索引
155 \shortcut idx
156 \color #008000
157 \end_index
158 \secnumdepth 3
159 \tocdepth 3
160 \paragraph_separation indent
161 \paragraph_indentation default
162 \is_math_indent 1
163 \math_indentation default
164 \math_numbering_side default
165 \quotes_style english
166 \dynamic_quotes 0
167 \papercolumns 1
168 \papersides 2
169 \paperpagestyle headings
170 \tracking_changes false
171 \output_changes false
172 \html_math_output 0
173 \html_css_as_file 0
174 \html_be_strict true
175 \author -712698321 "Jürgen Spitzmüller"
176 \end_header
177
178 \begin_body
179
180 \begin_layout Title
181 \SpecialChar LyX
182 の高度設定
183 \begin_inset Newline newline
184 \end_inset
185
186 熟練ユーザのための各機能
187 \end_layout
188
189 \begin_layout Author
190 \SpecialChar LyX
191 開発チーム
192 \begin_inset Foot
193 status collapsed
194
195 \begin_layout Plain Layout
196 \noindent
197 もしコメントや誤りの修正をお持ちでしたら,\SpecialChar LyX
198 文書化メーリングリスト
199 \begin_inset CommandInset href
200 LatexCommand href
201 target "lyx-docs@lists.lyx.org"
202 type "mailto:"
203 literal "false"
204
205 \end_inset
206
207 宛お送りください.件名ヘッダに「[Customization]」という文字を入れ,このファイルの現在のメンテナRichard Heck <rgheck@comc
208 ast.net>をccにして送ってください.
209 \end_layout
210
211 \end_inset
212
213
214 \begin_inset Newline newline
215 \end_inset
216
217
218 \begin_inset Newline newline
219 \end_inset
220
221 第2.3.x版
222 \end_layout
223
224 \begin_layout Standard
225 \begin_inset CommandInset toc
226 LatexCommand tableofcontents
227
228 \end_inset
229
230
231 \begin_inset Note Note
232 status open
233
234 \begin_layout Plain Layout
235 本文書を修正する際には,変更追跡機能を使用してください.これによって,
236 \end_layout
237
238 \begin_layout Plain Layout
239 \SpecialChar LyX
240 翻訳者陣が変更点を認識しやすくなり,メンテナが最新の状態を維持することが容易になります.
241 \end_layout
242
243 \end_inset
244
245
246 \end_layout
247
248 \begin_layout Chapter
249 はじめに
250 \end_layout
251
252 \begin_layout Standard
253 この取扱説明書は,\SpecialChar LyX
254 に備わっている高度設定機能を取り扱います.ここでは,
255 \begin_inset Flex Ruby
256 status collapsed
257
258 \begin_layout Plain Layout
259 捷径
260 \begin_inset Argument post:1
261 status collapsed
262
263 \begin_layout Plain Layout
264 ショートカット
265 \end_layout
266
267 \end_inset
268
269
270 \end_layout
271
272 \end_inset
273
274 や画面プレビューオプション,プリンタオプション,\SpecialChar LyX
275 サーバ経由での\SpecialChar LyX
276 へのコマンド送信,国際化,新しい\SpecialChar LaTeX
277 クラスや\SpecialChar LyX
278 レイアウトの導入などの題材について論じます.おそらくは変更
279 可能なことすべてについて触れることは無理でしょうが—私たちの開発者たちは私たちが文書化できる速さよりも速く新しい機能を付け加えてしまうので—,もっとも一般的な高
280 度設定については説明を行い,わかりにくいものについては正しい方向を指し示すことができるようにしていくつもりです.
281 \end_layout
282
283 \begin_layout Standard
284 \begin_inset Branch OutDated
285 inverted 0
286 status collapsed
287
288 \begin_layout Standard
289 Information from previous versions of this document that now seems to be
290  outdated is contained in the OutDated branch of this document.
291  By default, this information will not appear in the \SpecialChar LaTeX
292  output.
293 \end_layout
294
295 \end_inset
296
297
298 \end_layout
299
300 \begin_layout Chapter
301 \SpecialChar LyX
302 設定ファイル
303 \end_layout
304
305 \begin_layout Standard
306 本章の目的は,\SpecialChar LyX
307 設定ファイル群を理解するための一助となることです.本章を読み進める前に,
308 \begin_inset Flex MenuItem
309 status collapsed
310
311 \begin_layout Plain Layout
312 ヘルプ\SpecialChar menuseparator
313 LyXについて
314 \end_layout
315
316 \end_inset
317
318 を使って,\SpecialChar LyX
319 ライブラリとユーザディレクトリがどこにあるかを確認しておいてください.ライブラリディレクトリは,\SpecialChar LyX
320 がシステム全体の設定ファイルを置いておくところです.一
321 方,ユーザディレクトリは,自身がそれを修正した版を置いておくところです.私たちは,本書の以下の部分で,前者を
322 \begin_inset Flex Code
323 status collapsed
324
325 \begin_layout Plain Layout
326 LyXDir
327 \end_layout
328
329 \end_inset
330
331 と呼び,後者を
332 \begin_inset Flex MenuItem
333 status collapsed
334
335 \begin_layout Plain Layout
336 UserDir
337 \end_layout
338
339 \end_inset
340
341 と呼ぶことにします.
342 \end_layout
343
344 \begin_layout Section
345 \begin_inset Flex Code
346 status collapsed
347
348 \begin_layout Plain Layout
349 LyXDir
350 \end_layout
351
352 \end_inset
353
354 にはなにがあるの?
355 \end_layout
356
357 \begin_layout Standard
358 \begin_inset Flex Code
359 status collapsed
360
361 \begin_layout Plain Layout
362 LyXDir
363 \end_layout
364
365 \end_inset
366
367 とそのサブディレクトリには,多くのファイルがあり,\SpecialChar LyX
368 の挙動を高度設定するのに使用されます.これらのファイルの多くは,\SpecialChar LyX
369 内の
370 \begin_inset Flex MenuItem
371 status collapsed
372
373 \begin_layout Plain Layout
374 ツール\SpecialChar menuseparator
375 設定
376 \end_layout
377
378 \end_inset
379
380 ダイアログから変更することができます.\SpecialChar LyX
381 中で行いたいと思うような高度設定は,ほとんどこのダイアログから行うことができるようになっています.しかしながら,LyXの他
382 の多くの内部動作は,
383 \begin_inset Flex Code
384 status collapsed
385
386 \begin_layout Plain Layout
387 LyXDir
388 \end_layout
389
390 \end_inset
391
392 のファイルを修正することで高度設定されます.これらのファイルは様々なカテゴリに分類しうるので,以下の各小節で説明します.
393 \end_layout
394
395 \begin_layout Subsection
396 自動的に生成されるファイル
397 \end_layout
398
399 \begin_layout Standard
400 \begin_inset Flex MenuItem
401 status collapsed
402
403 \begin_layout Plain Layout
404 UserDir
405 \end_layout
406
407 \end_inset
408
409 にある各ファイルは,\SpecialChar LyX
410 が自動設定を行ったときに生成されます.これらのファイルは,内部調査中に推測された様々な既定値が置かれています.これらは,随時上書きされてしま
411 うので,一般的には修正しないことが望まれます.
412 \end_layout
413
414 \begin_layout Labeling
415 \labelwidthstring 00.00.0000
416 \begin_inset Flex Code
417 status collapsed
418
419 \begin_layout Plain Layout
420 lyxrc.defaults
421 \end_layout
422
423 \end_inset
424
425  このファイルには,様々な既定コマンドが置かれています.
426 \end_layout
427
428 \begin_layout Labeling
429 \labelwidthstring 00.00.0000
430 \begin_inset Flex Code
431 status collapsed
432
433 \begin_layout Plain Layout
434 packages.lst
435 \end_layout
436
437 \end_inset
438
439  このファイルには,\SpecialChar LyX
440 が認識したパッケージの一覧が収められています.現在のところ,これは\SpecialChar LyX
441 プログラム自体には使用されていませんが,抽出された情報その他は,
442 \begin_inset Flex MenuItem
443 status collapsed
444
445 \begin_layout Plain Layout
446 ヘルプ\SpecialChar menuseparator
447 LaTeXの設定
448 \end_layout
449
450 \end_inset
451
452 で見ることができます.
453 \end_layout
454
455 \begin_layout Labeling
456 \labelwidthstring 00.00.0000
457 \begin_inset Flex Code
458 status collapsed
459
460 \begin_layout Plain Layout
461 textclass.lst
462 \end_layout
463
464 \end_inset
465
466  ユーザの
467 \begin_inset Flex Code
468 status collapsed
469
470 \begin_layout Plain Layout
471 Plain L
472 \end_layout
473
474 \end_inset
475
476 ディレクトリで検出されたテキストクラスと,関連した\SpecialChar LaTeX
477 文書クラスおよびその説明の一覧です.
478 \end_layout
479
480 \begin_layout Labeling
481 \labelwidthstring 00.00.0000
482 \begin_inset Flex Code
483 status collapsed
484
485 \begin_layout Plain Layout
486 lyxmodules.lst
487 \end_layout
488
489 \end_inset
490
491  ユーザの
492 \begin_inset Flex Code
493 status collapsed
494
495 \begin_layout Plain Layout
496 layout/
497 \end_layout
498
499 \end_inset
500
501 ディレクトリで検出されたレイアウトモジュールの一覧です.
502 \end_layout
503
504 \begin_layout Labeling
505 \labelwidthstring 00.00.0000
506 \begin_inset Flex Code
507 status collapsed
508
509 \begin_layout Plain Layout
510 *files.lst
511 \end_layout
512
513 \end_inset
514
515  ご使用のシステムで検出された様々な種類の\SpecialChar LaTeX
516 関連ファイルの一覧です.
517 \end_layout
518
519 \begin_layout Labeling
520 \labelwidthstring 00.00.0000
521 \begin_inset Flex Code
522 status collapsed
523
524 \begin_layout Plain Layout
525 doc/LaTeXConfig.lyx
526 \end_layout
527
528 \end_inset
529
530  このファイルは,自動設定中に
531 \begin_inset Flex Code
532 status collapsed
533
534 \begin_layout Plain Layout
535 LaTeXConfig.lyx.in
536 \end_layout
537
538 \end_inset
539
540 から自動的に生成されます.ご使用中の\SpecialChar LaTeX
541 の設定に関する情報が納められています.
542 \end_layout
543
544 \begin_layout Subsection
545 ディレクトリ
546 \end_layout
547
548 \begin_layout Standard
549 以下の各ディレクトリは,
550 \begin_inset Flex Code
551 status collapsed
552
553 \begin_layout Plain Layout
554 LyXDir
555 \end_layout
556
557 \end_inset
558
559
560 \begin_inset Flex Code
561 status collapsed
562
563 \begin_layout Plain Layout
564 UserDir
565 \end_layout
566
567 \end_inset
568
569 に重複して存在します.特定のファイルが両方の場所にある場合には,
570 \begin_inset Flex Code
571 status collapsed
572
573 \begin_layout Plain Layout
574 UserDir
575 \end_layout
576
577 \end_inset
578
579 の方にあるものが使用されます.
580 \end_layout
581
582 \begin_layout Labeling
583 \labelwidthstring 00.00.0000
584 \begin_inset Flex Code
585 status collapsed
586
587 \begin_layout Plain Layout
588 bind/
589 \end_layout
590
591 \end_inset
592
593  このディレクトリには,\SpecialChar LyX
594 で使用されるキー割当を定義している,拡張子が
595 \begin_inset Flex Code
596 status collapsed
597
598 \begin_layout Plain Layout
599 .bind
600 \end_layout
601
602 \end_inset
603
604 のファイルが置かれています.
605 \begin_inset Flex Code
606 status collapsed
607
608 \begin_layout Plain Layout
609 $LANG_xxx.bind
610 \end_layout
611
612 \end_inset
613
614 という名称の割当ファイルの各国語版がある場合には,そちらが用いられます.
615 \end_layout
616
617 \begin_layout Labeling
618 \labelwidthstring 00.00.0000
619 \begin_inset Flex Code
620 status collapsed
621
622 \begin_layout Plain Layout
623 citeengines/
624 \end_layout
625
626 \end_inset
627
628  このディレクトリには,幅広い文献引用力(natbib, biblatexなど)を定義する,拡張子が
629 \begin_inset Flex Code
630 status collapsed
631
632 \begin_layout Plain Layout
633 .citeengine
634 \end_layout
635
636 \end_inset
637
638 のファイルが置かれています.詳細については,第
639 \begin_inset CommandInset ref
640 LatexCommand ref
641 reference "subsec:引用エンジンファイル"
642 plural "false"
643 caps "false"
644 noprefix "false"
645
646 \end_inset
647
648 節をご覧ください.
649 \end_layout
650
651 \begin_layout Labeling
652 \labelwidthstring 00.00.0000
653 \begin_inset Flex Code
654 status collapsed
655
656 \begin_layout Plain Layout
657 clipart/
658 \end_layout
659
660 \end_inset
661
662  このディレクトリには,文書に取り込むことのできる画像ファイルが納められています.
663 \end_layout
664
665 \begin_layout Labeling
666 \labelwidthstring 00.00.0000
667 \begin_inset Flex Code
668 status collapsed
669
670 \begin_layout Plain Layout
671 doc/
672 \end_layout
673
674 \end_inset
675
676  このディレクトリには,\SpecialChar LyX
677 の取扱説明書ファイル(今お読みのものも含めて)が納められています.上述のように,
678 \begin_inset Flex Code
679 status collapsed
680
681 \begin_layout Plain Layout
682 LaTeXConfig.lyx
683 \end_layout
684
685 \end_inset
686
687 ファイルは特に注目に値します.各国語版のヘルプ文書は,
688 \begin_inset Flex Code
689 status collapsed
690
691 \begin_layout Plain Layout
692 doc/xx
693 \end_layout
694
695 \end_inset
696
697 (「xx」はISO言語コード)サブディレクトリにあります.詳しくは,
698 \begin_inset CommandInset ref
699 LatexCommand ref
700 reference "cha:LyXの各国語対応"
701
702 \end_inset
703
704 をご覧ください.
705 \end_layout
706
707 \begin_layout Labeling
708 \labelwidthstring 00.00.0000
709 \begin_inset Flex Code
710 status collapsed
711
712 \begin_layout Plain Layout
713 examples/
714 \end_layout
715
716 \end_inset
717
718  このディレクトリには,何らかの機能の使い方を説明する例示ファイルが納められています.ファイルブラウザ中で
719 \begin_inset Flex MenuItem
720 status collapsed
721
722 \begin_layout Plain Layout
723 用例
724 \end_layout
725
726 \end_inset
727
728 ボタンを押すと,このディレクトリが表示されます.
729 \end_layout
730
731 \begin_layout Labeling
732 \labelwidthstring 00.00.0000
733 \begin_inset Flex Code
734 status collapsed
735
736 \begin_layout Plain Layout
737 images/
738 \end_layout
739
740 \end_inset
741
742  このディレクトリには,
743 \begin_inset Flex MenuItem
744 status collapsed
745
746 \begin_layout Plain Layout
747 文書
748 \end_layout
749
750 \end_inset
751
752 ダイアログで使用される画像ファイルが納められています.さらに,ツールバーの各アイコンや,\SpecialChar LyX
753 を起動したときに現れるバナーも納められています.
754 \end_layout
755
756 \begin_layout Labeling
757 \labelwidthstring 00.00.0000
758 \begin_inset Flex Code
759 status collapsed
760
761 \begin_layout Plain Layout
762 kbd/
763 \end_layout
764
765 \end_inset
766
767  このディレクトリには,キーボードのキー割当ファイルが納められています.詳細については,
768 \begin_inset CommandInset ref
769 LatexCommand ref
770 reference "sec:国際キー配列"
771
772 \end_inset
773
774 をご覧ください.
775 \end_layout
776
777 \begin_layout Labeling
778 \labelwidthstring 00.00.0000
779 \begin_inset Flex Code
780 status collapsed
781
782 \begin_layout Plain Layout
783 layouts/
784 \end_layout
785
786 \end_inset
787
788  このディレクトリには,
789 \begin_inset CommandInset ref
790 LatexCommand ref
791 reference "cha:新規文書を導入"
792
793 \end_inset
794
795 に述べられているテキストクラスおよびモジュールのファイルが納められています.
796 \end_layout
797
798 \begin_layout Labeling
799 \labelwidthstring 00.00.0000
800 \begin_inset Flex Code
801 status collapsed
802
803 \begin_layout Plain Layout
804 lyx2lyx
805 \end_layout
806
807 \end_inset
808
809  このディレクトリには,\SpecialChar LyX
810 の各バージョン間の変換に使用される
811 \begin_inset Flex Code
812 status collapsed
813
814 \begin_layout Plain Layout
815 lyx2lyx
816 \end_layout
817
818 \end_inset
819
820  Pythonスクリプトが納められています.たとえば,複数のファイルの変換をバッチ処理したい場合には,これらをコマンドラインから実行することもできます.
821 \end_layout
822
823 \begin_layout Labeling
824 \labelwidthstring 00.00.0000
825 \begin_inset Flex Code
826 status collapsed
827
828 \begin_layout Plain Layout
829 scripts/
830 \end_layout
831
832 \end_inset
833
834  このディレクトリには,
835 \begin_inset Flex MenuItem
836 status collapsed
837
838 \begin_layout Plain Layout
839 外用ひな型
840 \end_layout
841
842 \end_inset
843
844 機能の有用性を示すためのファイルがいくつか納められています.\SpecialChar LyX
845 自身が使用するスクリプトもいくつか収められています.
846 \end_layout
847
848 \begin_layout Labeling
849 \labelwidthstring 00.00.0000
850 \begin_inset Flex Code
851 status collapsed
852
853 \begin_layout Plain Layout
854 templates/
855 \end_layout
856
857 \end_inset
858
859  このディレクトリには,
860 \begin_inset CommandInset ref
861 LatexCommand ref
862 reference "sec:ひな型を作成する"
863
864 \end_inset
865
866 で述べられている標準の\SpecialChar LyX
867 ひな型ファイルが納められています.
868 \end_layout
869
870 \begin_layout Labeling
871 \labelwidthstring 00.00.0000
872 \begin_inset Flex Code
873 status collapsed
874
875 \begin_layout Plain Layout
876 ui/
877 \end_layout
878
879 \end_inset
880
881  このディレクトリには,\SpecialChar LyX
882 の操作画面を定義する拡張子
883 \begin_inset Flex Code
884 status collapsed
885
886 \begin_layout Plain Layout
887 .ui
888 \end_layout
889
890 \end_inset
891
892 のファイルが納められています.つまり,これらのファイルは,どのメニュー項目がどのメニューに現れるかを定義し,どの項目がツールバーに現れるかを定義しています.
893 \end_layout
894
895 \begin_layout Labeling
896 \labelwidthstring 00.00.0000
897 \begin_inset Flex Code
898 status collapsed
899
900 \begin_layout Plain Layout
901 xtemplates/
902 \end_layout
903
904 \end_inset
905
906  このディレクトリには,\SpecialChar LyX
907 文書への外部素材の挿入のひな型を定義する,拡張子が
908 \begin_inset Flex Code
909 status collapsed
910
911 \begin_layout Plain Layout
912 .xtemplate
913 \end_layout
914
915 \end_inset
916
917 のファイルが置かれています.第
918 \begin_inset CommandInset ref
919 LatexCommand ref
920 reference "chap:外部素材を取り込む"
921 plural "false"
922 caps "false"
923 noprefix "false"
924
925 \end_inset
926
927 節参照.
928 \end_layout
929
930 \begin_layout Subsection
931 変更を加えない方がよいファイル
932 \end_layout
933
934 \begin_layout Standard
935 これらのファイルは\SpecialChar LyX
936 が内部的に使用するもので,あなたが開発者でない限りは,凡そこれらに変更を加える必要はありません.
937 \end_layout
938
939 \begin_layout Labeling
940 \labelwidthstring 00.00.0000
941 \begin_inset Flex Code
942 status collapsed
943
944 \begin_layout Plain Layout
945 CREDITS
946 \end_layout
947
948 \end_inset
949
950  このファイルは,\SpecialChar LyX
951 開発陣の名簿です.この内容は,メニュー項目
952 \begin_inset Flex MenuItem
953 status collapsed
954
955 \begin_layout Plain Layout
956 ヘルプ\SpecialChar menuseparator
957 LyXについて
958 \end_layout
959
960 \end_inset
961
962 で表示されます.
963 \end_layout
964
965 \begin_layout Labeling
966 \labelwidthstring 00.00.0000
967 \begin_inset Flex Code
968 status collapsed
969
970 \begin_layout Plain Layout
971 chkconfig.ltx
972 \end_layout
973
974 \end_inset
975
976  これは,自動設定プロセスによって使用される\SpecialChar LaTeX
977 スクリプトです.直接実行しないでください.
978 \end_layout
979
980 \begin_layout Labeling
981 \labelwidthstring 00.00.0000
982 \begin_inset Flex Code
983 status collapsed
984
985 \begin_layout Plain Layout
986 configure.py
987 \end_layout
988
989 \end_inset
990
991  これは,\SpecialChar LyX
992 の環境構成によって使用されるスクリプトです.これは,このスクリプトを実行したディレクトリに設定ファイルを生成します.
993 \end_layout
994
995 \begin_layout Subsection
996 ひとこと必要なファイル群
997 \end_layout
998
999 \begin_layout Labeling
1000 \labelwidthstring 00.00.0000
1001 \begin_inset Flex Code
1002 status collapsed
1003
1004 \begin_layout Plain Layout
1005 encodings
1006 \end_layout
1007
1008 \end_inset
1009
1010  このファイルには,各文字エンコーディングがどのようにUnicodeにマップされるかを示した表が載っています.
1011 \end_layout
1012
1013 \begin_layout Labeling
1014 \labelwidthstring 00.00.0000
1015 \begin_inset Flex Code
1016 status collapsed
1017
1018 \begin_layout Plain Layout
1019 languages
1020 \end_layout
1021
1022 \end_inset
1023
1024  このファイルには,現在\SpecialChar LyX
1025 がサポートしている言語の全一覧が載っています.
1026 \end_layout
1027
1028 \begin_layout Labeling
1029 \labelwidthstring 00.00.0000
1030 \begin_inset Flex Code
1031 status collapsed
1032
1033 \begin_layout Plain Layout
1034 latexfonts
1035 \end_layout
1036
1037 \end_inset
1038
1039  サポートされているフォントに関する情報が掲載されています.
1040 \end_layout
1041
1042 \begin_layout Labeling
1043 \labelwidthstring 00.00.0000
1044 \begin_inset Flex Code
1045 status collapsed
1046
1047 \begin_layout Plain Layout
1048 layouttranslations
1049 \end_layout
1050
1051 \end_inset
1052
1053  このファイルは,国際化された段落様式の翻訳が収録されています(
1054 \begin_inset CommandInset ref
1055 LatexCommand ref
1056 reference "subsec:段落様式の国際化"
1057
1058 \end_inset
1059
1060 参照).
1061 \end_layout
1062
1063 \begin_layout Labeling
1064 \labelwidthstring 00.00.0000
1065 \begin_inset Flex Code
1066 status collapsed
1067
1068 \begin_layout Plain Layout
1069 unicodesymbols
1070 \end_layout
1071
1072 \end_inset
1073
1074  このファイルは,unicodeエンコーディングされたグリフに関する情報と,\SpecialChar LyX
1075 が\SpecialChar LaTeX
1076 を介してそれらをどのようにサポートしているかについての情報を含んでいます.
1077 \end_layout
1078
1079 \begin_layout Section
1080 ユーザのローカル設定ディレクトリ
1081 \end_layout
1082
1083 \begin_layout Standard
1084 \SpecialChar LyX
1085 を非特権ユーザとして利用している場合でも,自分自身で使うために,\SpecialChar LyX
1086 の設定を変更したいと思うかもしれません.
1087 \begin_inset Flex Code
1088 status collapsed
1089
1090 \begin_layout Plain Layout
1091 UserDir
1092 \end_layout
1093
1094 \end_inset
1095
1096 ディレクトリには,すべての個人設定ファイルが収められています.これは,
1097 \begin_inset Flex MenuItem
1098 status collapsed
1099
1100 \begin_layout Plain Layout
1101 ヘルプ\SpecialChar menuseparator
1102 LyXについて
1103 \end_layout
1104
1105 \end_inset
1106
1107 で「ユーザーディレクトリ」として言及されているディレクトリです.このディレクトリは,
1108 \begin_inset Flex Code
1109 status collapsed
1110
1111 \begin_layout Plain Layout
1112 LyXDir
1113 \end_layout
1114
1115 \end_inset
1116
1117 のミラーとして使用されており,これは
1118 \begin_inset Flex Code
1119 status collapsed
1120
1121 \begin_layout Plain Layout
1122 UserDir
1123 \end_layout
1124
1125 \end_inset
1126
1127 内のすべてのファイルが,
1128 \begin_inset Flex Code
1129 status collapsed
1130
1131 \begin_layout Plain Layout
1132 LyXDir
1133 \end_layout
1134
1135 \end_inset
1136
1137 すし,自分自身で使うために個人のローカルディレクトリに置くこともできます.
1138 \end_layout
1139
1140 \begin_layout Standard
1141 わかりやすくするために,いくつか例を挙げましょう.
1142 \end_layout
1143
1144 \begin_layout Itemize
1145 \begin_inset Flex MenuItem
1146 status collapsed
1147
1148 \begin_layout Plain Layout
1149 ツール\SpecialChar menuseparator
1150 設定
1151 \end_layout
1152
1153 \end_inset
1154
1155 ダイアログで設定されるユーザ設定は,
1156 \begin_inset Flex Code
1157 status collapsed
1158
1159 \begin_layout Plain Layout
1160 UserDir
1161 \end_layout
1162
1163 \end_inset
1164
1165 中の
1166 \begin_inset Flex Code
1167 status collapsed
1168
1169 \begin_layout Plain Layout
1170 preferences
1171 \end_layout
1172
1173 \end_inset
1174
1175 ファイルに保存されます.
1176 \end_layout
1177
1178 \begin_layout Itemize
1179 \begin_inset Flex MenuItem
1180 status collapsed
1181
1182 \begin_layout Plain Layout
1183 ツール\SpecialChar menuseparator
1184 環境構成
1185 \end_layout
1186
1187 \end_inset
1188
1189 を使用して環境構成を行うと,\SpecialChar LyX
1190
1191 \begin_inset Flex Code
1192 status collapsed
1193
1194 \begin_layout Plain Layout
1195 configure.py
1196 \end_layout
1197
1198 \end_inset
1199
1200 スクリプトを実行し,その結果のファイルは,ご自身のローカル設定ディレクトリに書き込まれます.これはすなわち,
1201 \begin_inset Flex Code
1202 status collapsed
1203
1204 \begin_layout Plain Layout
1205 UserDir/layouts
1206 \end_layout
1207
1208 \end_inset
1209
1210 にご自身で追加したテキストファイルは,
1211 \begin_inset Flex MenuItem
1212 status collapsed
1213
1214 \begin_layout Plain Layout
1215 文書\SpecialChar menuseparator
1216 設定
1217 \end_layout
1218
1219 \end_inset
1220
1221 ダイアログのクラス一覧に表示されるようになることを意味します.
1222 \end_layout
1223
1224 \begin_layout Itemize
1225 たとえば,\SpecialChar LyX
1226 のFTPサイトから最新の取扱説明書をとってきたものの,使用中のシステム上で管理者権限がないために,それをインストールすることができなかったとしても,そ
1227 れらのファイルを
1228 \begin_inset Flex Code
1229 status collapsed
1230
1231 \begin_layout Plain Layout
1232 UserDir/doc/
1233 \end_layout
1234
1235 \end_inset
1236
1237 ディレクトリにコピーすれば,
1238 \begin_inset Flex MenuItem
1239 status collapsed
1240
1241 \begin_layout Plain Layout
1242 ヘルプ
1243 \end_layout
1244
1245 \end_inset
1246
1247 メニュー項目はこれらを開くようになります!
1248 \end_layout
1249
1250 \begin_layout Section
1251 \SpecialChar LyX
1252 を複数の設定を使って実行するには
1253 \end_layout
1254
1255 \begin_layout Standard
1256 ローカル設定ディレクトリにおいて設定の自由度があるだけでは,2つ以上の設定を自由に使いこなしたい場合には充分ではないかもしれません.たとえば,使用する度に異なる
1257 キー割当を使用したり,異なるプリンタ設定を使用したいことがあるかもしれません.これは,複数の設定ディレクトリを作ることで実現することができます.そして,実行時に
1258 どのディレクトリを使用するか指定するのです.
1259 \end_layout
1260
1261 \begin_layout Standard
1262 \SpecialChar LyX
1263 をコマンドラインスイッチ
1264 \begin_inset Flex Code
1265 status collapsed
1266
1267 \begin_layout Plain Layout
1268 -userdir
1269 \end_layout
1270
1271 \end_inset
1272
1273 P
1274 \emph on
1275 <ディレクトリ名>
1276 \emph default
1277 と共に起動すると,設定を既定のディレクトリではなく,指定したディレクトリから読み込むように,指示することになります(\SpecialChar LyX
1278
1279 \begin_inset Flex Code
1280 status collapsed
1281
1282 \begin_layout Plain Layout
1283 -userdir
1284 \end_layout
1285
1286 \end_inset
1287
1288 スイッチなしで実行すれば,既定ディレクトリを指定することになります).指定したディレクトリが存在しない場合には,\SpecialChar LyX
1289 は,初めて\SpecialChar LyX
1290 を実行したときに既定ディレクトリを訊い
1291 てくるのと同様に,そのディレクトリを作るかどうか訊いてきます.この追加したユーザディレクトリでは,既定ディレクトリで行うのと全く同じように設定オプションを修正す
1292 ることができます.これらのディレクトリは完全に独立しています(が,読み進めてください).また,環境変数
1293 \begin_inset Flex Code
1294 status collapsed
1295
1296 \begin_layout Plain Layout
1297 LYX_USERDIR_20x
1298 \end_layout
1299
1300 \end_inset
1301
1302 を特定の値に設定しても,全く同じ効果があります.
1303 \end_layout
1304
1305 \begin_layout Standard
1306 複数の設定を持つことはまた,維持の手間も増えるということです.もし新しいレイアウトを
1307 \begin_inset Flex Code
1308 status collapsed
1309
1310 \begin_layout Plain Layout
1311 NewUserDir/layouts
1312 \end_layout
1313
1314 \end_inset
1315
1316 に加えて,これをすべての設定で利用できるようにしたいならば,これをすべての設定ディレクトリで個々に付け加えなくてはなりません.これを避けるには,次のようなトリッ
1317 クを使用してください.\SpecialChar LyX
1318 が新しい設定ディレクトリを生成すると,そのサブディレクトリ(上記参照)はほとんど空です.新しい設定が既存のものをミラーするようにするには,
1319 空のサブディレクトリを,既存の設定の対応するサブディレクトリへのシンボリックリンクに置き換えてください.ただし
1320 \begin_inset Flex Code
1321 status collapsed
1322
1323 \begin_layout Plain Layout
1324 doc/
1325 \end_layout
1326
1327 \end_inset
1328
1329 サブディレクトリには,設定スクリプト(
1330 \begin_inset Flex MenuItem
1331 status collapsed
1332
1333 \begin_layout Plain Layout
1334 ツール\SpecialChar menuseparator
1335 環境構成
1336 \end_layout
1337
1338 \end_inset
1339
1340 で使用可能)が書き出した,設定毎に異なるファイルが含まれていますので,注意を払ってください.
1341 \end_layout
1342
1343 \begin_layout Chapter
1344 設定ダイアログ
1345 \end_layout
1346
1347 \begin_layout Standard
1348 設定ダイアログのオプションのすべては,
1349 \emph on
1350 ユーザーの手引き
1351 \emph default
1352 の付録
1353 \emph on
1354 設定ダイアログ
1355 \emph default
1356 に述べられています.オプションのうちいくつかについて,ここでさらに詳細に説明します.
1357 \end_layout
1358
1359 \begin_layout Section
1360 ファイル形式
1361 \begin_inset CommandInset label
1362 LatexCommand label
1363 name "sec:ファイル形式"
1364
1365 \end_inset
1366
1367
1368 \end_layout
1369
1370 \begin_layout Standard
1371 ファイル形式が定義されていない場合,はじめの一歩は,使いたいと思うファイル形式を定義することです.それには,
1372 \begin_inset Flex MenuItem
1373 status collapsed
1374
1375 \begin_layout Plain Layout
1376 ツール\SpecialChar menuseparator
1377 設定
1378 \end_layout
1379
1380 \end_inset
1381
1382 ダイアログを開いてください.
1383 \begin_inset Flex MenuItem
1384 status collapsed
1385
1386 \begin_layout Plain Layout
1387 ファイル処理\SpecialChar menuseparator
1388 ファイル形式
1389 \end_layout
1390
1391 \end_inset
1392
1393 の中で
1394 \begin_inset Flex MenuItem
1395 status collapsed
1396
1397 \begin_layout Plain Layout
1398 新規\SpecialChar ldots
1399
1400 \end_layout
1401
1402 \end_inset
1403
1404 ボタンを押して,登録する新しい形式を定義してください.
1405 \begin_inset Flex MenuItem
1406 status collapsed
1407
1408 \begin_layout Plain Layout
1409 形式
1410 \end_layout
1411
1412 \end_inset
1413
1414 フィールドは,GUI中で形式を認識するために用いられる名称です.
1415 \begin_inset Flex MenuItem
1416 status collapsed
1417
1418 \begin_layout Plain Layout
1419 短縮名
1420 \end_layout
1421
1422 \end_inset
1423
1424 は,形式を内部的に識別するために用いられます.さらにファイル拡張子も入力する必要があります.これらはすべて必須事項です.オプションの
1425 \begin_inset Flex MenuItem
1426 status collapsed
1427
1428 \begin_layout Plain Layout
1429 捷径
1430 \end_layout
1431
1432 \end_inset
1433
1434 フィールドは,メニュー中で
1435 \begin_inset Flex Ruby
1436 status collapsed
1437
1438 \begin_layout Plain Layout
1439 捷径
1440 \begin_inset Argument post:1
1441 status collapsed
1442
1443 \begin_layout Plain Layout
1444 ショートカット
1445 \end_layout
1446
1447 \end_inset
1448
1449
1450 \end_layout
1451
1452 \end_inset
1453
1454 を提供するのに使用されます(たとえば,
1455 \begin_inset Flex MenuItem
1456 status collapsed
1457
1458 \begin_layout Plain Layout
1459 Ctrl+D
1460 \end_layout
1461
1462 \end_inset
1463
1464 を押すと
1465 \begin_inset Flex MenuItem
1466 status collapsed
1467
1468 \begin_layout Plain Layout
1469 表示\SpecialChar menuseparator
1470 DVI
1471 \end_layout
1472
1473 \end_inset
1474
1475 となります).
1476 \end_layout
1477
1478 \begin_layout Standard
1479 形式には,
1480 \begin_inset Flex MenuItem
1481 status collapsed
1482
1483 \begin_layout Plain Layout
1484 閲覧プログラム
1485 \end_layout
1486
1487 \end_inset
1488
1489
1490 \begin_inset Flex MenuItem
1491 status collapsed
1492
1493 \begin_layout Plain Layout
1494 編集プログラム
1495 \end_layout
1496
1497 \end_inset
1498
1499 を関連づけることができます.たとえば,PostScriptファイルを閲覧するのに
1500 \begin_inset Flex MenuItem
1501 status collapsed
1502
1503 \begin_layout Plain Layout
1504 Ghostview
1505 \end_layout
1506
1507 \end_inset
1508
1509 を使用したいとしましょう.このプログラムを起動するのに必要なコマンドを対応するフィールドに入力します.ここで,コマンドを定義するのに,次節に掲げる4つの変数を用
1510 いることができます.この閲覧プログラムは,\SpecialChar LyX
1511 中で画像を閲覧したり
1512 \begin_inset Flex MenuItem
1513 status collapsed
1514
1515 \begin_layout Plain Layout
1516 表示
1517 \end_layout
1518
1519 \end_inset
1520
1521 メニューを使用したときに起動されます.一方,編集プログラムは,たとえば,画像を右クリックして現れるコンテクストメニューで
1522 \begin_inset Flex MenuItem
1523 status collapsed
1524
1525 \begin_layout Plain Layout
1526 外部で編集
1527 \end_layout
1528
1529 \end_inset
1530
1531 を選択したときに起動します.
1532 \end_layout
1533
1534 \begin_layout Standard
1535 ファイル形式の
1536 \begin_inset Flex MenuItem
1537 status collapsed
1538
1539 \begin_layout Plain Layout
1540 MIME
1541 \end_layout
1542
1543 \end_inset
1544
1545 型は必須ではありませんが,指定するときには,すべての形式の中で一意的なものでなくてはなりません.これは,この形式のファイルをファイル内容から検出するのに用いられ
1546 ます.重要なファイル形式のうちには,
1547 \begin_inset CommandInset href
1548 LatexCommand href
1549 name "IANA"
1550 target "http://www.iana.org/assignments/media-types/"
1551 literal "false"
1552
1553 \end_inset
1554
1555 に公式に登録されたMIME型がないものがあります.そこで,\SpecialChar LyX
1556 は,
1557 \begin_inset CommandInset href
1558 LatexCommand href
1559 name "freedesktop.org"
1560 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1561 literal "false"
1562
1563 \end_inset
1564
1565 で指定されているMIME型拡張表を使用しています.
1566 \end_layout
1567
1568 \begin_layout Standard
1569 \begin_inset Flex MenuItem
1570 status collapsed
1571
1572 \begin_layout Plain Layout
1573 文書形式
1574 \end_layout
1575
1576 \end_inset
1577
1578 オプションは,\SpecialChar LyX
1579 に,この形式が文書として書き出すのに適していることを指示するものです.このオプションが有効となっていて,適切な変換経路が存在する場合には(第
1580 \begin_inset CommandInset ref
1581 LatexCommand ref
1582 reference "sec:変換子"
1583
1584 \end_inset
1585
1586 節を参照),この形式が
1587 \begin_inset Flex MenuItem
1588 status collapsed
1589
1590 \begin_layout Plain Layout
1591 ファイル\SpecialChar menuseparator
1592 書き出し
1593 \end_layout
1594
1595 \end_inset
1596
1597
1598 \begin_inset Flex MenuItem
1599 status collapsed
1600
1601 \begin_layout Plain Layout
1602 表示
1603 \end_layout
1604
1605 \end_inset
1606
1607 footlabel Label color for footnotす.
1608 \begin_inset Flex Code
1609 status collapsed
1610
1611 \begin_layout Plain Layout
1612 png
1613 \end_layout
1614
1615 \end_inset
1616
1617 のような純粋な画像形式は,このオプションを有効にしてはいけません.
1618 \begin_inset Flex Code
1619 status collapsed
1620
1621 \begin_layout Plain Layout
1622 pdf
1623 \end_layout
1624
1625 \end_inset
1626
1627 のようにベクター画像であると同時に文書でもあるような形式は,これを有効にします.
1628 \end_layout
1629
1630 \begin_layout Standard
1631 \begin_inset Flex MenuItem
1632 status collapsed
1633
1634 \begin_layout Plain Layout
1635 ベクター画像形式
1636 \end_layout
1637
1638 \end_inset
1639
1640 オプションは,\SpecialChar LyX
1641 にこの形式がベクター画像を含みうることを教示するものです.この情報は,
1642 \begin_inset Flex MenuItem
1643 status collapsed
1644
1645 \begin_layout Plain Layout
1646 pdflatex
1647 \end_layout
1648
1649 \end_inset
1650
1651 を書き出す際に,内包されている画像をどの形式に変換するかを決定するのに使用されます.
1652 \begin_inset Flex MenuItem
1653 status collapsed
1654
1655 \begin_layout Plain Layout
1656 pdflatex
1657 \end_layout
1658
1659 \end_inset
1660
1661 は,
1662 \begin_inset Flex MenuItem
1663 status collapsed
1664
1665 \begin_layout Plain Layout
1666 pdf
1667 \end_layout
1668
1669 \end_inset
1670
1671
1672 \begin_inset Flex MenuItem
1673 status collapsed
1674
1675 \begin_layout Plain Layout
1676 png
1677 \end_layout
1678
1679 \end_inset
1680
1681
1682 \begin_inset Flex MenuItem
1683 status collapsed
1684
1685 \begin_layout Plain Layout
1686 Des
1687 \end_layout
1688
1689 \end_inset
1690
1691 以外の画像形式を取り扱うことができないので,内包されている画像は,これらの形式に変換される必要があるかもしれない為です.内包されている画像が既に
1692 \begin_inset Flex MenuItem
1693 status collapsed
1694
1695 \begin_layout Plain Layout
1696 pdf
1697 \end_layout
1698
1699 \end_inset
1700
1701
1702 \begin_inset Flex MenuItem
1703 status collapsed
1704
1705 \begin_layout Plain Layout
1706 png
1707 \end_layout
1708
1709 \end_inset
1710
1711
1712 \begin_inset Flex MenuItem
1713 status collapsed
1714
1715 \begin_layout Plain Layout
1716 jpg
1717 \end_layout
1718
1719 \end_inset
1720
1721 のいずれかになっていない場合には,ベクター画像形式オプションが有効になっている場合には
1722 \begin_inset Flex MenuItem
1723 status collapsed
1724
1725 \begin_layout Plain Layout
1726 pdf
1727 \end_layout
1728
1729 \end_inset
1730
1731 に変換され,そうでない場合には
1732 \begin_inset Flex MenuItem
1733 status collapsed
1734
1735 \begin_layout Plain Layout
1736 png
1737 \end_layout
1738
1739 \end_inset
1740
1741 に変換されます.
1742 \end_layout
1743
1744 \begin_layout Section
1745 複写子
1746 \end_layout
1747
1748 \begin_layout Standard
1749 形式の変換はすべて,\SpecialChar LyX
1750 の一時ディレクトリで行われるため,変換用にファイルを一時ディレクトリにコピーする前段階で,ファイルに変更を加える必要のあることがあります
1751 \begin_inset Foot
1752 status collapsed
1753
1754 \begin_layout Plain Layout
1755 たとえば,ファイルが他のファイル—たとえば画像—を,相対ファイル名を用いて参照している場合,このファイルが一時ディレクトリにコピーされると参照が無効になる場合が
1756 あります.
1757 \end_layout
1758
1759 \end_inset
1760
1761 .これは複写子によって取り扱われ,複写子は,ファイルを一時ディレクトリに(あるいは一時ディレクトリから)コピーすると同時に,その過程でファイルに変更を加えます.
1762 \end_layout
1763
1764 \begin_layout Standard
1765 複写子の定義においては,以下の8つの変数を用いることができます.
1766 \end_layout
1767
1768 \begin_layout Labeling
1769 \labelwidthstring 00.00.0000
1770 \begin_inset Flex Code
1771 status collapsed
1772
1773 \begin_layout Plain Layout
1774 $$s
1775 \end_layout
1776
1777 \end_inset
1778
1779  \SpecialChar LyX
1780 のシステムディレクトリ(例:
1781 \begin_inset Flex MenuItem
1782 status collapsed
1783
1784 \begin_layout Plain Layout
1785 /usr/share/lyx
1786 \end_layout
1787
1788 \end_inset
1789
1790
1791 \end_layout
1792
1793 \begin_layout Labeling
1794 \labelwidthstring 00.00.0000
1795 \begin_inset Flex Code
1796 status collapsed
1797
1798 \begin_layout Plain Layout
1799 $$i
1800 \end_layout
1801
1802 \end_inset
1803
1804  入力ファイル
1805 \end_layout
1806
1807 \begin_layout Labeling
1808 \labelwidthstring 00.00.0000
1809 \begin_inset Flex Code
1810 status collapsed
1811
1812 \begin_layout Plain Layout
1813 $$o
1814 \end_layout
1815
1816 \end_inset
1817
1818  出力ファイル
1819 \end_layout
1820
1821 \begin_layout Labeling
1822 \labelwidthstring 00.00.0000
1823 \begin_inset Flex Code
1824 status collapsed
1825
1826 \begin_layout Plain Layout
1827 $$b
1828 \end_layout
1829
1830 \end_inset
1831
1832  \SpecialChar LyX
1833 一時ディレクトリ内でのベース名(ファイル拡張子なし)
1834 \end_layout
1835
1836 \begin_layout Labeling
1837 \labelwidthstring 00.00.0000
1838 \begin_inset Flex Code
1839 status collapsed
1840
1841 \begin_layout Plain Layout
1842 $$p
1843 \end_layout
1844
1845 \end_inset
1846
1847  \SpecialChar LyX
1848 一時ディレクトリのフルパス名
1849 \end_layout
1850
1851 \begin_layout Labeling
1852 \labelwidthstring 00.00.0000
1853 \begin_inset Flex Code
1854 status collapsed
1855
1856 \begin_layout Plain Layout
1857 $$r
1858 \end_layout
1859
1860 \end_inset
1861
1862  処理されている元の\SpecialChar LyX
1863 ファイルのフルパス名
1864 \end_layout
1865
1866 \begin_layout Labeling
1867 \labelwidthstring 00.00.0000
1868 \begin_inset Flex Code
1869 status collapsed
1870
1871 \begin_layout Plain Layout
1872 $$f
1873 \end_layout
1874
1875 \end_inset
1876
1877  \SpecialChar LyX
1878 ファイルのファイル名(ディレクトリパスなし)
1879 \end_layout
1880
1881 \begin_layout Labeling
1882 \labelwidthstring 00.00.0000
1883 \begin_inset Flex Code
1884 status collapsed
1885
1886 \begin_layout Plain Layout
1887 $$l
1888 \end_layout
1889
1890 \end_inset
1891
1892  「\SpecialChar LaTeX
1893 名」
1894 \end_layout
1895
1896 \begin_layout Standard
1897 最後の変数は,\SpecialChar LaTeX
1898
1899 \series bold
1900
1901 \backslash
1902 include
1903 \series default
1904 コマンドで使用されるのと同形式のファイル名です.これは,書き出すファイルがそのようなインクルードに適している場合のみ,使用さるべきものです.
1905 \end_layout
1906
1907 \begin_layout Standard
1908 複写子は,出力ファイルに関する操作であれば,ほとんどすべてに対応することができます.たとえば,生成したPDFファイルを,
1909 \begin_inset Flex Code
1910 status collapsed
1911
1912 \begin_layout Plain Layout
1913 /home/you/pdf/
1914 \end_layout
1915
1916 \end_inset
1917
1918 という特別なディレクトリにコピーしたいものとしましょう.その場合には,以下のようなシェルスクリプトを書きます.
1919 \end_layout
1920
1921 \begin_layout Standard
1922 \begin_inset listings
1923 inline false
1924 status open
1925
1926 \begin_layout Plain Layout
1927
1928 #!/bin/bash
1929 \end_layout
1930
1931 \begin_layout Plain Layout
1932
1933 FROMFILE=$1
1934 \end_layout
1935
1936 \begin_layout Plain Layout
1937
1938 TOFILE=`basename $2`
1939 \end_layout
1940
1941 \begin_layout Plain Layout
1942
1943 DescriptionE /home/you/pdf/$TOFILE
1944 \end_layout
1945
1946 \end_inset
1947
1948 これを,例えば
1949 \begin_inset Flex Code
1950 status collapsed
1951
1952 \begin_layout Plain Layout
1953 /home/you/.lyx/scripts/pdfcopier.sh
1954 \end_layout
1955
1956 \end_inset
1957
1958 のような,自身のローカル\SpecialChar LyX
1959 ディレクトリに保存し,お使いのプラットフォームが必要とするならば,実行可能属性を付与します.それから,
1960 \begin_inset Flex MenuItem
1961 status collapsed
1962
1963 \begin_layout Plain Layout
1964 ツール\SpecialChar menuseparator
1965 設定
1966 \end_layout
1967
1968 \end_inset
1969
1970 ダイアログの
1971 \begin_inset Flex MenuItem
1972 status collapsed
1973
1974 \begin_layout Plain Layout
1975 ファイル処理\SpecialChar menuseparator
1976 ファイル形式
1977 \end_layout
1978
1979 \end_inset
1980
1981 の中で,
1982 \begin_inset Flex MenuItem
1983 status collapsed
1984
1985 \begin_layout Plain Layout
1986 PDF(pdflatex)
1987 \end_layout
1988
1989 \end_inset
1990
1991 形式—あるいは他のPDF形式のうちどれか—を選択し,
1992 \begin_inset Flex MenuItem
1993 status collapsed
1994
1995 \begin_layout Plain Layout
1996 複写子
1997 \end_layout
1998
1999 \end_inset
2000
2001 フィールドに
2002 \begin_inset Flex Code
2003 status collapsed
2004
2005 \begin_layout Plain Layout
2006 pdfcopier.sh $$i $$o
2007 \end_layout
2008
2009 \end_inset
2010
2011 と入力します.
2012 \end_layout
2013
2014 \begin_layout Standard
2015 複写子は,\SpecialChar LyX
2016 自身が様々な変換に使用します.たとえば,適切なプログラムが検出された場合,\SpecialChar LyX
2017 は自動的に
2018 \begin_inset Flex MenuItem
2019 status collapsed
2020
2021 \begin_layout Plain Layout
2022 HTML
2023 \end_layout
2024
2025 \end_inset
2026
2027 形式と
2028 \begin_inset Flex MenuItem
2029 status collapsed
2030
2031 \begin_layout Plain Layout
2032 HTML
2033 \begin_inset space ~
2034 \end_inset
2035
2036 (MS Word)
2037 \end_layout
2038
2039 \end_inset
2040
2041 形式の複写子を導入します.これらの形式を書き出す際,複写子は,本体のHTMLファイルだけでなく,関連した様々なファイル(スタイルファイルや画像など)もコピーされ
2042 るように手配します.これらのファイルはすべて,元の\SpecialChar LyX
2043 ファイルのあるディレクトリのサブディレクトリに書き込まれます.
2044 \begin_inset Foot
2045 status collapsed
2046
2047 \begin_layout Plain Layout
2048 この複写子の挙動は調整することができます.非必須の「-e」オプションは,コピーする拡張子をコンマ区切りで羅列したものを引数にとります.これを省略した場合には,す
2049 べてのファイルがコピーされます.「-t」引数は,生成したディレクトリに書き加える拡張子を指定するものです.既定値では,これは「
2050 \begin_inset Flex MenuItem
2051 status collapsed
2052
2053 \begin_layout Plain Layout
2054 LyXconv
2055 \end_layout
2056
2057 \end_inset
2058
2059 」となっているので,
2060 \begin_inset Flex MenuItem
2061 status collapsed
2062
2063 \begin_layout Plain Layout
2064 /path/to/filename.lyx
2065 \end_layout
2066
2067 \end_inset
2068
2069 から生成されたHTMLファイルは,
2070 \begin_inset Flex MenuItem
2071 status collapsed
2072
2073 \begin_layout Plain Layout
2074 /path/to/filename.html.LyXconv
2075 \end_layout
2076
2077 \end_inset
2078
2079 となります..
2080  
2081 \end_layout
2082
2083 \end_inset
2084
2085
2086 \end_layout
2087
2088 \begin_layout Section
2089 変換子
2090 \begin_inset CommandInset label
2091 LatexCommand label
2092 name "sec:変換子"
2093
2094 \end_inset
2095
2096
2097 \end_layout
2098
2099 \begin_layout Standard
2100 各形式間でファイルを変換するために,ご自身の変換子を定義することができます.これは,
2101 \begin_inset Flex MenuItem
2102 status collapsed
2103
2104 \begin_layout Plain Layout
2105 ツール\SpecialChar menuseparator
2106 設定\SpecialChar menuseparator
2107 ファイル処理\SpecialChar menuseparator
2108 変換子
2109 \end_layout
2110
2111 \end_inset
2112
2113 ダイアログで行います.
2114 \end_layout
2115
2116 \begin_layout Standard
2117 新規に変換子を定義するには,ドロップダウンリストから
2118 \begin_inset Flex MenuItem
2119 status collapsed
2120
2121 \begin_layout Plain Layout
2122 変換元の形式
2123 \end_layout
2124
2125 \end_inset
2126
2127
2128 \begin_inset Flex MenuItem
2129 status collapsed
2130
2131 \begin_layout Plain Layout
2132 変換先の形式
2133 \end_layout
2134
2135 \end_inset
2136
2137 を選択し,変換に必要なコマンドを入力してから
2138 \begin_inset Flex MenuItem
2139 status collapsed
2140
2141 \begin_layout Plain Layout
2142 追加
2143 \end_layout
2144
2145 \end_inset
2146
2147 ボタンを押してください.変換子の定義には,以下のような変数を使用することができます.
2148 \end_layout
2149
2150 \begin_layout Labeling
2151 \labelwidthstring 00.00.0000
2152 \begin_inset Flex Code
2153 status collapsed
2154
2155 \begin_layout Plain Layout
2156 $$s
2157 \end_layout
2158
2159 \end_inset
2160
2161  \SpecialChar LyX
2162 システムディレクトリ
2163 \end_layout
2164
2165 \begin_layout Labeling
2166 \labelwidthstring 00.00.0000
2167 \begin_inset Flex Code
2168 status collapsed
2169
2170 \begin_layout Plain Layout
2171 $$i
2172 \end_layout
2173
2174 \end_inset
2175
2176  入力ファイル
2177 \end_layout
2178
2179 \begin_layout Labeling
2180 \labelwidthstring 00.00.0000
2181 \begin_inset Flex Code
2182 status collapsed
2183
2184 \begin_layout Plain Layout
2185 $$o
2186 \end_layout
2187
2188 \end_inset
2189
2190  出力ファイル
2191 \end_layout
2192
2193 \begin_layout Labeling
2194 \labelwidthstring 00.00.0000
2195 \begin_inset Flex Code
2196 status collapsed
2197
2198 \begin_layout Plain Layout
2199 $$b
2200 \end_layout
2201
2202 \end_inset
2203
2204  入力ファイルのベースファイル名(拡張子をとった部分)
2205 \end_layout
2206
2207 \begin_layout Labeling
2208 \labelwidthstring 00.00.0000
2209 \begin_inset Flex Code
2210 status collapsed
2211
2212 \begin_layout Plain Layout
2213 $$p
2214 \end_layout
2215
2216 \end_inset
2217
2218  入力ファイルのパス
2219 \end_layout
2220
2221 \begin_layout Labeling
2222 \labelwidthstring 00.00.0000
2223 \begin_inset Flex Code
2224 status collapsed
2225
2226 \begin_layout Plain Layout
2227 $$r
2228 \end_layout
2229
2230 \end_inset
2231
2232  元の入力ファイルのパス(変換子が連鎖して呼び出されたときの挙動が$$pとは異なります)
2233 \end_layout
2234
2235 \begin_layout Labeling
2236 \labelwidthstring 00.00.0000
2237 \begin_inset Flex Code
2238 status collapsed
2239
2240 \begin_layout Plain Layout
2241 $$e
2242 \end_layout
2243
2244 \end_inset
2245
2246  文書エンコーディングのiconv名
2247 \end_layout
2248
2249 \begin_layout Standard
2250 \begin_inset Flex MenuItem
2251 status collapsed
2252
2253 \begin_layout Plain Layout
2254 追加フラグ
2255 \end_layout
2256
2257 \end_inset
2258
2259 フィールドには,以下のフラグをコンマで区切って入力することができます.
2260 \end_layout
2261
2262 \begin_layout Labeling
2263 \labelwidthstring 00.00.0000
2264 \begin_inset Flex Code
2265 status collapsed
2266
2267 \begin_layout Plain Layout
2268 latex
2269 \end_layout
2270
2271 \end_inset
2272
2273  この変換子が\SpecialChar LaTeX
2274 の一種を実行することを示します.これによって,\SpecialChar LyX
2275 の\SpecialChar LaTeX
2276 エラーログに記録を残せるようになります.
2277 \end_layout
2278
2279 \begin_layout Labeling
2280 \labelwidthstring 00.00.0000
2281 \begin_inset Flex Code
2282 status collapsed
2283
2284 \begin_layout Plain Layout
2285 needaux
2286 \end_layout
2287
2288 \end_inset
2289
2290  変換に\SpecialChar LaTeX
2291
2292 \begin_inset Flex MenuItem
2293 status collapsed
2294
2295 \begin_layout Plain Layout
2296 .aux
2297 \end_layout
2298
2299 \end_inset
2300
2301 ファイルが必要であることを示します.
2302 \end_layout
2303
2304 \begin_layout Labeling
2305 \labelwidthstring 00.00.0000
2306 \begin_inset Flex Code
2307 status collapsed
2308
2309 \begin_layout Plain Layout
2310 nice
2311 \end_layout
2312
2313 \end_inset
2314
2315  バックエンドからの
2316 \begin_inset Quotes erd
2317 \end_inset
2318
2319 nice
2320 \begin_inset Quotes erd
2321 \end_inset
2322
2323 なファイル,つまり\SpecialChar LyX
2324 が書き出す\SpecialChar LaTeX
2325 ファイルのように,
2326 \begin_inset Flex Code
2327 status open
2328
2329 \begin_layout Plain Layout
2330 input@path
2331 \end_layout
2332
2333 \end_inset
2334
2335 のない\SpecialChar LaTeX
2336 ファイルを必要とします.
2337 \end_layout
2338
2339 \begin_layout Labeling
2340 \labelwidthstring 00.00.0000
2341 \begin_inset Flex Code
2342 status collapsed
2343
2344 \begin_layout Plain Layout
2345 xml
2346 \end_layout
2347
2348 \end_inset
2349
2350  出力がXMLであることを示します.
2351 \end_layout
2352
2353 \begin_layout Standard
2354 以下の3つのフラグは 
2355 \begin_inset Flex MenuItem
2356 status collapsed
2357
2358 \begin_layout Plain Layout
2359 key
2360 \begin_inset space ~
2361 \end_inset
2362
2363 =
2364 \begin_inset space ~
2365 \end_inset
2366
2367 value
2368 \end_layout
2369
2370 \end_inset
2371
2372 形式の引数をとります(したがって厳密にはフラグとは呼べません).
2373 \end_layout
2374
2375 \begin_layout Labeling
2376 \labelwidthstring 00.00.0000
2377 \begin_inset Flex Code
2378 status collapsed
2379
2380 \begin_layout Plain Layout
2381 parselog
2382 \end_layout
2383
2384 \end_inset
2385
2386  これを指定すると,変換子の標準エラーが
2387 \begin_inset Flex Code
2388 status collapsed
2389
2390 \begin_layout Plain Layout
2391 infile.out
2392 \end_layout
2393
2394 \end_inset
2395
2396 ファイルにリダイレクトされ,引数に指定されたスクリプトが
2397 \begin_inset Flex Code
2398 status collapsed
2399
2400 \begin_layout Plain Layout
2401 script < infile.out > infile.log
2402 \end_layout
2403
2404 \end_inset
2405
2406 の形で実行されるようになります.引数には
2407 \begin_inset Flex Code
2408 status collapsed
2409
2410 \begin_layout Plain Layout
2411 $$s
2412 \end_layout
2413
2414 \end_inset
2415
2416 を指定することができます.
2417 \end_layout
2418
2419 \begin_layout Labeling
2420 \labelwidthstring 00.00.0000
2421 \begin_inset Flex Code
2422 status collapsed
2423
2424 \begin_layout Plain Layout
2425 resultdir
2426 \end_layout
2427
2428 \end_inset
2429
2430  これには,変換子が生成したファイルをダンプするディレクトリ名を指定します.\SpecialChar LyX
2431 はこのディレクトリを作成せず,ここに何もコピーしませんが,このディレクトリを宛先にコ
2432 ピーします.引数には,
2433 \begin_inset Flex Code
2434 status collapsed
2435
2436 \begin_layout Plain Layout
2437 $$b
2438 \end_layout
2439
2440 \end_inset
2441
2442 を使用することができ,これはディレクトリがコピーされる際に,入力ファイルおよび出力ファイルのベース名で置換されます.
2443 \begin_inset Newline newline
2444 \end_inset
2445
2446 resultdirとusetempdirは,同時に用いることはできませんのでご注意ください.前者が指定されているときには,後者は無視されます.
2447 \end_layout
2448
2449 \begin_layout Labeling
2450 \labelwidthstring 00.00.0000
2451 \begin_inset Flex Code
2452 status collapsed
2453
2454 \begin_layout Plain Layout
2455 resultfile
2456 \end_layout
2457
2458 \end_inset
2459
2460  これは出力ファイル名を指定するもので,
2461 \begin_inset Flex Code
2462 status collapsed
2463
2464 \begin_layout Plain Layout
2465 $$b
2466 \end_layout
2467
2468 \end_inset
2469
2470 を使用することができます.resultdirが指定されているときのみ有効で,必ず用いる必要はありません.指定されていなければ,既定値は「index」です.
2471 \end_layout
2472
2473 \begin_layout Standard
2474 最後の3つは,\SpecialChar LyX
2475 とともに導入される変換子には,現在いずれも使用されておりません.
2476 \end_layout
2477
2478 \begin_layout Standard
2479 変換しようとするすべての形式のあいだに変換子を定義する必要はありません.たとえば,「\SpecialChar LyX
2480 からPostScript」変換子が定義されていないのに,\SpecialChar LyX
2481 はPostScrip
2482 tを書き出していることに気づかれることでしょう.これは,まず\SpecialChar LaTeX
2483 ファイルを生成した後に(これには変換子を定義する必要はありません),「LaTeXからDVI」変換子を
2484 使用してDVIに変換し,最後に,得られたDVIをPostScriptに変換することによって実現しています.\SpecialChar LyX
2485 はこのような変換子の「連鎖」を自動的に見つけ,つねに最
2486 も短い連鎖を選択します.しかしながら,なお形式間に複数の変換方法を定義することも可能です.たとえば,標準的な\SpecialChar LyX
2487 設定は,\SpecialChar LaTeX
2488 からPDFへ変換するのに,以下の3つの方法を
2489 用意しています.
2490 \end_layout
2491
2492 \begin_layout Enumerate
2493 直接
2494 \begin_inset Flex MenuItem
2495 status collapsed
2496
2497 \begin_layout Plain Layout
2498 pdflatex
2499 \end_layout
2500
2501 \end_inset
2502
2503 を使用するもの
2504 \end_layout
2505
2506 \begin_layout Enumerate
2507 (DVIと)PostScriptを経由して
2508 \begin_inset Flex MenuItem
2509 status collapsed
2510
2511 \begin_layout Plain Layout
2512 ps2pdf
2513 \end_layout
2514
2515 \end_inset
2516
2517 を使用するもの
2518 \end_layout
2519
2520 \begin_layout Enumerate
2521 DVI経由で
2522 \begin_inset Flex MenuItem
2523 status collapsed
2524
2525 \begin_layout Plain Layout
2526 dvipdfm
2527 \end_layout
2528
2529 \end_inset
2530
2531 を使用するもの
2532 \end_layout
2533
2534 \begin_layout Enumerate
2535 直接
2536 \begin_inset Flex MenuItem
2537 status collapsed
2538
2539 \begin_layout Plain Layout
2540 Xe\SpecialChar TeX
2541
2542 \end_layout
2543
2544 \end_inset
2545
2546 を使用するもの
2547 \end_layout
2548
2549 \begin_layout Enumerate
2550 直接
2551 \begin_inset Flex MenuItem
2552 status collapsed
2553
2554 \begin_layout Plain Layout
2555 Lua\SpecialChar TeX
2556
2557 \end_layout
2558
2559 \end_inset
2560
2561 を使用するもの
2562 \end_layout
2563
2564 \begin_layout Standard
2565 このように代替連鎖を定義するには,第
2566 \begin_inset CommandInset ref
2567 LatexCommand ref
2568 reference "sec:ファイル形式"
2569
2570 \end_inset
2571
2572 節に述べられているように,ターゲットとなる「ファイル形式」を複数定義しなくてはなりません.たとえば,標準設定では,
2573 \begin_inset Flex MenuItem
2574 status collapsed
2575
2576 \begin_layout Plain Layout
2577 pdf
2578 \end_layout
2579
2580 \end_inset
2581
2582 (
2583 \begin_inset Flex MenuItem
2584 status collapsed
2585
2586 \begin_layout Plain Layout
2587 ps2pdf
2588 \end_layout
2589
2590 \end_inset
2591
2592 用)・
2593 \begin_inset Flex MenuItem
2594 status collapsed
2595
2596 \begin_layout Plain Layout
2597 pdf2
2598 \end_layout
2599
2600 \end_inset
2601
2602 (
2603 \begin_inset Flex MenuItem
2604 status collapsed
2605
2606 \begin_layout Plain Layout
2607 pdflatex
2608 \end_layout
2609
2610 \end_inset
2611
2612 用)・
2613 \begin_inset Flex MenuItem
2614 status collapsed
2615
2616 \begin_layout Plain Layout
2617 pdf3
2618 \end_layout
2619
2620 \end_inset
2621
2622 (
2623 \begin_inset Flex MenuItem
2624 status collapsed
2625
2626 \begin_layout Plain Layout
2627 dvipdfm
2628 \end_layout
2629
2630 \end_inset
2631
2632 用)・
2633 \begin_inset Flex MenuItem
2634 status collapsed
2635
2636 \begin_layout Plain Layout
2637 pdf4
2638 \end_layout
2639
2640 \end_inset
2641
2642 (
2643 \begin_inset Flex MenuItem
2644 status collapsed
2645
2646 \begin_layout Plain Layout
2647 Xe\SpecialChar TeX
2648
2649 \end_layout
2650
2651 \end_inset
2652
2653 用)・
2654 \begin_inset Flex MenuItem
2655 status collapsed
2656
2657 \begin_layout Plain Layout
2658 pdf5
2659 \end_layout
2660
2661 \end_inset
2662
2663 (
2664 \begin_inset Flex MenuItem
2665 status collapsed
2666
2667 \begin_layout Plain Layout
2668 Lua\SpecialChar TeX
2669
2670 \end_layout
2671
2672 \end_inset
2673
2674 用\SpecialChar softhyphen
2675 ) と命名された形式が定義されていて,すべて共通の拡張子
2676 \begin_inset Flex MenuItem
2677 status collapsed
2678
2679 \begin_layout Plain Layout
2680 .pdf
2681 \end_layout
2682
2683 \end_inset
2684
2685 を持ち,上記で言及した各変換方法に対応しています.
2686 \end_layout
2687
2688 \begin_layout Chapter
2689 \SpecialChar LyX
2690 の各国語対応
2691 \begin_inset CommandInset label
2692 LatexCommand label
2693 name "cha:LyXの各国語対応"
2694
2695 \end_inset
2696
2697
2698 \end_layout
2699
2700 \begin_layout Standard
2701 \SpecialChar LyX
2702 は,翻訳された操作画面の利用をサポートしています.私たちが最後に確かめたところでは,\SpecialChar LyX
2703 は30言語の翻訳を提供しています.選択した言語は,使用する
2704 \emph on
2705 ロケール
2706 \emph default
2707 と呼ばれます(ロケール設定についての詳しい資料は,お使いの基本ソフトに添付のロケール関連説明書をご覧ください.Linuxの場合は,マニュアルページの
2708 \begin_inset Flex Code
2709 status collapsed
2710
2711 \begin_layout Plain Layout
2712 locale(5)
2713 \end_layout
2714
2715 \end_inset
2716
2717 から見ると良いかもしれません).
2718 \end_layout
2719
2720 \begin_layout Standard
2721 これらの翻訳は適切に機能しますが,欠点もいくつかあることに注意してください.たとえば,ダイアログはすべて英文を念頭にデザインされているため,翻訳文の一部は,割り
2722 当てられたスペースに収めるには大きすぎるかもしれません.これは表示上の問題に過ぎず,他の障害は引き起こしません.また,翻訳によっては,すべての
2723 \begin_inset Flex Ruby
2724 status collapsed
2725
2726 \begin_layout Plain Layout
2727 捷径
2728 \begin_inset Argument post:1
2729 status collapsed
2730
2731 \begin_layout Plain Layout
2732 ショートカット
2733 \end_layout
2734
2735 \end_inset
2736
2737
2738 \end_layout
2739
2740 \end_inset
2741
2742 が定義されていないことに気づかれるでしょう.捷径のために空いている文字が十分ないことが時々あるのです.単に翻訳者がまだ捷径を定義していないこともあるでしょう.も
2743 ちろん,私たちの各国語対応チーム—あなたも参加したいと思われるかもしれません
2744 \begin_inset Foot
2745 status collapsed
2746
2747 \begin_layout Plain Layout
2748 もしあなたが英語以外の言語を流暢に操れるならば,これらのチームに参加することは,\SpecialChar LyX
2749 コミュニティに報いるたいへん素晴らしい方法です!
2750 \end_layout
2751
2752 \end_inset
2753
2754 —は,\SpecialChar LyX
2755 の将来のバージョンでこれらの欠点を修正しようとするでしょう.
2756 \end_layout
2757
2758 \begin_layout Section
2759 \SpecialChar LyX
2760 を翻訳する
2761 \end_layout
2762
2763 \begin_layout Subsection
2764 グラフィカル・ユーザ・インタフェース(テキスト・メッセージ)を翻訳する
2765 \begin_inset Argument 1
2766 status collapsed
2767
2768 \begin_layout Plain Layout
2769 GUI(テキストメッセージ)を翻訳する
2770 \end_layout
2771
2772 \end_inset
2773
2774
2775 \end_layout
2776
2777 \begin_layout Standard
2778 \SpecialChar LyX
2779 は,操作画面の国際化対応にGNU 
2780 \begin_inset Flex Code
2781 status collapsed
2782
2783 \begin_layout Plain Layout
2784 gettext
2785 \end_layout
2786
2787 \end_inset
2788
2789 ライブラリを使用します.\SpecialChar LyX
2790 のすべてのメニューやダイアログでお好みの言語を話させたいときには,その言語の
2791 \begin_inset Flex Code
2792 status collapsed
2793
2794 \begin_layout Plain Layout
2795 po
2796 \end_layout
2797
2798 \end_inset
2799
2800 ファイルが必要です.このファイルが利用可能であれば,そこから
2801 \begin_inset Flex Code
2802 status collapsed
2803
2804 \begin_layout Plain Layout
2805 mo
2806 \end_layout
2807
2808 \end_inset
2809
2810 ファイルを生成して,この
2811 \begin_inset Flex Code
2812 status collapsed
2813
2814 \begin_layout Plain Layout
2815 mo
2816 \end_layout
2817
2818 \end_inset
2819
2820 ファイルをインストールしなくてはなりません.この全過程は,GNU 
2821 \begin_inset Flex Code
2822 status collapsed
2823
2824 \begin_layout Plain Layout
2825 gettext
2826 \end_layout
2827
2828 \end_inset
2829
2830 の取扱説明書に説明があります.この作業をあなたのためだけに行うこともできますが,もしせっかくするのであれば,あなたの骨折りの結果を\SpecialChar LyX
2831 コミュニティの他の人々と分かち
2832 合いませんか.どのように段取りを進めればよいか,詳しくは\SpecialChar LyX
2833 開発者メーリングリストにメールを送ってください.
2834 \end_layout
2835
2836 \begin_layout Standard
2837 要約すれば,以下のように行います(xxは言語コードを表します).
2838 \end_layout
2839
2840 \begin_layout Itemize
2841 \SpecialChar LyX
2842 ソースコードをチェックアウトしてください(
2843 \begin_inset CommandInset href
2844 LatexCommand href
2845 name "ウェブ上の情報"
2846 target "https://www.lyx.org/HowToUseGIT"
2847 literal "false"
2848
2849 \end_inset
2850
2851 参照).
2852 \end_layout
2853
2854 \begin_layout Itemize
2855 \begin_inset Flex Code
2856 status collapsed
2857
2858 \begin_layout Plain Layout
2859 lyx.pot
2860 \end_layout
2861
2862 \end_inset
2863
2864 ファイルを
2865 \begin_inset Flex Code
2866 status collapsed
2867
2868 \begin_layout Plain Layout
2869 **.po
2870 \end_layout
2871
2872 \end_inset
2873
2874 ファイルのあるフォルダにコピーして,
2875 \begin_inset Flex Code
2876 status collapsed
2877
2878 \begin_layout Plain Layout
2879 xx.po
2880 \end_layout
2881
2882 \end_inset
2883
2884 に名前を付け替えてください(
2885 \begin_inset Flex Code
2886 status collapsed
2887
2888 \begin_layout Plain Layout
2889 lyx.pot
2890 \end_layout
2891
2892 \end_inset
2893
2894 がどこにもない場合には,コンソールからそのディレクトリで
2895 \begin_inset Flex Code
2896 status collapsed
2897
2898 \begin_layout Plain Layout
2899 make lyx.pot
2900 \end_layout
2901
2902 \end_inset
2903
2904 コマンドを実行し,作成し直すか,他言語の既存のpoファイルをひな型として使用することができます).
2905 \end_layout
2906
2907 \begin_layout Itemize
2908 \begin_inset Flex Code
2909 status collapsed
2910
2911 \begin_layout Plain Layout
2912 xx.po
2913 \end_layout
2914
2915 \end_inset
2916
2917 を編集します.
2918 \begin_inset Foot
2919 status collapsed
2920
2921 \begin_layout Plain Layout
2922 これは単なるテキストファイルなので,どのテキストエディタでも編集できます.しかし,
2923 \family typewriter
2924 Poedit
2925 \family default
2926 (全プラットフォーム用)や
2927 \family typewriter
2928 KBabel
2929 \family default
2930 (KDE用)のように,この目的の編集をサポートする特別なプログラムがあります.
2931 \family typewriter
2932 Emacs
2933 \family default
2934 にも
2935 \begin_inset Flex Code
2936 status collapsed
2937
2938 \begin_layout Plain Layout
2939 po
2940 \end_layout
2941
2942 \end_inset
2943
2944 ファイルを編集するための「モード」があります,第
2945 \begin_inset Flex URL
2946 status open
2947
2948 \begin_layout Plain Layout
2949
2950 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html
2951 \backslash
2952 #PO-Mode
2953 \end_layout
2954
2955 \end_inset
2956
2957
2958 \end_layout
2959
2960 \end_inset
2961
2962 メニューラベルやウィジェットラベルのうちには,翻訳しなくてはならない
2963 \begin_inset Flex Ruby
2964 status collapsed
2965
2966 \begin_layout Plain Layout
2967 捷径
2968 \begin_inset Argument post:1
2969 status collapsed
2970
2971 \begin_layout Plain Layout
2972 ショートカット
2973 \end_layout
2974
2975 \end_inset
2976
2977
2978 \end_layout
2979
2980 \end_inset
2981
2982 がある場合があります.これらのキーは「|」の後に記されており,当該言語の単語やフレーズに対応して翻訳しなくてはなりません.さらに,新しい
2983 \begin_inset Flex Code
2984 status collapsed
2985
2986 \begin_layout Plain Layout
2987 po
2988 \end_layout
2989
2990 \end_inset
2991
2992 ファイルの冒頭に,あなたの電子メールアドレスなどの情報も書き加えて,人々があなたに提案や,滑稽な怒りのメッセージを届けることができるようにしてください.
2993 \end_layout
2994
2995 \begin_layout Standard
2996 もし,あなたがこれを自身のためだけに行っているのであれば,
2997 \end_layout
2998
2999 \begin_layout Itemize
3000 \begin_inset Flex Code
3001 status collapsed
3002
3003 \begin_layout Plain Layout
3004 xx.mo
3005 \end_layout
3006
3007 \end_inset
3008
3009 を生成してください.これは
3010 \begin_inset Flex Code
3011 status collapsed
3012
3013 \begin_layout Plain Layout
3014 msgfmt -o xx.mo < xx.po
3015 \end_layout
3016
3017 \end_inset
3018
3019 でできます.
3020 \end_layout
3021
3022 \begin_layout Itemize
3023 この
3024 \begin_inset Flex Code
3025 status collapsed
3026
3027 \begin_layout Plain Layout
3028 mo
3029 \end_layout
3030
3031 \end_inset
3032
3033 ファイルを,お使いのロケールツリー中,言語xxのアプリケーションメッセージ用の正式なディレクトリにコピーして,
3034 \begin_inset Flex Code
3035 status collapsed
3036
3037 \begin_layout Plain Layout
3038 lyx.mo
3039 \end_layout
3040
3041 \end_inset
3042
3043 という名称にしてください(例:
3044 \begin_inset Flex Code
3045 status collapsed
3046
3047 \begin_layout Plain Layout
3048 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3049 \end_layout
3050
3051 \end_inset
3052
3053 ).
3054 \end_layout
3055
3056 \begin_layout Standard
3057 しかしながら前述のように,この新しい
3058 \begin_inset Flex Code
3059 status collapsed
3060
3061 \begin_layout Plain Layout
3062 po
3063 \end_layout
3064
3065 \end_inset
3066
3067 ファイルを他の人たちが使用できるよう,\SpecialChar LyX
3068 頒布版に追加できることが最善です.これを追加するには,\SpecialChar LyX
3069 に変更を加える必要がありますので,もしその気があれば,開発者メーリン
3070 グリストに電子メールを送ってください.
3071 \end_layout
3072
3073 \begin_layout Subsubsection
3074 多義訳語メッセージ
3075 \end_layout
3076
3077 \begin_layout Standard
3078 時には,一つの英語のメッセージが,翻訳先の言語では複数のメッセージに翻訳されなくてはならないことが判明することがあります.一つの例は,
3079 \begin_inset Flex Code
3080 status collapsed
3081
3082 \begin_layout Plain Layout
3083 To
3084 \end_layout
3085
3086 \end_inset
3087
3088 というメッセージで,これは英語で「to」がどういう意味を持っているかによって,独語ではNachと訳されたりBisと訳されたりします.GNU 
3089 \begin_inset Flex Code
3090 status collapsed
3091
3092 \begin_layout Plain Layout
3093 gettext
3094 \end_layout
3095
3096 \end_inset
3097
3098 は,このような多義訳語を
3099 \begin_inset Flex Code
3100 status collapsed
3101
3102 \begin_layout Plain Layout
3103 To
3104 \end_layout
3105
3106 \end_inset
3107
3108 の代わりに,
3109 \begin_inset Flex Code
3110 status collapsed
3111
3112 \begin_layout Plain Layout
3113 To[[as in 'From format x to format y']]
3114 \end_layout
3115
3116 \end_inset
3117
3118
3119 \begin_inset Flex Code
3120 status collapsed
3121
3122 \begin_layout Plain Layout
3123 To[[as in 'From page x to page y']]
3124 \end_layout
3125
3126 \end_inset
3127
3128 としなくてはなりません.これによって,これら2つの
3129 \begin_inset Flex Code
3130 status collapsed
3131
3132 \begin_layout Plain Layout
3133 To
3134 \end_layout
3135
3136 \end_inset
3137
3138 は,
3139 \begin_inset Flex Code
3140 status collapsed
3141
3142 \begin_layout Plain Layout
3143 gettext
3144 \end_layout
3145
3146 \end_inset
3147
3148 には別物と解釈され,それぞれ正しくNachとBisに訳すことができるようになります.
3149 \end_layout
3150
3151 \begin_layout Standard
3152 もちろん,この文脈情報は,翻訳が存在しないときには取り去られる必要がありますので,メッセージの終わりに二重大括弧で囲わなくてはなりません(上例参照).\SpecialChar LyX
3153 の翻訳機構
3154 では,メッセージの終わりに二重大括弧で囲われているものはすべて,メッセージを表示する前に取り去るようにされています.
3155 \end_layout
3156
3157 \begin_layout Subsection
3158 説明書を翻訳する
3159 \end_layout
3160
3161 \begin_layout Standard
3162
3163 \begin_inset Flex MenuItem
3164 status collapsed
3165
3166 \begin_layout Plain Layout
3167 Help
3168 \end_layout
3169
3170 \end_inset
3171
3172 メニュー中の)オンライン説明書は翻訳することができます(そして翻訳されるべきです!).説明書の翻訳版が利用可能であり
3173 \begin_inset Foot
3174 status collapsed
3175
3176 \begin_layout Plain Layout
3177 2008年3月現在,説明書の少なくとも一部が翻訳されている言語は14言語に上り,入門編が訳されているものはさらにいくつかあります.
3178 \end_layout
3179
3180 \end_inset
3181
3182 ,ロケールがその言語に設定されている場合,\SpecialChar LyX
3183 はこれを自動的に使用します.\SpecialChar LyX
3184 は,翻訳版を
3185 \begin_inset Flex Code
3186 status collapsed
3187
3188 \begin_layout Plain Layout
3189 LyXDir/doc/xx/DocName.lyx
3190 \end_layout
3191
3192 \end_inset
3193
3194
3195 \begin_inset Flex Code
3196 status collapsed
3197
3198 \begin_layout Plain Layout
3199 xx
3200 \end_layout
3201
3202 \end_inset
3203
3204 は現在使用している言語コード)で探します.翻訳文書がない場合には,既定の英語版が表示されます.翻訳版は,原典と同じファイル名(上述の
3205 \begin_inset Flex Code
3206 status collapsed
3207
3208 \begin_layout Plain Layout
3209 DocName
3210 \end_layout
3211
3212 \end_inset
3213
3214 )を持っていなくてはならないことに注意してください.説明書を翻訳する気がおありであれば(これは原典の校正としてもたいへん役立ちます!),以下のような点をすぐに行
3215 うべきです.
3216 \end_layout
3217
3218 \begin_layout Itemize
3219 説明書翻訳ウェブページ
3220 \begin_inset CommandInset href
3221 LatexCommand href
3222 name "https://www.lyx.org/Translation"
3223 target "https://www.lyx.org/Translation"
3224 literal "false"
3225
3226 \end_inset
3227
3228 を確認してください.ここで,どの文書が(もしあれば)お使いの言語に既に翻訳されているかを見つけることができます.また,説明書をお使いの言語に翻訳する作業の面倒を
3229 見ている人を(もしいれば)見つけることができます.この作業の面倒を見ている人がいない場合には,私たちにあなたが興味をお持ちであることを知らせてください.
3230 \end_layout
3231
3232 \begin_layout Standard
3233 いったん実際の翻訳の仕事に取りかかったならば,トラブルを回避するいくつかのヒントがあります.
3234 \end_layout
3235
3236 \begin_layout Itemize
3237 文書化チームに所属してください!そのための情報が
3238 \begin_inset Flex Code
3239 status collapsed
3240
3241 \begin_layout Plain Layout
3242 Intro.lyx
3243 \end_layout
3244
3245 \end_inset
3246
3247
3248 \begin_inset Flex MenuItem
3249 status collapsed
3250
3251 \begin_layout Plain Layout
3252 ヘルプ\SpecialChar menuseparator
3253 はじめの一歩
3254 \end_layout
3255
3256 \end_inset
3257
3258 )にあります.また,この
3259 \begin_inset Flex Code
3260 status collapsed
3261
3262 \begin_layout Plain Layout
3263 Intro.lyx
3264 \end_layout
3265
3266 \end_inset
3267
3268 が最初に訳すべき文書です.
3269 \end_layout
3270
3271 \begin_layout Itemize
3272 翻訳しようとする言語での印刷慣行を学んでください.活版印刷は古来の技術であり,何世紀にもわたって世界の至る所で,様々な慣行を発達させてきました.また,あなたの国
3273 で活版工が用いる専門用語も学んでください.自分で勝手な専門用語を捻出するとユーザを混乱させるだけです.(
3274 \emph on
3275 警告!活版技術は病みつきになる可能性があるので注意してくさい!
3276 \emph default
3277
3278 \end_layout
3279
3280 \begin_layout Itemize
3281 文書のコピーをとってください.これを作業用コピーとします.これをお使いの
3282 \begin_inset Flex Code
3283 status collapsed
3284
3285 \begin_layout Plain Layout
3286 UserDir/doc/xx/
3287 \end_layout
3288
3289 \end_inset
3290
3291 ディレクトリにコピーすれば,個人用の翻訳ヘルプファイルとして使用することができます.
3292 \begin_inset Newline newline
3293 \end_inset
3294
3295
3296 \begin_inset Note Greyedout
3297 status open
3298
3299 \begin_layout Plain Layout
3300
3301 \series bold
3302 【註】
3303 \series default
3304 外部素材(画像など)のある複雑な文書の場合,例えば一時ディレクトリなどにコピーを作ると,文書を別の場所に移したとき,外部素材へのリンクは壊れてしまうかもしれない
3305 ことに注意してください.最も良い方法は,LyXツリーをgit (
3306 \begin_inset Flex URL
3307 status collapsed
3308
3309 \begin_layout Plain Layout
3310
3311 https://www.lyx.org/HowToUseGIT
3312 \end_layout
3313
3314 \end_inset
3315
3316 参照)からとってきて,そのdocファイルを直接編集するのが良いでしょう.
3317 \end_layout
3318
3319 \end_inset
3320
3321
3322 \end_layout
3323
3324 \begin_layout Itemize
3325 (\SpecialChar LyX
3326 チームが維持している)原典の説明書は,時折更新されます.変更点については,
3327 \begin_inset CommandInset href
3328 LatexCommand href
3329 name "https://www.lyx.org/trac/timeline"
3330 target "https://www.lyx.org/trac/timeline"
3331 literal "false"
3332
3333 \end_inset
3334
3335 のソースビューアでご覧ください.この方法で,翻訳文書のどの部分を更新しなくてはならないか,たやすく見つけることができます.
3336 \end_layout
3337
3338 \begin_layout Standard
3339 もし原典に誤りを見つけたならば,修正して文書化チームの他のメンバーに変更したことを知らせてください(文書化チームに参加することをお忘れになっていませんよね).
3340 \end_layout
3341
3342 \begin_layout Standard
3343 \begin_inset Branch OutDated
3344 inverted 0
3345 status collapsed
3346
3347 \begin_layout Section
3348 International Keyboard Support
3349 \end_layout
3350
3351 \begin_layout Standard
3352
3353 \emph on
3354 [Editor's Note: The following section is by
3355 \emph default
3356  
3357 \shape smallcaps
3358 \emph on
3359 Ivan Schreter
3360 \shape default
3361 .
3362  It needs to be fixed to conform to the new Documentation Style sheet and
3363  to make use of the new v1.0 features.
3364  The whole thing also needs to be merged with the section following it.-jw
3365  It may also be badly out of date.-rh (2008)]
3366 \end_layout
3367
3368 \begin_layout Subsection
3369 Defining Own Keymaps: Keymap File Format
3370 \end_layout
3371
3372 \begin_layout Standard
3373 Let's look at a keyboard definition file a little closer.
3374  It is a plain text file defining
3375 \end_layout
3376
3377 \begin_layout Itemize
3378 key-to-key or key-to-string translations
3379 \end_layout
3380
3381 \begin_layout Itemize
3382 dead keys
3383 \end_layout
3384
3385 \begin_layout Itemize
3386 dead keys exceptions
3387 \end_layout
3388
3389 \begin_layout Standard
3390 To define key-to-key or key-to-string translation, use this command:
3391 \end_layout
3392
3393 \begin_layout Quotation
3394 \begin_inset Flex Code
3395 status collapsed
3396
3397 \begin_layout Plain Layout
3398
3399 \backslash
3400 kmap
3401 \end_layout
3402
3403 \end_inset
3404
3405  
3406 \begin_inset Flex Code
3407 status collapsed
3408
3409 \begin_layout Plain Layout
3410 key
3411 \end_layout
3412
3413 \end_inset
3414
3415  outstring 
3416 \end_layout
3417
3418 \begin_layout Standard
3419 where 
3420 \begin_inset Flex Code
3421 status collapsed
3422
3423 \begin_layout Plain Layout
3424 key
3425 \end_layout
3426
3427 \end_inset
3428
3429  is the key to be translated and 
3430 \begin_inset Flex Code
3431 status collapsed
3432
3433 \begin_layout Plain Layout
3434 outstring
3435 \end_layout
3436
3437 \end_inset
3438
3439  is the string to be inserted into the document.
3440  To define dead keys, use:
3441 \end_layout
3442
3443 \begin_layout Quotation
3444 \begin_inset Flex Code
3445 status collapsed
3446
3447 \begin_layout Plain Layout
3448
3449 \backslash
3450 kmod
3451 \end_layout
3452
3453 \end_inset
3454
3455  
3456 \begin_inset Flex Code
3457 status collapsed
3458
3459 \begin_layout Plain Layout
3460 key
3461 \end_layout
3462
3463 \end_inset
3464
3465  deadkey
3466 \end_layout
3467
3468 \begin_layout Standard
3469 where 
3470 \begin_inset Flex Code
3471 status collapsed
3472
3473 \begin_layout Plain Layout
3474 key
3475 \end_layout
3476
3477 \end_inset
3478
3479  is a keyboard key and 
3480 \begin_inset Flex Code
3481 status collapsed
3482
3483 \begin_layout Plain Layout
3484 deadkey
3485 \end_layout
3486
3487 \end_inset
3488
3489  is dead key name.
3490  The following dead keys are supported (shortcut name is in parentheses):
3491 \end_layout
3492
3493 \begin_layout Quotation
3494
3495 \emph on
3496 Name
3497 \begin_inset space \hfill{}
3498 \end_inset
3499
3500 Example
3501 \end_layout
3502
3503 \begin_layout Quotation
3504 acute (acu)
3505 \begin_inset space \hfill{}
3506 \end_inset
3507
3508
3509 \lang english
3510 áéíóú
3511 \end_layout
3512
3513 \begin_layout Quotation
3514 grave (gra)
3515 \begin_inset space \hfill{}
3516 \end_inset
3517
3518
3519 \lang english
3520 àèìòù
3521 \end_layout
3522
3523 \begin_layout Quotation
3524 macron (mac)
3525 \begin_inset space \hfill{}
3526 \end_inset
3527
3528
3529 \lang english
3530  ō
3531 \end_layout
3532
3533 \begin_layout Quotation
3534 tilde (til)
3535 \begin_inset space \hfill{}
3536 \end_inset
3537
3538
3539 \lang english
3540 ñÑ
3541 \end_layout
3542
3543 \begin_layout Quotation
3544 underbar (underb)
3545 \begin_inset space \hfill{}
3546 \end_inset
3547
3548
3549 \begin_inset ERT
3550 status open
3551
3552 \begin_layout Plain Layout
3553
3554
3555 \backslash
3556 b o
3557 \end_layout
3558
3559 \end_inset
3560
3561
3562 \end_layout
3563
3564 \begin_layout Quotation
3565 cedilla (ced)
3566 \begin_inset space \hfill{}
3567 \end_inset
3568
3569
3570 \lang english
3571 çÇ
3572 \end_layout
3573
3574 \begin_layout Quotation
3575 underdot (underd)
3576 \begin_inset space \hfill{}
3577 \end_inset
3578
3579
3580 \begin_inset ERT
3581 status open
3582
3583 \begin_layout Plain Layout
3584
3585
3586 \backslash
3587 d o
3588 \end_layout
3589
3590 \end_inset
3591
3592
3593 \end_layout
3594
3595 \begin_layout Quotation
3596 circumflex (circu)
3597 \begin_inset space \hfill{}
3598 \end_inset
3599
3600
3601 \lang english
3602 âêîôû
3603 \end_layout
3604
3605 \begin_layout Quotation
3606 circle (circl)
3607 \begin_inset space \hfill{}
3608 \end_inset
3609
3610
3611 \lang english
3612 ÅůŮ
3613 \end_layout
3614
3615 \begin_layout Quotation
3616 tie (tie)
3617 \begin_inset space \hfill{}
3618 \end_inset
3619
3620
3621 \begin_inset ERT
3622 status open
3623
3624 \begin_layout Plain Layout
3625
3626
3627 \backslash
3628 t o
3629 \end_layout
3630
3631 \end_inset
3632
3633
3634 \end_layout
3635
3636 \begin_layout Quotation
3637 breve (bre)
3638 \begin_inset space \hfill{}
3639 \end_inset
3640
3641
3642 \lang english
3643 ă
3644 \lang japanese
3645
3646 \begin_inset ERT
3647 status open
3648
3649 \begin_layout Plain Layout
3650
3651
3652 \backslash
3653 u o
3654 \end_layout
3655
3656 \end_inset
3657
3658
3659 \end_layout
3660
3661 \begin_layout Quotation
3662 caron (car)
3663 \begin_inset space \hfill{}
3664 \end_inset
3665
3666
3667 \lang english
3668 čšž
3669 \end_layout
3670
3671 \begin_layout Quotation
3672 hungarian umlaut (hug)
3673 \begin_inset space \hfill{}
3674 \end_inset
3675
3676
3677 \lang english
3678 őű
3679 \end_layout
3680
3681 \begin_layout Quotation
3682 umlaut (uml)
3683 \begin_inset space \hfill{}
3684 \end_inset
3685
3686
3687 \lang english
3688 äöü
3689 \end_layout
3690
3691 \begin_layout Quotation
3692 dot (dot)
3693 \begin_inset space \hfill{}
3694 \end_inset
3695
3696
3697 \lang english
3698 ż
3699 \lang japanese
3700
3701 \begin_inset ERT
3702 status open
3703
3704 \begin_layout Plain Layout
3705
3706
3707 \backslash
3708 .s
3709 \end_layout
3710
3711 \end_inset
3712
3713
3714 \end_layout
3715
3716 \begin_layout Standard
3717 Since in many international keyboards there are exceptions to what some
3718  dead keys should do, you can define them using
3719 \end_layout
3720
3721 \begin_layout Quotation
3722 \begin_inset Flex Code
3723 status collapsed
3724
3725 \begin_layout Plain Layout
3726
3727 \backslash
3728 kxmod
3729 \end_layout
3730
3731 \end_inset
3732
3733  deadkey key outstring
3734 \end_layout
3735
3736 \begin_layout Standard
3737 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3738 , so you put in
3739 \end_layout
3740
3741 \begin_layout Quotation
3742 \begin_inset Flex Code
3743 status collapsed
3744
3745 \begin_layout Plain Layout
3746
3747 \backslash
3748 kxmod
3749 \end_layout
3750
3751 \end_inset
3752
3753  caron o "
3754 \backslash
3755 ^o"
3756 \end_layout
3757
3758 \begin_layout Standard
3759 to make it work correctly.
3760  Also, you have to define as exceptions dead keys over i and j, to remove
3761  the dot from them before inserting an accent mark.
3762  I will change this when the time comes, but so far I haven't had time.
3763 \end_layout
3764
3765 \begin_layout Standard
3766 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3767  double backslash.
3768  Also, quotes and 
3769 \begin_inset Flex Code
3770 status collapsed
3771
3772 \begin_layout Plain Layout
3773 #
3774 \end_layout
3775
3776 \end_inset
3777
3778  have different meaning.
3779  
3780 \begin_inset Flex Code
3781 status collapsed
3782
3783 \begin_layout Plain Layout
3784 #
3785 \end_layout
3786
3787 \end_inset
3788
3789  marks comments, quotes start and end \SpecialChar LaTeX
3790 -style commands.
3791  To enter quote, you'll need to use 
3792 \begin_inset Flex Code
3793 status collapsed
3794
3795 \begin_layout Plain Layout
3796
3797 \backslash
3798 "
3799 \end_layout
3800
3801 \end_inset
3802
3803 , to enter 
3804 \begin_inset Flex Code
3805 status collapsed
3806
3807 \begin_layout Plain Layout
3808 #
3809 \end_layout
3810
3811 \end_inset
3812
3813 , use 
3814 \begin_inset Flex Code
3815 status collapsed
3816
3817 \begin_layout Plain Layout
3818
3819 \backslash
3820 #
3821 \end_layout
3822
3823 \end_inset
3824
3825 .
3826 \end_layout
3827
3828 \begin_layout Standard
3829 If you make a keyboard description file that works for your language, please
3830  mail it to me, so I can include it in the next keymap distribution.
3831 \end_layout
3832
3833 \begin_layout Standard
3834 More keywords will be supported in keymap configuration file in future,
3835  like
3836 \end_layout
3837
3838 \begin_layout Itemize
3839 \begin_inset Flex Code
3840 status collapsed
3841
3842 \begin_layout Plain Layout
3843
3844 \backslash
3845 kinclude filename
3846 \end_layout
3847
3848 \end_inset
3849
3850
3851 \emph on
3852
3853 \begin_inset space \hfill{}
3854 \end_inset
3855
3856
3857 \begin_inset Flex Code
3858 status collapsed
3859
3860 \begin_layout Plain Layout
3861 include
3862 \end_layout
3863
3864 \end_inset
3865
3866  another file
3867 \end_layout
3868
3869 \begin_layout Itemize
3870 \begin_inset Flex Code
3871 status collapsed
3872
3873 \begin_layout Plain Layout
3874
3875 \backslash
3876 kprog program
3877 \end_layout
3878
3879 \end_inset
3880
3881
3882 \emph on
3883
3884 \begin_inset space \hfill{}
3885 \end_inset
3886
3887
3888 \begin_inset Flex Code
3889 status collapsed
3890
3891 \begin_layout Plain Layout
3892 define
3893 \end_layout
3894
3895 \end_inset
3896
3897  an external keymap translation program 
3898 \end_layout
3899
3900 \begin_layout Standard
3901 Also, it should look into 
3902 \begin_inset Flex Code
3903 status collapsed
3904
3905 \begin_layout Plain Layout
3906 lyxrc
3907 \end_layout
3908
3909 \end_inset
3910
3911  file for defaults, too (for example, a 
3912 \begin_inset Flex Code
3913 status collapsed
3914
3915 \begin_layout Plain Layout
3916
3917 \backslash
3918 kinclude
3919 \end_layout
3920
3921 \end_inset
3922
3923  option to include default keyboard).
3924 \end_layout
3925
3926 \end_inset
3927
3928
3929 \end_layout
3930
3931 \begin_layout Section
3932 国際キー配列
3933 \begin_inset CommandInset label
3934 LatexCommand label
3935 name "sec:国際キー配列"
3936
3937 \end_inset
3938
3939
3940 \end_layout
3941
3942 \begin_layout Standard
3943 \begin_inset Note Note
3944 status open
3945
3946 \begin_layout Plain Layout
3947 2008年3月にこの文書を改訂するに当たって,改訂者が本節の内容に詳しくなかったために,本節は改訂されていません.他に改訂してくださる方がおられれば幸いです.
3948 \end_layout
3949
3950 \begin_layout Plain Layout
3951 (RH)
3952 \end_layout
3953
3954 \end_inset
3955
3956
3957 \end_layout
3958
3959 \begin_layout Standard
3960 以下の2節では,
3961 \begin_inset Flex Code
3962 status collapsed
3963
3964 \begin_layout Plain Layout
3965 .kmap
3966 \end_layout
3967
3968 \end_inset
3969
3970 および
3971 \begin_inset Flex Code
3972 status collapsed
3973
3974 \begin_layout Plain Layout
3975 .cdef
3976 \end_layout
3977
3978 \end_inset
3979
3980 ファイルの文法を詳細に解説します.これらの節は,提供されているキー配列があなたのニーズに合わない場合に,自身用のキー配列をデザインする手助けとなるでしょう.
3981 \end_layout
3982
3983 \begin_layout Subsection
3984 .kmapファイル
3985 \end_layout
3986
3987 \begin_layout Standard
3988 \begin_inset Flex Code
3989 status collapsed
3990
3991 \begin_layout Plain Layout
3992 .kmap
3993 \end_layout
3994
3995 \end_inset
3996
3997 ファイルは,打鍵したものを文字や文字列に割り当てます.名前が示唆するように,これはキーボード配列表を定義します.
3998 \begin_inset Flex Code
3999 status collapsed
4000
4001 \begin_layout Plain Layout
4002 .kmap
4003 \end_layout
4004
4005 \end_inset
4006
4007 ファイルは,以下の各項で説明するように,
4008 \begin_inset Flex Code
4009 status collapsed
4010
4011 \begin_layout Plain Layout
4012 kmap
4013 \end_layout
4014
4015 \end_inset
4016
4017
4018 \begin_inset Flex Code
4019 status collapsed
4020
4021 \begin_layout Plain Layout
4022 kmod
4023 \end_layout
4024
4025 \end_inset
4026
4027
4028 \begin_inset Flex Code
4029 status collapsed
4030
4031 \begin_layout Plain Layout
4032 ksmod
4033 \end_layout
4034
4035 \end_inset
4036
4037
4038 \begin_inset Flex Code
4039 status collapsed
4040
4041 \begin_layout Plain Layout
4042 kcomb
4043 \end_layout
4044
4045 \end_inset
4046
4047 のキーワードを定義します.
4048 \end_layout
4049
4050 \begin_layout Labeling
4051 \labelwidthstring 00.00.0000
4052 \begin_inset Flex Code
4053 status collapsed
4054
4055 \begin_layout Plain Layout
4056 kmap
4057 \end_layout
4058
4059 \end_inset
4060
4061  文字を文字列に割り当てる
4062 \end_layout
4063
4064 \begin_layout LyX-Code
4065
4066 \backslash
4067 kmap 
4068 \family roman
4069 \emph on
4070 文字
4071 \family default
4072 \emph default
4073  
4074 \family roman
4075 \emph on
4076 文字列
4077 \end_layout
4078
4079 \begin_layout Standard
4080 これは,
4081 \emph on
4082 文字
4083 \emph default
4084
4085 \emph on
4086 文字列
4087 \emph default
4088 に割り当てます.
4089 \emph on
4090 文字列
4091 \emph default
4092 中では,二重引用符(")とバックスラッシュ(
4093 \backslash
4094 )は,前にバックスラッシュ(
4095 \backslash
4096 )を付けてエスケープしなくてはならないことに注意してください.
4097 \end_layout
4098
4099 \begin_layout Standard
4100 \begin_inset Flex MenuItem
4101 status collapsed
4102
4103 \begin_layout Plain Layout
4104 &
4105 \end_layout
4106
4107 \end_inset
4108
4109 を打鍵すると
4110 \begin_inset Flex MenuItem
4111 status collapsed
4112
4113 \begin_layout Plain Layout
4114 /
4115 \end_layout
4116
4117 \end_inset
4118
4119 記号が出力される
4120 \begin_inset Flex MenuItem
4121 status collapsed
4122
4123 \begin_layout Plain Layout
4124 kmap
4125 \end_layout
4126
4127 \end_inset
4128
4129 ステートメントを,一例としてあげると,
4130 \end_layout
4131
4132 \begin_layout LyX-Code
4133
4134 \backslash
4135 kmap & /
4136 \end_layout
4137
4138 \begin_layout Standard
4139 のようになります.
4140 \end_layout
4141
4142 \begin_layout Labeling
4143 \labelwidthstring 00.00.0000
4144 \begin_inset Flex Code
4145 status collapsed
4146
4147 \begin_layout Plain Layout
4148 kmod
4149 \end_layout
4150
4151 \end_inset
4152
4153  アクセント文字を指定する
4154 \end_layout
4155
4156 \begin_layout LyX-Code
4157
4158 \backslash
4159 kmod 
4160 \family roman
4161 \emph on
4162 文字 アクセント 許可文字
4163 \end_layout
4164
4165 \begin_layout Standard
4166 これは
4167 \emph on
4168 文字
4169 \emph default
4170
4171 \emph on
4172 許可文字
4173 \emph default
4174 のアクセントとするものです.これはデッドキー
4175 \begin_inset Foot
4176 status collapsed
4177
4178 \begin_layout Plain Layout
4179
4180 \emph on
4181 デッドキー
4182 \emph default
4183 という用語は,それ自身で文字を出力しないけれども,別のキーを続けて打つと,望んだアクセント文字を出力するキーのことを指し示します.たとえば,独語で
4184 \emph on
4185 ä
4186 \emph default
4187 のようなウムラウトのついた文字は,このようにして出すことができます.
4188 \end_layout
4189
4190 \end_inset
4191
4192 機構です.
4193 \end_layout
4194
4195 \begin_layout Standard
4196
4197 \emph on
4198 文字
4199 \emph default
4200 を打鍵してから
4201 \emph on
4202 許可文字
4203 \emph default
4204 にないキーを打鍵すると,
4205 \emph on
4206 文字
4207 \emph default
4208 の後に許可文字ではないその文字が出力として表示されます.
4209 \begin_inset Flex MenuItem
4210 status collapsed
4211
4212 \begin_layout Plain Layout
4213 Backspace
4214 \end_layout
4215
4216 \end_inset
4217
4218 はデッドキーを取り消しますので,
4219 \emph on
4220 文字
4221 \emph default
4222
4223 \begin_inset Flex MenuItem
4224 status collapsed
4225
4226 \begin_layout Plain Layout
4227 Backspace
4228 \end_layout
4229
4230 \end_inset
4231
4232 と打鍵すると,カーソルは一文字戻ることなく,文字が次の打鍵したものに及ぼしたはずの効力を取り消します.
4233 \end_layout
4234
4235 \begin_layout Standard
4236 以下の例は,'文字をacuteアクセントとして,a・e・i・o・u・A・E・I・O・Uの文字に許可するものです.
4237 \end_layout
4238
4239 \begin_layout LyX-Code
4240
4241 \backslash
4242 kmod ' acute aeiouAEIOU
4243 \end_layout
4244
4245 \begin_layout Labeling
4246 \labelwidthstring 00.00.0000
4247 \begin_inset Flex Code
4248 status collapsed
4249
4250 \begin_layout Plain Layout
4251 ksmod
4252 \end_layout
4253
4254 \end_inset
4255
4256  アクセント文字に例外を指定する
4257 \end_layout
4258
4259 \begin_layout LyX-Code
4260
4261 \backslash
4262 kxmod  
4263 \family roman
4264 \emph on
4265 アクセント 文字 結果
4266 \end_layout
4267
4268 \begin_layout Standard
4269 これは
4270 \emph on
4271 文字
4272 \emph default
4273 上の
4274 \emph on
4275 アクセント
4276 \emph default
4277 について例外を指定するものです.ここで
4278 \emph on
4279 アクセント
4280 \emph default
4281 には,前出の
4282 \begin_inset Flex Code
4283 status collapsed
4284
4285 \begin_layout Plain Layout
4286
4287 \backslash
4288 kmod
4289 \end_layout
4290
4291 \end_inset
4292
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 \emph on
4315 結果
4316 \emph default
4317 が出力されるようになります.
4318 \begin_inset Flex Code
4319 status collapsed
4320
4321 \begin_layout Plain Layout
4322 .kmap
4323 \end_layout
4324
4325 \end_inset
4326
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 \emph on
4345 アクセントキー
4346 \emph default
4347
4348 \begin_inset Flex Code
4349 status collapsed
4350
4351 \begin_layout Plain Layout
4352
4353 \backslash
4354 kmod
4355 \end_layout
4356
4357 \end_inset
4358
4359 宣言の最初の変数)と出力されます.
4360 \end_layout
4361
4362 \begin_layout Standard
4363 以下のコマンドを用いると,acute-i('i)と入力した場合,äiと出力されるようになります.
4364 \end_layout
4365
4366 \begin_layout LyX-Code
4367
4368 \backslash
4369 kxmod acute i "
4370 \backslash
4371
4372 \backslash
4373 '{
4374 \backslash
4375
4376 \backslash
4377 i}"
4378 \end_layout
4379
4380 \begin_layout Labeling
4381 \labelwidthstring 00.00.0000
4382 \begin_inset Flex Code
4383 status collapsed
4384
4385 \begin_layout Plain Layout
4386 kcomb
4387 \end_layout
4388
4389 \end_inset
4390
4391  2つのアクセント文字を結合する
4392 \end_layout
4393
4394 \begin_layout LyX-Code
4395
4396 \backslash
4397 kcomb 
4398 \family roman
4399 \emph on
4400 アクセント1 アクセント2 許可文字
4401 \end_layout
4402
4403 \begin_layout Standard
4404 これはなかなか難解になってきます.これは
4405 \emph on
4406 アクセント1
4407 \emph default
4408
4409 \emph on
4410 アクセント2
4411 \emph default
4412 を(この順番で)結びつけて,
4413 \emph on
4414 許可文字
4415 \emph default
4416 に効果を及ぼすようにします.
4417 \emph on
4418 アクセント1
4419 \emph default
4420
4421 \emph on
4422 アクセント2
4423 \emph default
4424 の打鍵キーは,ファイル内のこのコマンド
4425 \emph on
4426 よりも前に
4427 \emph default
4428
4429 \begin_inset Flex Code
4430 status collapsed
4431
4432 \begin_layout Plain Layout
4433
4434 \backslash
4435 kmod
4436 \end_layout
4437
4438 \end_inset
4439
4440 コマンドで設定されていなくてはなりません.
4441 \end_layout
4442
4443 \begin_layout Standard
4444 \begin_inset Flex Code
4445 status collapsed
4446
4447 \begin_layout Plain Layout
4448 greek.kmap
4449 \end_layout
4450
4451 \end_inset
4452
4453 ファイル上にある例をとってみましょう.
4454 \end_layout
4455
4456 \begin_layout LyX-Code
4457
4458 \backslash
4459 kmod ; acute aeioyvhAEIOYVH 
4460 \backslash
4461 kmod : umlaut iyIY 
4462 \backslash
4463 kcomb acute umlaut iyIY
4464 \end_layout
4465
4466 \begin_layout Standard
4467 これは
4468 \begin_inset Flex MenuItem
4469 status collapsed
4470
4471 \begin_layout Plain Layout
4472 ;:i
4473 \end_layout
4474
4475 \end_inset
4476
4477 を押すと
4478 \begin_inset Flex Code
4479 status collapsed
4480
4481 \begin_layout Plain Layout
4482
4483 \backslash
4484 '{
4485 \backslash
4486 "{i}}
4487 \end_layout
4488
4489 \end_inset
4490
4491 という効果を得るようにするものです.この場合のバックスペースは,最後のデッドキーを取り消すので,
4492 \begin_inset Flex MenuItem
4493 status collapsed
4494
4495 \begin_layout Plain Layout
4496 ;: Backspace i
4497 \end_layout
4498
4499 \end_inset
4500
4501 と押した場合には,
4502 \begin_inset Flex Code
4503 status collapsed
4504
4505 \begin_layout Plain Layout
4506
4507 \backslash
4508 '{i}
4509 \end_layout
4510
4511 \end_inset
4512
4513 となります.
4514 \end_layout
4515
4516 \begin_layout Subsection
4517 .cdefファイル
4518 \end_layout
4519
4520 \begin_layout Standard
4521 \begin_inset Flex Code
4522 status collapsed
4523
4524 \begin_layout Plain Layout
4525 .kmap
4526 \end_layout
4527
4528 \end_inset
4529
4530 による割り当てが行われた後,
4531 \begin_inset Flex Code
4532 status collapsed
4533
4534 \begin_layout Plain Layout
4535 .cdef
4536 \end_layout
4537
4538 \end_inset
4539
4540 ファイルは,記号の作り出す文字列を現在のフォントの文字に割り当てます.\SpecialChar LyX
4541 頒布版には,現在のところ,少なくとも
4542 \begin_inset Flex Code
4543 status collapsed
4544
4545 \begin_layout Plain Layout
4546 iso8859-1.cdef
4547 \end_layout
4548
4549 \end_inset
4550
4551 ファイルと
4552 \begin_inset Flex Code
4553 status collapsed
4554
4555 \begin_layout Plain Layout
4556 iso8859-2.cdef
4557 \end_layout
4558
4559 \end_inset
4560
4561 ファイルが含まれています.
4562 \end_layout
4563
4564 \begin_layout Standard
4565 一般的に
4566 \begin_inset Flex Code
4567 status collapsed
4568
4569 \begin_layout Plain Layout
4570 .cdef
4571 \end_layout
4572
4573 \end_inset
4574
4575 ファイルは,
4576 \end_layout
4577
4578 \begin_layout LyX-Code
4579
4580 \family roman
4581 \emph on
4582 セット中の文字番号
4583 \family default
4584 \emph default
4585  
4586 \family roman
4587 \emph on
4588  文字列
4589 \end_layout
4590
4591 \begin_layout Standard
4592 という形の宣言の羅列です.たとえば,
4593 \begin_inset Flex MenuItem
4594 status collapsed
4595
4596 \begin_layout Plain Layout
4597
4598 \backslash
4599 '{e}
4600 \end_layout
4601
4602 \end_inset
4603
4604 をiso-8859-1セットの対応する文字(233)に割り当てるには,以下の宣言を用います.
4605 \end_layout
4606
4607 \begin_layout LyX-Code
4608 233 "
4609 \backslash
4610
4611 \backslash
4612 '{e}"
4613 \end_layout
4614
4615 \begin_layout Standard
4616 ここで,
4617 \emph on
4618 文字列
4619 \emph default
4620 中の
4621 \begin_inset Flex Code
4622 status collapsed
4623
4624 \begin_layout Plain Layout
4625
4626 \backslash
4627
4628 \end_layout
4629
4630 \end_inset
4631
4632
4633 \begin_inset Flex Code
4634 status collapsed
4635
4636 \begin_layout Plain Layout
4637 "
4638 \end_layout
4639
4640 \end_inset
4641
4642 はエスケープされています.同一の文字を二つ以上の文字列に充てることができることに注意してください.
4643 \begin_inset Flex Code
4644 status collapsed
4645
4646 \begin_layout Plain Layout
4647 iso-8859-7.cdef
4648 \end_layout
4649
4650 \end_inset
4651
4652 ファイルには,
4653 \end_layout
4654
4655 \begin_layout LyX-Code
4656 192 "
4657 \backslash
4658
4659 \backslash
4660 '{
4661 \backslash
4662
4663 \backslash
4664
4665 \backslash
4666 "{i}}"
4667 \begin_inset Newline newline
4668 \end_inset
4669
4670 192 "
4671 \backslash
4672
4673 \backslash
4674
4675 \backslash
4676 "{
4677 \backslash
4678
4679 \backslash
4680 '{i}}"
4681 \end_layout
4682
4683 \begin_layout Standard
4684 という例があります.\SpecialChar LyX
4685 は,キー打鍵やデッドキーの組み合わせで生成される文字列の割り当てを見つけることができないとき,それがアクセント付き文字のように解釈ができない
4686 かどうかチェックして,画面上の文字にアクセントを引くことを試みます.
4687 \end_layout
4688
4689 \begin_layout Subsection
4690 デッドキー
4691 \end_layout
4692
4693 \begin_layout Standard
4694 国際文字のサポートを追加する第2の方法として,いわゆるデッドキーによる方法があります.デッドキーは文字と一緒に用いて,アクセント付き文字を生成します.ここではそ
4695 の機能を説明するために,きわめて単純なデッドキーの作り方を説明します.
4696 \end_layout
4697
4698 \begin_layout Standard
4699 仮に,曲折アクセント記号「 ̂」が必要になったものとしましょう.この場合,自身の
4700 \begin_inset Flex Code
4701 status collapsed
4702
4703 \begin_layout Plain Layout
4704 lyxrc
4705 \end_layout
4706
4707 \end_inset
4708
4709 ファイル中で,
4710 \begin_inset Flex MenuItem
4711 status collapsed
4712
4713 \begin_layout Plain Layout
4714 ^
4715 \end_layout
4716
4717 \end_inset
4718
4719 キー(すなわち
4720 \begin_inset Flex MenuItem
4721 status collapsed
4722
4723 \begin_layout Plain Layout
4724 Shift-6
4725 \end_layout
4726
4727 \end_inset
4728
4729 キー)を,\SpecialChar LyX
4730 コマンドの
4731 \begin_inset Flex Code
4732 status collapsed
4733
4734 \begin_layout Plain Layout
4735 accent-circumflex
4736 \end_layout
4737
4738 \end_inset
4739
4740 に結びつけることができます.すると
4741 \begin_inset Flex MenuItem
4742 status collapsed
4743
4744 \begin_layout Plain Layout
4745 ^
4746 \end_layout
4747
4748 \end_inset
4749
4750 キーの後に文字を打ったときはいつでも,この文字上に曲折アクセントが付けられるようになります.たとえば「
4751 \begin_inset Flex MenuItem
4752 status collapsed
4753
4754 \begin_layout Plain Layout
4755 ^e
4756 \end_layout
4757
4758 \end_inset
4759
4760 」という打鍵順は「ê」という文字を生成します.しかしながら,もし「
4761 \begin_inset Flex MenuItem
4762 status collapsed
4763
4764 \begin_layout Plain Layout
4765 ^t
4766 \end_layout
4767
4768 \end_inset
4769
4770 」と打鍵したならば,「
4771 \begin_inset Flex MenuItem
4772 status collapsed
4773
4774 \begin_layout Plain Layout
4775 t
4776 \end_layout
4777
4778 \end_inset
4779
4780 」は曲折アクセントをとることは決してないために,\SpecialChar LyX
4781 はビープを鳴らして文句を付けます.デッドキーの後に
4782 \begin_inset Flex MenuItem
4783 status collapsed
4784
4785 \begin_layout Plain Layout
4786 スペース
4787 \end_layout
4788
4789 \end_inset
4790
4791 を打つと,アクセントだけが生成されます.この最後の点に注意してください.あるキーをデッドキーに割り当てる場合には,このキー上の文字を別のキーに割り当て直す必要が
4792 あります.たとえば,
4793 \begin_inset Flex MenuItem
4794 status collapsed
4795
4796 \begin_layout Plain Layout
4797 ,キー
4798 \end_layout
4799
4800 \end_inset
4801
4802 をセディーユに割り当てるのはよくありません.コンマを入力しようとすると必ずセディーユが出てくるようになるためです.
4803 \end_layout
4804
4805 \begin_layout Standard
4806 デッドキーを割り当てるのによく用いられる方法は,
4807 \begin_inset Flex MenuItem
4808 status collapsed
4809
4810 \begin_layout Plain Layout
4811 Meta-
4812 \end_layout
4813
4814 \end_inset
4815
4816
4817 \begin_inset Flex MenuItem
4818 status collapsed
4819
4820 \begin_layout Plain Layout
4821 Ctrl-
4822 \end_layout
4823
4824 \end_inset
4825
4826
4827 \begin_inset Flex MenuItem
4828 status collapsed
4829
4830 \begin_layout Plain Layout
4831 Shift-
4832 \end_layout
4833
4834 \end_inset
4835
4836 キーを,「
4837 \begin_inset Flex MenuItem
4838 status collapsed
4839
4840 \begin_layout Plain Layout
4841 ~
4842 \end_layout
4843
4844 \end_inset
4845
4846 」・「
4847 \begin_inset Flex MenuItem
4848 status collapsed
4849
4850 \begin_layout Plain Layout
4851 ,
4852 \end_layout
4853
4854 \end_inset
4855
4856 」・「
4857 \begin_inset Flex MenuItem
4858 status collapsed
4859
4860 \begin_layout Plain Layout
4861 ^
4862 \end_layout
4863
4864 \end_inset
4865
4866 」のようなアクセントと一緒に用いる方法です.また,
4867 \begin_inset Flex Code
4868 status collapsed
4869
4870 \begin_layout Plain Layout
4871 xmodmap
4872 \end_layout
4873
4874 \end_inset
4875
4876
4877 \begin_inset Flex Code
4878 status collapsed
4879
4880 \begin_layout Plain Layout
4881 xkeycaps
4882 \end_layout
4883
4884 \end_inset
4885
4886 を使って,特別な
4887 \begin_inset Flex Code
4888 status collapsed
4889
4890 \begin_layout Plain Layout
4891 Mode_Switch
4892 \end_layout
4893
4894 \end_inset
4895
4896 キーを設定する方法もあります.
4897 \begin_inset Flex Code
4898 status collapsed
4899
4900 \begin_layout Plain Layout
4901 Mode_Switch
4902 \end_layout
4903
4904 \end_inset
4905
4906 キーは,ちょうど
4907 \begin_inset Flex MenuItem
4908 status collapsed
4909
4910 \begin_layout Plain Layout
4911 Shift
4912 \end_layout
4913
4914 \end_inset
4915
4916 キーのように機能するので,アクセント文字を割り当てるのに使用できます.また,特定のキーを
4917 \begin_inset Flex Code
4918 status collapsed
4919
4920 \begin_layout Plain Layout
4921 usldead_cedilla
4922 \end_layout
4923
4924 \end_inset
4925
4926 などに割り当てることで,これらのキーをデッドキーに仕立て,このシンボリックキーを対応する\SpecialChar LyX
4927 コマンドに割り当てることもできます
4928 \begin_inset Foot
4929 status collapsed
4930
4931 \begin_layout Plain Layout
4932
4933 \noun on
4934 John Weiss
4935 \noun default
4936 からの註:これはまさに私が,自分の
4937 \begin_inset Flex Code
4938 status collapsed
4939
4940 \begin_layout Plain Layout
4941 ~/.lyx/lyxrc
4942 \end_layout
4943
4944 \end_inset
4945
4946
4947 \begin_inset Flex Code
4948 status collapsed
4949
4950 \begin_layout Plain Layout
4951 ~/.xmodmap
4952 \end_layout
4953
4954 \end_inset
4955
4956 で行っていることです.私は,
4957 \begin_inset Flex MenuItem
4958 status collapsed
4959
4960 \begin_layout Plain Layout
4961 Scroll
4962 \begin_inset space ~
4963 \end_inset
4964
4965 Lock
4966 \end_layout
4967
4968 \end_inset
4969
4970 キーを
4971 \begin_inset Flex Code
4972 status collapsed
4973
4974 \begin_layout Plain Layout
4975 Mode_Shift
4976 \end_layout
4977
4978 \end_inset
4979
4980 に仕立てて,多数の
4981 \begin_inset Flex Code
4982 status collapsed
4983
4984 \begin_layout Plain Layout
4985 usldead_*
4986 \end_layout
4987
4988 \end_inset
4989
4990 シンボリックキーを
4991 \begin_inset Flex MenuItem
4992 status collapsed
4993
4994 \begin_layout Plain Layout
4995 Scroll
4996 \begin_inset space ~
4997 \end_inset
4998
4999 Lock-^
5000 \end_layout
5001
5002 \end_inset
5003
5004
5005 \begin_inset Flex MenuItem
5006 status collapsed
5007
5008 \begin_layout Plain Layout
5009 Scroll
5010 \begin_inset space ~
5011 \end_inset
5012
5013 Lock-~
5014 \end_layout
5015
5016 \end_inset
5017
5018 などに割り当てています.私はこの方法でアクセント文字を入力しています.
5019 \end_layout
5020
5021 \end_inset
5022
5023 .この
5024 \begin_inset Flex Code
5025 status collapsed
5026
5027 \begin_layout Plain Layout
5028 Mode_Switch
5029 \end_layout
5030
5031 \end_inset
5032
5033 キーには,
5034 \begin_inset Flex MenuItem
5035 status collapsed
5036
5037 \begin_layout Plain Layout
5038 Ctrl-
5039 \end_layout
5040
5041 \end_inset
5042
5043 キーの片方や使われていないファンクションキーなど,ほぼ何でも指定することができます.アクセントを生み出す\SpecialChar LyX
5044 コマンドについては,
5045 \emph on
5046 \SpecialChar LyX
5047 関数説明書
5048 \emph default
5049
5050 \begin_inset Flex Code
5051 status collapsed
5052
5053 \begin_layout Plain Layout
5054 LFUN_ACCENT_*
5055 \end_layout
5056
5057 \end_inset
5058
5059 の項をご覧ください.ここには完備した一覧があります.
5060 \end_layout
5061
5062 \begin_layout Subsection
5063 自分の言語設定を保存する
5064 \end_layout
5065
5066 \begin_layout Standard
5067 \begin_inset Flex MenuItem
5068 status collapsed
5069
5070 \begin_layout Plain Layout
5071 ツール\SpecialChar menuseparator
5072 設定
5073 \end_layout
5074
5075 \end_inset
5076
5077 ダイアログを使えば,\SpecialChar LyX
5078 を起動したときに,ご希望の言語環境に自動的に設定されるように,設定を編集することができます.
5079 \end_layout
5080
5081 \begin_layout Chapter
5082 文書クラス・レイアウト・ひな型の新規導入
5083 \begin_inset CommandInset label
5084 LatexCommand label
5085 name "cha:新規文書を導入"
5086
5087 \end_inset
5088
5089
5090 \begin_inset Argument 1
5091 status collapsed
5092
5093 \begin_layout Plain Layout
5094 文書クラスを新規に導入する
5095 \end_layout
5096
5097 \end_inset
5098
5099
5100 \end_layout
5101
5102 \begin_layout Standard
5103 この章では,新しく\SpecialChar LyX
5104 のレイアウトファイルやひな型ファイルを作成して,導入する手順を説明すると共に,新規に\SpecialChar LaTeX
5105 文書クラス(ドキュメントクラス)を正しく導入する方法を復習
5106 します.
5107 \end_layout
5108
5109 \begin_layout Standard
5110 まず,\SpecialChar LyX
5111 と\SpecialChar LaTeX
5112 の間の関係をどのように考えるべきか,若干の註釈を加えておくことにしましょう.理解していただきたいことは,ある意味において,\SpecialChar LyX
5113 は,La\SpecialChar TeX
5114 について何も知らないと
5115 云うことです.実際のところ,\SpecialChar LyX
5116 の観点からは,\SpecialChar LaTeX
5117 は,\SpecialChar LyX
5118 が出力を生成することができる,複数の「バックエンド形式」のうちの一つに過ぎないということです.同種のバックエンド形
5119 式には,DocBook・平文・XHTMLがあります.もちろん\SpecialChar LaTeX
5120 は,とくに重要な形式ですが,\SpecialChar LyX
5121 がLa\SpecialChar TeX
5122 について持っている情報のほとんどは,実はプログラム本体には含まれて
5123 いないのです
5124 \begin_inset Foot
5125 status collapsed
5126
5127 \begin_layout Plain Layout
5128 過度に複雑なため,\SpecialChar LyX
5129 に「ハードコード化」されているコマンドもありますが,一般的に開発者は,これを「わるいこと」とみなしています.
5130 \end_layout
5131
5132 \end_inset
5133
5134 .このような情報は,
5135 \begin_inset Flex Code
5136 status collapsed
5137
5138 \begin_layout Plain Layout
5139 article.cls
5140 \end_layout
5141
5142 \end_inset
5143
5144 のような標準クラスでも,「レイアウトファイル」に保管されています.同様に,\SpecialChar LyX
5145 は,DocBookやXHTMLについてもほとんど知りません.\SpecialChar LyX
5146 が知っていることは,レイア
5147 ウトファイルの中にあります.
5148 \end_layout
5149
5150 \begin_layout Standard
5151 文書クラス用のレイアウトファイルは,\SpecialChar LyX
5152 構成体—対応する様式や何らかの差込枠などを有する段落群—と,それに対応する\SpecialChar LaTeX
5153 構成体・DocBook構成体・XHTML構成体との
5154 間の翻訳指南書のようなものです.たとえば,\SpecialChar LyX
5155
5156 \begin_inset Flex Code
5157 status collapsed
5158
5159 \begin_layout Plain Layout
5160 article.cls
5161 \end_layout
5162
5163 \end_inset
5164
5165 について知っていることのほとんど総ては,
5166 \begin_inset Flex Code
5167 status collapsed
5168
5169 \begin_layout Plain Layout
5170 article.layout
5171 \end_layout
5172
5173 \end_inset
5174
5175 と,それが呼び出す他の様々なファイルに書き込まれています.このことから,レイアウトファイルを書こうとする人は,既存のファイルを研究することを勧めます.とっかかり
5176 としては,
5177 \begin_inset Flex Code
5178 status collapsed
5179
5180 \begin_layout Plain Layout
5181 article.layout
5182 \end_layout
5183
5184 \end_inset
5185
5186
5187 \begin_inset Flex Code
5188 status collapsed
5189
5190 \begin_layout Plain Layout
5191 book.layout
5192 \end_layout
5193
5194 \end_inset
5195
5196 や,文書クラス用の他のレイアウトファイルに取り込まれている
5197 \begin_inset Flex Code
5198 status collapsed
5199
5200 \begin_layout Plain Layout
5201 stdsections.inc
5202 \end_layout
5203
5204 \end_inset
5205
5206 から見始めるのがよいでしょう.このファイルは,節などの定義が為されている場所です.
5207 \begin_inset Flex Code
5208 status collapsed
5209
5210 \begin_layout Plain Layout
5211 stdsections.inc
5212 \end_layout
5213
5214 \end_inset
5215
5216 は,節様式や小節様式などとしてマークされている段落を,対応する\SpecialChar LaTeX
5217 ・DocBook・XHTMLのコマンドやタグにどのように翻訳すべきかを\SpecialChar LyX
5218 に知らせるものです.基本的に
5219 \begin_inset Flex Code
5220 status collapsed
5221
5222 \begin_layout Plain Layout
5223 article.layout
5224 \end_layout
5225
5226 \end_inset
5227
5228 ファイルは,これらの
5229 \begin_inset Flex Code
5230 status collapsed
5231
5232 \begin_layout Plain Layout
5233 std*.inc
5234 \end_layout
5235
5236 \end_inset
5237
5238 ファイルを取り込んでいるだけのものです.
5239 \end_layout
5240
5241 \begin_layout Standard
5242 しかしながら,\SpecialChar LyX
5243 –\SpecialChar LaTeX
5244 間の対応を定義するだけが,レイアウトファイルが行うことではありません.レイアウトファイルが行うもう一つの仕事は,\SpecialChar LyX
5245 構成体自身が画面上にどのように表
5246 示されるべきかを定義することです.この2つの仕事は全く独立したものであるので,レイアウトファイルが2つの仕事を行うという事実は,しばしば混乱を引き起こす元となり
5247 ます.ある段落様式を\SpecialChar LaTeX
5248 に翻訳する仕方を\SpecialChar LyX
5249 に指示することは,その表示の仕方を\SpecialChar LyX
5250 に指示するものではありません.逆に,ある段落様式の表示の仕方を\SpecialChar LyX
5251 に指示することは,その段落様
5252 式をどのように\SpecialChar LaTeX
5253 に翻訳するかを\SpecialChar LyX
5254 に指示するものではありません(ましてや\SpecialChar LaTeX
5255 に表示の仕方を指示するものではありません).つまり,一般的に,新しい\SpecialChar LyX
5256 構成体を定義する際には,(
5257 i)
5258 \begin_inset space ~
5259 \end_inset
5260
5261 \SpecialChar LaTeX
5262 にどのように翻訳するかを\SpecialChar LyX
5263 に指示する,(ii)
5264 \begin_inset space ~
5265 \end_inset
5266
5267 それをどのように表示するかを\SpecialChar LyX
5268 に指示する,という,二つのかなり異なることを行わなくてはならないのです.
5269 \end_layout
5270
5271 \begin_layout Standard
5272 もちろん,\SpecialChar LyX
5273 の他のバックエンド形式に関しても,ほぼ同じことが言えますが,XHTMLの場合には若干事情が異なり,\SpecialChar LyX
5274 が,ブラウザ中での段落の表示方法を(CSSの形で)出
5275 力するにあたって,当該段落を\SpecialChar LyX
5276 が画面上に出力する仕方の情報を,ある程度利用することができます.しかし,この場合でも,\SpecialChar LyX
5277 が内部的に行うことと,外部的に行う物事の間の区
5278 別は,依然として有効であり,この2つは独立して制御することができます.詳細に関しては,第
5279 \begin_inset CommandInset ref
5280 LatexCommand ref
5281 reference "sec:XHTML出力のタグ"
5282
5283 \end_inset
5284
5285 節をご覧ください.
5286 \end_layout
5287
5288 \begin_layout Section
5289 新しい\SpecialChar LaTeX
5290 ファイルの導入
5291 \end_layout
5292
5293 \begin_layout Standard
5294 頒布版によっては,\SpecialChar LyX
5295 で使いたい\SpecialChar LaTeX
5296 パッケージやクラスファイルが含まれていないことがあるかもしれません.たとえば,オーバーヘッドプロジェクタ用のスライドを準備するための
5297 パッケージである,Foil\SpecialChar TeX
5298 がないかもしれません.\SpecialChar TeX
5299 Live(2008年以降)やMiK\SpecialChar TeX
5300 のような最近の\SpecialChar LaTeX
5301 頒布版には,これらのパッケージを導入するためのユーザーインタフェ
5302 ースが用意されています.たとえば,MiK\SpecialChar TeX
5303 では,付属の「Package
5304 \begin_inset space ~
5305 \end_inset
5306
5307 Manager」プログラムを起動すると,利用できるパッケージの一覧を得ることができます.どれかを導入するには,その上で右クリックするかツールバーボタンを押してく
5308 ださい.
5309 \end_layout
5310
5311 \begin_layout Standard
5312 お使いの\SpecialChar LaTeX
5313 頒布版がこのような「パッケージマネジャー」を提供していなかったり,使用中の頒布版にそのパッケージが入っていない場合には,以下のステップに従って手動で導入
5314 してください.
5315 \end_layout
5316
5317 \begin_layout Enumerate
5318 \begin_inset CommandInset href
5319 LatexCommand href
5320 name "CTAN"
5321 target "http://www.ctan.org/"
5322 literal "false"
5323
5324 \end_inset
5325
5326 などから欲しいパッケージを入手してください.
5327 \end_layout
5328
5329 \begin_layout Enumerate
5330 パッケージに「
5331 \begin_inset Flex Code
5332 status collapsed
5333
5334 \begin_layout Plain Layout
5335 .ins
5336 \end_layout
5337
5338 \end_inset
5339
5340 」で終わるファイル名が入っている場合(Foil\SpecialChar TeX
5341 がその一例です)は,コンソールを開いて,このファイルのフォルダに移動し,コマンド
5342 \begin_inset Flex Code
5343 status collapsed
5344
5345 \begin_layout Plain Layout
5346 latex foiltex.ins
5347 \end_layout
5348
5349 \end_inset
5350
5351 を実行してください.すると,パッケージが解凍されて,導入すべきすべてのファイルが展開されます.たいていの\SpecialChar LaTeX
5352 パッケージは圧縮されていないので,このステップは飛ばすこ
5353 とができます.
5354 \end_layout
5355
5356 \begin_layout Enumerate
5357 ここで,パッケージを全ユーザーに使用可能にするか自分自身だけで使うかを決定する必要があります.
5358 \end_layout
5359
5360 \begin_deeper
5361 \begin_layout Enumerate
5362 (Linux・OSXなどの)*nix系システムでは,システム上の全ユーザーに新パッケージを利用可能にしたければ,「ローカル」\SpecialChar TeX
5363 ツリーに導入し,そうでなければ「ユー
5364 ザー」\SpecialChar TeX
5365 ツリーに導入してください.これらのツリーが存在しない場合にどこに作成すればよいかは,お使いのシステムに依存します.これを見いだすには,
5366 \begin_inset Flex Code
5367 status collapsed
5368
5369 \begin_layout Plain Layout
5370 texmf.cnf
5371 \end_layout
5372
5373 \end_inset
5374
5375 ファイルを参照してください
5376 \begin_inset Foot
5377 status collapsed
5378
5379 \begin_layout Plain Layout
5380 このファイルは,通常
5381 \family sans
5382 $TEXMF/web2c
5383 \family default
5384 ディレクトリにありますが,コマンド
5385 \begin_inset Flex Code
5386 status collapsed
5387
5388 \begin_layout Plain Layout
5389 kpsewhich texmf.cnf
5390 \end_layout
5391
5392 \end_inset
5393
5394 を実行してその場所を見つけることもできます.
5395 \end_layout
5396
5397 \end_inset
5398
5399 .「ローカル」\SpecialChar TeX
5400 ツリーの場所は,
5401 \begin_inset Flex Code
5402 status collapsed
5403
5404 \begin_layout Plain Layout
5405 TEXMFLOCAL
5406 \end_layout
5407
5408 \end_inset
5409
5410 変数で定義されており,通常は
5411 \begin_inset Flex Code
5412 status collapsed
5413
5414 \begin_layout Plain Layout
5415 /usr/local/share/texmf/
5416 \end_layout
5417
5418 \end_inset
5419
5420
5421 \begin_inset Flex Code
5422 status collapsed
5423
5424 \begin_layout Plain Layout
5425 /usr/local/texlive/XXXX
5426 \end_layout
5427
5428 \end_inset
5429
5430  (XXXXは導入されている\SpecialChar TeX
5431 Live頒布版の年次)のような場所になっています.「ユーザー」\SpecialChar TeX
5432 ツリーの場所は,
5433 \begin_inset Flex Code
5434 status collapsed
5435
5436 \begin_layout Plain Layout
5437 TEXMFHOME
5438 \end_layout
5439
5440 \end_inset
5441
5442 で定義されており,通常は
5443 \begin_inset Flex Code
5444 status collapsed
5445
5446 \begin_layout Plain Layout
5447 $HOME/texmf/
5448 \end_layout
5449
5450 \end_inset
5451
5452
5453 \begin_inset Flex Code
5454 status collapsed
5455
5456 \begin_layout Plain Layout
5457 $HOME/.texliveXXXX
5458 \end_layout
5459
5460 \end_inset
5461
5462 です(もしこれらの変数が事前定義されていなければ,定義しなくてはなりません).「ローカル」ツリーを作成したり変更したりするには,おそらくroot権限が必要ですが
5463 ,「ユーザー」ツリーにはこのような制限はありません.
5464 \begin_inset Newline newline
5465 \end_inset
5466
5467 一般的に,システムをアップグレードした際に,ユーザーが修正されたり上書きされたりということが起こらないので,ユーザーツリーに導入することが推奨されます.こうする
5468 と,自分のホームディレクトリをバックアップする際に,パッケージも他のものと一緒にバックアップされます(もちろん通常行われるようにすればの話です).
5469 \end_layout
5470
5471 \begin_layout Enumerate
5472 Windowで,システム上の全ユーザーに新パッケージを利用可能にしたい場合には,\SpecialChar LaTeX
5473 の導入されているフォルダのサブフォルダ
5474 \begin_inset Flex Code
5475 status collapsed
5476
5477 \begin_layout Plain Layout
5478 ~
5479 \backslash
5480 tex
5481 \backslash
5482 latex
5483 \end_layout
5484
5485 \end_inset
5486
5487 に移動します(MiK\SpecialChar TeX
5488 の既定値では,これは
5489 \begin_inset Flex Code
5490 status collapsed
5491
5492 \begin_layout Plain Layout
5493 ~:Programs
5494 \backslash
5495 MiKTeX
5496 \backslash
5497 tex
5498 \backslash
5499 latex
5500 \end_layout
5501
5502 \end_inset
5503
5504 です)
5505 \begin_inset Foot
5506 status open
5507
5508 \begin_layout Plain Layout
5509 これは,英語版でのみ正しいパスになっています.独語版では
5510 \begin_inset Flex Code
5511 status collapsed
5512
5513 \begin_layout Plain Layout
5514 ~:Programme
5515 \backslash
5516 MiKTeX
5517 \backslash
5518 tex
5519 \backslash
5520 latex
5521 \end_layout
5522
5523 \end_inset
5524
5525 となり,他の言語でも同様です.
5526 \end_layout
5527
5528 \end_inset
5529
5530 .ここに新規フォルダ
5531 \begin_inset Flex Code
5532 status collapsed
5533
5534 \begin_layout Plain Layout
5535 foiltex
5536 \end_layout
5537
5538 \end_inset
5539
5540 を作成し,パッケージの全ファイルをそこにコピーしてください.パッケージを自分だけで使用したい場合や,admin権限を持っていない場合には,ローカル\SpecialChar LaTeX
5541 フォルダで同じ
5542 ことを行います.たとえばMiK\SpecialChar TeX
5543
5544 \begin_inset space ~
5545 \end_inset
5546
5547 2.8では,これはWinXP上では
5548 \begin_inset Newline newline
5549 \end_inset
5550
5551
5552 \begin_inset Flex Code
5553 status collapsed
5554
5555 \begin_layout Plain Layout
5556 ~:
5557 \backslash
5558 Documents and Settings
5559 \backslash
5560 <ユーザー名>
5561 \backslash
5562 Application Data
5563 \backslash
5564
5565 \end_layout
5566
5567 \end_inset
5568
5569
5570 \begin_inset Newline newline
5571 \end_inset
5572
5573
5574 \begin_inset Phantom HPhantom
5575 status open
5576
5577 \begin_layout Plain Layout
5578
5579 \family typewriter
5580 ~:
5581 \backslash
5582
5583 \end_layout
5584
5585 \end_inset
5586
5587
5588 \begin_inset Flex Code
5589 status collapsed
5590
5591 \begin_layout Plain Layout
5592 MiKTeX
5593 \backslash
5594 2.8
5595 \backslash
5596 tex
5597 \backslash
5598 latex
5599 \end_layout
5600
5601 \end_inset
5602
5603
5604 \begin_inset Newline newline
5605 \end_inset
5606
5607 フォルダ,WinVista上では
5608 \begin_inset Newline newline
5609 \end_inset
5610
5611
5612 \begin_inset Flex Code
5613 status collapsed
5614
5615 \begin_layout Plain Layout
5616 ~:
5617 \backslash
5618 Users
5619 \backslash
5620 <ユーザー名>
5621 \backslash
5622 AppData
5623 \backslash
5624 Roaming
5625 \backslash
5626 2.8
5627 \backslash
5628 MiKTeX
5629 \backslash
5630 tex
5631 \backslash
5632 latex
5633 \end_layout
5634
5635 \end_inset
5636
5637
5638 \begin_inset Newline newline
5639 \end_inset
5640
5641 フォルダになります.
5642 \end_layout
5643
5644 \end_deeper
5645 \begin_layout Enumerate
5646 ここまで来れば,あとは\SpecialChar LaTeX
5647 に新しいファイルがあることを告げるだけです.これは使用している\SpecialChar LaTeX
5648 頒布版に依存します.
5649 \end_layout
5650
5651 \begin_deeper
5652 \begin_layout Enumerate
5653 \SpecialChar TeX
5654 Liveの場合には,コンソールから
5655 \begin_inset Flex Code
5656 status collapsed
5657
5658 \begin_layout Plain Layout
5659 texhash
5660 \end_layout
5661
5662 \end_inset
5663
5664 コマンドを実行してください.パッケージを全ユーザー用に導入した場合には,おそらくroot権限で行う必要があります.
5665 \end_layout
5666
5667 \begin_layout Enumerate
5668 MiK\SpecialChar TeX
5669 では,パッケージを全ユーザー用に導入した場合には,「Settings
5670 \begin_inset space ~
5671 \end_inset
5672
5673 (Admin)」を起動し,「Refresh FNDB」と記してあるボタンを押してください.そうでない場合には,「Settings」を起動して同様に行ってください
5674
5675 \end_layout
5676
5677 \end_deeper
5678 \begin_layout Enumerate
5679 最後に,\SpecialChar LyX
5680 に新しいパッケージがあることを告げなくてはなりません.そこで,\SpecialChar LyX
5681 からツール\SpecialChar menuseparator
5682 環境構成メニューを実行して,\SpecialChar LyX
5683 を再起動します.
5684 \end_layout
5685
5686 \begin_layout Standard
5687 これでパッケージが導入されました.この例では,文書クラス
5688 \begin_inset Flex Code
5689 status collapsed
5690
5691 \begin_layout Plain Layout
5692 Slides
5693 \begin_inset space ~
5694 \end_inset
5695
5696 (FoilTeX)
5697 \end_layout
5698
5699 \end_inset
5700
5701
5702 \begin_inset Flex MenuItem
5703 status collapsed
5704
5705 \begin_layout Plain Layout
5706 文書\SpecialChar menuseparator
5707 設定\SpecialChar menuseparator
5708 文書クラス
5709 \end_layout
5710
5711 \end_inset
5712
5713 で利用可能になっているはずです.
5714 \end_layout
5715
5716 \begin_layout Standard
5717 \begin_inset Flex MenuItem
5718 status collapsed
5719
5720 \begin_layout Plain Layout
5721 文書\SpecialChar menuseparator
5722 設定\SpecialChar menuseparator
5723 文書クラス
5724 \end_layout
5725
5726 \end_inset
5727
5728 メニューに列挙されてもいない\SpecialChar LaTeX
5729 文書クラスを使用したい場合には,その「レイアウト」ファイルを作り出さなくてはなりません.これが次節のトピックです.
5730 \end_layout
5731
5732 \begin_layout Section
5733 レイアウトファイルの型
5734 \end_layout
5735
5736 \begin_layout Standard
5737 この節は,レイアウト情報を含む各種\SpecialChar LyX
5738 ファイルについて述べます.これらのファイルは,各種段落様式や文字様式についての記述がされているものであり,\SpecialChar LyX
5739 がそれらをどのように
5740 表示すべきなのか,また,それらをどのように\SpecialChar LaTeX
5741 やDocBook,XHTMLその他の出力形式に翻訳すればよいのかが記されています.
5742 \end_layout
5743
5744 \begin_layout Standard
5745 ここでは,レイアウトファイル作成過程の包括的な解説を試みたいと思いますが,\SpecialChar LaTeX
5746 クラスだけでもサポートする文書の種類があまりにたくさんあるので,読者が出会いうるケース
5747 や問題をすべてカバーすることはとても望めません.\SpecialChar LyX
5748 ユーザーメーリングリストには,自身の経験を人々と分かち合いたいと望む,レイアウトデザインの経験豊かな人々がよく顔
5749 を出していますので,気軽に質問を投げかけてみてください.
5750 \end_layout
5751
5752 \begin_layout Standard
5753 新しいレイアウトを準備するに当たっては,\SpecialChar LyX
5754 と共に頒布されているレイアウトの例を見るのがたいへん役立ちます.他の人々も使用できる\SpecialChar LaTeX
5755 文書クラス用の\SpecialChar LyX
5756 レイアウトを作ったり,
5757 他の人々にも有用なモジュールをお書きになった場合には,
5758 \begin_inset CommandInset href
5759 LatexCommand href
5760 name "LyX Wikiのレイアウトに関する節"
5761 target "https://wiki.lyx.org/Layouts/Layouts"
5762 literal "false"
5763
5764 \end_inset
5765
5766 か,\SpecialChar LyX
5767 開発者メーリングリストに投稿して,\SpecialChar LyX
5768 頒布版に同梱することができるようにしてください
5769 \begin_inset Foot
5770 status collapsed
5771
5772 \begin_layout Plain Layout
5773 \SpecialChar LyX
5774 はGeneral Public Licenseの下でライセンスされていますので,\SpecialChar LyX
5775 に寄贈されたものは総て同じライセンス下に置かれることに注意してください.
5776 \end_layout
5777
5778 \end_inset
5779
5780
5781 \end_layout
5782
5783 \begin_layout Subsection
5784 レイアウトモジュール
5785 \begin_inset CommandInset label
5786 LatexCommand label
5787 name "subsec:レイアウトモジュール"
5788
5789 \end_inset
5790
5791
5792 \end_layout
5793
5794 \begin_layout Standard
5795 ここまで,「レイアウトファイル」についてお話してきました.しかし,レイアウト情報を含むものには,他の種類のファイルもあります.厳密にレイアウトファイルと呼ぶとき
5796 ,それは
5797 \begin_inset Flex Code
5798 status collapsed
5799
5800 \begin_layout Plain Layout
5801 .layout
5802 \end_layout
5803
5804 \end_inset
5805
5806 拡張子を持ち,文書クラスに関する情報を\SpecialChar LyX
5807 に提供するものを指します.しかしながら,\SpecialChar LyX
5808  1.6以降,レイアウト情報は,拡張子が
5809 \begin_inset Flex Code
5810 status collapsed
5811
5812 \begin_layout Plain Layout
5813 .module
5814 \end_layout
5815
5816 \end_inset
5817
5818 のレイアウト
5819 \emph on
5820 モジュール
5821 \emph default
5822 にも含めることができます.レイアウトが\SpecialChar LaTeX
5823 クラスに対応しているように,モジュールは\SpecialChar LaTeX
5824 パッケージに対応するものであり,
5825 \begin_inset Flex Code
5826 status collapsed
5827
5828 \begin_layout Plain Layout
5829 endnotes
5830 \end_layout
5831
5832 \end_inset
5833
5834 モジュールのように,特定のパッケージにサポートを提供するためのモジュールもあります.レイアウトモジュールは,特定の文書レイアウトに特化したものではなく,多くのレ
5835 イアウトで使用できるという意味において,一面,
5836 \begin_inset Flex Code
5837 status collapsed
5838
5839 \begin_layout Plain Layout
5840 stdsections.inc
5841 \end_layout
5842
5843 \end_inset
5844
5845 等のインクルードファイル
5846 \begin_inset Foot
5847 status collapsed
5848
5849 \begin_layout Plain Layout
5850 これらは任意の拡張子をつけることができますが,慣習的に
5851 \begin_inset Flex Code
5852 status collapsed
5853
5854 \begin_layout Plain Layout
5855 .inc
5856 \end_layout
5857
5858 \end_inset
5859
5860 拡張子が用いられます.
5861 \end_layout
5862
5863 \end_inset
5864
5865 のようなものです.相異なる点といえば,
5866 \begin_inset Flex Code
5867 status collapsed
5868
5869 \begin_layout Plain Layout
5870 article.cls
5871 \end_layout
5872
5873 \end_inset
5874
5875 でインクルードファイルを使用するには,そのファイルを編集しなくてはなりませんが,モジュールの場合は,
5876 \begin_inset Flex MenuItem
5877 status collapsed
5878
5879 \begin_layout Plain Layout
5880 文書\SpecialChar menuseparator
5881 設定
5882 \end_layout
5883
5884 \end_inset
5885
5886 ダイアログで選択するだけですみます.
5887 \end_layout
5888
5889 \begin_layout Standard
5890 モジュール作成は,新しく段落様式を一つ加えたり,自由差込枠を加えたりするだけで済むことも多いので,レイアウト編集を学ぶ上でもっとも易しい方法です.しかし原理的に
5891 は,レイアウトファイルに入れることのできるものはすべて入れることができます.
5892 \end_layout
5893
5894 \begin_layout Standard
5895 新しいモジュールを作成し,それを
5896 \begin_inset Flex Code
5897 status collapsed
5898
5899 \begin_layout Plain Layout
5900 layout/
5901 \end_layout
5902
5903 \end_inset
5904
5905 フォルダにコピーした後,モジュールがメニューに現れるようにするためには,\SpecialChar LyX
5906 の環境構成を行って再起動しなくてはなりません.しかしながら,モジュールの修正の場合には,
5907 \begin_inset Flex MenuItem
5908 status collapsed
5909
5910 \begin_layout Plain Layout
5911 文書\SpecialChar menuseparator
5912 設定
5913 \end_layout
5914
5915 \end_inset
5916
5917 を開いてどれかを選択し「OK」を押せば,直ちに反映されます.
5918 \emph on
5919 これを実行する前に,作業中の文書を保存しておくことを強く勧めます
5920 \emph default
5921 .もっと言えば,
5922 \emph on
5923 実際の文書で作業しているときに,同時にモジュールの編集をしようとしないことを強く勧めます
5924 \emph default
5925 .もちろん開発陣は,そのような場合でも\SpecialChar LyX
5926 が安定性を維持するように努力していますが,あなたが作成したモジュール中の文法エラー等によって,奇妙な挙動が引き起こされるこ
5927 とがあるからです.
5928 \end_layout
5929
5930 \begin_layout Subsubsection
5931 ローカルレイアウト
5932 \end_layout
5933
5934 \begin_layout Standard
5935 \SpecialChar LyX
5936 に於けるモジュールは,\SpecialChar LaTeX
5937 に於けるパッケージに当たります.しかしながら,特定の差込枠や文字様式を,ひとつの文書のためだけに作りたいこともあるでしょうから,そのような
5938 場合に,他の文書でも利用できるようなモジュールをわざわざ書くことには,あまり意味がありません.このような場合に必要となるのが,「ローカルレイアウト」なのです.
5939 \end_layout
5940
5941 \begin_layout Standard
5942 これは,
5943 \family sans
5944 文書\SpecialChar menuseparator
5945 設定\SpecialChar menuseparator
5946 ローカルのレイアウト
5947 \family default
5948 にあります.そこにある大きなテキストボックスは,本来ならレイアウトファイルやモジュールに入力すべきものを,入力するためのものです.特定の文書のローカルレイアウト
5949 は,その文書専属のモジュールだと考えることができます.したがって,
5950 \begin_inset Flex Code
5951 status collapsed
5952
5953 \begin_layout Plain Layout
5954 Format
5955 \end_layout
5956
5957 \end_inset
5958
5959 タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,通常は,執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX
5960  2.2では,最新書式は60です)
5961 \end_layout
5962
5963 \begin_layout Standard
5964 \begin_inset Flex Code
5965 status collapsed
5966
5967 \begin_layout Plain Layout
5968 ローカルのレイアウト
5969 \end_layout
5970
5971 \end_inset
5972
5973 面に何かを入力すると,下部にある「検証」ボタンが有効になります.このボタンを押すと,ユーザーの入力したものが,指定された書式に沿って,有効なレイアウト情報になっ
5974 ているかどうかが検証されます.すると,\SpecialChar LyX
5975 がその結果を返しますが,残念ながら,エラーがあった場合にそれが何のエラーであるかは返しません.しかしながら,\SpecialChar LyX
5976 をターミナル(
5977 擬似端末)から起動した場合には,そのエラーがターミナルに返されます.ローカルレイアウトは,正しい書式で入力されないうちは,保存することができません.
5978 \end_layout
5979
5980 \begin_layout Standard
5981 ここで,前節と同じ警告があります.ローカルレイアウトは,作業中の文書上で,特に保存していない文書上ではいじらないでください.それに注意すれば,テスト用文書上でロ
5982 ーカルレイアウトを用いるのは,レイアウトのアイディアを試すのに便利ですし,モジュール開発の第一歩としても便利です.
5983 \end_layout
5984
5985 \begin_layout Subsection
5986 \begin_inset Flex MenuItem
5987 status collapsed
5988
5989 \begin_layout Plain Layout
5990 .sty
5991 \end_layout
5992
5993 \end_inset
5994
5995 ファイル用のレイアウト
5996 \end_layout
5997
5998 \begin_layout Standard
5999 新しく\SpecialChar LaTeX
6000 文書クラスをサポートしようとするとき,\SpecialChar LaTeX2e
6001 クラス(
6002 \begin_inset Flex Code
6003 status collapsed
6004
6005 \begin_layout Plain Layout
6006 .cls
6007 \end_layout
6008
6009 \end_inset
6010
6011 )ファイルが絡む場合と,スタイル(
6012 \begin_inset Flex Code
6013 status collapsed
6014
6015 \begin_layout Plain Layout
6016 .sty
6017 \end_layout
6018
6019 \end_inset
6020
6021 )ファイルが絡む場合の2つの状況があり得ます.スタイルファイルのサポートは,通常は,かなり容易ですが,新しくクラスファイルをサポートすることは,もう少し難しくな
6022 ります.この節では,前者について述べることとし,後者については次節に譲ります.当然のことながら,新しくDocBook DTDをサポートしたい場合にも,同様の所見
6023 が当てはまります.
6024 \end_layout
6025
6026 \begin_layout Standard
6027 この易しい方の場合では,新しい文書クラスは,既にサポートされている文書クラスと共に使うスタイルファイルとして提供されています.例示のために,スタイルファイルは
6028 \begin_inset Flex MenuItem
6029 status collapsed
6030
6031 \begin_layout Plain Layout
6032 myclass.sty
6033 \end_layout
6034
6035 \end_inset
6036
6037 という名称で,標準的なクラスである
6038 \begin_inset Flex MenuItem
6039 status collapsed
6040
6041 \begin_layout Plain Layout
6042 report.cls
6043 \end_layout
6044
6045 \end_inset
6046
6047 と共に用いられるものと仮定しましょう.
6048 \end_layout
6049
6050 \begin_layout Standard
6051 既存の文書クラスのレイアウトファイルを,以下のように,お使いのローカルディレクトリにコピーすることから始めてください
6052 \begin_inset Foot
6053 status collapsed
6054
6055 \begin_layout Plain Layout
6056 もちろん,どのディレクトリがローカルディレクトリとなるかは,プラットフォームに依存します.\SpecialChar LyX
6057 では,起動時に
6058 \begin_inset Flex MenuItem
6059 status collapsed
6060
6061 \begin_layout Plain Layout
6062 -userdir
6063 \end_layout
6064
6065 \end_inset
6066
6067 オプションを指定することによって,ローカルディレクトリを指定することも可能です.
6068 \end_layout
6069
6070 \end_inset
6071
6072
6073 \end_layout
6074
6075 \begin_layout LyX-Code
6076 cp report.layout ~/.lyx/layouts/myclass.layout
6077 \end_layout
6078
6079 \begin_layout Standard
6080 それから,
6081 \begin_inset Flex Code
6082 status collapsed
6083
6084 \begin_layout Plain Layout
6085 myclass.layout
6086 \end_layout
6087
6088 \end_inset
6089
6090 を編集して,
6091 \end_layout
6092
6093 \begin_layout LyX-Code
6094
6095 \backslash
6096 DeclareLaTeXClass{report}
6097 \end_layout
6098
6099 \begin_layout Standard
6100 という行を
6101 \end_layout
6102
6103 \begin_layout LyX-Code
6104
6105 \backslash
6106 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6107 \end_layout
6108
6109 \begin_layout Standard
6110 のように変更してください.それから,ファイル冒頭辺りに
6111 \end_layout
6112
6113 \begin_layout LyX-Code
6114 Preamble 
6115 \begin_inset Newline newline
6116 \end_inset
6117
6118     
6119 \backslash
6120 usepackage{myclass}
6121 \begin_inset Newline newline
6122 \end_inset
6123
6124 EndPreamble
6125 \end_layout
6126
6127 \begin_layout Standard
6128 と書き加えてください.
6129 \end_layout
6130
6131 \begin_layout Standard
6132 \SpecialChar LyX
6133 を起動して
6134 \begin_inset Flex MenuItem
6135 status collapsed
6136
6137 \begin_layout Plain Layout
6138 ツール\SpecialChar menuseparator
6139 環境構成
6140 \end_layout
6141
6142 \end_inset
6143
6144 を選択してください.それから\SpecialChar LyX
6145 を再起動し,新規文書を作成してみてください.すると,
6146 \begin_inset Flex MenuItem
6147 status collapsed
6148
6149 \begin_layout Plain Layout
6150 文書\SpecialChar menuseparator
6151 設定
6152 \end_layout
6153
6154 \end_inset
6155
6156 ダイアログの文書クラスオプションに「
6157 \begin_inset Flex MenuItem
6158 status collapsed
6159
6160 \begin_layout Plain Layout
6161 report (myclass)
6162 \end_layout
6163
6164 \end_inset
6165
6166 」が現れるはずです.新しいクラスにおいて,節区切り用コマンドなどの一部が,基礎となったクラス—この例では
6167 \begin_inset Flex Code
6168 status collapsed
6169
6170 \begin_layout Plain Layout
6171 report
6172 \end_layout
6173
6174 \end_inset
6175
6176 —とは違う挙動をすることはよくありますので,希望に応じて,各節の設定をいじると良いでしょう.各節のレイアウト情報は,
6177 \begin_inset Flex Code
6178 status collapsed
6179
6180 \begin_layout Plain Layout
6181 stdsections.inc
6182 \end_layout
6183
6184 \end_inset
6185
6186 に含まれていますが,このファイルをコピーしたり変更したりする必要はありません.代わりに,自身のレイアウトファイル中,
6187 \begin_inset Flex Code
6188 status collapsed
6189
6190 \begin_layout Plain Layout
6191 stdsections.inc
6192 \end_layout
6193
6194 \end_inset
6195
6196 も取り込む
6197 \begin_inset Flex Code
6198 status collapsed
6199
6200 \begin_layout Plain Layout
6201 Input stdclass.inc
6202 \end_layout
6203
6204 \end_inset
6205
6206 の後に変更を加えるだけです.たとえば,章見だしのフォントをサンセリフ体に変更するには,以下のような行を加えます.
6207 \end_layout
6208
6209 \begin_layout LyX-Code
6210 Style Chapter
6211 \end_layout
6212
6213 \begin_layout LyX-Code
6214     Font
6215 \end_layout
6216
6217 \begin_layout LyX-Code
6218         Family Sans
6219 \end_layout
6220
6221 \begin_layout LyX-Code
6222     EndFont
6223 \end_layout
6224
6225 \begin_layout LyX-Code
6226 End
6227 \end_layout
6228
6229 \begin_layout Standard
6230 これは,既存の章様式宣言を上書き(あるいはこの場合には追加)します.
6231 \end_layout
6232
6233 \begin_layout Standard
6234 新しいパッケージでは,基礎となったクラスには存在しないコマンドや環境を提供することもできます.この場合には,これらをレイアウトファイルに加えます.そのやり方につ
6235 いては,第
6236 \begin_inset CommandInset ref
6237 LatexCommand ref
6238 reference "sec:テキストクラス"
6239
6240 \end_inset
6241
6242 節の情報を参照してください.
6243 \end_layout
6244
6245 \begin_layout Standard
6246 もし
6247 \begin_inset Flex Code
6248 status collapsed
6249
6250 \begin_layout Plain Layout
6251 myclass.sty
6252 \end_layout
6253
6254 \end_inset
6255
6256 が他の文書クラスで使用することができたり,あるいはできない場合でも,基礎となるクラスから読み込むことのできるモジュールを書くのが最も簡単であることがわかるでしょ
6257 う.最も簡単なモジュールの例としては,以下のようなものになります.
6258 \end_layout
6259
6260 \begin_layout LyX-Code
6261 #
6262 \backslash
6263 DeclareLyXModule{My Package}
6264 \end_layout
6265
6266 \begin_layout LyX-Code
6267 #DescriptionBegin
6268 \end_layout
6269
6270 \begin_layout LyX-Code
6271 #Support for mypkg.sty.
6272 \end_layout
6273
6274 \begin_layout LyX-Code
6275 #DescriptionEnd
6276 \begin_inset Newline newline
6277 \end_inset
6278
6279
6280 \end_layout
6281
6282 \begin_layout LyX-Code
6283 Format 60
6284 \begin_inset Newline newline
6285 \end_inset
6286
6287
6288 \end_layout
6289
6290 \begin_layout LyX-Code
6291 Preamble
6292 \begin_inset Newline newline
6293 \end_inset
6294
6295     
6296 \backslash
6297 usepackage{mypkg}
6298 \begin_inset Newline newline
6299 \end_inset
6300
6301 EndPreamble
6302 \end_layout
6303
6304 \begin_layout Standard
6305 もう少し複雑なモジュールでは,既存の構成物の挙動を修正したり,新しい構成物を定義したりすることになるでしょう.この辺りの議論については,第
6306 \begin_inset CommandInset ref
6307 LatexCommand ref
6308 reference "sec:テキストクラス"
6309
6310 \end_inset
6311
6312 節を参照してください.
6313 \end_layout
6314
6315 \begin_layout Subsection
6316 \begin_inset Flex MenuItem
6317 status collapsed
6318
6319 \begin_layout Plain Layout
6320 .cls
6321 \end_layout
6322
6323 \end_inset
6324
6325 ファイル用のレイアウト
6326 \end_layout
6327
6328 \begin_layout Standard
6329 これには2つのケースがありえます.ひとつは,クラスファイル自体が既存の文書クラスに立脚している場合です.たとえば,多くの学位論文用クラスは
6330 \begin_inset Flex MenuItem
6331 status collapsed
6332
6333 \begin_layout Plain Layout
6334 book.cls
6335 \end_layout
6336
6337 \end_inset
6338
6339 に基づいています.お使いのものがどうであるかを見るには,クラスファイル中に
6340 \end_layout
6341
6342 \begin_layout LyX-Code
6343
6344 \backslash
6345 LoadClass{book}
6346 \end_layout
6347
6348 \begin_layout Standard
6349 という行がないかどうか探してください.もしこれがあれば,
6350 \begin_inset Flex Code
6351 status collapsed
6352
6353 \begin_layout Plain Layout
6354 Declare\SpecialChar LaTeX
6355 Class
6356 \end_layout
6357
6358 \end_inset
6359
6360 行は異なりますが,おおよそ前節のように進めることができます.あなたが新しく作るクラスが
6361 \begin_inset Flex Code
6362 status collapsed
6363
6364 \begin_layout Plain Layout
6365 thesis
6366 \end_layout
6367
6368 \end_inset
6369
6370 であり,
6371 \begin_inset Flex Code
6372 status collapsed
6373
6374 \begin_layout Plain Layout
6375 book
6376 \end_layout
6377
6378 \end_inset
6379
6380 クラスに基づいていれば,
6381 \begin_inset Flex Code
6382 status collapsed
6383
6384 \begin_layout Plain Layout
6385 Declare\SpecialChar LaTeX
6386 Class
6387 \end_layout
6388
6389 \end_inset
6390
6391 行は以下のようにします
6392 \begin_inset Foot
6393 status collapsed
6394
6395 \begin_layout Plain Layout
6396 さらに\SpecialChar LyX
6397 は,文書クラス名がレイアウトファイル名と同じだと仮定するので,クラスファイルを
6398 \begin_inset Flex Code
6399 status collapsed
6400
6401 \begin_layout Plain Layout
6402 thesis.layout
6403 \end_layout
6404
6405 \end_inset
6406
6407 という名前で保存するのが最も簡単です. 
6408 \end_layout
6409
6410 \end_inset
6411
6412
6413 \end_layout
6414
6415 \begin_layout LyX-Code
6416
6417 \backslash
6418 DeclareLaTeXClass[thesis,book]{thesis}
6419 \end_layout
6420
6421 \begin_layout Standard
6422 他方,新しいクラスが既存のクラスに基づいていない場合には,おそらくあなた自身のレイアウトをしたためる必要があります.もし可能であれば,類似した\SpecialChar LaTeX
6423 クラスを使用してい
6424 る既存のレイアウトファイルをコピーして,それに修正を加えるようにすることを強くお勧めします.少なくとも,どの項目を考慮すべきかがわかるように,既存のファイルを作
6425 業の開始点としてください.
6426 \end_layout
6427
6428 \begin_layout Subsection
6429 ひな型を作成する
6430 \begin_inset CommandInset label
6431 LatexCommand label
6432 name "sec:ひな型を作成する"
6433
6434 \end_inset
6435
6436
6437 \end_layout
6438
6439 \begin_layout Standard
6440 新しい文書クラス用のレイアウトファイルを書いたならば,そのレイアウト用のひな型も書くことを検討されるかもしれません.ひな型は,内容はダミーですが,レイアウトの使
6441 い方を示す一種のチュートリアルとして動作します.もちろん,イメージを得るために,\SpecialChar LyX
6442 添付のひな型をあれこれ見てみるのもよいでしょう.
6443 \end_layout
6444
6445 \begin_layout Standard
6446 ひな型は,通常の文書と同様,\SpecialChar LyX
6447 を使って作成することができます.唯一違う点は,通常の文書では,フォント構成や用紙寸法を含め,すべてのあり得る設定が為されている点です
6448 .これらの場合,通常ユーザーはひな型が彼の設定値を上書きすることを望みません.この理由から,ひな型の設計者は,
6449 \begin_inset Flex Code
6450 status collapsed
6451
6452 \begin_layout Plain Layout
6453
6454 \backslash
6455 fontscheme
6456 \end_layout
6457
6458 \end_inset
6459
6460
6461 \begin_inset Flex Code
6462 status collapsed
6463
6464 \begin_layout Plain Layout
6465
6466 \backslash
6467 papersize
6468 \end_layout
6469
6470 \end_inset
6471
6472 などの対応するコマンドをひな型\SpecialChar LyX
6473 ファイルから取り除く必要があります.これは,たとえば
6474 \begin_inset Flex Code
6475 status collapsed
6476
6477 \begin_layout Plain Layout
6478 vi
6479 \end_layout
6480
6481 \end_inset
6482
6483
6484 \begin_inset Flex Code
6485 status collapsed
6486
6487 \begin_layout Plain Layout
6488 notepad
6489 \end_layout
6490
6491 \end_inset
6492
6493 のような,どの軽いテキストエディタでも行うことができます.
6494 \end_layout
6495
6496 \begin_layout Standard
6497 編集したひな型を
6498 \begin_inset Flex Code
6499 status collapsed
6500
6501 \begin_layout Plain Layout
6502 UserDir/templates/
6503 \end_layout
6504
6505 \end_inset
6506
6507 に置き,グローバルなひな型ディレクトリ
6508 \begin_inset Flex Code
6509 status collapsed
6510
6511 \begin_layout Plain Layout
6512 LyXDir/templates/
6513 \end_layout
6514
6515 \end_inset
6516
6517 から使用したいものを同じ場所にコピーし,
6518 \begin_inset Flex MenuItem
6519 status collapsed
6520
6521 \begin_layout Plain Layout
6522 ツール\SpecialChar menuseparator
6523 設定\SpecialChar menuseparator
6524 パス
6525 \end_layout
6526
6527 \end_inset
6528
6529 ダイアログのひな型パスを再定義してください.
6530 \end_layout
6531
6532 \begin_layout Standard
6533 ところで,特別な意味を持つひな型
6534 \begin_inset Flex Code
6535 status collapsed
6536
6537 \begin_layout Plain Layout
6538 defaults.lyx
6539 \end_layout
6540
6541 \end_inset
6542
6543 があることに注意してください.このひな型は,
6544 \begin_inset Flex MenuItem
6545 status collapsed
6546
6547 \begin_layout Plain Layout
6548 ファイル\SpecialChar menuseparator
6549 新規
6550 \end_layout
6551
6552 \end_inset
6553
6554 を使って新規文書を作成する際,便利な既定値を提供する目的で必ず読み込まれます.このひな型を\SpecialChar LyX
6555 内部から作成するのにしなくてはならないことは,対応する設定を持つ文書を
6556 開き,
6557 \begin_inset Flex MenuItem
6558 status collapsed
6559
6560 \begin_layout Plain Layout
6561 文書既定値として保存
6562 \end_layout
6563
6564 \end_inset
6565
6566 ボタンを押すことです.
6567 \end_layout
6568
6569 \begin_layout Subsection
6570 旧レイアウトファイルの更新
6571 \end_layout
6572
6573 \begin_layout Standard
6574 レイアウトファイルの書式は,\SpecialChar LyX
6575 のリリース毎に変更されますので,古いレイアウトファイルは変換されなくてはなりません.\SpecialChar LyX
6576 が古い書式のレイアウトファイルを読み込むと,\SpecialChar LyX
6577 は,
6578 自動的に変換ツール
6579 \begin_inset Flex Code
6580 status collapsed
6581
6582 \begin_layout Plain Layout
6583 \SpecialChar LyX
6584 Dir/scripts/layout2layout.py
6585 \end_layout
6586
6587 \end_inset
6588
6589 を呼び出し,それを現在の書式の一時ファイルに変換します.元のファイルは変更を加えられずに措かれます.もしこのレイアウトファイルをよく使うならば,\SpecialChar LyX
6590 がこれを毎回行な
6591 わくて済むように,レイアウトファイルを恒久的に変換しておきたいと思うかもしれません.これを行うには,以下のように変換子を手動で呼び出してください.
6592 \end_layout
6593
6594 \begin_layout Enumerate
6595 ファイル
6596 \begin_inset Flex Code
6597 status collapsed
6598
6599 \begin_layout Plain Layout
6600 myclass.layout
6601 \end_layout
6602
6603 \end_inset
6604
6605
6606 \begin_inset Flex Code
6607 status collapsed
6608
6609 \begin_layout Plain Layout
6610 myclass.old
6611 \end_layout
6612
6613 \end_inset
6614
6615 に改称
6616 \end_layout
6617
6618 \begin_layout Enumerate
6619 以下のコマンドをコール
6620 \begin_inset Newline newline
6621 \end_inset
6622
6623
6624 \begin_inset Flex Code
6625 status collapsed
6626
6627 \begin_layout Plain Layout
6628 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
6629 \end_layout
6630
6631 \end_inset
6632
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 LyXDir
6643 \end_layout
6644
6645 \end_inset
6646
6647 は\SpecialChar LyX
6648 システムディレクトリの名前です.
6649 \end_layout
6650
6651 \begin_layout Standard
6652 手動変換は,インクルードされているファイル内部の変更までは取り扱いませんので,それらのファイルは別に変換されなくてはなりません.
6653 \end_layout
6654
6655 \begin_layout Subsection
6656 \begin_inset CommandInset label
6657 LatexCommand label
6658 name "subsec:引用エンジンファイル"
6659
6660 \end_inset
6661
6662 引用エンジンファイル
6663 \end_layout
6664
6665 \begin_layout Standard
6666 \begin_inset Flex Code
6667 status collapsed
6668
6669 \begin_layout Plain Layout
6670 citeengines/
6671 \end_layout
6672
6673 \end_inset
6674
6675 サブディレクトリ以下に収められている,いわゆる
6676 \begin_inset Flex Code
6677 status collapsed
6678
6679 \begin_layout Plain Layout
6680 *.citeengine
6681 \end_layout
6682
6683 \end_inset
6684
6685 ファイルは,レイアウトファイルの特殊形です.これらの目的は,
6686 \family sans
6687 natbib
6688 \family default
6689
6690 \family sans
6691 jurabib
6692 \family default
6693
6694 \family sans
6695 biblatex
6696 \family default
6697 など,書誌情報を生成する\SpecialChar LaTeX
6698 パッケージの詳細を定義することですが,通常の(追加パッケージのない)Bib\SpecialChar TeX
6699 引用が\SpecialChar LyX
6700 中でどのように取り扱われるかも,これらのファイルの中で定
6701 義されます.
6702 \end_layout
6703
6704 \begin_layout Standard
6705 より具体的には,どのパッケージを\SpecialChar LyX
6706 が読み込む必要があるのか,どの引用コマンドが利用可能であるのか,これらが\SpecialChar LyX
6707 中(作業領域・ダイアログ・コンテクストメニュー)で,さら
6708 にはXHTMLや平文出力中でどのように表示されるのかを定義します.さらに,これらのファイルは,使用できる派生様式(著者-刊行年,数値など)とその子細を特定します
6709 .引用エンジンファイルは,
6710 \family sans
6711 文書\SpecialChar menuseparator
6712 設定\SpecialChar ldots
6713 \SpecialChar menuseparator
6714 書誌情報\SpecialChar menuseparator
6715 様式整形子
6716 \family default
6717 で利用できる選択肢を生成するのにも使用されます.
6718 \end_layout
6719
6720 \begin_layout Standard
6721 引用エンジンファイルは,本質的に通常のレイアウトファイルであり,理論上どのようなレイアウト情報も内包することができますが,通常は
6722 \begin_inset Flex Code
6723 status collapsed
6724
6725 \begin_layout Plain Layout
6726 MaxCiteNames
6727 \end_layout
6728
6729 \end_inset
6730
6731
6732 \begin_inset Flex Code
6733 status collapsed
6734
6735 \begin_layout Plain Layout
6736 CiteFramework
6737 \end_layout
6738
6739 \end_inset
6740
6741
6742 \begin_inset Flex Code
6743 status collapsed
6744
6745 \begin_layout Plain Layout
6746 CiteEngine
6747 \end_layout
6748
6749 \end_inset
6750
6751
6752 \begin_inset Flex Code
6753 status collapsed
6754
6755 \begin_layout Plain Layout
6756 CiteFormat
6757 \end_layout
6758
6759 \end_inset
6760
6761 ブロックのような特定のパラメータをもっぱら含みます.この最後の2つの文法は,ファイル自身に加え,第 
6762 \begin_inset CommandInset ref
6763 LatexCommand ref
6764 reference "subsec:引用エンジンの説明"
6765 plural "false"
6766 caps "false"
6767 noprefix "false"
6768
6769 \end_inset
6770
6771 節と第
6772 \begin_inset CommandInset ref
6773 LatexCommand ref
6774 reference "subsec:引用書式指定"
6775 plural "false"
6776 caps "false"
6777 noprefix "false"
6778
6779 \end_inset
6780
6781 節に述べられています.
6782 \end_layout
6783
6784 \begin_layout Section
6785 \begin_inset CommandInset label
6786 LatexCommand label
6787 name "sec:テキストクラス"
6788
6789 \end_inset
6790
6791 レイアウトファイルの書式
6792 \end_layout
6793
6794 \begin_layout Standard
6795 以下の各節では,いよいよ自分の手を汚してレイアウトファイルを作成したり編集したりする段階になった際,直面することの説明を行います.私たちからのアドバイスとしては
6796 ,ゆっくりと進めるようにして,ちょっと進むごとに保存やテストを行い,心休まる音楽を聴き,好きな大人の飲み物を一二杯口にしながら行うのがいいでしょう.特に行き詰ま
6797 ってしまったときにはそうです.実際にはそんなに難しいことではないのですが,特に一度に多くのことをやろうとすると,選択肢が多くありすぎて圧倒されてしまうのです.さ
6798 て,もう一杯大人向け飲料をどうぞ.適量ね.\SpecialChar LyX
6799 の既存のレイアウトを例や参考に使ったり,既存のレイアウトを自身の目的に合わせて修正したりすると,作業が容易になります.
6800 \end_layout
6801
6802 \begin_layout Standard
6803 この章で述べられているタグは,すべて大文字小文字を区別しません.つまり,
6804 \begin_inset Flex Code
6805 status collapsed
6806
6807 \begin_layout Plain Layout
6808 Style
6809 \end_layout
6810
6811 \end_inset
6812
6813
6814 \begin_inset Flex Code
6815 status collapsed
6816
6817 \begin_layout Plain Layout
6818 style
6819 \end_layout
6820
6821 \end_inset
6822
6823
6824 \begin_inset Flex Code
6825 status collapsed
6826
6827 \begin_layout Plain Layout
6828 StYlE
6829 \end_layout
6830
6831 \end_inset
6832
6833 は同じコマンドとなります.機能名の後にある角括弧は,その機能が取り得る値を示します.テキストクラス設定内で機能が特定されていない場合には,既定値は
6834 \begin_inset Flex Code
6835 status collapsed
6836
6837 \begin_layout Plain Layout
6838
6839 \emph on
6840 強調
6841 \end_layout
6842
6843 \end_inset
6844
6845 で表記されます.引数が「文字列」や「浮動小数点型」などのデータ型をとる場合には,既定値は
6846 \begin_inset Flex Code
6847 status collapsed
6848
6849 \begin_layout Plain Layout
6850 浮動小数点型=
6851 \emph on
6852 既定値
6853 \end_layout
6854
6855 \end_inset
6856
6857 のように表示されます.
6858 \end_layout
6859
6860 \begin_layout Subsection
6861 文書クラス宣言と分類
6862 \end_layout
6863
6864 \begin_layout Standard
6865 レイアウトファイル中の
6866 \begin_inset Flex Code
6867 status collapsed
6868
6869 \begin_layout Plain Layout
6870 #
6871 \end_layout
6872
6873 \end_inset
6874
6875 で始まる行はコメントです.この規則には一つだけ例外があります.すべての
6876 \begin_inset Flex Code
6877 status collapsed
6878
6879 \begin_layout Plain Layout
6880 *.layout
6881 \end_layout
6882
6883 \end_inset
6884
6885 ファイルは,以下のような行で始めなくてはならないのです.
6886 \end_layout
6887
6888 \begin_layout LyX-Code
6889
6890 \size small
6891 #% Do not delete the line below; configure depends on this
6892 \end_layout
6893
6894 \begin_layout LyX-Code
6895
6896 \size small
6897 #  
6898 \backslash
6899 DeclareLaTeXClass{Article (Standard Class)}
6900 \end_layout
6901
6902 \begin_layout LyX-Code
6903
6904 \size small
6905 #  
6906 \backslash
6907 DeclareCategory{Articles}
6908 \end_layout
6909
6910 \begin_layout Standard
6911 2行目と3行目は,\SpecialChar LyX
6912 が環境構成を行う際に用いられます.このレイアウトファイルは,\SpecialChar LaTeX
6913 スクリプト
6914 \begin_inset Flex Code
6915 status collapsed
6916
6917 \begin_layout Plain Layout
6918 chkconfig.ltx
6919 \end_layout
6920
6921 \end_inset
6922
6923 が,
6924 \begin_inset Flex Code
6925 status collapsed
6926
6927 \begin_layout Plain Layout
6928 #
6929 \end_layout
6930
6931 \end_inset
6932
6933 を無視する特別なモードで読み込みます.1行目は単なる\SpecialChar LaTeX
6934 コメントですが,2行目にはテキストクラスの宣言が,3行目にはクラスの分類(非必須)が書かれています.これらの
6935 行が
6936 \begin_inset Flex Code
6937 status collapsed
6938
6939 \begin_layout Plain Layout
6940 article.layout
6941 \end_layout
6942
6943 \end_inset
6944
6945 と名付けられたファイルにあると,
6946 \begin_inset Flex Code
6947 status collapsed
6948
6949 \begin_layout Plain Layout
6950 article
6951 \end_layout
6952
6953 \end_inset
6954
6955 (レイアウトファイル名)という名称のテキストクラスを定義し,\SpecialChar LaTeX
6956 文書クラス
6957 \begin_inset Flex Code
6958 status collapsed
6959
6960 \begin_layout Plain Layout
6961 article.cls
6962 \end_layout
6963
6964 \end_inset
6965
6966 を使用するようになります(既定ではレイアウトと同じ名称のものを使用します).上記に現れる「Article (Standard Class)」という文字列は,
6967 \begin_inset Flex MenuItem
6968 status collapsed
6969
6970 \begin_layout Plain Layout
6971 文書\SpecialChar menuseparator
6972 設定
6973 \end_layout
6974
6975 \end_inset
6976
6977 ダイアログのテキストクラスの説明に使用されます.分類(例中の「Articles」)は,
6978 \begin_inset Flex MenuItem
6979 status collapsed
6980
6981 \begin_layout Plain Layout
6982 文書\SpecialChar menuseparator
6983 設定
6984 \end_layout
6985
6986 \end_inset
6987
6988 ダイアログで使用され,文書クラスはこの分類によってグループ化されます(分類は通常ジャンルを表し,典型的なものには,「Articles」「Books」「Repor
6989 ts」「Letters」「Presentations」「Curricula Vitae」等があります).分類を宣言しない場合には,このクラスは「Uncatego
6990 rized」グループに属することになります.
6991 \end_layout
6992
6993 \begin_layout Standard
6994 節見出し表示に変更を加えた,
6995 \begin_inset Flex Code
6996 status collapsed
6997
6998 \begin_layout Plain Layout
6999 article.cls
7000 \end_layout
7001
7002 \end_inset
7003
7004 文書クラスを使用するテキストクラスを自分で書いたものとしましょう.これを
7005 \begin_inset Flex Code
7006 status collapsed
7007
7008 \begin_layout Plain Layout
7009 myarticle.layout
7010 \end_layout
7011
7012 \end_inset
7013
7014 というファイルに置いたとすると,このファイルのヘッダは以下のようになります.
7015 \end_layout
7016
7017 \begin_layout LyX-Code
7018
7019 \size small
7020 #% Do not delete the line below; configure depends on this 
7021 \end_layout
7022
7023 \begin_layout LyX-Code
7024
7025 \size small
7026 #  
7027 \backslash
7028 DeclareLaTeXClass[article]{article (with My Own Headings)}
7029 \end_layout
7030
7031 \begin_layout LyX-Code
7032
7033 \size small
7034 #  
7035 \backslash
7036 DeclareCategory{Articles}
7037 \end_layout
7038
7039 \begin_layout Standard
7040 これは,\SpecialChar LaTeX
7041 文書クラス
7042 \begin_inset Flex Code
7043 status collapsed
7044
7045 \begin_layout Plain Layout
7046 article.cls
7047 \end_layout
7048
7049 \end_inset
7050
7051 に関連づけられ,「Article (with My Own Headings)」と表示される,
7052 \begin_inset Flex Code
7053 status collapsed
7054
7055 \begin_layout Plain Layout
7056 myarticle
7057 \end_layout
7058
7059 \end_inset
7060
7061 テキストクラスを宣言するものです.もしこのテキストクラスが複数のパッケージに依存するならば,以下のように宣言すると良いでしょう.
7062 \end_layout
7063
7064 \begin_layout LyX-Code
7065
7066 \size small
7067 #% Do not delete the line below; configure depends on this 
7068 \end_layout
7069
7070 \begin_layout LyX-Code
7071
7072 \size small
7073 #  
7074 \backslash
7075 DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)}
7076 \end_layout
7077
7078 \begin_layout LyX-Code
7079
7080 \size small
7081 #  
7082 \backslash
7083 DeclareCategory{Articles}
7084 \end_layout
7085
7086 \begin_layout Standard
7087 これは,このテキストクラスが
7088 \begin_inset Flex Code
7089 status collapsed
7090
7091 \begin_layout Plain Layout
7092 foo.sty
7093 \end_layout
7094
7095 \end_inset
7096
7097 パッケージを使用することを示しています.最後に,DocBookコード向けのクラスを宣言することもできることを見ます.典型的な宣言は以下のようになります.
7098 \end_layout
7099
7100 \begin_layout LyX-Code
7101
7102 \size small
7103 #% Do not delete the line below; configure depends on this 
7104 \end_layout
7105
7106 \begin_layout LyX-Code
7107
7108 \size small
7109
7110 \backslash
7111 DeclareDocBookClass[article]{SGML (DocBook article)}
7112 \end_layout
7113
7114 \begin_layout LyX-Code
7115
7116 \size small
7117 #  
7118 \backslash
7119 DeclareCategory{Articles}
7120 \end_layout
7121
7122 \begin_layout Standard
7123 これらの宣言には,文書クラス名を宣言する非必須パラメータ(ただしリストではない)を与えることができることに注意してください.
7124 \end_layout
7125
7126 \begin_layout Standard
7127 できる限り明示的に要約すると,レイアウト宣言は以下の形をとります.
7128 \end_layout
7129
7130 \begin_layout LyX-Code
7131
7132 \size small
7133 #  
7134 \backslash
7135 DeclareLaTeXClass[クラス,パッケージ名.sty]{レイアウトの説明}
7136 \end_layout
7137
7138 \begin_layout LyX-Code
7139
7140 \size small
7141 #  
7142 \backslash
7143 DeclareCategory{分類}
7144 \end_layout
7145
7146 \begin_layout Standard
7147 ここで「クラス」は,\SpecialChar LaTeX
7148 クラスファイル名とレイアウトファイル名が異なるときのみ,指定する必要があります.クラスファイル名が指定されなければ,\SpecialChar LyX
7149 は単純に,クラスファイル
7150 名がレイアウトファイル名と同じであると仮定します.
7151 \end_layout
7152
7153 \begin_layout Standard
7154 テキストクラスがあなたの嗜好に合うように修正できたならば,他にしなくてはならないことは,それを
7155 \begin_inset Flex Code
7156 status collapsed
7157
7158 \begin_layout Plain Layout
7159 LyXDir/layouts/
7160 \end_layout
7161
7162 \end_inset
7163
7164
7165 \begin_inset Flex Code
7166 status collapsed
7167
7168 \begin_layout Plain Layout
7169 UserDir/layouts
7170 \end_layout
7171
7172 \end_inset
7173
7174 にコピーし,
7175 \begin_inset Flex MenuItem
7176 status collapsed
7177
7178 \begin_layout Plain Layout
7179 ツール\SpecialChar menuseparator
7180 環境構成
7181 \end_layout
7182
7183 \end_inset
7184
7185 を実行し,\SpecialChar LyX
7186 を終了して再起動するだけです.そうすれば,この新しいテキストクラスが,他のテキストクラスと同様に使用できるようになります.
7187 \end_layout
7188
7189 \begin_layout Standard
7190 レイアウトファイルが導入されたならば,これを編集して,環境構成したり\SpecialChar LyX
7191 を再起動したりすることなく,その変更を確認することができます
7192 \begin_inset Foot
7193 status collapsed
7194
7195 \begin_layout Plain Layout
7196 第1.6版よりも前の\SpecialChar LyX
7197 では,これを行うことはできませんでした.その結果,レイアウトファイルに加えた変更を反映させるには,その度に\SpecialChar LyX
7198 を再起動しなくてはならなかったので,
7199 レイアウトファイルを編集する作業は,たいへん時間を浪費する作業だったのです.
7200 \end_layout
7201
7202 \end_inset
7203
7204 .\SpecialChar LyX
7205 関数
7206 \begin_inset Flex MenuItem
7207 status collapsed
7208
7209 \begin_layout Plain Layout
7210 layout-reload
7211 \end_layout
7212
7213 \end_inset
7214
7215 を使用すれば,現在使っているレイアウトの再読み込みを強制することができるのです.この関数への既定のキー割り当てはありません—もちろん自分でどれかのキーに割り当て
7216 ることもできますが—.しかし,通常は,この関数を使用する場合は,これをミニバッファに入力します.
7217 \end_layout
7218
7219 \begin_layout Standard
7220
7221 \emph on
7222 注意
7223 \emph default
7224
7225 \begin_inset Flex MenuItem
7226 status collapsed
7227
7228 \begin_layout Plain Layout
7229 layout-reload
7230 \end_layout
7231
7232 \end_inset
7233
7234 はかなり「高度な機能」です.この機能を利用する前に,作業中の文書を保存しておくことを
7235 \emph on
7236 強く
7237 \emph default
7238 勧めます.もっと言えば,大事な文書の作業をしているときに,同時にレイアウト情報の編集をしようとしないことを
7239 \emph on
7240 強く
7241 \emph default
7242 勧めます.テスト用文書を使用してください.レイアウトファイル中の文法エラー等が奇妙な挙動を引き起こす可能性があります.特に,そのようなエラーが起こると,\SpecialChar LyX
7243 は現在の
7244 レイアウトが無効であるものと判断して,別のレイアウトに切り替えようとする可能性があります
7245 \begin_inset Foot
7246 status collapsed
7247
7248 \begin_layout Plain Layout
7249 非常に悪質な文法エラーの場合には,\SpecialChar LyX
7250 が終了してしまうことさえあります.これは,ある種のエラーでは,\SpecialChar LyX
7251 がレイアウト情報を全く読めなくなる可能性があるからです.ご注意く
7252 ださい.
7253 \end_layout
7254
7255 \end_inset
7256
7257 .\SpecialChar LyX
7258 開発陣は,このような状況下でも安定性を保つよう努力していますが,後悔よりも安心の方が良いでしょう
7259 \begin_inset Foot
7260 status collapsed
7261
7262 \begin_layout Plain Layout
7263 重ねての助言ですが,つねにバックアップを取ってください.それから,お母さんのお片づけに注意.
7264 \end_layout
7265
7266 \end_inset
7267
7268
7269 \end_layout
7270
7271 \begin_layout Subsection
7272 モジュール宣言
7273 \end_layout
7274
7275 \begin_layout Standard
7276 モジュールは,以下のような行で始まらなくてはなりません.
7277 \end_layout
7278
7279 \begin_layout LyX-Code
7280 #
7281 \backslash
7282 DeclareLyXModule[endnotes.sty]{Endnotes} 
7283 \end_layout
7284
7285 \begin_layout Standard
7286 波括弧内に入っている必須引数はモジュール名で,これは
7287 \begin_inset Flex MenuItem
7288 status collapsed
7289
7290 \begin_layout Plain Layout
7291 文書\SpecialChar menuseparator
7292 設定
7293 \end_layout
7294
7295 \end_inset
7296
7297 内に表示されます.角括弧内の引数は非必須です.これは,モジュールが依存する\SpecialChar LaTeX
7298 パッケージをすべて宣言します.また,非必須引数として,
7299 \begin_inset Flex Code
7300 status collapsed
7301
7302 \begin_layout Plain Layout
7303 変換元->変換先
7304 \end_layout
7305
7306 \end_inset
7307
7308 の形を使用することができます.これは,
7309 \begin_inset Flex Code
7310 status collapsed
7311
7312 \begin_layout Plain Layout
7313 変換元
7314 \end_layout
7315
7316 \end_inset
7317
7318 形式から
7319 \begin_inset Flex Code
7320 status collapsed
7321
7322 \begin_layout Plain Layout
7323 変換先
7324 \end_layout
7325
7326 \end_inset
7327
7328 形式への変換鎖が存在するときのみ,このモジュールを使用できることを宣言するものです.
7329 \end_layout
7330
7331 \begin_layout Standard
7332 それから,以下のようなモジュール宣言を行います
7333 \begin_inset Foot
7334 status collapsed
7335
7336 \begin_layout Plain Layout
7337 モジュールを\SpecialChar LyX
7338 に公開する場合には英語が望ましいです.この説明は翻訳メッセージ一覧に現れるようになるので,次回のインタフェースの更新時に翻訳されることになります.
7339 \end_layout
7340
7341 \end_inset
7342
7343
7344 \end_layout
7345
7346 \begin_layout LyX-Code
7347 #DescriptionBegin 
7348 \end_layout
7349
7350 \begin_layout LyX-Code
7351 #Adds an endnote command, in addition to footnotes.
7352  
7353 \end_layout
7354
7355 \begin_layout LyX-Code
7356 #You will need to add  
7357 \backslash
7358 theendnotes in TeX code where you 
7359 \end_layout
7360
7361 \begin_layout LyX-Code
7362 #want the endnotes to appear.
7363  
7364 \end_layout
7365
7366 \begin_layout LyX-Code
7367 #DescriptionEnd 
7368 \end_layout
7369
7370 \begin_layout LyX-Code
7371 #Requires: somemodule | othermodule
7372 \end_layout
7373
7374 \begin_layout LyX-Code
7375 #Excludes: badmodule
7376 \end_layout
7377
7378 \begin_layout Standard
7379 ここで説明(Description)は,
7380 \begin_inset Flex MenuItem
7381 status collapsed
7382
7383 \begin_layout Plain Layout
7384 文書\SpecialChar menuseparator
7385 設定
7386 \end_layout
7387
7388 \end_inset
7389
7390 でこのモジュールが何をするものか,ユーザに情報を与えるために使用されます.
7391 \begin_inset Flex Code
7392 status collapsed
7393
7394 \begin_layout Plain Layout
7395 Requires
7396 \end_layout
7397
7398 \end_inset
7399
7400 行は,このモジュールが共に使用する必要がある,他のモジュールを特定するのに用いられます.一方,
7401 \begin_inset Flex Code
7402 status collapsed
7403
7404 \begin_layout Plain Layout
7405 Excludes
7406 \end_layout
7407
7408 \end_inset
7409
7410 行は,このモジュールが共に使用してはならない,他のモジュールを特定するのに用いられます.この2つの行は必須ではなく,上記のようにモジュールが複数ある場合には,パ
7411 イプ記号「|」で区切らなくてはなりません.
7412 \begin_inset Flex Code
7413 status collapsed
7414
7415 \begin_layout Plain Layout
7416 Requires
7417 \end_layout
7418
7419 \end_inset
7420
7421 に指定されたモジュールは,選言的に取り扱われることに注意してください.つまり,
7422 \begin_inset Flex Code
7423 status collapsed
7424
7425 \begin_layout Plain Layout
7426 Requires
7427 \end_layout
7428
7429 \end_inset
7430
7431 に指定されたモジュールのうち,
7432 \emph on
7433 少なくとも一つ
7434 \emph default
7435 が使用されていればよいということです.同様に,
7436 \begin_inset Flex Code
7437 status collapsed
7438
7439 \begin_layout Plain Layout
7440 Excludes
7441 \end_layout
7442
7443 \end_inset
7444
7445 に指定されたモジュールは,一つも使用されてはなりません.ここでモジュールは,
7446 \begin_inset Flex Code
7447 status collapsed
7448
7449 \begin_layout Plain Layout
7450 .module
7451 \end_layout
7452
7453 \end_inset
7454
7455 拡張子を除いたファイル名で認識されることに注意してください.つまり
7456 \begin_inset Flex Code
7457 status collapsed
7458
7459 \begin_layout Plain Layout
7460 somemodule
7461 \end_layout
7462
7463 \end_inset
7464
7465 とは,実のところ
7466 \begin_inset Flex Code
7467 status collapsed
7468
7469 \begin_layout Plain Layout
7470 somemodule.module
7471 \end_layout
7472
7473 \end_inset
7474
7475 に他なりません.
7476 \end_layout
7477
7478 \begin_layout Subsection
7479 引用エンジンファイルの宣言
7480 \end_layout
7481
7482 \begin_layout Standard
7483 引用エンジンファイルは,次のような行で始まらなくてはなりません.
7484 \end_layout
7485
7486 \begin_layout LyX-Code
7487 #
7488 \backslash
7489 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
7490 \end_layout
7491
7492 \begin_layout Standard
7493 波括弧内の必須引数はモジュール名で,
7494 \begin_inset Flex Noun
7495 status collapsed
7496
7497 \begin_layout Plain Layout
7498 文書\SpecialChar menuseparator
7499 設定\SpecialChar menuseparator
7500 書誌情報
7501 \end_layout
7502
7503 \end_inset
7504
7505 にそのまま現れます.角括弧内の引数は非必須です.これは,引用エンジンが依存する\SpecialChar LaTeX
7506 パッケージを宣言します.
7507 \end_layout
7508
7509 \begin_layout Standard
7510 引用エンジン宣言には,その後,以下のような行が続きます
7511 \begin_inset Foot
7512 status collapsed
7513
7514 \begin_layout Plain Layout
7515 \SpecialChar LyX
7516 とともに公表するモジュールの場合は,英語で書かれることが望まれます.この説明は,翻訳対象メッセージのリストに含まれますので,次回インタフェースの更新の際に翻訳さ
7517 れることになります.
7518 \end_layout
7519
7520 \end_inset
7521
7522
7523 \end_layout
7524
7525 \begin_layout LyX-Code
7526 # DescriptionBegin
7527 \end_layout
7528
7529 \begin_layout LyX-Code
7530 #   Biblatex supports many author-year and numerical styles.
7531 \end_layout
7532
7533 \begin_layout LyX-Code
7534 #   It is mainly aimed at the Humanities.
7535  It is highly
7536 \end_layout
7537
7538 \begin_layout LyX-Code
7539 #   customizable, fully localized and provides many features
7540 \end_layout
7541
7542 \begin_layout LyX-Code
7543 #   that are not possible with BibTeX.
7544  The use of 'biber' as
7545 \end_layout
7546
7547 \begin_layout LyX-Code
7548 #   bibliography processor is advised.
7549 \end_layout
7550
7551 \begin_layout LyX-Code
7552 # DescriptionEnd
7553 \end_layout
7554
7555 \begin_layout Standard
7556 この説明は,
7557 \begin_inset Flex Noun
7558 status collapsed
7559
7560 \begin_layout Plain Layout
7561 文書\SpecialChar menuseparator
7562 設定\SpecialChar menuseparator
7563 書誌情報
7564 \end_layout
7565
7566 \end_inset
7567
7568 の中で,ユーザーに引用エンジンに関する情報を提供するために使われます.
7569 \end_layout
7570
7571 \begin_layout Subsection
7572 書式番号
7573 \end_layout
7574
7575 \begin_layout Standard
7576 レイアウトファイルやインクルードされたファイル,またはモジュールの最初の非コメント行には,以下のように,かならずファイル形式番号が記されていなくてはなりません.
7577 \end_layout
7578
7579 \begin_layout Description
7580 \begin_inset Flex Code
7581 status collapsed
7582
7583 \begin_layout Plain Layout
7584 Format
7585 \end_layout
7586
7587 \end_inset
7588
7589  [
7590 \begin_inset Flex Code
7591 status collapsed
7592
7593 \begin_layout Plain Layout
7594 整数型
7595 \end_layout
7596
7597 \end_inset
7598
7599 ] このレイアウトファイルの書式
7600 \end_layout
7601
7602 \begin_layout Standard
7603 このタグは\SpecialChar LyX
7604
7605 \begin_inset space ~
7606 \end_inset
7607
7608 1.4.0で導入されました.\SpecialChar LyX
7609
7610 \begin_inset space ~
7611 \end_inset
7612
7613 1.3.x以前のレイアウトファイルには,明示されたファイル形式がないため,書式1と解されます.\SpecialChar LyX
7614 現行版のファイル形式は,書式60です.しかし,\SpecialChar LyX
7615 の各版は,旧版の\SpecialChar LyX
7616 で作成さ
7617 れたファイルを読むことができるように,旧版のレイアウトファイルも読むことができます.しかしながら,以前の書式に変換する方法はありません.
7618 \end_layout
7619
7620 \begin_layout Subsection
7621 \begin_inset CommandInset label
7622 LatexCommand label
7623 name "subsec:汎用テキストクラスパラメータ"
7624
7625 \end_inset
7626
7627 汎用テキストクラスパラメータ
7628 \end_layout
7629
7630 \begin_layout Standard
7631 以下は,文書クラス全体の挙動を決定する汎用パラメータです(これは,
7632 \begin_inset Flex Code
7633 status collapsed
7634
7635 \begin_layout Plain Layout
7636 .layout
7637 \end_layout
7638
7639 \end_inset
7640
7641 ファイルのみに使用されるべきで,モジュールでは使ってはならない,ということを意味するものでは
7642 \emph on
7643 ありません
7644 \emph default
7645 .モジュールには,すべてのレイアウトタグを使用することができます).
7646 \end_layout
7647
7648 \begin_layout Description
7649 \begin_inset Flex Code
7650 status collapsed
7651
7652 \begin_layout Plain Layout
7653 AddToHTMLPreamble
7654 \end_layout
7655
7656 \end_inset
7657
7658  この文書クラスがXHTMLに出力されるときに,
7659 \begin_inset Flex Code
7660 status collapsed
7661
7662 \begin_layout Plain Layout
7663 <head>
7664 \end_layout
7665
7666 \end_inset
7667
7668 ブロックに追加出力される情報です.典型的には,これはCSSスタイル情報を出力するのに用いられますが,
7669 \begin_inset Flex Code
7670 status collapsed
7671
7672 \begin_layout Plain Layout
7673 <head>
7674 \end_layout
7675
7676 \end_inset
7677
7678 に出力するものであれば,何でも使用することができます.「
7679 \begin_inset Flex Code
7680 status collapsed
7681
7682 \begin_layout Plain Layout
7683 EndPreamble
7684 \end_layout
7685
7686 \end_inset
7687
7688 」で閉じる必要があります.
7689 \end_layout
7690
7691 \begin_layout Description
7692 \begin_inset Flex Code
7693 status collapsed
7694
7695 \begin_layout Plain Layout
7696 AddToPreamble
7697 \end_layout
7698
7699 \end_inset
7700
7701  文書プリアンブルに書き加えられる情報です.「
7702 \begin_inset Flex Code
7703 status collapsed
7704
7705 \begin_layout Plain Layout
7706 EndPreamble
7707 \end_layout
7708
7709 \end_inset
7710
7711 」で閉じる必要があります.
7712 \end_layout
7713
7714 \begin_layout Description
7715 \begin_inset Flex Code
7716 status collapsed
7717
7718 \begin_layout Plain Layout
7719 CiteEngine <エンジン>
7720 \end_layout
7721
7722 \end_inset
7723
7724  文献参照を表示する方法を定義します.詳細については,第
7725 \begin_inset CommandInset ref
7726 LatexCommand ref
7727 reference "subsec:引用エンジンの説明"
7728 plural "false"
7729 caps "false"
7730 noprefix "false"
7731
7732 \end_inset
7733
7734 節をご覧ください.「
7735 \begin_inset Flex Code
7736 status collapsed
7737
7738 \begin_layout Plain Layout
7739 End
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 \end_layout
7756
7757 \begin_layout Description
7758 \begin_inset Flex Code
7759 status collapsed
7760
7761 \begin_layout Plain Layout
7762 CiteFormat
7763 \end_layout
7764
7765 \end_inset
7766
7767  書誌情報の表示に使う書式を定義します.詳細については,第
7768 \begin_inset CommandInset ref
7769 LatexCommand ref
7770 reference "subsec:引用書式指定"
7771
7772 \end_inset
7773
7774 節をご覧ください.「
7775 \begin_inset Flex Code
7776 status collapsed
7777
7778 \begin_layout Plain Layout
7779 End
7780 \end_layout
7781
7782 \end_inset
7783
7784 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
7785 \begin_inset CommandInset ref
7786 LatexCommand ref
7787 reference "subsec:引用エンジンファイル"
7788 plural "false"
7789 caps "false"
7790 noprefix "false"
7791
7792 \end_inset
7793
7794 節参照).
7795 \end_layout
7796
7797 \begin_layout Description
7798 \begin_inset Flex Code
7799 status collapsed
7800
7801 \begin_layout Plain Layout
7802 CiteFramework
7803 \end_layout
7804
7805 \end_inset
7806
7807  [
7808 \begin_inset Flex Code
7809 status collapsed
7810
7811 \begin_layout Plain Layout
7812
7813 \emph on
7814 bibtex
7815 \end_layout
7816
7817 \end_inset
7818
7819 ,
7820 \begin_inset Flex Code
7821 status collapsed
7822
7823 \begin_layout Plain Layout
7824 biblatex
7825 \end_layout
7826
7827 \end_inset
7828
7829 ] 書誌情報を生成するのに,
7830 \family sans
7831 Biblatex
7832 \family default
7833 を用いるのかBib\SpecialChar TeX
7834 を用いるのかを特定します.主に引用エンジンファイルで使用されます(第
7835 \begin_inset CommandInset ref
7836 LatexCommand ref
7837 reference "subsec:引用エンジンファイル"
7838 plural "false"
7839 caps "false"
7840 noprefix "false"
7841
7842 \end_inset
7843
7844 節参照).
7845 \end_layout
7846
7847 \begin_layout Description
7848 \begin_inset Flex Code
7849 status collapsed
7850
7851 \begin_layout Plain Layout
7852 ClassOptions
7853 \end_layout
7854
7855 \end_inset
7856
7857  文書クラスがサポートする様々な大域オプションを記します.説明は,第
7858 \begin_inset CommandInset ref
7859 LatexCommand ref
7860 reference "subsec:ClassOptions"
7861
7862 \end_inset
7863
7864 節を参照してください.「
7865 \begin_inset Flex Code
7866 status collapsed
7867
7868 \begin_layout Plain Layout
7869 End
7870 \end_layout
7871
7872 \end_inset
7873
7874 」で閉じる必要があります.
7875 \end_layout
7876
7877 \begin_layout Description
7878 \begin_inset Flex Code
7879 status collapsed
7880
7881 \begin_layout Plain Layout
7882 Columns
7883 \end_layout
7884
7885 \end_inset
7886
7887  [
7888 \begin_inset Flex Code
7889 status collapsed
7890
7891 \begin_layout Plain Layout
7892
7893 \emph on
7894 1
7895 \end_layout
7896
7897 \end_inset
7898
7899 ,
7900 \begin_inset space \thinspace{}
7901 \end_inset
7902
7903
7904 \begin_inset Flex Code
7905 status collapsed
7906
7907 \begin_layout Plain Layout
7908 2
7909 \end_layout
7910
7911 \end_inset
7912
7913 ] 文書クラスが既定で1段組か2段組かを指定します.
7914 \begin_inset Flex MenuItem
7915 status collapsed
7916
7917 \begin_layout Plain Layout
7918 文書\SpecialChar menuseparator
7919 設定
7920 \end_layout
7921
7922 \end_inset
7923
7924 ダイアログで変更することができます.
7925 \end_layout
7926
7927 \begin_layout Description
7928 \begin_inset Flex Code
7929 status collapsed
7930
7931 \begin_layout Plain Layout
7932 Counter
7933 \end_layout
7934
7935 \end_inset
7936
7937  [
7938 \begin_inset Flex Code
7939 status collapsed
7940
7941 \begin_layout Plain Layout
7942 文字列
7943 \end_layout
7944
7945 \end_inset
7946
7947 ] この部分はカウンタの特性を定義します.カウンタがまだ存在していなければ,生成されます.もし存在しなければ修正されます.「
7948 \begin_inset Flex Code
7949 status collapsed
7950
7951 \begin_layout Plain Layout
7952 End
7953 \end_layout
7954
7955 \end_inset
7956
7957 」で閉じる必要があります.
7958 \begin_inset Newline newline
7959 \end_inset
7960
7961 カウンタについての詳細は,第
7962 \begin_inset CommandInset ref
7963 LatexCommand ref
7964 reference "subsec:カウンタ"
7965
7966 \end_inset
7967
7968 節を参照してください.
7969 \end_layout
7970
7971 \begin_layout Description
7972 \begin_inset Flex Code
7973 status collapsed
7974
7975 \begin_layout Plain Layout
7976 DefaultFont
7977 \end_layout
7978
7979 \end_inset
7980
7981  文書を表示するのに用いられる既定フォントを設定します.フォントの宣言の仕方については,第
7982 \begin_inset CommandInset ref
7983 LatexCommand ref
7984 reference "subsec:フォント指定"
7985
7986 \end_inset
7987
7988 節を参照してください.「
7989 \begin_inset Flex Code
7990 status collapsed
7991
7992 \begin_layout Plain Layout
7993 EndFont
7994 \end_layout
7995
7996 \end_inset
7997
7998 」で閉じる必要があります.
7999 \end_layout
8000
8001 \begin_layout Description
8002 \begin_inset Flex Code
8003 status collapsed
8004
8005 \begin_layout Plain Layout
8006 DefaultModule
8007 \end_layout
8008
8009 \end_inset
8010
8011  [
8012 \begin_inset Flex Code
8013 status collapsed
8014
8015 \begin_layout Plain Layout
8016 <モジュール>
8017 \end_layout
8018
8019 \end_inset
8020
8021 ] この文書クラスに,既定で取り込むモジュールを指定します.モジュールは,
8022 \begin_inset Flex Code
8023 status collapsed
8024
8025 \begin_layout Plain Layout
8026 .module
8027 \end_layout
8028
8029 \end_inset
8030
8031 拡張子を除いたファイル名で指定します.ユーザはこのモジュールを除外することができますが,当初は有効の状態になっています(これは新しいファイルが作成されたときや,
8032 既存の文書にこの文書クラスが選択したときのみ該当します).
8033 \end_layout
8034
8035 \begin_layout Description
8036 \begin_inset Flex Code
8037 status collapsed
8038
8039 \begin_layout Plain Layout
8040 DefaultStyle
8041 \end_layout
8042
8043 \end_inset
8044
8045  [
8046 \begin_inset Flex Code
8047 status collapsed
8048
8049 \begin_layout Plain Layout
8050 <様式>
8051 \end_layout
8052
8053 \end_inset
8054
8055 ]
8056 \lang english
8057  
8058 \lang japanese
8059 これは新規段落に割り当てられる様式であり,通常は
8060 \begin_inset Flex MenuItem
8061 status collapsed
8062
8063 \begin_layout Plain Layout
8064 標準
8065 \end_layout
8066
8067 \end_inset
8068
8069 です.もしこれを指定しなければ,最初に定義される様式がこれに割り当てられるようにはなっていますが,このディレクティブを使用することが推奨されます.
8070 \end_layout
8071
8072 \begin_layout Description
8073 \begin_inset Flex Code
8074 status collapsed
8075
8076 \begin_layout Plain Layout
8077 ExcludesModule
8078 \end_layout
8079
8080 \end_inset
8081
8082  [
8083 \begin_inset Flex Code
8084 status collapsed
8085
8086 \begin_layout Plain Layout
8087 <モジュール>
8088 \end_layout
8089
8090 \end_inset
8091
8092 ] このタグは,指定されたモジュール—
8093 \begin_inset Flex Code
8094 status collapsed
8095
8096 \begin_layout Plain Layout
8097 .module
8098 \end_layout
8099
8100 \end_inset
8101
8102 拡張子を除いたファイル名で指定します—が,この文書クラスでは使用できないように設定します.これはたとえば,特定の学術誌用レイアウトファイルの中で,定理番号を節毎
8103 に振る
8104 \begin_inset Flex Code
8105 status collapsed
8106
8107 \begin_layout Plain Layout
8108 theorems-sec
8109 \end_layout
8110
8111 \end_inset
8112
8113 モジュールが使用されるのを防ぐために用いたりすることができます.このタグは,モジュール内で
8114 \emph on
8115 使用してはいけません
8116 \emph default
8117 .モジュールは,他のモジュールを排除する独自の枠組みがあります(第
8118 \begin_inset CommandInset ref
8119 LatexCommand ref
8120 reference "subsec:レイアウトモジュール"
8121
8122 \end_inset
8123
8124 節参照).
8125 \end_layout
8126
8127 \begin_layout Description
8128 \begin_inset Flex Code
8129 status collapsed
8130
8131 \begin_layout Plain Layout
8132 Float
8133 \end_layout
8134
8135 \end_inset
8136
8137  フロートを新規に定義します.詳細は,第
8138 \begin_inset CommandInset ref
8139 LatexCommand ref
8140 reference "subsec:フロート"
8141
8142 \end_inset
8143
8144 節を参照してください.「
8145 \begin_inset Flex Code
8146 status collapsed
8147
8148 \begin_layout Plain Layout
8149 End
8150 \end_layout
8151
8152 \end_inset
8153
8154 」で閉じる必要があります.
8155 \end_layout
8156
8157 \begin_layout Description
8158 \begin_inset Flex Code
8159 status collapsed
8160
8161 \begin_layout Plain Layout
8162 HTMLPreamble
8163 \end_layout
8164
8165 \end_inset
8166
8167  この文書クラスがXHTMLに出力されるときに,
8168 \begin_inset Flex Code
8169 status collapsed
8170
8171 \begin_layout Plain Layout
8172 <head>
8173 \end_layout
8174
8175 \end_inset
8176
8177 ブロックに出力される情報です.これより前に出現した
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
8188 \begin_inset Flex Code
8189 status collapsed
8190
8191 \begin_layout Plain Layout
8192 AddToHTMLPreamble
8193 \end_layout
8194
8195 \end_inset
8196
8197 宣言は,すべて完全に上書きされることに注意してください(プリアンブルに何かを追加したい時には,
8198 \begin_inset Flex Code
8199 status collapsed
8200
8201 \begin_layout Plain Layout
8202 AddToHTMLPreamble
8203 \end_layout
8204
8205 \end_inset
8206
8207 を使用してください).これは「
8208 \begin_inset Flex Code
8209 status collapsed
8210
8211 \begin_layout Plain Layout
8212 EndPreamble
8213 \end_layout
8214
8215 \end_inset
8216
8217 」で閉じる必要があります.
8218 \end_layout
8219
8220 \begin_layout Description
8221 \begin_inset Flex Code
8222 status collapsed
8223
8224 \begin_layout Plain Layout
8225 HTMLTOCSection
8226 \end_layout
8227
8228 \end_inset
8229
8230  [
8231 \begin_inset Flex Code
8232 status collapsed
8233
8234 \begin_layout Plain Layout
8235 <様式>
8236 \end_layout
8237
8238 \end_inset
8239
8240 ] 文書がHTMLに出力されるときに,目次や書誌情報などに使用されるレイアウトです.articleの場合には,これは通常「節」であり,bookの場合は「章」です
8241 .これを指定しない場合には,\SpecialChar LyX
8242 はどのレイアウトを使用するべきか,解析しようと試みます.
8243 \end_layout
8244
8245 \begin_layout Description
8246 \begin_inset Flex Code
8247 status collapsed
8248
8249 \begin_layout Plain Layout
8250 IfCounter 
8251 \end_layout
8252
8253 \end_inset
8254
8255  [
8256 \begin_inset Flex Code
8257 status collapsed
8258
8259 \begin_layout Plain Layout
8260 <カウンタ>
8261 \end_layout
8262
8263 \end_inset
8264
8265 ] 与えられたカウンタの特性を修正します.カウンタが存在しない場合には,この節は無視されます.「
8266 \begin_inset Flex Code
8267 status collapsed
8268
8269 \begin_layout Plain Layout
8270 End
8271 \end_layout
8272
8273 \end_inset
8274
8275 」で閉じる必要があります.
8276 \begin_inset Newline newline
8277 \end_inset
8278
8279 カウンタについての詳細は,第
8280 \begin_inset CommandInset ref
8281 LatexCommand ref
8282 reference "subsec:カウンタ"
8283
8284 \end_inset
8285
8286 節をご覧ください.
8287 \end_layout
8288
8289 \begin_layout Description
8290 \begin_inset Flex Code
8291 status collapsed
8292
8293 \begin_layout Plain Layout
8294 IfStyle
8295 \end_layout
8296
8297 \end_inset
8298
8299  [
8300 \begin_inset Flex Code
8301 status collapsed
8302
8303 \begin_layout Plain Layout
8304 <様式>
8305 \end_layout
8306
8307 \end_inset
8308
8309 ] 与えられた段落様式の特性を修正します.様式が存在しない場合には,この節は無視されます.「
8310 \begin_inset Flex Code
8311 status collapsed
8312
8313 \begin_layout Plain Layout
8314 End
8315 \end_layout
8316
8317 \end_inset
8318
8319 」で閉じる必要があります.
8320 \end_layout
8321
8322 \begin_layout Description
8323 \begin_inset Flex Code
8324 status collapsed
8325
8326 \begin_layout Plain Layout
8327 Input
8328 \end_layout
8329
8330 \end_inset
8331
8332  [
8333 \begin_inset Flex Code
8334 status collapsed
8335
8336 \begin_layout Plain Layout
8337 <ファイル名>
8338 \end_layout
8339
8340 \end_inset
8341
8342 ]
8343 \lang english
8344  
8345 \lang japanese
8346 名称の指し示すように,このコマンドは,同じコマンドを何度も指定せずに済むように,別のレイアウト定義ファイルを取り込ませます.よく使われる例は,基本的なレイアウト
8347 のほとんどを収録している
8348 \begin_inset Flex Code
8349 status collapsed
8350
8351 \begin_layout Plain Layout
8352 stdclass.inc
8353 \end_layout
8354
8355 \end_inset
8356
8357 のような標準レイアウトファイルです.
8358 \end_layout
8359
8360 \begin_layout Description
8361 \begin_inset Flex Code
8362 status collapsed
8363
8364 \begin_layout Plain Layout
8365 InsetLayout
8366 \end_layout
8367
8368 \end_inset
8369
8370  [
8371 \begin_inset Flex Code
8372 status collapsed
8373
8374 \begin_layout Plain Layout
8375 <型>
8376 \end_layout
8377
8378 \end_inset
8379
8380 ]
8381 \lang english
8382  
8383 \lang japanese
8384 このセクションは,差込枠のレイアウトを定義(再定義)します.これは,既存の差込枠にも,新しい文字様式のような新規のユーザ定義差込枠にも使用することができます.「
8385 \begin_inset Flex Code
8386 status collapsed
8387
8388 \begin_layout Plain Layout
8389 End
8390 \end_layout
8391
8392 \end_inset
8393
8394 」で閉じる必要があります.
8395 \begin_inset Newline newline
8396 \end_inset
8397
8398 詳しい情報は,第
8399 \begin_inset CommandInset ref
8400 LatexCommand ref
8401 reference "subsec:任意設定差込枠"
8402
8403 \end_inset
8404
8405 節をご覧ください.
8406 \end_layout
8407
8408 \begin_layout Description
8409 \begin_inset Flex Code
8410 status collapsed
8411
8412 \begin_layout Plain Layout
8413 LeftMargin
8414 \end_layout
8415
8416 \end_inset
8417
8418  [
8419 \begin_inset Flex Code
8420 status collapsed
8421
8422 \begin_layout Plain Layout
8423 文字列
8424 \end_layout
8425
8426 \end_inset
8427
8428 ] 画面上の左余白の幅を指示する文字列.例:「
8429 \begin_inset Flex Code
8430 status collapsed
8431
8432 \begin_layout Plain Layout
8433 MMMMM
8434 \end_layout
8435
8436 \end_inset
8437
8438 」.(これは,「2ex」のような「長さ」ではないことに注意してください.)
8439 \end_layout
8440
8441 \begin_layout Description
8442 \begin_inset Flex Code
8443 status collapsed
8444
8445 \begin_layout Plain Layout
8446 MaxCiteNames
8447 \end_layout
8448
8449 \end_inset
8450
8451  [
8452 \begin_inset Flex Code
8453 status collapsed
8454
8455 \begin_layout Plain Layout
8456 整数
8457 \end_layout
8458
8459 \end_inset
8460
8461 ] 著者-刊行年引用で,引用が「第一著者 et al.」に切り替わる前に,表示される名前の最大数を定める整数.主に引用エンジンファイルで使用されます(第
8462 \begin_inset CommandInset ref
8463 LatexCommand ref
8464 reference "subsec:引用エンジンファイル"
8465 plural "false"
8466 caps "false"
8467 noprefix "false"
8468
8469 \end_inset
8470
8471 節参照).
8472 \end_layout
8473
8474 \begin_layout Description
8475 \begin_inset Flex Code
8476 status collapsed
8477
8478 \begin_layout Plain Layout
8479 NoCounter
8480 \end_layout
8481
8482 \end_inset
8483
8484  [
8485 \begin_inset Flex Code
8486 status collapsed
8487
8488 \begin_layout Plain Layout
8489 <カウンタ>
8490 \end_layout
8491
8492 \end_inset
8493
8494 ] このコマンドは,既存のカウンタ(通常インクルードファイル内で定義されたもの)を削除します.
8495 \end_layout
8496
8497 \begin_layout Description
8498 \begin_inset Flex Code
8499 status collapsed
8500
8501 \begin_layout Plain Layout
8502 NoFloat
8503 \end_layout
8504
8505 \end_inset
8506
8507  [
8508 \begin_inset Flex Code
8509 status collapsed
8510
8511 \begin_layout Plain Layout
8512 <フロート>
8513 \end_layout
8514
8515 \end_inset
8516
8517 ] このコマンドは既存のフロートを削除します.これは特に,Inputで取り込んだファイルに定義されていたフロートを抑制するのに便利です.
8518 \end_layout
8519
8520 \begin_layout Description
8521 \begin_inset Flex Code
8522 status collapsed
8523
8524 \begin_layout Plain Layout
8525 NoStyle
8526 \end_layout
8527
8528 \end_inset
8529
8530  [
8531 \begin_inset Flex Code
8532 status collapsed
8533
8534 \begin_layout Plain Layout
8535 <様式>
8536 \end_layout
8537
8538 \end_inset
8539
8540 ] このコマンドは既存の様式を削除します.これは特に,Inputで取り込んだファイルに定義されていた様式を抑制するのに便利です.
8541 \end_layout
8542
8543 \begin_layout Description
8544 \begin_inset Flex Code
8545 status collapsed
8546
8547 \begin_layout Plain Layout
8548 OutlinerName
8549 \end_layout
8550
8551 \end_inset
8552
8553  [
8554 \begin_inset Flex Code
8555 status collapsed
8556
8557 \begin_layout Plain Layout
8558 <型>
8559 \end_layout
8560
8561 \end_inset
8562
8563 ] [
8564 \begin_inset Flex Code
8565 status collapsed
8566
8567 \begin_layout Plain Layout
8568 <文字列>
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 の新しい一覧表を定義します.AddToTocコマンドもご覧ください.
8594 \end_layout
8595
8596 \begin_layout Description
8597 \begin_inset Flex Code
8598 status collapsed
8599
8600 \begin_layout Plain Layout
8601 OutputFormat
8602 \end_layout
8603
8604 \end_inset
8605
8606  [
8607 \begin_inset Flex Code
8608 status collapsed
8609
8610 \begin_layout Plain Layout
8611 <形式>
8612 \end_layout
8613
8614 \end_inset
8615
8616 ] このクラスによって生成されるファイル形式を示す文字列(
8617 \family sans
8618 設定
8619 \family default
8620 ダイアログで定義される形のもの).おもに,
8621 \begin_inset Flex Code
8622 status collapsed
8623
8624 \begin_layout Plain Layout
8625 OutputType
8626 \end_layout
8627
8628 \end_inset
8629
8630
8631 \begin_inset Flex Code
8632 status collapsed
8633
8634 \begin_layout Plain Layout
8635 literate
8636 \end_layout
8637
8638 \end_inset
8639
8640 になっていて,新しい型のliterate文書を定義したい時に便利です.対応する
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 docbook
8656 \end_layout
8657
8658 \end_inset
8659
8660 」・「
8661 \begin_inset Flex Code
8662 status collapsed
8663
8664 \begin_layout Plain Layout
8665 lat
8666 \emph on
8667 ex
8668 \end_layout
8669
8670 \end_inset
8671
8672 」のいずれかにリセットされます.
8673 \end_layout
8674
8675 \begin_layout Description
8676 \begin_inset Flex Code
8677 status collapsed
8678
8679 \begin_layout Plain Layout
8680 OutputType
8681 \end_layout
8682
8683 \end_inset
8684
8685  [
8686 \begin_inset Flex Code
8687 status collapsed
8688
8689 \begin_layout Plain Layout
8690
8691 \emph on
8692 lat
8693 \emph default
8694 ex
8695 \end_layout
8696
8697 \end_inset
8698
8699
8700 \begin_inset Flex Code
8701 status collapsed
8702
8703 \begin_layout Plain Layout
8704 docbook
8705 \end_layout
8706
8707 \end_inset
8708
8709
8710 \begin_inset Flex Code
8711 status collapsed
8712
8713 \begin_layout Plain Layout
8714 literate
8715 \end_layout
8716
8717 \end_inset
8718
8719 ] このクラスを使用する文書がどのような種類の出力をするかを示す文字列.現在のところ,取り得る値は「docbook」・「latex」・「literate」です.
8720 \end_layout
8721
8722 \begin_layout Description
8723 \begin_inset Flex Code
8724 status collapsed
8725
8726 \begin_layout Plain Layout
8727 PackageOptions
8728 \end_layout
8729
8730 \end_inset
8731
8732  [
8733 \begin_inset Flex Code
8734 status collapsed
8735
8736 \begin_layout Plain Layout
8737 文字列
8738 \end_layout
8739
8740 \end_inset
8741
8742  
8743 \begin_inset Flex Code
8744 status collapsed
8745
8746 \begin_layout Plain Layout
8747 文字列
8748 \end_layout
8749
8750 \end_inset
8751
8752 ] 第1文字列で指定したパッケージ用のオプションを第2文字列で指定します.例えば,「
8753 \begin_inset Flex Code
8754 status collapsed
8755
8756 \begin_layout Plain Layout
8757 PackageOptions natbib square
8758 \end_layout
8759
8760 \end_inset
8761
8762 」とすると,
8763 \begin_inset Flex Code
8764 status collapsed
8765
8766 \begin_layout Plain Layout
8767 natbib
8768 \end_layout
8769
8770 \end_inset
8771
8772
8773 \begin_inset Flex Code
8774 status collapsed
8775
8776 \begin_layout Plain Layout
8777 square
8778 \end_layout
8779
8780 \end_inset
8781
8782 オプションとともに読み込みます(\SpecialChar TeX
8783 perts向けに述べると,これは,
8784 \begin_inset Flex Code
8785 status collapsed
8786
8787 \begin_layout Plain Layout
8788 natbib
8789 \end_layout
8790
8791 \end_inset
8792
8793 を読み込む前に,\SpecialChar LyX
8794
8795 \begin_inset Flex Code
8796 status collapsed
8797
8798 \begin_layout Plain Layout
8799
8800 \backslash
8801 PassOptionsToPackage{natbib}{square}
8802 \end_layout
8803
8804 \end_inset
8805
8806 を出力させます).
8807 \end_layout
8808
8809 \begin_layout Description
8810 \begin_inset Flex Code
8811 status collapsed
8812
8813 \begin_layout Plain Layout
8814 PageStyle
8815 \end_layout
8816
8817 \end_inset
8818
8819  [
8820 \emph on
8821
8822 \begin_inset Flex Code
8823 status collapsed
8824
8825 \begin_layout Plain Layout
8826 plain
8827 \end_layout
8828
8829 \end_inset
8830
8831
8832 \emph default
8833
8834 \begin_inset Flex Code
8835 status collapsed
8836
8837 \begin_layout Plain Layout
8838 empty
8839 \end_layout
8840
8841 \end_inset
8842
8843
8844 \begin_inset Flex Code
8845 status collapsed
8846
8847 \begin_layout Plain Layout
8848 headings
8849 \end_layout
8850
8851 \end_inset
8852
8853 ] 既定ページ様式.
8854 \begin_inset Flex MenuItem
8855 status collapsed
8856
8857 \begin_layout Plain Layout
8858 文書\SpecialChar menuseparator
8859 設定
8860 \end_layout
8861
8862 \end_inset
8863
8864 ダイアログで変更することができます.
8865 \end_layout
8866
8867 \begin_layout Description
8868 \begin_inset Flex Code
8869 status collapsed
8870
8871 \begin_layout Plain Layout
8872 Preamble
8873 \end_layout
8874
8875 \end_inset
8876
8877  \SpecialChar LaTeX
8878 文書のプリアンブルを設定します.前に行った
8879 \begin_inset Flex Code
8880 status collapsed
8881
8882 \begin_layout Plain Layout
8883 Preamble
8884 \end_layout
8885
8886 \end_inset
8887
8888 宣言や
8889 \begin_inset Flex Code
8890 status collapsed
8891
8892 \begin_layout Plain Layout
8893 AddToPreamble
8894 \end_layout
8895
8896 \end_inset
8897
8898 宣言は,すべて上書きされてしまうので注意してください.(プリアンブルに何かを追加したい時には,
8899 \begin_inset Flex Code
8900 status collapsed
8901
8902 \begin_layout Plain Layout
8903 AddToPreamble
8904 \end_layout
8905
8906 \end_inset
8907
8908 を使用してください.)「
8909 \begin_inset Flex Code
8910 status collapsed
8911
8912 \begin_layout Plain Layout
8913 EndPreamble
8914 \end_layout
8915
8916 \end_inset
8917
8918 」で閉じる必要があります.
8919 \end_layout
8920
8921 \begin_layout Description
8922 \begin_inset Flex Code
8923 status collapsed
8924
8925 \begin_layout Plain Layout
8926 Provides
8927 \end_layout
8928
8929 \end_inset
8930
8931  [
8932 \begin_inset Flex Code
8933 status collapsed
8934
8935 \begin_layout Plain Layout
8936 文字列
8937 \end_layout
8938
8939 \end_inset
8940
8941 ] [
8942 \begin_inset Flex Code
8943 status collapsed
8944
8945 \begin_layout Plain Layout
8946
8947 \emph on
8948 0
8949 \end_layout
8950
8951 \end_inset
8952
8953
8954 \begin_inset Flex Code
8955 status collapsed
8956
8957 \begin_layout Plain Layout
8958 1
8959 \end_layout
8960
8961 \end_inset
8962
8963 ] このクラスが
8964 \begin_inset Flex Code
8965 status collapsed
8966
8967 \begin_layout Plain Layout
8968 文字列
8969 \end_layout
8970
8971 \end_inset
8972
8973 で示される機能を既に提供しているかどうかを示します.機能は,一般的にパッケージ名(
8974 \begin_inset Flex Code
8975 status collapsed
8976
8977 \begin_layout Plain Layout
8978 amsmath
8979 \end_layout
8980
8981 \end_inset
8982
8983
8984 \begin_inset Flex Code
8985 status collapsed
8986
8987 \begin_layout Plain Layout
8988 makeidx
8989 \end_layout
8990
8991 \end_inset
8992
8993 ・\SpecialChar ldots
8994 )やマクロ名(
8995 \begin_inset Flex Code
8996 status collapsed
8997
8998 \begin_layout Plain Layout
8999 url
9000 \end_layout
9001
9002 \end_inset
9003
9004
9005 \begin_inset Flex Code
9006 status collapsed
9007
9008 \begin_layout Plain Layout
9009 boldsymbol
9010 \end_layout
9011
9012 \end_inset
9013
9014 ・\SpecialChar ldots
9015 )です.機能一覧については,
9016 \begin_inset CommandInset ref
9017 LatexCommand ref
9018 reference "chap:関数一覧"
9019
9020 \end_inset
9021
9022 を参照.
9023 \end_layout
9024
9025 \begin_layout Description
9026 \begin_inset Flex Code
9027 status collapsed
9028
9029 \begin_layout Plain Layout
9030 ProvidesModule
9031 \end_layout
9032
9033 \end_inset
9034
9035  [
9036 \begin_inset Flex Code
9037 status collapsed
9038
9039 \begin_layout Plain Layout
9040 文字列
9041 \end_layout
9042
9043 \end_inset
9044
9045 ] このレイアウトが
9046 \begin_inset Flex Code
9047 status collapsed
9048
9049 \begin_layout Plain Layout
9050 文字列
9051 \end_layout
9052
9053 \end_inset
9054
9055 で表されているモジュールの機能を提供することを示し,
9056 \begin_inset Flex Code
9057 status collapsed
9058
9059 \begin_layout Plain Layout
9060 .module
9061 \end_layout
9062
9063 \end_inset
9064
9065 拡張子を除いたファイル名で指定します.
9066 \begin_inset Flex Code
9067 status collapsed
9068
9069 \begin_layout Plain Layout
9070 DefaultModule
9071 \end_layout
9072
9073 \end_inset
9074
9075 タグを使用すると,モジュールを使用しなくてはならないことを示しますが,このタグは主に,このレイアウトがモジュールを直接取り込んでしまっていることを示すのに用いら
9076 れます.同じ機能を別に実装しているモジュール中で使用するなどすることもできます.
9077 \end_layout
9078
9079 \begin_layout Description
9080 \begin_inset Flex Code
9081 status collapsed
9082
9083 \begin_layout Plain Layout
9084 Requires
9085 \end_layout
9086
9087 \end_inset
9088
9089  [
9090 \begin_inset Flex Code
9091 status collapsed
9092
9093 \begin_layout Plain Layout
9094 文字列
9095 \end_layout
9096
9097 \end_inset
9098
9099 ] このクラスが
9100 \begin_inset Flex Code
9101 status collapsed
9102
9103 \begin_layout Plain Layout
9104 文字列
9105 \end_layout
9106
9107 \end_inset
9108
9109 で表されている機能を要求することを示します.機能が複数ある場合には,コンマで区切らなくてはなりません.サポートされている機能以外は要求できないことに注意してくだ
9110 さい(機能一覧については
9111 \begin_inset CommandInset ref
9112 LatexCommand ref
9113 reference "chap:関数一覧"
9114
9115 \end_inset
9116
9117 を参照).特定のオプションをとるパッケージを要求する場合,
9118 \begin_inset Flex Code
9119 status collapsed
9120
9121 \begin_layout Plain Layout
9122 PackageOptions
9123 \end_layout
9124
9125 \end_inset
9126
9127 を追加して使うことができます.
9128 \end_layout
9129
9130 \begin_layout Description
9131 \begin_inset Flex Code
9132 status collapsed
9133
9134 \begin_layout Plain Layout
9135 RightMargin
9136 \end_layout
9137
9138 \end_inset
9139
9140  [
9141 \begin_inset Flex Code
9142 status collapsed
9143
9144 \begin_layout Plain Layout
9145 文字列
9146 \end_layout
9147
9148 \end_inset
9149
9150 ] 画面上の右余白の幅を指示する文字列.例:「
9151 \begin_inset Flex Code
9152 status collapsed
9153
9154 \begin_layout Plain Layout
9155 MMMMM
9156 \end_layout
9157
9158 \end_inset
9159
9160 」.
9161 \end_layout
9162
9163 \begin_layout Description
9164 \begin_inset Flex Code
9165 status collapsed
9166
9167 \begin_layout Plain Layout
9168 SecNumDepth
9169 \end_layout
9170
9171 \end_inset
9172
9173  [
9174 \begin_inset Flex Code
9175 status collapsed
9176
9177 \begin_layout Plain Layout
9178 int=3
9179 \end_layout
9180
9181 \end_inset
9182
9183 ] どの節区切りまで連番を振るかを指定します.\SpecialChar LaTeX
9184 における
9185 \begin_inset Flex Code
9186 status collapsed
9187
9188 \begin_layout Plain Layout
9189 secnumdepth
9190 \end_layout
9191
9192 \end_inset
9193
9194 カウンタに対応します.
9195 \end_layout
9196
9197 \begin_layout Description
9198 \begin_inset Flex Code
9199 status collapsed
9200
9201 \begin_layout Plain Layout
9202 Sides
9203 \end_layout
9204
9205 \end_inset
9206
9207  [
9208 \emph on
9209
9210 \begin_inset Flex Code
9211 status collapsed
9212
9213 \begin_layout Plain Layout
9214 1
9215 \end_layout
9216
9217 \end_inset
9218
9219
9220 \emph default
9221 ,
9222 \begin_inset space \thinspace{}
9223 \end_inset
9224
9225
9226 \begin_inset Flex Code
9227 status collapsed
9228
9229 \begin_layout Plain Layout
9230 2
9231 \end_layout
9232
9233 \end_inset
9234
9235 ] クラスの既定値として,用紙の片面に印字するか両面に印字するかを指定します.
9236 \begin_inset Flex MenuItem
9237 status collapsed
9238
9239 \begin_layout Plain Layout
9240 文書\SpecialChar menuseparator
9241 設定
9242 \end_layout
9243
9244 \end_inset
9245
9246 ダイアログで変更することができます.
9247 \end_layout
9248
9249 \begin_layout Description
9250 \begin_inset Flex Code
9251 status collapsed
9252
9253 \begin_layout Plain Layout
9254 Style
9255 \end_layout
9256
9257 \end_inset
9258
9259  [
9260 \begin_inset Flex Code
9261 status collapsed
9262
9263 \begin_layout Plain Layout
9264 <名称>
9265 \end_layout
9266
9267 \end_inset
9268
9269 ]
9270 \lang english
9271  
9272 \lang japanese
9273 この部分は段落様式を定義します.様式がまだ存在していなければ,生成されます.既に存在していれば,そのパラメータが修正されます.「
9274 \begin_inset Flex Code
9275 status collapsed
9276
9277 \begin_layout Plain Layout
9278 End
9279 \end_layout
9280
9281 \end_inset
9282
9283 」で閉じる必要があります.
9284 \begin_inset Newline newline
9285 \end_inset
9286
9287 段落様式に関する詳細は,
9288 \begin_inset CommandInset ref
9289 LatexCommand ref
9290 reference "subsec:段落様式-XHTML"
9291
9292 \end_inset
9293
9294 をご覧ください.
9295 \end_layout
9296
9297 \begin_layout Description
9298 \begin_inset Flex Code
9299 status collapsed
9300
9301 \begin_layout Plain Layout
9302 TitleLatexName
9303 \end_layout
9304
9305 \end_inset
9306
9307  [
9308 \begin_inset Flex Code
9309 status collapsed
9310
9311 \begin_layout Plain Layout
9312 文字列="maketitle"
9313 \end_layout
9314
9315 \end_inset
9316
9317
9318 \begin_inset Flex Code
9319 status collapsed
9320
9321 \begin_layout Plain Layout
9322 TitleLatexType
9323 \end_layout
9324
9325 \end_inset
9326
9327 で使用すべきコマンド名あるいは環境名.The name of the command or environment to be used with
9328  
9329 \begin_inset Flex Code
9330 status collapsed
9331
9332 \begin_layout Plain Layout
9333 TitleLatexType
9334 \end_layout
9335
9336 \end_inset
9337
9338 .
9339 \end_layout
9340
9341 \begin_layout Description
9342 \begin_inset Flex Code
9343 status collapsed
9344
9345 \begin_layout Plain Layout
9346 TitleLatexType
9347 \end_layout
9348
9349 \end_inset
9350
9351  [
9352 \begin_inset Flex Code
9353 status collapsed
9354
9355 \begin_layout Plain Layout
9356
9357 \emph on
9358 CommandAfter
9359 \end_layout
9360
9361 \end_inset
9362
9363
9364 \begin_inset Flex Code
9365 status collapsed
9366
9367 \begin_layout Plain Layout
9368 Environment
9369 \end_layout
9370
9371 \end_inset
9372
9373 ] 文書のタイトルを定義するのに,どのようなマークアップを使用するのかを示します.
9374 \begin_inset Flex Code
9375 status collapsed
9376
9377 \begin_layout Plain Layout
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 InTitle
9389 \begin_inset space ~
9390 \end_inset
9391
9392 1
9393 \end_layout
9394
9395 \end_inset
9396
9397 」が指定されている最後のレイアウトの後に,
9398 \begin_inset Flex Code
9399 status collapsed
9400
9401 \begin_layout Plain Layout
9402 TitleLatexName
9403 \end_layout
9404
9405 \end_inset
9406
9407 で指定したマクロ名を挿入することを意味します.
9408 \begin_inset Flex Code
9409 status collapsed
9410
9411 \begin_layout Plain Layout
9412 Environment
9413 \end_layout
9414
9415 \end_inset
9416
9417 は,「
9418 \begin_inset Flex Code
9419 status collapsed
9420
9421 \begin_layout Plain Layout
9422 InTitle
9423 \begin_inset space ~
9424 \end_inset
9425
9426 1
9427 \end_layout
9428
9429 \end_inset
9430
9431 」を持つ段落群を
9432 \begin_inset Flex Code
9433 status collapsed
9434
9435 \begin_layout Plain Layout
9436 TitleLatexName
9437 \end_layout
9438
9439 \end_inset
9440
9441 で指定した環境でくるむ場合に対応します.
9442 \end_layout
9443
9444 \begin_layout Description
9445 \begin_inset Flex Code
9446 status collapsed
9447
9448 \begin_layout Plain Layout
9449 TocDepth
9450 \end_layout
9451
9452 \end_inset
9453
9454  [
9455 \begin_inset Flex Code
9456 status collapsed
9457
9458 \begin_layout Plain Layout
9459 int=3
9460 \end_layout
9461
9462 \end_inset
9463
9464 ] どの節区切りまで目次に取り込むかを指定します.\SpecialChar LaTeX
9465
9466 \begin_inset Flex Code
9467 status collapsed
9468
9469 \begin_layout Plain Layout
9470 tocdepth
9471 \end_layout
9472
9473 \end_inset
9474
9475 カウンタに対応します.
9476 \end_layout
9477
9478 \begin_layout Subsection
9479 \begin_inset Flex Code
9480 status collapsed
9481
9482 \begin_layout Plain Layout
9483 ClassOptions
9484 \end_layout
9485
9486 \end_inset
9487
9488
9489 \begin_inset CommandInset label
9490 LatexCommand label
9491 name "subsec:ClassOptions"
9492
9493 \end_inset
9494
9495
9496 \end_layout
9497
9498 \begin_layout Standard
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 \end_layout
9510
9511 \begin_layout Description
9512 \begin_inset Flex Code
9513 status collapsed
9514
9515 \begin_layout Plain Layout
9516 FontSize
9517 \end_layout
9518
9519 \end_inset
9520
9521  [
9522 \begin_inset Flex Code
9523 status collapsed
9524
9525 \begin_layout Plain Layout
9526 文字列="10|11|12"
9527 \end_layout
9528
9529 \end_inset
9530
9531 ] 文書のメインフォントが使用できるフォント寸法の一覧です.「
9532 \begin_inset Flex Code
9533 status collapsed
9534
9535 \begin_layout Plain Layout
9536 |
9537 \end_layout
9538
9539 \end_inset
9540
9541 」で区切ります.
9542 \end_layout
9543
9544 \begin_layout Description
9545 \begin_inset Flex Code
9546 status collapsed
9547
9548 \begin_layout Plain Layout
9549 Header
9550 \end_layout
9551
9552 \end_inset
9553
9554  XMLベースの出力クラスで,DTD行を設定するのに使用されます.例:PUBLIC 
9555 \begin_inset Quotes eld
9556 \end_inset
9557
9558 -//OASIS//DTD DocBook V4.2//EN
9559 \begin_inset Quotes erd
9560 \end_inset
9561
9562
9563 \end_layout
9564
9565 \begin_layout Description
9566 \begin_inset Flex Code
9567 status collapsed
9568
9569 \begin_layout Plain Layout
9570 PageStyle
9571 \end_layout
9572
9573 \end_inset
9574
9575  [
9576 \begin_inset Flex Code
9577 status collapsed
9578
9579 \begin_layout Plain Layout
9580 文字列="empty|plain|headings|fancy"
9581 \end_layout
9582
9583 \end_inset
9584
9585 ] 使用できるページ様式の一覧です.「
9586 \begin_inset Flex Code
9587 status collapsed
9588
9589 \begin_layout Plain Layout
9590 |
9591 \end_layout
9592
9593 \end_inset
9594
9595 」で区切ります.
9596 \end_layout
9597
9598 \begin_layout Description
9599 \begin_inset Flex Code
9600 status collapsed
9601
9602 \begin_layout Plain Layout
9603 Other
9604 \end_layout
9605
9606 \end_inset
9607
9608  [
9609 \begin_inset Flex Code
9610 status collapsed
9611
9612 \begin_layout Plain Layout
9613 文字列=""
9614 \end_layout
9615
9616 \end_inset
9617
9618
9619 \begin_inset Flex Code
9620 status collapsed
9621
9622 \begin_layout Plain Layout
9623
9624 \backslash
9625 documentclass
9626 \end_layout
9627
9628 \end_inset
9629
9630 コマンドの非必須パラメータとして付け加える文書クラスオプションです.コンマで区切ります.
9631 \end_layout
9632
9633 \begin_layout Standard
9634 \begin_inset Flex Code
9635 status collapsed
9636
9637 \begin_layout Plain Layout
9638 ClassOptions
9639 \end_layout
9640
9641 \end_inset
9642
9643 部は「
9644 \begin_inset Flex Code
9645 status collapsed
9646
9647 \begin_layout Plain Layout
9648 End
9649 \end_layout
9650
9651 \end_inset
9652
9653 」で閉じる必要があります.
9654 \end_layout
9655
9656 \begin_layout Subsection
9657 段落様式
9658 \begin_inset CommandInset label
9659 LatexCommand label
9660 name "subsec:段落様式"
9661
9662 \end_inset
9663
9664
9665 \end_layout
9666
9667 \begin_layout Standard
9668 段落様式の記述は,以下のようになります
9669 \begin_inset Foot
9670 status collapsed
9671
9672 \begin_layout Plain Layout
9673 これは新しいレイアウトを定義するか,既存のレイアウトを修正することになることに注意してください.
9674 \end_layout
9675
9676 \end_inset
9677
9678
9679 \end_layout
9680
9681 \begin_layout LyX-Code
9682 Style 
9683 \family roman
9684 \emph on
9685 名称
9686 \end_layout
9687
9688 \begin_layout LyX-Code
9689  ...
9690 \end_layout
9691
9692 \begin_layout LyX-Code
9693 End
9694 \end_layout
9695
9696 \begin_layout Standard
9697 ここでは,以下のコマンドを使用することができます.
9698 \end_layout
9699
9700 \begin_layout Description
9701 \begin_inset Flex Code
9702 status collapsed
9703
9704 \begin_layout Plain Layout
9705 AddToToc
9706 \end_layout
9707
9708 \end_inset
9709
9710  [
9711 \begin_inset Flex Code
9712 status collapsed
9713
9714 \begin_layout Plain Layout
9715 文字列
9716 \end_layout
9717
9718 \end_inset
9719
9720 =""] この段落は指定された型の一覧表に現れます.空の文字列を与えると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドもご覧
9721 ください.既定値:無効.
9722 \end_layout
9723
9724 \begin_layout Description
9725 \begin_inset Flex Code
9726 status collapsed
9727
9728 \begin_layout Plain Layout
9729 Align
9730 \end_layout
9731
9732 \end_inset
9733
9734  [
9735 \begin_inset Flex Code
9736 status collapsed
9737
9738 \begin_layout Plain Layout
9739
9740 \emph on
9741 block
9742 \emph default
9743 , left, right, center
9744 \end_layout
9745
9746 \end_inset
9747
9748 ] 段落の揃え.
9749 \end_layout
9750
9751 \begin_layout Description
9752 \begin_inset Flex Code
9753 status collapsed
9754
9755 \begin_layout Plain Layout
9756 AlignPossible
9757 \end_layout
9758
9759 \end_inset
9760
9761  [
9762 \begin_inset Flex Code
9763 status collapsed
9764
9765 \begin_layout Plain Layout
9766
9767 \emph on
9768 block
9769 \emph default
9770 , left, right, center
9771 \end_layout
9772
9773 \end_inset
9774
9775 ] 使用できる揃えのコンマ区切りリスト(\SpecialChar LaTeX
9776 スタイルには,意味を成さない一部の揃えが禁じられているものがあります.たとえば,連番箇条書きを右揃えや中央揃えにすること
9777 はできません).
9778 \end_layout
9779
9780 \begin_layout Description
9781 \begin_inset Flex Code
9782 status collapsed
9783
9784 \begin_layout Plain Layout
9785 Argument
9786 \end_layout
9787
9788 \end_inset
9789
9790  [
9791 \begin_inset Flex Code
9792 status collapsed
9793
9794 \begin_layout Plain Layout
9795 整数
9796 \end_layout
9797
9798 \end_inset
9799
9800 ] 現在の様式に関連付けられたコマンドまたは環境の引数番号<整数>を定義します.これは,節見出しのようなものに便利で,また\SpecialChar LaTeX
9801 でのみ意味を持ちます.コマンドまたは環
9802 境の引数は全て–段落の内容自身に関連付けられた必須引数を除き,必須・非必須を問わず–,別の場所で定義され,引数番号はその順序を表します.定義は
9803 \begin_inset Flex Code
9804 status collapsed
9805
9806 \begin_layout Plain Layout
9807 EndArgument
9808 \end_layout
9809
9810 \end_inset
9811
9812 で閉じなくてはなりません.非必須引数が2つあるコマンドの場合は,以下のようになります.
9813 \end_layout
9814
9815 \begin_deeper
9816 \begin_layout Quote
9817
9818 \family typewriter
9819 Argument 1
9820 \end_layout
9821
9822 \begin_layout Quote
9823
9824 \family typewriter
9825 ...
9826 \end_layout
9827
9828 \begin_layout Quote
9829
9830 \family typewriter
9831 EndArgument
9832 \end_layout
9833
9834 \begin_layout Quote
9835
9836 \family typewriter
9837 Argument 2
9838 \end_layout
9839
9840 \begin_layout Quote
9841
9842 \family typewriter
9843 ...
9844 \end_layout
9845
9846 \begin_layout Quote
9847
9848 \family typewriter
9849 EndArgument
9850 \end_layout
9851
9852 \begin_layout Standard
9853 \begin_inset Flex Code
9854 status collapsed
9855
9856 \begin_layout Plain Layout
9857 Argument
9858 \end_layout
9859
9860 \end_inset
9861
9862 定義内部では,以下の指定をすることができます.
9863 \end_layout
9864
9865 \begin_layout Itemize
9866 \begin_inset Flex Code
9867 status collapsed
9868
9869 \begin_layout Plain Layout
9870 LabelString
9871 \end_layout
9872
9873 \end_inset
9874
9875  
9876 \begin_inset Flex Code
9877 status collapsed
9878
9879 \begin_layout Plain Layout
9880 [文字列]
9881 \end_layout
9882
9883 \end_inset
9884
9885  この引数を挿入するメニューと引数差込枠ボタンに表示される文字列です(別に
9886 \begin_inset Flex Code
9887 status collapsed
9888
9889 \begin_layout Plain Layout
9890 MenuString
9891 \end_layout
9892
9893 \end_inset
9894
9895 を指定した場合を除く).メニューには,後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9896 \begin_inset space \space{}
9897 \end_inset
9898
9899
9900 \begin_inset Quotes eld
9901 \end_inset
9902
9903
9904 \begin_inset Flex Code
9905 status collapsed
9906
9907 \begin_layout Plain Layout
9908 Short Title|S
9909 \end_layout
9910
9911 \end_inset
9912
9913
9914 \begin_inset Quotes erd
9915 \end_inset
9916
9917 ).
9918 \end_layout
9919
9920 \begin_layout Itemize
9921 \begin_inset Flex Code
9922 status collapsed
9923
9924 \begin_layout Plain Layout
9925 MenuString
9926 \end_layout
9927
9928 \end_inset
9929
9930  
9931 \begin_inset Flex Code
9932 status collapsed
9933
9934 \begin_layout Plain Layout
9935 [文字列]
9936 \end_layout
9937
9938 \end_inset
9939
9940  メニュー単独用の文字列.後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9941 \begin_inset space \space{}
9942 \end_inset
9943
9944
9945 \begin_inset Quotes eld
9946 \end_inset
9947
9948
9949 \begin_inset Flex Code
9950 status collapsed
9951
9952 \begin_layout Plain Layout
9953 Short Title|S
9954 \end_layout
9955
9956 \end_inset
9957
9958
9959 \begin_inset Quotes erd
9960 \end_inset
9961
9962 ).この指定は必須ではありません.指定しない場合には,代わりに
9963 \begin_inset Flex Code
9964 status collapsed
9965
9966 \begin_layout Plain Layout
9967 LabelString
9968 \end_layout
9969
9970 \end_inset
9971
9972 がメニューに用いられます.
9973 \end_layout
9974
9975 \begin_layout Itemize
9976 \begin_inset Flex Code
9977 status collapsed
9978
9979 \begin_layout Plain Layout
9980 Tooltip
9981 \end_layout
9982
9983 \end_inset
9984
9985  
9986 \begin_inset Flex Code
9987 status collapsed
9988
9989 \begin_layout Plain Layout
9990 [文字列]
9991 \end_layout
9992
9993 \end_inset
9994
9995  引数差込枠にマウスをかざしたときに現れるツールチップに表示される長めの説明文.
9996 \end_layout
9997
9998 \begin_layout Itemize
9999 \begin_inset Flex Code
10000 status collapsed
10001
10002 \begin_layout Plain Layout
10003 Mandatory
10004 \end_layout
10005
10006 \end_inset
10007
10008  [
10009 \begin_inset Flex Code
10010 status collapsed
10011
10012 \begin_layout Plain Layout
10013
10014 \emph on
10015 0
10016 \end_layout
10017
10018 \end_inset
10019
10020 ,
10021 \begin_inset space \thinspace{}
10022 \end_inset
10023
10024
10025 \begin_inset Flex Code
10026 status collapsed
10027
10028 \begin_layout Plain Layout
10029 1
10030 \end_layout
10031
10032 \end_inset
10033
10034 ] これが必須の引数なのか(1)非必須の引数なのか(0)を宣言します.必須引数は,与えられなければ空の出力を行いますが,非必須引数の場合はそもそも出力されません
10035 .既定では,必須引数は
10036 \begin_inset Flex Code
10037 status collapsed
10038
10039 \begin_layout Plain Layout
10040 {...}
10041 \end_layout
10042
10043 \end_inset
10044
10045 で区切られ,非必須引数は
10046 \begin_inset Flex Code
10047 status collapsed
10048
10049 \begin_layout Plain Layout
10050 [...]
10051 \end_layout
10052
10053 \end_inset
10054
10055 で区切られます.
10056 \end_layout
10057
10058 \begin_layout Itemize
10059 \begin_inset Flex Code
10060 status collapsed
10061
10062 \begin_layout Plain Layout
10063 Requires
10064 \end_layout
10065
10066 \end_inset
10067
10068  
10069 \begin_inset Flex Code
10070 status collapsed
10071
10072 \begin_layout Plain Layout
10073 [整数=0]
10074 \end_layout
10075
10076 \end_inset
10077
10078  この引数が出力されるとき,必要となる別の引数を(番号によって)指定します.例えば,\SpecialChar LaTeX
10079 コマンドでは,
10080 \begin_inset Flex Code
10081 status collapsed
10082
10083 \begin_layout Plain Layout
10084
10085 \backslash
10086 command[][引数]{文字列}
10087 \end_layout
10088
10089 \end_inset
10090
10091 のように,前に(少なくとも空の)別の非必須引数を要求する非必須引数があります.これは,
10092 \begin_inset Flex Code
10093 status collapsed
10094
10095 \begin_layout Plain Layout
10096 Argument 2
10097 \end_layout
10098
10099 \end_inset
10100
10101 中に
10102 \begin_inset Flex Code
10103 status collapsed
10104
10105 \begin_layout Plain Layout
10106 Requires 1
10107 \end_layout
10108
10109 \end_inset
10110
10111 ステートメントを置くことで実現できます.
10112 \end_layout
10113
10114 \begin_layout Itemize
10115 \begin_inset Flex Code
10116 status collapsed
10117
10118 \begin_layout Plain Layout
10119 LeftDelim
10120 \end_layout
10121
10122 \end_inset
10123
10124  
10125 \begin_inset Flex Code
10126 status collapsed
10127
10128 \begin_layout Plain Layout
10129 [文字列]
10130 \end_layout
10131
10132 \end_inset
10133
10134  (
10135 \begin_inset Flex Code
10136 status collapsed
10137
10138 \begin_layout Plain Layout
10139 {
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 <br/>
10160 \end_layout
10161
10162 \end_inset
10163
10164 で指示できます.
10165 \end_layout
10166
10167 \begin_layout Itemize
10168 \begin_inset Flex Code
10169 status collapsed
10170
10171 \begin_layout Plain Layout
10172 RightDelim
10173 \end_layout
10174
10175 \end_inset
10176
10177  
10178 \begin_inset Flex Code
10179 status collapsed
10180
10181 \begin_layout Plain Layout
10182 [文字列]
10183 \end_layout
10184
10185 \end_inset
10186
10187  (
10188 \begin_inset Flex Code
10189 status collapsed
10190
10191 \begin_layout Plain Layout
10192 }
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 <br/>
10213 \end_layout
10214
10215 \end_inset
10216
10217 で指示できます.
10218 \end_layout
10219
10220 \begin_layout Itemize
10221 \begin_inset Flex Code
10222 status collapsed
10223
10224 \begin_layout Plain Layout
10225 DefaultArg
10226 \end_layout
10227
10228 \end_inset
10229
10230  
10231 \begin_inset Flex Code
10232 status collapsed
10233
10234 \begin_layout Plain Layout
10235 [文字列]
10236 \end_layout
10237
10238 \end_inset
10239
10240  ユーザー指定引数が与えられなかったとき,すなわち引数差込枠が挿入されなかったときに限り,挿入される引数を定義します(空の引数差込枠が挿入されてもDefault
10241 Argは無効になることに注意してください).引数が複数のときはコンマで区切る必要があります.
10242 \end_layout
10243
10244 \begin_layout Itemize
10245 \begin_inset Flex Code
10246 status collapsed
10247
10248 \begin_layout Plain Layout
10249 PresetArg
10250 \end_layout
10251
10252 \end_inset
10253
10254  
10255 \begin_inset Flex Code
10256 status collapsed
10257
10258 \begin_layout Plain Layout
10259 [文字列]
10260 \end_layout
10261
10262 \end_inset
10263
10264  どのような場合にも(単独もしくはユーザー定義引数とともに)挿入される引数を定義します.引数が複数のときはコンマで区切る必要があります.
10265 \end_layout
10266
10267 \begin_layout Itemize
10268 \begin_inset Flex Code
10269 status collapsed
10270
10271 \begin_layout Plain Layout
10272 Font
10273 \end_layout
10274
10275 \end_inset
10276
10277  引数の内容に用いられるフォント.
10278 \begin_inset CommandInset ref
10279 LatexCommand ref
10280 reference "subsec:フォント指定"
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 LabelFont
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 Decoration
10313 \end_layout
10314
10315 \end_inset
10316
10317  [
10318 \begin_inset Flex Code
10319 status collapsed
10320
10321 \begin_layout Plain Layout
10322
10323 \emph on
10324 Classic
10325 \emph default
10326 , Minimalistic, Conglomerate
10327 \end_layout
10328
10329 \end_inset
10330
10331 ] 差込枠の枠とボタンに用いられる装飾様式.
10332 \end_layout
10333
10334 \begin_layout Itemize
10335 \begin_inset Flex Code
10336 status collapsed
10337
10338 \begin_layout Plain Layout
10339 AutoInsert
10340 \end_layout
10341
10342 \end_inset
10343
10344  
10345 \begin_inset Flex Code
10346 status collapsed
10347
10348 \begin_layout Plain Layout
10349 [整数=0]
10350 \end_layout
10351
10352 \end_inset
10353
10354  これが
10355 \begin_inset Flex Code
10356 status collapsed
10357
10358 \begin_layout Plain Layout
10359 1
10360 \end_layout
10361
10362 \end_inset
10363
10364 に設定されると,各様式が選択されたときに,この引数が自動的に挿入されます.現在のところ,様式・レイアウト毎に1変数のみ自動挿入することができます.
10365 \end_layout
10366
10367 \begin_layout Itemize
10368 \begin_inset Flex Code
10369 status collapsed
10370
10371 \begin_layout Plain Layout
10372 InsertCotext
10373 \end_layout
10374
10375 \end_inset
10376
10377  
10378 \begin_inset Flex Code
10379 status collapsed
10380
10381 \begin_layout Plain Layout
10382 [整数=0]
10383 \end_layout
10384
10385 \end_inset
10386
10387  これが
10388 \begin_inset Flex Code
10389 status collapsed
10390
10391 \begin_layout Plain Layout
10392 1
10393 \end_layout
10394
10395 \end_inset
10396
10397 に設定されると,この引数は,副文(選択した文ないしは段落全体)のコピーを内容にとって挿入されます.
10398 \end_layout
10399
10400 \begin_layout Itemize
10401 \begin_inset Flex Code
10402 status collapsed
10403
10404 \begin_layout Plain Layout
10405 PassThru
10406 \end_layout
10407
10408 \end_inset
10409
10410  [
10411 \begin_inset Flex Code
10412 status collapsed
10413
10414 \begin_layout Plain Layout
10415
10416 \emph on
10417 inherited
10418 \emph default
10419 , true, false
10420 \end_layout
10421
10422 \end_inset
10423
10424 ] この引数の内容が,\SpecialChar LaTeX
10425 が要求する特別な書き換えを行うことなく,原文のまま出力されるべきかどうかを指定します.既定値では,
10426 \begin_inset Flex Code
10427 status collapsed
10428
10429 \begin_layout Plain Layout
10430 PassThru
10431 \end_layout
10432
10433 \end_inset
10434
10435 の状態は,引数が属する差込枠または段落レイアウトに継承されます.trueまたはfalseは,この引数のみの状態を変更します.
10436 \end_layout
10437
10438 \begin_layout Itemize
10439 \begin_inset Flex Code
10440 status collapsed
10441
10442 \begin_layout Plain Layout
10443 PassThruChars
10444 \end_layout
10445
10446 \end_inset
10447
10448  [
10449 \begin_inset Flex Code
10450 status collapsed
10451
10452 \begin_layout Plain Layout
10453 文字列
10454 \end_layout
10455
10456 \end_inset
10457
10458 ]
10459 \family typewriter
10460  
10461 \family default
10462 \SpecialChar LaTeX
10463 が要求する特別な翻訳は抜きにして,生の形で出力されるべき各文字を定義します.PassThruとは違って,引数用に,これは明示的に定義されなくてはなりません.つま
10464 り,引数は,親差込枠や親レイアウトからPassThruCharsを継承しません.
10465 \end_layout
10466
10467 \begin_layout Itemize
10468 \begin_inset Flex Code
10469 status collapsed
10470
10471 \begin_layout Plain Layout
10472 IsTocCaption
10473 \end_layout
10474
10475 \end_inset
10476
10477  [
10478 \begin_inset Flex Code
10479 status collapsed
10480
10481 \begin_layout Plain Layout
10482
10483 \emph on
10484 0
10485 \end_layout
10486
10487 \end_inset
10488
10489 ,
10490 \begin_inset space \thinspace{}
10491 \end_inset
10492
10493
10494 \begin_inset Flex Code
10495 status collapsed
10496
10497 \begin_layout Plain Layout
10498 1
10499 \end_layout
10500
10501 \end_inset
10502
10503 ] これを1に設定すると,引数は,その内容を対応する一覧表の項目に出力します.AddToTocを参照.
10504 \end_layout
10505
10506 \begin_layout Standard
10507 既定では,
10508 \begin_inset Flex Code
10509 status collapsed
10510
10511 \begin_layout Plain Layout
10512 LatexType
10513 \end_layout
10514
10515 \end_inset
10516
10517
10518 \begin_inset Flex Code
10519 status collapsed
10520
10521 \begin_layout Plain Layout
10522 Command
10523 \end_layout
10524
10525 \end_inset
10526
10527 のとき,各レイアウトで\SpecialChar LyX
10528 作業領域に入力した文字列は,コマンドの最後の(必須)引数になります.しかしながら,前置句
10529 \begin_inset Flex Code
10530 status collapsed
10531
10532 \begin_layout Plain Layout
10533 post:
10534 \end_layout
10535
10536 \end_inset
10537
10538 を付けた文字列は,この作業領域引数の後に出力されます.後置引数の番号は1から振られ直されますので,作業領域引数の後の最初の引数は
10539 \begin_inset Flex Code
10540 status collapsed
10541
10542 \begin_layout Plain Layout
10543 post:1
10544 \end_layout
10545
10546 \end_inset
10547
10548 となります.後置引数は,
10549 \begin_inset Flex Code
10550 status collapsed
10551
10552 \begin_layout Plain Layout
10553 Command
10554 \end_layout
10555
10556 \end_inset
10557
10558 以外の
10559 \begin_inset Flex Code
10560 status collapsed
10561
10562 \begin_layout Plain Layout
10563 LatexType
10564 \end_layout
10565
10566 \end_inset
10567
10568 では無視されます.
10569 \end_layout
10570
10571 \begin_layout Standard
10572 (
10573 \begin_inset Flex Code
10574 status collapsed
10575
10576 \begin_layout Plain Layout
10577
10578 \backslash
10579 item[foo]
10580 \end_layout
10581
10582 \end_inset
10583
10584 のような)箇条書き
10585 \begin_inset Flex Code
10586 status collapsed
10587
10588 \begin_layout Plain Layout
10589
10590 \backslash
10591 item
10592 \end_layout
10593
10594 \end_inset
10595
10596 の引数は,前置句
10597 \begin_inset Flex Code
10598 status collapsed
10599
10600 \begin_layout Plain Layout
10601 item:
10602 \end_layout
10603
10604 \end_inset
10605
10606 の後に番号を付けます(例:
10607 \begin_inset Flex Code
10608 status collapsed
10609
10610 \begin_layout Plain Layout
10611 Argument item:1
10612 \end_layout
10613
10614 \end_inset
10615
10616 ).
10617 \end_layout
10618
10619 \end_deeper
10620 \begin_layout Description
10621
10622 \change_inserted -712698321 1514710543
10623
10624 \lang english
10625 \begin_inset Flex Code
10626 status collapsed
10627
10628 \begin_layout Plain Layout
10629
10630 \change_inserted -712698321 1514710543
10631
10632 \lang english
10633 AutoNests
10634 \end_layout
10635
10636 \end_inset
10637
10638  Includes a comma-separated list of layout names that should be nested in
10639  and after the current one.
10640  Only makes sense for nestable layouts (such as environments).
10641  Must be ended by 
10642 \begin_inset Quotes eld
10643 \end_inset
10644
10645
10646 \begin_inset Flex Code
10647 status collapsed
10648
10649 \begin_layout Plain Layout
10650
10651 \change_inserted -712698321 1514710543
10652
10653 \lang english
10654 EndAutoNests
10655 \end_layout
10656
10657 \end_inset
10658
10659
10660 \begin_inset Quotes erd
10661 \end_inset
10662
10663 .
10664  See also 
10665 \begin_inset Flex Code
10666 status collapsed
10667
10668 \begin_layout Plain Layout
10669
10670 \change_inserted -712698321 1514710543
10671
10672 \lang english
10673 IsAutoNestedBy
10674 \end_layout
10675
10676 \end_inset
10677
10678 .
10679 \change_unchanged
10680
10681 \end_layout
10682
10683 \begin_layout Description
10684 \begin_inset Flex Code
10685 status collapsed
10686
10687 \begin_layout Plain Layout
10688 BabelPreamble
10689 \end_layout
10690
10691 \end_inset
10692
10693  これは,前に現れたこの様式の
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 EndBabelPreamble
10709 \end_layout
10710
10711 \end_inset
10712
10713 」で閉じる必要があります.これの利用法についての詳細は,第
10714 \begin_inset CommandInset ref
10715 LatexCommand ref
10716 reference "subsec:段落様式の国際化"
10717
10718 \end_inset
10719
10720 節をご覧ください.
10721 \end_layout
10722
10723 \begin_layout Description
10724 \begin_inset Flex Code
10725 status collapsed
10726
10727 \begin_layout Plain Layout
10728 BottomSep
10729 \end_layout
10730
10731 \end_inset
10732
10733  [
10734 \begin_inset Flex Code
10735 status collapsed
10736
10737 \begin_layout Plain Layout
10738 浮動小数点型=0
10739 \end_layout
10740
10741 \end_inset
10742
10743 ]
10744 \begin_inset Foot
10745 status collapsed
10746
10747 \begin_layout Plain Layout
10748 ここで「浮動小数点型」とは1.5のような実数を指します.
10749 \end_layout
10750
10751 \end_inset
10752
10753  このレイアウト型の段落塊の最後の段落と,次の段落とを分離する垂直空白.次の段落が別のレイアウト型である場合,分離幅は足し上げられるのではなく,最大値がとられま
10754 す.
10755 \end_layout
10756
10757 \begin_layout Description
10758 \begin_inset Flex Code
10759 status collapsed
10760
10761 \begin_layout Plain Layout
10762 Category
10763 \end_layout
10764
10765 \end_inset
10766
10767  [
10768 \begin_inset Flex Code
10769 status collapsed
10770
10771 \begin_layout Plain Layout
10772 文字列
10773 \end_layout
10774
10775 \end_inset
10776
10777 ] この様式のカテゴリです.これは,ツールバーのレイアウト・コンボボックスで関連した様式をグループ化するのに用いられます.任意の文字列を使用することができますが
10778 ,作成した様式に既存のカテゴリを使用したいと思うことが多いでしょう.
10779 \end_layout
10780
10781 \begin_layout Description
10782 \begin_inset Flex Code
10783 status collapsed
10784
10785 \begin_layout Plain Layout
10786 CommandDepth
10787 \end_layout
10788
10789 \end_inset
10790
10791  XMLコマンドの深度.XML型の書式でのみ使用されます.
10792 \end_layout
10793
10794 \begin_layout Description
10795 \begin_inset Flex Code
10796 status collapsed
10797
10798 \begin_layout Plain Layout
10799 CopyStyle
10800 \end_layout
10801
10802 \end_inset
10803
10804  [
10805 \begin_inset Flex Code
10806 status collapsed
10807
10808 \begin_layout Plain Layout
10809 文字列
10810 \end_layout
10811
10812 \end_inset
10813
10814 ] 既存の様式から,すべての機能を現在の様式にコピーします.
10815 \end_layout
10816
10817 \begin_layout Description
10818 \begin_inset Flex Code
10819 status collapsed
10820
10821 \begin_layout Plain Layout
10822 DependsOn
10823 \end_layout
10824
10825 \end_inset
10826
10827  [
10828 \begin_inset Flex Code
10829 status collapsed
10830
10831 \begin_layout Plain Layout
10832 <名称>
10833 \end_layout
10834
10835 \end_inset
10836
10837 ]
10838 \lang english
10839  
10840 \lang japanese
10841 この
10842 \emph on
10843 前に
10844 \emph default
10845 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,プリアンブルの断片の順序を確実にするためのものです
10846 \begin_inset Foot
10847 status collapsed
10848
10849 \begin_layout Plain Layout
10850 この機能以外には,プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
10851 の特定のバージョンで観察された順序は,将来のバージョンで警告なしに変わる可能性が
10852 あります.
10853 \end_layout
10854
10855 \end_inset
10856
10857
10858 \end_layout
10859
10860 \begin_layout Description
10861 \begin_inset Flex Code
10862 status collapsed
10863
10864 \begin_layout Plain Layout
10865 EndLabeltype
10866 \end_layout
10867
10868 \end_inset
10869
10870  [
10871 \begin_inset Flex Code
10872 status collapsed
10873
10874 \begin_layout Plain Layout
10875
10876 \emph on
10877 No_Label
10878 \emph default
10879 , Box, Filled_Box, Static
10880 \end_layout
10881
10882 \end_inset
10883
10884 ] 段落の最後(あるいは
10885 \begin_inset Flex Code
10886 status collapsed
10887
10888 \begin_layout Plain Layout
10889 LatexType
10890 \end_layout
10891
10892 \end_inset
10893
10894 が,
10895 \begin_inset Flex Code
10896 status collapsed
10897
10898 \begin_layout Plain Layout
10899 Environment
10900 \end_layout
10901
10902 \end_inset
10903
10904
10905 \begin_inset Flex Code
10906 status collapsed
10907
10908 \begin_layout Plain Layout
10909 Item_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 List_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 No_Label
10930 \end_layout
10931
10932 \end_inset
10933
10934 の場合は「何もない」ことを指し,
10935 \begin_inset Flex Code
10936 status collapsed
10937
10938 \begin_layout Plain Layout
10939 Box
10940 \end_layout
10941
10942 \end_inset
10943
10944 (あるいは
10945 \begin_inset Flex Code
10946 status collapsed
10947
10948 \begin_layout Plain Layout
10949 Filled_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 Static
10960 \end_layout
10961
10962 \end_inset
10963
10964 は明示したテキスト文字列を指します.
10965 \end_layout
10966
10967 \begin_layout Description
10968 \begin_inset Flex Code
10969 status collapsed
10970
10971 \begin_layout Plain Layout
10972 EndLabelString
10973 \end_layout
10974
10975 \end_inset
10976
10977  [
10978 \begin_inset Flex Code
10979 status collapsed
10980
10981 \begin_layout Plain Layout
10982 文字列=""
10983 \end_layout
10984
10985 \end_inset
10986
10987
10988 \begin_inset Flex Code
10989 status collapsed
10990
10991 \begin_layout Plain Layout
10992 Static
10993 \end_layout
10994
10995 \end_inset
10996
10997
10998 \begin_inset Flex Code
10999 status collapsed
11000
11001 \begin_layout Plain Layout
11002 EndLabelType
11003 \end_layout
11004
11005 \end_inset
11006
11007 のラベルで用いる文字列.
11008 \end_layout
11009
11010 \begin_layout Description
11011 \begin_inset Flex Code
11012 status collapsed
11013
11014 \begin_layout Plain Layout
11015 Font
11016 \end_layout
11017
11018 \end_inset
11019
11020  本文テキストとラベルの
11021 \emph on
11022 両方で
11023 \emph default
11024 用いられるフォント.第
11025 \begin_inset CommandInset ref
11026 LatexCommand ref
11027 reference "subsec:フォント指定"
11028
11029 \end_inset
11030
11031 節を参照.このフォントを定義すると,自動的に
11032 \begin_inset Flex Code
11033 status collapsed
11034
11035 \begin_layout Plain Layout
11036 LabelFont
11037 \end_layout
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 \end_layout
11053
11054 \begin_layout Description
11055 \begin_inset Flex Code
11056 status collapsed
11057
11058 \begin_layout Plain Layout
11059 ForceLocal
11060 \end_layout
11061
11062 \end_inset
11063
11064  [
11065 \begin_inset Flex Code
11066 status collapsed
11067
11068 \begin_layout Plain Layout
11069 int=0
11070 \end_layout
11071
11072 \end_inset
11073
11074 ] 新しい様式を\SpecialChar LyX
11075 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
11076  2.1.0です.引数は数字で,0・-1・1以上の任意の数をとることが
11077 できます.様式の
11078 \begin_inset Flex Code
11079 status collapsed
11080
11081 \begin_layout Plain Layout
11082 ForceLocal
11083 \end_layout
11084
11085 \end_inset
11086
11087 フラグが1以上ならば,これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,文書ヘッダからの様式定義が文書クラスに追加されます.したがって,古い
11088 版の\SpecialChar LyX
11089 もこの様式を取り扱えるようになります.
11090 \begin_inset Flex Code
11091 status collapsed
11092
11093 \begin_layout Plain Layout
11094 ForceLocal
11095 \end_layout
11096
11097 \end_inset
11098
11099 の引数は版数です.様式が読み込まれたときに,文書クラス中の既存の様式の版数よりも小さいと,新しい様式は無視されます.版数が大きいと,既存の様式に代わって新しい様
11100 式が用いられます.値-1は無限大の版数を意味し,この様式が常に用いられることになります.
11101 \end_layout
11102
11103 \begin_layout Description
11104 \begin_inset Flex Code
11105 status collapsed
11106
11107 \begin_layout Plain Layout
11108 FreeSpacing
11109 \end_layout
11110
11111 \end_inset
11112
11113  [
11114 \emph on
11115
11116 \begin_inset Flex Code
11117 status collapsed
11118
11119 \begin_layout Plain Layout
11120 0
11121 \end_layout
11122
11123 \end_inset
11124
11125
11126 \emph default
11127 ,
11128 \begin_inset space \thinspace{}
11129 \end_inset
11130
11131
11132 \begin_inset Flex Code
11133 status collapsed
11134
11135 \begin_layout Plain Layout
11136 1
11137 \end_layout
11138
11139 \end_inset
11140
11141 ] \SpecialChar LyX
11142 は,空白をそれ自体文字や記号ではなく,2つの単語の間の分割子として捉えているため,単語間に2つ以上の空白を入れることは,通常許可していません.これ自体はとて
11143 も素晴らしいことですが,たとえばプログラムコードや生の\SpecialChar LaTeX
11144 コードを入力しようとするときなどに,煩わしくなることがあります.このことから,
11145 \begin_inset Flex Code
11146 status collapsed
11147
11148 \begin_layout Plain Layout
11149 FreeSpacing
11150 \end_layout
11151
11152 \end_inset
11153
11154 を有効にすることが認められています.\SpecialChar LyX
11155 は,\SpecialChar LaTeX
11156 モード以外では2つめ以降の空白には,保護された空白を使用することに注意してください.
11157 \end_layout
11158
11159 \begin_layout Description
11160 \begin_inset Flex Code
11161 status collapsed
11162
11163 \begin_layout Plain Layout
11164 HTML*
11165 \end_layout
11166
11167 \end_inset
11168
11169  これらのタグは,XHTML出力で使用されます.第
11170 \begin_inset CommandInset ref
11171 LatexCommand ref
11172 reference "subsec:段落様式-XHTML"
11173
11174 \end_inset
11175
11176 節をご覧ください.
11177 \end_layout
11178
11179 \begin_layout Description
11180 \begin_inset Flex Code
11181 status collapsed
11182
11183 \begin_layout Plain Layout
11184 InnerTag
11185 \end_layout
11186
11187 \end_inset
11188
11189  [[FIXME]] (XML型書式でのみ使用されます.)
11190 \end_layout
11191
11192 \begin_layout Description
11193 \begin_inset Flex Code
11194 status collapsed
11195
11196 \begin_layout Plain Layout
11197 InPreamble
11198 \end_layout
11199
11200 \end_inset
11201
11202  [
11203 \emph on
11204
11205 \begin_inset Flex Code
11206 status collapsed
11207
11208 \begin_layout Plain Layout
11209 0
11210 \end_layout
11211
11212 \end_inset
11213
11214
11215 \emph default
11216 ,
11217 \begin_inset space \thinspace{}
11218 \end_inset
11219
11220
11221 \begin_inset Flex Code
11222 status collapsed
11223
11224 \begin_layout Plain Layout
11225 1
11226 \end_layout
11227
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 です.これは,
11242 \begin_inset Flex Code
11243 status collapsed
11244
11245 \begin_layout Plain Layout
11246 LatexType
11247 \end_layout
11248
11249 \end_inset
11250
11251
11252 \begin_inset Flex Code
11253 status collapsed
11254
11255 \begin_layout Plain Layout
11256 Command
11257 \end_layout
11258
11259 \end_inset
11260
11261 または
11262 \begin_inset Flex Code
11263 status collapsed
11264
11265 \begin_layout Plain Layout
11266 Paragraph
11267 \end_layout
11268
11269 \end_inset
11270
11271 の様式に対してのみ動作します.
11272 \end_layout
11273
11274 \begin_layout Description
11275 \begin_inset Flex Code
11276 status collapsed
11277
11278 \begin_layout Plain Layout
11279 InTitle
11280 \end_layout
11281
11282 \end_inset
11283
11284  [
11285 \emph on
11286
11287 \begin_inset Flex Code
11288 status collapsed
11289
11290 \begin_layout Plain Layout
11291 0
11292 \end_layout
11293
11294 \end_inset
11295
11296
11297 \emph default
11298 ,
11299 \begin_inset space \thinspace{}
11300 \end_inset
11301
11302
11303 \begin_inset Flex Code
11304 status collapsed
11305
11306 \begin_layout Plain Layout
11307 1
11308 \end_layout
11309
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 TitleLatexType
11328 \end_layout
11329
11330 \end_inset
11331
11332
11333 \begin_inset Flex Code
11334 status collapsed
11335
11336 \begin_layout Plain Layout
11337 TitleLatexName
11338 \end_layout
11339
11340 \end_inset
11341
11342 も参照).
11343 \change_inserted -712698321 1514710627
11344
11345 \end_layout
11346
11347 \begin_layout Description
11348
11349 \change_inserted -712698321 1514710627
11350
11351 \lang english
11352 \begin_inset Flex Code
11353 status collapsed
11354
11355 \begin_layout Plain Layout
11356
11357 \change_inserted -712698321 1514710627
11358
11359 \lang english
11360 IsAutoNestedBy
11361 \end_layout
11362
11363 \end_inset
11364
11365  Includes a comma-separated list of layout names after which this one should
11366  be nested.
11367  Only makes sense with regard to nestable layouts (such as environments).
11368  Must be ended by 
11369 \begin_inset Quotes eld
11370 \end_inset
11371
11372
11373 \begin_inset Flex Code
11374 status collapsed
11375
11376 \begin_layout Plain Layout
11377
11378 \change_inserted -712698321 1514710627
11379
11380 \lang english
11381 EndIsAutoNestedBy
11382 \end_layout
11383
11384 \end_inset
11385
11386
11387 \begin_inset Quotes erd
11388 \end_inset
11389
11390 .
11391  See also 
11392 \begin_inset Flex Code
11393 status collapsed
11394
11395 \begin_layout Plain Layout
11396
11397 \change_inserted -712698321 1514710769
11398
11399 \lang english
11400 AutoNests
11401 \end_layout
11402
11403 \end_inset
11404
11405 .
11406 \change_unchanged
11407
11408 \end_layout
11409
11410 \begin_layout Description
11411 \begin_inset Flex Code
11412 status collapsed
11413
11414 \begin_layout Plain Layout
11415 IsTocCaption
11416 \end_layout
11417
11418 \end_inset
11419
11420  [
11421 \begin_inset Flex Code
11422 status collapsed
11423
11424 \begin_layout Plain Layout
11425
11426 \emph on
11427 0
11428 \end_layout
11429
11430 \end_inset
11431
11432 ,
11433 \begin_inset space \thinspace{}
11434 \end_inset
11435
11436
11437 \begin_inset Flex Code
11438 status collapsed
11439
11440 \begin_layout Plain Layout
11441 1
11442 \end_layout
11443
11444 \end_inset
11445
11446 ] これを1に設定すると,AddToTocが有効になり,段落は,その内容の要約を一覧表の項目に表示します.0に設定すると,ラベルが存在すれば,それのみが表示され
11447 ます.
11448 \end_layout
11449
11450 \begin_layout Description
11451 \begin_inset Flex Code
11452 status collapsed
11453
11454 \begin_layout Plain Layout
11455 ItemCommand
11456 \end_layout
11457
11458 \end_inset
11459
11460  [
11461 \begin_inset Flex Code
11462 status collapsed
11463
11464 \begin_layout Plain Layout
11465 文字列="item"
11466 \end_layout
11467
11468 \end_inset
11469
11470 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
11471 コマンド.コマンドは,前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,\SpecialChar LaTeX
11472 出力中では
11473 \begin_inset Flex Code
11474 status collapsed
11475
11476 \begin_layout Plain Layout
11477
11478 \backslash
11479 item
11480 \end_layout
11481
11482 \end_inset
11483
11484 となります).
11485 \end_layout
11486
11487 \begin_layout Description
11488 \begin_inset Flex Code
11489 status collapsed
11490
11491 \begin_layout Plain Layout
11492 ItemSep
11493 \end_layout
11494
11495 \end_inset
11496
11497  [
11498 \begin_inset Flex Code
11499 status collapsed
11500
11501 \begin_layout Plain Layout
11502 浮動小数点型=0
11503 \end_layout
11504
11505 \end_inset
11506
11507 ] これは,同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,それぞれのレイアウトは,その環境の
11508 \begin_inset Flex Code
11509 status collapsed
11510
11511 \begin_layout Plain Layout
11512 ParSep
11513 \end_layout
11514
11515 \end_inset
11516
11517 だけ分離されます.しかし,その環境の項目全体は,さらにこの
11518 \begin_inset Flex Code
11519 status collapsed
11520
11521 \begin_layout Plain Layout
11522 ItemSep
11523 \end_layout
11524
11525 \end_inset
11526
11527 分だけ離されます.これは
11528 \emph on
11529 乗数
11530 \emph default
11531 であることに注意してください.
11532 \end_layout
11533
11534 \begin_layout Description
11535 \begin_inset Flex Code
11536 status collapsed
11537
11538 \begin_layout Plain Layout
11539 ItemTag
11540 \end_layout
11541
11542 \end_inset
11543
11544  [[FIXME]] (XML型書式でのみ使用されます.)
11545 \end_layout
11546
11547 \begin_layout Description
11548 \begin_inset Flex Code
11549 status collapsed
11550
11551 \begin_layout Plain Layout
11552 KeepEmpty
11553 \end_layout
11554
11555 \end_inset
11556
11557  [
11558 \emph on
11559
11560 \begin_inset Flex Code
11561 status collapsed
11562
11563 \begin_layout Plain Layout
11564 0
11565 \end_layout
11566
11567 \end_inset
11568
11569
11570 \emph default
11571 ,
11572 \begin_inset space \thinspace{}
11573 \end_inset
11574
11575
11576 \begin_inset Flex Code
11577 status collapsed
11578
11579 \begin_layout Plain Layout
11580 1
11581 \end_layout
11582
11583 \end_inset
11584
11585 ] 段落を空のままにすると,\SpecialChar LaTeX
11586 出力が空になってしまうので,通常,\SpecialChar LyX
11587 は段落を空にすることを許可しません.しかしながら,これを無効にすることが望ましい場合が存在します.
11588 たとえば,書簡のひな型では,必須フィールドを人々が忘れないように,空のフィールドのまま提供する手もあります.特別なクラスにおいては,レイアウトを実際には文章を含
11589 まないある種の改行として使用することもあります.
11590 \end_layout
11591
11592 \begin_layout Description
11593 \begin_inset Flex Code
11594 status collapsed
11595
11596 \begin_layout Plain Layout
11597 LabelBottomsep
11598 \end_layout
11599
11600 \end_inset
11601
11602  [
11603 \begin_inset Flex Code
11604 status collapsed
11605
11606 \begin_layout Plain Layout
11607 浮動小数点型=0
11608 \end_layout
11609
11610 \end_inset
11611
11612 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
11613 \begin_inset Flex Code
11614 status collapsed
11615
11616 \begin_layout Plain Layout
11617 Top_Environment
11618 \end_layout
11619
11620 \end_inset
11621
11622 および
11623 \begin_inset Newline linebreak
11624 \end_inset
11625
11626
11627 \begin_inset Flex Code
11628 status collapsed
11629
11630 \begin_layout Plain Layout
11631 Centered_Top_Environment
11632 \end_layout
11633
11634 \end_inset
11635
11636 ).
11637 \end_layout
11638
11639 \begin_layout Description
11640 \begin_inset Flex Code
11641 status collapsed
11642
11643 \begin_layout Plain Layout
11644 LabelCounter
11645 \end_layout
11646
11647 \end_inset
11648
11649  [
11650 \begin_inset Flex Code
11651 status collapsed
11652
11653 \begin_layout Plain Layout
11654 文字列=""
11655 \end_layout
11656
11657 \end_inset
11658
11659 ] 自動連番に使われるカウンタ名(詳しくは第
11660 \begin_inset CommandInset ref
11661 LatexCommand ref
11662 reference "subsec:カウンタ"
11663 plural "false"
11664 caps "false"
11665 noprefix "false"
11666
11667 \end_inset
11668
11669 節参照).カウンタがラベル中に表示されるようにするためには,
11670 \begin_inset Flex Code
11671 status collapsed
11672
11673 \begin_layout Plain Layout
11674 LabelString
11675 \end_layout
11676
11677 \end_inset
11678
11679 中で参照する必要があります.これは,少なくとも
11680 \begin_inset Flex Code
11681 status collapsed
11682
11683 \begin_layout Plain Layout
11684 Static
11685 \end_layout
11686
11687 \end_inset
11688
11689
11690 \begin_inset Flex Code
11691 status collapsed
11692
11693 \begin_layout Plain Layout
11694 Above
11695 \end_layout
11696
11697 \end_inset
11698
11699
11700 \begin_inset Flex Code
11701 status collapsed
11702
11703 \begin_layout Plain Layout
11704 Centered
11705 \end_layout
11706
11707 \end_inset
11708
11709 の各
11710 \begin_inset Flex Code
11711 status collapsed
11712
11713 \begin_layout Plain Layout
11714 LabelType
11715 \end_layout
11716
11717 \end_inset
11718
11719 で動作します.
11720 \begin_inset Newline newline
11721 \end_inset
11722
11723 また,
11724 \begin_inset Flex Code
11725 status collapsed
11726
11727 \begin_layout Plain Layout
11728 LabelType
11729 \end_layout
11730
11731 \end_inset
11732
11733
11734 \begin_inset Flex Code
11735 status collapsed
11736
11737 \begin_layout Plain Layout
11738 Enumerate
11739 \end_layout
11740
11741 \end_inset
11742
11743 型のときにも,若干複雑にはなりますが,本項目を使うことができます.たとえば,「
11744 \begin_inset Flex Code
11745 status collapsed
11746
11747 \begin_layout Plain Layout
11748 LabelCounter myenum
11749 \end_layout
11750
11751 \end_inset
11752
11753 」と宣言したものとしましょう.すると,\SpecialChar LaTeX
11754 におけるのと同様,実際に使われるカウンタは,
11755 \begin_inset Flex Code
11756 status collapsed
11757
11758 \begin_layout Plain Layout
11759 myenumi
11760 \end_layout
11761
11762 \end_inset
11763
11764
11765 \begin_inset Flex Code
11766 status collapsed
11767
11768 \begin_layout Plain Layout
11769 myenumii
11770 \end_layout
11771
11772 \end_inset
11773
11774
11775 \begin_inset Flex Code
11776 status collapsed
11777
11778 \begin_layout Plain Layout
11779 myenumii
11780 \end_layout
11781
11782 \end_inset
11783
11784
11785 \begin_inset Flex Code
11786 status collapsed
11787
11788 \begin_layout Plain Layout
11789 myenumiv
11790 \end_layout
11791
11792 \end_inset
11793
11794 のようになります.これらのカウンタは,全て別々に宣言されなくてはなりません.
11795 \begin_inset Newline newline
11796 \end_inset
11797
11798 カウンタの詳細については,
11799 \begin_inset CommandInset ref
11800 LatexCommand ref
11801 reference "subsec:カウンタ"
11802
11803 \end_inset
11804
11805 をご覧ください.
11806 \end_layout
11807
11808 \begin_layout Description
11809 \begin_inset Flex Code
11810 status collapsed
11811
11812 \begin_layout Plain Layout
11813 LabelFont
11814 \end_layout
11815
11816 \end_inset
11817
11818  ラベルに使用されるフォント.
11819 \begin_inset CommandInset ref
11820 LatexCommand ref
11821 reference "subsec:フォント指定"
11822
11823 \end_inset
11824
11825 を参照.
11826 \end_layout
11827
11828 \begin_layout Description
11829 \begin_inset Flex Code
11830 status collapsed
11831
11832 \begin_layout Plain Layout
11833 LabelIndent
11834 \end_layout
11835
11836 \end_inset
11837
11838  [
11839 \begin_inset Flex Code
11840 status collapsed
11841
11842 \begin_layout Plain Layout
11843 文字列=""
11844 \end_layout
11845
11846 \end_inset
11847
11848 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
11849 \end_layout
11850
11851 \begin_layout Description
11852 \begin_inset Flex Code
11853 status collapsed
11854
11855 \begin_layout Plain Layout
11856 LabelSep
11857 \end_layout
11858
11859 \end_inset
11860
11861  [
11862 \begin_inset Flex Code
11863 status collapsed
11864
11865 \begin_layout Plain Layout
11866 文字列=""
11867 \end_layout
11868
11869 \end_inset
11870
11871 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
11872 \end_layout
11873
11874 \begin_layout Description
11875 \begin_inset Flex Code
11876 status collapsed
11877
11878 \begin_layout Plain Layout
11879 LabelString
11880 \end_layout
11881
11882 \end_inset
11883
11884  [
11885 \begin_inset Flex Code
11886 status collapsed
11887
11888 \begin_layout Plain Layout
11889 文字列=""
11890 \end_layout
11891
11892 \end_inset
11893
11894
11895 \begin_inset Flex Code
11896 status collapsed
11897
11898 \begin_layout Plain Layout
11899 Static
11900 \end_layout
11901
11902 \end_inset
11903
11904 ラベル型でラベルに使用する文字列.
11905 \begin_inset Flex Code
11906 status collapsed
11907
11908 \begin_layout Plain Layout
11909 LabelCounter
11910 \end_layout
11911
11912 \end_inset
11913
11914 を設定している場合,
11915 \begin_inset CommandInset ref
11916 LatexCommand ref
11917 reference "subsec:カウンタ"
11918
11919 \end_inset
11920
11921 に述べられている特別な整形コマンドを含めることができます.
11922 \end_layout
11923
11924 \begin_layout Description
11925 \begin_inset Flex Code
11926 status collapsed
11927
11928 \begin_layout Plain Layout
11929 LabelStringAppendix
11930 \end_layout
11931
11932 \end_inset
11933
11934  [
11935 \begin_inset Flex Code
11936 status collapsed
11937
11938 \begin_layout Plain Layout
11939 文字列=""
11940 \end_layout
11941
11942 \end_inset
11943
11944 ] これは付録の中で
11945 \begin_inset Flex Code
11946 status collapsed
11947
11948 \begin_layout Plain Layout
11949 LabelString
11950 \end_layout
11951
11952 \end_inset
11953
11954 の代わりに用いられます.各
11955 \begin_inset Flex Code
11956 status collapsed
11957
11958 \begin_layout Plain Layout
11959 LabelString
11960 \end_layout
11961
11962 \end_inset
11963
11964 ステートメントは,
11965 \begin_inset Flex Code
11966 status collapsed
11967
11968 \begin_layout Plain Layout
11969 LabelStringAppendix
11970 \end_layout
11971
11972 \end_inset
11973
11974 をもリセットすることに注意してください.
11975 \end_layout
11976
11977 \begin_layout Description
11978 \begin_inset Flex Code
11979 status collapsed
11980
11981 \begin_layout Plain Layout
11982 LabelTag
11983 \end_layout
11984
11985 \end_inset
11986
11987  [FIXME] (XML型書式でのみ使用されます.)
11988 \end_layout
11989
11990 \begin_layout Description
11991 \begin_inset Flex Code
11992 status collapsed
11993
11994 \begin_layout Plain Layout
11995 LabelType
11996 \end_layout
11997
11998 \end_inset
11999
12000  [
12001 \begin_inset Flex Code
12002 status collapsed
12003
12004 \begin_layout Plain Layout
12005
12006 \emph on
12007 No_Label
12008 \emph default
12009 , Manual, Static, Above,
12010 \begin_inset Newline newline
12011 \end_inset
12012
12013 Centered, Sensitive, Enumerate,
12014 \begin_inset Newline newline
12015 \end_inset
12016
12017 Itemize, Bibliography
12018 \end_layout
12019
12020 \end_inset
12021
12022 ]
12023 \end_layout
12024
12025 \begin_deeper
12026 \begin_layout Description
12027 \begin_inset Flex Code
12028 status collapsed
12029
12030 \begin_layout Plain Layout
12031 Manual
12032 \end_layout
12033
12034 \end_inset
12035
12036  は,ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,保護された空白を使用してください.
12037 \end_layout
12038
12039 \begin_layout Description
12040 \begin_inset Flex Code
12041 status collapsed
12042
12043 \begin_layout Plain Layout
12044 Static
12045 \end_layout
12046
12047 \end_inset
12048
12049  は,ラベルが
12050 \begin_inset Flex Code
12051 status collapsed
12052
12053 \begin_layout Plain Layout
12054 LabelString
12055 \end_layout
12056
12057 \end_inset
12058
12059 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
12060 \begin_inset Flex Code
12061 status collapsed
12062
12063 \begin_layout Plain Layout
12064 LatexType
12065 \end_layout
12066
12067 \end_inset
12068
12069
12070 \begin_inset Flex Code
12071 status collapsed
12072
12073 \begin_layout Plain Layout
12074 Environment
12075 \end_layout
12076
12077 \end_inset
12078
12079 のときは,連続する同じ
12080 \begin_inset Flex Code
12081 status collapsed
12082
12083 \begin_layout Plain Layout
12084 Style
12085 \end_layout
12086
12087 \end_inset
12088
12089 の段落中,最初の段落にのみ表示されます.
12090 \end_layout
12091
12092 \begin_layout Description
12093 \begin_inset Flex Code
12094 status collapsed
12095
12096 \begin_layout Plain Layout
12097 Above
12098 \end_layout
12099
12100 \end_inset
12101
12102 および
12103 \begin_inset Flex Code
12104 status collapsed
12105
12106 \begin_layout Plain Layout
12107 Centered
12108 \end_layout
12109
12110 \end_inset
12111
12112  は,
12113 \begin_inset Flex Code
12114 status collapsed
12115
12116 \begin_layout Plain Layout
12117 Static
12118 \end_layout
12119
12120 \end_inset
12121
12122 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
12123 \end_layout
12124
12125 \begin_layout Description
12126 \begin_inset Flex Code
12127 status collapsed
12128
12129 \begin_layout Plain Layout
12130 Sensitive
12131 \end_layout
12132
12133 \end_inset
12134
12135  はキャプションラベルの「図」や「表」の特別な場合です.
12136 \begin_inset Flex Code
12137 status collapsed
12138
12139 \begin_layout Plain Layout
12140 Sensitive
12141 \end_layout
12142
12143 \end_inset
12144
12145 は,(ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,フロートに関連付けられたカウンタの値がNであるものとすると,「Float
12146 Type N」にハードコードされています.キャプションがフロートの外に挿入されると,
12147 \begin_inset Flex Code
12148 status collapsed
12149
12150 \begin_layout Plain Layout
12151 LabelString
12152 \end_layout
12153
12154 \end_inset
12155
12156 は「意味を成しません!」と表示されます.
12157 \end_layout
12158
12159 \begin_layout Description
12160 \begin_inset Flex Code
12161 status collapsed
12162
12163 \begin_layout Plain Layout
12164 Enumerate
12165 \end_layout
12166
12167 \end_inset
12168
12169  は,通常の連番ラベルを生成します.
12170 \lang english
12171 The number type needs to be set in the 
12172 \family sans
12173 Counter
12174 \family default
12175 , see 
12176 \lang japanese
12177
12178 \begin_inset CommandInset ref
12179 LatexCommand ref
12180 reference "subsec:カウンタ"
12181
12182 \end_inset
12183
12184
12185 \end_layout
12186
12187 \begin_layout Description
12188 \begin_inset Flex Code
12189 status collapsed
12190
12191 \begin_layout Plain Layout
12192 Itemize
12193 \end_layout
12194
12195 \end_inset
12196
12197  は,各階層でさまざまなブリットを生成します.
12198 \lang english
12199 The bullet types displayed can be set via 
12200 \begin_inset Flex Noun
12201 status collapsed
12202
12203 \begin_layout Plain Layout
12204
12205 \lang english
12206 Document\SpecialChar menuseparator
12207 Settings\SpecialChar menuseparator
12208 Bullets
12209 \end_layout
12210
12211 \end_inset
12212
12213 .
12214 \end_layout
12215
12216 \begin_layout Description
12217 \begin_inset Flex Code
12218 status collapsed
12219
12220 \begin_layout Plain Layout
12221 Bibliography
12222 \end_layout
12223
12224 \end_inset
12225
12226  は,
12227 \begin_inset Flex Code
12228 status collapsed
12229
12230 \begin_layout Plain Layout
12231 LatexType BibEnvironment
12232 \end_layout
12233
12234 \end_inset
12235
12236 とともにのみ使用されます.
12237 \end_layout
12238
12239 \end_deeper
12240 \begin_layout Description
12241 \begin_inset Flex Code
12242 status collapsed
12243
12244 \begin_layout Plain Layout
12245 LangPreamble
12246 \end_layout
12247
12248 \end_inset
12249
12250  これは,この様式で既に出現した
12251 \begin_inset Flex Code
12252 status collapsed
12253
12254 \begin_layout Plain Layout
12255 LangPreamble
12256 \end_layout
12257
12258 \end_inset
12259
12260 宣言をすべて,完全に上書きしますので,注意してください.使用法についての詳細は,
12261 \begin_inset CommandInset ref
12262 LatexCommand ref
12263 reference "subsec:段落様式の国際化"
12264
12265 \end_inset
12266
12267 をご覧ください.
12268 \end_layout
12269
12270 \begin_layout Description
12271 \begin_inset Flex Code
12272 status collapsed
12273
12274 \begin_layout Plain Layout
12275 LatexName
12276 \end_layout
12277
12278 \end_inset
12279
12280  [
12281 \begin_inset Flex Code
12282 status collapsed
12283
12284 \begin_layout Plain Layout
12285 <名称>
12286 \end_layout
12287
12288 \end_inset
12289
12290 ] 対応する\SpecialChar LaTeX
12291 の名称です.環境名かコマンド名を指します.
12292 \end_layout
12293
12294 \begin_layout Description
12295 \begin_inset Flex Code
12296 status collapsed
12297
12298 \begin_layout Plain Layout
12299 LatexParam
12300 \end_layout
12301
12302 \end_inset
12303
12304  [
12305 \begin_inset Flex Code
12306 status collapsed
12307
12308 \begin_layout Plain Layout
12309 <パラメータ>
12310 \end_layout
12311
12312 \end_inset
12313
12314 ] 対応する
12315 \begin_inset Flex Code
12316 status collapsed
12317
12318 \begin_layout Plain Layout
12319 LatexName
12320 \end_layout
12321
12322 \end_inset
12323
12324 の非必須パラメータです.このパラメータは,\SpecialChar LyX
12325 内部から変更することはできません(変更可能なパラメータには
12326 \begin_inset Flex Code
12327 status collapsed
12328
12329 \begin_layout Plain Layout
12330 Argument
12331 \end_layout
12332
12333 \end_inset
12334
12335 を使用してください).これは,全ての\SpecialChar LaTeX
12336  
12337 \begin_inset Flex Code
12338 status collapsed
12339
12340 \begin_layout Plain Layout
12341 Argument
12342 \end_layout
12343
12344 \end_inset
12345
12346 の後にそのままの形で出力されます.
12347 \end_layout
12348
12349 \begin_layout Description
12350 \begin_inset Flex Code
12351 status collapsed
12352
12353 \begin_layout Plain Layout
12354 LatexType
12355 \end_layout
12356
12357 \end_inset
12358
12359  [
12360 \begin_inset Flex Code
12361 status collapsed
12362
12363 \begin_layout Plain Layout
12364
12365 \emph on
12366 Paragraph
12367 \emph default
12368 , Command, Environment, Item_Environment,
12369 \begin_inset Newline newline
12370 \end_inset
12371
12372 List_Environment, Bib_Environment
12373 \end_layout
12374
12375 \end_inset
12376
12377 ] レイアウトがどのように\SpecialChar LaTeX
12378 に変換されるべきかを示します
12379 \begin_inset Foot
12380 status collapsed
12381
12382 \begin_layout Plain Layout
12383 これらのルールはSGMLクラスにも適用されるので,
12384 \begin_inset Flex Code
12385 status collapsed
12386
12387 \begin_layout Plain Layout
12388 LatexType
12389 \end_layout
12390
12391 \end_inset
12392
12393 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイル(ファイル名
12394 \begin_inset Flex Code
12395 status collapsed
12396
12397 \begin_layout Plain Layout
12398 db_*.inc
12399 \end_layout
12400
12401 \end_inset
12402
12403 )を見てください.
12404 \end_layout
12405
12406 \end_inset
12407
12408
12409 \end_layout
12410
12411 \begin_deeper
12412 \begin_layout Description
12413 \begin_inset Flex Code
12414 status collapsed
12415
12416 \begin_layout Plain Layout
12417 Paragraph
12418 \end_layout
12419
12420 \end_inset
12421
12422  は,何も特別なことは意味しません.
12423 \end_layout
12424
12425 \begin_layout Description
12426 \begin_inset Flex Code
12427 status collapsed
12428
12429 \begin_layout Plain Layout
12430 Command
12431 \end_layout
12432
12433 \end_inset
12434
12435  は,
12436 \begin_inset Flex Code
12437 status collapsed
12438
12439 \begin_layout Plain Layout
12440
12441 \backslash
12442
12443 \emph on
12444 LatexName
12445 \emph default
12446 {\SpecialChar ldots
12447 }
12448 \end_layout
12449
12450 \end_inset
12451
12452 を意味します.
12453 \end_layout
12454
12455 \begin_layout Description
12456 \begin_inset Flex Code
12457 status collapsed
12458
12459 \begin_layout Plain Layout
12460 Environment
12461 \end_layout
12462
12463 \end_inset
12464
12465  は,
12466 \begin_inset Flex Code
12467 status collapsed
12468
12469 \begin_layout Plain Layout
12470
12471 \backslash
12472 begin{
12473 \emph on
12474 LatexName
12475 \emph default
12476 }\SpecialChar ldots
12477
12478 \backslash
12479 end{
12480 \emph on
12481 LatexName
12482 \emph default
12483 }
12484 \end_layout
12485
12486 \end_inset
12487
12488 を意味します.
12489 \end_layout
12490
12491 \begin_layout Description
12492 \begin_inset Flex Code
12493 status collapsed
12494
12495 \begin_layout Plain Layout
12496 Item_Environment
12497 \end_layout
12498
12499 \end_inset
12500
12501  は
12502 \begin_inset Flex Code
12503 status collapsed
12504
12505 \begin_layout Plain Layout
12506 Environment
12507 \end_layout
12508
12509 \end_inset
12510
12511 と同じですが,
12512 \begin_inset Flex Code
12513 status collapsed
12514
12515 \begin_layout Plain Layout
12516
12517 \backslash
12518 item
12519 \end_layout
12520
12521 \end_inset
12522
12523 がこの環境のすべての段落に付けられるところだけが異なっています.
12524 \end_layout
12525
12526 \begin_layout Description
12527 \begin_inset Flex Code
12528 status collapsed
12529
12530 \begin_layout Plain Layout
12531 List_Environment
12532 \end_layout
12533
12534 \end_inset
12535
12536  は
12537 \begin_inset Flex Code
12538 status collapsed
12539
12540 \begin_layout Plain Layout
12541 Item_Environment
12542 \end_layout
12543
12544 \end_inset
12545
12546 と同じですが,
12547 \begin_inset Flex Code
12548 status collapsed
12549
12550 \begin_layout Plain Layout
12551 LabelWidthString
12552 \end_layout
12553
12554 \end_inset
12555
12556 が環境の引数として渡されるところだけが異なっています.
12557 \begin_inset Flex Code
12558 status collapsed
12559
12560 \begin_layout Plain Layout
12561 LabelWidthString
12562 \end_layout
12563
12564 \end_inset
12565
12566 は,
12567 \begin_inset Flex MenuItem
12568 status collapsed
12569
12570 \begin_layout Plain Layout
12571 編集\SpecialChar menuseparator
12572 段落設定
12573 \end_layout
12574
12575 \end_inset
12576
12577 ダイアログで定義することができます.
12578 \end_layout
12579
12580 \begin_layout Description
12581 \begin_inset Flex Code
12582 status collapsed
12583
12584 \begin_layout Plain Layout
12585 Bib_Environment
12586 \end_layout
12587
12588 \end_inset
12589
12590  は
12591 \begin_inset Flex Code
12592 status collapsed
12593
12594 \begin_layout Plain Layout
12595 Environment
12596 \end_layout
12597
12598 \end_inset
12599
12600 に似ていますが,以下のように,書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
12601 \begin_inset Newline newline
12602 \end_inset
12603
12604
12605 \begin_inset Flex Code
12606 status collapsed
12607
12608 \begin_layout Plain Layout
12609
12610 \backslash
12611 begin{thebibliography}{99}
12612 \end_layout
12613
12614 \end_inset
12615
12616
12617 \begin_inset Newline newline
12618 \end_inset
12619
12620 したがって,これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,書誌情報項目の段落設定で,ユーザーが変更することができます.
12621 \end_layout
12622
12623 \begin_layout Standard
12624 上記最後のいくつかをまとめると,\SpecialChar LaTeX
12625 出力は,\SpecialChar LaTeX
12626 型に依存して
12627 \end_layout
12628
12629 \begin_layout LyX-Code
12630
12631 \backslash
12632 LatexName[LatexParam]{\SpecialChar ldots
12633 }
12634 \end_layout
12635
12636 \begin_layout Standard
12637 のようになるか,
12638 \end_layout
12639
12640 \begin_layout LyX-Code
12641
12642 \backslash
12643 begin{LatexName}[LatexParam] \SpecialChar ldots
12644  
12645 \backslash
12646 end{LatexName}.
12647 \end_layout
12648
12649 \begin_layout Standard
12650 となります.
12651 \end_layout
12652
12653 \end_deeper
12654 \begin_layout Description
12655 \begin_inset Flex Code
12656 status collapsed
12657
12658 \begin_layout Plain Layout
12659 LeftDelim
12660 \end_layout
12661
12662 \end_inset
12663
12664  [
12665 \begin_inset Flex Code
12666 status collapsed
12667
12668 \begin_layout Plain Layout
12669 文字列
12670 \end_layout
12671
12672 \end_inset
12673
12674 ] 様式の内容の最初に置かれる文字列.出力中の改行は
12675 \begin_inset Flex Code
12676 status collapsed
12677
12678 \begin_layout Plain Layout
12679 <br/>
12680 \end_layout
12681
12682 \end_inset
12683
12684 で指示できます.
12685 \end_layout
12686
12687 \begin_layout Description
12688 \begin_inset Flex Code
12689 status collapsed
12690
12691 \begin_layout Plain Layout
12692 LeftMargin
12693 \end_layout
12694
12695 \end_inset
12696
12697  [
12698 \begin_inset Flex Code
12699 status collapsed
12700
12701 \begin_layout Plain Layout
12702 文字列=""
12703 \end_layout
12704
12705 \end_inset
12706
12707 ] レイアウトを環境の中に入れた場合,左余白は単純に加えられるのではなく,因子
12708 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
12709 \end_inset
12710
12711 をかけて加えられます.このパラメータは,
12712 \begin_inset Flex Code
12713 status collapsed
12714
12715 \begin_layout Plain Layout
12716 Margin
12717 \end_layout
12718
12719 \end_inset
12720
12721
12722 \begin_inset Flex Code
12723 status collapsed
12724
12725 \begin_layout Plain Layout
12726 Manual
12727 \end_layout
12728
12729 \end_inset
12730
12731 あるいは
12732 \begin_inset Flex Code
12733 status collapsed
12734
12735 \begin_layout Plain Layout
12736 Dynamic
12737 \end_layout
12738
12739 \end_inset
12740
12741 に設定されているときにも用いられることに注意してください.その場合には,これは手動設定余白または動的設定余白に加えられることに注意してください.
12742 \begin_inset Newline newline
12743 \end_inset
12744
12745 たとえば「
12746 \begin_inset Flex Code
12747 status collapsed
12748
12749 \begin_layout Plain Layout
12750 MM
12751 \end_layout
12752
12753 \end_inset
12754
12755 」と指定すると,段落を通常フォントの「
12756 \begin_inset Flex Code
12757 status collapsed
12758
12759 \begin_layout Plain Layout
12760 MM
12761 \end_layout
12762
12763 \end_inset
12764
12765 」の幅だけ行頭下げを行います.文字列の前に「
12766 \begin_inset Flex Code
12767 status collapsed
12768
12769 \begin_layout Plain Layout
12770 -
12771 \end_layout
12772
12773 \end_inset
12774
12775 」を付けると,負の幅を与えることができます.この方法が採用されたのは,どの画面フォントでも見かけが同じになるようにするためです.
12776 \end_layout
12777
12778 \begin_layout Description
12779 \begin_inset Flex Code
12780 status collapsed
12781
12782 \begin_layout Plain Layout
12783 Margin
12784 \end_layout
12785
12786 \end_inset
12787
12788  [
12789 \begin_inset Flex Code
12790 status collapsed
12791
12792 \begin_layout Plain Layout
12793
12794 \emph on
12795 Static
12796 \emph default
12797 , Manual, Dynamic, First_Dynamic, Right_Address_Box
12798 \end_layout
12799
12800 \end_inset
12801
12802
12803 \begin_inset Newline newline
12804 \end_inset
12805
12806 このレイアウトの左余白の種類です.
12807 \end_layout
12808
12809 \begin_deeper
12810 \begin_layout Description
12811 \begin_inset Flex Code
12812 status collapsed
12813
12814 \begin_layout Plain Layout
12815 Static
12816 \end_layout
12817
12818 \end_inset
12819
12820  は固定余白を示します.
12821 \end_layout
12822
12823 \begin_layout Description
12824 \begin_inset Flex Code
12825 status collapsed
12826
12827 \begin_layout Plain Layout
12828 Manual
12829 \end_layout
12830
12831 \end_inset
12832
12833  は,左余白が
12834 \begin_inset Flex MenuItem
12835 status collapsed
12836
12837 \begin_layout Plain Layout
12838 編集\SpecialChar menuseparator
12839 段落設定
12840 \end_layout
12841
12842 \end_inset
12843
12844 ダイアログで入力した文字列によって決められることを示します.これは,タブを用いずに整った一覧表を組むのに使用されます.
12845 \end_layout
12846
12847 \begin_layout Description
12848 \begin_inset Flex Code
12849 status collapsed
12850
12851 \begin_layout Plain Layout
12852 Dynamic
12853 \end_layout
12854
12855 \end_inset
12856
12857  は,余白がラベルの大きさに依存することを示します.これは,自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,「3.2
12858  非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
12859 \end_layout
12860
12861 \begin_layout Description
12862 \begin_inset Flex Code
12863 status collapsed
12864
12865 \begin_layout Plain Layout
12866 First_Dynamic
12867 \end_layout
12868
12869 \end_inset
12870
12871  は似ていますが,段落の最初の行だけがDynamicでその他の行はStaticです.これは,たとえば,箇条書き(記述)に使用されます.
12872 \end_layout
12873
12874 \begin_layout Description
12875 \begin_inset Flex Code
12876 status collapsed
12877
12878 \begin_layout Plain Layout
12879 Right_Address_Box
12880 \end_layout
12881
12882 \end_inset
12883
12884  は,段落中,最も長い行が右余白に合うように余白を選択します.これは,ページの右端に住所を組版するのに用いられます.
12885 \end_layout
12886
12887 \end_deeper
12888 \begin_layout Description
12889 \begin_inset Flex Code
12890 status collapsed
12891
12892 \begin_layout Plain Layout
12893 NeedProtect
12894 \end_layout
12895
12896 \end_inset
12897
12898  [
12899 \begin_inset Flex Code
12900 status collapsed
12901
12902 \begin_layout Plain Layout
12903
12904 \emph on
12905 0
12906 \end_layout
12907
12908 \end_inset
12909
12910 ,
12911 \begin_inset space \thinspace{}
12912 \end_inset
12913
12914
12915 \begin_inset Flex Code
12916 status collapsed
12917
12918 \begin_layout Plain Layout
12919 1
12920 \end_layout
12921
12922 \end_inset
12923
12924 ] このレイアウト中の脆弱なコマンドが
12925 \begin_inset Flex Code
12926 status collapsed
12927
12928 \begin_layout Plain Layout
12929
12930 \backslash
12931 protect
12932 \end_layout
12933
12934 \end_inset
12935
12936 されるべきか否か(註:これはこのコマンド自体が
12937 \begin_inset Flex Code
12938 status collapsed
12939
12940 \begin_layout Plain Layout
12941
12942 \backslash
12943 protect
12944 \end_layout
12945
12946 \end_inset
12947
12948 されるべきかでは
12949 \emph on
12950 ありません
12951 \emph default
12952 ).
12953 \end_layout
12954
12955 \begin_layout Description
12956 \begin_inset Flex Code
12957 status collapsed
12958
12959 \begin_layout Plain Layout
12960 Newline
12961 \end_layout
12962
12963 \end_inset
12964
12965  [
12966 \begin_inset Flex Code
12967 status collapsed
12968
12969 \begin_layout Plain Layout
12970 0
12971 \end_layout
12972
12973 \end_inset
12974
12975 ,
12976 \begin_inset space \thinspace{}
12977 \end_inset
12978
12979
12980 \begin_inset Flex Code
12981 status collapsed
12982
12983 \begin_layout Plain Layout
12984
12985 \emph on
12986 1
12987 \end_layout
12988
12989 \end_inset
12990
12991 ] 新規行を\SpecialChar LaTeX
12992 の新規行(
12993 \begin_inset Flex Code
12994 status collapsed
12995
12996 \begin_layout Plain Layout
12997
12998 \backslash
12999
13000 \backslash
13001
13002 \end_layout
13003
13004 \end_inset
13005
13006 )に変換するか否か.\SpecialChar LyX
13007 中で\SpecialChar LaTeX
13008 編集をやりやすくするために,変換は無効にすることができます.
13009 \end_layout
13010
13011 \begin_layout Description
13012 \begin_inset Flex Code
13013 status collapsed
13014
13015 \begin_layout Plain Layout
13016 NextNoIndent
13017 \end_layout
13018
13019 \end_inset
13020
13021  [
13022 \begin_inset Flex Code
13023 status collapsed
13024
13025 \begin_layout Plain Layout
13026
13027 \emph on
13028 0
13029 \end_layout
13030
13031 \end_inset
13032
13033 ,
13034 \begin_inset space \thinspace{}
13035 \end_inset
13036
13037
13038 \begin_inset Flex Code
13039 status collapsed
13040
13041 \begin_layout Plain Layout
13042 1
13043 \end_layout
13044
13045 \end_inset
13046
13047 ] 真に設定すると,
13048 \begin_inset Flex Code
13049 status collapsed
13050
13051 \begin_layout Plain Layout
13052 DefaultStyle
13053 \end_layout
13054
13055 \end_inset
13056
13057  (通常
13058 \begin_inset Flex Code
13059 status collapsed
13060
13061 \begin_layout Plain Layout
13062 Standard
13063 \end_layout
13064
13065 \end_inset
13066
13067 )段落が行頭下げになっている場合でも,この型の段落に続くそれらの段落は,字下げされません(逆に言えば,既定でない段落には影響を与えません).
13068 \end_layout
13069
13070 \begin_layout Description
13071 \begin_inset Flex Code
13072 status collapsed
13073
13074 \begin_layout Plain Layout
13075 ObsoletedBy
13076 \end_layout
13077
13078 \end_inset
13079
13080  [
13081 \begin_inset Flex Code
13082 status collapsed
13083
13084 \begin_layout Plain Layout
13085 <名称>
13086 \end_layout
13087
13088 \end_inset
13089
13090 ] このレイアウトが置き換えられたレイアウト名.これは,後方互換性を維持しながら,レイアウトの名称を変更するのに使用されます.
13091 \end_layout
13092
13093 \begin_layout Description
13094 \begin_inset Flex Code
13095 status collapsed
13096
13097 \begin_layout Plain Layout
13098 ParagraphGroup
13099 \end_layout
13100
13101 \end_inset
13102
13103  [
13104 \begin_inset Flex Code
13105 status collapsed
13106
13107 \begin_layout Plain Layout
13108 0
13109 \end_layout
13110
13111 \end_inset
13112
13113 ,
13114 \begin_inset space \thinspace{}
13115 \end_inset
13116
13117
13118 \begin_inset Flex Code
13119 status collapsed
13120
13121 \begin_layout Plain Layout
13122 1
13123 \end_layout
13124
13125 \end_inset
13126
13127 ] 同じ型の段落が引き続く場合,同じ段落として取り扱うか否かを決定します.これは,そのような連続グループに対して,
13128 \begin_inset Flex Code
13129 status collapsed
13130
13131 \begin_layout Plain Layout
13132 GuiLabel
13133 \end_layout
13134
13135 \end_inset
13136
13137 が一度だけ出力される効果があります.既定では,
13138 \begin_inset Flex Code
13139 status collapsed
13140
13141 \begin_layout Plain Layout
13142 LaTeXType
13143 \end_layout
13144
13145 \end_inset
13146
13147
13148 \begin_inset Flex Code
13149 status collapsed
13150
13151 \begin_layout Plain Layout
13152 Environment
13153 \end_layout
13154
13155 \end_inset
13156
13157 および
13158 \begin_inset Flex Code
13159 status collapsed
13160
13161 \begin_layout Plain Layout
13162 Bib_Environment
13163 \end_layout
13164
13165 \end_inset
13166
13167  については有効であり,他の型すべてについて無効になっています.
13168 \end_layout
13169
13170 \begin_layout Description
13171 \begin_inset Flex Code
13172 status collapsed
13173
13174 \begin_layout Plain Layout
13175 ParbreakIsNewline
13176 \end_layout
13177
13178 \end_inset
13179
13180  [
13181 \begin_inset Flex Code
13182 status collapsed
13183
13184 \begin_layout Plain Layout
13185
13186 \emph on
13187 0
13188 \end_layout
13189
13190 \end_inset
13191
13192 ,
13193 \begin_inset space \thinspace{}
13194 \end_inset
13195
13196
13197 \begin_inset Flex Code
13198 status collapsed
13199
13200 \begin_layout Plain Layout
13201 1
13202 \end_layout
13203
13204 \end_inset
13205
13206 ] \SpecialChar LaTeX
13207 出力中で,段落を空行ではなく,改行で区切るよう指定します.
13208 \begin_inset Flex Code
13209 status collapsed
13210
13211 \begin_layout Plain Layout
13212 PassThru 1
13213 \end_layout
13214
13215 \end_inset
13216
13217 と併用すれば,(\SpecialChar TeX
13218 コードを使用したときのように)テキストエディタをエミュレートすることができます.
13219 \end_layout
13220
13221 \begin_layout Description
13222 \begin_inset Flex Code
13223 status collapsed
13224
13225 \begin_layout Plain Layout
13226 ParIndent
13227 \end_layout
13228
13229 \end_inset
13230
13231  [
13232 \begin_inset Flex Code
13233 status collapsed
13234
13235 \begin_layout Plain Layout
13236 文字列=""
13237 \end_layout
13238
13239 \end_inset
13240
13241 ] 段落の最初の行の行頭下げ.レイアウトによっては
13242 \begin_inset Flex Code
13243 status collapsed
13244
13245 \begin_layout Plain Layout
13246 Parindent
13247 \end_layout
13248
13249 \end_inset
13250
13251 は固定されています.例外には標準レイアウトがあり,標準レイアウトの段落の行頭下げは,
13252 \begin_inset Flex Code
13253 status collapsed
13254
13255 \begin_layout Plain Layout
13256 NextNoIndent
13257 \end_layout
13258
13259 \end_inset
13260
13261 で禁止することができるようになっています.また,環境中の標準レイアウト段落は,当該段落の
13262 \begin_inset Flex Code
13263 status collapsed
13264
13265 \begin_layout Plain Layout
13266 Parindent
13267 \end_layout
13268
13269 \end_inset
13270
13271 ではなく,この環境の
13272 \begin_inset Flex Code
13273 status collapsed
13274
13275 \begin_layout Plain Layout
13276 Parindent
13277 \end_layout
13278
13279 \end_inset
13280
13281 を使用します.たとえば,箇条書き(連番)内の標準段落は,行頭下げされません.
13282 \end_layout
13283
13284 \begin_layout Description
13285 \begin_inset Flex Code
13286 status collapsed
13287
13288 \begin_layout Plain Layout
13289 ParSep
13290 \end_layout
13291
13292 \end_inset
13293
13294  [
13295 \begin_inset Flex Code
13296 status collapsed
13297
13298 \begin_layout Plain Layout
13299 浮動小数点型=0
13300 \end_layout
13301
13302 \end_inset
13303
13304 ] このレイアウトの2段落間の垂直余白.
13305 \end_layout
13306
13307 \begin_layout Description
13308 \begin_inset Flex Code
13309 status collapsed
13310
13311 \begin_layout Plain Layout
13312 Parskip
13313 \end_layout
13314
13315 \end_inset
13316
13317  [
13318 \begin_inset Flex Code
13319 status collapsed
13320
13321 \begin_layout Plain Layout
13322 浮動小数点型=0
13323 \end_layout
13324
13325 \end_inset
13326
13327 ] \SpecialChar LyX
13328 では,文書を組版するのに,ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,この値は完全に無視されます.「スキップ」を選
13329 択した際には,\SpecialChar LaTeX
13330 型「段落」レイアウトの
13331 \begin_inset Flex Code
13332 status collapsed
13333
13334 \begin_layout Plain Layout
13335 ParIndent
13336 \end_layout
13337
13338 \end_inset
13339
13340 は無視され,すべての段落はこの
13341 \begin_inset Flex Code
13342 status collapsed
13343
13344 \begin_layout Plain Layout
13345 Parskip
13346 \end_layout
13347
13348 \end_inset
13349
13350 引数分だけ引き離されます.垂直余白は,
13351 \begin_inset Flex Code
13352 status collapsed
13353
13354 \begin_layout Plain Layout
13355 DefaultHeight
13356 \end_layout
13357
13358 \end_inset
13359
13360 を標準フォントでの1行の高さとすると,
13361 \begin_inset Flex Code
13362 status collapsed
13363
13364 \begin_layout Plain Layout
13365 Parskipの値
13366 \end_layout
13367
13368 \end_inset
13369
13370
13371 \begin_inset Formula $\times$
13372 \end_inset
13373
13374
13375 \begin_inset Flex Code
13376 status collapsed
13377
13378 \begin_layout Plain Layout
13379 DefaultHeight
13380 \end_layout
13381
13382 \end_inset
13383
13384 によって計算されます.このようにして,画面フォントを変更しても同じように表示されるのです.
13385 \end_layout
13386
13387 \begin_layout Description
13388 \begin_inset Flex Code
13389 status collapsed
13390
13391 \begin_layout Plain Layout
13392 PassThru
13393 \end_layout
13394
13395 \end_inset
13396
13397  [
13398 \emph on
13399
13400 \begin_inset Flex Code
13401 status collapsed
13402
13403 \begin_layout Plain Layout
13404 0
13405 \end_layout
13406
13407 \end_inset
13408
13409
13410 \emph default
13411 ,
13412 \begin_inset space \thinspace{}
13413 \end_inset
13414
13415
13416 \begin_inset Flex Code
13417 status collapsed
13418
13419 \begin_layout Plain Layout
13420 1
13421 \end_layout
13422
13423 \end_inset
13424
13425 ] この段落の内容が,\SpecialChar LaTeX
13426 が必要とするような特別な変換を行わずに,生の形で出力されるべきかどうか.
13427 \end_layout
13428
13429 \begin_layout Description
13430 \begin_inset Flex Code
13431 status collapsed
13432
13433 \begin_layout Plain Layout
13434 PassThruChars
13435 \end_layout
13436
13437 \end_inset
13438
13439  [
13440 \begin_inset Flex Code
13441 status collapsed
13442
13443 \begin_layout Plain Layout
13444 文字列
13445 \end_layout
13446
13447 \end_inset
13448
13449 ]
13450 \family typewriter
13451  
13452 \family default
13453 \SpecialChar LaTeX
13454 が要請する特別な翻訳なしで.生の形で出力されるべき,それぞれの文字を定義します.
13455 \end_layout
13456
13457 \begin_layout Description
13458 \begin_inset Flex Code
13459 status collapsed
13460
13461 \begin_layout Plain Layout
13462 Preamble
13463 \end_layout
13464
13465 \end_inset
13466
13467  この様式が使用されたときに,\SpecialChar LaTeX
13468 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,パッケージを読み込んだりと言ったことに使用します.「
13469 \begin_inset Flex Code
13470 status collapsed
13471
13472 \begin_layout Plain Layout
13473 EndPreamble
13474 \end_layout
13475
13476 \end_inset
13477
13478 」で閉じる必要があります.
13479 \end_layout
13480
13481 \begin_layout Description
13482 \begin_inset Flex Code
13483 status collapsed
13484
13485 \begin_layout Plain Layout
13486 RefPrefix
13487 \end_layout
13488
13489 \end_inset
13490
13491  [
13492 \begin_inset Flex Code
13493 status collapsed
13494
13495 \begin_layout Plain Layout
13496 文字列
13497 \end_layout
13498
13499 \end_inset
13500
13501 ] この型の段落を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
13502 \end_layout
13503
13504 \begin_layout Description
13505 \begin_inset Flex Code
13506 status collapsed
13507
13508 \begin_layout Plain Layout
13509 Requires
13510 \end_layout
13511
13512 \end_inset
13513
13514  [
13515 \begin_inset Flex Code
13516 status collapsed
13517
13518 \begin_layout Plain Layout
13519 文字列
13520 \end_layout
13521
13522 \end_inset
13523
13524 ] この様式が機能
13525 \begin_inset Flex Code
13526 status collapsed
13527
13528 \begin_layout Plain Layout
13529 文字列
13530 \end_layout
13531
13532 \end_inset
13533
13534 を必要とするかどうか(機能詳細については,第
13535 \begin_inset CommandInset ref
13536 LatexCommand ref
13537 reference "chap:関数一覧"
13538
13539 \end_inset
13540
13541 節参照).特定のオプションをとるパッケージを要求する場合,
13542 \begin_inset Flex Code
13543 status collapsed
13544
13545 \begin_layout Plain Layout
13546 PackageOptions
13547 \end_layout
13548
13549 \end_inset
13550
13551 を汎用テキストクラスパラメータとして追加して使うことができます(
13552 \begin_inset CommandInset ref
13553 LatexCommand ref
13554 reference "subsec:汎用テキストクラスパラメータ"
13555
13556 \end_inset
13557
13558 を参照).
13559 \end_layout
13560
13561 \begin_layout Description
13562 \begin_inset Flex Code
13563 status collapsed
13564
13565 \begin_layout Plain Layout
13566 ResetArgs
13567 \end_layout
13568
13569 \end_inset
13570
13571  [
13572 \begin_inset Flex Code
13573 status collapsed
13574
13575 \begin_layout Plain Layout
13576
13577 \emph on
13578 0
13579 \end_layout
13580
13581 \end_inset
13582
13583 ,
13584 \begin_inset Flex Code
13585 status collapsed
13586
13587 \begin_layout Plain Layout
13588 1
13589 \end_layout
13590
13591 \end_inset
13592
13593 ] (
13594 \begin_inset Flex Code
13595 status collapsed
13596
13597 \begin_layout Plain Layout
13598 Argument
13599 \end_layout
13600
13601 \end_inset
13602
13603 タグで定義された)この様式の\SpecialChar LaTeX
13604 引数をリセットします.これは,様式を
13605 \begin_inset Flex Code
13606 status collapsed
13607
13608 \begin_layout Plain Layout
13609 CopyStyle
13610 \end_layout
13611
13612 \end_inset
13613
13614 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
13615 \end_layout
13616
13617 \begin_layout Description
13618 \begin_inset Flex Code
13619 status collapsed
13620
13621 \begin_layout Plain Layout
13622 ResumeCounter
13623 \end_layout
13624
13625 \end_inset
13626
13627  [
13628 \begin_inset Flex Code
13629 status collapsed
13630
13631 \begin_layout Plain Layout
13632
13633 \emph on
13634 0
13635 \end_layout
13636
13637 \end_inset
13638
13639 ,
13640 \begin_inset Flex Code
13641 status collapsed
13642
13643 \begin_layout Plain Layout
13644 1
13645 \end_layout
13646
13647 \end_inset
13648
13649 ] レイアウトの新しい一群で通常リセットされるカウンタを元に戻します.これは,
13650 \begin_inset Flex Code
13651 status collapsed
13652
13653 \begin_layout Plain Layout
13654 LabelType
13655 \end_layout
13656
13657 \end_inset
13658
13659
13660 \begin_inset Flex Code
13661 status collapsed
13662
13663 \begin_layout Plain Layout
13664 Enumerate
13665 \end_layout
13666
13667 \end_inset
13668
13669 の時のみ有効です.
13670 \end_layout
13671
13672 \begin_layout Description
13673 \begin_inset Flex Code
13674 status collapsed
13675
13676 \begin_layout Plain Layout
13677 RightDelim
13678 \end_layout
13679
13680 \end_inset
13681
13682  [
13683 \begin_inset Flex Code
13684 status collapsed
13685
13686 \begin_layout Plain Layout
13687 文字列
13688 \end_layout
13689
13690 \end_inset
13691
13692 ] 様式の内容の最後に置かれる文字列.出力中の改行は
13693 \begin_inset Flex Code
13694 status collapsed
13695
13696 \begin_layout Plain Layout
13697 <br/>
13698 \end_layout
13699
13700 \end_inset
13701
13702 で指示できます.
13703 \end_layout
13704
13705 \begin_layout Description
13706 \begin_inset Flex Code
13707 status collapsed
13708
13709 \begin_layout Plain Layout
13710 RightMargin
13711 \end_layout
13712
13713 \end_inset
13714
13715  [
13716 \begin_inset Flex Code
13717 status collapsed
13718
13719 \begin_layout Plain Layout
13720 文字列=""
13721 \end_layout
13722
13723 \end_inset
13724
13725
13726 \begin_inset Flex Code
13727 status collapsed
13728
13729 \begin_layout Plain Layout
13730 LeftMargin
13731 \end_layout
13732
13733 \end_inset
13734
13735 に同様.
13736 \end_layout
13737
13738 \begin_layout Description
13739 \begin_inset Flex Code
13740 status collapsed
13741
13742 \begin_layout Plain Layout
13743 Spacing
13744 \end_layout
13745
13746 \end_inset
13747
13748  [
13749 \begin_inset Flex Code
13750 status collapsed
13751
13752 \begin_layout Plain Layout
13753
13754 \emph on
13755 single
13756 \end_layout
13757
13758 \end_inset
13759
13760
13761 \begin_inset Flex Code
13762 status collapsed
13763
13764 \begin_layout Plain Layout
13765 onehalf
13766 \end_layout
13767
13768 \end_inset
13769
13770
13771 \begin_inset Flex Code
13772 status collapsed
13773
13774 \begin_layout Plain Layout
13775 double
13776 \end_layout
13777
13778 \end_inset
13779
13780
13781 \begin_inset Flex Code
13782 status collapsed
13783
13784 \begin_layout Plain Layout
13785 other
13786 \begin_inset space ~
13787 \end_inset
13788
13789 <
13790 \emph on
13791
13792 \emph default
13793 >
13794 \end_layout
13795
13796 \end_inset
13797
13798 ]
13799 \lang english
13800  
13801 \lang japanese
13802 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
13803 \begin_inset Flex Code
13804 status collapsed
13805
13806 \begin_layout Plain Layout
13807 single
13808 \end_layout
13809
13810 \end_inset
13811
13812
13813 \begin_inset Flex Code
13814 status collapsed
13815
13816 \begin_layout Plain Layout
13817 onehalf
13818 \end_layout
13819
13820 \end_inset
13821
13822
13823 \begin_inset Flex Code
13824 status collapsed
13825
13826 \begin_layout Plain Layout
13827 double
13828 \end_layout
13829
13830 \end_inset
13831
13832 は,それぞれ乗数1・1.25・1.667に対応します.引数
13833 \begin_inset Flex Code
13834 status collapsed
13835
13836 \begin_layout Plain Layout
13837 other
13838 \end_layout
13839
13840 \end_inset
13841
13842 を指定した場合には,実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
13843 \begin_inset Flex Code
13844 status collapsed
13845
13846 \begin_layout Plain Layout
13847 Spacing
13848 \end_layout
13849
13850 \end_inset
13851
13852 は,\SpecialChar LaTeX
13853 パッケージ
13854 \begin_inset Flex Code
13855 status collapsed
13856
13857 \begin_layout Plain Layout
13858 setspace
13859 \end_layout
13860
13861 \end_inset
13862
13863 パッケージを使用した,限定的な\SpecialChar LaTeX
13864 コードを生成することを意味することにご注意ください.
13865 \end_layout
13866
13867 \begin_layout Description
13868 \begin_inset Flex Code
13869 status collapsed
13870
13871 \begin_layout Plain Layout
13872 Spellcheck
13873 \end_layout
13874
13875 \end_inset
13876
13877  [
13878 \begin_inset Flex Code
13879 status collapsed
13880
13881 \begin_layout Plain Layout
13882 0
13883 \end_layout
13884
13885 \end_inset
13886
13887 ,
13888 \begin_inset space \thinspace{}
13889 \end_inset
13890
13891
13892 \begin_inset Flex Code
13893 status collapsed
13894
13895 \begin_layout Plain Layout
13896 1
13897 \end_layout
13898
13899 \end_inset
13900
13901 ] この様式の段落をスペルチェックするか否か.既定値は真です.
13902 \end_layout
13903
13904 \begin_layout Description
13905 \begin_inset Flex Code
13906 status collapsed
13907
13908 \begin_layout Plain Layout
13909 StepMasterCounter
13910 \end_layout
13911
13912 \end_inset
13913
13914  [
13915 \begin_inset Flex Code
13916 status collapsed
13917
13918 \begin_layout Plain Layout
13919
13920 \emph on
13921 0
13922 \end_layout
13923
13924 \end_inset
13925
13926 ,
13927 \begin_inset Flex Code
13928 status collapsed
13929
13930 \begin_layout Plain Layout
13931 1
13932 \end_layout
13933
13934 \end_inset
13935
13936 ] 新しいレイアウト群を開始する際に,このカウンタの親カウンタを進めるか否か.これは,現在のところ,
13937 \begin_inset Flex Code
13938 status collapsed
13939
13940 \begin_layout Plain Layout
13941 LabelType
13942 \end_layout
13943
13944 \end_inset
13945
13946
13947 \begin_inset Flex Code
13948 status collapsed
13949
13950 \begin_layout Plain Layout
13951 Enumerate
13952 \end_layout
13953
13954 \end_inset
13955
13956 の時のみ有効です.
13957 \end_layout
13958
13959 \begin_layout Description
13960 \begin_inset Flex Code
13961 status collapsed
13962
13963 \begin_layout Plain Layout
13964 TextFont
13965 \end_layout
13966
13967 \end_inset
13968
13969  本文に使うフォント.第
13970 \begin_inset CommandInset ref
13971 LatexCommand ref
13972 reference "subsec:フォント指定"
13973
13974 \end_inset
13975
13976 節参照.
13977 \end_layout
13978
13979 \begin_layout Description
13980 \begin_inset Flex Code
13981 status collapsed
13982
13983 \begin_layout Plain Layout
13984 TocLevel
13985 \end_layout
13986
13987 \end_inset
13988
13989  [
13990 \begin_inset Flex Code
13991 status collapsed
13992
13993 \begin_layout Plain Layout
13994 整数型=3
13995 \end_layout
13996
13997 \end_inset
13998
13999 ] 目次中でのこの様式の階層.これは,節見出しの自動連番に使用されます.
14000 \end_layout
14001
14002 \begin_layout Description
14003 \begin_inset Flex Code
14004 status collapsed
14005
14006 \begin_layout Plain Layout
14007 ToggleIndent
14008 \end_layout
14009
14010 \end_inset
14011
14012  [
14013 \emph on
14014
14015 \begin_inset Flex Code
14016 status collapsed
14017
14018 \begin_layout Plain Layout
14019 default
14020 \end_layout
14021
14022 \end_inset
14023
14024
14025 \emph default
14026
14027 \begin_inset Flex Code
14028 status collapsed
14029
14030 \begin_layout Plain Layout
14031 always
14032 \end_layout
14033
14034 \end_inset
14035
14036
14037 \begin_inset Flex Code
14038 status collapsed
14039
14040 \begin_layout Plain Layout
14041 never
14042 \end_layout
14043
14044 \end_inset
14045
14046 ] このタグは,この段落の1行目の行頭下げが,段落設定ダイアログで切り替えられるかどうかを決めます.
14047 \begin_inset Flex Code
14048 status collapsed
14049
14050 \begin_layout Plain Layout
14051 default
14052 \end_layout
14053
14054 \end_inset
14055
14056 が指定されると,文書設定が「行頭下げ」段落様式を使用しているときに,行頭下げを変更することができます.
14057 \begin_inset Flex Code
14058 status collapsed
14059
14060 \begin_layout Plain Layout
14061 always
14062 \end_layout
14063
14064 \end_inset
14065
14066 は,文書設定にかかわらず変更することができ,
14067 \begin_inset Flex Code
14068 status collapsed
14069
14070 \begin_layout Plain Layout
14071 never
14072 \end_layout
14073
14074 \end_inset
14075
14076 は,どのような場合でも変更することができません.
14077 \end_layout
14078
14079 \begin_layout Description
14080 \begin_inset Flex Code
14081 status collapsed
14082
14083 \begin_layout Plain Layout
14084 TopSep
14085 \end_layout
14086
14087 \end_inset
14088
14089  [
14090 \begin_inset Flex Code
14091 status collapsed
14092
14093 \begin_layout Plain Layout
14094 浮動小数点型=0
14095 \end_layout
14096
14097 \end_inset
14098
14099 ] このレイアウトを持つ一連の段落群の最初の段落と,その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,余白は単純に追加されるのではなく,それら
14100 の最大値がとられます.
14101 \end_layout
14102
14103 \begin_layout Subsection
14104 段落様式の国際化
14105 \begin_inset CommandInset label
14106 LatexCommand label
14107 name "subsec:段落様式の国際化"
14108
14109 \end_inset
14110
14111
14112 \end_layout
14113
14114 \begin_layout Standard
14115 \SpecialChar LyX
14116 は,長きにわたってレイアウト情報の国際化をサポートしてきましたが,第2.0版までは,これは操作画面にのみ適用されるものであって,たとえばPDF出力には適用されませ
14117 んでした.たとえば,フランスの著者が,「Theorem 1」の代わりに「
14118 \lang french
14119 Théorème
14120 \lang japanese
14121  1」としたければ,醜いハックに頼るしかありませんでした.Georg Baumのおかげで,これは解消されました.
14122 \end_layout
14123
14124 \begin_layout Standard
14125 もし
14126 \begin_inset Flex MenuItem
14127 status collapsed
14128
14129 \begin_layout Plain Layout
14130 Style
14131 \end_layout
14132
14133 \end_inset
14134
14135 が,組版文書に出力される文字列を定義するのであれば,非英語文書や複数言語文書をサポートするために,
14136 \begin_inset Flex MenuItem
14137 status collapsed
14138
14139 \begin_layout Plain Layout
14140 LangPreamble
14141 \end_layout
14142
14143 \end_inset
14144
14145
14146 \begin_inset Flex MenuItem
14147 status collapsed
14148
14149 \begin_layout Plain Layout
14150 BabelPreamble
14151 \end_layout
14152
14153 \end_inset
14154
14155 を使用することができます.以下の抜粋(
14156 \begin_inset Flex MenuItem
14157 status collapsed
14158
14159 \begin_layout Plain Layout
14160 theorems-ams.inc
14161 \end_layout
14162
14163 \end_inset
14164
14165 より)は,これがどう動作するかを示すものです.
14166 \end_layout
14167
14168 \begin_layout LyX-Code
14169 Preamble
14170 \end_layout
14171
14172 \begin_deeper
14173 \begin_layout LyX-Code
14174   
14175 \backslash
14176 theoremstyle{remark}
14177 \end_layout
14178
14179 \begin_layout LyX-Code
14180   
14181 \backslash
14182 newtheorem{claim}[thm]{
14183 \backslash
14184 protect
14185 \backslash
14186 claimname}
14187 \end_layout
14188
14189 \begin_layout LyX-Code
14190 EndPreamble
14191 \end_layout
14192
14193 \begin_layout LyX-Code
14194 LangPreamble
14195 \end_layout
14196
14197 \begin_layout LyX-Code
14198   
14199 \backslash
14200 providecommand{
14201 \backslash
14202 claimname}{_(Claim)}
14203 \end_layout
14204
14205 \begin_layout LyX-Code
14206 EndLangPreamble
14207 \end_layout
14208
14209 \begin_layout LyX-Code
14210 BabelPreamble
14211 \end_layout
14212
14213 \begin_layout LyX-Code
14214     
14215 \backslash
14216 addto
14217 \backslash
14218 captions$$lang{
14219 \backslash
14220 renewcommand{
14221 \backslash
14222 claimname}{_(Claim)}}
14223 \end_layout
14224
14225 \begin_layout LyX-Code
14226 EndBabelPreamble
14227 \end_layout
14228
14229 \end_deeper
14230 \begin_layout Standard
14231 原則として,
14232 \begin_inset Flex MenuItem
14233 status collapsed
14234
14235 \begin_layout Plain Layout
14236 LangPreamble
14237 \end_layout
14238
14239 \end_inset
14240
14241
14242 \begin_inset Flex MenuItem
14243 status collapsed
14244
14245 \begin_layout Plain Layout
14246 BabelPreamble
14247 \end_layout
14248
14249 \end_inset
14250
14251 タグ内には,有効な\SpecialChar LaTeX
14252 コードはすべて用いることができますが,実際においては,ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるの
14253 は,\SpecialChar LaTeX
14254 コマンド
14255 \begin_inset Flex Code
14256 status collapsed
14257
14258 \begin_layout Plain Layout
14259
14260 \backslash
14261 claimname
14262 \end_layout
14263
14264 \end_inset
14265
14266 とその
14267 \begin_inset Flex Code
14268 status collapsed
14269
14270 \begin_layout Plain Layout
14271
14272 \backslash
14273 newtheorem
14274 \end_layout
14275
14276 \end_inset
14277
14278 中での用い方です.
14279 \end_layout
14280
14281 \begin_layout Standard
14282 \begin_inset Flex Code
14283 status collapsed
14284
14285 \begin_layout Plain Layout
14286 LangPreamble
14287 \end_layout
14288
14289 \end_inset
14290
14291 タグは,文書全体の言語に基づいた国際化を提供します.タグの内容は,
14292 \begin_inset Flex Code
14293 status collapsed
14294
14295 \begin_layout Plain Layout
14296 Preamble
14297 \end_layout
14298
14299 \end_inset
14300
14301 タグと同様,プリアンブルに置かれるのですが,これを特別なものにしているのは,「関数」
14302 \begin_inset Flex Code
14303 status collapsed
14304
14305 \begin_layout Plain Layout
14306 _()
14307 \end_layout
14308
14309 \end_inset
14310
14311 が使用されていることです.これは,\SpecialChar LyX
14312 が\SpecialChar LaTeX
14313 出力を生成する際,その引数を文書言語に翻訳したもので置き換えられます.
14314 \end_layout
14315
14316 \begin_layout Standard
14317 \begin_inset Flex Code
14318 status collapsed
14319
14320 \begin_layout Plain Layout
14321 BabelPreamble
14322 \end_layout
14323
14324 \end_inset
14325
14326 タグは,複数言語文書をサポートし,
14327 \begin_inset Flex Code
14328 status collapsed
14329
14330 \begin_layout Plain Layout
14331 babel
14332 \end_layout
14333
14334 \end_inset
14335
14336 パッケージへのインタフェースを提供することを意図しているので,もう少し複雑です.その内容は,文書に現れる言語それぞれについて一度,プリアンブルに追加されます.こ
14337 の場合には,
14338 \begin_inset Flex Code
14339 status collapsed
14340
14341 \begin_layout Plain Layout
14342 _()
14343 \end_layout
14344
14345 \end_inset
14346
14347 の引数は,その当該言語への翻訳で置き換えられ,
14348 \begin_inset Flex Code
14349 status collapsed
14350
14351 \begin_layout Plain Layout
14352 $$lang
14353 \end_layout
14354
14355 \end_inset
14356
14357 は言語名(babelパッケージで使用されるもの)で置き換えられます.
14358 \end_layout
14359
14360 \begin_layout Standard
14361 したがって,フランス語のセクションを持つドイツ語文書では,以下のような内容がプリアンブルに追加されます
14362 \end_layout
14363
14364 \begin_layout LyX-Code
14365
14366 \backslash
14367 addto
14368 \backslash
14369 captionsfrench{
14370 \backslash
14371 renewcommand{
14372 \backslash
14373 claimname}{Affirmation}}
14374 \begin_inset Newline newline
14375 \end_inset
14376
14377
14378 \backslash
14379 addto
14380 \backslash
14381 captionsngerman{
14382 \backslash
14383 renewcommand{
14384 \backslash
14385 claimname}{Behauptung}}
14386 \begin_inset Newline newline
14387 \end_inset
14388
14389
14390 \backslash
14391 providecommand{
14392 \backslash
14393 claimname}{Behauptung}
14394 \end_layout
14395
14396 \begin_layout Standard
14397 それから,\SpecialChar LaTeX
14398
14399 \begin_inset Flex Code
14400 status collapsed
14401
14402 \begin_layout Plain Layout
14403 babel
14404 \end_layout
14405
14406 \end_inset
14407
14408 は協力して,出力に正しい文字列を生成します.
14409 \end_layout
14410
14411 \begin_layout Standard
14412 ここで注意しておくべき一つの重要な点は,翻訳は,
14413 \begin_inset Flex Code
14414 status collapsed
14415
14416 \begin_layout Plain Layout
14417 layouttranslations
14418 \end_layout
14419
14420 \end_inset
14421
14422 ファイルを通じて,\SpecialChar LyX
14423 自身によって提供されるということです.つまり,ユーザー作成のレイアウトファイルに入力された文字列は,
14424 \begin_inset Flex Code
14425 status collapsed
14426
14427 \begin_layout Plain Layout
14428 layouttranslations
14429 \end_layout
14430
14431 \end_inset
14432
14433 ファイルをそれに応じて変更しない限り,\SpecialChar LyX
14434 の国際化ルーチンでは取り扱われないので,
14435 \begin_inset Flex MenuItem
14436 status collapsed
14437
14438 \begin_layout Plain Layout
14439 LangPreamble
14440 \end_layout
14441
14442 \end_inset
14443
14444
14445 \begin_inset Flex MenuItem
14446 status collapsed
14447
14448 \begin_layout Plain Layout
14449 BabelPreamble
14450 \end_layout
14451
14452 \end_inset
14453
14454 は,事実上,\SpecialChar LyX
14455 とともに提供されるレイアウトファイルでのみ,使うことができるということを意味します.とはいえ,こういうことでありますので,将来的に\SpecialChar LyX
14456 に同梱させようとい
14457 う意図を以て作成されたレイアウトは,適切なところではすべて,これらのタグを使用するべきです.\SpecialChar LyX
14458 が提供する段落様式の翻訳は,マイナー更新(例えば2.1.x版から2.1.y版
14459 )では変更されないことに注意してください.しかしながら,メジャー更新(例えば2.0.x版から2.1.y版)では,新しい翻訳や修正が導入される可能性は大いにあります.
14460 \end_layout
14461
14462 \begin_layout Subsection
14463 フロート
14464 \begin_inset CommandInset label
14465 LatexCommand label
14466 name "subsec:フロート"
14467
14468 \end_inset
14469
14470
14471 \end_layout
14472
14473 \begin_layout Standard
14474 \SpecialChar LyX
14475 第1.3.0版以来,テキストクラス自体の中でフロート(
14476 \begin_inset Flex MenuItem
14477 status collapsed
14478
14479 \begin_layout Plain Layout
14480 figure
14481 \end_layout
14482
14483 \end_inset
14484
14485
14486 \begin_inset Flex MenuItem
14487 status collapsed
14488
14489 \begin_layout Plain Layout
14490 table
14491 \end_layout
14492
14493 \end_inset
14494
14495 ・\SpecialChar ldots
14496 )を定義することが可能となり,かつ必要となりました.標準的なフロートは
14497 \begin_inset Flex Code
14498 status collapsed
14499
14500 \begin_layout Plain Layout
14501 stdfloats.inc
14502 \end_layout
14503
14504 \end_inset
14505
14506 ファイルに含まれているので,作業中のレイアウトファイルに
14507 \end_layout
14508
14509 \begin_layout LyX-Code
14510 Input stdfloats.inc
14511 \end_layout
14512
14513 \begin_layout Standard
14514 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
14515 に同梱されているAGUクラスのように,それ以外のフロート型を提供するテキストクラスを実装するには,以下の情報が役立つであり
14516 ましょう.
14517 \end_layout
14518
14519 \begin_layout Description
14520 \begin_inset Flex Code
14521 status collapsed
14522
14523 \begin_layout Plain Layout
14524 AllowedPlacement
14525 \end_layout
14526
14527 \end_inset
14528
14529  [
14530 \begin_inset Flex Code
14531 status collapsed
14532
14533 \begin_layout Plain Layout
14534 文字列
14535 \end_layout
14536
14537 \end_inset
14538
14539 =!htbpH] このフロート型に許可された配置用の選択肢.値は,配置文字からなる文字列です.使用できる文字には,
14540 \emph on
14541 h
14542 \emph default
14543  (
14544 \begin_inset Quotes eld
14545 \end_inset
14546
14547 here if possible:可能ならば現在位置に
14548 \begin_inset Quotes erd
14549 \end_inset
14550
14551 ), 
14552 \emph on
14553 t
14554 \emph default
14555  (
14556 \begin_inset Quotes eld
14557 \end_inset
14558
14559 top of page:ページ上部
14560 \begin_inset Quotes erd
14561 \end_inset
14562
14563 )・
14564 \emph on
14565 b
14566 \emph default
14567  (
14568 \begin_inset Quotes eld
14569 \end_inset
14570
14571 bottom of page:ページ下部
14572 \begin_inset Quotes erd
14573 \end_inset
14574
14575 )・
14576 \emph on
14577 p
14578 \emph default
14579  (
14580 \begin_inset Quotes eld
14581 \end_inset
14582
14583 page of floats:フロートを独立したページに
14584 \begin_inset Quotes erd
14585 \end_inset
14586
14587 )・
14588 \emph on
14589 H
14590 \emph default
14591  (
14592 \begin_inset Quotes eld
14593 \end_inset
14594
14595 here definitely:何としても現在位置に置く
14596 \begin_inset Quotes erd
14597 \end_inset
14598
14599 )・
14600 \emph on
14601 !
14602 \emph default
14603  (
14604 \begin_inset Quotes eld
14605 \end_inset
14606
14607 ignore LaTeX rules:LaTeXの規則を無視する
14608 \begin_inset Quotes erd
14609 \end_inset
14610
14611 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,文字列として
14612 \emph on
14613 none
14614 \emph default
14615 を与えてください.
14616 \end_layout
14617
14618 \begin_layout Description
14619 \begin_inset Flex Code
14620 status collapsed
14621
14622 \begin_layout Plain Layout
14623 AllowsSideways
14624 \end_layout
14625
14626 \end_inset
14627
14628  [
14629 \begin_inset Flex Code
14630 status collapsed
14631
14632 \begin_layout Plain Layout
14633 0
14634 \end_layout
14635
14636 \end_inset
14637
14638 ,
14639 \begin_inset space \thinspace{}
14640 \end_inset
14641
14642
14643 \emph on
14644
14645 \begin_inset Flex Code
14646 status collapsed
14647
14648 \begin_layout Plain Layout
14649 1
14650 \end_layout
14651
14652 \end_inset
14653
14654
14655 \emph default
14656 ] フロートを,\SpecialChar LaTeX
14657 パッケージの
14658 \family typewriter
14659 rotfloat
14660 \family default
14661  (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
14662 \begin_inset Flex Code
14663 status collapsed
14664
14665 \begin_layout Plain Layout
14666 0
14667 \end_layout
14668
14669 \end_inset
14670
14671 を指定してください.
14672 \end_layout
14673
14674 \begin_layout Description
14675 \begin_inset Flex Code
14676 status collapsed
14677
14678 \begin_layout Plain Layout
14679 AllowsWide
14680 \end_layout
14681
14682 \end_inset
14683
14684  [
14685 \begin_inset Flex Code
14686 status collapsed
14687
14688 \begin_layout Plain Layout
14689 0
14690 \end_layout
14691
14692 \end_inset
14693
14694 ,
14695 \begin_inset space \thinspace{}
14696 \end_inset
14697
14698
14699 \emph on
14700
14701 \begin_inset Flex Code
14702 status collapsed
14703
14704 \begin_layout Plain Layout
14705 1
14706 \end_layout
14707
14708 \end_inset
14709
14710
14711 \emph default
14712 ] このフロートに,二段組段落において段落をまたぐ,星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
14713 \begin_inset Flex Code
14714 status collapsed
14715
14716 \begin_layout Plain Layout
14717 0
14718 \end_layout
14719
14720 \end_inset
14721
14722 を指定してください.
14723 \end_layout
14724
14725 \begin_layout Description
14726 \begin_inset Flex Code
14727 status collapsed
14728
14729 \begin_layout Plain Layout
14730 Extension
14731 \end_layout
14732
14733 \end_inset
14734
14735  [
14736 \begin_inset Flex Code
14737 status collapsed
14738
14739 \begin_layout Plain Layout
14740 文字列
14741 \end_layout
14742
14743 \end_inset
14744
14745 =
14746 \begin_inset Quotes erd
14747 \end_inset
14748
14749
14750 \begin_inset Quotes erd
14751 \end_inset
14752
14753 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
14754 がキャプションを書き込むファイルです.
14755 \end_layout
14756
14757 \begin_layout Description
14758 \begin_inset Flex Code
14759 status collapsed
14760
14761 \begin_layout Plain Layout
14762 GuiName
14763 \end_layout
14764
14765 \end_inset
14766
14767  [
14768 \begin_inset Flex Code
14769 status collapsed
14770
14771 \begin_layout Plain Layout
14772 文字列
14773 \end_layout
14774
14775 \end_inset
14776
14777 =
14778 \begin_inset Quotes erd
14779 \end_inset
14780
14781
14782 \begin_inset Quotes erd
14783 \end_inset
14784
14785 ] メニューとキャプションに使用される文字列.babelが使用される場合には,これは現在の言語に翻訳されます.
14786 \end_layout
14787
14788 \begin_layout Description
14789 \begin_inset Flex Code
14790 status collapsed
14791
14792 \begin_layout Plain Layout
14793 HTML*
14794 \end_layout
14795
14796 \end_inset
14797
14798  これらは,XHTML出力で使用されます.
14799 \begin_inset CommandInset ref
14800 LatexCommand ref
14801 reference "sec:XHTML出力のタグ"
14802
14803 \end_inset
14804
14805 をご覧ください.
14806 \end_layout
14807
14808 \begin_layout Description
14809 \begin_inset Flex Code
14810 status collapsed
14811
14812 \begin_layout Plain Layout
14813 IsPredefined
14814 \end_layout
14815
14816 \end_inset
14817
14818  [
14819 \begin_inset Flex Code
14820 status collapsed
14821
14822 \begin_layout Plain Layout
14823
14824 \emph on
14825 0
14826 \end_layout
14827
14828 \end_inset
14829
14830 ,
14831 \begin_inset space \thinspace{}
14832 \end_inset
14833
14834
14835 \begin_inset Flex Code
14836 status collapsed
14837
14838 \begin_layout Plain Layout
14839 1
14840 \end_layout
14841
14842 \end_inset
14843
14844 ] フロートがドキュメントクラス中に既に定義されているのか,あるいは\SpecialChar LaTeX
14845 パッケージ
14846 \begin_inset Flex Code
14847 status collapsed
14848
14849 \begin_layout Plain Layout
14850 float
14851 \end_layout
14852
14853 \end_inset
14854
14855 を読み込む必要があり,そのファイル内のものを使用して,オン・ザ・フライで定義するかを示します.既定は
14856 \begin_inset Flex Code
14857 status collapsed
14858
14859 \begin_layout Plain Layout
14860 0
14861 \end_layout
14862
14863 \end_inset
14864
14865 で,この場合
14866 \begin_inset Flex Code
14867 status collapsed
14868
14869 \begin_layout Plain Layout
14870 float
14871 \end_layout
14872
14873 \end_inset
14874
14875 を使用します.\SpecialChar LaTeX
14876 ドキュメントクラス中に既に定義されているときには,
14877 \begin_inset Flex Code
14878 status collapsed
14879
14880 \begin_layout Plain Layout
14881 0
14882 \end_layout
14883
14884 \end_inset
14885
14886 に設定しなくてはなりません.
14887 \end_layout
14888
14889 \begin_layout Description
14890 \begin_inset Flex Code
14891 status collapsed
14892
14893 \begin_layout Plain Layout
14894 ListCommand
14895 \end_layout
14896
14897 \end_inset
14898
14899  [
14900 \begin_inset Flex Code
14901 status collapsed
14902
14903 \begin_layout Plain Layout
14904 文字列
14905 \end_layout
14906
14907 \end_inset
14908
14909 =
14910 \begin_inset Quotes erd
14911 \end_inset
14912
14913
14914 \begin_inset Quotes erd
14915 \end_inset
14916
14917 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
14918 \backslash
14919 」は書きません.
14920 \begin_inset Flex Code
14921 status collapsed
14922
14923 \begin_layout Plain Layout
14924 NeedsFloatPkg
14925 \end_layout
14926
14927 \end_inset
14928
14929 が偽の時には,このコマンドを生成する標準的な方法はないので,これは
14930 \emph on
14931 必ず
14932 \emph default
14933 指定しなくてはなりません.
14934 \begin_inset Flex Code
14935 status collapsed
14936
14937 \begin_layout Plain Layout
14938 NeedsFloatPkg
14939 \end_layout
14940
14941 \end_inset
14942
14943 が真の時は,標準的な方法が存在するので,これは無視されます.
14944 \end_layout
14945
14946 \begin_layout Description
14947 \begin_inset Flex Code
14948 status collapsed
14949
14950 \begin_layout Plain Layout
14951 ListName
14952 \end_layout
14953
14954 \end_inset
14955
14956  [
14957 \begin_inset Flex Code
14958 status collapsed
14959
14960 \begin_layout Plain Layout
14961 文字列
14962 \end_layout
14963
14964 \end_inset
14965
14966 =
14967 \begin_inset Quotes erd
14968 \end_inset
14969
14970
14971 \begin_inset Quotes erd
14972 \end_inset
14973
14974 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
14975 中では,これは画面上のラベルとして使用されます.また,見出しとして使用するために,La\SpecialChar TeX
14976 に渡さ
14977 れ,XHTML出力でも見出しとして使用されます.これは,文書言語に翻訳されます.
14978 \end_layout
14979
14980 \begin_layout Description
14981 \begin_inset Flex Code
14982 status collapsed
14983
14984 \begin_layout Plain Layout
14985 NumberWithin
14986 \end_layout
14987
14988 \end_inset
14989
14990  [
14991 \begin_inset Flex Code
14992 status collapsed
14993
14994 \begin_layout Plain Layout
14995 文字列
14996 \end_layout
14997
14998 \end_inset
14999
15000 =
15001 \begin_inset Quotes erd
15002 \end_inset
15003
15004
15005 \begin_inset Quotes erd
15006 \end_inset
15007
15008 ] この(非必須の)引数は,このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
15009 \begin_inset Flex Code
15010 status collapsed
15011
15012 \begin_layout Plain Layout
15013 NumberWithin
15014 \end_layout
15015
15016 \end_inset
15017
15018 が「
15019 \begin_inset Flex Code
15020 status collapsed
15021
15022 \begin_layout Plain Layout
15023 chapter
15024 \end_layout
15025
15026 \end_inset
15027
15028 」に指定されていれば,フロートは章ごとに番号が振り直されます.
15029 \end_layout
15030
15031 \begin_layout Description
15032 \begin_inset Flex Code
15033 status collapsed
15034
15035 \begin_layout Plain Layout
15036 Placement
15037 \end_layout
15038
15039 \end_inset
15040
15041  [
15042 \begin_inset Flex Code
15043 status collapsed
15044
15045 \begin_layout Plain Layout
15046 文字列
15047 \end_layout
15048
15049 \end_inset
15050
15051 =
15052 \begin_inset Quotes erd
15053 \end_inset
15054
15055
15056 \begin_inset Quotes erd
15057 \end_inset
15058
15059 ] このクラスのフロートの既定の配置法.文字列は,標準的な\SpecialChar LaTeX
15060 表記に従い,
15061 \begin_inset Flex Code
15062 status collapsed
15063
15064 \begin_layout Plain Layout
15065 t
15066 \end_layout
15067
15068 \end_inset
15069
15070 ならば上部(top),
15071 \begin_inset Flex Code
15072 status collapsed
15073
15074 \begin_layout Plain Layout
15075 b
15076 \end_layout
15077
15078 \end_inset
15079
15080 ならば下部(bottom),
15081 \begin_inset Flex Code
15082 status collapsed
15083
15084 \begin_layout Plain Layout
15085 p
15086 \end_layout
15087
15088 \end_inset
15089
15090 ならばページ(page),
15091 \begin_inset Flex Code
15092 status collapsed
15093
15094 \begin_layout Plain Layout
15095 h
15096 \end_layout
15097
15098 \end_inset
15099
15100 ならばここ(here)を表します
15101 \begin_inset Foot
15102 status collapsed
15103
15104 \begin_layout Plain Layout
15105 \SpecialChar LaTeX
15106 同様,文字列中でのこれらの文字の順序は関係ありません.
15107 \end_layout
15108
15109 \end_inset
15110
15111 .これらの他に新しい型
15112 \begin_inset Flex Code
15113 status collapsed
15114
15115 \begin_layout Plain Layout
15116 H
15117 \end_layout
15118
15119 \end_inset
15120
15121 があり,これはフロートを「ここ」に置いていいけれども他の場所はだめ,というものなので,本当はフロートにあるものではありません.しかし,
15122 \begin_inset Flex Code
15123 status collapsed
15124
15125 \begin_layout Plain Layout
15126 H
15127 \end_layout
15128
15129 \end_inset
15130
15131 指定子は特別なものであり,その細かい実装上の理由で,組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,代わり
15132 に「
15133 \begin_inset Flex Code
15134 status collapsed
15135
15136 \begin_layout Plain Layout
15137 tbp
15138 \end_layout
15139
15140 \end_inset
15141
15142 」を指定してください.
15143 \end_layout
15144
15145 \begin_layout Description
15146 \begin_inset Flex Code
15147 status collapsed
15148
15149 \begin_layout Plain Layout
15150 RefPrefix
15151 \end_layout
15152
15153 \end_inset
15154
15155  [
15156 \begin_inset Flex Code
15157 status collapsed
15158
15159 \begin_layout Plain Layout
15160 文字列
15161 \end_layout
15162
15163 \end_inset
15164
15165 ] この型のフロートを参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.コピーした様式が設定した
15166 \begin_inset Flex Code
15167 status collapsed
15168
15169 \begin_layout Plain Layout
15170 RefPrefix
15171 \end_layout
15172
15173 \end_inset
15174
15175 は,特別な文字列「OFF」(すべて大文字)を使えば,いつでも削除することができます.
15176 \end_layout
15177
15178 \begin_layout Description
15179 \begin_inset Flex Code
15180 status collapsed
15181
15182 \begin_layout Plain Layout
15183 Style
15184 \end_layout
15185
15186 \end_inset
15187
15188  [
15189 \begin_inset Flex Code
15190 status collapsed
15191
15192 \begin_layout Plain Layout
15193 文字列
15194 \end_layout
15195
15196 \end_inset
15197
15198 =
15199 \begin_inset Quotes erd
15200 \end_inset
15201
15202
15203 \begin_inset Quotes erd
15204 \end_inset
15205
15206
15207 \begin_inset Flex Code
15208 status collapsed
15209
15210 \begin_layout Plain Layout
15211
15212 \backslash
15213 newfloat
15214 \end_layout
15215
15216 \end_inset
15217
15218 を使用してフロートを定義する際に使用される様式.
15219 \end_layout
15220
15221 \begin_layout Description
15222 \begin_inset Flex Code
15223 status collapsed
15224
15225 \begin_layout Plain Layout
15226 Type
15227 \end_layout
15228
15229 \end_inset
15230
15231  [
15232 \begin_inset Flex Code
15233 status collapsed
15234
15235 \begin_layout Plain Layout
15236 文字列
15237 \end_layout
15238
15239 \end_inset
15240
15241 =
15242 \begin_inset Quotes erd
15243 \end_inset
15244
15245
15246 \begin_inset Quotes erd
15247 \end_inset
15248
15249 ] プログラムやアルゴリズムのような,フロートの新しいクラス「型」.適切な
15250 \begin_inset Flex Code
15251 status collapsed
15252
15253 \begin_layout Plain Layout
15254
15255 \backslash
15256 newfloat
15257 \end_layout
15258
15259 \end_inset
15260
15261 の後で,
15262 \begin_inset Flex Code
15263 status collapsed
15264
15265 \begin_layout Plain Layout
15266
15267 \backslash
15268 begin{program}
15269 \end_layout
15270
15271 \end_inset
15272
15273
15274 \begin_inset Flex Code
15275 status collapsed
15276
15277 \begin_layout Plain Layout
15278
15279 \backslash
15280 end{algorithm*}
15281 \end_layout
15282
15283 \end_inset
15284
15285 といったコマンドが利用できます.
15286 \end_layout
15287
15288 \begin_layout Description
15289 \begin_inset Flex Code
15290 status collapsed
15291
15292 \begin_layout Plain Layout
15293 UsesFloatPkg
15294 \end_layout
15295
15296 \end_inset
15297
15298  [
15299 \begin_inset Flex Code
15300 status collapsed
15301
15302 \begin_layout Plain Layout
15303 0
15304 \end_layout
15305
15306 \end_inset
15307
15308 ,
15309 \begin_inset space \thinspace{}
15310 \end_inset
15311
15312
15313 \begin_inset Flex Code
15314 status collapsed
15315
15316 \begin_layout Plain Layout
15317
15318 \emph on
15319 1
15320 \end_layout
15321
15322 \end_inset
15323
15324 ] このフロートが,クラスファイルやパッケージ中で,\SpecialChar LaTeX
15325 パッケージ
15326 \begin_inset Flex Code
15327 status collapsed
15328
15329 \begin_layout Plain Layout
15330 float
15331 \end_layout
15332
15333 \end_inset
15334
15335 が提供しているものを使用して定義されているのか,\SpecialChar LyX
15336 自身がオン・ザ・フライで定義しているのかを示します.
15337 \end_layout
15338
15339 \begin_layout Standard
15340 \begin_inset Flex Code
15341 status collapsed
15342
15343 \begin_layout Plain Layout
15344
15345 \emph on
15346 type
15347 \end_layout
15348
15349 \end_inset
15350
15351 型のフロートを定義すると,自動的に
15352 \emph on
15353 対応する
15354 \emph default
15355
15356 \begin_inset Flex Code
15357 status collapsed
15358
15359 \begin_layout Plain Layout
15360
15361 \emph on
15362 type
15363 \end_layout
15364
15365 \end_inset
15366
15367 名カウンタが定義されます.
15368 \end_layout
15369
15370 \begin_layout Subsection
15371 自由差込枠と差込枠レイアウト
15372 \begin_inset CommandInset label
15373 LatexCommand label
15374 name "subsec:任意設定差込枠"
15375
15376 \end_inset
15377
15378
15379 \end_layout
15380
15381 \begin_layout Standard
15382 自由差込枠には次の3種類があります.
15383 \end_layout
15384
15385 \begin_layout Itemize
15386 文字様式(
15387 \begin_inset Flex Code
15388 status collapsed
15389
15390 \begin_layout Plain Layout
15391 CharStyle
15392 \end_layout
15393
15394 \end_inset
15395
15396 ).これは,
15397 \begin_inset Flex Code
15398 status collapsed
15399
15400 \begin_layout Plain Layout
15401
15402 \backslash
15403 noun
15404 \end_layout
15405
15406 \end_inset
15407
15408
15409 \begin_inset Flex Code
15410 status collapsed
15411
15412 \begin_layout Plain Layout
15413
15414 \backslash
15415 code
15416 \end_layout
15417
15418 \end_inset
15419
15420 などの\SpecialChar LaTeX
15421 コマンドに対応した意味論的マークアップを定義するものです.
15422 \end_layout
15423
15424 \begin_layout Itemize
15425 ユーザ設定(
15426 \begin_inset Flex Code
15427 status collapsed
15428
15429 \begin_layout Plain Layout
15430 Custom
15431 \end_layout
15432
15433 \end_inset
15434
15435 ).これは,\SpecialChar TeX
15436 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,これは
15437 \begin_inset Flex Code
15438 status collapsed
15439
15440 \begin_layout Plain Layout
15441 endnote
15442 \end_layout
15443
15444 \end_inset
15445
15446 モジュール中で定義されています.
15447 \end_layout
15448
15449 \begin_layout Itemize
15450 XML要素(
15451 \begin_inset Flex Code
15452 status collapsed
15453
15454 \begin_layout Plain Layout
15455 Element
15456 \end_layout
15457
15458 \end_inset
15459
15460 ).DocBookクラスで使用するものです.
15461 \end_layout
15462
15463 \begin_layout Standard
15464 自由差込枠は,以下で説明する
15465 \begin_inset Flex Code
15466 status collapsed
15467
15468 \begin_layout Plain Layout
15469 InsetLayout
15470 \end_layout
15471
15472 \end_inset
15473
15474 タグを使用して定義されます.
15475 \end_layout
15476
15477 \begin_layout Standard
15478 \begin_inset Flex Code
15479 status collapsed
15480
15481 \begin_layout Plain Layout
15482 InsetLayout
15483 \end_layout
15484
15485 \end_inset
15486
15487 タグは,もう一つ別の機能も提供します.これを使えば,いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
15488 \begin_inset Flex Code
15489 status collapsed
15490
15491 \begin_layout Plain Layout
15492 InsetLayout
15493 \end_layout
15494
15495 \end_inset
15496
15497 は自由差込枠を定義することの他に,脚註・傍註・註釈差込枠・\SpecialChar TeX
15498 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザ
15499 ー定義するのに使用されます.
15500 \end_layout
15501
15502 \begin_layout Standard
15503 \begin_inset Flex Code
15504 status collapsed
15505
15506 \begin_layout Plain Layout
15507 InsetLayout
15508 \end_layout
15509
15510 \end_inset
15511
15512 定義は以下の形の行では始まらなくてはなりません.
15513 \end_layout
15514
15515 \begin_layout LyX-Code
15516 InsetLayout <型>
15517 \end_layout
15518
15519 \begin_layout Standard
15520 ここで
15521 \begin_inset Flex Code
15522 status collapsed
15523
15524 \begin_layout Plain Layout
15525 <型>
15526 \end_layout
15527
15528 \end_inset
15529
15530 は,レイアウトを定義しようとしている差込枠を指し,4つの場合があります.
15531 \end_layout
15532
15533 \begin_layout Enumerate
15534 既存の差込枠のレイアウトを変更する場合.この場合,
15535 \begin_inset Flex Code
15536 status collapsed
15537
15538 \begin_layout Plain Layout
15539 <型>
15540 \end_layout
15541
15542 \end_inset
15543
15544 は以下のいずれかになります:
15545 \begin_inset Flex Code
15546 status collapsed
15547
15548 \begin_layout Plain Layout
15549 Algorithm
15550 \end_layout
15551
15552 \end_inset
15553
15554
15555 \begin_inset Flex Code
15556 status collapsed
15557
15558 \begin_layout Plain Layout
15559 Branch
15560 \end_layout
15561
15562 \end_inset
15563
15564
15565 \begin_inset Flex Code
15566 status collapsed
15567
15568 \begin_layout Plain Layout
15569 Box
15570 \end_layout
15571
15572 \end_inset
15573
15574
15575 \begin_inset Flex Code
15576 status collapsed
15577
15578 \begin_layout Plain Layout
15579 Box:shaded
15580 \end_layout
15581
15582 \end_inset
15583
15584
15585 \begin_inset Flex Code
15586 status collapsed
15587
15588 \begin_layout Plain Layout
15589 Caption:Standard
15590 \end_layout
15591
15592 \end_inset
15593
15594
15595 \begin_inset Flex Code
15596 status collapsed
15597
15598 \begin_layout Plain Layout
15599 ERT
15600 \end_layout
15601
15602 \end_inset
15603
15604
15605 \begin_inset Flex Code
15606 status collapsed
15607
15608 \begin_layout Plain Layout
15609 Figure
15610 \end_layout
15611
15612 \end_inset
15613
15614
15615 \begin_inset Flex Code
15616 status collapsed
15617
15618 \begin_layout Plain Layout
15619 Foot
15620 \end_layout
15621
15622 \end_inset
15623
15624
15625 \begin_inset Flex Code
15626 status collapsed
15627
15628 \begin_layout Plain Layout
15629 Index
15630 \end_layout
15631
15632 \end_inset
15633
15634
15635 \begin_inset Flex Code
15636 status collapsed
15637
15638 \begin_layout Plain Layout
15639 Info
15640 \end_layout
15641
15642 \end_inset
15643
15644
15645 \begin_inset Flex Code
15646 status collapsed
15647
15648 \begin_layout Plain Layout
15649 Info:menu
15650 \end_layout
15651
15652 \end_inset
15653
15654
15655 \begin_inset Flex Code
15656 status collapsed
15657
15658 \begin_layout Plain Layout
15659 Info:shortcut
15660 \end_layout
15661
15662 \end_inset
15663
15664
15665 \begin_inset Flex Code
15666 status collapsed
15667
15668 \begin_layout Plain Layout
15669 Info:shortcuts
15670 \end_layout
15671
15672 \end_inset
15673
15674
15675 \begin_inset Flex Code
15676 status collapsed
15677
15678 \begin_layout Plain Layout
15679 Listings
15680 \end_layout
15681
15682 \end_inset
15683
15684
15685 \begin_inset Flex Code
15686 status collapsed
15687
15688 \begin_layout Plain Layout
15689 Marginal
15690 \end_layout
15691
15692 \end_inset
15693
15694
15695 \begin_inset Flex Code
15696 status collapsed
15697
15698 \begin_layout Plain Layout
15699 Note:Comment
15700 \end_layout
15701
15702 \end_inset
15703
15704
15705 \begin_inset Flex Code
15706 status collapsed
15707
15708 \begin_layout Plain Layout
15709 Note:Note
15710 \end_layout
15711
15712 \end_inset
15713
15714
15715 \begin_inset Flex Code
15716 status collapsed
15717
15718 \begin_layout Plain Layout
15719 Note:GreyedOut
15720 \end_layout
15721
15722 \end_inset
15723
15724
15725 \begin_inset Flex Code
15726 status collapsed
15727
15728 \begin_layout Plain Layout
15729 Table
15730 \end_layout
15731
15732 \end_inset
15733
15734
15735 \begin_inset Flex Code
15736 status collapsed
15737
15738 \begin_layout Plain Layout
15739 URL
15740 \end_layout
15741
15742 \end_inset
15743
15744
15745 \end_layout
15746
15747 \begin_layout Enumerate
15748 自由差込枠のレイアウトを定義する場合.この場合,
15749 \begin_inset Flex Code
15750 status collapsed
15751
15752 \begin_layout Plain Layout
15753 <型>
15754 \end_layout
15755
15756 \end_inset
15757
15758
15759 \begin_inset Flex Code
15760 status collapsed
15761
15762 \begin_layout Plain Layout
15763 Flex:<名称>
15764 \end_layout
15765
15766 \end_inset
15767
15768 の形でなくてはなりません.ここで,
15769 \begin_inset Flex Code
15770 status collapsed
15771
15772 \begin_layout Plain Layout
15773 名称
15774 \end_layout
15775
15776 \end_inset
15777
15778 は,既存の自由差込枠で使用されていない有効な識別子であれば,何でも構いません.識別子には空白を入れることもできますが,この場合には全体を引用符で囲まなくてはなり
15779 ません.自由差込枠の定義には,この定義がどの差込枠型なのか宣言するために,
15780 \begin_inset Flex Code
15781 status collapsed
15782
15783 \begin_layout Plain Layout
15784 LyXType
15785 \end_layout
15786
15787 \end_inset
15788
15789 項目が含まれていなくてはならないことに注意してください.
15790 \end_layout
15791
15792 \begin_layout Enumerate
15793 ユーザー定義派生枝を定義する場合.この場合,
15794 \begin_inset Flex Code
15795 status collapsed
15796
15797 \begin_layout Plain Layout
15798 <型>
15799 \end_layout
15800
15801 \end_inset
15802
15803 は「
15804 \begin_inset Flex Code
15805 status collapsed
15806
15807 \begin_layout Plain Layout
15808 Branch:<名称>
15809 \end_layout
15810
15811 \end_inset
15812
15813 」の形でなくてはなりません.ここで,
15814 \begin_inset Flex Code
15815 status collapsed
15816
15817 \begin_layout Plain Layout
15818 名称
15819 \end_layout
15820
15821 \end_inset
15822
15823 は,ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主
15824 な目的は,ユーザーの必要に応じて,特定の派生枝を\SpecialChar LaTeX
15825 がくるむことができるようにすることです.
15826 \end_layout
15827
15828 \begin_layout Enumerate
15829 ユーザー(またはクラス)定義のキャプションを定義する場合.この場合,
15830 \begin_inset Flex Code
15831 status collapsed
15832
15833 \begin_layout Plain Layout
15834 <型>
15835 \end_layout
15836
15837 \end_inset
15838
15839 は「
15840 \begin_inset Flex Code
15841 status collapsed
15842
15843 \begin_layout Plain Layout
15844 Caption:<名称>
15845 \end_layout
15846
15847 \end_inset
15848
15849 」の形でなくてはなりません.ここで,
15850 \begin_inset Flex Code
15851 status collapsed
15852
15853 \begin_layout Plain Layout
15854 名称
15855 \end_layout
15856
15857 \end_inset
15858
15859 は,メニューに表示されるキャプション名です.応用例については,標準キャプション(
15860 \begin_inset Flex Code
15861 status collapsed
15862
15863 \begin_layout Plain Layout
15864 Caption:Standard
15865 \end_layout
15866
15867 \end_inset
15868
15869 ),若しくはKOMA-Scriptクラスのクラス定義キャプション(
15870 \begin_inset Flex Code
15871 status collapsed
15872
15873 \begin_layout Plain Layout
15874 Caption:Above
15875 \end_layout
15876
15877 \end_inset
15878
15879
15880 \begin_inset Flex Code
15881 status collapsed
15882
15883 \begin_layout Plain Layout
15884 Caption:Below
15885 \end_layout
15886
15887 \end_inset
15888
15889 ),
15890 \family sans
15891 多言語キャプション
15892 \family default
15893 モジュール(
15894 \begin_inset Flex Code
15895 status collapsed
15896
15897 \begin_layout Plain Layout
15898 Caption:\SpecialChar allowbreak
15899 Bicaption
15900 \end_layout
15901
15902 \end_inset
15903
15904 )をご覧ください.
15905 \end_layout
15906
15907 \begin_layout Standard
15908 \begin_inset Flex Code
15909 status collapsed
15910
15911 \begin_layout Plain Layout
15912 InsetLayout
15913 \end_layout
15914
15915 \end_inset
15916
15917 定義には以下の項目を入れることができます.
15918 \end_layout
15919
15920 \begin_layout Description
15921 \begin_inset Flex Code
15922 status collapsed
15923
15924 \begin_layout Plain Layout
15925 AddToToc
15926 \end_layout
15927
15928 \end_inset
15929
15930  [
15931 \begin_inset Flex Code
15932 status collapsed
15933
15934 \begin_layout Plain Layout
15935 文字列
15936 \end_layout
15937
15938 \end_inset
15939
15940 =""] この差込枠は,この型の一覧表に表示されます.空の文字列を入れると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドも参
15941 照してください.これは,自由差込枠にのみ実装されています.既定値:無効.
15942 \end_layout
15943
15944 \begin_layout Description
15945 \begin_inset Flex Code
15946 status collapsed
15947
15948 \begin_layout Plain Layout
15949 Argument
15950 \end_layout
15951
15952 \end_inset
15953
15954  [
15955 \begin_inset Flex Code
15956 status collapsed
15957
15958 \begin_layout Plain Layout
15959 整数
15960 \end_layout
15961
15962 \end_inset
15963
15964 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引数番号を定義します.定義は
15965 \begin_inset Flex Code
15966 status collapsed
15967
15968 \begin_layout Plain Layout
15969 EndArgument
15970 \end_layout
15971
15972 \end_inset
15973
15974 で閉じなくてはなりません.詳細は第
15975 \begin_inset CommandInset ref
15976 LatexCommand ref
15977 reference "subsec:段落様式"
15978
15979 \end_inset
15980
15981 節参照.
15982 \end_layout
15983
15984 \begin_layout Description
15985 \begin_inset Flex Code
15986 status collapsed
15987
15988 \begin_layout Plain Layout
15989 BabelPreamble
15990 \end_layout
15991
15992 \end_inset
15993
15994  言語コマンドを変更するプリアンブル.第
15995 \begin_inset CommandInset ref
15996 LatexCommand ref
15997 reference "subsec:段落様式の国際化"
15998
15999 \end_inset
16000
16001 節参照.
16002 \end_layout
16003
16004 \begin_layout Description
16005 \begin_inset Flex Code
16006 status collapsed
16007
16008 \begin_layout Plain Layout
16009 BgColor
16010 \end_layout
16011
16012 \end_inset
16013
16014  [
16015 \begin_inset Flex Code
16016 status collapsed
16017
16018 \begin_layout Plain Layout
16019 <名称>
16020 \end_layout
16021
16022 \end_inset
16023
16024 ] 差込枠の背景色.使用できる色名一覧は第
16025 \begin_inset CommandInset ref
16026 LatexCommand ref
16027 reference "chap:色名"
16028
16029 \end_inset
16030
16031 節参照.
16032 \end_layout
16033
16034 \begin_layout Description
16035 \begin_inset Flex Code
16036 status collapsed
16037
16038 \begin_layout Plain Layout
16039 ContentAsLabel
16040 \end_layout
16041
16042 \end_inset
16043
16044  [
16045 \begin_inset Flex Code
16046 status collapsed
16047
16048 \begin_layout Plain Layout
16049
16050 \emph on
16051 0
16052 \end_layout
16053
16054 \end_inset
16055
16056 ,
16057 \begin_inset space \thinspace{}
16058 \end_inset
16059
16060
16061 \begin_inset Flex Code
16062 status collapsed
16063
16064 \begin_layout Plain Layout
16065 1
16066 \end_layout
16067
16068 \end_inset
16069
16070 ] 差込枠を閉じた際,差込枠の内容をラベルとして使用するか否か.既定値は偽です.
16071 \end_layout
16072
16073 \begin_layout Description
16074 \begin_inset Flex Code
16075 status collapsed
16076
16077 \begin_layout Plain Layout
16078 CopyStyle
16079 \end_layout
16080
16081 \end_inset
16082
16083  [<型>] 段落様式と同様です.第
16084 \begin_inset CommandInset ref
16085 LatexCommand ref
16086 reference "subsec:段落様式"
16087
16088 \end_inset
16089
16090 節参照のこと.完全な型を指定する必要があることに注意してください.例:
16091 \begin_inset Flex Code
16092 status collapsed
16093
16094 \begin_layout Plain Layout
16095 CopyStyle Flex:<名称>
16096 \end_layout
16097
16098 \end_inset
16099
16100
16101 \end_layout
16102
16103 \begin_layout Description
16104 \begin_inset Flex Code
16105 status collapsed
16106
16107 \begin_layout Plain Layout
16108 CustomPars
16109 \end_layout
16110
16111 \end_inset
16112
16113  [
16114 \begin_inset Flex Code
16115 status collapsed
16116
16117 \begin_layout Plain Layout
16118
16119 \emph on
16120 0
16121 \end_layout
16122
16123 \end_inset
16124
16125 ,
16126 \begin_inset space \thinspace{}
16127 \end_inset
16128
16129
16130 \begin_inset Flex Code
16131 status collapsed
16132
16133 \begin_layout Plain Layout
16134 1
16135 \end_layout
16136
16137 \end_inset
16138
16139 ] 段落を設定するのに,段落設定ダイアログをユーザが使えるかどうかを指定します.
16140 \end_layout
16141
16142 \begin_layout Description
16143 \begin_inset Flex Code
16144 status collapsed
16145
16146 \begin_layout Plain Layout
16147 Decoration
16148 \end_layout
16149
16150 \end_inset
16151
16152  差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
16153 \begin_inset Flex Code
16154 status collapsed
16155
16156 \begin_layout Plain Layout
16157 Classic
16158 \end_layout
16159
16160 \end_inset
16161
16162
16163 \begin_inset Flex Code
16164 status collapsed
16165
16166 \begin_layout Plain Layout
16167 Minimalistic
16168 \end_layout
16169
16170 \end_inset
16171
16172
16173 \begin_inset Flex Code
16174 status collapsed
16175
16176 \begin_layout Plain Layout
16177 Conglomerate
16178 \end_layout
16179
16180 \end_inset
16181
16182 のいずれかを指定することができます.脚註は通常
16183 \begin_inset Flex Code
16184 status collapsed
16185
16186 \begin_layout Plain Layout
16187 Classic
16188 \end_layout
16189
16190 \end_inset
16191
16192 を使用し,\SpecialChar TeX
16193 コード差込枠は通常
16194 \begin_inset Flex Code
16195 status collapsed
16196
16197 \begin_layout Plain Layout
16198 Minimalistic
16199 \end_layout
16200
16201 \end_inset
16202
16203 ,文字様式は
16204 \begin_inset Flex Code
16205 status collapsed
16206
16207 \begin_layout Plain Layout
16208 Conglomerate
16209 \end_layout
16210
16211 \end_inset
16212
16213 を使用します.
16214 \end_layout
16215
16216 \begin_layout Description
16217 \begin_inset Flex Code
16218 status collapsed
16219
16220 \begin_layout Plain Layout
16221 Display
16222 \end_layout
16223
16224 \end_inset
16225
16226  [
16227 \begin_inset Flex Code
16228 status collapsed
16229
16230 \begin_layout Plain Layout
16231 0
16232 \end_layout
16233
16234 \end_inset
16235
16236 ,
16237 \begin_inset space \thinspace{}
16238 \end_inset
16239
16240
16241 \begin_inset Flex Code
16242 status collapsed
16243
16244 \begin_layout Plain Layout
16245
16246 \emph on
16247 1
16248 \end_layout
16249
16250 \end_inset
16251
16252
16253 \begin_inset Flex Code
16254 status collapsed
16255
16256 \begin_layout Plain Layout
16257 LatexType
16258 \end_layout
16259
16260 \end_inset
16261
16262
16263 \begin_inset Flex Code
16264 status collapsed
16265
16266 \begin_layout Plain Layout
16267 Environment
16268 \end_layout
16269
16270 \end_inset
16271
16272 の時のみ意味をもちます.環境を,出力中で独立して出力させるか,周囲のテキストとインラインで出力させるかを示します.偽にすると,\SpecialChar LaTeX
16273 環境は,
16274 \begin_inset Flex Code
16275 status collapsed
16276
16277 \begin_layout Plain Layout
16278
16279 \backslash
16280 begin{LatexName}
16281 \end_layout
16282
16283 \end_inset
16284
16285 タグと
16286 \begin_inset Flex Code
16287 status collapsed
16288
16289 \begin_layout Plain Layout
16290
16291 \backslash
16292 end{LatexName}
16293 \end_layout
16294
16295 \end_inset
16296
16297 タグの後の空白(改行文字を含む)を無視するものと仮定します.
16298 \end_layout
16299
16300 \begin_layout Description
16301 \begin_inset Flex Code
16302 status collapsed
16303
16304 \begin_layout Plain Layout
16305 End
16306 \end_layout
16307
16308 \end_inset
16309
16310  
16311 \begin_inset Flex Code
16312 status collapsed
16313
16314 \begin_layout Plain Layout
16315 InsetLayout
16316 \end_layout
16317
16318 \end_inset
16319
16320 宣言を閉じるのに必要です.
16321 \end_layout
16322
16323 \begin_layout Description
16324 \begin_inset Flex Code
16325 status collapsed
16326
16327 \begin_layout Plain Layout
16328 Font
16329 \end_layout
16330
16331 \end_inset
16332
16333  本文本体とラベル
16334 \emph on
16335 両方に
16336 \emph default
16337 使用されるフォントです.第
16338 \begin_inset CommandInset ref
16339 LatexCommand ref
16340 reference "subsec:フォント指定"
16341
16342 \end_inset
16343
16344 節を参照.このフォントを定義すると自動的に
16345 \begin_inset Flex Code
16346 status collapsed
16347
16348 \begin_layout Plain Layout
16349 LabelFont
16350 \end_layout
16351
16352 \end_inset
16353
16354 も同じ値に定義されるので,これらを別々の値にしたいときは,これを先に定義してから後に
16355 \begin_inset Flex Code
16356 status collapsed
16357
16358 \begin_layout Plain Layout
16359 LabelFont
16360 \end_layout
16361
16362 \end_inset
16363
16364 を定義しなくてはならないことに注意してください.
16365 \end_layout
16366
16367 \begin_layout Description
16368 \begin_inset Flex Code
16369 status collapsed
16370
16371 \begin_layout Plain Layout
16372 FixedWidthPreambleEncoding
16373 \end_layout
16374
16375 \end_inset
16376
16377  [
16378 \begin_inset Flex Code
16379 status collapsed
16380
16381 \begin_layout Plain Layout
16382
16383 \emph on
16384 0
16385 \end_layout
16386
16387 \end_inset
16388
16389 ,
16390 \begin_inset space \thinspace{}
16391 \end_inset
16392
16393
16394 \begin_inset Flex Code
16395 status collapsed
16396
16397 \begin_layout Plain Layout
16398 1
16399 \end_layout
16400
16401 \end_inset
16402
16403 ] このレイアウトによって生成される
16404 \begin_inset Flex Code
16405 status collapsed
16406
16407 \begin_layout Plain Layout
16408 BabelPreamble
16409 \end_layout
16410
16411 \end_inset
16412
16413 および
16414 \begin_inset Flex Code
16415 status collapsed
16416
16417 \begin_layout Plain Layout
16418 LangPreamble
16419 \end_layout
16420
16421 \end_inset
16422
16423 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
16424 \family typewriter
16425 listings
16426 \family default
16427 のように,
16428 \family sans
16429 utf8
16430 \family default
16431 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
16432 パッケージのために必要です.この設定は,Xe\SpecialChar TeX
16433 やLua\SpecialChar TeX
16434 のようなUnicodeを完全に解する\SpecialChar LaTeX
16435 バックエンドを使用してい
16436 る場合には,無視されます.
16437 \end_layout
16438
16439 \begin_layout Description
16440 \begin_inset Flex Code
16441 status collapsed
16442
16443 \begin_layout Plain Layout
16444 ForceLocalFontSwitch
16445 \end_layout
16446
16447 \end_inset
16448
16449  [
16450 \begin_inset Flex Code
16451 status collapsed
16452
16453 \begin_layout Plain Layout
16454
16455 \emph on
16456 0
16457 \end_layout
16458
16459 \end_inset
16460
16461 ,
16462 \begin_inset space \thinspace{}
16463 \end_inset
16464
16465
16466 \begin_inset Flex Code
16467 status collapsed
16468
16469 \begin_layout Plain Layout
16470 1
16471 \end_layout
16472
16473 \end_inset
16474
16475 ] babel使用時に,常にローカルフォント切替(
16476 \begin_inset Flex Code
16477 status collapsed
16478
16479 \begin_layout Plain Layout
16480
16481 \backslash
16482 foreignlanguage
16483 \end_layout
16484
16485 \end_inset
16486
16487 )を使い,グローバル切替(
16488 \begin_inset Flex Code
16489 status collapsed
16490
16491 \begin_layout Plain Layout
16492
16493 \backslash
16494 selectlanguage
16495 \end_layout
16496
16497 \end_inset
16498
16499 など)は使わない.
16500 \end_layout
16501
16502 \begin_layout Description
16503 \begin_inset Flex Code
16504 status collapsed
16505
16506 \begin_layout Plain Layout
16507 ForceLTR
16508 \end_layout
16509
16510 \end_inset
16511
16512  [
16513 \begin_inset Flex Code
16514 status collapsed
16515
16516 \begin_layout Plain Layout
16517
16518 \emph on
16519 0
16520 \end_layout
16521
16522 \end_inset
16523
16524 ,
16525 \begin_inset space \thinspace{}
16526 \end_inset
16527
16528
16529 \begin_inset Flex Code
16530 status collapsed
16531
16532 \begin_layout Plain Layout
16533 1
16534 \end_layout
16535
16536 \end_inset
16537
16538 ] たとえば\SpecialChar TeX
16539 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
16540 \end_layout
16541
16542 \begin_layout Description
16543 \begin_inset Flex Code
16544 status collapsed
16545
16546 \begin_layout Plain Layout
16547 ForceOwnlines
16548 \end_layout
16549
16550 \end_inset
16551
16552  [
16553 \begin_inset Flex Code
16554 status collapsed
16555
16556 \begin_layout Plain Layout
16557
16558 \emph on
16559 0
16560 \end_layout
16561
16562 \end_inset
16563
16564 ,
16565 \begin_inset space \thinspace{}
16566 \end_inset
16567
16568
16569 \begin_inset Flex Code
16570 status collapsed
16571
16572 \begin_layout Plain Layout
16573 1
16574 \end_layout
16575
16576 \end_inset
16577
16578 ] \SpecialChar LaTeX
16579 出力において,この差込枠が開始する前と終了する後に,改行を強制します.これは,解析上の目的のために,差込枠が単独行に出力されるように保証します.
16580 \end_layout
16581
16582 \begin_layout Description
16583 \begin_inset Flex Code
16584 status collapsed
16585
16586 \begin_layout Plain Layout
16587 ForcePlain
16588 \end_layout
16589
16590 \end_inset
16591
16592  [
16593 \begin_inset Flex Code
16594 status collapsed
16595
16596 \begin_layout Plain Layout
16597
16598 \emph on
16599 0
16600 \end_layout
16601
16602 \end_inset
16603
16604 ,
16605 \begin_inset space \thinspace{}
16606 \end_inset
16607
16608
16609 \begin_inset Flex Code
16610 status collapsed
16611
16612 \begin_layout Plain Layout
16613 1
16614 \end_layout
16615
16616 \end_inset
16617
16618 ] PlainLayoutを使用するべきなのか,それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
16619 \end_layout
16620
16621 \begin_layout Description
16622 \begin_inset Flex Code
16623 status collapsed
16624
16625 \begin_layout Plain Layout
16626 FreeSpacing
16627 \end_layout
16628
16629 \end_inset
16630
16631  [
16632 \emph on
16633
16634 \begin_inset Flex Code
16635 status collapsed
16636
16637 \begin_layout Plain Layout
16638 0
16639 \end_layout
16640
16641 \end_inset
16642
16643
16644 \emph default
16645 ,
16646 \begin_inset space \thinspace{}
16647 \end_inset
16648
16649
16650 \begin_inset Flex Code
16651 status collapsed
16652
16653 \begin_layout Plain Layout
16654 1
16655 \end_layout
16656
16657 \end_inset
16658
16659 ] 段落様式と同様.第
16660 \begin_inset CommandInset ref
16661 LatexCommand ref
16662 reference "subsec:段落様式"
16663
16664 \end_inset
16665
16666 節参照.
16667 \end_layout
16668
16669 \begin_layout Description
16670 \begin_inset Flex Code
16671 status collapsed
16672
16673 \begin_layout Plain Layout
16674 HTML*
16675 \end_layout
16676
16677 \end_inset
16678
16679  これらは,XHTML出力で使用されます.第
16680 \begin_inset CommandInset ref
16681 LatexCommand ref
16682 reference "sec:XHTML出力のタグ"
16683
16684 \end_inset
16685
16686 節をご覧ください.
16687 \end_layout
16688
16689 \begin_layout Description
16690 \begin_inset Flex Code
16691 status collapsed
16692
16693 \begin_layout Plain Layout
16694 InToc
16695 \end_layout
16696
16697 \end_inset
16698
16699  [
16700 \begin_inset Flex Code
16701 status collapsed
16702
16703 \begin_layout Plain Layout
16704
16705 \emph on
16706 0
16707 \end_layout
16708
16709 \end_inset
16710
16711 ,
16712 \begin_inset space \thinspace{}
16713 \end_inset
16714
16715
16716 \begin_inset Flex Code
16717 status collapsed
16718
16719 \begin_layout Plain Layout
16720 1
16721 \end_layout
16722
16723 \end_inset
16724
16725 ] AddToTocの設定に関わらず,「文書構造」面用に出力される文字列に,この差込枠の内容を含めるかどうか.たとえば,節見出しの脚註の内容が,文書構造の目次に
16726 表示されることは望まないでしょうが,通常,文字様式の内容は表示されることを望むでしょう.既定値は偽,すなわち含めません.
16727 \end_layout
16728
16729 \begin_layout Description
16730 \begin_inset Flex Code
16731 status collapsed
16732
16733 \begin_layout Plain Layout
16734 IsTocCaption
16735 \end_layout
16736
16737 \end_inset
16738
16739  [
16740 \begin_inset Flex Code
16741 status collapsed
16742
16743 \begin_layout Plain Layout
16744
16745 \emph on
16746 0
16747 \end_layout
16748
16749 \end_inset
16750
16751 ,
16752 \begin_inset space \thinspace{}
16753 \end_inset
16754
16755
16756 \begin_inset Flex Code
16757 status collapsed
16758
16759 \begin_layout Plain Layout
16760 1
16761 \end_layout
16762
16763 \end_inset
16764
16765 ] AddToTocが有効なときに,これが1に設定されていると,差込枠の内容の要約が,目次項目に表示されます.0の場合は,ラベルのみが表示されます.
16766 \end_layout
16767
16768 \begin_layout Description
16769 \begin_inset Flex Code
16770 status collapsed
16771
16772 \begin_layout Plain Layout
16773 KeepEmpty
16774 \end_layout
16775
16776 \end_inset
16777
16778  [
16779 \emph on
16780
16781 \begin_inset Flex Code
16782 status collapsed
16783
16784 \begin_layout Plain Layout
16785 0
16786 \end_layout
16787
16788 \end_inset
16789
16790
16791 \emph default
16792 ,
16793 \begin_inset space \thinspace{}
16794 \end_inset
16795
16796
16797 \begin_inset Flex Code
16798 status collapsed
16799
16800 \begin_layout Plain Layout
16801 1
16802 \end_layout
16803
16804 \end_inset
16805
16806 ] 段落様式と同様.第
16807 \begin_inset CommandInset ref
16808 LatexCommand ref
16809 reference "subsec:段落様式"
16810
16811 \end_inset
16812
16813 節参照.
16814 \end_layout
16815
16816 \begin_layout Description
16817 \begin_inset Flex Code
16818 status collapsed
16819
16820 \begin_layout Plain Layout
16821 LabelFont
16822 \end_layout
16823
16824 \end_inset
16825
16826  ラベルに使用されるフォント.第
16827 \begin_inset CommandInset ref
16828 LatexCommand ref
16829 reference "subsec:フォント指定"
16830
16831 \end_inset
16832
16833 節を参照.非効率を回避するため,この定義は
16834 \begin_inset Flex Code
16835 status collapsed
16836
16837 \begin_layout Plain Layout
16838 Font
16839 \end_layout
16840
16841 \end_inset
16842
16843 の前には決して現れてはなりません.
16844 \end_layout
16845
16846 \begin_layout Description
16847 \begin_inset Flex Code
16848 status collapsed
16849
16850 \begin_layout Plain Layout
16851 LabelString
16852 \end_layout
16853
16854 \end_inset
16855
16856  [
16857 \begin_inset Flex Code
16858 status collapsed
16859
16860 \begin_layout Plain Layout
16861 文字列
16862 \end_layout
16863
16864 \end_inset
16865
16866 =
16867 \begin_inset Quotes erd
16868 \end_inset
16869
16870
16871 \begin_inset Quotes erd
16872 \end_inset
16873
16874 ]
16875 \lang english
16876  
16877 \lang japanese
16878 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
16879 コードや派生枝),ラベルが動的に変更されます.
16880 \end_layout
16881
16882 \begin_layout Description
16883 \begin_inset Flex Code
16884 status collapsed
16885
16886 \begin_layout Plain Layout
16887 LangPreamble
16888 \end_layout
16889
16890 \end_inset
16891
16892  言語依存のプリアンブル.第
16893 \begin_inset CommandInset ref
16894 LatexCommand ref
16895 reference "subsec:段落様式の国際化"
16896
16897 \end_inset
16898
16899 節参照.
16900 \end_layout
16901
16902 \begin_layout Description
16903 \begin_inset Flex Code
16904 status collapsed
16905
16906 \begin_layout Plain Layout
16907 LatexName
16908 \end_layout
16909
16910 \end_inset
16911
16912  [
16913 \begin_inset Flex Code
16914 status collapsed
16915
16916 \begin_layout Plain Layout
16917 <名称>
16918 \end_layout
16919
16920 \end_inset
16921
16922 ] 対応する\SpecialChar LaTeX
16923 関連物の名称.環境名ないしはコマンド名.
16924 \end_layout
16925
16926 \begin_layout Description
16927 \begin_inset Flex Code
16928 status collapsed
16929
16930 \begin_layout Plain Layout
16931 LatexParam
16932 \end_layout
16933
16934 \end_inset
16935
16936  [
16937 \begin_inset Flex Code
16938 status collapsed
16939
16940 \begin_layout Plain Layout
16941 <パラメータ>
16942 \end_layout
16943
16944 \end_inset
16945
16946 ]
16947 \lang english
16948  
16949 \lang japanese
16950 対応する
16951 \begin_inset Flex Code
16952 status collapsed
16953
16954 \begin_layout Plain Layout
16955 LatexName
16956 \end_layout
16957
16958 \end_inset
16959
16960 関連物の非必須パラメータ.
16961 \begin_inset Flex Code
16962 status collapsed
16963
16964 \begin_layout Plain Layout
16965 []
16966 \end_layout
16967
16968 \end_inset
16969
16970 のような括弧対を含む.このパラメータは\SpecialChar LyX
16971 内部から変更することはできません(変更可能なパラメータには
16972 \begin_inset Flex Code
16973 status collapsed
16974
16975 \begin_layout Plain Layout
16976 Argument
16977 \end_layout
16978
16979 \end_inset
16980
16981 を使用してください).これは,全ての\SpecialChar LaTeX
16982  
16983 \begin_inset Flex Code
16984 status collapsed
16985
16986 \begin_layout Plain Layout
16987 Argument
16988 \end_layout
16989
16990 \end_inset
16991
16992 の後にそのままの形で出力されます.
16993 \end_layout
16994
16995 \begin_layout Description
16996 \begin_inset Flex Code
16997 status collapsed
16998
16999 \begin_layout Plain Layout
17000 LatexType
17001 \end_layout
17002
17003 \end_inset
17004
17005  [
17006 \begin_inset Flex Code
17007 status collapsed
17008
17009 \begin_layout Plain Layout
17010 Command, Environment, None
17011 \end_layout
17012
17013 \end_inset
17014
17015 ] 様式がどのように\SpecialChar LaTeX
17016 に変換されるべきかを示します
17017 \begin_inset Foot
17018 status collapsed
17019
17020 \begin_layout Plain Layout
17021 これらのルールはSGMLクラスにも適用されるので,
17022 \begin_inset Flex Code
17023 status collapsed
17024
17025 \begin_layout Plain Layout
17026 LatexType
17027 \end_layout
17028
17029 \end_inset
17030
17031 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイルを見てください.
17032 \end_layout
17033
17034 \end_inset
17035
17036
17037 \end_layout
17038
17039 \begin_deeper
17040 \begin_layout Description
17041 \begin_inset Flex Code
17042 status collapsed
17043
17044 \begin_layout Plain Layout
17045 None
17046 \end_layout
17047
17048 \end_inset
17049
17050  は,何も特別なことは意味しません
17051 \end_layout
17052
17053 \begin_layout Description
17054 \begin_inset Flex Code
17055 status collapsed
17056
17057 \begin_layout Plain Layout
17058 Command
17059 \end_layout
17060
17061 \end_inset
17062
17063  は,
17064 \begin_inset Flex Code
17065 status collapsed
17066
17067 \begin_layout Plain Layout
17068
17069 \backslash
17070
17071 \emph on
17072 LatexName
17073 \emph default
17074 {\SpecialChar ldots
17075 }
17076 \end_layout
17077
17078 \end_inset
17079
17080 を意味します
17081 \end_layout
17082
17083 \begin_layout Description
17084 \begin_inset Flex Code
17085 status collapsed
17086
17087 \begin_layout Plain Layout
17088 Environment
17089 \end_layout
17090
17091 \end_inset
17092
17093  は,
17094 \begin_inset Flex Code
17095 status collapsed
17096
17097 \begin_layout Plain Layout
17098
17099 \backslash
17100 begin{
17101 \emph on
17102 LatexName
17103 \emph default
17104 }\SpecialChar ldots
17105
17106 \backslash
17107 end{
17108 \emph on
17109 LatexName
17110 \emph default
17111 }
17112 \end_layout
17113
17114 \end_inset
17115
17116 を意味します
17117 \end_layout
17118
17119 \begin_layout Standard
17120 上記最後のいくつかをまとめると,\SpecialChar LaTeX
17121 出力は,\SpecialChar LaTeX
17122 型に依存して
17123 \end_layout
17124
17125 \begin_layout LyX-Code
17126
17127 \backslash
17128 LatexName[LatexParam]{\SpecialChar ldots
17129 }
17130 \end_layout
17131
17132 \begin_layout Standard
17133 のようになるか,
17134 \end_layout
17135
17136 \begin_layout LyX-Code
17137
17138 \backslash
17139 begin{LatexName}[LatexParam] \SpecialChar ldots
17140  
17141 \backslash
17142 end{LatexName}.
17143 \end_layout
17144
17145 \begin_layout Standard
17146 となります.
17147 \end_layout
17148
17149 \end_deeper
17150 \begin_layout Description
17151 \begin_inset Flex Code
17152 status collapsed
17153
17154 \begin_layout Plain Layout
17155 LeftDelim
17156 \end_layout
17157
17158 \end_inset
17159
17160  [
17161 \begin_inset Flex Code
17162 status collapsed
17163
17164 \begin_layout Plain Layout
17165 文字列
17166 \end_layout
17167
17168 \end_inset
17169
17170 ] 様式の内容の最初に置かれる文字列.出力中の改行は
17171 \begin_inset Flex Code
17172 status collapsed
17173
17174 \begin_layout Plain Layout
17175 <br/>
17176 \end_layout
17177
17178 \end_inset
17179
17180 で指示できます.
17181 \end_layout
17182
17183 \begin_layout Description
17184 \begin_inset Flex Code
17185 status collapsed
17186
17187 \begin_layout Plain Layout
17188 LyxType
17189 \end_layout
17190
17191 \end_inset
17192
17193  
17194 \begin_inset Flex Code
17195 status collapsed
17196
17197 \begin_layout Plain Layout
17198 charstyle
17199 \end_layout
17200
17201 \end_inset
17202
17203
17204 \begin_inset Flex Code
17205 status collapsed
17206
17207 \begin_layout Plain Layout
17208 custom
17209 \end_layout
17210
17211 \end_inset
17212
17213
17214 \begin_inset Flex Code
17215 status collapsed
17216
17217 \begin_layout Plain Layout
17218 element
17219 \end_layout
17220
17221 \end_inset
17222
17223
17224 \begin_inset Flex Code
17225 status collapsed
17226
17227 \begin_layout Plain Layout
17228 end
17229 \end_layout
17230
17231 \end_inset
17232
17233 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,自由差込枠に必須であり,かつ自由差込枠でしか意味を持ちません.こ
17234 の項目は,就中,差込枠がどのメニューに表示されるかを決定します.
17235 \begin_inset Flex Code
17236 status collapsed
17237
17238 \begin_layout Plain Layout
17239 LyxType
17240 \end_layout
17241
17242 \end_inset
17243
17244
17245 \begin_inset Flex Code
17246 status collapsed
17247
17248 \begin_layout Plain Layout
17249 charstyle
17250 \end_layout
17251
17252 \end_inset
17253
17254 に設定すると,
17255 \begin_inset Flex Code
17256 status collapsed
17257
17258 \begin_layout Plain Layout
17259 MultiPar
17260 \end_layout
17261
17262 \end_inset
17263
17264 が偽に設定されます
17265 \lang english
17266  and 
17267 \lang japanese
17268
17269 \begin_inset Flex Code
17270 status collapsed
17271
17272 \begin_layout Plain Layout
17273 ForcePlain
17274 \end_layout
17275
17276 \end_inset
17277
17278
17279 \lang english
17280  to true
17281 \lang japanese
17282 .文字様式差込枠で
17283 \begin_inset Flex Code
17284 status collapsed
17285
17286 \begin_layout Plain Layout
17287 MultiPar
17288 \end_layout
17289
17290 \end_inset
17291
17292 を真にしたい時には
17293 \lang english
17294 , or 
17295 \lang japanese
17296
17297 \begin_inset Flex Code
17298 status collapsed
17299
17300 \begin_layout Plain Layout
17301 ForcePlain
17302 \end_layout
17303
17304 \end_inset
17305
17306
17307 \lang english
17308  to false
17309 \lang japanese
17310
17311 \begin_inset Flex Code
17312 status collapsed
17313
17314 \begin_layout Plain Layout
17315 LyxType
17316 \end_layout
17317
17318 \end_inset
17319
17320 を設定した
17321 \emph on
17322 後に
17323 \emph default
17324 設定すれば,真に設定することができます.
17325 \end_layout
17326
17327 \begin_layout Description
17328 \begin_inset Flex Code
17329 status collapsed
17330
17331 \begin_layout Plain Layout
17332 MultiPar
17333 \end_layout
17334
17335 \end_inset
17336
17337  [
17338 \begin_inset Flex Code
17339 status collapsed
17340
17341 \begin_layout Plain Layout
17342
17343 \emph on
17344 0
17345 \end_layout
17346
17347 \end_inset
17348
17349 ,
17350 \begin_inset space \thinspace{}
17351 \end_inset
17352
17353
17354 \begin_inset Flex Code
17355 status collapsed
17356
17357 \begin_layout Plain Layout
17358 1
17359 \end_layout
17360
17361 \end_inset
17362
17363 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
17364 \begin_inset Flex Code
17365 status collapsed
17366
17367 \begin_layout Plain Layout
17368 CustomPars
17369 \end_layout
17370
17371 \end_inset
17372
17373 を同じ値に設定し,
17374 \begin_inset Flex Code
17375 status collapsed
17376
17377 \begin_layout Plain Layout
17378 ForcePlain
17379 \end_layout
17380
17381 \end_inset
17382
17383 を逆の値に設定します.これらは,
17384 \begin_inset Flex Code
17385 status collapsed
17386
17387 \begin_layout Plain Layout
17388 MultiPar
17389 \end_layout
17390
17391 \end_inset
17392
17393
17394 \emph on
17395 後に
17396 \emph default
17397 指定されれば,他の値に指定し直すことができます.既定値は真です.
17398 \end_layout
17399
17400 \begin_layout Description
17401 \begin_inset Flex Code
17402 status collapsed
17403
17404 \begin_layout Plain Layout
17405 NeedProtect
17406 \end_layout
17407
17408 \end_inset
17409
17410  [
17411 \begin_inset Flex Code
17412 status collapsed
17413
17414 \begin_layout Plain Layout
17415
17416 \emph on
17417 0
17418 \end_layout
17419
17420 \end_inset
17421
17422 ,
17423 \begin_inset space \thinspace{}
17424 \end_inset
17425
17426
17427 \begin_inset Flex Code
17428 status collapsed
17429
17430 \begin_layout Plain Layout
17431 1
17432 \end_layout
17433
17434 \end_inset
17435
17436 ] 本レイアウト中で脆弱なコマンドを
17437 \begin_inset Flex Code
17438 status collapsed
17439
17440 \begin_layout Plain Layout
17441
17442 \backslash
17443 protect
17444 \end_layout
17445
17446 \end_inset
17447
17448 するか否か(註:当該コマンド自身をprotectするかどうかでは
17449 \emph on
17450 ありません
17451 \emph default
17452 ).既定値は偽です.
17453 \end_layout
17454
17455 \begin_layout Description
17456 \begin_inset Flex Code
17457 status collapsed
17458
17459 \begin_layout Plain Layout
17460 NoInsetLayout
17461 \end_layout
17462
17463 \end_inset
17464
17465  [
17466 \begin_inset Flex Code
17467 status collapsed
17468
17469 \begin_layout Plain Layout
17470 <レイアウト>
17471 \end_layout
17472
17473 \end_inset
17474
17475 ] 既存の
17476 \begin_inset Flex Code
17477 status collapsed
17478
17479 \begin_layout Plain Layout
17480 InsetLayout
17481 \end_layout
17482
17483 \end_inset
17484
17485 を削除します.
17486 \end_layout
17487
17488 \begin_layout Description
17489 \begin_inset Flex Code
17490 status collapsed
17491
17492 \begin_layout Plain Layout
17493 ObsoletedBy
17494 \end_layout
17495
17496 \end_inset
17497
17498  [
17499 \begin_inset Flex Code
17500 status collapsed
17501
17502 \begin_layout Plain Layout
17503 <レイアウト>
17504 \end_layout
17505
17506 \end_inset
17507
17508 ] この古い
17509 \begin_inset Flex Code
17510 status collapsed
17511
17512 \begin_layout Plain Layout
17513 InsetLayout
17514 \end_layout
17515
17516 \end_inset
17517
17518 を引き継いだ
17519 \begin_inset Flex Code
17520 status collapsed
17521
17522 \begin_layout Plain Layout
17523 InsetLayout
17524 \end_layout
17525
17526 \end_inset
17527
17528 の名称.これは,
17529 \begin_inset Flex Code
17530 status collapsed
17531
17532 \begin_layout Plain Layout
17533 InsetLayout
17534 \end_layout
17535
17536 \end_inset
17537
17538 の改名を,後方互換性を維持しながら行うために用いられます.
17539 \end_layout
17540
17541 \begin_layout Description
17542 \begin_inset Flex Code
17543 status collapsed
17544
17545 \begin_layout Plain Layout
17546 ParbreakIsNewline
17547 \end_layout
17548
17549 \end_inset
17550
17551  [
17552 \begin_inset Flex Code
17553 status collapsed
17554
17555 \begin_layout Plain Layout
17556
17557 \emph on
17558 0
17559 \end_layout
17560
17561 \end_inset
17562
17563 ,
17564 \begin_inset space \thinspace{}
17565 \end_inset
17566
17567
17568 \begin_inset Flex Code
17569 status collapsed
17570
17571 \begin_layout Plain Layout
17572 1
17573 \end_layout
17574
17575 \end_inset
17576
17577 ] 段落様式と同様.第
17578 \begin_inset CommandInset ref
17579 LatexCommand ref
17580 reference "subsec:段落様式"
17581
17582 \end_inset
17583
17584 節参照.
17585 \end_layout
17586
17587 \begin_layout Description
17588 \begin_inset Flex Code
17589 status collapsed
17590
17591 \begin_layout Plain Layout
17592 PassThru
17593 \end_layout
17594
17595 \end_inset
17596
17597  [
17598 \emph on
17599
17600 \begin_inset Flex Code
17601 status collapsed
17602
17603 \begin_layout Plain Layout
17604 0
17605 \end_layout
17606
17607 \end_inset
17608
17609
17610 \emph default
17611 ,
17612 \begin_inset space \thinspace{}
17613 \end_inset
17614
17615
17616 \begin_inset Flex Code
17617 status collapsed
17618
17619 \begin_layout Plain Layout
17620 1
17621 \end_layout
17622
17623 \end_inset
17624
17625 ] 段落様式と同様.第
17626 \begin_inset CommandInset ref
17627 LatexCommand ref
17628 reference "subsec:段落様式"
17629
17630 \end_inset
17631
17632 節参照.
17633 \end_layout
17634
17635 \begin_layout Description
17636 \begin_inset Flex Code
17637 status collapsed
17638
17639 \begin_layout Plain Layout
17640 Preamble
17641 \end_layout
17642
17643 \end_inset
17644
17645  段落様式と同様.第
17646 \begin_inset CommandInset ref
17647 LatexCommand ref
17648 reference "subsec:段落様式"
17649
17650 \end_inset
17651
17652 節参照.
17653 \end_layout
17654
17655 \begin_layout Description
17656 \begin_inset Flex Code
17657 status collapsed
17658
17659 \begin_layout Plain Layout
17660 RefPrefix
17661 \end_layout
17662
17663 \end_inset
17664
17665  [
17666 \begin_inset Flex Code
17667 status collapsed
17668
17669 \begin_layout Plain Layout
17670 文字列
17671 \end_layout
17672
17673 \end_inset
17674
17675 ] この型の差込枠を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
17676 \end_layout
17677
17678 \begin_layout Description
17679 \begin_inset Flex Code
17680 status collapsed
17681
17682 \begin_layout Plain Layout
17683 Requires
17684 \end_layout
17685
17686 \end_inset
17687
17688  [
17689 \begin_inset Flex Code
17690 status collapsed
17691
17692 \begin_layout Plain Layout
17693 文字列
17694 \end_layout
17695
17696 \end_inset
17697
17698 ] 段落様式と同様.第
17699 \begin_inset CommandInset ref
17700 LatexCommand ref
17701 reference "subsec:段落様式"
17702
17703 \end_inset
17704
17705 節参照.
17706 \end_layout
17707
17708 \begin_layout Description
17709 \begin_inset Flex Code
17710 status collapsed
17711
17712 \begin_layout Plain Layout
17713 ResetArgs
17714 \end_layout
17715
17716 \end_inset
17717
17718  [
17719 \begin_inset Flex Code
17720 status collapsed
17721
17722 \begin_layout Plain Layout
17723
17724 \emph on
17725 0
17726 \end_layout
17727
17728 \end_inset
17729
17730 ,
17731 \begin_inset space \thinspace{}
17732 \end_inset
17733
17734
17735 \begin_inset Flex Code
17736 status collapsed
17737
17738 \begin_layout Plain Layout
17739 1
17740 \end_layout
17741
17742 \end_inset
17743
17744 ] (
17745 \begin_inset Flex Code
17746 status collapsed
17747
17748 \begin_layout Plain Layout
17749 Argument
17750 \end_layout
17751
17752 \end_inset
17753
17754 タグで定義された)この様式の\SpecialChar LaTeX
17755 引数をリセットします.これは,様式を
17756 \begin_inset Flex Code
17757 status collapsed
17758
17759 \begin_layout Plain Layout
17760 CopyStyle
17761 \end_layout
17762
17763 \end_inset
17764
17765 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
17766 \end_layout
17767
17768 \begin_layout Description
17769 \begin_inset Flex Code
17770 status collapsed
17771
17772 \begin_layout Plain Layout
17773 ResetsFont
17774 \end_layout
17775
17776 \end_inset
17777
17778  [
17779 \begin_inset Flex Code
17780 status collapsed
17781
17782 \begin_layout Plain Layout
17783 0
17784 \end_layout
17785
17786 \end_inset
17787
17788 ,
17789 \begin_inset space \thinspace{}
17790 \end_inset
17791
17792
17793 \begin_inset Flex Code
17794 status collapsed
17795
17796 \begin_layout Plain Layout
17797
17798 \emph on
17799 1
17800 \end_layout
17801
17802 \end_inset
17803
17804 ] この差込枠が周囲の環境と同じフォントを用いるか,独自のフォントを用いるか.既定値は真,すなわち独自のフォントを用います.
17805 \begin_inset Note Note
17806 status open
17807
17808 \begin_layout Plain Layout
17809 This is outdated: The default changed from 1 to 0
17810 \end_layout
17811
17812 \end_inset
17813
17814
17815 \end_layout
17816
17817 \begin_layout Description
17818 \begin_inset Flex Code
17819 status collapsed
17820
17821 \begin_layout Plain Layout
17822 RightDelim
17823 \end_layout
17824
17825 \end_inset
17826
17827  [
17828 \begin_inset Flex Code
17829 status collapsed
17830
17831 \begin_layout Plain Layout
17832 文字列
17833 \end_layout
17834
17835 \end_inset
17836
17837 ] 様式の内容の最後に置かれる文字列.出力中の改行は
17838 \begin_inset Flex Code
17839 status collapsed
17840
17841 \begin_layout Plain Layout
17842 <br/>
17843 \end_layout
17844
17845 \end_inset
17846
17847 で指示できます.
17848 \end_layout
17849
17850 \begin_layout Description
17851 \begin_inset Flex Code
17852 status collapsed
17853
17854 \begin_layout Plain Layout
17855 Spellcheck
17856 \end_layout
17857
17858 \end_inset
17859
17860  [
17861 \begin_inset Flex Code
17862 status collapsed
17863
17864 \begin_layout Plain Layout
17865 0
17866 \end_layout
17867
17868 \end_inset
17869
17870 ,
17871 \begin_inset space \thinspace{}
17872 \end_inset
17873
17874
17875 \begin_inset Flex Code
17876 status collapsed
17877
17878 \begin_layout Plain Layout
17879
17880 \emph on
17881 1
17882 \end_layout
17883
17884 \end_inset
17885
17886 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
17887 \end_layout
17888
17889 \begin_layout Subsection
17890 カウンタ
17891 \begin_inset CommandInset label
17892 LatexCommand label
17893 name "subsec:カウンタ"
17894
17895 \end_inset
17896
17897
17898 \end_layout
17899
17900 \begin_layout Standard
17901 テキストクラスには,カウンタ(
17902 \begin_inset Flex MenuItem
17903 status collapsed
17904
17905 \begin_layout Plain Layout
17906 chapter
17907 \end_layout
17908
17909 \end_inset
17910
17911
17912 \begin_inset Flex MenuItem
17913 status collapsed
17914
17915 \begin_layout Plain Layout
17916 figure
17917 \end_layout
17918
17919 \end_inset
17920
17921 ・\SpecialChar ldots
17922 )を定義することが必要です.標準的なカウンタは
17923 \begin_inset Flex Code
17924 status collapsed
17925
17926 \begin_layout Plain Layout
17927 stdcounters.inc
17928 \end_layout
17929
17930 \end_inset
17931
17932 ファイルに含まれているので,作業中のレイアウトファイルに
17933 \end_layout
17934
17935 \begin_layout LyX-Code
17936 Input stdcounters.inc
17937 \end_layout
17938
17939 \begin_layout Standard
17940 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,そうすることもできます.カウンタ宣言は,
17941 \end_layout
17942
17943 \begin_layout LyX-Code
17944 Counter カウンタ名
17945 \end_layout
17946
17947 \begin_layout Standard
17948 で始まらなくてはなりません.ここで「
17949 \begin_inset Flex Code
17950 status collapsed
17951
17952 \begin_layout Plain Layout
17953 カウンタ名
17954 \end_layout
17955
17956 \end_inset
17957
17958 」は,実際のカウンタ名で置き換えます.また,宣言は「
17959 \begin_inset Flex Code
17960 status collapsed
17961
17962 \begin_layout Plain Layout
17963 End
17964 \end_layout
17965
17966 \end_inset
17967
17968 」で終わらなくてはなりません.
17969 \end_layout
17970
17971 \begin_layout Standard
17972 以下のパラメータを使用することができます.
17973 \end_layout
17974
17975 \begin_layout Description
17976 \begin_inset Flex Code
17977 status collapsed
17978
17979 \begin_layout Plain Layout
17980 InitialValue
17981 \end_layout
17982
17983 \end_inset
17984
17985  [
17986 \begin_inset Flex Code
17987 status collapsed
17988
17989 \begin_layout Plain Layout
17990 整数=1
17991 \end_layout
17992
17993 \end_inset
17994
17995 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,既定値1のままで充分でしょう.
17996 \end_layout
17997
17998 \begin_layout Description
17999 \begin_inset Flex Code
18000 status collapsed
18001
18002 \begin_layout Plain Layout
18003 LabelString [文字列=""]
18004 \end_layout
18005
18006 \end_inset
18007
18008  定義されていると,ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
18009 \begin_inset Flex Code
18010 status collapsed
18011
18012 \begin_layout Plain Layout
18013 LabelStringAppendix
18014 \end_layout
18015
18016 \end_inset
18017
18018 も同じ値に設定されます.文字列中では,以下の構成要素を使用することができます.
18019 \end_layout
18020
18021 \begin_deeper
18022 \begin_layout Itemize
18023 \begin_inset Flex Code
18024 status collapsed
18025
18026 \begin_layout Plain Layout
18027
18028 \backslash
18029 thecounter
18030 \end_layout
18031
18032 \end_inset
18033
18034 は,カウンタ
18035 \begin_inset Flex Code
18036 status collapsed
18037
18038 \begin_layout Plain Layout
18039 counter
18040 \end_layout
18041
18042 \end_inset
18043
18044
18045 \begin_inset Flex Code
18046 status collapsed
18047
18048 \begin_layout Plain Layout
18049 LabelString
18050 \end_layout
18051
18052 \end_inset
18053
18054 (または
18055 \begin_inset Newline linebreak
18056 \end_inset
18057
18058
18059 \begin_inset Flex Code
18060 status collapsed
18061
18062 \begin_layout Plain Layout
18063 LabelStringAppendix
18064 \end_layout
18065
18066 \end_inset
18067
18068 )を展開したもので置き換えられます. 
18069 \end_layout
18070
18071 \begin_layout Itemize
18072 カウンタ値は,\SpecialChar LaTeX
18073 型マクロ
18074 \begin_inset Flex Code
18075 status collapsed
18076
18077 \begin_layout Plain Layout
18078
18079 \backslash
18080
18081 \emph on
18082 numbertype
18083 \emph default
18084 {
18085 \emph on
18086 カウンタ
18087 \emph default
18088 }
18089 \end_layout
18090
18091 \end_inset
18092
18093 を用いて表現することができます.ここで
18094 \begin_inset Flex Code
18095 status collapsed
18096
18097 \begin_layout Plain Layout
18098
18099 \emph on
18100 numbertype
18101 \end_layout
18102
18103 \end_inset
18104
18105 は以下のいずれかです.
18106 \begin_inset Flex Code
18107 status collapsed
18108
18109 \begin_layout Plain Layout
18110 arabic
18111 \end_layout
18112
18113 \end_inset
18114
18115 :1, 2, 3,\SpecialChar ldots
18116
18117 \begin_inset Flex Code
18118 status collapsed
18119
18120 \begin_layout Plain Layout
18121 alph
18122 \end_layout
18123
18124 \end_inset
18125
18126 :a, b, c, \SpecialChar ldots
18127 (小文字);
18128 \begin_inset Flex Code
18129 status collapsed
18130
18131 \begin_layout Plain Layout
18132 Alph
18133 \end_layout
18134
18135 \end_inset
18136
18137 :A, B, C, \SpecialChar ldots
18138 (大文字);
18139 \begin_inset Flex Code
18140 status collapsed
18141
18142 \begin_layout Plain Layout
18143 roman
18144 \end_layout
18145
18146 \end_inset
18147
18148 :i, ii, iii, \SpecialChar ldots
18149 (小文字ローマ数字);
18150 \begin_inset Flex Code
18151 status collapsed
18152
18153 \begin_layout Plain Layout
18154 Roman
18155 \end_layout
18156
18157 \end_inset
18158
18159 :I, II, III\SpecialChar ldots
18160 (大文字ローマ数字).
18161 \end_layout
18162
18163 \end_deeper
18164 \begin_layout Standard
18165 \begin_inset Flex Code
18166 status collapsed
18167
18168 \begin_layout Plain Layout
18169 LabelString
18170 \end_layout
18171
18172 \end_inset
18173
18174 が定義されていないときは,既定値は以下のように組み立てられます.このカウンタに親カウンタ
18175 \begin_inset Flex Code
18176 status collapsed
18177
18178 \begin_layout Plain Layout
18179 master
18180 \end_layout
18181
18182 \end_inset
18183
18184
18185 \begin_inset Flex Code
18186 status collapsed
18187
18188 \begin_layout Plain Layout
18189 Within
18190 \end_layout
18191
18192 \end_inset
18193
18194 で定義)があるときには,文字列
18195 \begin_inset Newline linebreak
18196 \end_inset
18197
18198
18199 \begin_inset Flex Code
18200 status collapsed
18201
18202 \begin_layout Plain Layout
18203
18204 \backslash
18205 themaster.
18206 \backslash
18207 arabic{カウンタ}
18208 \end_layout
18209
18210 \end_inset
18211
18212 が使用されます.それ以外の場合は,
18213 \begin_inset Flex Code
18214 status collapsed
18215
18216 \begin_layout Plain Layout
18217
18218 \backslash
18219 arabic{カウンタ}
18220 \end_layout
18221
18222 \end_inset
18223
18224 が使用されます.
18225 \end_layout
18226
18227 \begin_layout Description
18228 \begin_inset Flex Code
18229 status collapsed
18230
18231 \begin_layout Plain Layout
18232 LabelStringAppendix
18233 \end_layout
18234
18235 \end_inset
18236
18237  [
18238 \begin_inset Flex Code
18239 status collapsed
18240
18241 \begin_layout Plain Layout
18242 文字列
18243 \end_layout
18244
18245 \end_inset
18246
18247 =""] 
18248 \begin_inset Flex Code
18249 status collapsed
18250
18251 \begin_layout Plain Layout
18252 LabelString
18253 \end_layout
18254
18255 \end_inset
18256
18257 と同様ですが,付録で使用するためのものです.
18258 \end_layout
18259
18260 \begin_layout Description
18261 \begin_inset Flex Code
18262 status collapsed
18263
18264 \begin_layout Plain Layout
18265 PrettyFormat
18266 \end_layout
18267
18268 \end_inset
18269
18270  [
18271 \begin_inset Flex Code
18272 status collapsed
18273
18274 \begin_layout Plain Layout
18275 文字列
18276 \end_layout
18277
18278 \end_inset
18279
18280 =
18281 \begin_inset Quotes erd
18282 \end_inset
18283
18284
18285 \begin_inset Quotes erd
18286 \end_inset
18287
18288 ] このカウンタの整形参照で使用する書式.たとえば,節番号への参照を「Section
18289 \begin_inset space ~
18290 \end_inset
18291
18292 2.4」のように表示させたい場合には,文字列に「##」を含めます.これは,カウンタ番号で置換されます.したがって,節の場合には「Section ##」のようにしま
18293 す.
18294 \end_layout
18295
18296 \begin_layout Description
18297 \begin_inset Flex Code
18298 status collapsed
18299
18300 \begin_layout Plain Layout
18301 Within
18302 \end_layout
18303
18304 \end_inset
18305
18306  [
18307 \begin_inset Flex Code
18308 status collapsed
18309
18310 \begin_layout Plain Layout
18311 文字列
18312 \end_layout
18313
18314 \end_inset
18315
18316 =
18317 \begin_inset Quotes erd
18318 \end_inset
18319
18320
18321 \begin_inset Quotes erd
18322 \end_inset
18323
18324 ] これを別のカウンタ名に設定すると,現在のカウンタは,別のカウンタが増加する毎にリセットされます.たとえば,
18325 \begin_inset Flex Code
18326 status collapsed
18327
18328 \begin_layout Plain Layout
18329 subsection
18330 \end_layout
18331
18332 \end_inset
18333
18334
18335 \begin_inset Flex Code
18336 status collapsed
18337
18338 \begin_layout Plain Layout
18339 section
18340 \end_layout
18341
18342 \end_inset
18343
18344 毎に番号がリセットされます.
18345 \end_layout
18346
18347 \begin_layout Subsection
18348 フォント指定
18349 \begin_inset CommandInset label
18350 LatexCommand label
18351 name "subsec:フォント指定"
18352
18353 \end_inset
18354
18355
18356 \end_layout
18357
18358 \begin_layout Standard
18359 フォント指定は,以下のような形を取ります.
18360 \end_layout
18361
18362 \begin_layout LyX-Code
18363 Font 
18364 \family roman
18365 \emph on
18366 または
18367 \family default
18368 \emph default
18369  LabelFont 
18370 \family roman
18371 \emph on
18372 または
18373 \family default
18374 \emph default
18375  DefaultFont
18376 \end_layout
18377
18378 \begin_layout LyX-Code
18379  ...
18380 \end_layout
18381
18382 \begin_layout LyX-Code
18383 EndFont
18384 \end_layout
18385
18386 \begin_layout Standard
18387 以下のコマンドを使用することができます.
18388 \end_layout
18389
18390 \begin_layout Description
18391 \begin_inset Flex Code
18392 status collapsed
18393
18394 \begin_layout Plain Layout
18395 Color
18396 \end_layout
18397
18398 \end_inset
18399
18400  [
18401 \begin_inset Flex Code
18402 status collapsed
18403
18404 \begin_layout Plain Layout
18405
18406 \emph on
18407 none
18408 \end_layout
18409
18410 \end_inset
18411
18412
18413 \begin_inset Flex Code
18414 status collapsed
18415
18416 \begin_layout Plain Layout
18417 black
18418 \end_layout
18419
18420 \end_inset
18421
18422
18423 \begin_inset Flex Code
18424 status collapsed
18425
18426 \begin_layout Plain Layout
18427 white
18428 \end_layout
18429
18430 \end_inset
18431
18432
18433 \begin_inset Flex Code
18434 status collapsed
18435
18436 \begin_layout Plain Layout
18437 red
18438 \end_layout
18439
18440 \end_inset
18441
18442
18443 \begin_inset Flex Code
18444 status collapsed
18445
18446 \begin_layout Plain Layout
18447 green
18448 \end_layout
18449
18450 \end_inset
18451
18452
18453 \begin_inset Flex Code
18454 status collapsed
18455
18456 \begin_layout Plain Layout
18457 blue
18458 \end_layout
18459
18460 \end_inset
18461
18462
18463 \begin_inset Flex Code
18464 status collapsed
18465
18466 \begin_layout Plain Layout
18467 cyan
18468 \end_layout
18469
18470 \end_inset
18471
18472
18473 \begin_inset Flex Code
18474 status collapsed
18475
18476 \begin_layout Plain Layout
18477 magenta
18478 \end_layout
18479
18480 \end_inset
18481
18482
18483 \begin_inset Flex Code
18484 status collapsed
18485
18486 \begin_layout Plain Layout
18487 yellow
18488 \end_layout
18489
18490 \end_inset
18491
18492
18493 \begin_inset Flex Code
18494 status collapsed
18495
18496 \begin_layout Plain Layout
18497 brown
18498 \end_layout
18499
18500 \end_inset
18501
18502
18503 \begin_inset Flex Code
18504 status collapsed
18505
18506 \begin_layout Plain Layout
18507 darkgray
18508 \end_layout
18509
18510 \end_inset
18511
18512
18513 \begin_inset Flex Code
18514 status collapsed
18515
18516 \begin_layout Plain Layout
18517 gray
18518 \end_layout
18519
18520 \end_inset
18521
18522
18523 \begin_inset Flex Code
18524 status collapsed
18525
18526 \begin_layout Plain Layout
18527 lightgray
18528 \end_layout
18529
18530 \end_inset
18531
18532
18533 \begin_inset Flex Code
18534 status collapsed
18535
18536 \begin_layout Plain Layout
18537 lime
18538 \end_layout
18539
18540 \end_inset
18541
18542
18543 \begin_inset Flex Code
18544 status collapsed
18545
18546 \begin_layout Plain Layout
18547 orange
18548 \end_layout
18549
18550 \end_inset
18551
18552
18553 \begin_inset Flex Code
18554 status collapsed
18555
18556 \begin_layout Plain Layout
18557 olive
18558 \end_layout
18559
18560 \end_inset
18561
18562
18563 \begin_inset Flex Code
18564 status collapsed
18565
18566 \begin_layout Plain Layout
18567 pink
18568 \end_layout
18569
18570 \end_inset
18571
18572
18573 \begin_inset Flex Code
18574 status collapsed
18575
18576 \begin_layout Plain Layout
18577 purple
18578 \end_layout
18579
18580 \end_inset
18581
18582
18583 \begin_inset Flex Code
18584 status collapsed
18585
18586 \begin_layout Plain Layout
18587 teal
18588 \end_layout
18589
18590 \end_inset
18591
18592
18593 \begin_inset Flex Code
18594 status collapsed
18595
18596 \begin_layout Plain Layout
18597 violet
18598 \end_layout
18599
18600 \end_inset
18601
18602 ]
18603 \end_layout
18604
18605 \begin_layout Description
18606 \begin_inset Flex Code
18607 status collapsed
18608
18609 \begin_layout Plain Layout
18610 Family
18611 \end_layout
18612
18613 \end_inset
18614
18615  [
18616 \emph on
18617
18618 \begin_inset Flex Code
18619 status collapsed
18620
18621 \begin_layout Plain Layout
18622 Roman
18623 \end_layout
18624
18625 \end_inset
18626
18627
18628 \emph default
18629
18630 \begin_inset Flex Code
18631 status collapsed
18632
18633 \begin_layout Plain Layout
18634 Sans
18635 \end_layout
18636
18637 \end_inset
18638
18639
18640 \begin_inset Flex Code
18641 status collapsed
18642
18643 \begin_layout Plain Layout
18644 Typewriter
18645 \end_layout
18646
18647 \end_inset
18648
18649
18650 \end_layout
18651
18652 \begin_layout Description
18653 \begin_inset Flex Code
18654 status collapsed
18655
18656 \begin_layout Plain Layout
18657 Misc
18658 \end_layout
18659
18660 \end_inset
18661
18662  [
18663 \begin_inset Flex Code
18664 status collapsed
18665
18666 \begin_layout Plain Layout
18667 文字列
18668 \end_layout
18669
18670 \end_inset
18671
18672 ] 有効な引数は,
18673 \begin_inset Flex Code
18674 status collapsed
18675
18676 \begin_layout Plain Layout
18677 emph
18678 \end_layout
18679
18680 \end_inset
18681
18682
18683 \begin_inset Flex Code
18684 status collapsed
18685
18686 \begin_layout Plain Layout
18687 noun
18688 \end_layout
18689
18690 \end_inset
18691
18692
18693 \begin_inset Flex Code
18694 status collapsed
18695
18696 \begin_layout Plain Layout
18697 strikeout
18698 \end_layout
18699
18700 \end_inset
18701
18702
18703 \begin_inset Flex Code
18704 status collapsed
18705
18706 \begin_layout Plain Layout
18707 underbar
18708 \end_layout
18709
18710 \end_inset
18711
18712
18713 \begin_inset Flex Code
18714 status collapsed
18715
18716 \begin_layout Plain Layout
18717 uuline
18718 \end_layout
18719
18720 \end_inset
18721
18722
18723 \begin_inset Flex Code
18724 status collapsed
18725
18726 \begin_layout Plain Layout
18727 uwave
18728 \end_layout
18729
18730 \end_inset
18731
18732
18733 \begin_inset Flex Code
18734 status collapsed
18735
18736 \begin_layout Plain Layout
18737 no_emph
18738 \end_layout
18739
18740 \end_inset
18741
18742
18743 \begin_inset Flex Code
18744 status collapsed
18745
18746 \begin_layout Plain Layout
18747 no_noun
18748 \end_layout
18749
18750 \end_inset
18751
18752
18753 \begin_inset Flex Code
18754 status collapsed
18755
18756 \begin_layout Plain Layout
18757 no_strikeout
18758 \end_layout
18759
18760 \end_inset
18761
18762
18763 \begin_inset Flex Code
18764 status collapsed
18765
18766 \begin_layout Plain Layout
18767 no_bar
18768 \end_layout
18769
18770 \end_inset
18771
18772
18773 \begin_inset Flex Code
18774 status collapsed
18775
18776 \begin_layout Plain Layout
18777 no_uuline
18778 \end_layout
18779
18780 \end_inset
18781
18782
18783 \begin_inset Flex Code
18784 status collapsed
18785
18786 \begin_layout Plain Layout
18787 no_uwave
18788 \end_layout
18789
18790 \end_inset
18791
18792 です.それぞれ,対応する属性を有効にしたり無効にしたりします.
18793 \begin_inset Newline newline
18794 \end_inset
18795
18796 たとえば,
18797 \begin_inset Flex Code
18798 status collapsed
18799
18800 \begin_layout Plain Layout
18801 emph
18802 \end_layout
18803
18804 \end_inset
18805
18806 は強調を有効にし,
18807 \begin_inset Flex Code
18808 status collapsed
18809
18810 \begin_layout Plain Layout
18811 no_emph
18812 \end_layout
18813
18814 \end_inset
18815
18816 はそれを無効にします.もし後者がわかりにくければ,現在のコンテクストのフォント設定は,一般的に周囲のコンテクストから継承していることを思い出してください.ですか
18817
18818 \begin_inset Flex Code
18819 status collapsed
18820
18821 \begin_layout Plain Layout
18822 no_emph
18823 \end_layout
18824
18825 \end_inset
18826
18827 は,たとえば定理環境で,何をせずとも有効となっている強調を無効にするのです.
18828 \end_layout
18829
18830 \begin_layout Description
18831 \begin_inset Flex Code
18832 status collapsed
18833
18834 \begin_layout Plain Layout
18835 Series
18836 \end_layout
18837
18838 \end_inset
18839
18840  [
18841 \emph on
18842
18843 \begin_inset Flex Code
18844 status collapsed
18845
18846 \begin_layout Plain Layout
18847 Medium
18848 \end_layout
18849
18850 \end_inset
18851
18852
18853 \emph default
18854
18855 \begin_inset Flex Code
18856 status collapsed
18857
18858 \begin_layout Plain Layout
18859 Bold
18860 \end_layout
18861
18862 \end_inset
18863
18864
18865 \end_layout
18866
18867 \begin_layout Description
18868 \begin_inset Flex Code
18869 status collapsed
18870
18871 \begin_layout Plain Layout
18872 Shape
18873 \end_layout
18874
18875 \end_inset
18876
18877  [
18878 \emph on
18879
18880 \begin_inset Flex Code
18881 status collapsed
18882
18883 \begin_layout Plain Layout
18884 Up
18885 \end_layout
18886
18887 \end_inset
18888
18889
18890 \emph default
18891
18892 \begin_inset Flex Code
18893 status collapsed
18894
18895 \begin_layout Plain Layout
18896 Italic
18897 \end_layout
18898
18899 \end_inset
18900
18901
18902 \begin_inset Flex Code
18903 status collapsed
18904
18905 \begin_layout Plain Layout
18906 SmallCaps
18907 \end_layout
18908
18909 \end_inset
18910
18911
18912 \begin_inset Flex Code
18913 status collapsed
18914
18915 \begin_layout Plain Layout
18916 Slanted
18917 \end_layout
18918
18919 \end_inset
18920
18921
18922 \end_layout
18923
18924 \begin_layout Description
18925 \begin_inset Flex Code
18926 status collapsed
18927
18928 \begin_layout Plain Layout
18929 Size
18930 \end_layout
18931
18932 \end_inset
18933
18934  [
18935 \begin_inset Flex Code
18936 status collapsed
18937
18938 \begin_layout Plain Layout
18939 tiny
18940 \end_layout
18941
18942 \end_inset
18943
18944
18945 \begin_inset Flex Code
18946 status collapsed
18947
18948 \begin_layout Plain Layout
18949 small
18950 \end_layout
18951
18952 \end_inset
18953
18954
18955 \begin_inset Flex Code
18956 status collapsed
18957
18958 \begin_layout Plain Layout
18959
18960 \emph on
18961 normal
18962 \end_layout
18963
18964 \end_inset
18965
18966
18967 \begin_inset Flex Code
18968 status collapsed
18969
18970 \begin_layout Plain Layout
18971 large
18972 \end_layout
18973
18974 \end_inset
18975
18976
18977 \begin_inset Flex Code
18978 status collapsed
18979
18980 \begin_layout Plain Layout
18981 larger
18982 \end_layout
18983
18984 \end_inset
18985
18986
18987 \begin_inset Flex Code
18988 status collapsed
18989
18990 \begin_layout Plain Layout
18991 largest
18992 \end_layout
18993
18994 \end_inset
18995
18996
18997 \begin_inset Flex Code
18998 status collapsed
18999
19000 \begin_layout Plain Layout
19001 huge
19002 \end_layout
19003
19004 \end_inset
19005
19006
19007 \begin_inset Flex Code
19008 status collapsed
19009
19010 \begin_layout Plain Layout
19011 giant
19012 \end_layout
19013
19014 \end_inset
19015
19016 ]
19017 \end_layout
19018
19019 \begin_layout Subsection
19020 \begin_inset CommandInset label
19021 LatexCommand label
19022 name "subsec:引用エンジンの説明"
19023
19024 \end_inset
19025
19026 引用エンジンの説明
19027 \end_layout
19028
19029 \begin_layout Standard
19030 主に引用エンジンファイル(第
19031 \begin_inset CommandInset ref
19032 LatexCommand ref
19033 reference "subsec:引用エンジンファイル"
19034 plural "false"
19035 caps "false"
19036 noprefix "false"
19037
19038 \end_inset
19039
19040 節参照)で用いられる
19041 \begin_inset Flex Code
19042 status collapsed
19043
19044 \begin_layout Plain Layout
19045 CiteEngine
19046 \end_layout
19047
19048 \end_inset
19049
19050 ブロックは,特定の「引用エンジン」で提供される引用コマンドを定義します.\SpecialChar LyX
19051 の用語では,引用エンジンとは,番号や著者名,刊行年を使って,引用を整形する特定の方法のこ
19052 とを指します.\SpecialChar LyX
19053 は,3つのエンジンの型をサポートします.すなわち,
19054 \end_layout
19055
19056 \begin_layout Enumerate
19057 \begin_inset Flex Code
19058 status collapsed
19059
19060 \begin_layout Plain Layout
19061 default
19062 \end_layout
19063
19064 \end_inset
19065
19066 : 既定のBib\SpecialChar TeX
19067 流の引用方法である,単純な番号による様式(例:「[1]」)
19068 \end_layout
19069
19070 \begin_layout Enumerate
19071 \begin_inset Flex Code
19072 status collapsed
19073
19074 \begin_layout Plain Layout
19075 authoryear
19076 \end_layout
19077
19078 \end_inset
19079
19080 : 著者名と刊行年を使ったHarvard様式の引用(例:「Smith and Miller (2017b)」)
19081 \end_layout
19082
19083 \begin_layout Enumerate
19084 \begin_inset Flex Code
19085 status collapsed
19086
19087 \begin_layout Plain Layout
19088 numerical
19089 \end_layout
19090
19091 \end_inset
19092
19093 : 番号に隣接して著者名やタイトルを付けることのできる拡張された番号引用(例:「Smith and Miller [1]」)
19094 \end_layout
19095
19096 \begin_layout Standard
19097 \begin_inset Flex Code
19098 status collapsed
19099
19100 \begin_layout Plain Layout
19101 CiteEngine
19102 \end_layout
19103
19104 \end_inset
19105
19106 ブロックは以下のようになります.
19107 \end_layout
19108
19109 \begin_layout LyX-Code
19110 CiteEngine default
19111 \end_layout
19112
19113 \begin_layout LyX-Code
19114  cite
19115 \end_layout
19116
19117 \begin_layout LyX-Code
19118  Citep*[][]
19119 \end_layout
19120
19121 \begin_layout LyX-Code
19122  citeyearpar[][]=parencite*
19123 \end_layout
19124
19125 \begin_layout LyX-Code
19126  ...
19127 \end_layout
19128
19129 \begin_layout LyX-Code
19130 End
19131 \end_layout
19132
19133 \begin_layout Standard
19134 \begin_inset Flex Code
19135 status collapsed
19136
19137 \begin_layout Plain Layout
19138 CiteEngine
19139 \end_layout
19140
19141 \end_inset
19142
19143 に続くタグがエンジンを表します.各行は,このエンジンによってサポートされる引用コマンドや引用コマンドパラダイムを定義します.行は,\SpecialChar LyX
19144 コマンドと\SpecialChar LaTeX
19145 出力を命名するのに使
19146 われる引用コマンドのみを含むこともあれば,色々変えるために複雑なこともあります.完全な文法は
19147 \end_layout
19148
19149 \begin_layout LyX-Code
19150 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
19151 \end_layout
19152
19153 \begin_layout Standard
19154 という形になっています.ここで
19155 \end_layout
19156
19157 \begin_layout Itemize
19158 \begin_inset Flex Code
19159 status collapsed
19160
19161 \begin_layout Plain Layout
19162 LyXName
19163 \end_layout
19164
19165 \end_inset
19166
19167
19168 \begin_inset Flex Code
19169 status collapsed
19170
19171 \begin_layout Plain Layout
19172 *.lyx
19173 \end_layout
19174
19175 \end_inset
19176
19177 ファイルで使用される名前.
19178 \end_layout
19179
19180 \begin_deeper
19181 \begin_layout Standard
19182 可搬性のために,異なる引用パッケージ中の同じ形をしたコマンドには,同じ名前をつけるようにしています(したがって,多くの名前がnatbibから派生しており,\SpecialChar LaTeX
19183 コマン
19184 ド名が異なる場合には,しばしば
19185 \begin_inset Flex Code
19186 status collapsed
19187
19188 \begin_layout Plain Layout
19189 latexcmd
19190 \end_layout
19191
19192 \end_inset
19193
19194 を変える必要があります).
19195 \end_layout
19196
19197 \end_deeper
19198 \begin_layout Itemize
19199 \begin_inset Flex Code
19200 status collapsed
19201
19202 \begin_layout Plain Layout
19203 alias
19204 \end_layout
19205
19206 \end_inset
19207
19208 : このエンジンにおいて,与えられた
19209 \begin_inset Flex Code
19210 status collapsed
19211
19212 \begin_layout Plain Layout
19213 LyXName
19214 \end_layout
19215
19216 \end_inset
19217
19218 にフォールバックするコマンドの(コンマで区切られた)リスト.これによって,引用パッケージとエンジンを切り替えるのが楽になります.
19219 \begin_inset Flex Code
19220 status collapsed
19221
19222 \begin_layout Plain Layout
19223 alias
19224 \end_layout
19225
19226 \end_inset
19227
19228 はレイアウト定義中での
19229 \begin_inset Flex Code
19230 status collapsed
19231
19232 \begin_layout Plain Layout
19233 ObsoletedBy
19234 \end_layout
19235
19236 \end_inset
19237
19238 に相当するものと考えてよいでしょう.
19239 \end_layout
19240
19241 \begin_layout Itemize
19242 \begin_inset Flex Code
19243 status collapsed
19244
19245 \begin_layout Plain Layout
19246 latexcmd
19247 \end_layout
19248
19249 \end_inset
19250
19251 : 出力される実際の\SpecialChar LaTeX
19252 コマンド.
19253 \end_layout
19254
19255 \begin_layout Standard
19256 \begin_inset Flex Code
19257 status collapsed
19258
19259 \begin_layout Plain Layout
19260 Alias
19261 \end_layout
19262
19263 \end_inset
19264
19265
19266 \begin_inset Flex Code
19267 status collapsed
19268
19269 \begin_layout Plain Layout
19270 latexcmd
19271 \end_layout
19272
19273 \end_inset
19274
19275 は必須ではありません.
19276 \begin_inset Flex Code
19277 status collapsed
19278
19279 \begin_layout Plain Layout
19280 latexcmd
19281 \end_layout
19282
19283 \end_inset
19284
19285 が与えられない時は,
19286 \begin_inset Flex Code
19287 status collapsed
19288
19289 \begin_layout Plain Layout
19290 LyXName
19291 \end_layout
19292
19293 \end_inset
19294
19295 が\SpecialChar LaTeX
19296 に出力されます.
19297 \end_layout
19298
19299 \begin_layout Standard
19300 さらに,下記の点に注意してください.
19301 \end_layout
19302
19303 \begin_layout Itemize
19304 大文字にするとコマンドも大文字化されたものになります(
19305 \begin_inset Flex Code
19306 status collapsed
19307
19308 \begin_layout Plain Layout
19309
19310 \backslash
19311 latexcmd
19312 \end_layout
19313
19314 \end_inset
19315
19316
19317 \begin_inset Flex Code
19318 status collapsed
19319
19320 \begin_layout Plain Layout
19321
19322 \backslash
19323 Latexcmd
19324 \end_layout
19325
19326 \end_inset
19327
19328 に).これらは通常,名前の前置詞を大文字化するのを確実にします(
19329 \emph on
19330 von Goethe
19331 \emph default
19332  
19333 \begin_inset Formula $\Rightarrow$
19334 \end_inset
19335
19336  
19337 \emph on
19338 Von Goethe
19339 \emph default
19340 ).
19341 \end_layout
19342
19343 \begin_layout Itemize
19344 括弧
19345 \begin_inset Flex Code
19346 status collapsed
19347
19348 \begin_layout Plain Layout
19349 []
19350 \end_layout
19351
19352 \end_inset
19353
19354 は非必須引数の数を表します(0-2をとりえます).
19355 \end_layout
19356
19357 \begin_layout Itemize
19358 星印
19359 \begin_inset Flex Code
19360 status collapsed
19361
19362 \begin_layout Plain Layout
19363 *
19364 \end_layout
19365
19366 \end_inset
19367
19368 は星印付きコマンドを示します(
19369 \begin_inset Flex Code
19370 status collapsed
19371
19372 \begin_layout Plain Layout
19373
19374 \backslash
19375 latexcmd
19376 \end_layout
19377
19378 \end_inset
19379
19380
19381 \begin_inset Flex Code
19382 status collapsed
19383
19384 \begin_layout Plain Layout
19385
19386 \backslash
19387 latexcmd*
19388 \end_layout
19389
19390 \end_inset
19391
19392 に).
19393 \end_layout
19394
19395 \begin_deeper
19396 \begin_layout Standard
19397 既定では,星印付きバージョンは,
19398 \begin_inset Flex Code
19399 status collapsed
19400
19401 \begin_layout Plain Layout
19402 MaxCiteNames
19403 \end_layout
19404
19405 \end_inset
19406
19407 の閾値を超えたために「et al.」に省略されるべき時にも全ての著者を出力することを意味します.
19408 \end_layout
19409
19410 \begin_layout Standard
19411 星印が,当該コマンドについては別の意味を持つ場合には,
19412 \begin_inset Flex Code
19413 status collapsed
19414
19415 \begin_layout Plain Layout
19416 <!_stardesc!_stardesctooltip>
19417 \end_layout
19418
19419 \end_inset
19420
19421 のように三角括弧で指定することができます.前置詞
19422 \begin_inset Flex Code
19423 status collapsed
19424
19425 \begin_layout Plain Layout
19426 !_
19427 \end_layout
19428
19429 \end_inset
19430
19431 で標識した,翻訳可能なキーワードを最大2つ与えることができます.最初のキーワードは,引用ダイアログ中の「Full aut&hor list」チェックボックスラベ
19432 ルを書き換える文字列を指し,二つ目のキーワードは,このチェックボックスに対する非必須のツールチップの文字列を指します.
19433 \end_layout
19434
19435 \begin_layout Standard
19436 これらの2つのマクロは,下記のように,前置詞から
19437 \begin_inset Flex Code
19438 status collapsed
19439
19440 \begin_layout Plain Layout
19441 !
19442 \end_layout
19443
19444 \end_inset
19445
19446 を落とした形で
19447 \begin_inset Flex Code
19448 status collapsed
19449
19450 \begin_layout Plain Layout
19451 CiteFormat
19452 \end_layout
19453
19454 \end_inset
19455
19456 (次節参照)で定義されなくてはなりません.
19457 \end_layout
19458
19459 \begin_layout LyX-Code
19460 _stardesc Sta&rred command label
19461 \end_layout
19462
19463 \begin_layout LyX-Code
19464 _stardesctooltip Tooltip for the starred command checkbox.
19465 \end_layout
19466
19467 \end_deeper
19468 \begin_layout Itemize
19469 ドル記号
19470 \begin_inset Flex Code
19471 status collapsed
19472
19473 \begin_layout Plain Layout
19474 $
19475 \end_layout
19476
19477 \end_inset
19478
19479 は,このコマンドが「qualified citation lists」を取り扱うことを示します.これは,リスト中の個別の引用に対して,前置文字列と後置文字列を置
19480 くことができる,
19481 \family sans
19482 Biblatex
19483 \family default
19484 に特有の複数文献引用機能です.詳細については,
19485 \family sans
19486 Biblatex
19487 \family default
19488 の取扱説明書をご覧ください.
19489 \end_layout
19490
19491 \begin_layout Subsection
19492 \begin_inset CommandInset label
19493 LatexCommand label
19494 name "subsec:引用書式指定"
19495
19496 \end_inset
19497
19498 引用書式指定
19499 \end_layout
19500
19501 \begin_layout Standard
19502 (引用ダイアログやツールチップなどの)\SpecialChar LyX
19503 内部やXHTML出力において,書誌情報をどのように表示するべきかの叙述には,
19504 \begin_inset Flex Code
19505 status collapsed
19506
19507 \begin_layout Plain Layout
19508 CiteFormat
19509 \end_layout
19510
19511 \end_inset
19512
19513 ブロックが使用されています.このブロックは,以下のような形をしています.
19514 \end_layout
19515
19516 \begin_layout LyX-Code
19517 CiteFormat
19518 \end_layout
19519
19520 \begin_layout LyX-Code
19521  article ...
19522 \end_layout
19523
19524 \begin_layout LyX-Code
19525  book ...
19526 \end_layout
19527
19528 \begin_layout LyX-Code
19529 End
19530 \end_layout
19531
19532 \begin_layout Standard
19533 あるいは
19534 \end_layout
19535
19536 \begin_layout LyX-Code
19537 CiteFormat
19538 \end_layout
19539
19540 \begin_layout LyX-Code
19541  cite ...
19542 \end_layout
19543
19544 \begin_layout LyX-Code
19545  citet*[][] ...
19546 \end_layout
19547
19548 \begin_layout LyX-Code
19549 End
19550 \end_layout
19551
19552 \begin_layout Standard
19553 最初の例の各行は,それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,このような定義は,Bib\SpecialChar TeX
19554 ファイル中に存
19555 在しうる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,\SpecialChar LyX
19556 は,ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
19557 は,いくつかの書式を
19558 \begin_inset Flex Code
19559 status collapsed
19560
19561 \begin_layout Plain Layout
19562 stdciteformats.inc
19563 \end_layout
19564
19565 \end_inset
19566
19567 ファイルで事前定義しており,これはほとんどの\SpecialChar LyX
19568 文書クラスにインクルードされています.
19569 \end_layout
19570
19571 \begin_layout Standard
19572 2つ目の例では,各行は,特定の引用コマンド(この例では
19573 \begin_inset Flex Code
19574 status collapsed
19575
19576 \begin_layout Plain Layout
19577
19578 \backslash
19579 cite
19580 \end_layout
19581
19582 \end_inset
19583
19584 及び
19585 \begin_inset Flex Code
19586 status collapsed
19587
19588 \begin_layout Plain Layout
19589
19590 \backslash
19591 citet
19592 \end_layout
19593
19594 \end_inset
19595
19596 )が,引用差込枠ラベルや引用ダイアログ,メニュー,XHTML出力でどのように表示されるべきかを定義しています.\SpecialChar LyX
19597 は,\SpecialChar LyX
19598 に同梱されている個別の
19599 \begin_inset Flex Code
19600 status collapsed
19601
19602 \begin_layout Plain Layout
19603 *.citeengine
19604 \end_layout
19605
19606 \end_inset
19607
19608 ファイル中において,
19609 \family sans
19610 文書\SpecialChar menuseparator
19611 設定\SpecialChar menuseparator
19612 書誌情報\SpecialChar ldots
19613
19614 \family default
19615 でサポートしている引用様式用に,そのような書式を定義しています(第
19616 \begin_inset CommandInset ref
19617 LatexCommand ref
19618 reference "subsec:引用エンジンファイル"
19619 plural "false"
19620 caps "false"
19621 noprefix "false"
19622
19623 \end_inset
19624
19625 節参照).
19626 \end_layout
19627
19628 \begin_layout Standard
19629 この定義は,Bib\SpecialChar TeX
19630 キーをその値で置換できる機能を持った,簡単な言語を使用しています.キーは,
19631 \begin_inset Flex Code
19632 status collapsed
19633
19634 \begin_layout Plain Layout
19635 %author%
19636 \end_layout
19637
19638 \end_inset
19639
19640 のように
19641 \begin_inset Flex Code
19642 status collapsed
19643
19644 \begin_layout Plain Layout
19645 %
19646 \end_layout
19647
19648 \end_inset
19649
19650 記号でくくらなくてはなりません.したがって,簡単な定義は以下のようになります.
19651 \end_layout
19652
19653 \begin_layout LyX-Code
19654 misc %author%, 
19655 \begin_inset Quotes eld
19656 \end_inset
19657
19658 %title%
19659 \begin_inset Quotes erd
19660 \end_inset
19661
19662
19663 \end_layout
19664
19665 \begin_layout Standard
19666 これは,「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
19667 \end_layout
19668
19669 \begin_layout Standard
19670 もちろん,キーが存在するときのみ,そのキーを出力したい時があるはずです.このようなときには
19671 \begin_inset Flex Code
19672 status collapsed
19673
19674 \begin_layout Plain Layout
19675 {%volume%[[vol.
19676 \begin_inset space ~
19677 \end_inset
19678
19679 %volume%]]}
19680 \end_layout
19681
19682 \end_inset
19683
19684 のように,条件付きの構成を使用することができます.これは,
19685 \begin_inset Flex Code
19686 status collapsed
19687
19688 \begin_layout Plain Layout
19689 volume
19690 \end_layout
19691
19692 \end_inset
19693
19694 が存在するならば,「vol.
19695 \begin_inset space ~
19696 \end_inset
19697
19698 」とvolumeキーを出力するという意味です.また,
19699 \begin_inset Newline newline
19700 \end_inset
19701
19702
19703 \begin_inset Flex Code
19704 status collapsed
19705
19706 \begin_layout Plain Layout
19707 {%author%[[%author%]][[%editor%, ed.]]}
19708 \end_layout
19709
19710 \end_inset
19711
19712
19713 \begin_inset Newline newline
19714 \end_inset
19715
19716 のように,条件の中にelse節を含めることも可能です.ここでは,もし
19717 \begin_inset Flex Code
19718 status collapsed
19719
19720 \begin_layout Plain Layout
19721 author
19722 \end_layout
19723
19724 \end_inset
19725
19726 キーが存在するならば出力され,そうでなければeditorキーと「,
19727 \begin_inset space ~
19728 \end_inset
19729
19730 ed.」が出力されます.ここでもキーは,
19731 \begin_inset Flex Code
19732 status collapsed
19733
19734 \begin_layout Plain Layout
19735 %
19736 \end_layout
19737
19738 \end_inset
19739
19740 記号でくくられていることに注意してください.条件全体は,波括弧で囲まれています.if節およびelse節は,「
19741 \begin_inset Flex Code
19742 status collapsed
19743
19744 \begin_layout Plain Layout
19745 [[
19746 \end_layout
19747
19748 \end_inset
19749
19750 」と「
19751 \begin_inset Flex Code
19752 status collapsed
19753
19754 \begin_layout Plain Layout
19755 ]]
19756 \end_layout
19757
19758 \end_inset
19759
19760 」の二重角括弧で囲まれています.これらすべてのあいだには,空白は入ってはなりません.
19761 \end_layout
19762
19763 \begin_layout Standard
19764 これらの条件文に使うことができるものには,項目キーの他に,以下の特殊キーがあります.
19765 \end_layout
19766
19767 \begin_layout Itemize
19768 \begin_inset Flex Code
19769 status collapsed
19770
19771 \begin_layout Plain Layout
19772 {%dialog%[[真]][[偽]]}
19773 \end_layout
19774
19775 \end_inset
19776
19777 : ダイアログとメニューに対しては「真」の部分を処理し,他の文脈(作業領域や書き出し)には「偽」の部分を処理します
19778 \end_layout
19779
19780 \begin_layout Itemize
19781 \begin_inset Flex Code
19782 status collapsed
19783
19784 \begin_layout Plain Layout
19785 {%export%[[真]][[偽]]}
19786 \end_layout
19787
19788 \end_inset
19789
19790 : 書き出しとメニューに対しては「真」の部分を処理し,他の文脈(作業領域やダイアログ)には「偽」の部分を処理します
19791 \end_layout
19792
19793 \begin_layout Itemize
19794 \begin_inset Flex Code
19795 status collapsed
19796
19797 \begin_layout Plain Layout
19798 {%next%[[真]]}
19799 \end_layout
19800
19801 \end_inset
19802
19803 : 他の項目が続く場合には「真」の部分を処理します(複数キーを持つ引用など)
19804 \end_layout
19805
19806 \begin_layout Itemize
19807 \begin_inset Flex Code
19808 status collapsed
19809
19810 \begin_layout Plain Layout
19811 {%second%[[真]][[偽]]}
19812 \end_layout
19813
19814 \end_inset
19815
19816 : これが複数項目の2番目の場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19817 \end_layout
19818
19819 \begin_layout Itemize
19820 \begin_inset Flex Code
19821 status collapsed
19822
19823 \begin_layout Plain Layout
19824 {%ifstar%[[真]][[偽]]}
19825 \end_layout
19826
19827 \end_inset
19828
19829 : (
19830 \begin_inset Flex Code
19831 status collapsed
19832
19833 \begin_layout Plain Layout
19834
19835 \backslash
19836 cite*
19837 \end_layout
19838
19839 \end_inset
19840
19841 など)星印付き引用コマンドの場合には「真」の部分を処理し,星印付きでない場合には「偽」の部分を処理します
19842 \end_layout
19843
19844 \begin_layout Itemize
19845 \begin_inset Flex Code
19846 status collapsed
19847
19848 \begin_layout Plain Layout
19849 {%ifentrytype:<type>%[[真]][[偽]]}
19850 \end_layout
19851
19852 \end_inset
19853
19854 : 現行の項目が
19855 \begin_inset Flex Code
19856 status collapsed
19857
19858 \begin_layout Plain Layout
19859 <型>
19860 \end_layout
19861
19862 \end_inset
19863
19864 に一致する場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:引用定義において
19865 \begin_inset Flex Code
19866 status collapsed
19867
19868 \begin_layout Plain Layout
19869 {%ifentrytype:book%[[これはbookです]][[これはbookではありません]]}
19870 \end_layout
19871
19872 \end_inset
19873
19874
19875 \end_layout
19876
19877 \begin_layout Itemize
19878 \begin_inset Flex Code
19879 status collapsed
19880
19881 \begin_layout Plain Layout
19882 {%ifmultiple:<authortype>%[[真]][[偽]]}
19883 \end_layout
19884
19885 \end_inset
19886
19887 : 現行の項目が著者型(著者・編者など)が複数の著者を含む場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:書誌情報定義において
19888 \begin_inset Flex Code
19889 status collapsed
19890
19891 \begin_layout Plain Layout
19892 {%ifmultiple:editor%[[eds.]][[ed.]]}
19893 \end_layout
19894
19895 \end_inset
19896
19897
19898 \end_layout
19899
19900 \begin_layout Itemize
19901 \begin_inset Flex Code
19902 status collapsed
19903
19904 \begin_layout Plain Layout
19905 {%ifqualified%[[真]][[偽]]}
19906 \end_layout
19907
19908 \end_inset
19909
19910 : 現行の引用がqualified citation listである(複数文献引用に対する
19911 \family sans
19912 Biblatex
19913 \family default
19914 特有の形式)場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19915 \end_layout
19916
19917 \begin_layout Standard
19918 \begin_inset Flex Code
19919 status collapsed
19920
19921 \begin_layout Plain Layout
19922 %author%
19923 \end_layout
19924
19925 \end_inset
19926
19927 は書誌情報ファイルに記録されている形のままの著者キーを出力すると述べました.これは「Miller, Peter and Smith, Mary
19928  and White, Jane」のような文字列に終わることがあり(Bib\SpecialChar TeX
19929 では著者を区切るのに「and」が用いられるため),望ましい結果ではありません.したがっ
19930 て,\SpecialChar LyX
19931 は,正しく整形された名前のリスト(これも翻訳の対象となります)を得るための方法を提供しています.以下のキーが提供されています.
19932 \end_layout
19933
19934 \begin_layout Enumerate
19935 書誌情報項目の主要著者・編者に適した,姓名付き名前リスト用.
19936 \begin_inset Flex Code
19937 status collapsed
19938
19939 \begin_layout Plain Layout
19940 <nametype>
19941 \end_layout
19942
19943 \end_inset
19944
19945 部分は要請されているリスト型を表します(例:
19946 \begin_inset Flex Code
19947 status collapsed
19948
19949 \begin_layout Plain Layout
19950 <nametype:author>
19951 \end_layout
19952
19953 \end_inset
19954
19955
19956 \end_layout
19957
19958 \begin_deeper
19959 \begin_layout Itemize
19960 \begin_inset Flex Code
19961 status collapsed
19962
19963 \begin_layout Plain Layout
19964 %abbrvnames:<nametype>%
19965 \end_layout
19966
19967 \end_inset
19968
19969
19970 \begin_inset Flex Code
19971 status collapsed
19972
19973 \begin_layout Plain Layout
19974 MaxCiteNames
19975 \end_layout
19976
19977 \end_inset
19978
19979 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
19980 \end_layout
19981
19982 \begin_layout Itemize
19983 \begin_inset Flex Code
19984 status collapsed
19985
19986 \begin_layout Plain Layout
19987 %fullnames:<nametype>%
19988 \end_layout
19989
19990 \end_inset
19991
19992 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
19993 \end_layout
19994
19995 \begin_layout Itemize
19996 \begin_inset Flex Code
19997 status collapsed
19998
19999 \begin_layout Plain Layout
20000 %forceabbrvnames:<nametype>%
20001 \end_layout
20002
20003 \end_inset
20004
20005
20006 \begin_inset Flex Code
20007 status collapsed
20008
20009 \begin_layout Plain Layout
20010 MaxCiteNames
20011 \end_layout
20012
20013 \end_inset
20014
20015 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20016 \end_layout
20017
20018 \end_deeper
20019 \begin_layout Enumerate
20020 書誌情報項目中の姓名の順序が異なっている場合の,姓名付き名前リスト(例:「Miller, John: 何らかの文, in: Mary Smith,
20021  ed.: A volume」
20022 \end_layout
20023
20024 \begin_deeper
20025 \begin_layout Itemize
20026 \begin_inset Flex Code
20027 status collapsed
20028
20029 \begin_layout Plain Layout
20030 %abbrvbynames:<nametype>%
20031 \end_layout
20032
20033 \end_inset
20034
20035
20036 \begin_inset Flex Code
20037 status collapsed
20038
20039 \begin_layout Plain Layout
20040 MaxCiteNames
20041 \end_layout
20042
20043 \end_inset
20044
20045 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
20046 \end_layout
20047
20048 \begin_layout Itemize
20049 \begin_inset Flex Code
20050 status collapsed
20051
20052 \begin_layout Plain Layout
20053 %fullbynames:<nametype>%
20054 \end_layout
20055
20056 \end_inset
20057
20058 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
20059 \end_layout
20060
20061 \begin_layout Itemize
20062 \begin_inset Flex Code
20063 status collapsed
20064
20065 \begin_layout Plain Layout
20066 %forceabbrvbynames:<nametype>%
20067 \end_layout
20068
20069 \end_inset
20070
20071
20072 \begin_inset Flex Code
20073 status collapsed
20074
20075 \begin_layout Plain Layout
20076 MaxCiteNames
20077 \end_layout
20078
20079 \end_inset
20080
20081 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20082 \end_layout
20083
20084 \end_deeper
20085 \begin_layout Enumerate
20086 著者-発行年引用ラベルで用いられるような,姓のみを含む姓リスト.これらは
20087 \begin_inset Flex Code
20088 status collapsed
20089
20090 \begin_layout Plain Layout
20091 <nametype>
20092 \end_layout
20093
20094 \end_inset
20095
20096 部分を取りませんが,(著者-発行年ラベルで通例であるように)常に著者リストか,存在しない場合には編者リストを返します.
20097 \end_layout
20098
20099 \begin_deeper
20100 \begin_layout Itemize
20101 \begin_inset Flex Code
20102 status collapsed
20103
20104 \begin_layout Plain Layout
20105 %abbrvciteauthor%
20106 \end_layout
20107
20108 \end_inset
20109
20110
20111 \begin_inset Flex Code
20112 status collapsed
20113
20114 \begin_layout Plain Layout
20115 MaxCiteNames
20116 \end_layout
20117
20118 \end_inset
20119
20120 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
20121 \end_layout
20122
20123 \begin_layout Itemize
20124 \begin_inset Flex Code
20125 status collapsed
20126
20127 \begin_layout Plain Layout
20128 %fullciteauthor%
20129 \end_layout
20130
20131 \end_inset
20132
20133 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
20134 \end_layout
20135
20136 \begin_layout Itemize
20137 \begin_inset Flex Code
20138 status collapsed
20139
20140 \begin_layout Plain Layout
20141 %forceabbrvciteauthor%
20142 \end_layout
20143
20144 \end_inset
20145
20146
20147 \begin_inset Flex Code
20148 status collapsed
20149
20150 \begin_layout Plain Layout
20151 MaxCiteNames
20152 \end_layout
20153
20154 \end_inset
20155
20156 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20157 \end_layout
20158
20159 \end_deeper
20160 \begin_layout Standard
20161 前二者の姓名の順序は,下記のマクロで変更することができます.
20162 \end_layout
20163
20164 \begin_layout Itemize
20165 \begin_inset Flex Code
20166 status collapsed
20167
20168 \begin_layout Plain Layout
20169 !firstnameform %surname%, %prename%
20170 \end_layout
20171
20172 \end_inset
20173
20174 (1の場合の最初の著者)
20175 \end_layout
20176
20177 \begin_layout Itemize
20178 \begin_inset Flex Code
20179 status collapsed
20180
20181 \begin_layout Plain Layout
20182 !othernameform %surname%, %prename%
20183 \end_layout
20184
20185 \end_inset
20186
20187 (1の場合の他の著者)
20188 \end_layout
20189
20190 \begin_layout Itemize
20191 \begin_inset Flex Code
20192 status collapsed
20193
20194 \begin_layout Plain Layout
20195 !firstbynameform %prename% %surname%
20196 \end_layout
20197
20198 \end_inset
20199
20200 (2の場合の最初の著者)
20201 \end_layout
20202
20203 \begin_layout Itemize
20204 \begin_inset Flex Code
20205 status collapsed
20206
20207 \begin_layout Plain Layout
20208 !otherbynameform %prename% %surname%
20209 \end_layout
20210
20211 \end_inset
20212
20213 (2の場合の他の著者)
20214 \end_layout
20215
20216 \begin_layout Standard
20217 これによって,名前を「Miller, Peter and Mary Smith: \SpecialChar ldots
20218 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
20219 」のように
20220 設定することができます.
20221 \end_layout
20222
20223 \begin_layout Standard
20224 もう一つ,定義中で使用することのできる文法として,
20225 \begin_inset Flex Code
20226 status collapsed
20227
20228 \begin_layout Plain Layout
20229 {!<i>!}
20230 \end_layout
20231
20232 \end_inset
20233
20234 という形をしたものがあります.これは,「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,平文を書き出すときには,HTMLタ
20235 グを出力させたくはありませんから,HTMLタグは「
20236 \begin_inset Flex Code
20237 status collapsed
20238
20239 \begin_layout Plain Layout
20240 {!
20241 \end_layout
20242
20243 \end_inset
20244
20245 」と「
20246 \begin_inset Flex Code
20247 status collapsed
20248
20249 \begin_layout Plain Layout
20250 !}
20251 \end_layout
20252
20253 \end_inset
20254
20255 」でくるんでやらなくてはならないのです.
20256 \end_layout
20257
20258 \begin_layout Standard
20259 \begin_inset Flex Code
20260 status collapsed
20261
20262 \begin_layout Plain Layout
20263 CiteFormat
20264 \end_layout
20265
20266 \end_inset
20267
20268 ブロックでは,他に2つの特殊な定義が可能です.一つめの例としては,
20269 \end_layout
20270
20271 \begin_layout LyX-Code
20272 !quotetitle 
20273 \begin_inset Quotes eld
20274 \end_inset
20275
20276 %title%
20277 \begin_inset Quotes erd
20278 \end_inset
20279
20280
20281 \end_layout
20282
20283 \begin_layout Standard
20284 といった例が挙げられます.これは,短縮形ないしはマクロであり,
20285 \begin_inset Flex Code
20286 status collapsed
20287
20288 \begin_layout Plain Layout
20289 %!quotetitle%
20290 \end_layout
20291
20292 \end_inset
20293
20294 のように,これがキーであるかのように扱って使用することができます.\SpecialChar LyX
20295 は,
20296 \begin_inset Flex Code
20297 status collapsed
20298
20299 \begin_layout Plain Layout
20300 %!quotetitle%
20301 \end_layout
20302
20303 \end_inset
20304
20305 を,そこで定義されているものを扱う場合と同じように取り扱います.ですから,明白な警告を敢えてさせて頂くと,
20306 \end_layout
20307
20308 \begin_layout LyX-Code
20309 !funfun %funfun%
20310 \end_layout
20311
20312 \begin_layout Standard
20313 のようなことはしないでください.\SpecialChar LyX
20314 は,無限ループに陥るようなことはありませんが,諦めるまでに時間のかかる長いループに入るかもしれません.
20315 \end_layout
20316
20317 \begin_layout Standard
20318 特殊な定義の二つめは,
20319 \end_layout
20320
20321 \begin_layout LyX-Code
20322 _pptext pp.
20323 \end_layout
20324
20325 \begin_layout Standard
20326 のようなものです.これは翻訳対象となるテキスト部分を定義し,これによって書誌情報や引用の対応する部分が翻訳されるようになります.
20327 \begin_inset Flex Code
20328 status collapsed
20329
20330 \begin_layout Plain Layout
20331 %_pptext%
20332 \end_layout
20333
20334 \end_inset
20335
20336 のように,これをキーとして扱って,定義の中に入れることもできます.これらのうちいくつかは,
20337 \begin_inset Flex Code
20338 status collapsed
20339
20340 \begin_layout Plain Layout
20341 stdciteformats.inc
20342 \end_layout
20343
20344 \end_inset
20345
20346 及び様々な
20347 \begin_inset Flex Code
20348 status collapsed
20349
20350 \begin_layout Plain Layout
20351 *.citeengine
20352 \end_layout
20353
20354 \end_inset
20355
20356 ファイル中に事前定義されています.これは,上記で述べたような意味でのマクロではないことに注意してください.
20357 \end_layout
20358
20359 \begin_layout Standard
20360 以下は,これらの機能を全て使った例です.
20361 \begin_inset VSpace defskip
20362 \end_inset
20363
20364
20365 \end_layout
20366
20367 \begin_layout Standard
20368 \noindent
20369
20370 \family sans
20371 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
20372 \end_layout
20373
20374 \begin_layout Standard
20375 \begin_inset VSpace defskip
20376 \end_inset
20377
20378 これは,
20379 \begin_inset Flex Code
20380 status collapsed
20381
20382 \begin_layout Plain Layout
20383 author
20384 \end_layout
20385
20386 \end_inset
20387
20388 キーが定義されているならば,著者とコンマを出力し,
20389 \begin_inset Flex Code
20390 status collapsed
20391
20392 \begin_layout Plain Layout
20393 author
20394 \end_layout
20395
20396 \end_inset
20397
20398 キーが定義されておらず,
20399 \begin_inset Flex Code
20400 status collapsed
20401
20402 \begin_layout Plain Layout
20403 editor
20404 \end_layout
20405
20406 \end_inset
20407
20408 キーが定義されているならば,編集者名の後に
20409 \begin_inset Flex Code
20410 status collapsed
20411
20412 \begin_layout Plain Layout
20413 _edtext
20414 \end_layout
20415
20416 \end_inset
20417
20418 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
20419 \begin_inset Flex Code
20420 status collapsed
20421
20422 \begin_layout Plain Layout
20423 stdciteformats.inc
20424 \end_layout
20425
20426 \end_inset
20427
20428 の中で定義されていますので,このファイルをまず読みこめば,ご自身の定義ないしは再定義の中で使用することができます.
20429 \end_layout
20430
20431 \begin_layout Section
20432 \begin_inset CommandInset label
20433 LatexCommand label
20434 name "sec:XHTML出力のタグ"
20435
20436 \end_inset
20437
20438 XHTML出力のタグ
20439 \end_layout
20440
20441 \begin_layout Standard
20442 \SpecialChar LaTeX
20443 やDocBookと同様,\SpecialChar LyX
20444 のXHTML出力の書式も,レイアウト情報によって制御することができます.一般的に,\SpecialChar LyX
20445 は適切な既定値を提供し,前述したように,他のレイアウト
20446 タグに基づいて,既定のCSSスタイルの構成まで行ないます.たとえば,章見出しを適切に整形するためのCSSを書き出すために,\SpecialChar LyX
20447 は,章様式の
20448 \begin_inset Flex Code
20449 status collapsed
20450
20451 \begin_layout Plain Layout
20452 Font
20453 \end_layout
20454
20455 \end_inset
20456
20457 宣言で提供されている情報を利用しようと試みます.
20458 \end_layout
20459
20460 \begin_layout Standard
20461 したがって,多くの場合,使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,まったく何もしなくてよいことになるでしょう.しかしながら
20462 ,これが必要になる場合もあるので,\SpecialChar LyX
20463 は,生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,たくさん提供しています.
20464 \end_layout
20465
20466 \begin_layout Standard
20467 様式宣言や差込枠宣言の外で使用することができるタグに,
20468 \begin_inset Flex Code
20469 status collapsed
20470
20471 \begin_layout Plain Layout
20472 HTMLPreamble
20473 \end_layout
20474
20475 \end_inset
20476
20477
20478 \begin_inset Flex Code
20479 status collapsed
20480
20481 \begin_layout Plain Layout
20482 AddToHTMLPreamble
20483 \end_layout
20484
20485 \end_inset
20486
20487 の2つがあることに注意してください.これらの詳細については,
20488 \begin_inset CommandInset ref
20489 LatexCommand ref
20490 reference "subsec:汎用テキストクラスパラメータ"
20491
20492 \end_inset
20493
20494 をご覧ください.
20495 \end_layout
20496
20497 \begin_layout Subsection
20498 \begin_inset CommandInset label
20499 LatexCommand label
20500 name "subsec:段落様式-XHTML"
20501
20502 \end_inset
20503
20504 段落様式
20505 \end_layout
20506
20507 \begin_layout Standard
20508 \SpecialChar LyX
20509 が段落のために出力するXHTMLの種類は,通常の段落を取り扱っているのか,コマンドを取り扱っているのか,あるいは環境を取り扱っているのかに依存し,これは対応する
20510 \begin_inset Flex Code
20511 status collapsed
20512
20513 \begin_layout Plain Layout
20514 \SpecialChar LaTeX
20515 Type
20516 \end_layout
20517
20518 \end_inset
20519
20520 タグの内容によって決定されます.
20521 \end_layout
20522
20523 \begin_layout Standard
20524 コマンドや通常の段落の場合には,XHTML出力は以下の形になります.
20525 \end_layout
20526
20527 \begin_layout LyX-Code
20528
20529 \family sans
20530 <tag attr=
20531 \begin_inset Quotes erd
20532 \end_inset
20533
20534 value
20535 \begin_inset Quotes erd
20536 \end_inset
20537
20538 >
20539 \end_layout
20540
20541 \begin_layout LyX-Code
20542
20543 \family sans
20544 <labeltag attr=
20545 \begin_inset Quotes erd
20546 \end_inset
20547
20548 value
20549 \begin_inset Quotes erd
20550 \end_inset
20551
20552 >ラベル</labeltag>
20553 \end_layout
20554
20555 \begin_layout LyX-Code
20556
20557 \family sans
20558 段落の内容
20559 \end_layout
20560
20561 \begin_layout LyX-Code
20562
20563 \family sans
20564 </tag>
20565 \end_layout
20566
20567 \begin_layout Standard
20568 もちろん,段落にラベルがなければ,ラベルタグは省略することができます.
20569 \end_layout
20570
20571 \begin_layout Standard
20572 環境のうち,リストの変種でないものに関しては,XHTMLは以下の形を取ります.
20573 \end_layout
20574
20575 \begin_layout LyX-Code
20576
20577 \family sans
20578 <tag attr=
20579 \begin_inset Quotes erd
20580 \end_inset
20581
20582 value
20583 \begin_inset Quotes erd
20584 \end_inset
20585
20586 >
20587 \end_layout
20588
20589 \begin_layout LyX-Code
20590
20591 \family sans
20592 <itemtag attr=
20593 \begin_inset Quotes erd
20594 \end_inset
20595
20596 value
20597 \begin_inset Quotes erd
20598 \end_inset
20599
20600 ><labeltag attr=
20601 \begin_inset Quotes erd
20602 \end_inset
20603
20604 value
20605 \begin_inset Quotes erd
20606 \end_inset
20607
20608 >環境ラベル</labeltag>最初の段落.
20609 \end_layout
20610
20611 \begin_layout LyX-Code
20612
20613 \family sans
20614 </itemtag>
20615 \end_layout
20616
20617 \begin_layout LyX-Code
20618
20619 \family sans
20620 <itemtag>二つめの段落.</itemtag>
20621 \end_layout
20622
20623 \begin_layout LyX-Code
20624
20625 \family sans
20626 </tag>
20627 \end_layout
20628
20629 \begin_layout Standard
20630 ラベルは,たとえば定理の場合にそうであるように,最初の段落にだけ出力されることに注意してください.
20631 \end_layout
20632
20633 \begin_layout Standard
20634 リストに関しては,次のような形になります.
20635 \end_layout
20636
20637 \begin_layout LyX-Code
20638
20639 \family sans
20640 <tag attr=
20641 \begin_inset Quotes erd
20642 \end_inset
20643
20644 value
20645 \begin_inset Quotes erd
20646 \end_inset
20647
20648 >
20649 \end_layout
20650
20651 \begin_layout LyX-Code
20652
20653 \family sans
20654 <itemtag attr=
20655 \begin_inset Quotes erd
20656 \end_inset
20657
20658 value
20659 \begin_inset Quotes erd
20660 \end_inset
20661
20662 ><labeltag attr=
20663 \begin_inset Quotes erd
20664 \end_inset
20665
20666 value
20667 \begin_inset Quotes erd
20668 \end_inset
20669
20670 >リストのラベル</labeltag>最初の項目.</itemtag>
20671 \end_layout
20672
20673 \begin_layout LyX-Code
20674
20675 \family sans
20676 <itemtag attr=
20677 \begin_inset Quotes erd
20678 \end_inset
20679
20680 value
20681 \begin_inset Quotes erd
20682 \end_inset
20683
20684 ><labeltag attr=
20685 \begin_inset Quotes erd
20686 \end_inset
20687
20688 value
20689 \begin_inset Quotes erd
20690 \end_inset
20691
20692 >リストのラベル</labeltag>二つめの項目.</itemtag>
20693 \end_layout
20694
20695 \begin_layout LyX-Code
20696
20697 \family sans
20698 </tag>
20699 \end_layout
20700
20701 \begin_layout LyX-Code
20702
20703 \end_layout
20704
20705 \begin_layout LyX-Code
20706
20707 \family sans
20708 <tag attr=
20709 \begin_inset Quotes erd
20710 \end_inset
20711
20712 value
20713 \begin_inset Quotes erd
20714 \end_inset
20715
20716 >
20717 \end_layout
20718
20719 \begin_layout LyX-Code
20720
20721 \family sans
20722 <labeltag attr=
20723 \begin_inset Quotes erd
20724 \end_inset
20725
20726 value
20727 \begin_inset Quotes erd
20728 \end_inset
20729
20730 >リストのラベル</labeltag><itemtag attr=
20731 \begin_inset Quotes erd
20732 \end_inset
20733
20734 value
20735 \begin_inset Quotes erd
20736 \end_inset
20737
20738 >最初の項目.</itemtag>
20739 \end_layout
20740
20741 \begin_layout LyX-Code
20742
20743 \family sans
20744 <labeltag attr=
20745 \begin_inset Quotes erd
20746 \end_inset
20747
20748 value
20749 \begin_inset Quotes erd
20750 \end_inset
20751
20752 >リストのラベル</labeltag><itemtag attr=
20753 \begin_inset Quotes erd
20754 \end_inset
20755
20756 value
20757 \begin_inset Quotes erd
20758 \end_inset
20759
20760 >二つめの項目</itemtag>
20761 \end_layout
20762
20763 \begin_layout LyX-Code
20764
20765 \family sans
20766 </tag>
20767 \end_layout
20768
20769 \begin_layout Standard
20770 ここで
20771 \begin_inset Flex Code
20772 status collapsed
20773
20774 \begin_layout Plain Layout
20775 labeltag
20776 \end_layout
20777
20778 \end_inset
20779
20780
20781 \begin_inset Flex Code
20782 status collapsed
20783
20784 \begin_layout Plain Layout
20785 itemtag
20786 \end_layout
20787
20788 \end_inset
20789
20790 の順序が違っていることに注意してください.どちらの順序になるかは,
20791 \begin_inset Flex Code
20792 status collapsed
20793
20794 \begin_layout Plain Layout
20795 HTMLLabelFirst
20796 \end_layout
20797
20798 \end_inset
20799
20800 の設定に依存します.もし
20801 \begin_inset Flex Code
20802 status collapsed
20803
20804 \begin_layout Plain Layout
20805 HTMLLabelFirst
20806 \end_layout
20807
20808 \end_inset
20809
20810 が偽であれば(既定値),最初のケースのようになり,これが真であれば,二番めのケースのように,labelがitemの外側に来るようになります.
20811 \end_layout
20812
20813 \begin_layout Standard
20814 各段落の特定のタグ出力や属性出力は,以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,前述のように,多くの場合,\SpecialChar LyX
20815 は適切な既定値を生成
20816 するので,たいしたことをしなくても,望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,自分の好みにあわせて微調整する目的
20817 でここにあるものと考えてください.
20818 \end_layout
20819
20820 \begin_layout Description
20821 \begin_inset Flex Code
20822 status collapsed
20823
20824 \begin_layout Plain Layout
20825 HTMLAttr
20826 \end_layout
20827
20828 \end_inset
20829
20830  [
20831 \begin_inset Flex Code
20832 status collapsed
20833
20834 \begin_layout Plain Layout
20835 文字列
20836 \end_layout
20837
20838 \end_inset
20839
20840 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
20841 \begin_inset Flex Code
20842 status collapsed
20843
20844 \begin_layout Plain Layout
20845 class=`mydiv'
20846 \end_layout
20847
20848 \end_inset
20849
20850 」のようなものです.既定においては,\SpecialChar LyX
20851 は「
20852 \begin_inset Flex Code
20853 status collapsed
20854
20855 \begin_layout Plain Layout
20856 class=`レイアウト名'
20857 \end_layout
20858
20859 \end_inset
20860
20861 」と出力します.ここで
20862 \begin_inset Flex Code
20863 status collapsed
20864
20865 \begin_layout Plain Layout
20866 レイアウト名
20867 \end_layout
20868
20869 \end_inset
20870
20871 は,レイアウトの\SpecialChar LyX
20872 名であり,chapterのように小文字で記述します.
20873 \end_layout
20874
20875 \begin_layout Description
20876 \begin_inset Flex Code
20877 status collapsed
20878
20879 \begin_layout Plain Layout
20880 HTMLForceCSS
20881 \end_layout
20882
20883 \end_inset
20884
20885  [
20886 \begin_inset Flex Code
20887 status collapsed
20888
20889 \begin_layout Plain Layout
20890
20891 \emph on
20892 0
20893 \emph default
20894 ,1
20895 \end_layout
20896
20897 \end_inset
20898
20899 ] 
20900 \begin_inset Flex Code
20901 status collapsed
20902
20903 \begin_layout Plain Layout
20904 HTMLStyle
20905 \end_layout
20906
20907 \end_inset
20908
20909 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
20910 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
20911 \begin_inset Flex Code
20912 status collapsed
20913
20914 \begin_layout Plain Layout
20915 1
20916 \end_layout
20917
20918 \end_inset
20919
20920 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
20921 \begin_inset Flex Code
20922 status collapsed
20923
20924 \begin_layout Plain Layout
20925 0
20926 \end_layout
20927
20928 \end_inset
20929
20930 です.
20931 \end_layout
20932
20933 \begin_layout Description
20934 \begin_inset Flex Code
20935 status collapsed
20936
20937 \begin_layout Plain Layout
20938 HTMLItem
20939 \end_layout
20940
20941 \end_inset
20942
20943  [
20944 \begin_inset Flex Code
20945 status collapsed
20946
20947 \begin_layout Plain Layout
20948 文字列
20949 \end_layout
20950
20951 \end_inset
20952
20953 ] 環境の段落に使用されるタグ.上記各例の
20954 \begin_inset Flex Code
20955 status collapsed
20956
20957 \begin_layout Plain Layout
20958 itemtag
20959 \end_layout
20960
20961 \end_inset
20962
20963 を置き換えます.既定値は
20964 \begin_inset Flex Code
20965 status collapsed
20966
20967 \begin_layout Plain Layout
20968 div
20969 \end_layout
20970
20971 \end_inset
20972
20973 です.
20974 \end_layout
20975
20976 \begin_layout Description
20977 \begin_inset Flex Code
20978 status collapsed
20979
20980 \begin_layout Plain Layout
20981 HTMLItemAttr
20982 \end_layout
20983
20984 \end_inset
20985
20986  [
20987 \begin_inset Flex Code
20988 status collapsed
20989
20990 \begin_layout Plain Layout
20991 文字列
20992 \end_layout
20993
20994 \end_inset
20995
20996 ] itemタグの属性.既定値は
20997 \begin_inset Flex Code
20998 status collapsed
20999
21000 \begin_layout Plain Layout
21001 class=`レイアウト名_item'
21002 \end_layout
21003
21004 \end_inset
21005
21006 です.ここには,様式情報は含まれては
21007 \emph on
21008 なりません
21009 \emph default
21010 .その目的のためには,
21011 \begin_inset Flex Code
21012 status collapsed
21013
21014 \begin_layout Plain Layout
21015 HTMLStyle
21016 \end_layout
21017
21018 \end_inset
21019
21020 を使用してください.
21021 \end_layout
21022
21023 \begin_layout Description
21024 \begin_inset Flex Code
21025 status collapsed
21026
21027 \begin_layout Plain Layout
21028 HTMLLabel
21029 \end_layout
21030
21031 \end_inset
21032
21033  [
21034 \begin_inset Flex Code
21035 status collapsed
21036
21037 \begin_layout Plain Layout
21038 文字列
21039 \end_layout
21040
21041 \end_inset
21042
21043 ] 段落と項目ラベルに使用されるタグ.上記各例の
21044 \begin_inset Flex Code
21045 status collapsed
21046
21047 \begin_layout Plain Layout
21048 labeltag
21049 \end_layout
21050
21051 \end_inset
21052
21053 を置き換えます.
21054 \begin_inset Flex Code
21055 status collapsed
21056
21057 \begin_layout Plain Layout
21058 LabelType
21059 \end_layout
21060
21061 \end_inset
21062
21063
21064 \begin_inset Flex Code
21065 status collapsed
21066
21067 \begin_layout Plain Layout
21068 Top_Environment
21069 \end_layout
21070
21071 \end_inset
21072
21073
21074 \begin_inset Flex Code
21075 status collapsed
21076
21077 \begin_layout Plain Layout
21078 Centered_Top_Environment
21079 \end_layout
21080
21081 \end_inset
21082
21083 の時は,既定値は
21084 \begin_inset Flex Code
21085 status collapsed
21086
21087 \begin_layout Plain Layout
21088 div
21089 \end_layout
21090
21091 \end_inset
21092
21093 ですが,それ以外の時の既定値は
21094 \begin_inset Flex Code
21095 status collapsed
21096
21097 \begin_layout Plain Layout
21098 span
21099 \end_layout
21100
21101 \end_inset
21102
21103 です.
21104 \end_layout
21105
21106 \begin_layout Description
21107 \begin_inset Flex Code
21108 status collapsed
21109
21110 \begin_layout Plain Layout
21111 HTMLLabelAttr
21112 \end_layout
21113
21114 \end_inset
21115
21116  [
21117 \begin_inset Flex Code
21118 status collapsed
21119
21120 \begin_layout Plain Layout
21121 文字列
21122 \end_layout
21123
21124 \end_inset
21125
21126 ] labelタグの属性.既定値は
21127 \begin_inset Flex Code
21128 status collapsed
21129
21130 \begin_layout Plain Layout
21131 class=`レイアウト名_label'
21132 \end_layout
21133
21134 \end_inset
21135
21136 です.ここには,様式情報は含まれては
21137 \emph on
21138 なりません
21139 \emph default
21140 .その目的のためには,
21141 \begin_inset Flex Code
21142 status collapsed
21143
21144 \begin_layout Plain Layout
21145 HTMLStyle
21146 \end_layout
21147
21148 \end_inset
21149
21150 を使用してください.
21151 \end_layout
21152
21153 \begin_layout Description
21154 \begin_inset Flex Code
21155 status collapsed
21156
21157 \begin_layout Plain Layout
21158 HTMLLabelFirst
21159 \end_layout
21160
21161 \end_inset
21162
21163  [
21164 \begin_inset Flex Code
21165 status collapsed
21166
21167 \begin_layout Plain Layout
21168
21169 \emph on
21170 0
21171 \emph default
21172 ,1
21173 \end_layout
21174
21175 \end_inset
21176
21177 ] このタグは,リスト関係環境でのみ意味を持ち,labelタグが,itemタグの前に出力されるか,中に出力されるかを制御します.これは,たとえば,descrip
21178 tion環境の中で,
21179 \begin_inset Flex Code
21180 status collapsed
21181
21182 \begin_layout Plain Layout
21183 `<dt>\SpecialChar ldots
21184 </dt><dd>\SpecialChar ldots
21185 </dd>
21186 \end_layout
21187
21188 \end_inset
21189
21190 という形を得るために使用されます.既定値は
21191 \begin_inset Flex Code
21192 status collapsed
21193
21194 \begin_layout Plain Layout
21195 0
21196 \end_layout
21197
21198 \end_inset
21199
21200 で,labelタグはitemタグの中に出力されます.
21201 \end_layout
21202
21203 \begin_layout Description
21204 \begin_inset Flex Code
21205 status collapsed
21206
21207 \begin_layout Plain Layout
21208 HTMLPreamble
21209 \end_layout
21210
21211 \end_inset
21212
21213  この様式が使用されたときに,
21214 \begin_inset Flex Code
21215 status collapsed
21216
21217 \begin_layout Plain Layout
21218 <head>
21219 \end_layout
21220
21221 \end_inset
21222
21223 セクションに出力される情報.これは,たとえば,
21224 \begin_inset Flex Code
21225 status collapsed
21226
21227 \begin_layout Plain Layout
21228 onclick
21229 \end_layout
21230
21231 \end_inset
21232
21233 ハンドラを定義するために
21234 \begin_inset Flex Code
21235 status collapsed
21236
21237 \begin_layout Plain Layout
21238 <script>
21239 \end_layout
21240
21241 \end_inset
21242
21243 ブロックをインクルードするのに使用することができます.
21244 \end_layout
21245
21246 \begin_layout Description
21247 \begin_inset Flex Code
21248 status collapsed
21249
21250 \begin_layout Plain Layout
21251 HTMLStyle
21252 \end_layout
21253
21254 \end_inset
21255
21256   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21257 \begin_inset Flex Code
21258 status collapsed
21259
21260 \begin_layout Plain Layout
21261 <style>
21262 \end_layout
21263
21264 \end_inset
21265
21266 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21267 \begin_inset Flex Code
21268 status collapsed
21269
21270 \begin_layout Plain Layout
21271 EndHTMLStyle
21272 \end_layout
21273
21274 \end_inset
21275
21276 で閉じなくてはなりません.
21277 \end_layout
21278
21279 \begin_layout Description
21280 \begin_inset Flex Code
21281 status collapsed
21282
21283 \begin_layout Plain Layout
21284 HTMLTag
21285 \end_layout
21286
21287 \end_inset
21288
21289  [
21290 \begin_inset Flex Code
21291 status collapsed
21292
21293 \begin_layout Plain Layout
21294 文字列
21295 \end_layout
21296
21297 \end_inset
21298
21299 ] 主幹ラベルに使用されるタグ.上記各例の
21300 \begin_inset Flex Code
21301 status collapsed
21302
21303 \begin_layout Plain Layout
21304 tag
21305 \end_layout
21306
21307 \end_inset
21308
21309 を置き換えます.既定値は
21310 \begin_inset Flex Code
21311 status collapsed
21312
21313 \begin_layout Plain Layout
21314 div
21315 \end_layout
21316
21317 \end_inset
21318
21319 です.
21320 \end_layout
21321
21322 \begin_layout Description
21323 \begin_inset Flex Code
21324 status collapsed
21325
21326 \begin_layout Plain Layout
21327 HTMLTitle
21328 \end_layout
21329
21330 \end_inset
21331
21332  [
21333 \begin_inset Flex Code
21334 status collapsed
21335
21336 \begin_layout Plain Layout
21337
21338 \emph on
21339 0
21340 \emph default
21341 ,1
21342 \end_layout
21343
21344 \end_inset
21345
21346 ] この様式が,XHTMLファイルの
21347 \begin_inset Flex Code
21348 status collapsed
21349
21350 \begin_layout Plain Layout
21351 <title>
21352 \end_layout
21353
21354 \end_inset
21355
21356 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
21357 \begin_inset Flex Code
21358 status collapsed
21359
21360 \begin_layout Plain Layout
21361 stdtitle.inc
21362 \end_layout
21363
21364 \end_inset
21365
21366 ファイルでは,
21367 \begin_inset Flex Code
21368 status collapsed
21369
21370 \begin_layout Plain Layout
21371 title
21372 \end_layout
21373
21374 \end_inset
21375
21376 環境のこの項目を真に設定しています.
21377 \end_layout
21378
21379 \begin_layout Subsection
21380 差込枠レイアウトXHTML
21381 \end_layout
21382
21383 \begin_layout Standard
21384 差込枠のXHTML出力も,レイアウトファイル内の情報によって制御することができます
21385 \begin_inset Foot
21386 status collapsed
21387
21388 \begin_layout Plain Layout
21389 現在のところ,これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されませ
21390 ん.
21391 \end_layout
21392
21393 \end_inset
21394
21395 .ここでも,\SpecialChar LyX
21396 は適切な既定値を提供しようと試み,既定のCSS様式を構成します.しかし,すべてカスタマイズ可能です.
21397 \end_layout
21398
21399 \begin_layout Standard
21400 \SpecialChar LyX
21401 が差込枠用に出力するXHTMLは,以下の形を取ります.
21402 \end_layout
21403
21404 \begin_layout LyX-Code
21405 <tag attr=
21406 \begin_inset Quotes erd
21407 \end_inset
21408
21409 value
21410 \begin_inset Quotes erd
21411 \end_inset
21412
21413 >
21414 \end_layout
21415
21416 \begin_layout LyX-Code
21417 <labeltag>ラベル</labeltag>
21418 \end_layout
21419
21420 \begin_layout LyX-Code
21421 <innertag attr=
21422 \begin_inset Quotes erd
21423 \end_inset
21424
21425 value
21426 \begin_inset Quotes erd
21427 \end_inset
21428
21429 >差込枠の内容.</innertag>
21430 \end_layout
21431
21432 \begin_layout LyX-Code
21433 </tag>
21434 \end_layout
21435
21436 \begin_layout Standard
21437 差込枠が多段落を許可している—つまり
21438 \begin_inset Flex Code
21439 status collapsed
21440
21441 \begin_layout Plain Layout
21442 MultiPar
21443 \end_layout
21444
21445 \end_inset
21446
21447 が真—ならば,差込枠の内容は,それ自身段落として出力され,それらの段落に用いられる様式(標準,引用など)を用いて整形されます.もちろん,段落にラベルがなければ,
21448 labelタグは省略され,ラベルがあれば,現在のところ,つねに
21449 \begin_inset Flex Code
21450 status collapsed
21451
21452 \begin_layout Plain Layout
21453 span
21454 \end_layout
21455
21456 \end_inset
21457
21458 が用いられます.innerタグは非必須であり,既定では出力されません.各差込枠用に出力される特定のタグや属性は,以下のレイアウトタグによって制御することができま
21459 す.
21460 \end_layout
21461
21462 \begin_layout Description
21463 \begin_inset Flex Code
21464 status collapsed
21465
21466 \begin_layout Plain Layout
21467 HTMLAttr
21468 \end_layout
21469
21470 \end_inset
21471
21472  [
21473 \begin_inset Flex Code
21474 status collapsed
21475
21476 \begin_layout Plain Layout
21477 文字列
21478 \end_layout
21479
21480 \end_inset
21481
21482 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21483 \begin_inset Flex Code
21484 status collapsed
21485
21486 \begin_layout Plain Layout
21487 class=`myinset' onclick=`\SpecialChar ldots
21488 '
21489 \end_layout
21490
21491 \end_inset
21492
21493 」のようなものです.既定においては,\SpecialChar LyX
21494 は「
21495 \begin_inset Flex Code
21496 status collapsed
21497
21498 \begin_layout Plain Layout
21499 class=`差込枠名'
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 は,差込枠の\SpecialChar LyX
21515 名であり,小文字で記述します.アルファベットや数字以外の文字は,アンダースコアに置き換えられます.
21516 \end_layout
21517
21518 \begin_layout Description
21519 \begin_inset Flex Code
21520 status collapsed
21521
21522 \begin_layout Plain Layout
21523 HTMLForceCSS
21524 \end_layout
21525
21526 \end_inset
21527
21528  [
21529 \begin_inset Flex Code
21530 status collapsed
21531
21532 \begin_layout Plain Layout
21533
21534 \emph on
21535 0
21536 \emph default
21537 ,1
21538 \end_layout
21539
21540 \end_inset
21541
21542 ] 
21543 \begin_inset Flex Code
21544 status collapsed
21545
21546 \begin_layout Plain Layout
21547 HTMLStyle
21548 \end_layout
21549
21550 \end_inset
21551
21552 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
21553 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
21554 \begin_inset Flex Code
21555 status collapsed
21556
21557 \begin_layout Plain Layout
21558 1
21559 \end_layout
21560
21561 \end_inset
21562
21563 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
21564 \begin_inset Flex Code
21565 status collapsed
21566
21567 \begin_layout Plain Layout
21568 0
21569 \end_layout
21570
21571 \end_inset
21572
21573 です.
21574 \end_layout
21575
21576 \begin_layout Description
21577 \begin_inset Flex Code
21578 status collapsed
21579
21580 \begin_layout Plain Layout
21581 HTMLInnerAttr
21582 \end_layout
21583
21584 \end_inset
21585
21586  [
21587 \begin_inset Flex Code
21588 status collapsed
21589
21590 \begin_layout Plain Layout
21591 文字列
21592 \end_layout
21593
21594 \end_inset
21595
21596 ] innerタグの属性.既定値は
21597 \begin_inset Flex Code
21598 status collapsed
21599
21600 \begin_layout Plain Layout
21601 class=`差込枠名_inner'
21602 \end_layout
21603
21604 \end_inset
21605
21606 です.
21607 \end_layout
21608
21609 \begin_layout Description
21610 \begin_inset Flex Code
21611 status collapsed
21612
21613 \begin_layout Plain Layout
21614 HTMLInnerTag
21615 \end_layout
21616
21617 \end_inset
21618
21619  [
21620 \begin_inset Flex Code
21621 status collapsed
21622
21623 \begin_layout Plain Layout
21624 文字列
21625 \end_layout
21626
21627 \end_inset
21628
21629 ] innerタグです.上記各例の
21630 \begin_inset Flex Code
21631 status collapsed
21632
21633 \begin_layout Plain Layout
21634 innertag
21635 \end_layout
21636
21637 \end_inset
21638
21639 を置き換えます.既定値はなしです.
21640 \end_layout
21641
21642 \begin_layout Description
21643 \begin_inset Flex Code
21644 status collapsed
21645
21646 \begin_layout Plain Layout
21647 HTMLIsBlock
21648 \end_layout
21649
21650 \end_inset
21651
21652  [
21653 \begin_inset Flex Code
21654 status collapsed
21655
21656 \begin_layout Plain Layout
21657 0,
21658 \emph on
21659 1
21660 \end_layout
21661
21662 \end_inset
21663
21664 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,それとも,(派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
21665 \end_layout
21666
21667 \begin_layout Description
21668 \begin_inset Flex Code
21669 status collapsed
21670
21671 \begin_layout Plain Layout
21672 HTMLLabel
21673 \end_layout
21674
21675 \end_inset
21676
21677  [
21678 \begin_inset Flex Code
21679 status collapsed
21680
21681 \begin_layout Plain Layout
21682 文字列
21683 \end_layout
21684
21685 \end_inset
21686
21687 ] 場合によっては,カウンタへの参照を含む,この差込枠のラベル.たとえば,脚註用には
21688 \begin_inset Flex Code
21689 status collapsed
21690
21691 \begin_layout Plain Layout
21692
21693 \backslash
21694 arabic{footnote}
21695 \end_layout
21696
21697 \end_inset
21698
21699 など.これは非必須であり,既定値はありません.
21700 \end_layout
21701
21702 \begin_layout Description
21703 \begin_inset Flex Code
21704 status collapsed
21705
21706 \begin_layout Plain Layout
21707 HTMLPreamble
21708 \end_layout
21709
21710 \end_inset
21711
21712  この様式が使用されたときに,
21713 \begin_inset Flex Code
21714 status collapsed
21715
21716 \begin_layout Plain Layout
21717 <head>
21718 \end_layout
21719
21720 \end_inset
21721
21722 セクションに出力される情報.これは,たとえば,
21723 \begin_inset Flex Code
21724 status collapsed
21725
21726 \begin_layout Plain Layout
21727 onclick
21728 \end_layout
21729
21730 \end_inset
21731
21732 ハンドラを定義するために
21733 \begin_inset Flex Code
21734 status collapsed
21735
21736 \begin_layout Plain Layout
21737 <script>
21738 \end_layout
21739
21740 \end_inset
21741
21742 ブロックをインクルードするのに使用することができます.
21743 \end_layout
21744
21745 \begin_layout Description
21746 \begin_inset Flex Code
21747 status collapsed
21748
21749 \begin_layout Plain Layout
21750 HTMLStyle
21751 \end_layout
21752
21753 \end_inset
21754
21755   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21756 \begin_inset Flex Code
21757 status collapsed
21758
21759 \begin_layout Plain Layout
21760 <style>
21761 \end_layout
21762
21763 \end_inset
21764
21765 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21766 \end_layout
21767
21768 \begin_layout Description
21769 \begin_inset Flex Code
21770 status collapsed
21771
21772 \begin_layout Plain Layout
21773 HTMLTag
21774 \end_layout
21775
21776 \end_inset
21777
21778  [
21779 \begin_inset Flex Code
21780 status collapsed
21781
21782 \begin_layout Plain Layout
21783 文字列
21784 \end_layout
21785
21786 \end_inset
21787
21788 ] 主幹ラベルに使用されるタグ.上記各例の
21789 \begin_inset Flex Code
21790 status collapsed
21791
21792 \begin_layout Plain Layout
21793 tag
21794 \end_layout
21795
21796 \end_inset
21797
21798 を置き換えます.既定値は
21799 \begin_inset Flex Code
21800 status collapsed
21801
21802 \begin_layout Plain Layout
21803 MultiPar
21804 \end_layout
21805
21806 \end_inset
21807
21808 の設定に依存し,
21809 \begin_inset Flex Code
21810 status collapsed
21811
21812 \begin_layout Plain Layout
21813 MultiPar
21814 \end_layout
21815
21816 \end_inset
21817
21818 が真ならば
21819 \begin_inset Flex Code
21820 status collapsed
21821
21822 \begin_layout Plain Layout
21823 div
21824 \end_layout
21825
21826 \end_inset
21827
21828 ,偽ならば
21829 \begin_inset Flex Code
21830 status collapsed
21831
21832 \begin_layout Plain Layout
21833 span
21834 \end_layout
21835
21836 \end_inset
21837
21838 です.
21839 \end_layout
21840
21841 \begin_layout Subsection
21842 フロートXHTML
21843 \end_layout
21844
21845 \begin_layout Standard
21846 フロートのXHTML出力も,レイアウトファイル内の情報によって制御することができます.出力は,以下の形を取ります.
21847 \end_layout
21848
21849 \begin_layout LyX-Code
21850 <tag attr=
21851 \begin_inset Quotes erd
21852 \end_inset
21853
21854 value
21855 \begin_inset Quotes erd
21856 \end_inset
21857
21858 >
21859 \end_layout
21860
21861 \begin_layout LyX-Code
21862 フロートの内容.
21863 \end_layout
21864
21865 \begin_layout LyX-Code
21866 </tag>
21867 \end_layout
21868
21869 \begin_layout Standard
21870 キャプションは,存在している場合には,独立した差込枠となり,そのような形で出力されます.その外観は,キャプション差込枠のInsetLayoutで制御することがで
21871 きます.
21872 \end_layout
21873
21874 \begin_layout Description
21875 \begin_inset Flex Code
21876 status collapsed
21877
21878 \begin_layout Plain Layout
21879 HTMLAttr
21880 \end_layout
21881
21882 \end_inset
21883
21884  [
21885 \begin_inset Flex Code
21886 status collapsed
21887
21888 \begin_layout Plain Layout
21889 文字列
21890 \end_layout
21891
21892 \end_inset
21893
21894 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21895 \begin_inset Flex Code
21896 status collapsed
21897
21898 \begin_layout Plain Layout
21899 class=`myfloat' onclick=`\SpecialChar ldots
21900 '
21901 \end_layout
21902
21903 \end_inset
21904
21905 」のようなものです.既定においては,\SpecialChar LyX
21906 は「
21907 \begin_inset Flex Code
21908 status collapsed
21909
21910 \begin_layout Plain Layout
21911 class=`float フロート-フロート型'
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 CommandInset ref
21928 LatexCommand ref
21929 reference "subsec:フロート"
21930
21931 \end_inset
21932
21933 参照),この型のフロートの\SpecialChar LyX
21934 名です.ただし,これは小文字に変換され,アルファベットや数字でない文字はアンダースコアに変換されます.例:float-table.
21935 \end_layout
21936
21937 \begin_layout Description
21938 \begin_inset Flex Code
21939 status collapsed
21940
21941 \begin_layout Plain Layout
21942 HTMLStyle
21943 \end_layout
21944
21945 \end_inset
21946
21947   このフロートが使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21948 \begin_inset Flex Code
21949 status collapsed
21950
21951 \begin_layout Plain Layout
21952 <style>
21953 \end_layout
21954
21955 \end_inset
21956
21957 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21958 \end_layout
21959
21960 \begin_layout Description
21961 \begin_inset Flex Code
21962 status collapsed
21963
21964 \begin_layout Plain Layout
21965 HTMLTag
21966 \end_layout
21967
21968 \end_inset
21969
21970  [
21971 \begin_inset Flex Code
21972 status collapsed
21973
21974 \begin_layout Plain Layout
21975 文字列
21976 \end_layout
21977
21978 \end_inset
21979
21980 ] このフロートに使用されるタグ.上記各例の
21981 \begin_inset Flex Code
21982 status collapsed
21983
21984 \begin_layout Plain Layout
21985 tag
21986 \end_layout
21987
21988 \end_inset
21989
21990 を置き換えます.既定値は
21991 \begin_inset Flex Code
21992 status collapsed
21993
21994 \begin_layout Plain Layout
21995 div
21996 \end_layout
21997
21998 \end_inset
21999
22000 であり,ほとんどの場合変更する必要はありません.
22001 \end_layout
22002
22003 \begin_layout Subsection
22004 書誌情報の整形
22005 \end_layout
22006
22007 \begin_layout Standard
22008 書誌情報は,
22009 \begin_inset Flex Code
22010 status collapsed
22011
22012 \begin_layout Plain Layout
22013 CiteFormat
22014 \end_layout
22015
22016 \end_inset
22017
22018 ブロックを使用して整形することができます.詳細については,
22019 \begin_inset CommandInset ref
22020 LatexCommand ref
22021 reference "subsec:引用書式指定"
22022
22023 \end_inset
22024
22025 を参照してください.
22026 \end_layout
22027
22028 \begin_layout Subsection
22029 \SpecialChar LyX
22030 が生成したCSS
22031 \end_layout
22032
22033 \begin_layout Standard
22034 \SpecialChar LyX
22035 は,提供されている他のレイアウト情報に基づいて,差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,これまでに何度か触れました.この節では,\SpecialChar LyX
22036
22037 がどのレイアウト情報を,どのように使うのか,ひとこと述べておきたいと思います.
22038 \end_layout
22039
22040 \begin_layout Standard
22041 \SpecialChar LyX
22042 は,現在のところ,
22043 \begin_inset Flex Code
22044 status collapsed
22045
22046 \begin_layout Plain Layout
22047 Font
22048 \end_layout
22049
22050 \end_inset
22051
22052 宣言で指定されている
22053 \begin_inset Flex Code
22054 status collapsed
22055
22056 \begin_layout Plain Layout
22057 Family
22058 \end_layout
22059
22060 \end_inset
22061
22062
22063 \begin_inset Flex Code
22064 status collapsed
22065
22066 \begin_layout Plain Layout
22067 Series
22068 \end_layout
22069
22070 \end_inset
22071
22072
22073 \begin_inset Flex Code
22074 status collapsed
22075
22076 \begin_layout Plain Layout
22077 Shape
22078 \end_layout
22079
22080 \end_inset
22081
22082
22083 \begin_inset Flex Code
22084 status collapsed
22085
22086 \begin_layout Plain Layout
22087 Size
22088 \end_layout
22089
22090 \end_inset
22091
22092 を利用して,フォント情報についてのみCSSを自動生成します(
22093 \begin_inset CommandInset ref
22094 LatexCommand ref
22095 reference "subsec:フォント指定"
22096
22097 \end_inset
22098
22099 を参照).この変換は,きわめて分かりやすく自明です.たとえば,「
22100 \begin_inset Flex Code
22101 status collapsed
22102
22103 \begin_layout Plain Layout
22104 Family Sans
22105 \end_layout
22106
22107 \end_inset
22108
22109 」は「
22110 \begin_inset Flex Code
22111 status collapsed
22112
22113 \begin_layout Plain Layout
22114 font-family: sans-serif
22115 \end_layout
22116
22117 \end_inset
22118
22119 」になります.\SpecialChar LyX
22120 の寸法とCSSの寸法のあいだの対応は,少し複雑ですが,それでも直感的に分かります.詳細については,
22121 \begin_inset Flex URL
22122 status collapsed
22123
22124 \begin_layout Plain Layout
22125
22126 src/FontInfo.cpp
22127 \end_layout
22128
22129 \end_inset
22130
22131
22132 \begin_inset Flex Code
22133 status collapsed
22134
22135 \begin_layout Plain Layout
22136 getSizeCSS()
22137 \end_layout
22138
22139 \end_inset
22140
22141 関数をご覧ください.
22142 \end_layout
22143
22144 \begin_layout Chapter
22145 外部素材を取り込む
22146 \begin_inset CommandInset label
22147 LatexCommand label
22148 name "chap:外部素材を取り込む"
22149
22150 \end_inset
22151
22152
22153 \end_layout
22154
22155 \begin_layout Standard
22156 \begin_inset Box Shadowbox
22157 position "t"
22158 hor_pos "c"
22159 has_inner_box 1
22160 inner_pos "t"
22161 use_parbox 0
22162 use_makebox 0
22163 width "100col%"
22164 special "none"
22165 height "1in"
22166 height_special "totalheight"
22167 thickness "0.4pt"
22168 separation "3pt"
22169 shadowsize "4pt"
22170 framecolor "black"
22171 backgroundcolor "none"
22172 status open
22173
22174 \begin_layout Plain Layout
22175 【警告】本説明書のこの部分は,しばらく更新されていません.もちろんまだ正確であることを期待していますが,保証の限りではありません.
22176 \end_layout
22177
22178 \end_inset
22179
22180
22181 \end_layout
22182
22183 \begin_layout Standard
22184 \SpecialChar LyX
22185 外部のソースから素材を使用する方法は,取扱説明書『
22186 \emph on
22187 埋込オブジェクト篇
22188 \emph default
22189 』で詳細にカバーされています.本章は,新種の素材を取り込む際に,舞台裏で何をする必要があるかをカバーします.
22190 \end_layout
22191
22192 \begin_layout Section
22193 どのように機能するのか
22194 \end_layout
22195
22196 \begin_layout Standard
22197 外部素材の機能は,ひな型の概念に基づいています.ひな型は,\SpecialChar LyX
22198 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,\SpecialChar LyX
22199 は,Xfigの図や,様々
22200 なラスター形式画像,チェス棋譜,LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
22201 \begin_inset Flex MenuItem
22202 status collapsed
22203
22204 \begin_layout Plain Layout
22205 挿入\SpecialChar menuseparator
22206 ファイル\SpecialChar menuseparator
22207 外部素材
22208 \end_layout
22209
22210 \end_inset
22211
22212 メニューで見ることができます.さらに,特定の型の素材をサポートするのに,自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しま
22213 すが,できればあなたが作ったすべてのひな型を投稿して,我々が\SpecialChar LyX
22214 の後の版に取り込むことができるようにしてくださることを希望します.
22215 \end_layout
22216
22217 \begin_layout Standard
22218 外部素材の機能におけるもう一つの基本的な発想は,最終素材の元となるオリジナルファイルと,書き出された文書や印刷された文書に取り込むための生成ファイルとを区別して
22219 いることです.たとえば,
22220 \begin_inset Flex Code
22221 status collapsed
22222
22223 \begin_layout Plain Layout
22224 Xfig
22225 \end_layout
22226
22227 \end_inset
22228
22229 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
22230 \begin_inset Flex Code
22231 status collapsed
22232
22233 \begin_layout Plain Layout
22234 .fig
22235 \end_layout
22236
22237 \end_inset
22238
22239 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,作業が終われば
22240 \begin_inset Flex Code
22241 status collapsed
22242
22243 \begin_layout Plain Layout
22244 fig
22245 \end_layout
22246
22247 \end_inset
22248
22249 ファイルに保存します.この図をお使いの文書に取り込みたいときには,\SpecialChar LaTeX
22250 ファイルにそのままインクルードできるように,
22251 \begin_inset Flex Code
22252 status collapsed
22253
22254 \begin_layout Plain Layout
22255 transfig
22256 \end_layout
22257
22258 \end_inset
22259
22260 を呼び出してPostScriptファイルを生成します.この場合には,
22261 \begin_inset Flex Code
22262 status collapsed
22263
22264 \begin_layout Plain Layout
22265 .fig
22266 \end_layout
22267
22268 \end_inset
22269
22270 ファイルがオリジナルファイルであり,PostScriptファイルが生成ファイルになります.
22271 \end_layout
22272
22273 \begin_layout Standard
22274 この区別は,文書を執筆している最中に,素材を更新することができるようにするために重要です.さらに,これによって,複数の書き出し書式をサポートするために必要な柔軟
22275 性が提供されます.たとえば,平文テキストファイルの場合には,図を生のPostScriptファイルとして取り込むのは,とても褒められた発想とはいえません.むしろ,
22276 その図への参照だけを含めるか,最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
22277 の外部素材マネジメントは
22278 ,\SpecialChar LyX
22279 がサポートする各書き出し書式別に仕分けしているので,ユーザがこれを行うことが可能となっています.
22280 \end_layout
22281
22282 \begin_layout Standard
22283 \SpecialChar LyX
22284 の外部素材マネジメントは,書き出し書式によって異なる生成物をサポートすることの他に,編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図
22285 の場合には,\SpecialChar LyX
22286 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,ダブルクリックすることで生成されたPostScriptファイ
22287 ルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファ
22288 イルブラウザをいじくり回す必要はないのです.このようにして,文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,最終的により生産性を上げることが
22289 できるようになるのです.
22290 \end_layout
22291
22292 \begin_layout Section
22293 外用ひな型設定ファイル
22294 \end_layout
22295
22296 \begin_layout Standard
22297 \SpecialChar LyX
22298 に自製の外用ひな型を付け加えるのは,比較的簡単です.しかしながら,これを不用心に行ってしまうと,たいていの場合,簡単に濫用されてしまうようなセキュリティホールを
22299 作ってしまいがちであることを心に留めておいてください.したがって,これを実行に移す前に,
22300 \begin_inset CommandInset ref
22301 LatexCommand ref
22302 reference "sec:セキュリティに関する論点"
22303
22304 \end_inset
22305
22306 のセキュリティに関する議論を読んでおいてください.
22307 \end_layout
22308
22309 \begin_layout Standard
22310 このことに言及した上で,あなたが作成した面白いひな型は,ぜひ投稿してください.
22311 \end_layout
22312
22313 \begin_layout Standard
22314 外用ひな型ファイルは,
22315 \begin_inset Flex Code
22316 status collapsed
22317
22318 \begin_layout Plain Layout
22319 LyXDir/lib/xtemplates/
22320 \end_layout
22321
22322 \end_inset
22323
22324 ディレクトリ中にある
22325 \begin_inset Flex Code
22326 status collapsed
22327
22328 \begin_layout Plain Layout
22329 *.xtemplate
22330 \end_layout
22331
22332 \end_inset
22333
22334 ファイルに定義されています.各ひな型は,そのファイル完結で定義されています.自分専用のひな型を
22335 \begin_inset Flex Code
22336 status collapsed
22337
22338 \begin_layout Plain Layout
22339 UserDir/xtemplates/
22340 \end_layout
22341
22342 \end_inset
22343
22344 に置くこともできますし,既存のひな型をそのデイレク取りにコピーして修正を加えることもできます.
22345 \end_layout
22346
22347 \begin_layout Standard
22348 典型的なひな型は以下のようになります.
22349 \end_layout
22350
22351 \begin_layout LyX-Code
22352 Template XFig
22353 \end_layout
22354
22355 \begin_layout LyX-Code
22356 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22357 \end_layout
22358
22359 \begin_layout LyX-Code
22360 HelpText
22361 \end_layout
22362
22363 \begin_layout LyX-Code
22364 An XFig figure.
22365 \end_layout
22366
22367 \begin_layout LyX-Code
22368 HelpTextEnd
22369 \end_layout
22370
22371 \begin_layout LyX-Code
22372 InputFormat fig
22373 \end_layout
22374
22375 \begin_layout LyX-Code
22376 FileFilter "*.fig"
22377 \end_layout
22378
22379 \begin_layout LyX-Code
22380 AutomaticProduction true
22381 \end_layout
22382
22383 \begin_layout LyX-Code
22384 Transform Rotate
22385 \end_layout
22386
22387 \begin_layout LyX-Code
22388 Transform Resize
22389 \end_layout
22390
22391 \begin_layout LyX-Code
22392 Format LaTeX
22393 \end_layout
22394
22395 \begin_layout LyX-Code
22396 TransformCommand Rotate RotationLatexCommand
22397 \end_layout
22398
22399 \begin_layout LyX-Code
22400 TransformCommand Resize ResizeLatexCommand
22401 \end_layout
22402
22403 \begin_layout LyX-Code
22404 Product "$$RotateFront$$ResizeFront
22405 \end_layout
22406
22407 \begin_layout LyX-Code
22408          
22409 \backslash
22410
22411 \backslash
22412 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22413 \end_layout
22414
22415 \begin_layout LyX-Code
22416          $$ResizeBack$$RotateBack"
22417 \end_layout
22418
22419 \begin_layout LyX-Code
22420 UpdateFormat pstex
22421 \end_layout
22422
22423 \begin_layout LyX-Code
22424 UpdateResult "$$AbsPath$$Basename.pstex_t"
22425 \end_layout
22426
22427 \begin_layout LyX-Code
22428 Requirement "graphicx"
22429 \end_layout
22430
22431 \begin_layout LyX-Code
22432 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22433 \end_layout
22434
22435 \begin_layout LyX-Code
22436 ReferencedFile latex "$$AbsPath$$Basename.eps"
22437 \end_layout
22438
22439 \begin_layout LyX-Code
22440 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22441 \end_layout
22442
22443 \begin_layout LyX-Code
22444 FormatEnd
22445 \end_layout
22446
22447 \begin_layout LyX-Code
22448 Format PDFLaTeX
22449 \end_layout
22450
22451 \begin_layout LyX-Code
22452 TransformCommand Rotate RotationLatexCommand
22453 \end_layout
22454
22455 \begin_layout LyX-Code
22456 TransformCommand Resize ResizeLatexCommand
22457 \end_layout
22458
22459 \begin_layout LyX-Code
22460 Product "$$RotateFront$$ResizeFront
22461 \end_layout
22462
22463 \begin_layout LyX-Code
22464          
22465 \backslash
22466
22467 \backslash
22468 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22469 \end_layout
22470
22471 \begin_layout LyX-Code
22472          $$ResizeBack$$RotateBack"
22473 \end_layout
22474
22475 \begin_layout LyX-Code
22476 UpdateFormat pdftex
22477 \end_layout
22478
22479 \begin_layout LyX-Code
22480 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22481 \end_layout
22482
22483 \begin_layout LyX-Code
22484 Requirement "graphicx"
22485 \end_layout
22486
22487 \begin_layout LyX-Code
22488 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22489 \end_layout
22490
22491 \begin_layout LyX-Code
22492 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22493 \end_layout
22494
22495 \begin_layout LyX-Code
22496 FormatEnd
22497 \end_layout
22498
22499 \begin_layout LyX-Code
22500 Format Ascii
22501 \end_layout
22502
22503 \begin_layout LyX-Code
22504 Product "$$Contents(
22505 \backslash
22506 "$$AbsPath$$Basename.asc
22507 \backslash
22508 ")"
22509 \end_layout
22510
22511 \begin_layout LyX-Code
22512 UpdateFormat asciixfig
22513 \end_layout
22514
22515 \begin_layout LyX-Code
22516 UpdateResult "$$AbsPath$$Basename.asc"
22517 \end_layout
22518
22519 \begin_layout LyX-Code
22520 FormatEnd
22521 \end_layout
22522
22523 \begin_layout LyX-Code
22524 Format DocBook
22525 \end_layout
22526
22527 \begin_layout LyX-Code
22528 Product "<graphic fileref=
22529 \backslash
22530 "$$AbsOrRelPathMaster$$Basename.eps
22531 \backslash
22532 ">
22533 \end_layout
22534
22535 \begin_layout LyX-Code
22536          </graphic>"
22537 \end_layout
22538
22539 \begin_layout LyX-Code
22540 UpdateFormat eps
22541 \end_layout
22542
22543 \begin_layout LyX-Code
22544 UpdateResult "$$AbsPath$$Basename.eps"
22545 \end_layout
22546
22547 \begin_layout LyX-Code
22548 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22549 \end_layout
22550
22551 \begin_layout LyX-Code
22552 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22553 \end_layout
22554
22555 \begin_layout LyX-Code
22556 FormatEnd
22557 \end_layout
22558
22559 \begin_layout LyX-Code
22560 Product "[XFig: $$FName]"
22561 \end_layout
22562
22563 \begin_layout LyX-Code
22564 FormatEnd
22565 \end_layout
22566
22567 \begin_layout LyX-Code
22568 TemplateEnd
22569 \end_layout
22570
22571 \begin_layout Standard
22572 ご覧の通り,ひな型は
22573 \begin_inset Flex Code
22574 status collapsed
22575
22576 \begin_layout Plain Layout
22577 Template
22578 \end_layout
22579
22580 \end_inset
22581
22582  \SpecialChar ldots
22583  
22584 \begin_inset Flex Code
22585 status collapsed
22586
22587 \begin_layout Plain Layout
22588 TemplateEnd
22589 \end_layout
22590
22591 \end_inset
22592
22593 で閉じられます.ひな型には,一般的な設定を行うヘッダ部と,サポートされている主要な文書ファイル形式の設定を行う
22594 \begin_inset Flex Code
22595 status collapsed
22596
22597 \begin_layout Plain Layout
22598 Format
22599 \end_layout
22600
22601 \end_inset
22602
22603  \SpecialChar ldots
22604  
22605 \begin_inset Flex Code
22606 status collapsed
22607
22608 \begin_layout Plain Layout
22609 FormatEnd
22610 \end_layout
22611
22612 \end_inset
22613
22614 部があります.
22615 \end_layout
22616
22617 \begin_layout Subsection
22618 ひな型のヘッダ
22619 \end_layout
22620
22621 \begin_layout Description
22622 \begin_inset Flex Code
22623 status collapsed
22624
22625 \begin_layout Plain Layout
22626 AutomaticProduction
22627 \begin_inset space ~
22628 \end_inset
22629
22630 true|false
22631 \end_layout
22632
22633 \end_inset
22634
22635  このひな型で扱うファイルを\SpecialChar LyX
22636 が生成しなくてはならないか否か.このコマンドは,一度だけ必ず現れなくてはなりません.
22637 \end_layout
22638
22639 \begin_layout Description
22640 \begin_inset Flex Code
22641 status collapsed
22642
22643 \begin_layout Plain Layout
22644 FileFilter
22645 \begin_inset space ~
22646 \end_inset
22647
22648 <パターン>
22649 \end_layout
22650
22651 \end_inset
22652
22653  望むファイル群を表示するために,ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,tgifには
22654 \begin_inset Flex Code
22655 status collapsed
22656
22657 \begin_layout Plain Layout
22658 .obj
22659 \end_layout
22660
22661 \end_inset
22662
22663
22664 \begin_inset Flex Code
22665 status collapsed
22666
22667 \begin_layout Plain Layout
22668 .tgo
22669 \end_layout
22670
22671 \end_inset
22672
22673 があります),「
22674 \begin_inset Flex Code
22675 status collapsed
22676
22677 \begin_layout Plain Layout
22678 *.{obj,tgo}
22679 \end_layout
22680
22681 \end_inset
22682
22683 」の様なパターンを使用してください.このコマンドは,一度だけ必ず現れなくてはなりません.
22684 \end_layout
22685
22686 \begin_layout Description
22687 \begin_inset Flex Code
22688 status collapsed
22689
22690 \begin_layout Plain Layout
22691 GuiName
22692 \begin_inset space ~
22693 \end_inset
22694
22695 <GUI名>
22696 \end_layout
22697
22698 \end_inset
22699
22700  この文字列はボタン上に表示されます.このコマンドは,一度だけ必ず現れなくてはなりません.
22701 \end_layout
22702
22703 \begin_layout Description
22704 \begin_inset Flex Code
22705 status collapsed
22706
22707 \begin_layout Plain Layout
22708 HelpText
22709 \begin_inset space ~
22710 \end_inset
22711
22712 <文章>
22713 \begin_inset space ~
22714 \end_inset
22715
22716 HelpTextEnd
22717 \end_layout
22718
22719 \end_inset
22720
22721  外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,一度だけ必
22722 ず現れなくてはなりません.
22723 \end_layout
22724
22725 \begin_layout Description
22726 \begin_inset Flex Code
22727 status collapsed
22728
22729 \begin_layout Plain Layout
22730 InputFormat
22731 \begin_inset space ~
22732 \end_inset
22733
22734 <書式>
22735 \end_layout
22736
22737 \end_inset
22738
22739  オリジナルファイルのファイル形式.これは,\SpecialChar LyX
22740 が知っている書式名でなくてはなりません(
22741 \begin_inset CommandInset ref
22742 LatexCommand ref
22743 reference "sec:ファイル形式"
22744
22745 \end_inset
22746
22747 参照).このひな型が,2つ以上の書式のオリジナルファイルを取り扱える場合は,「
22748 \begin_inset Flex Code
22749 status collapsed
22750
22751 \begin_layout Plain Layout
22752 *
22753 \end_layout
22754
22755 \end_inset
22756
22757 」を使用してください.この場合,\SpecialChar LyX
22758 はファイル形式を推定するために,ファイル自体に詮索を試みます.このコマンドは,一度だけ必ず現れなくてはなりません.
22759 \end_layout
22760
22761 \begin_layout Description
22762 \begin_inset Flex Code
22763 status collapsed
22764
22765 \begin_layout Plain Layout
22766 Template
22767 \begin_inset space ~
22768 \end_inset
22769
22770 <ID>
22771 \end_layout
22772
22773 \end_inset
22774
22775  このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
22776 \end_layout
22777
22778 \begin_layout Description
22779 \begin_inset Flex Code
22780 status collapsed
22781
22782 \begin_layout Plain Layout
22783 Transform
22784 \begin_inset space ~
22785 \end_inset
22786
22787 Rotate|Resize|Clip|Extra
22788 \end_layout
22789
22790 \end_inset
22791
22792  このコマンドは,このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,外部素材ダイア
22793 ログ中の対応するタブを使用可能にします.
22794 \begin_inset Flex Code
22795 status collapsed
22796
22797 \begin_layout Plain Layout
22798 Transform
22799 \end_layout
22800
22801 \end_inset
22802
22803 コマンド一つずつに応じて,
22804 \begin_inset Flex Code
22805 status collapsed
22806
22807 \begin_layout Plain Layout
22808 Format
22809 \end_layout
22810
22811 \end_inset
22812
22813 部に,対応する
22814 \begin_inset Flex Code
22815 status collapsed
22816
22817 \begin_layout Plain Layout
22818 TransformCommand
22819 \end_layout
22820
22821 \end_inset
22822
22823 コマンドか
22824 \begin_inset Flex Code
22825 status collapsed
22826
22827 \begin_layout Plain Layout
22828 TransformOption
22829 \end_layout
22830
22831 \end_inset
22832
22833 コマンドを置かなくてはなりません.これを行わないと,この書式での変換はサポートされません.
22834 \end_layout
22835
22836 \begin_layout Subsection
22837 \begin_inset Flex Code
22838 status collapsed
22839
22840 \begin_layout Plain Layout
22841 Format
22842 \end_layout
22843
22844 \end_inset
22845
22846
22847 \end_layout
22848
22849 \begin_layout Description
22850 \begin_inset Flex Code
22851 status collapsed
22852
22853 \begin_layout Plain Layout
22854 Format
22855 \begin_inset space ~
22856 \end_inset
22857
22858 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
22859 \end_layout
22860
22861 \end_inset
22862
22863  この書式定義が定める主要な文書ファイル形式.すべてのひな型が,全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,全書式に対して
22864 \begin_inset Flex Code
22865 status collapsed
22866
22867 \begin_layout Plain Layout
22868 Format
22869 \end_layout
22870
22871 \end_inset
22872
22873 部を定義してください.表示する方法がないときは,ダミーテキストを使用してください.これによって,書き出した文書内で,少なくとも外部素材への参照を見ることができる
22874 ようになります.
22875 \end_layout
22876
22877 \begin_layout Description
22878 \begin_inset Flex Code
22879 status collapsed
22880
22881 \begin_layout Plain Layout
22882 Option
22883 \begin_inset space ~
22884 \end_inset
22885
22886 <名称>
22887 \begin_inset space ~
22888 \end_inset
22889
22890 <値>
22891 \end_layout
22892
22893 \end_inset
22894
22895  このコマンドは,
22896 \begin_inset Flex Code
22897 status collapsed
22898
22899 \begin_layout Plain Layout
22900 Product
22901 \end_layout
22902
22903 \end_inset
22904
22905 での代入に使うマクロ
22906 \begin_inset Flex Code
22907 status collapsed
22908
22909 \begin_layout Plain Layout
22910 $$<名称>
22911 \end_layout
22912
22913 \end_inset
22914
22915 を新たに定義します.
22916 \begin_inset Flex Code
22917 status collapsed
22918
22919 \begin_layout Plain Layout
22920 <値>
22921 \end_layout
22922
22923 \end_inset
22924
22925 自体にも代入マクロを使うことができます.
22926 \begin_inset Flex Code
22927 status collapsed
22928
22929 \begin_layout Plain Layout
22930 Product
22931 \end_layout
22932
22933 \end_inset
22934
22935
22936 \begin_inset Flex Code
22937 status collapsed
22938
22939 \begin_layout Plain Layout
22940 <値>
22941 \end_layout
22942
22943 \end_inset
22944
22945 を直接使用するよりも優れた点は,
22946 \begin_inset Flex Code
22947 status collapsed
22948
22949 \begin_layout Plain Layout
22950 $$<名称>
22951 \end_layout
22952
22953 \end_inset
22954
22955 に代入された値が,その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
22956 \end_layout
22957
22958 \begin_layout Description
22959 \begin_inset Flex Code
22960 status collapsed
22961
22962 \begin_layout Plain Layout
22963 Product
22964 \begin_inset space ~
22965 \end_inset
22966
22967 <文>
22968 \end_layout
22969
22970 \end_inset
22971
22972  書き出された文書に挿入される文.実のところ,これが最も重要なコマンドであり,とても複雑になることがあります.このコマンドは,一度だけ必ず現れなくてはなりません
22973
22974 \end_layout
22975
22976 \begin_layout Description
22977 \begin_inset Flex Code
22978 status collapsed
22979
22980 \begin_layout Plain Layout
22981 Preamble
22982 \begin_inset space ~
22983 \end_inset
22984
22985 <名称>
22986 \end_layout
22987
22988 \end_inset
22989
22990  このコマンドは,\SpecialChar LaTeX
22991 プリアンブルに入れるプリアンブル片を指定します.これは
22992 \begin_inset Flex Code
22993 status collapsed
22994
22995 \begin_layout Plain Layout
22996 PreambleDef
22997 \end_layout
22998
22999 \end_inset
23000
23001  \SpecialChar ldots
23002  
23003 \begin_inset Flex Code
23004 status collapsed
23005
23006 \begin_layout Plain Layout
23007 PreambleDefEnd
23008 \end_layout
23009
23010 \end_inset
23011
23012 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
23013 \end_layout
23014
23015 \begin_layout Description
23016 \begin_inset Flex Code
23017 status collapsed
23018
23019 \begin_layout Plain Layout
23020 ReferencedFile
23021 \begin_inset space ~
23022 \end_inset
23023
23024 <書式>
23025 \begin_inset space ~
23026 \end_inset
23027
23028 <ファイル名>
23029 \end_layout
23030
23031 \end_inset
23032
23033  このコマンドは,変換過程で生成され,特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,親文書に対する相対パスとして解釈さ
23034 れます.このコマンドは全く登場しなくても1回以上現れても構いません.
23035 \end_layout
23036
23037 \begin_layout Description
23038 \begin_inset Flex Code
23039 status collapsed
23040
23041 \begin_layout Plain Layout
23042 Requirement
23043 \begin_inset space ~
23044 \end_inset
23045
23046 <package>
23047 \end_layout
23048
23049 \end_inset
23050
23051  必要とされる\SpecialChar LaTeX
23052 パッケージ名.パッケージは,\SpecialChar LaTeX
23053 プリアンブル中で
23054 \begin_inset Flex Code
23055 status collapsed
23056
23057 \begin_layout Plain Layout
23058
23059 \backslash
23060 usepackage{}
23061 \end_layout
23062
23063 \end_inset
23064
23065 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
23066 \end_layout
23067
23068 \begin_layout Description
23069 \begin_inset Flex Code
23070 status collapsed
23071
23072 \begin_layout Plain Layout
23073 TransformCommand
23074 \begin_inset space ~
23075 \end_inset
23076
23077 Rotate
23078 \begin_inset space ~
23079 \end_inset
23080
23081 RotationLatexCommand
23082 \end_layout
23083
23084 \end_inset
23085
23086  このコマンドは,回転用に,組み込みの\SpecialChar LaTeX
23087 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23088 \end_layout
23089
23090 \begin_layout Description
23091 \begin_inset Flex Code
23092 status collapsed
23093
23094 \begin_layout Plain Layout
23095 TransformCommand
23096 \begin_inset space ~
23097 \end_inset
23098
23099 Resize
23100 \begin_inset space ~
23101 \end_inset
23102
23103 ResizeLatexCommand
23104 \end_layout
23105
23106 \end_inset
23107
23108  このコマンドは,伸縮用に,組み込みの\SpecialChar LaTeX
23109 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23110 \end_layout
23111
23112 \begin_layout Description
23113 \begin_inset Flex Code
23114 status collapsed
23115
23116 \begin_layout Plain Layout
23117 TransformOption
23118 \begin_inset space ~
23119 \end_inset
23120
23121 Rotate
23122 \begin_inset space ~
23123 \end_inset
23124
23125 RotationLatexOption
23126 \end_layout
23127
23128 \end_inset
23129
23130  このコマンドは,回転が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23131 \end_layout
23132
23133 \begin_layout Description
23134 \begin_inset Flex Code
23135 status collapsed
23136
23137 \begin_layout Plain Layout
23138 TransformOption
23139 \begin_inset space ~
23140 \end_inset
23141
23142 Resize
23143 \begin_inset space ~
23144 \end_inset
23145
23146 ResizeLatexOption
23147 \end_layout
23148
23149 \end_inset
23150
23151  このコマンドは,伸縮が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23152 \end_layout
23153
23154 \begin_layout Description
23155 \begin_inset Flex Code
23156 status collapsed
23157
23158 \begin_layout Plain Layout
23159 TransformOption
23160 \begin_inset space ~
23161 \end_inset
23162
23163 Clip
23164 \begin_inset space ~
23165 \end_inset
23166
23167 ClipLatexOption
23168 \end_layout
23169
23170 \end_inset
23171
23172  このコマンドは,切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23173 \end_layout
23174
23175 \begin_layout Description
23176 \begin_inset Flex Code
23177 status collapsed
23178
23179 \begin_layout Plain Layout
23180 TransformOption
23181 \begin_inset space ~
23182 \end_inset
23183
23184 Extra
23185 \begin_inset space ~
23186 \end_inset
23187
23188 ExtraLatexOption
23189 \end_layout
23190
23191 \end_inset
23192
23193  このコマンドは,追加の非必須引数を使用することを指定します.このコマンドは,1回現れても全く現れなくても構いません.
23194 \end_layout
23195
23196 \begin_layout Description
23197 \begin_inset Flex Code
23198 status collapsed
23199
23200 \begin_layout Plain Layout
23201 UpdateFormat
23202 \begin_inset space ~
23203 \end_inset
23204
23205 <書式>
23206 \end_layout
23207
23208 \end_inset
23209
23210  変換されたファイルのファイル形式.これは,\SpecialChar LyX
23211 が知っている書式名でなくてはなりません(
23212 \begin_inset Flex MenuItem
23213 status collapsed
23214
23215 \begin_layout Plain Layout
23216 ツール\SpecialChar menuseparator
23217 設定\SpecialChar menuseparator
23218 ファイル処理\SpecialChar menuseparator
23219 ファイル書式
23220 \end_layout
23221
23222 \end_inset
23223
23224 ダイアログを参照).このコマンドは,一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,書式
23225 \begin_inset Flex Code
23226 status collapsed
23227
23228 \begin_layout Plain Layout
23229 pdf6
23230 \end_layout
23231
23232 \end_inset
23233
23234 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
23235 \end_layout
23236
23237 \begin_layout Description
23238 \begin_inset Flex Code
23239 status collapsed
23240
23241 \begin_layout Plain Layout
23242 UpdateResult
23243 \begin_inset space ~
23244 \end_inset
23245
23246 <ファイル名>
23247 \end_layout
23248
23249 \end_inset
23250
23251  変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,一度だけ必ず現れなくてはなりません.
23252 \end_layout
23253
23254 \begin_layout Subsection
23255 プリアンブルの定義
23256 \end_layout
23257
23258 \begin_layout Standard
23259 外用ひな型設定ファイルには,
23260 \begin_inset Flex Code
23261 status collapsed
23262
23263 \begin_layout Plain Layout
23264 PreambleDef
23265 \end_layout
23266
23267 \end_inset
23268
23269  \SpecialChar ldots
23270  
23271 \begin_inset Flex Code
23272 status collapsed
23273
23274 \begin_layout Plain Layout
23275 PreambleDefEnd
23276 \end_layout
23277
23278 \end_inset
23279
23280 で囲んだプリアンブル定義を追加することができます.これらの定義は,ひな型の
23281 \begin_inset Flex Code
23282 status collapsed
23283
23284 \begin_layout Plain Layout
23285 Format
23286 \end_layout
23287
23288 \end_inset
23289
23290 部で使用することができます.
23291 \end_layout
23292
23293 \begin_layout Section
23294 代入機構
23295 \end_layout
23296
23297 \begin_layout Standard
23298 外部素材機構が外部プログラムを呼び出すときには,ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,実行前に展開されるマクロをい
23299 ろいろ入れることができます.実行は,つねに元の文書があるディレクトリで行われます.
23300 \end_layout
23301
23302 \begin_layout Standard
23303 また,外部素材が表示されるときにはいつでも,その名称は代入機構によって組み立てられ,ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
23304 \end_layout
23305
23306 \begin_layout Standard
23307 使用できるマクロは以下の通りです.
23308 \end_layout
23309
23310 \begin_layout Description
23311 \begin_inset Flex Code
23312 status collapsed
23313
23314 \begin_layout Plain Layout
23315 $$AbsOrRelPathMaster
23316 \end_layout
23317
23318 \end_inset
23319
23320  \SpecialChar LyX
23321 親文書への絶対ファイルパスないしは相対ファイルパス
23322 \end_layout
23323
23324 \begin_layout Description
23325 \begin_inset Flex Code
23326 status collapsed
23327
23328 \begin_layout Plain Layout
23329 $$AbsOrRelPathParent
23330 \end_layout
23331
23332 \end_inset
23333
23334  \SpecialChar LyX
23335 文書への絶対ファイルパスないしは相対ファイルパス
23336 \end_layout
23337
23338 \begin_layout Description
23339 \begin_inset Flex Code
23340 status collapsed
23341
23342 \begin_layout Plain Layout
23343 $$AbsPath
23344 \end_layout
23345
23346 \end_inset
23347
23348  絶対ファイルパス
23349 \end_layout
23350
23351 \begin_layout Description
23352 \begin_inset Flex Code
23353 status collapsed
23354
23355 \begin_layout Plain Layout
23356 $$Basename
23357 \end_layout
23358
23359 \end_inset
23360
23361  パスおよび拡張子を除いたファイル名
23362 \end_layout
23363
23364 \begin_layout Description
23365 \begin_inset Flex Code
23366 status collapsed
23367
23368 \begin_layout Plain Layout
23369 $$Contents(
23370 \begin_inset Quotes eld
23371 \end_inset
23372
23373 filename.ext
23374 \begin_inset Quotes erd
23375 \end_inset
23376
23377 )
23378 \end_layout
23379
23380 \end_inset
23381
23382  このマクロは,
23383 \begin_inset Flex Code
23384 status collapsed
23385
23386 \begin_layout Plain Layout
23387 filename.ext
23388 \end_layout
23389
23390 \end_inset
23391
23392 と云う名のファイルの中身を展開します.
23393 \end_layout
23394
23395 \begin_layout Description
23396 \begin_inset Flex Code
23397 status collapsed
23398
23399 \begin_layout Plain Layout
23400 $$Extension
23401 \end_layout
23402
23403 \end_inset
23404
23405  ファイル拡張子(点を含む)
23406 \end_layout
23407
23408 \begin_layout Description
23409 \begin_inset Flex Code
23410 status collapsed
23411
23412 \begin_layout Plain Layout
23413 $$pngOrjpg
23414 \end_layout
23415
23416 \end_inset
23417
23418  これは,ファイルがJPEG形式の場合は,文字列「jpg」となり,それ以外では文字列「png」となります.これは,PNG形式とJPEG形式の両方をサポートする出
23419 力形式に対して,不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,pdf\SpecialChar TeX
23420 出力形式に対してこのマクロを使用します.
23421 \end_layout
23422
23423 \begin_layout Description
23424 \begin_inset Flex Code
23425 status collapsed
23426
23427 \begin_layout Plain Layout
23428 $$FName
23429 \end_layout
23430
23431 \end_inset
23432
23433  外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
23434 文書への絶対パスでも良いですし,相対パスでも構いません.
23435 \end_layout
23436
23437 \begin_layout Description
23438 \begin_inset Flex Code
23439 status collapsed
23440
23441 \begin_layout Plain Layout
23442 $$FPath
23443 \end_layout
23444
23445 \end_inset
23446
23447  
23448 \begin_inset Flex Code
23449 status collapsed
23450
23451 \begin_layout Plain Layout
23452 $$FName
23453 \end_layout
23454
23455 \end_inset
23456
23457 のパス部分(\SpecialChar LyX
23458 文書への絶対パス名か相対パス名)
23459 \end_layout
23460
23461 \begin_layout Description
23462 \begin_inset Flex Code
23463 status collapsed
23464
23465 \begin_layout Plain Layout
23466 $$RelPathMaster
23467 \end_layout
23468
23469 \end_inset
23470
23471  \SpecialChar LyX
23472 親文書への相対ファイルパス
23473 \end_layout
23474
23475 \begin_layout Description
23476 \begin_inset Flex Code
23477 status collapsed
23478
23479 \begin_layout Plain Layout
23480 $$RelPathParent
23481 \end_layout
23482
23483 \end_inset
23484
23485  \SpecialChar LyX
23486 文書への相対ファイルパス
23487 \end_layout
23488
23489 \begin_layout Description
23490 \begin_inset Flex Code
23491 status collapsed
23492
23493 \begin_layout Plain Layout
23494 $$Sysdir
23495 \end_layout
23496
23497 \end_inset
23498
23499  このマクロは,システムディレクトリの絶対パスを展開します.これは,典型的には,\SpecialChar LyX
23500 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
23501 \end_layout
23502
23503 \begin_layout Description
23504 \begin_inset Flex Code
23505 status collapsed
23506
23507 \begin_layout Plain Layout
23508 $$Tempname
23509 \end_layout
23510
23511 \end_inset
23512
23513  元の文書が閉じられたり,挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
23514 \end_layout
23515
23516 \begin_layout Standard
23517 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,たとえば絶対パスのファイル名を 
23518 \begin_inset Flex Code
23519 status collapsed
23520
23521 \begin_layout Plain Layout
23522 $$AbsPath$$Basename$$Extension
23523 \end_layout
23524
23525 \end_inset
23526
23527 のようにして作ることができます.
23528 \end_layout
23529
23530 \begin_layout Standard
23531 上記マクロは,特記しない限りはすべてのコマンドで代入が行われます.
23532 \begin_inset Flex Code
23533 status collapsed
23534
23535 \begin_layout Plain Layout
23536 Transform
23537 \end_layout
23538
23539 \end_inset
23540
23541 コマンドと
23542 \begin_inset Flex Code
23543 status collapsed
23544
23545 \begin_layout Plain Layout
23546 TransformCommand
23547 \end_layout
23548
23549 \end_inset
23550
23551 コマンドが有効にされている場合,
23552 \begin_inset Flex Code
23553 status collapsed
23554
23555 \begin_layout Plain Layout
23556 Product
23557 \end_layout
23558
23559 \end_inset
23560
23561 コマンドは,これらに加えて以下の代入もサポートします.
23562 \end_layout
23563
23564 \begin_layout Description
23565 \begin_inset Flex Code
23566 status collapsed
23567
23568 \begin_layout Plain Layout
23569 $$ResizeFront
23570 \end_layout
23571
23572 \end_inset
23573
23574  伸縮コマンドの前置部.
23575 \end_layout
23576
23577 \begin_layout Description
23578 \begin_inset Flex Code
23579 status collapsed
23580
23581 \begin_layout Plain Layout
23582 $$ResizeBack
23583 \end_layout
23584
23585 \end_inset
23586
23587  伸縮コマンドの後置部.
23588 \end_layout
23589
23590 \begin_layout Description
23591 \begin_inset Flex Code
23592 status collapsed
23593
23594 \begin_layout Plain Layout
23595 $$RotateFront
23596 \end_layout
23597
23598 \end_inset
23599
23600  回転コマンドの前置部.
23601 \end_layout
23602
23603 \begin_layout Description
23604 \begin_inset Flex Code
23605 status collapsed
23606
23607 \begin_layout Plain Layout
23608 $$RotateBack
23609 \end_layout
23610
23611 \end_inset
23612
23613  回転コマンドの後置部.
23614 \end_layout
23615
23616 \begin_layout Standard
23617 \begin_inset Flex Code
23618 status collapsed
23619
23620 \begin_layout Plain Layout
23621 Option
23622 \end_layout
23623
23624 \end_inset
23625
23626 コマンドの値に入れる文字列では,
23627 \begin_inset Flex Code
23628 status collapsed
23629
23630 \begin_layout Plain Layout
23631 Transform
23632 \end_layout
23633
23634 \end_inset
23635
23636 コマンドと
23637 \begin_inset Flex Code
23638 status collapsed
23639
23640 \begin_layout Plain Layout
23641 TransformOption
23642 \end_layout
23643
23644 \end_inset
23645
23646 コマンドが有効にされていれば,以下の代入もサポートされます.
23647 \end_layout
23648
23649 \begin_layout Description
23650 \begin_inset Flex Code
23651 status collapsed
23652
23653 \begin_layout Plain Layout
23654 $$Clip
23655 \end_layout
23656
23657 \end_inset
23658
23659  切り抜きオプション.
23660 \end_layout
23661
23662 \begin_layout Description
23663 \begin_inset Flex Code
23664 status collapsed
23665
23666 \begin_layout Plain Layout
23667 $$Extra
23668 \end_layout
23669
23670 \end_inset
23671
23672  追加オプション.
23673 \end_layout
23674
23675 \begin_layout Description
23676 \begin_inset Flex Code
23677 status collapsed
23678
23679 \begin_layout Plain Layout
23680 $$Resize
23681 \end_layout
23682
23683 \end_inset
23684
23685  伸縮オプション.
23686 \end_layout
23687
23688 \begin_layout Description
23689 \begin_inset Flex Code
23690 status collapsed
23691
23692 \begin_layout Plain Layout
23693 $$Rotate
23694 \end_layout
23695
23696 \end_inset
23697
23698  回転オプション.
23699 \end_layout
23700
23701 \begin_layout Standard
23702 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
23703 \end_layout
23704
23705 \begin_layout Enumerate
23706 相対ファイル名と絶対ファイル名は,それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえ
23707 ば相対名は,いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,プログラムによっては必要とされることがあり得ます.
23708 \end_layout
23709
23710 \begin_layout Enumerate
23711 \SpecialChar LaTeX
23712 は,相対ファイル名に関して,\SpecialChar LyX
23713 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
23714 にとって相対ファイル名とは,常にこのファイル名が書か
23715 れている文書に対して相対的なものになります.\SpecialChar LaTeX
23716 にとっての相対ファイル名は,常に親文書に対するものになります.これら二つの定義は,一つの文書しかないときには同じです
23717 が,部分文書を含む親文書があるときには異なったものとなってきます.つまり,相対ファイル名は,\SpecialChar LaTeX
23718 に提示されるときに変換されなくてはならないのです.幸い,正しいマクロ
23719 を選びさえすれば,これは\SpecialChar LyX
23720 が自動的に行ってくれます.
23721 \end_layout
23722
23723 \begin_layout Standard
23724 すると,新しく作ったひな型定義では,どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
23725 \end_layout
23726
23727 \begin_layout Itemize
23728 絶対パスが必要とされるときには
23729 \begin_inset Flex Code
23730 status collapsed
23731
23732 \begin_layout Plain Layout
23733 $$AbsPath
23734 \end_layout
23735
23736 \end_inset
23737
23738 を使う.
23739 \end_layout
23740
23741 \begin_layout Itemize
23742 代入された文字列が,\SpecialChar LaTeX
23743 インプットの一種である場合には,
23744 \begin_inset Flex Code
23745 status collapsed
23746
23747 \begin_layout Plain Layout
23748 $$AbsOrRelPathMaster
23749 \end_layout
23750
23751 \end_inset
23752
23753 を使う.
23754 \end_layout
23755
23756 \begin_layout Itemize
23757 それ以外ならば,ユーザの選択を尊重するために
23758 \begin_inset Flex Code
23759 status collapsed
23760
23761 \begin_layout Plain Layout
23762 $$AbsOrRelPathParent
23763 \end_layout
23764
23765 \end_inset
23766
23767 を使う.
23768 \end_layout
23769
23770 \begin_layout Standard
23771 このルールが機能せずに,たとえば相対名が必要となる特殊な場合もありますが,通常,上記でうまく動作します.特殊例の例としては,上述のXFigひな型での
23772 \begin_inset Flex Code
23773 status collapsed
23774
23775 \begin_layout Plain Layout
23776 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23777 \end_layout
23778
23779 \end_inset
23780
23781 というコマンドがあります.この場合,
23782 \begin_inset Flex Code
23783 status collapsed
23784
23785 \begin_layout Plain Layout
23786 .pstex_t
23787 \end_layout
23788
23789 \end_inset
23790
23791 ファイルの複写子は,ファイル内容を書き換えるのに相対名を必要とするために,絶対名を使用することができないのです.
23792 \end_layout
23793
23794 \begin_layout Section
23795 セキュリティに関する論点
23796 \begin_inset CommandInset label
23797 LatexCommand label
23798 name "sec:セキュリティに関する論点"
23799
23800 \end_inset
23801
23802
23803 \end_layout
23804
23805 \begin_layout Standard
23806 外部素材機能は,多くの外部プログラムとの橋渡しをし,しかもそれを自動的に行うので,そのセキュリティ面での帰結を考慮しなくてはなりません.特に,ユーザは好きなファ
23807 イル名やパラメータ文字列を含めることが許されていて,しかもそれらがコマンドに展開されるので,ユーザが文書を閲覧したり印刷したりしたときに,任意のコマンドを実行す
23808 ることができるような悪意ある文書を作成することが可能となりましょう.これは,我々がぜひとも避けたいことなのです.
23809 \end_layout
23810
23811 \begin_layout Standard
23812 しかしながら,外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,\SpecialChar LyX
23813 が安全なひな型でのみ適切に設定されているならば,セキュリティ上の問題は発生しま
23814 せん.これは,外部プログラムが
23815 \begin_inset Flex Code
23816 status collapsed
23817
23818 \begin_layout Plain Layout
23819 system
23820 \end_layout
23821
23822 \end_inset
23823
23824 システムコールではなく,
23825 \begin_inset Flex Code
23826 status collapsed
23827
23828 \begin_layout Plain Layout
23829 execvp
23830 \end_layout
23831
23832 \end_inset
23833
23834 システムコールで呼び出されているため,ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
23835 \end_layout
23836
23837 \begin_layout Standard
23838 これは,外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,制限があることを意味します.特に,パイプやリダイレクトはそのまま使用することは
23839 できません.これは,\SpecialChar LyX
23840 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,これを完全に統御の下においたまま行う安全なス
23841 クリプトを書いた上で,このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
23842 \end_layout
23843
23844 \begin_layout Standard
23845 シェルと直接やりとりするひな型を設計することは可能ではありますが,悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,任意のコマンドを実行できるよ
23846 うになるため,一般的には,統御下に置いた状態で
23847 \begin_inset Flex Code
23848 status collapsed
23849
23850 \begin_layout Plain Layout
23851 execvp
23852 \end_layout
23853
23854 \end_inset
23855
23856 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,管理された環境下で使用する分には,通常のシェルスクリプトを使用する方に流れる誘
23857 惑はあります.そうした場合には,お使いのシステムに簡単に濫用することのできるセキュリティホールを,
23858 \emph on
23859 間違いなく
23860 \emph default
23861 導入することを理解しておいてください.オープンソースの伝統に従って,私たちは人々に新しいひな型を投稿してくれるよう促していますが,そのような安全でないひな型はL
23862 yXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
23863 には,安全でないひな型は決して入っていません
23864
23865 \end_layout
23866
23867 \begin_layout Standard
23868 外部素材を含めることで強力な力を手に入れることができますが,この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリ
23869 プトのたった一行に入り込んだ,ちょっとしたエラーが,巨大なセキュリティ上の問題に扉を開きうるのです.したがって,もしこの問題を完全に理解していないならば,特定の
23870 ひな型が安全であるかどうか疑問がある際には,知識豊富なセキュリティの専門家か,\SpecialChar LyX
23871 開発チームに相談してみてください.そしてこの相談は,管理されていない環境下でこれを
23872 使用する前に,行うようにしてください.
23873 \end_layout
23874
23875 \begin_layout Chapter
23876 \start_of_appendix
23877 サポートされているレイアウト用\SpecialChar LyX
23878 関数一覧
23879 \begin_inset CommandInset label
23880 LatexCommand label
23881 name "chap:関数一覧"
23882
23883 \end_inset
23884
23885
23886 \end_layout
23887
23888 \begin_layout Standard
23889 \align center
23890 \begin_inset Tabular
23891 <lyxtabular version="3" rows="11" columns="8">
23892 <features tabularvalignment="middle">
23893 <column alignment="left" valignment="top">
23894 <column alignment="left" valignment="top">
23895 <column alignment="left" valignment="top">
23896 <column alignment="left" valignment="top">
23897 <column alignment="left" valignment="top">
23898 <column alignment="left" valignment="top">
23899 <column alignment="left" valignment="top">
23900 <column alignment="left" valignment="top">
23901 <row>
23902 <cell alignment="left" valignment="top" usebox="none">
23903 \begin_inset Text
23904
23905 \begin_layout Plain Layout
23906 accents
23907 \end_layout
23908
23909 \end_inset
23910 </cell>
23911 <cell alignment="left" valignment="top" usebox="none">
23912 \begin_inset Text
23913
23914 \begin_layout Plain Layout
23915 booktabs
23916 \end_layout
23917
23918 \end_inset
23919 </cell>
23920 <cell alignment="left" valignment="top" usebox="none">
23921 \begin_inset Text
23922
23923 \begin_layout Plain Layout
23924 feyn
23925 \end_layout
23926
23927 \end_inset
23928 </cell>
23929 <cell alignment="left" valignment="top" usebox="none">
23930 \begin_inset Text
23931
23932 \begin_layout Plain Layout
23933 listings
23934 \end_layout
23935
23936 \end_inset
23937 </cell>
23938 <cell alignment="center" valignment="top" usebox="none">
23939 \begin_inset Text
23940
23941 \begin_layout Plain Layout
23942 natbib
23943 \end_layout
23944
23945 \end_inset
23946 </cell>
23947 <cell alignment="center" valignment="top" usebox="none">
23948 \begin_inset Text
23949
23950 \begin_layout Plain Layout
23951 rotfloat
23952 \end_layout
23953
23954 \end_inset
23955 </cell>
23956 <cell alignment="center" valignment="top" usebox="none">
23957 \begin_inset Text
23958
23959 \begin_layout Plain Layout
23960 tfrupee
23961 \end_layout
23962
23963 \end_inset
23964 </cell>
23965 <cell alignment="center" valignment="top" usebox="none">
23966 \begin_inset Text
23967
23968 \begin_layout Plain Layout
23969 wasysym
23970 \end_layout
23971
23972 \end_inset
23973 </cell>
23974 </row>
23975 <row>
23976 <cell alignment="left" valignment="top" usebox="none">
23977 \begin_inset Text
23978
23979 \begin_layout Plain Layout
23980 amsbsy
23981 \end_layout
23982
23983 \end_inset
23984 </cell>
23985 <cell alignment="left" valignment="top" usebox="none">
23986 \begin_inset Text
23987
23988 \begin_layout Plain Layout
23989 calc
23990 \end_layout
23991
23992 \end_inset
23993 </cell>
23994 <cell alignment="left" valignment="top" usebox="none">
23995 \begin_inset Text
23996
23997 \begin_layout Plain Layout
23998 fixltx2e
23999 \end_layout
24000
24001 \end_inset
24002 </cell>
24003 <cell alignment="left" valignment="top" usebox="none">
24004 \begin_inset Text
24005
24006 \begin_layout Plain Layout
24007 longtable
24008 \end_layout
24009
24010 \end_inset
24011 </cell>
24012 <cell alignment="center" valignment="top" usebox="none">
24013 \begin_inset Text
24014
24015 \begin_layout Plain Layout
24016 nomencl
24017 \end_layout
24018
24019 \end_inset
24020 </cell>
24021 <cell alignment="center" valignment="top" usebox="none">
24022 \begin_inset Text
24023
24024 \begin_layout Plain Layout
24025 rsphrase
24026 \end_layout
24027
24028 \end_inset
24029 </cell>
24030 <cell alignment="center" valignment="top" usebox="none">
24031 \begin_inset Text
24032
24033 \begin_layout Plain Layout
24034 tipa
24035 \end_layout
24036
24037 \end_inset
24038 </cell>
24039 <cell alignment="center" valignment="top" usebox="none">
24040 \begin_inset Text
24041
24042 \begin_layout Plain Layout
24043 wrapfig
24044 \end_layout
24045
24046 \end_inset
24047 </cell>
24048 </row>
24049 <row>
24050 <cell alignment="left" valignment="top" usebox="none">
24051 \begin_inset Text
24052
24053 \begin_layout Plain Layout
24054 amscd
24055 \end_layout
24056
24057 \end_inset
24058 </cell>
24059 <cell alignment="left" valignment="top" usebox="none">
24060 \begin_inset Text
24061
24062 \begin_layout Plain Layout
24063 CJK
24064 \end_layout
24065
24066 \end_inset
24067 </cell>
24068 <cell alignment="left" valignment="top" usebox="none">
24069 \begin_inset Text
24070
24071 \begin_layout Plain Layout
24072 float
24073 \end_layout
24074
24075 \end_inset
24076 </cell>
24077 <cell alignment="left" valignment="top" usebox="none">
24078 \begin_inset Text
24079
24080 \begin_layout Plain Layout
24081 lyxskak
24082 \end_layout
24083
24084 \end_inset
24085 </cell>
24086 <cell alignment="center" valignment="top" usebox="none">
24087 \begin_inset Text
24088
24089 \begin_layout Plain Layout
24090 pdfcolmk
24091 \end_layout
24092
24093 \end_inset
24094 </cell>
24095 <cell alignment="center" valignment="top" usebox="none">
24096 \begin_inset Text
24097
24098 \begin_layout Plain Layout
24099 setspace
24100 \end_layout
24101
24102 \end_inset
24103 </cell>
24104 <cell alignment="center" valignment="top" usebox="none">
24105 \begin_inset Text
24106
24107 \begin_layout Plain Layout
24108 tipx
24109 \end_layout
24110
24111 \end_inset
24112 </cell>
24113 <cell alignment="center" valignment="top" usebox="none">
24114 \begin_inset Text
24115
24116 \begin_layout Plain Layout
24117 xargs
24118 \end_layout
24119
24120 \end_inset
24121 </cell>
24122 </row>
24123 <row>
24124 <cell alignment="left" valignment="top" usebox="none">
24125 \begin_inset Text
24126
24127 \begin_layout Plain Layout
24128 amsmath
24129 \end_layout
24130
24131 \end_inset
24132 </cell>
24133 <cell alignment="left" valignment="top" usebox="none">
24134 \begin_inset Text
24135
24136 \begin_layout Plain Layout
24137 color
24138 \end_layout
24139
24140 \end_inset
24141 </cell>
24142 <cell alignment="left" valignment="top" usebox="none">
24143 \begin_inset Text
24144
24145 \begin_layout Plain Layout
24146 framed
24147 \end_layout
24148
24149 \end_inset
24150 </cell>
24151 <cell alignment="left" valignment="top" usebox="none">
24152 \begin_inset Text
24153
24154 \begin_layout Plain Layout
24155 makeidx
24156 \end_layout
24157
24158 \end_inset
24159 </cell>
24160 <cell alignment="center" valignment="top" usebox="none">
24161 \begin_inset Text
24162
24163 \begin_layout Plain Layout
24164 pdfpages
24165 \end_layout
24166
24167 \end_inset
24168 </cell>
24169 <cell alignment="center" valignment="top" usebox="none">
24170 \begin_inset Text
24171
24172 \begin_layout Plain Layout
24173 shapepar
24174 \end_layout
24175
24176 \end_inset
24177 </cell>
24178 <cell alignment="center" valignment="top" usebox="none">
24179 \begin_inset Text
24180
24181 \begin_layout Plain Layout
24182 tone
24183 \end_layout
24184
24185 \end_inset
24186 </cell>
24187 <cell alignment="center" valignment="top" usebox="none">
24188 \begin_inset Text
24189
24190 \begin_layout Plain Layout
24191 xcolor
24192 \end_layout
24193
24194 \end_inset
24195 </cell>
24196 </row>
24197 <row>
24198 <cell alignment="left" valignment="top" usebox="none">
24199 \begin_inset Text
24200
24201 \begin_layout Plain Layout
24202 amssymb
24203 \end_layout
24204
24205 \end_inset
24206 </cell>
24207 <cell alignment="left" valignment="top" usebox="none">
24208 \begin_inset Text
24209
24210 \begin_layout Plain Layout
24211 covington
24212 \end_layout
24213
24214 \end_inset
24215 </cell>
24216 <cell alignment="left" valignment="top" usebox="none">
24217 \begin_inset Text
24218
24219 \begin_layout Plain Layout
24220 graphicx
24221 \end_layout
24222
24223 \end_inset
24224 </cell>
24225 <cell alignment="left" valignment="top" usebox="none">
24226 \begin_inset Text
24227
24228 \begin_layout Plain Layout
24229 marvosym
24230 \end_layout
24231
24232 \end_inset
24233 </cell>
24234 <cell alignment="center" valignment="top" usebox="none">
24235 \begin_inset Text
24236
24237 \begin_layout Plain Layout
24238 pifont
24239 \end_layout
24240
24241 \end_inset
24242 </cell>
24243 <cell alignment="center" valignment="top" usebox="none">
24244 \begin_inset Text
24245
24246 \begin_layout Plain Layout
24247 slashed
24248 \end_layout
24249
24250 \end_inset
24251 </cell>
24252 <cell alignment="center" valignment="top" usebox="none">
24253 \begin_inset Text
24254
24255 \begin_layout Plain Layout
24256 txfonts
24257 \end_layout
24258
24259 \end_inset
24260 </cell>
24261 <cell alignment="center" valignment="top" usebox="none">
24262 \begin_inset Text
24263
24264 \begin_layout Plain Layout
24265 xy
24266 \end_layout
24267
24268 \end_inset
24269 </cell>
24270 </row>
24271 <row>
24272 <cell alignment="left" valignment="top" usebox="none">
24273 \begin_inset Text
24274
24275 \begin_layout Plain Layout
24276 amstext
24277 \end_layout
24278
24279 \end_inset
24280 </cell>
24281 <cell alignment="left" valignment="top" usebox="none">
24282 \begin_inset Text
24283
24284 \begin_layout Plain Layout
24285 csquotes
24286 \end_layout
24287
24288 \end_inset
24289 </cell>
24290 <cell alignment="left" valignment="top" usebox="none">
24291 \begin_inset Text
24292
24293 \begin_layout Plain Layout
24294 hhline
24295 \end_layout
24296
24297 \end_inset
24298 </cell>
24299 <cell alignment="left" valignment="top" usebox="none">
24300 \begin_inset Text
24301
24302 \begin_layout Plain Layout
24303 mathdesign
24304 \end_layout
24305
24306 \end_inset
24307 </cell>
24308 <cell alignment="center" valignment="top" usebox="none">
24309 \begin_inset Text
24310
24311 \begin_layout Plain Layout
24312 pmboxdraw
24313 \end_layout
24314
24315 \end_inset
24316 </cell>
24317 <cell alignment="center" valignment="top" usebox="none">
24318 \begin_inset Text
24319
24320 \begin_layout Plain Layout
24321 soul
24322 \end_layout
24323
24324 \end_inset
24325 </cell>
24326 <cell alignment="center" valignment="top" usebox="none">
24327 \begin_inset Text
24328
24329 \begin_layout Plain Layout
24330 ulem
24331 \end_layout
24332
24333 \end_inset
24334 </cell>
24335 <cell alignment="center" valignment="top" usebox="none">
24336 \begin_inset Text
24337
24338 \begin_layout Plain Layout
24339 yhmath
24340 \end_layout
24341
24342 \end_inset
24343 </cell>
24344 </row>
24345 <row>
24346 <cell alignment="left" valignment="top" usebox="none">
24347 \begin_inset Text
24348
24349 \begin_layout Plain Layout
24350 amsthm
24351 \end_layout
24352
24353 \end_inset
24354 </cell>
24355 <cell alignment="left" valignment="top" usebox="none">
24356 \begin_inset Text
24357
24358 \begin_layout Plain Layout
24359 dvipost
24360 \end_layout
24361
24362 \end_inset
24363 </cell>
24364 <cell alignment="left" valignment="top" usebox="none">
24365 \begin_inset Text
24366
24367 \begin_layout Plain Layout
24368 hyperref
24369 \end_layout
24370
24371 \end_inset
24372 </cell>
24373 <cell alignment="left" valignment="top" usebox="none">
24374 \begin_inset Text
24375
24376 \begin_layout Plain Layout
24377 mathdots
24378 \end_layout
24379
24380 \end_inset
24381 </cell>
24382 <cell alignment="center" valignment="top" usebox="none">
24383 \begin_inset Text
24384
24385 \begin_layout Plain Layout
24386 polyglossia
24387 \end_layout
24388
24389 \end_inset
24390 </cell>
24391 <cell alignment="center" valignment="top" usebox="none">
24392 \begin_inset Text
24393
24394 \begin_layout Plain Layout
24395 splitidx
24396 \end_layout
24397
24398 \end_inset
24399 </cell>
24400 <cell alignment="center" valignment="top" usebox="none">
24401 \begin_inset Text
24402
24403 \begin_layout Plain Layout
24404 undertilde
24405 \end_layout
24406
24407 \end_inset
24408 </cell>
24409 <cell alignment="center" valignment="top" usebox="none">
24410 \begin_inset Text
24411
24412 \begin_layout Plain Layout
24413
24414 \end_layout
24415
24416 \end_inset
24417 </cell>
24418 </row>
24419 <row>
24420 <cell alignment="left" valignment="top" usebox="none">
24421 \begin_inset Text
24422
24423 \begin_layout Plain Layout
24424 array
24425 \end_layout
24426
24427 \end_inset
24428 </cell>
24429 <cell alignment="left" valignment="top" usebox="none">
24430 \begin_inset Text
24431
24432 \begin_layout Plain Layout
24433 endnotes
24434 \end_layout
24435
24436 \end_inset
24437 </cell>
24438 <cell alignment="left" valignment="top" usebox="none">
24439 \begin_inset Text
24440
24441 \begin_layout Plain Layout
24442 ifsym
24443 \end_layout
24444
24445 \end_inset
24446 </cell>
24447 <cell alignment="left" valignment="top" usebox="none">
24448 \begin_inset Text
24449
24450 \begin_layout Plain Layout
24451 mathrsfs
24452 \end_layout
24453
24454 \end_inset
24455 </cell>
24456 <cell alignment="center" valignment="top" usebox="none">
24457 \begin_inset Text
24458
24459 \begin_layout Plain Layout
24460 prettyref
24461 \end_layout
24462
24463 \end_inset
24464 </cell>
24465 <cell alignment="center" valignment="top" usebox="none">
24466 \begin_inset Text
24467
24468 \begin_layout Plain Layout
24469 subfig
24470 \end_layout
24471
24472 \end_inset
24473 </cell>
24474 <cell alignment="center" valignment="top" usebox="none">
24475 \begin_inset Text
24476
24477 \begin_layout Plain Layout
24478 units
24479 \end_layout
24480
24481 \end_inset
24482 </cell>
24483 <cell alignment="center" valignment="top" usebox="none">
24484 \begin_inset Text
24485
24486 \begin_layout Plain Layout
24487
24488 \end_layout
24489
24490 \end_inset
24491 </cell>
24492 </row>
24493 <row>
24494 <cell alignment="left" valignment="top" usebox="none">
24495 \begin_inset Text
24496
24497 \begin_layout Plain Layout
24498 ascii
24499 \end_layout
24500
24501 \end_inset
24502 </cell>
24503 <cell alignment="left" valignment="top" usebox="none">
24504 \begin_inset Text
24505
24506 \begin_layout Plain Layout
24507 enumitem
24508 \end_layout
24509
24510 \end_inset
24511 </cell>
24512 <cell alignment="left" valignment="top" usebox="none">
24513 \begin_inset Text
24514
24515 \begin_layout Plain Layout
24516 ifthen
24517 \end_layout
24518
24519 \end_inset
24520 </cell>
24521 <cell alignment="left" valignment="top" usebox="none">
24522 \begin_inset Text
24523
24524 \begin_layout Plain Layout
24525 mhchem
24526 \end_layout
24527
24528 \end_inset
24529 </cell>
24530 <cell alignment="center" valignment="top" usebox="none">
24531 \begin_inset Text
24532
24533 \begin_layout Plain Layout
24534 pxfonts
24535 \end_layout
24536
24537 \end_inset
24538 </cell>
24539 <cell alignment="center" valignment="top" usebox="none">
24540 \begin_inset Text
24541
24542 \begin_layout Plain Layout
24543 subscript
24544 \end_layout
24545
24546 \end_inset
24547 </cell>
24548 <cell alignment="center" valignment="top" usebox="none">
24549 \begin_inset Text
24550
24551 \begin_layout Plain Layout
24552 url
24553 \end_layout
24554
24555 \end_inset
24556 </cell>
24557 <cell alignment="center" valignment="top" usebox="none">
24558 \begin_inset Text
24559
24560 \begin_layout Plain Layout
24561
24562 \end_layout
24563
24564 \end_inset
24565 </cell>
24566 </row>
24567 <row>
24568 <cell alignment="left" valignment="top" usebox="none">
24569 \begin_inset Text
24570
24571 \begin_layout Plain Layout
24572 bbding
24573 \end_layout
24574
24575 \end_inset
24576 </cell>
24577 <cell alignment="left" valignment="top" usebox="none">
24578 \begin_inset Text
24579
24580 \begin_layout Plain Layout
24581 esint
24582 \end_layout
24583
24584 \end_inset
24585 </cell>
24586 <cell alignment="left" valignment="top" usebox="none">
24587 \begin_inset Text
24588
24589 \begin_layout Plain Layout
24590 jurabib
24591 \end_layout
24592
24593 \end_inset
24594 </cell>
24595 <cell alignment="left" valignment="top" usebox="none">
24596 \begin_inset Text
24597
24598 \begin_layout Plain Layout
24599 multicol
24600 \end_layout
24601
24602 \end_inset
24603 </cell>
24604 <cell alignment="center" valignment="top" usebox="none">
24605 \begin_inset Text
24606
24607 \begin_layout Plain Layout
24608 refstyle
24609 \end_layout
24610
24611 \end_inset
24612 </cell>
24613 <cell alignment="center" valignment="top" usebox="none">
24614 \begin_inset Text
24615
24616 \begin_layout Plain Layout
24617 textcomp
24618 \end_layout
24619
24620 \end_inset
24621 </cell>
24622 <cell alignment="center" valignment="top" usebox="none">
24623 \begin_inset Text
24624
24625 \begin_layout Plain Layout
24626 varioref
24627 \end_layout
24628
24629 \end_inset
24630 </cell>
24631 <cell alignment="center" valignment="top" usebox="none">
24632 \begin_inset Text
24633
24634 \begin_layout Plain Layout
24635
24636 \end_layout
24637
24638 \end_inset
24639 </cell>
24640 </row>
24641 <row>
24642 <cell alignment="center" valignment="top" usebox="none">
24643 \begin_inset Text
24644
24645 \begin_layout Plain Layout
24646 bm
24647 \end_layout
24648
24649 \end_inset
24650 </cell>
24651 <cell alignment="center" valignment="top" usebox="none">
24652 \begin_inset Text
24653
24654 \begin_layout Plain Layout
24655 fancybox
24656 \end_layout
24657
24658 \end_inset
24659 </cell>
24660 <cell alignment="center" valignment="top" usebox="none">
24661 \begin_inset Text
24662
24663 \begin_layout Plain Layout
24664 latexsym
24665 \end_layout
24666
24667 \end_inset
24668 </cell>
24669 <cell alignment="center" valignment="top" usebox="none">
24670 \begin_inset Text
24671
24672 \begin_layout Plain Layout
24673 multirow
24674 \end_layout
24675
24676 \end_inset
24677 </cell>
24678 <cell alignment="center" valignment="top" usebox="none">
24679 \begin_inset Text
24680
24681 \begin_layout Plain Layout
24682 rotating
24683 \end_layout
24684
24685 \end_inset
24686 </cell>
24687 <cell alignment="center" valignment="top" usebox="none">
24688 \begin_inset Text
24689
24690 \begin_layout Plain Layout
24691 textgreek
24692 \end_layout
24693
24694 \end_inset
24695 </cell>
24696 <cell alignment="center" valignment="top" usebox="none">
24697 \begin_inset Text
24698
24699 \begin_layout Plain Layout
24700 verbatim
24701 \end_layout
24702
24703 \end_inset
24704 </cell>
24705 <cell alignment="center" valignment="top" usebox="none">
24706 \begin_inset Text
24707
24708 \begin_layout Plain Layout
24709
24710 \end_layout
24711
24712 \end_inset
24713 </cell>
24714 </row>
24715 </lyxtabular>
24716
24717 \end_inset
24718
24719
24720 \end_layout
24721
24722 \begin_layout Chapter
24723 レイアウトで使用できる色名
24724 \begin_inset CommandInset label
24725 LatexCommand label
24726 name "chap:色名"
24727
24728 \end_inset
24729
24730
24731 \end_layout
24732
24733 \begin_layout Standard
24734 ここに列挙されている色は標準色であり,\SpecialChar LyX
24735 設定で調整できるものです.
24736 \end_layout
24737
24738 \begin_layout Section
24739
24740 \lang english
24741 Color functions
24742 \end_layout
24743
24744 \begin_layout Standard
24745
24746 \lang english
24747 The following are no real colors, but rather act on color definitions:
24748 \end_layout
24749
24750 \begin_layout Description
24751 ignore この色を無視します
24752 \end_layout
24753
24754 \begin_layout Description
24755 inherit この色を継承します
24756 \end_layout
24757
24758 \begin_layout Description
24759 none
24760 \series medium
24761  
24762 \series default
24763 特定の色ではありません – 透明か既定色です
24764 \end_layout
24765
24766 \begin_layout Section
24767
24768 \lang english
24769 Static colors
24770 \end_layout
24771
24772 \begin_layout Standard
24773
24774 \lang english
24775 These are fixed colors that cannot me customized:
24776 \end_layout
24777
24778 \begin_layout Description
24779 black
24780 \end_layout
24781
24782 \begin_layout Description
24783 white
24784 \end_layout
24785
24786 \begin_layout Description
24787 blue
24788 \end_layout
24789
24790 \begin_layout Description
24791 brown
24792 \end_layout
24793
24794 \begin_layout Description
24795 cyan
24796 \end_layout
24797
24798 \begin_layout Description
24799 darkgray
24800 \end_layout
24801
24802 \begin_layout Description
24803 gray
24804 \end_layout
24805
24806 \begin_layout Description
24807 green
24808 \end_layout
24809
24810 \begin_layout Description
24811 lightgray
24812 \end_layout
24813
24814 \begin_layout Description
24815 lime
24816 \end_layout
24817
24818 \begin_layout Description
24819 magenta
24820 \end_layout
24821
24822 \begin_layout Description
24823 olive
24824 \end_layout
24825
24826 \begin_layout Description
24827 orange
24828 \end_layout
24829
24830 \begin_layout Description
24831 pink
24832 \end_layout
24833
24834 \begin_layout Description
24835 purple
24836 \end_layout
24837
24838 \begin_layout Description
24839 red
24840 \end_layout
24841
24842 \begin_layout Description
24843 teal
24844 \end_layout
24845
24846 \begin_layout Description
24847 violet
24848 \end_layout
24849
24850 \begin_layout Description
24851 yellow
24852 \end_layout
24853
24854 \begin_layout Section
24855
24856 \lang english
24857 Dynamic colors
24858 \end_layout
24859
24860 \begin_layout Standard
24861
24862 \lang english
24863 These are the colors allocated to specific elements in
24864 \lang japanese
24865
24866 \begin_inset Flex MenuItem
24867 status collapsed
24868
24869 \begin_layout Plain Layout
24870 ツール\SpecialChar menuseparator
24871 設定
24872 \end_layout
24873
24874 \end_inset
24875
24876 :
24877 \end_layout
24878
24879 \begin_layout Description
24880 added_space 空白マーカ色
24881 \end_layout
24882
24883 \begin_layout Description
24884 addedtext 追加された文章色
24885 \end_layout
24886
24887 \begin_layout Description
24888 appendix 付録マーカ色
24889 \end_layout
24890
24891 \begin_layout Description
24892 background 背景色
24893 \end_layout
24894
24895 \begin_layout Description
24896 bottomarea 下部領域色
24897 \end_layout
24898
24899 \begin_layout Description
24900 branchlabel 派生枝ラベル色
24901 \end_layout
24902
24903 \begin_layout Description
24904 buttonbg ボタンの背景色
24905 \end_layout
24906
24907 \begin_layout Description
24908 buttonframe 差込枠の縁色
24909 \end_layout
24910
24911 \begin_layout Description
24912 buttonhoverbg フォーカスを得ているボタンの背景色
24913 \end_layout
24914
24915 \begin_layout Description
24916 changebar 変更バー色
24917 \end_layout
24918
24919 \begin_layout Description
24920 changedtextauthor1 変更された文章:第1著者の色
24921 \end_layout
24922
24923 \begin_layout Description
24924 changedtextauthor2 変更された文章:第2著者の色
24925 \end_layout
24926
24927 \begin_layout Description
24928 changedtextauthor3 変更された文章:第3著者の色
24929 \end_layout
24930
24931 \begin_layout Description
24932 changedtextauthor4 変更された文章:第4著者の色
24933 \end_layout
24934
24935 \begin_layout Description
24936 changedtextauthor5 変更された文章:第5著者の色
24937 \end_layout
24938
24939 \begin_layout Description
24940 collapsibletext 畳み込み可能枠の文字色
24941 \end_layout
24942
24943 \begin_layout Description
24944 collapsibleframe 畳み込み可能枠の縁色
24945 \end_layout
24946
24947 \begin_layout Description
24948 command コマンド差込枠の文字色
24949 \end_layout
24950
24951 \begin_layout Description
24952 commandbg コマンド差込枠の背景色
24953 \end_layout
24954
24955 \begin_layout Description
24956 commandframe コマンド差込枠の縁色
24957 \end_layout
24958
24959 \begin_layout Description
24960 comment コメント色
24961 \end_layout
24962
24963 \begin_layout Description
24964 commentbg コメントの背景色
24965 \end_layout
24966
24967 \begin_layout Description
24968 cursor カーソル色
24969 \end_layout
24970
24971 \begin_layout Description
24972 deletedtext 削除された文章の色
24973 \end_layout
24974
24975 \begin_layout Description
24976 deletedtextmodifier 削除された文章の修飾子の色
24977 \end_layout
24978
24979 \begin_layout Description
24980 depthbar 余白部の階層表示線の色
24981 \end_layout
24982
24983 \begin_layout Description
24984 eolmarker 行末標色
24985 \end_layout
24986
24987 \begin_layout Description
24988 error \SpecialChar LaTeX
24989 エラーボックス色
24990 \end_layout
24991
24992 \begin_layout Description
24993 footlabel 脚註ラベル色
24994 \end_layout
24995
24996 \begin_layout Description
24997 foreground 
24998 \lang english
24999 Foreground color
25000 \end_layout
25001
25002 \begin_layout Description
25003 graphicsbg 画像差込枠の背景色
25004 \end_layout
25005
25006 \begin_layout Description
25007 greyedoutbg 淡色表示差込枠の背景色
25008 \end_layout
25009
25010 \begin_layout Description
25011 greyedoutlabel 淡色表示差込枠のラベル色
25012 \end_layout
25013
25014 \begin_layout Description
25015 greyedouttext 淡色表示差込枠の文字色
25016 \end_layout
25017
25018 \begin_layout Description
25019 indexlabel 索引差込枠のラベル色
25020 \end_layout
25021
25022 \begin_layout Description
25023 inlinecompletion 行内補完色
25024 \end_layout
25025
25026 \begin_layout Description
25027 insetbg 差込枠標の背景色
25028 \end_layout
25029
25030 \begin_layout Description
25031 insetframe 差込枠標の縁色
25032 \end_layout
25033
25034 \begin_layout Description
25035 language 外国語の単語を標識するための色
25036 \end_layout
25037
25038 \begin_layout Description
25039 latex \SpecialChar LaTeX
25040 モードの文字色
25041 \end_layout
25042
25043 \begin_layout Description
25044 listingsbg プログラムリスト差込枠の背景色
25045 \end_layout
25046
25047 \begin_layout Description
25048 marginlabel 傍註のラベル色
25049 \end_layout
25050
25051 \begin_layout Description
25052 math 数式差込枠の文字色
25053 \end_layout
25054
25055 \begin_layout Description
25056 mathbg 数式差込枠の背景色
25057 \end_layout
25058
25059 \begin_layout Description
25060 mathcorners フォーカスを得ていない数式差込枠の縁色
25061 \end_layout
25062
25063 \begin_layout Description
25064 mathframe フォーカスを得ている数式差込枠の縁色
25065 \end_layout
25066
25067 \begin_layout Description
25068 mathline 数式行色
25069 \end_layout
25070
25071 \begin_layout Description
25072 mathmacrobg 数式マクロ差込枠の背景色
25073 \end_layout
25074
25075 \begin_layout Description
25076 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
25077 \end_layout
25078
25079 \begin_layout Description
25080 mathmacroframe 数式マクロ差込枠の縁色
25081 \end_layout
25082
25083 \begin_layout Description
25084 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
25085 \end_layout
25086
25087 \begin_layout Description
25088 mathmacrolabel 数式マクロ差込枠のラベル色
25089 \end_layout
25090
25091 \begin_layout Description
25092 mathmacronewarg 数式マクロ新パラメーターのひな型色
25093 \end_layout
25094
25095 \begin_layout Description
25096 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
25097 \end_layout
25098
25099 \begin_layout Description
25100 newpage 新規頁色
25101 \end_layout
25102
25103 \begin_layout Description
25104 nonunique_inlinecompletion 行内補完の一意でない部分の色
25105 \end_layout
25106
25107 \begin_layout Description
25108 note 註釈のラベル色
25109 \end_layout
25110
25111 \begin_layout Description
25112 notebg 註釈の背景色
25113 \end_layout
25114
25115 \begin_layout Description
25116 pagebreak 改頁/改行色
25117 \end_layout
25118
25119 \begin_layout Description
25120 paragraphmarker 段落末を標識するための段落標の色
25121 \end_layout
25122
25123 \begin_layout Description
25124 phantomtext 埋め草差込枠の文字色
25125 \end_layout
25126
25127 \begin_layout Description
25128 preview プレビューに用いられる色
25129 \end_layout
25130
25131 \begin_layout Description
25132 previewframe プレビュー縁色
25133 \end_layout
25134
25135 \begin_layout Description
25136 regexpframe 正規表現枠の色
25137 \end_layout
25138
25139 \begin_layout Description
25140 scroll 
25141 \lang english
25142 Color that indicates when a row can be scrolled
25143 \end_layout
25144
25145 \begin_layout Description
25146 selection 文章選択部の背景色
25147 \end_layout
25148
25149 \begin_layout Description
25150 selectiontext 文章選択部の前景色
25151 \end_layout
25152
25153 \begin_layout Description
25154 shadedbg 影付きボックスの背景色
25155 \end_layout
25156
25157 \begin_layout Description
25158 special 特殊文字の色
25159 \end_layout
25160
25161 \begin_layout Description
25162 tabularline 罫線色
25163 \end_layout
25164
25165 \begin_layout Description
25166 tabularonoffline 罫線色
25167 \end_layout
25168
25169 \begin_layout Description
25170 urllabel URL差込枠のラベル色
25171 \end_layout
25172
25173 \begin_layout Description
25174 urltext URL差込枠の文字色
25175 \end_layout
25176
25177 \end_body
25178 \end_document