]> git.lyx.org Git - lyx.git/blob - lib/doc/ja/Additional.lyx
Remove absolute path
[lyx.git] / lib / doc / ja / Additional.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 615
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 the manual prints
12 % out as advertised. If you mess with this preamble,
13 % parts of the manual 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 are numbered roman
19 % and a PDF-bookmark for the TOC is added
20 \pagenumbering{roman}
21 \let\myTOC\tableofcontents
22 \renewcommand{\tableofcontents}{%
23  \pdfbookmark[1]{\contentsname}{}
24  \myTOC
25  \cleardoublepage
26  \pagenumbering{arabic}}
27
28 % extra space for tables
29 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
30
31 % Improve line breaking
32 \tolerance 1414
33 \hbadness 1414
34 \emergencystretch 1.5em
35 \hfuzz 0.3pt
36
37 % additional setting for Japanese manual
38 \IfFileExists{pxjahyper.sty}
39 {\usepackage{pxjahyper}}
40
41 \usepackage{t1enc}
42 \end_preamble
43 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,bookmarkpackage=false
44 \use_default_options false
45 \begin_modules
46 logicalmkup
47 theorems-ams
48 theorems-ams-extended
49 multicol
50 shapepar
51 graphicboxes
52 enumitem
53 hanging
54 initials
55 ruby
56 \end_modules
57 \maintain_unincluded_children no
58 \begin_local_layout
59 #Format 35
60 #InsetLayout            Flex:MenuItem
61 #LyxType                charstyle
62 #LabelString           menu
63 #LatexType             command
64 #LatexName             menuitem
65 #Font
66 #Family              Sans
67 #Series              Bold
68 #EndFont
69 #Preamble
70 #\newcommand*{\menuitem}[1]{{\sffamily #1}}
71 #EndPreamble
72 #End
73 InsetLayout Flex:圏点
74   LyxType       charstyle
75   LatexType     command
76   LatexName     kenten
77   HTMLTag       kenten
78   HTMLAttr      ""
79   HTMLInnerTag  kt
80   HTMLInnerAttr ""
81   BgColor       none
82   LabelString   "圏点"
83   Decoration    Conglomerate
84   Preamble
85     \usepackage{pxrubrica}
86   EndPreamble
87   Argument  post:1
88     LabelString  "Kenten option"
89     MenuString  "圏点オプション"
90     Tooltip    "Emphasize Chinese characters."
91     Decoration  Conglomerate
92     Font
93       Size    tiny
94     EndFont
95     LabelFont
96       Size    tiny
97     EndFont
98     Mandatory  0
99   EndArgument
100 End
101 \end_local_layout
102 \language japanese
103 \language_package default
104 \inputencoding utf8
105 \fontencoding auto
106 \font_roman "lmodern" "IPAexMincho"
107 \font_sans "default" "IPAexGothic"
108 \font_typewriter "default" "IPAGothic"
109 \font_math "auto" "auto"
110 \font_default_family default
111 \use_non_tex_fonts false
112 \font_sc false
113 \font_roman_osf false
114 \font_sans_osf false
115 \font_typewriter_osf false
116 \font_sf_scale 100 100
117 \font_tt_scale 100 100
118 \use_microtype false
119 \use_dash_ligatures false
120 \graphics default
121 \default_output_format default
122 \output_sync 1
123 \output_sync_macro "\synctex=1"
124 \bibtex_command default
125 \index_command default
126 \float_placement class
127 \float_alignment class
128 \paperfontsize 12
129 \spacing onehalf
130 \use_hyperref true
131 \pdf_title "LyX's Additional Features manual"
132 \pdf_author "LyX Team"
133 \pdf_subject "LyX's additional features documentation"
134 \pdf_keywords "LyX, Documentation, Additional"
135 \pdf_bookmarks false
136 \pdf_bookmarksnumbered true
137 \pdf_bookmarksopen false
138 \pdf_bookmarksopenlevel 1
139 \pdf_breaklinks false
140 \pdf_pdfborder false
141 \pdf_colorlinks true
142 \pdf_backref false
143 \pdf_pdfusetitle false
144 \pdf_quoted_options "pdfencoding=pdfdoc, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
145 \papersize default
146 \use_geometry false
147 \use_package amsmath 1
148 \use_package amssymb 1
149 \use_package cancel 1
150 \use_package esint 1
151 \use_package mathdots 1
152 \use_package mathtools 1
153 \use_package mhchem 1
154 \use_package stackrel 1
155 \use_package stmaryrd 1
156 \use_package undertilde 1
157 \cite_engine basic
158 \cite_engine_type default
159 \biblio_style plain
160 \use_bibtopic false
161 \use_indices false
162 \paperorientation portrait
163 \suppress_date false
164 \justification true
165 \use_refstyle 0
166 \use_minted 0
167 \use_lineno 0
168 \notefontcolor #0000ff
169 \index 索引
170 \shortcut idx
171 \color #008000
172 \end_index
173 \secnumdepth 3
174 \tocdepth 3
175 \paragraph_separation indent
176 \paragraph_indentation default
177 \is_math_indent 1
178 \math_indentation default
179 \math_numbering_side default
180 \quotes_style english
181 \dynamic_quotes 0
182 \papercolumns 1
183 \papersides 2
184 \paperpagestyle headings
185 \tablestyle default
186 \tracking_changes false
187 \output_changes false
188 \change_bars false
189 \postpone_fragile_content false
190 \html_math_output 0
191 \html_css_as_file 0
192 \html_be_strict true
193 \docbook_table_output 0
194 \docbook_mathml_prefix 1
195 \end_header
196
197 \begin_body
198
199 \begin_layout Title
200 \SpecialChar LyX
201 の高度な機能
202 \begin_inset Newline newline
203 \end_inset
204
205
206 \size large
207 第2.4.x版
208 \end_layout
209
210 \begin_layout Author
211 \SpecialChar LyX
212 プロジェクトチーム
213 \begin_inset Foot
214 status collapsed
215
216 \begin_layout Plain Layout
217 このファイルは主にRichard Kimberly Heckによって管理されています.コメントをされたい場合や誤りを発見された場合には,
218 \SpecialChar LyX
219 文書化メーリングリスト
220 \begin_inset Flex Code
221 status open
222
223 \begin_layout Plain Layout
224
225 \family typewriter
226 <lyx-docs@lists.lyx.org>
227 \end_layout
228
229 \end_inset
230
231 に英文にてお知らせ下さい.この文書の翻訳は,
232 当初人見光太郎氏が行った貢献に基づいています.
233 \end_layout
234
235 \end_inset
236
237  
238 \end_layout
239
240 \begin_layout Standard
241 \begin_inset CommandInset toc
242 LatexCommand tableofcontents
243
244 \end_inset
245
246
247 \end_layout
248
249 \begin_layout Chapter
250 はじめに
251 \end_layout
252
253 \begin_layout Standard
254 いまお読みの取扱説明書『\SpecialChar LyX
255 拡張機能篇』は,
256 基本的には『ユーザーの手引き』の第二部です.これらの文書を別部とした理由は,
257 単純に『ユーザーの手引き』がすでに大部となっていることと,
258 『ユーザーの手引き』が,
259 ほとんどの文書を作成する上で必要な基本機能をすべて説明してしまっているためです.一方で,
260 \SpecialChar LyX
261 プロジェクトチームは,
262 \SpecialChar LyX
263 を各設定ファイルと外部パッケージによって拡張可能な状態にしておくことを長期的な目標にしています.つまり,
264 ある\SpecialChar LaTeX
265 パッケージをサポートしたい場合に,
266 \SpecialChar LyX
267 自身に変更を加えることなく,
268 当該パッケージ用のレイアウトファイル(ないしモジュール)を作成すればいいようにしているのです.すでにこのような形で,
269 いくつもの新機能がユーザーによって追加されています.この取扱説明書は,
270 そのような形での貢献を文書化する冊子として位置付けられています.
271 \end_layout
272
273 \begin_layout Standard
274 この取扱説明書では,
275 ファックスのサポート・バージョン管理のような,
276 正しく機能するためには追加的なソフトウェアを必要とする特殊機能についても説明しています.さらに,
277 \SpecialChar LaTeX
278 の強力な機能を直接使って文書を美しく仕上げるための,
279 \SpecialChar LaTeX
280 ツールやテクニックを述べた章も収録しています.つきつめれば,
281 \SpecialChar LyX
282 とはあくまでWYSIWYMたることを企図しているため,
283 \SpecialChar LaTeX
284 の全機能の一部へのインタフェースは用意するものの,
285 すべてを用意することはないでしょう.
286 \end_layout
287
288 \begin_layout Standard
289 もし,
290 まだ『はじめの一歩』をお読みでなかったら,
291 この取扱説明書から読みはじめるのは誤りです.『はじめの一歩』には,
292 全取扱説明書に共通の表記法と書式が説明されていますので,
293 まずそれからお読みください.さらに,
294 この取扱説明書を読もうとする前に,
295 『ユーザーの手引き』をよくお読みになって,
296 \SpecialChar LyX
297 の全基本機能を習得してください.
298 \end_layout
299
300 \begin_layout Standard
301 この取扱説明書の取り上げられている話題は,
302 \SpecialChar LyX
303 が\SpecialChar LaTeX
304 にどう関わっているかに強く関係していますので,
305 まず次章では,
306 \SpecialChar LyX
307 の内部動作がどうなっているか,
308 LyXに希望する\SpecialChar LaTeX
309 コードを正確に生成させるにはどうしたらいいかを収録しています.本章は,
310 あきらかに熟練\SpecialChar LyX
311 ユーザー向けの章となっています.
312 \end_layout
313
314 \begin_layout Chapter
315 \SpecialChar LyX
316 と\SpecialChar LaTeX
317
318 \end_layout
319
320 \begin_layout Section
321 \SpecialChar LyX
322 は\SpecialChar LaTeX
323 をどう使っているか
324 \end_layout
325
326 \begin_layout Standard
327 本章
328 \family roman
329 \series medium
330 \shape up
331 \size normal
332 \emph off
333 \bar no
334 \noun off
335 \color none
336 は,
337 \SpecialChar TeX
338 熟練者と\SpecialChar LaTeX
339 に興味のある方向けの章です.ここでは,
340 \SpecialChar LyX
341 と\SpecialChar LaTeX
342 が,
343 印刷可能な出力を生成するのに,
344 どのように協働しているのかを説明します.全取扱説明書中で本章だけは,
345 \SpecialChar LaTeX
346 のことを多少なりともご存知であることを前提とします.
347 \end_layout
348
349 \begin_layout Standard
350
351 \family roman
352 \series medium
353 \shape up
354 \size normal
355 \emph off
356 \bar no
357 \noun off
358 \color none
359 かつて\SpecialChar LyX
360 は,
361 「\SpecialChar LaTeX
362
363 \family default
364 \series default
365 \shape default
366 \size default
367 \emph default
368 \bar default
369 \noun default
370 \color inherit
371 WYSIWYM
372 \family roman
373 \series medium
374 \shape up
375 \size normal
376 \emph off
377 \bar no
378 \noun off
379 \color none
380 なフロントエンド」と呼ばれていましたが,
381 いまではこれは正しくありません.\SpecialChar LaTeX
382 のフロントエンドは,
383 いくつも出回っています
384 \begin_inset Foot
385 status collapsed
386
387 \begin_layout Plain Layout
388
389 \family roman
390 \series medium
391 \shape up
392 \size normal
393 \emph off
394 \bar no
395 \noun off
396 \color none
397 有名なものとしては,
398 Linux上の\SpecialChar TeX
399 makerとkile,
400 OSX上の\SpecialChar TeX
401 shopなどがあります.もちろんviとemacsの\SpecialChar LaTeX
402 モードも含まれます.
403 \end_layout
404
405 \end_inset
406
407 .これらは,
408 基本的に\SpecialChar LaTeX
409 を走らせる機能を有し,
410 編集中のファイルのエラーを表示する機能を持ったテキストエディタです.\SpecialChar LyX
411 も,
412 エディタであり,
413 \SpecialChar LaTeX
414 を走らせる機能を有し,
415 ファイル中のエラーを指摘しますが,
416 それ以上にもっともっと多くのことをしてくれます.
417 \family default
418 \series default
419 \shape default
420 \size default
421 \emph default
422 \bar default
423 \noun default
424 \color inherit
425 ひとつには,
426
427 \family roman
428 \series medium
429 \shape up
430 \size normal
431 \emph off
432 \bar no
433 \noun off
434 \color none
435 \SpecialChar LyX
436 を効果的に使うのに,
437 \SpecialChar LaTeX
438 の知識が必要とされないことが挙げられます.また\SpecialChar LyX
439 は,
440 それ自身,
441 いくつかの拡張を\SpecialChar LaTeX
442 に加えています.時間のあるときにでも,
443 いちど以下の手順を試してみてください.まず
444 \family sans
445 \series default
446 \shape default
447 \size default
448 \emph default
449 \bar default
450 \noun default
451 \color inherit
452
453 \begin_inset space \thinspace{}
454 \end_inset
455
456 ファイル
457 \begin_inset space \thinspace{}
458 \end_inset
459
460
461 \family roman
462 \series medium
463 \shape up
464 \size normal
465 \emph off
466 \bar no
467 \noun off
468 \color none
469 メニューから
470 \family sans
471 \series default
472 \shape default
473 \size default
474 \emph default
475 \bar default
476 \noun default
477 \color inherit
478
479 \begin_inset space \thinspace{}
480 \end_inset
481
482 エクスポート\SpecialChar menuseparator
483 LaTeX
484 \family roman
485 \series medium
486 \shape up
487 \size normal
488 \emph off
489 \bar no
490 \noun off
491 \color none
492 (あるいは
493 \family sans
494 \series default
495 \shape default
496 \size default
497 \emph default
498 \bar default
499 \noun default
500 \color inherit
501 表示\SpecialChar menuseparator
502 ソースを閲覧
503 \family roman
504 \series medium
505 \shape up
506 \size normal
507 \emph off
508 \bar no
509 \noun off
510 \color none
511 )を選択し,
512 そこから出力される
513 \begin_inset Flex Code
514 status collapsed
515
516 \begin_layout Plain Layout
517
518 \family typewriter
519 .tex
520 \end_layout
521
522 \end_inset
523
524 ファイルのプリアンブルをご覧ください.\SpecialChar LyX
525 によって特別に定義された新しいマクロが複数定義されていることに気づかれるはずです
526 \family default
527 \series default
528 \shape default
529 \size default
530 \emph default
531 \bar default
532 \noun default
533 \color inherit
534 .これらのマクロは,
535 文書中で使用する機能に応じて,
536 自動的に定義されます.
537 \end_layout
538
539 \begin_layout Standard
540
541 \family roman
542 \series medium
543 \shape up
544 \size normal
545 \emph off
546 \bar no
547 \noun off
548 \color none
549 自動的に\SpecialChar LaTeX
550 を実行するコマンドが,
551 以下のようにいくつかあります.
552 \end_layout
553
554 \begin_layout Itemize
555
556 \family sans
557 表示\SpecialChar menuseparator
558 書式
559 \end_layout
560
561 \begin_layout Itemize
562
563 \family sans
564 表示\SpecialChar menuseparator
565 更新\SpecialChar menuseparator
566 書式
567 \end_layout
568
569 \begin_layout Standard
570
571 \family roman
572 \series medium
573 \shape up
574 \size normal
575 \emph off
576 \bar no
577 \noun off
578 \color none
579 これらは,
580 最後に\SpecialChar LaTeX
581 を実行してからファイルに変更が加えられた場合のみ,
582 \SpecialChar LaTeX
583 を実行します.
584 \end_layout
585
586 \begin_layout Standard
587
588 \family roman
589 \series medium
590 \shape up
591 \size normal
592 \emph off
593 \bar no
594 \noun off
595 \color none
596 \SpecialChar LyX
597 が編集中のファイルを\SpecialChar LaTeX
598 にかけるとき,
599 \SpecialChar LyX
600 は以下の段階をふみます.
601 \end_layout
602
603 \begin_layout Enumerate
604
605 \family roman
606 \series medium
607 \shape up
608 \size normal
609 \emph off
610 \bar no
611 \noun off
612 \color none
613 文書を\SpecialChar LaTeX
614 に変換し,
615 ファイルの拡張子を
616 \begin_inset Flex Code
617 status collapsed
618
619 \begin_layout Plain Layout
620
621 \family roman
622 \series medium
623 \shape up
624 \size normal
625 \emph off
626 \bar no
627 \noun off
628 \color none
629 .lyx
630 \end_layout
631
632 \end_inset
633
634 から
635 \begin_inset Flex Code
636 status collapsed
637
638 \begin_layout Plain Layout
639
640 \family roman
641 \series medium
642 \shape up
643 \size normal
644 \emph off
645 \bar no
646 \noun off
647 \color none
648 .tex
649 \end_layout
650
651 \end_inset
652
653 に変えて保存.
654 \end_layout
655
656 \begin_layout Enumerate
657
658 \family roman
659 \series medium
660 \shape up
661 \size normal
662 \emph off
663 \bar no
664 \noun off
665 \color none
666 この
667 \begin_inset Flex Code
668 status collapsed
669
670 \begin_layout Plain Layout
671
672 \family roman
673 \series medium
674 \shape up
675 \size normal
676 \emph off
677 \bar no
678 \noun off
679 \color none
680 .tex
681 \end_layout
682
683 \end_inset
684
685 ファイルに対して(必要に応じて複数回)\SpecialChar LaTeX
686 を実行し,
687 \SpecialChar LaTeX
688 ファイルをコンパイルするのに必要な他のコマンド(
689 \begin_inset Flex Code
690 status collapsed
691
692 \begin_layout Plain Layout
693
694 \family roman
695 \series medium
696 \shape up
697 \size normal
698 \emph off
699 \bar no
700 \noun off
701 \color none
702 bibtex
703 \end_layout
704
705 \end_inset
706
707
708 \begin_inset Flex Code
709 status collapsed
710
711 \begin_layout Plain Layout
712
713 \family roman
714 \series medium
715 \shape up
716 \size normal
717 \emph off
718 \bar no
719 \noun off
720 \color none
721 makeindex
722 \end_layout
723
724 \end_inset
725
726 など)を実行..
727 \end_layout
728
729 \begin_layout Enumerate
730
731 \family roman
732 \series medium
733 \shape up
734 \size normal
735 \emph off
736 \bar no
737 \noun off
738 \color none
739 もしエラーがあれば,
740 エラーログを表示.
741 \end_layout
742
743 \begin_layout Standard
744
745 \family roman
746 \series medium
747 \shape up
748 \size normal
749 \emph off
750 \bar no
751 \noun off
752 \color none
753 \SpecialChar LaTeX
754
755 \family sans
756 \series default
757 \shape default
758 \size default
759 \emph default
760 \bar default
761 \noun default
762 \color inherit
763 表示\SpecialChar menuseparator
764 DVI
765 \family roman
766 \series medium
767 \shape up
768 \size normal
769 \emph off
770 \bar no
771 \noun off
772 \color none
773 を使用して実行した場合には,
774 \SpecialChar LyX
775 はこの後,
776 DVIビューアを実行してDVIファイルを表示します.
777 \family sans
778 \series default
779 \shape default
780 \size default
781 \emph default
782 \bar default
783 \noun default
784 \color inherit
785 表示\SpecialChar menuseparator
786 PostScript
787 \family roman
788 \series medium
789 \shape up
790 \size normal
791 \emph off
792 \bar no
793 \noun off
794 \color none
795 を使用した場合には,
796 \SpecialChar LyX
797 はさらに以下の段階をふみます.
798 \end_layout
799
800 \begin_layout Itemize
801
802 \family roman
803 \series medium
804 \shape up
805 \size normal
806 \emph off
807 \bar no
808 \noun off
809 \color none
810 \begin_inset Flex Code
811 status collapsed
812
813 \begin_layout Plain Layout
814
815 \family typewriter
816 dvips
817 \end_layout
818
819 \end_inset
820
821 を実行して,
822
823 \family default
824 \series default
825 \shape default
826 \size default
827 \emph default
828 \bar default
829 \noun default
830 \color inherit
831 DVI
832 \family roman
833 \series medium
834 \shape up
835 \size normal
836 \emph off
837 \bar no
838 \noun off
839 \color none
840 ファイルをPostScript
841 \family default
842 \series default
843 \shape default
844 \size default
845 \emph default
846 \bar default
847 \noun default
848 \color inherit
849 に変換.
850 \end_layout
851
852 \begin_layout Itemize
853
854 \family roman
855 \series medium
856 \shape up
857 \size normal
858 \emph off
859 \bar no
860 \noun off
861 \color none
862 \begin_inset Flex Code
863 status collapsed
864
865 \begin_layout Plain Layout
866
867 \family typewriter
868 ghostview
869 \end_layout
870
871 \end_inset
872
873 などのPostScriptビューアを実行して,
874 PostScript
875 \family default
876 \series default
877 \shape default
878 \size default
879 \emph default
880 \bar default
881 \noun default
882 \color inherit
883 ファイルを表示.
884 \end_layout
885
886 \begin_layout Standard
887 \SpecialChar LyX
888 は,
889 他の書式を表示したりエクスポートしたりする際にも,
890 同様のことを行います.
891 \end_layout
892
893 \begin_layout Section
894 \SpecialChar LaTeX
895 ファイルを\SpecialChar LyX
896 に読み込む
897 \end_layout
898
899 \begin_layout Standard
900 \SpecialChar LyX
901
902 \family sans
903 ファイル\SpecialChar menuseparator
904 インポート\SpecialChar menuseparator
905 LaTeX
906 \family roman
907 \series medium
908 \shape up
909 \size normal
910 \emph off
911 \bar no
912 \noun off
913 \color none
914 コマンドを使用すると,
915 \SpecialChar LaTeX
916 ファイルを
917 \family default
918 \series default
919 \shape default
920 \size default
921 \emph default
922 \bar default
923 \noun default
924  
925 \family roman
926 \series medium
927 \shape up
928 \size normal
929 \emph off
930 \bar no
931 \noun off
932 \SpecialChar LyX
933 にインポートすることができます.このコマンドは,
934
935 \family typewriter
936 \series default
937 \shape default
938 \size default
939 \emph default
940 \bar default
941 \noun default
942 \color inherit
943
944 \begin_inset Flex Code
945 status collapsed
946
947 \begin_layout Plain Layout
948
949 \family typewriter
950 tex2lyx
951 \end_layout
952
953 \end_inset
954
955
956 \family roman
957 \series medium
958 \shape up
959 \size normal
960 \emph off
961 \bar no
962 \noun off
963 \color none
964 というプログラムを呼び出し,
965
966 \family typewriter
967 \series default
968 \shape default
969 \size default
970 \emph default
971 \bar default
972 \noun default
973 \color inherit
974
975 \begin_inset Flex Code
976 status collapsed
977
978 \begin_layout Plain Layout
979
980 \family typewriter
981 foo.tex
982 \end_layout
983
984 \end_inset
985
986
987 \family default
988 などというファイルから
989 \begin_inset Flex Code
990 status collapsed
991
992 \begin_layout Plain Layout
993
994 \family typewriter
995 foo.lyx
996 \end_layout
997
998 \end_inset
999
1000 を生成します.\SpecialChar LyX
1001 は,
1002 この変換したファイルを開きます
1003 \begin_inset Foot
1004 status collapsed
1005
1006 \begin_layout Plain Layout
1007 \begin_inset Flex Code
1008 status collapsed
1009
1010 \begin_layout Plain Layout
1011 tex2lyx
1012 \end_layout
1013
1014 \end_inset
1015
1016 は,
1017 もちろんコマンドラインから実行することもできます.
1018 \end_layout
1019
1020 \end_inset
1021
1022
1023 \end_layout
1024
1025 \begin_layout Standard
1026
1027 \family typewriter
1028 \begin_inset Flex Code
1029 status collapsed
1030
1031 \begin_layout Plain Layout
1032
1033 \family typewriter
1034 tex2lyx
1035 \end_layout
1036
1037 \end_inset
1038
1039
1040 \family roman
1041 \series medium
1042 \shape up
1043 \size normal
1044 \emph off
1045 \bar no
1046 \noun off
1047 \color none
1048 は,
1049 文法的に正しい\SpecialChar LaTeX
1050 ファイルのほとんどを変換することができますが,
1051 すべてを変換できるわけではありません.
1052 \family typewriter
1053 \series default
1054 \shape default
1055 \size default
1056 \emph default
1057 \bar default
1058 \noun default
1059 \color inherit
1060
1061 \begin_inset Flex Code
1062 status collapsed
1063
1064 \begin_layout Plain Layout
1065
1066 \family typewriter
1067 tex2lyx
1068 \end_layout
1069
1070 \end_inset
1071
1072
1073 \family roman
1074 \series medium
1075 \shape up
1076 \size normal
1077 \emph off
1078 \bar no
1079 \noun off
1080 \color none
1081 は,
1082 理解不能な部分は\SpecialChar TeX
1083 コードボックスの形で残しますので,
1084 ファイルを
1085 \family typewriter
1086 \series default
1087 \shape default
1088 \size default
1089 \emph default
1090 \bar default
1091 \noun default
1092 \color inherit
1093
1094 \begin_inset Flex Code
1095 status collapsed
1096
1097 \begin_layout Plain Layout
1098
1099 \family typewriter
1100 tex2lyx
1101 \end_layout
1102
1103 \end_inset
1104
1105
1106 \family roman
1107 \series medium
1108 \shape up
1109 \size normal
1110 \emph off
1111 \bar no
1112 \noun off
1113 \color none
1114 で変換したのち,
1115 \SpecialChar TeX
1116 コードボックスを探して,
1117 手動で正しく編集してください.
1118 \end_layout
1119
1120 \begin_layout Standard
1121
1122 \family roman
1123 \series medium
1124 \shape up
1125 \size normal
1126 \emph off
1127 \bar no
1128 \noun off
1129 \color none
1130 \SpecialChar TeX
1131 コードボックスがなにかご存じなければ,
1132 次節をお読みください.
1133 \end_layout
1134
1135 \begin_layout Section
1136 \SpecialChar LyX
1137 文書に\SpecialChar TeX
1138 コードを挿入する
1139 \begin_inset CommandInset label
1140 LatexCommand label
1141 name "sec:TeXコードを挿入する"
1142
1143 \end_inset
1144
1145
1146 \end_layout
1147
1148 \begin_layout Standard
1149
1150 \family roman
1151 \series medium
1152 \shape up
1153 \size normal
1154 \emph off
1155 \bar no
1156 \noun off
1157 \color none
1158 どの\SpecialChar LyX
1159 文書にもつねに\SpecialChar TeX
1160 コードを挿入することが可能であるというきわめて単純な理由によって,
1161 \SpecialChar LaTeX
1162 にできることは,
1163 つねに\SpecialChar LyX
1164 でも行うことができます.一方,
1165 \SpecialChar LyX
1166 は,
1167 すべての\SpecialChar LaTeX
1168 構成物を\SpecialChar LyX
1169 内に表示できるわけではなく,
1170 将来的にもそうならないでしょう.かりに\SpecialChar LaTeX
1171 コマンドを\SpecialChar LyX
1172 文書に挿入する必要が出てきた場合には,
1173
1174 \begin_inset Flex Code
1175 status collapsed
1176
1177 \begin_layout Plain Layout
1178
1179 \family roman
1180 \series medium
1181 \shape up
1182 \size normal
1183 \emph off
1184 \bar no
1185 \noun off
1186 \color none
1187 \SpecialChar TeX
1188 コード
1189 \end_layout
1190
1191 \end_inset
1192
1193 ボックスを使用してください.これは,
1194
1195 \family sans
1196 \series default
1197 \shape default
1198 \size default
1199 \emph default
1200 \bar default
1201 \noun default
1202 \color inherit
1203 挿入\SpecialChar menuseparator
1204 TeXコード
1205 \begin_inset space \thinspace{}
1206 \end_inset
1207
1208
1209 \family roman
1210 \series medium
1211 \shape up
1212 \size normal
1213 \emph off
1214 \bar no
1215 \noun off
1216 \color none
1217 若しくは
1218 \family default
1219 \series default
1220 \shape default
1221 \size default
1222 \emph default
1223 \bar default
1224 \noun default
1225 \color inherit
1226 ショートカットキー
1227 \begin_inset Info
1228 type  "shortcut"
1229 arg   "ert-insert"
1230 \end_inset
1231
1232
1233 \family roman
1234 \series medium
1235 \shape up
1236 \size normal
1237 \emph off
1238 \bar no
1239 \noun off
1240 \color none
1241 で,
1242 文書中に挿入することができます.
1243 \end_layout
1244
1245 \begin_layout Standard
1246 以下は,
1247 \SpecialChar LaTeX
1248 コマンドを\SpecialChar LyX
1249 文書中に挿入する例です.コードは以下のようになっているとしましょう.
1250 \end_layout
1251
1252 \begin_layout LyX-Code
1253
1254 \backslash
1255 begin{tabular}{ll}
1256 \begin_inset Newline newline
1257 \end_inset
1258
1259
1260 \backslash
1261 begin{minipage}{5cm}
1262 \begin_inset Newline newline
1263 \end_inset
1264
1265 これは,
1266 ミニページ環境の例です.
1267 \begin_inset Newline newline
1268 \end_inset
1269
1270 これには,
1271
1272 \begin_inset Newline newline
1273 \end_inset
1274
1275 (フロートでない)図表を
1276 \begin_inset Newline newline
1277 \end_inset
1278
1279 含め,
1280 ほとんど何でも
1281 \begin_inset Newline newline
1282 \end_inset
1283
1284 入れることができます. 
1285 \begin_inset Newline newline
1286 \end_inset
1287
1288
1289 \backslash
1290 end{minipage}
1291 \begin_inset Newline newline
1292 \end_inset
1293
1294 &
1295 \begin_inset Newline newline
1296 \end_inset
1297
1298
1299 \backslash
1300 begin{minipage}{5cm}
1301 \begin_inset Newline newline
1302 \end_inset
1303
1304
1305 \backslash
1306 begin{verbatim}
1307 \begin_inset Newline newline
1308 \end_inset
1309
1310
1311 \backslash
1312 begin{minipage}{5cm}
1313 \begin_inset Newline newline
1314 \end_inset
1315
1316 これは...
1317  
1318 \begin_inset Newline newline
1319 \end_inset
1320
1321
1322 \backslash
1323 end{minipage}
1324 \begin_inset Newline newline
1325 \end_inset
1326
1327
1328 \backslash
1329 end{verbatim}
1330 \begin_inset Newline newline
1331 \end_inset
1332
1333
1334 \backslash
1335 end{minipage}
1336 \begin_inset Newline newline
1337 \end_inset
1338
1339
1340 \backslash
1341 end{tabular}
1342 \end_layout
1343
1344 \begin_layout LyX-Code
1345
1346 \end_layout
1347
1348 \begin_layout Standard
1349 上記のテキストを含んだ
1350 \begin_inset Flex Code
1351 status collapsed
1352
1353 \begin_layout Plain Layout
1354 \SpecialChar TeX
1355 コード
1356 \end_layout
1357
1358 \end_inset
1359
1360 ボックスが,
1361 この段落の直後にあります.この取扱説明書を\SpecialChar LyX
1362 上でご覧になっていれば,
1363 \SpecialChar TeX
1364 コード差込枠のみが見えるはずです.印刷した取扱説明書をご覧であれば,
1365 実際の結果が見れるはずです.
1366 \end_layout
1367
1368 \begin_layout Standard
1369 \begin_inset VSpace bigskip
1370 \end_inset
1371
1372
1373 \begin_inset ERT
1374 status open
1375
1376 \begin_layout Plain Layout
1377
1378
1379 \backslash
1380 begin{tabular}{ll}
1381 \end_layout
1382
1383 \begin_layout Plain Layout
1384
1385
1386 \backslash
1387 begin{minipage}{5cm}
1388 \end_layout
1389
1390 \begin_layout Plain Layout
1391
1392 これは,
1393 ミニページ環境の例です.これには,
1394 (フロートでない)図表を含め,
1395 ほとんど何でも入れることができます. 
1396 \backslash
1397 end{minipage}
1398 \end_layout
1399
1400 \begin_layout Plain Layout
1401
1402 &
1403 \end_layout
1404
1405 \begin_layout Plain Layout
1406
1407
1408 \backslash
1409 begin{minipage}{5cm}
1410 \end_layout
1411
1412 \begin_layout Plain Layout
1413
1414
1415 \backslash
1416 begin{verbatim}
1417 \end_layout
1418
1419 \begin_layout Plain Layout
1420
1421
1422 \backslash
1423 begin{minipage}{5cm}
1424 \end_layout
1425
1426 \begin_layout Plain Layout
1427
1428 これは...
1429 \end_layout
1430
1431 \begin_layout Plain Layout
1432
1433
1434 \backslash
1435 end{minipage}
1436 \end_layout
1437
1438 \begin_layout Plain Layout
1439
1440
1441 \backslash
1442 end{verbatim}
1443 \end_layout
1444
1445 \begin_layout Plain Layout
1446
1447
1448 \backslash
1449 end{minipage}
1450 \end_layout
1451
1452 \begin_layout Plain Layout
1453
1454
1455 \backslash
1456 end{tabular}
1457 \end_layout
1458
1459 \end_inset
1460
1461
1462 \begin_inset VSpace bigskip
1463 \end_inset
1464
1465
1466 \end_layout
1467
1468 \begin_layout Standard
1469
1470 \family roman
1471 \series medium
1472 \shape up
1473 \size normal
1474 \emph off
1475 \bar no
1476 \noun off
1477 \color none
1478 \SpecialChar TeX
1479 コードを使用する方法に加えて,
1480 複雑な\SpecialChar LaTeX
1481 コードを含む部分を別ファイルとして作成しておき,
1482 そのファイルをインクルードするのに
1483 \family sans
1484 \series default
1485 \shape default
1486 \size default
1487 \emph default
1488 \bar default
1489 \noun default
1490 \color inherit
1491
1492 \begin_inset space \thinspace{}
1493 \end_inset
1494
1495 挿入\SpecialChar menuseparator
1496 ファイル\SpecialChar menuseparator
1497 子文書
1498 \begin_inset space \thinspace{}
1499 \end_inset
1500
1501
1502 \family roman
1503 \series medium
1504 \shape up
1505 \size normal
1506 \emph off
1507 \bar no
1508 \noun off
1509 \color none
1510 を使用する方法もあります(取り込みの型として
1511 \begin_inset Flex Code
1512 status collapsed
1513
1514 \begin_layout Plain Layout
1515
1516 \family roman
1517 \series medium
1518 \shape up
1519 \size normal
1520 \emph off
1521 \bar no
1522 \noun off
1523 \color none
1524 Input
1525 \end_layout
1526
1527 \end_inset
1528
1529 を選択しなくてはなりません).この方法をとる場合には,
1530 .texファイルが正しく動作することが
1531 \begin_inset Flex 圏点
1532 status open
1533
1534 \begin_layout Plain Layout
1535 確認できている
1536 \end_layout
1537
1538 \end_inset
1539
1540 場合のみに限った方がよいでしょう.さもないと,
1541 \SpecialChar LaTeX
1542 エラーを追跡するたいへんな作業を行わなくてはならなくなります.
1543 \end_layout
1544
1545 \begin_layout Standard
1546
1547 \family roman
1548 \series medium
1549 \shape up
1550 \size normal
1551 \emph off
1552 \bar no
1553 \noun off
1554 \color none
1555 最後に,
1556 いくつか強調しておくべきことがあります.
1557 \end_layout
1558
1559 \begin_layout Itemize
1560
1561 \family roman
1562 \series medium
1563 \shape up
1564 \size normal
1565 \emph off
1566 \bar no
1567 \noun off
1568 \color none
1569 \SpecialChar LyX
1570 は,
1571 あなたの\SpecialChar LaTeX
1572 コードが正しいかどうかを
1573 \family default
1574 \series default
1575 \shape default
1576 \size default
1577 \emph default
1578 \bar default
1579 \noun default
1580 \color inherit
1581 チェック
1582 \begin_inset Flex 圏点
1583 status open
1584
1585 \begin_layout Plain Layout
1586 しません
1587 \end_layout
1588
1589 \end_inset
1590
1591
1592 \family roman
1593 \series medium
1594 \shape up
1595 \size normal
1596 \emph off
1597 \bar no
1598 \noun off
1599 \color none
1600
1601 \end_layout
1602
1603 \begin_layout Itemize
1604
1605 \family roman
1606 \series medium
1607 \shape up
1608 \size normal
1609 \emph off
1610 \bar no
1611 \noun off
1612 \color none
1613 車輪の再発明をしないようにご注意ください.
1614 \end_layout
1615
1616 \begin_layout Standard
1617
1618 \family roman
1619 \series medium
1620 \shape up
1621 \size normal
1622 \emph off
1623 \bar no
1624 \noun off
1625 \color none
1626 二番目の点に関して,
1627 \SpecialChar LyX
1628 はひじょうにたくさんの機能を装備しており,
1629 その数は増えつづけています.ご自身で\SpecialChar LaTeX
1630 コードを書かなくてはならないと思い込む前に,
1631 LyXがこれこれの機能をもっていないことを,
1632 取扱説明書で確実に確かめてください.さらに世の中には,
1633 封筒のラベルから美しい複数ページにわたる表を作るものまで,
1634 ありとあらゆることを行う膨大な数の\SpecialChar LaTeX
1635 パッケージが存在します.
1636 \family default
1637 \series default
1638 \shape default
1639 \size default
1640 \emph default
1641 \bar default
1642 \noun default
1643 \color inherit
1644 詳細については,
1645
1646 \begin_inset CommandInset href
1647 LatexCommand href
1648 name "CTAN"
1649 target "https://www.ctan.org/"
1650 literal "false"
1651
1652 \end_inset
1653
1654
1655 \family roman
1656 \series medium
1657 \shape up
1658 \size normal
1659 \emph off
1660 \bar no
1661 \noun off
1662 \color none
1663 をご覧ください.
1664 \end_layout
1665
1666 \begin_layout Standard
1667
1668 \family roman
1669 \series medium
1670 \shape up
1671 \size normal
1672 \emph off
1673 \bar no
1674 \noun off
1675 \color none
1676 もし,
1677 文書中で例外的に手の込んだことをなさりたければ,
1678 かならず良い\SpecialChar LaTeX
1679 関連書籍を参考とするようにしてください.『
1680 \family default
1681 \series default
1682 \shape default
1683 \size default
1684 \emph default
1685 \bar default
1686 \noun default
1687 \color inherit
1688 ユーザーの手引き
1689 \family roman
1690 \series medium
1691 \shape up
1692 \size normal
1693 \emph off
1694 \bar no
1695 \noun off
1696 \color none
1697 』の書誌情報に多くの\SpecialChar LaTeX
1698 関連書籍が引用されています.
1699 \end_layout
1700
1701 \begin_layout Section
1702 \SpecialChar LyX
1703 と\SpecialChar LaTeX
1704 プリアンブル
1705 \end_layout
1706
1707 \begin_layout Subsection
1708 \SpecialChar LaTeX
1709 プリアンブルについて
1710 \end_layout
1711
1712 \begin_layout Standard
1713
1714 \family roman
1715 \series medium
1716 \shape up
1717 \size normal
1718 \emph off
1719 \bar no
1720 \noun off
1721 \color none
1722 すでに\SpecialChar LaTeX
1723 についてご存知であれば,
1724 ここでプリアンブル(前置文)が何に向いているか説明する必要はないでしょう.もしご存じなければ,
1725 以下の説明で大まかな理解は得られるはずです.詳しくは\SpecialChar LaTeX
1726 関連書籍をご参照ください.いずれにしても,
1727 以下で\SpecialChar LyX
1728 文書の\SpecialChar LaTeX
1729 プリアンブルで何ができるか,
1730 または何をする必要がないか説明をしますので,
1731 以下の各要点はお読みになった方が良いでしょう.
1732 \end_layout
1733
1734 \begin_layout Standard
1735
1736 \family roman
1737 \series medium
1738 \shape up
1739 \size normal
1740 \emph off
1741 \bar no
1742 \noun off
1743 \color none
1744 \SpecialChar LaTeX
1745 プリアンブルは,
1746 \SpecialChar LaTeX
1747 文書のいちばん始め,
1748 本文の
1749 \begin_inset Flex 圏点
1750 status open
1751
1752 \begin_layout Plain Layout
1753
1754 \family roman
1755 \series medium
1756 \shape up
1757 \size normal
1758 \emph off
1759 \bar no
1760 \noun off
1761 \color none
1762
1763 \end_layout
1764
1765 \end_inset
1766
1767 部分に来ます.ここでは以下のことを行います.
1768 \end_layout
1769
1770 \begin_layout Itemize
1771
1772 \family roman
1773 \series medium
1774 \shape up
1775 \size normal
1776 \emph off
1777 \bar no
1778 \noun off
1779 \color none
1780 文書クラス(ドキュメントクラス)の宣言.
1781 \begin_inset Newline newline
1782 \end_inset
1783
1784 これは\SpecialChar LyX
1785 がすでに行ってくれています.もしあなたが熟達した\SpecialChar LaTeX
1786 使いであり,
1787 自作の文書クラスを使いたい場合には,
1788 取扱説明書『
1789 \family default
1790 \series default
1791 \shape default
1792 \size default
1793 \emph default
1794 \bar default
1795 \noun default
1796 \color inherit
1797 カスタマイズ篇
1798 \family roman
1799 \series medium
1800 \shape up
1801 \size normal
1802 \emph off
1803 \bar no
1804 \noun off
1805 \color none
1806 』をご覧になれば,
1807 \SpecialChar LyX
1808 に自作文書クラスへの仲介を行わせるにはどうすればよいかの情報があります.
1809 \end_layout
1810
1811 \begin_layout Itemize
1812
1813 \family roman
1814 \series medium
1815 \shape up
1816 \size normal
1817 \emph off
1818 \bar no
1819 \noun off
1820 \color none
1821 パッケージ使用の宣言.
1822 \begin_inset Newline newline
1823 \end_inset
1824
1825 \SpecialChar LaTeX
1826 パッケージは,
1827 パッケージがプリアンブルで宣言された場合のみ,
1828 文書中で利用可能となる,
1829 追加コマンド群を提供します.パッケージをインクルードすると,
1830 特別なコマンドが提供されることに加え,
1831 文書に変更を加えることができます.例えば
1832 \family typewriter
1833 \series default
1834 \shape default
1835 \size default
1836 \emph default
1837 \bar default
1838 \noun default
1839 \color inherit
1840
1841
1842 \family roman
1843 \series medium
1844 \shape up
1845 \size normal
1846 \emph off
1847 \bar no
1848 \noun off
1849 \color none
1850
1851 \begin_inset Flex Code
1852 status collapsed
1853
1854 \begin_layout Plain Layout
1855
1856 \family typewriter
1857 indentfirst
1858 \end_layout
1859
1860 \end_inset
1861
1862 パッケージは,
1863 すべての段落の最初の行を字下げします.他にも,
1864 ラベルや宛名書き,
1865 余白設定等の様々なパッケージがあります.
1866 \end_layout
1867
1868 \begin_layout Itemize
1869
1870 \family roman
1871 \series medium
1872 \shape up
1873 \size normal
1874 \emph off
1875 \bar no
1876 \noun off
1877 \color none
1878 カウンタ・変数・長さ・幅の設定.
1879 \begin_inset Newline newline
1880 \end_inset
1881
1882 \SpecialChar LaTeX
1883 のカウンタと変数の中には,
1884 プリアンブルでグローバルに
1885 \family default
1886 \series default
1887 \shape default
1888 \size default
1889 \emph default
1890 \bar default
1891 \noun default
1892 \color inherit
1893 設定
1894 \emph on
1895 しないかぎり
1896 \family roman
1897 \series medium
1898 \shape up
1899 \size normal
1900 \emph off
1901 \bar no
1902 \noun off
1903 \color none
1904
1905 望んだ効果を持たないものがあります.(文書中で設定したり再設定したりすることのできる変数もあります.)余白は,
1906 プリアンブルで設定しなくてはならない変数の代表例です.他には,
1907 箇条書きに付けるラベル書式が挙げられます.じつは,
1908 この設定は文書中どこでもできるのですが,
1909 プリアンブルでいちどだけ設定するのが望ましい方法です.
1910 \end_layout
1911
1912 \begin_layout Itemize
1913
1914 \family roman
1915 \series medium
1916 \shape up
1917 \size normal
1918 \emph off
1919 \bar no
1920 \noun off
1921 \color none
1922 ユーザー定義コマンドの宣言(
1923 \begin_inset Flex Code
1924 status collapsed
1925
1926 \begin_layout Plain Layout
1927
1928 \family roman
1929 \series medium
1930 \shape up
1931 \size normal
1932 \emph off
1933 \bar no
1934 \noun off
1935 \color none
1936
1937 \backslash
1938 newcommand
1939 \end_layout
1940
1941 \end_inset
1942
1943 または
1944 \begin_inset Flex Code
1945 status collapsed
1946
1947 \begin_layout Plain Layout
1948
1949 \family roman
1950 \series medium
1951 \shape up
1952 \size normal
1953 \emph off
1954 \bar no
1955 \noun off
1956 \color none
1957
1958 \backslash
1959 renewcommand
1960 \end_layout
1961
1962 \end_inset
1963
1964 を使用).
1965 \begin_inset Newline newline
1966 \end_inset
1967
1968 ユーザー定義コマンドは,
1969 文書中で頻出する\SpecialChar LaTeX
1970 コマンドの短縮形です.このようなコマンドを宣言するには,
1971 プリアンブルが適した場所ですが,
1972 どこで宣言することも
1973 \family default
1974 \series default
1975 \shape default
1976 \size default
1977 \emph on
1978 \bar default
1979 \noun default
1980 \color inherit
1981 可能
1982 \family roman
1983 \series medium
1984 \shape up
1985 \size normal
1986 \emph off
1987 \bar no
1988 \noun off
1989 \color none
1990 です(もちろんコマンドが初めて使用される場所よりも前です).あまりないことではありますが,
1991 お使いの文書中に生の\SpecialChar LaTeX
1992 コードがあふれている場合には便利でしょう.
1993 \end_layout
1994
1995 \begin_layout Standard
1996
1997 \family roman
1998 \series medium
1999 \shape up
2000 \size normal
2001 \emph off
2002 \bar no
2003 \noun off
2004 \color none
2005 \SpecialChar LyX
2006 は,
2007 その生成する
2008 \begin_inset Flex Code
2009 status collapsed
2010
2011 \begin_layout Plain Layout
2012
2013 \family roman
2014 \series medium
2015 \shape up
2016 \size normal
2017 \emph off
2018 \bar no
2019 \noun off
2020 \color none
2021 .tex
2022 \end_layout
2023
2024 \end_inset
2025
2026 ファイルのプリアンブルに,
2027 それ自身の定義を追加します.これによって,
2028 \SpecialChar LyX
2029 の生成する\SpecialChar LaTeX
2030 ファイルの可搬性を高めています.
2031 \end_layout
2032
2033 \begin_layout Subsection
2034 プリアンブルの変更
2035 \end_layout
2036
2037 \begin_layout Standard
2038
2039 \family roman
2040 \series medium
2041 \shape up
2042 \size normal
2043 \emph off
2044 \bar no
2045 \noun off
2046 \color none
2047 \SpecialChar LyX
2048 が\SpecialChar LaTeX
2049 ファイルのプリアンブルに追加するコマンドは,
2050 つねに同じです.これは,
2051 \SpecialChar LyX
2052 自体にパッチを当てないかぎり変更できないようになっています.しかしながら,
2053
2054 \family sans
2055 \series default
2056 \shape default
2057 \size default
2058 \emph default
2059 \bar default
2060 \noun default
2061 \color inherit
2062 文書\SpecialChar menuseparator
2063 設定
2064 \begin_inset space \thinspace{}
2065 \end_inset
2066
2067
2068 \family roman
2069 \series medium
2070 \shape up
2071 \size normal
2072 \emph off
2073 \bar no
2074 \noun off
2075 \color none
2076 ダイアログの
2077 \family sans
2078 \series default
2079 \shape default
2080 \size default
2081 \emph default
2082 \bar default
2083 \noun default
2084 \color inherit
2085 \SpecialChar LaTeX
2086 プリアンブル
2087 \family roman
2088 \series medium
2089 \shape up
2090 \size normal
2091 \emph off
2092 \bar no
2093 \noun off
2094 \color none
2095 の項から,
2096 プリアンブルに追加をすることはできます.\SpecialChar LyX
2097 は,
2098
2099 \family sans
2100 \series default
2101 \shape default
2102 \size default
2103 \emph default
2104 \bar default
2105 \noun default
2106 \color inherit
2107 プリアンブル
2108 \family roman
2109 \series medium
2110 \shape up
2111 \size normal
2112 \emph off
2113 \bar no
2114 \noun off
2115 \color none
2116 ダイアログ内のすべてのものを,
2117 \SpecialChar LyX
2118 埋込みのプリアンブルに付け加えます.ご自身の宣言をプリアンブルに追加する前に,
2119 あなたがしようとしていることを\SpecialChar LyX
2120 がすでにサポートしていないかどうか確認してください(車輪の再発明をしないように,
2121 とはすでに申しあげたことです).
2122 \family default
2123 \series default
2124 \shape default
2125 \size default
2126 \emph default
2127 \bar default
2128 \noun default
2129 \color inherit
2130 また,
2131
2132 \emph on
2133
2134 \begin_inset Flex 圏点
2135 status open
2136
2137 \begin_layout Plain Layout
2138 プリアンブルコードが正しいことを確認してください
2139 \end_layout
2140
2141 \end_inset
2142
2143
2144 \emph default
2145 \SpecialChar LyX
2146 は,
2147 プリアンブルをチェックしません.
2148 \family roman
2149 \series medium
2150 \shape up
2151 \size normal
2152 \emph off
2153 \bar no
2154 \noun off
2155 \color none
2156 もしエラーがあれば,
2157
2158 \begin_inset Flex Code
2159 status collapsed
2160
2161 \begin_layout Plain Layout
2162
2163 \family roman
2164 \series medium
2165 \shape up
2166 \size normal
2167 \emph off
2168 \bar no
2169 \noun off
2170 \color none
2171 Missing 
2172 \backslash
2173 begin{document}
2174 \end_layout
2175
2176 \end_inset
2177
2178 」といったエラーが出ることでしょう.このようなエラーが出たときは,
2179 プリアンブルを再確認してください.
2180 \end_layout
2181
2182 \begin_layout Subsection
2183
2184 \end_layout
2185
2186 \begin_layout Standard
2187
2188 \family roman
2189 \series medium
2190 \shape up
2191 \size normal
2192 \emph off
2193 \bar no
2194 \noun off
2195 \color none
2196 以下は,
2197 プリアンブルに追加できるものとその効果を示す例です.
2198 \end_layout
2199
2200 \begin_layout Subsubsection
2201 例1:
2202 オフセット
2203 \end_layout
2204
2205 \begin_layout Standard
2206
2207 \family roman
2208 \series medium
2209 \shape up
2210 \size normal
2211 \emph off
2212 \bar no
2213 \noun off
2214 \color none
2215 \SpecialChar LaTeX
2216 には
2217 \family default
2218 \series default
2219 \shape default
2220 \size default
2221 \emph default
2222 \bar default
2223 \noun default
2224 \color inherit
2225
2226
2227 \family roman
2228 \series medium
2229 \shape up
2230 \size normal
2231 \emph off
2232 \bar no
2233 \noun off
2234 \color none
2235
2236 \begin_inset Flex Code
2237 status collapsed
2238
2239 \begin_layout Plain Layout
2240
2241 \family typewriter
2242
2243 \backslash
2244 hoffset
2245 \end_layout
2246
2247 \end_inset
2248
2249
2250 \family typewriter
2251 \series default
2252 \shape default
2253 \size default
2254 \emph default
2255 \bar default
2256 \noun default
2257 \color inherit
2258
2259 \begin_inset Flex Code
2260 status collapsed
2261
2262 \begin_layout Plain Layout
2263
2264 \family typewriter
2265
2266 \backslash
2267 voffset
2268 \end_layout
2269
2270 \end_inset
2271
2272
2273 \family roman
2274 \series medium
2275 \shape up
2276 \size normal
2277 \emph off
2278 \bar no
2279 \noun off
2280 \color none
2281 というページ位置を制御する2つの変数があります.その機能は名前から明らかなとおりです.これらの変数は,
2282 ラベルを印刷するときなどに便利です.往々にして,
2283 印刷用紙の寸法とそのうち実際に印字可能な範囲は同じではありません.ここに
2284 \begin_inset Flex Code
2285 status collapsed
2286
2287 \begin_layout Plain Layout
2288
2289 \family typewriter
2290
2291 \backslash
2292 hoffset
2293 \end_layout
2294
2295 \end_inset
2296
2297
2298 \family typewriter
2299 \series default
2300 \shape default
2301 \size default
2302 \emph default
2303 \bar default
2304 \noun default
2305 \color inherit
2306
2307 \begin_inset Flex Code
2308 status collapsed
2309
2310 \begin_layout Plain Layout
2311
2312 \family typewriter
2313
2314 \backslash
2315 voffset
2316 \end_layout
2317
2318 \end_inset
2319
2320
2321 \family default
2322 が役立つわけです.
2323 \end_layout
2324
2325 \begin_layout Standard
2326
2327 \family roman
2328 \series medium
2329 \shape up
2330 \size normal
2331 \emph off
2332 \bar no
2333 \noun off
2334 \color none
2335 \begin_inset Flex Code
2336 status collapsed
2337
2338 \begin_layout Plain Layout
2339
2340 \family typewriter
2341
2342 \backslash
2343 hoffset
2344 \end_layout
2345
2346 \end_inset
2347
2348
2349 \family typewriter
2350 \series default
2351 \shape default
2352 \size default
2353 \emph default
2354 \bar default
2355 \noun default
2356 \color inherit
2357
2358 \begin_inset Flex Code
2359 status collapsed
2360
2361 \begin_layout Plain Layout
2362
2363 \family typewriter
2364
2365 \backslash
2366 voffset
2367 \end_layout
2368
2369 \end_inset
2370
2371
2372 \family roman
2373 \series medium
2374 \shape up
2375 \size normal
2376 \emph off
2377 \bar no
2378 \noun off
2379 \color none
2380 の既定値はともに0ポイント,
2381 つまりページをシフトしません.残念ながら,
2382 DVIドライバによってはつねにページをシフトすることがあるようです.我々には,
2383 どうしてそのようなことをするのか,
2384 そしてシスアドがどうしてそれを修正しないのか理解できませんが,
2385 もし個人的に管理できないシステムで\SpecialChar LyX
2386 を使用していて,
2387 シスアドがお馬鹿さんである場合には,
2388
2389 \begin_inset Flex Code
2390 status collapsed
2391
2392 \begin_layout Plain Layout
2393
2394 \family typewriter
2395
2396 \backslash
2397 hoffset
2398 \end_layout
2399
2400 \end_inset
2401
2402
2403 \family typewriter
2404 \series default
2405 \shape default
2406 \size default
2407 \emph default
2408 \bar default
2409 \noun default
2410 \color inherit
2411
2412 \begin_inset Flex Code
2413 status collapsed
2414
2415 \begin_layout Plain Layout
2416
2417 \family typewriter
2418
2419 \backslash
2420 voffset
2421 \end_layout
2422
2423 \end_inset
2424
2425
2426 \family roman
2427 \series medium
2428 \shape up
2429 \size normal
2430 \emph off
2431 \bar no
2432 \noun off
2433 \color none
2434 が役に立ちます.かりに,
2435 上余白と左余白がつねに0.5インチずつ大きすぎるものとしましょう.その場合は,
2436 以下をプリアンブルに追加するとよいでしょう.
2437 \end_layout
2438
2439 \begin_layout LyX-Code
2440
2441 \backslash
2442 setlength{
2443 \backslash
2444 hoffset}{-0.5 in}
2445 \end_layout
2446
2447 \begin_layout LyX-Code
2448
2449 \backslash
2450 setlength{
2451 \backslash
2452 voffset}{-0.5 in}
2453 \end_layout
2454
2455 \begin_layout Standard
2456
2457 \family roman
2458 \series medium
2459 \shape up
2460 \size normal
2461 \emph off
2462 \bar no
2463 \noun off
2464 \color none
2465 これで余白が修正されます.
2466 \end_layout
2467
2468 \begin_layout Subsubsection
2469 例2:
2470 ラベル
2471 \end_layout
2472
2473 \begin_layout Standard
2474
2475 \family roman
2476 \series medium
2477 \shape up
2478 \size normal
2479 \emph off
2480 \bar no
2481 \noun off
2482 \color none
2483 いま,
2484 たくさんの宛名ラベルを印刷をしたいものとしましょう.ラベルシートを印刷するために便利な
2485 \begin_inset Flex Code
2486 status collapsed
2487
2488 \begin_layout Plain Layout
2489
2490 \family typewriter
2491 labels.sty
2492 \end_layout
2493
2494 \end_inset
2495
2496 という\SpecialChar LaTeX
2497 パッケージが,
2498 お近くのCTANアーカイブで入手可能です.お使いのシステムには,
2499 既定ではこのパッケージは導入されていないかもしれません.ご自身でお確かめください.また,
2500 このパッケージの取扱説明書を読まれたいかもしれませんが,
2501 それもご自身にお任せします.これは使用例ですので,
2502 このパッケージをどう使うかの例だけお見せすることにします.
2503 \end_layout
2504
2505 \begin_layout Standard
2506
2507 \family roman
2508 \series medium
2509 \shape up
2510 \size normal
2511 \emph off
2512 \bar no
2513 \noun off
2514 \color none
2515 まず,
2516
2517 \begin_inset Flex Code
2518 status collapsed
2519
2520 \begin_layout Plain Layout
2521
2522 \family sans
2523 article
2524 \end_layout
2525
2526 \end_inset
2527
2528 文書クラスを使用していることをご確認ください.次に,
2529 以下のような設定をプリアンブルに追加しなければなりません.
2530 \end_layout
2531
2532 \begin_layout LyX-Code
2533
2534 \backslash
2535 usepackage{labels}
2536 \end_layout
2537
2538 \begin_layout LyX-Code
2539
2540 \backslash
2541 LabelCols=3
2542 \end_layout
2543
2544 \begin_layout LyX-Code
2545
2546 \backslash
2547 LabelRows=7
2548 \end_layout
2549
2550 \begin_layout LyX-Code
2551
2552 \backslash
2553 LeftBorder=8mm
2554 \end_layout
2555
2556 \begin_layout LyX-Code
2557
2558 \backslash
2559 RightBorder=8mm
2560 \end_layout
2561
2562 \begin_layout LyX-Code
2563
2564 \backslash
2565 TopBorder=9mm
2566 \end_layout
2567
2568 \begin_layout LyX-Code
2569
2570 \backslash
2571 BottomBorder=2mm
2572 \end_layout
2573
2574 \begin_layout Standard
2575
2576 \family roman
2577 \series medium
2578 \shape up
2579 \size normal
2580 \emph off
2581 \bar no
2582 \noun off
2583 \color none
2584 これは
2585 \family default
2586 \series default
2587 \shape default
2588 \size default
2589 \emph default
2590 \bar default
2591 \noun default
2592 \color inherit
2593 Averyラベルシートのストック5360
2594 \family roman
2595 \series medium
2596 \shape up
2597 \size normal
2598 \emph off
2599 \bar no
2600 \noun off
2601 \color none
2602 番を使用する場合の設定です.これで,
2603 各宛名を
2604 \begin_inset Flex Code
2605 status collapsed
2606
2607 \begin_layout Plain Layout
2608
2609 \family typewriter
2610
2611 \backslash
2612 begin{labels}
2613 \end_layout
2614
2615 \end_inset
2616
2617
2618 \family typewriter
2619 \series default
2620 \shape default
2621 \size default
2622 \emph default
2623 \bar default
2624 \noun default
2625 \color inherit
2626
2627 \begin_inset Flex Code
2628 status collapsed
2629
2630 \begin_layout Plain Layout
2631
2632 \family typewriter
2633
2634 \backslash
2635 end{labels}
2636 \end_layout
2637
2638 \end_inset
2639
2640
2641 \family roman
2642 \series medium
2643 \shape up
2644 \size normal
2645 \emph off
2646 \bar no
2647 \noun off
2648 \color none
2649 で囲めば,
2650 宛名ラベルの印刷をすることができます.本機能およびその他の機能に関しては,
2651
2652 \begin_inset Flex Code
2653 status collapsed
2654
2655 \begin_layout Plain Layout
2656
2657 \family typewriter
2658 labels.sty
2659 \end_layout
2660
2661 \end_inset
2662
2663 の取扱説明書に説明されています.
2664 \end_layout
2665
2666 \begin_layout Standard
2667
2668 \family roman
2669 \series medium
2670 \shape up
2671 \size normal
2672 \emph off
2673 \bar no
2674 \noun off
2675 \color none
2676 そのうち誰かが,
2677 このパッケージを直接サポートする\SpecialChar LyX
2678 レイアウトファイルを作ってくれるかもしれません.その誰かはあなたかもしれません.
2679 \end_layout
2680
2681 \begin_layout Subsubsection
2682 例3:
2683  段落の字下げ
2684 \end_layout
2685
2686 \begin_layout Standard
2687
2688 \family roman
2689 \series medium
2690 \shape up
2691 \size normal
2692 \emph off
2693 \bar no
2694 \noun off
2695 \color none
2696 アメリカ人は
2697 \family default
2698 \series default
2699 \shape default
2700 \size default
2701 \emph default
2702 \bar default
2703 \noun default
2704 \color inherit
2705
2706
2707 \emph on
2708 すべての
2709 \family roman
2710 \series medium
2711 \shape up
2712 \size normal
2713 \emph off
2714 \bar no
2715 \noun off
2716 \color none
2717 段落の最初の行を字下げするように教育されています.そのために彼らの他の変な習慣と同じく,
2718 いつものようにすべての段落の最初の行を下げるまで,
2719 アメリカ人はごちゃごちゃと文句を言いつづけるのです
2720 \family default
2721 \series default
2722 \shape default
2723 \size default
2724 \emph default
2725 \bar default
2726 \noun default
2727 \color inherit
2728 .(これはユーモアです.(ほんと?
2729
2730 \begin_inset Flex 圏点
2731 status open
2732
2733 \begin_layout Plain Layout
2734 ユーモアですってば
2735 \end_layout
2736
2737 \end_inset
2738
2739 .)
2740 \end_layout
2741
2742 \begin_layout Standard
2743
2744 \family roman
2745 \series medium
2746 \shape up
2747 \size normal
2748 \emph off
2749 \bar no
2750 \noun off
2751 \color none
2752 もちろん,
2753 これは標準的な組版ルールではありません.書籍では,
2754 典型的には,
2755 他の段落のあとにくる段落
2756 \family default
2757 \series default
2758 \shape default
2759 \size default
2760 \emph on
2761 \bar default
2762 \noun default
2763 \color inherit
2764 のみ
2765 \family roman
2766 \series medium
2767 \shape up
2768 \size normal
2769 \emph off
2770 \bar no
2771 \noun off
2772 \color none
2773 字下げを行ないます.一行めを字下げをするそもそもの目的は,
2774 隣接する段落から区別するためです.したがって,
2775 図のあとや節の最初の段落など,
2776 先行する段落がない場合には,
2777 字下げをする必要はないのです.
2778 \end_layout
2779
2780 \begin_layout Standard
2781
2782 \family roman
2783 \series medium
2784 \shape up
2785 \size normal
2786 \emph off
2787 \bar no
2788 \noun off
2789 \color none
2790 けれどもあなたが典型的なアメリカ人なら(ユーーモアですって!
2791 ),
2792 そのような小難しいことはかまわずに,
2793 いつもどおりの字下げをせずにはいられないでしょう!
2794 プリアンブルに次の行を加えて下さい.
2795 \end_layout
2796
2797 \begin_layout LyX-Code
2798
2799 \backslash
2800 usepackage{indentfirst}
2801 \end_layout
2802
2803 \begin_layout Standard
2804
2805 \family roman
2806 \series medium
2807 \shape up
2808 \size normal
2809 \emph off
2810 \bar no
2811 \noun off
2812 \color none
2813 もしお使いの\SpecialChar TeX
2814 頒布版が脳死状態でなければ,
2815 このパッケージが入っているはずなので,
2816 建国の父たちが意図したように,
2817 すべての段落が字下げされます.
2818 \end_layout
2819
2820 \begin_layout Subsubsection
2821 例4:
2822 この文書
2823 \end_layout
2824
2825 \begin_layout Standard
2826
2827 \family roman
2828 \series medium
2829 \shape up
2830 \size normal
2831 \emph off
2832 \bar no
2833 \noun off
2834 \color none
2835 この文書のプリアンブルを見てみると,
2836 どのような高度な設定ができるか,
2837 おおまかな理解が得られるでしょう.
2838 \end_layout
2839
2840 \begin_layout Section
2841 \SpecialChar LyX
2842 および\SpecialChar LaTeX
2843 のエラー
2844 \end_layout
2845
2846 \begin_layout Standard
2847
2848 \family roman
2849 \series medium
2850 \shape up
2851 \size normal
2852 \emph off
2853 \bar no
2854 \noun off
2855 \color none
2856 \SpecialChar LyX
2857 が\SpecialChar LaTeX
2858 を呼び出す際,
2859 \SpecialChar LyX
2860 は\SpecialChar LaTeX
2861 に,
2862 かりにエラーがあったとしても楽観的に無視して先に進むように指示します.その後\SpecialChar LyX
2863 は,
2864 \SpecialChar LaTeX
2865 の実行ログファイルを事後処理用に使います.ログファイルを分析したのち,
2866 \SpecialChar LyX
2867 はエラーを一覧表示するダイアログを表示します.エラーのうちどれかをクリックすると,
2868 \SpecialChar LyX
2869 ファイル中,
2870 そのエラーの発生した場所に表示を移動します
2871 \begin_inset Foot
2872 status collapsed
2873
2874 \begin_layout Plain Layout
2875
2876 \family roman
2877 \series medium
2878 \shape up
2879 \size normal
2880 \emph off
2881 \bar no
2882 \noun off
2883 \color none
2884 正確にいうと,
2885 通常は,
2886 です.ログファイルの分析は難しい仕事ですので,
2887 \SpecialChar LyX
2888 はつねに正しい行に連れて行ってくれるとは限りません.ときには,
2889 \SpecialChar LaTeX
2890 がある行にエラーがあると報告したとしても,
2891 実際のエラーはそれよりも前であることもあります.これは,
2892 プログラムで閉じ括弧を忘れたときに似ていなくもありません.エラーは表示されますが,
2893 実際にエラーのある場所よりも後ろでエラーが報告されるのです.
2894 \end_layout
2895
2896 \end_inset
2897
2898
2899 \family default
2900 \series default
2901 \shape default
2902 \size default
2903 \emph default
2904 \bar default
2905 \noun default
2906 \color inherit
2907
2908 \end_layout
2909
2910 \begin_layout Standard
2911
2912 \family roman
2913 \series medium
2914 \shape up
2915 \size normal
2916 \emph off
2917 \bar no
2918 \noun off
2919 \color none
2920 人によっては,
2921 ログファイルを直接ご覧になりたいかもしれません.これは,
2922
2923 \family sans
2924 \series default
2925 \shape default
2926 \size default
2927 \emph default
2928 \bar default
2929 \noun default
2930 \color inherit
2931 文書\SpecialChar menuseparator
2932 LaTeXログ
2933 \begin_inset space \thinspace{}
2934 \end_inset
2935
2936
2937 \family roman
2938 \series medium
2939 \shape up
2940 \size normal
2941 \emph off
2942 \bar no
2943 \noun off
2944 \color none
2945 で見ることができます.エラーメッセージや警告には,
2946 よく見かけるものがいくつかありますので,
2947 それらをここに収録しておきます.ここにないエラーや警告に関しては,
2948 La\SpecialChar TeX
2949 関連の良書を参照してください.
2950 \end_layout
2951
2952 \begin_layout Itemize
2953
2954 \family typewriter
2955 \begin_inset Flex Code
2956 status collapsed
2957
2958 \begin_layout Plain Layout
2959
2960 \family typewriter
2961 LaTeX Warning
2962 \end_layout
2963
2964 \end_inset
2965
2966
2967 \family roman
2968 \series medium
2969 \shape up
2970 \size normal
2971 \emph off
2972 \bar no
2973 \noun off
2974 \color none
2975
2976 \begin_inset Newline newline
2977 \end_inset
2978
2979 これで始まるメッセージは,
2980 \SpecialChar LaTeX
2981 コード自体を「デバッグ」するための警告メッセージです.相互参照や書誌情報を追加したり変更した場合に,
2982 もう一度\SpecialChar LaTeX
2983 を実行する必要があることを知らせるために,
2984 このようなメッセージが表示されます.このメッセージは,
2985 だいたいにおいて無視しても大丈夫です.
2986 \end_layout
2987
2988 \begin_layout Itemize
2989
2990 \family typewriter
2991 \begin_inset Flex Code
2992 status collapsed
2993
2994 \begin_layout Plain Layout
2995
2996 \family typewriter
2997 LaTeX Font Warning
2998 \end_layout
2999
3000 \end_inset
3001
3002
3003 \family roman
3004 \series medium
3005 \shape up
3006 \size normal
3007 \emph off
3008 \bar no
3009 \noun off
3010 \color none
3011
3012 \begin_inset Newline newline
3013 \end_inset
3014
3015 \SpecialChar LaTeX
3016 がフォントを見つけられなかったと言う警告メッセージです.多くの場合,
3017 このメッセージの後に,
3018 \SpecialChar LaTeX
3019 が使用した代替フォントに関する情報が続きます.これも無視して構いません.
3020 \end_layout
3021
3022 \begin_layout Itemize
3023
3024 \family roman
3025 \series medium
3026 \shape up
3027 \size normal
3028 \emph off
3029 \bar no
3030 \noun off
3031 \color none
3032 \begin_inset Flex Code
3033 status collapsed
3034
3035 \begin_layout Plain Layout
3036
3037 \family typewriter
3038 Overfull 
3039 \backslash
3040 hbox
3041 \end_layout
3042
3043 \end_inset
3044
3045
3046 \begin_inset Newline newline
3047 \end_inset
3048
3049 \SpecialChar LaTeX
3050
3051 \begin_inset Flex 圏点
3052 status open
3053
3054 \begin_layout Plain Layout
3055 ほぼどんなときでも
3056 \end_layout
3057
3058 \end_inset
3059
3060 この警告を吐き出します.どんな文書を書いたとしても,
3061 このメッセージは,
3062 少なくとも1つは出てくるようです.これは,
3063 一行が長すぎて右余白にはみ出してしまったという警告であり,
3064
3065 \family default
3066 \series default
3067 \shape default
3068 \size default
3069 \emph default
3070 \bar default
3071 \noun default
3072 \color inherit
3073 \SpecialChar LaTeX
3074
3075 \family roman
3076 \series medium
3077 \shape up
3078 \size normal
3079 \emph off
3080 \bar no
3081 \noun off
3082 \color none
3083 が適切な改行方法を見つけられなかった時に生じます(タイプライタ体では自動改行を許されないため頻発することが知られています).ほとんどの場合,
3084 最終出力を見ても判別できないくらい(せいぜい1ポイントか2ポイント)です.しかしながら,
3085 時には目に見えて余白にはみ出してしまうこともあるので,
3086 その場合には,
3087 最終出力では修正したいと思うことでしょう.
3088 \begin_inset Newline newline
3089 \end_inset
3090
3091 全体的にoverfull行の数をできるだけ少なくする方法はいくつかあります.
3092 \family sans
3093 \series default
3094 \shape default
3095 \size default
3096 \emph default
3097 \bar default
3098 \noun default
3099 \color inherit
3100 文書\SpecialChar menuseparator
3101 設定\SpecialChar menuseparator
3102 フォント
3103 \begin_inset space \thinspace{}
3104 \end_inset
3105
3106
3107 \family roman
3108 \series medium
3109 \shape up
3110 \size normal
3111 \emph off
3112 \bar no
3113 \noun off
3114 \color none
3115
3116 \family sans
3117 \series default
3118 \shape default
3119 \size default
3120 \emph default
3121 \bar default
3122 \noun default
3123 \color inherit
3124
3125 \begin_inset space \thinspace{}
3126 \end_inset
3127
3128 マイクロタイポグラフィ拡張を有効にする
3129 \begin_inset space \thinspace{}
3130 \end_inset
3131
3132
3133 \family roman
3134 \series medium
3135 \shape up
3136 \size normal
3137 \emph off
3138 \bar no
3139 \noun off
3140 \color none
3141 をクリックすると,
3142 大幅な改善が見込めます.さらに,
3143
3144 \family sans
3145 \series default
3146 \shape default
3147 \size default
3148 \emph default
3149 \bar default
3150 \noun default
3151 \color inherit
3152 文書\SpecialChar menuseparator
3153 設定\SpecialChar menuseparator
3154 プリアンブル
3155 \begin_inset space \thinspace{}
3156 \end_inset
3157
3158
3159 \family roman
3160 \series medium
3161 \shape up
3162 \size normal
3163 \emph off
3164 \bar no
3165 \noun off
3166 \color none
3167 に以下のような
3168 \family default
3169 \series default
3170 \shape default
3171 \size default
3172 \emph default
3173 \bar default
3174 \noun default
3175 \color inherit
3176 \SpecialChar LaTeX
3177
3178 \family roman
3179 \series medium
3180 \shape up
3181 \size normal
3182 \emph off
3183 \bar no
3184 \noun off
3185 \color none
3186 コードを書いても,
3187 overfull行の数は,
3188 通常,
3189 大幅に減少します(この文書のプリアンブルにも使用しています).
3190 \end_layout
3191
3192 \begin_deeper
3193 \begin_layout LyX-Code
3194
3195 \backslash
3196 tolerance 1414
3197 \begin_inset Newline newline
3198 \end_inset
3199
3200
3201 \backslash
3202 hbadness 1414
3203 \begin_inset Newline newline
3204 \end_inset
3205
3206
3207 \backslash
3208 emergencystretch 1.5em
3209 \begin_inset Newline newline
3210 \end_inset
3211
3212
3213 \backslash
3214 hfuzz 0.3pt
3215 \end_layout
3216
3217 \begin_layout Standard
3218 しかしながら,
3219 場合によっては,
3220 改行が正しく行われるように,
3221 文章そのものを書き換えなくてはならない場合もあります
3222 \begin_inset Foot
3223 status collapsed
3224
3225 \begin_layout Plain Layout
3226 詳細は,
3227
3228 \begin_inset Flex URL
3229 status open
3230
3231 \begin_layout Plain Layout
3232
3233 http://www.tex.ac.uk/FAQ-overfull.html
3234 \end_layout
3235
3236 \end_inset
3237
3238 を参照してください.
3239 \end_layout
3240
3241 \end_inset
3242
3243
3244 \end_layout
3245
3246 \begin_layout Standard
3247 何れにしても,
3248 少なくとも文書の完成版では,
3249 各行の確認を行うべきです.はみ出過ぎているものがあれば,
3250 目で見ればわかるでしょう
3251 \begin_inset Foot
3252 status collapsed
3253
3254 \begin_layout Plain Layout
3255
3256 \family sans
3257 文書\SpecialChar menuseparator
3258 設定
3259 \family default
3260 で「draft」オプションを有効にすることもできます.すると,
3261 overfull行の余白には,
3262 \SpecialChar LaTeX
3263 が黒い四角を描画してくれます.
3264 \end_layout
3265
3266 \end_inset
3267
3268
3269 \end_layout
3270
3271 \end_deeper
3272 \begin_layout Itemize
3273
3274 \family typewriter
3275 \begin_inset Flex Code
3276 status collapsed
3277
3278 \begin_layout Plain Layout
3279
3280 \family typewriter
3281 Underfull 
3282 \backslash
3283 hbox
3284 \end_layout
3285
3286 \end_inset
3287
3288
3289 \begin_inset Newline newline
3290 \end_inset
3291
3292
3293 \family roman
3294 \series medium
3295 \shape up
3296 \size normal
3297 \emph off
3298 \bar no
3299 \noun off
3300 \color none
3301 これは上の警告と違ってあまり出てきません.これも,
3302
3303 \family default
3304 \series default
3305 \shape default
3306 \size default
3307 \emph default
3308 \bar default
3309 \noun default
3310 \color inherit
3311 \SpecialChar LaTeX
3312
3313 \family roman
3314 \series medium
3315 \shape up
3316 \size normal
3317 \emph off
3318 \bar no
3319 \noun off
3320 \color none
3321 が適切な改行方法を見つけられずに,
3322 間延びした行を生成せざるを得なかった時に起こります.overfull行と同様,
3323 外見上の問題がないかどうか確認してください.
3324 \end_layout
3325
3326 \begin_layout Itemize
3327 \begin_inset Flex Code
3328 status collapsed
3329
3330 \begin_layout Plain Layout
3331
3332 \family typewriter
3333 Overfull 
3334 \backslash
3335 vbox
3336 \end_layout
3337
3338 \end_inset
3339
3340
3341 \family typewriter
3342
3343 \begin_inset Flex Code
3344 status collapsed
3345
3346 \begin_layout Plain Layout
3347
3348 \family typewriter
3349 Underfull 
3350 \backslash
3351 vbox
3352 \end_layout
3353
3354 \end_inset
3355
3356
3357 \family default
3358
3359 \begin_inset Newline newline
3360 \end_inset
3361
3362
3363 \family roman
3364 \series medium
3365 \shape up
3366 \size normal
3367 \emph off
3368 \bar no
3369 \noun off
3370 \color none
3371 ページ区切りに問題があったという警告です.この場合も,
3372 出力を目で確認してください.何か問題があれば,
3373 見てすぐわかります.
3374 \end_layout
3375
3376 \begin_layout Itemize
3377
3378 \family typewriter
3379 \begin_inset Flex Code
3380 status collapsed
3381
3382 \begin_layout Plain Layout
3383
3384 \family typewriter
3385 LaTeX Error:
3386  File 
3387 \begin_inset Quotes els
3388 \end_inset
3389
3390 Xxxx
3391 \begin_inset Quotes ers
3392 \end_inset
3393
3394  not found
3395 \end_layout
3396
3397 \end_inset
3398
3399
3400 \family roman
3401 \series medium
3402 \shape up
3403 \size normal
3404 \emph off
3405 \bar no
3406 \noun off
3407 \color none
3408
3409 \begin_inset Newline newline
3410 \end_inset
3411
3412 ファイル「Xxxx」が,
3413 システムに導入されていません.これは通常,
3414 文書が必要としている\SpecialChar LaTeX
3415 パッケージに,
3416 導入済でないものがある場合に現れます.プリアンブルに変更を加えておらず,
3417
3418 \begin_inset Flex Code
3419 status collapsed
3420
3421 \begin_layout Plain Layout
3422
3423 \family typewriter
3424
3425 \backslash
3426 usepackage{}
3427 \end_layout
3428
3429 \end_inset
3430
3431 コマンドも使用していないとすれば,
3432 \SpecialChar LyX
3433 が読み込もうしているパッケージに存在しないものがあるということです.
3434 \family sans
3435 \series default
3436 \shape default
3437 \size default
3438 \emph default
3439 \bar default
3440 \noun default
3441 \color inherit
3442 ヘルプ\SpecialChar menuseparator
3443 \SpecialChar LaTeX
3444 の設定
3445 \begin_inset space \thinspace{}
3446 \end_inset
3447
3448
3449 \family roman
3450 \series medium
3451 \shape up
3452 \size normal
3453 \emph off
3454 \bar no
3455 \noun off
3456 \color none
3457 を使用して,
3458 \SpecialChar LyX
3459 が認識しているパッケージの一覧を得てください.このファイルは,
3460
3461 \family sans
3462 \series default
3463 \shape default
3464 \size default
3465 \emph default
3466 \bar default
3467 \noun default
3468 \color inherit
3469 ツール\SpecialChar menuseparator
3470 再設定
3471 \begin_inset space \thinspace{}
3472 \end_inset
3473
3474
3475 \family roman
3476 \series medium
3477 \shape up
3478 \size normal
3479 \emph off
3480 \bar no
3481 \noun off
3482 \color none
3483 を使用して)\SpecialChar LyX
3484 の再設定を行うたびに更新され,
3485 どのパッケージが検出されたか,
3486 それらのパッケージが何をするものかを表示します.
3487 \begin_inset Newline newline
3488 \end_inset
3489
3490
3491 \family sans
3492 \series default
3493 \shape default
3494 \size default
3495 \emph default
3496 \bar default
3497 \noun default
3498 \color inherit
3499
3500 \begin_inset Flex Code
3501 status collapsed
3502
3503 \begin_layout Plain Layout
3504
3505 \family sans
3506
3507 \backslash
3508 usepackage{}
3509 \end_layout
3510
3511 \end_inset
3512
3513
3514 \family roman
3515 \series medium
3516 \shape up
3517 \size normal
3518 \emph off
3519 \bar no
3520 \noun off
3521 \color none
3522 コマンドを使っていて,
3523 肝心のパッケージが導入されていない場合には,
3524 ご自身で導入する必要があります.
3525 \end_layout
3526
3527 \begin_layout Itemize
3528
3529 \family typewriter
3530 \begin_inset Flex Code
3531 status collapsed
3532
3533 \begin_layout Plain Layout
3534
3535 \family typewriter
3536 LaTeX Error:
3537  Unknown option
3538 \end_layout
3539
3540 \end_inset
3541
3542
3543 \family roman
3544 \series medium
3545 \shape up
3546 \size normal
3547 \emph off
3548 \bar no
3549 \noun off
3550 \color none
3551
3552 \begin_inset Newline newline
3553 \end_inset
3554
3555 このように始まるエラーメッセージは,
3556 パッケージに誤ったあるいは未定義のオプションが指定されていることを伝えようとするものです.パッケージの取扱説明書をご確認ください.
3557 \end_layout
3558
3559 \begin_layout Itemize
3560
3561 \family typewriter
3562 \begin_inset Flex Code
3563 status collapsed
3564
3565 \begin_layout Plain Layout
3566
3567 \family typewriter
3568 Undefined control sequence
3569 \end_layout
3570
3571 \end_inset
3572
3573
3574 \family roman
3575 \series medium
3576 \shape up
3577 \size normal
3578 \emph off
3579 \bar no
3580 \noun off
3581 \color none
3582
3583 \begin_inset Newline newline
3584 \end_inset
3585
3586 お使いの文書に\SpecialChar LaTeX
3587 コードを挿入した際,
3588 打ち間違いをしてしまうと,
3589 このようなメッセージが表示されます.あるいは,
3590 パッケージを読み込ませるのを忘れたのかもしれません.いずれにしても,
3591 このメッセージは,
3592 あなたが未定義のコマンドを使用したことを示しています.
3593 \end_layout
3594
3595 \begin_layout Standard
3596
3597 \family roman
3598 \series medium
3599 \shape up
3600 \size normal
3601 \emph off
3602 \bar no
3603 \noun off
3604 \color none
3605 これ以外にも,
3606 エラーメッセージや警告メッセージがあります.一般に,
3607 読んで意味がすぐにわかるものは,
3608 \SpecialChar LaTeX
3609 のメッセージです.何を言っているのかさっぱりわからないものもありますが,
3610 通常これらは,
3611 \SpecialChar TeX
3612 のメッセージであり,
3613 それが何を意味しているのか,
3614 どのように解読すればいいのか,
3615
3616 \family default
3617 \series default
3618 \shape default
3619 \size default
3620 \emph on
3621 \bar default
3622 \noun default
3623 \color inherit
3624 まったく
3625 \family roman
3626 \series medium
3627 \shape up
3628 \size normal
3629 \emph off
3630 \bar no
3631 \noun off
3632 \color none
3633 手がかりがありません.誰もわからないのです.
3634 \end_layout
3635
3636 \begin_layout Standard
3637
3638 \family roman
3639 \series medium
3640 \shape up
3641 \size normal
3642 \emph off
3643 \bar no
3644 \noun off
3645 \color none
3646 エラーメッセージが表示された場合は,
3647 つねに以下のチェックリストにしたがった方がよいでしょう.
3648 \end_layout
3649
3650 \begin_layout Enumerate
3651
3652 \family roman
3653 \series medium
3654 \shape up
3655 \size normal
3656 \emph off
3657 \bar no
3658 \noun off
3659 \color none
3660 ご自分で挿入した\SpecialChar LaTeX
3661 コードに打ち間違いがないかどうか確かめる.
3662 \end_layout
3663
3664 \begin_layout Enumerate
3665
3666 \family roman
3667 \series medium
3668 \shape up
3669 \size normal
3670 \emph off
3671 \bar no
3672 \noun off
3673 \color none
3674 打ち間違いがなければ,
3675 コマンドを正しく使ったかどうか確かめる.
3676 \end_layout
3677
3678 \begin_layout Enumerate
3679
3680 \family roman
3681 \series medium
3682 \shape up
3683 \size normal
3684 \emph off
3685 \bar no
3686 \noun off
3687 \color none
3688 文書のもっともはじめの部分にエラーボックスが多数積み上がった場合には—
3689 特に
3690 \begin_inset Flex Code
3691 status collapsed
3692
3693 \begin_layout Plain Layout
3694
3695 \family roman
3696 \series medium
3697 \shape up
3698 \size normal
3699 \emph off
3700 \bar no
3701 \noun off
3702 \color none
3703 Missing 
3704 \backslash
3705 begin{document}
3706 \end_layout
3707
3708 \end_inset
3709
3710 が表示されているならば—
3711
3712 プリアンブルにエラーがあることを意味します.プリアンブルのデバックを行ってください.
3713 \end_layout
3714
3715 \begin_layout Enumerate
3716
3717 \family roman
3718 \series medium
3719 \shape up
3720 \size normal
3721 \emph off
3722 \bar no
3723 \noun off
3724 \color none
3725 プリアンブルに何も追加せず,
3726 文書に\SpecialChar LaTeX
3727 コードをまったく挿入しなかった場合には,
3728 \SpecialChar LaTeX
3729 頒布版自体をまず疑ってください.導入されていないパッケージを探しだして,
3730 導入してください.
3731 \end_layout
3732
3733 \begin_layout Enumerate
3734
3735 \family roman
3736 \series medium
3737 \shape up
3738 \size normal
3739 \emph off
3740 \bar no
3741 \noun off
3742 \color none
3743 導入されていないパッケージはなかったものとしましょう.\SpecialChar LyX
3744 を微調整するオプションを使用していますか.特に,
3745 手動で
3746 \begin_inset Flex Code
3747 status collapsed
3748
3749 \begin_layout Plain Layout
3750
3751 \family sans
3752 非改行空白
3753 \end_layout
3754
3755 \end_inset
3756
3757
3758 \begin_inset Flex Code
3759 status collapsed
3760
3761 \begin_layout Plain Layout
3762
3763 \family sans
3764 改行
3765 \end_layout
3766
3767 \end_inset
3768
3769
3770
3771 \family sans
3772 \series default
3773 \shape default
3774 \size default
3775 \emph default
3776 \bar default
3777 \noun default
3778 \color inherit
3779
3780 \begin_inset Flex Code
3781 status collapsed
3782
3783 \begin_layout Plain Layout
3784
3785 \family sans
3786 改頁
3787 \end_layout
3788
3789 \end_inset
3790
3791
3792 \family roman
3793 \series medium
3794 \shape up
3795 \size normal
3796 \emph off
3797 \bar no
3798 \noun off
3799 \color none
3800 などをたくさん挿入するなど,
3801 微調整オプションを
3802 \begin_inset Flex 圏点
3803 status open
3804
3805 \begin_layout Plain Layout
3806 悪用
3807 \end_layout
3808
3809 \end_inset
3810
3811 していませんか.適切な段落環境を使用する代わりに,
3812 これらを使用してその場をしのごうとしていませんか.
3813 \end_layout
3814
3815 \begin_layout Enumerate
3816
3817 \family roman
3818 \series medium
3819 \shape up
3820 \size normal
3821 \emph off
3822 \bar no
3823 \noun off
3824 \color none
3825 微調整オプションはまったく使用しておらず,
3826 規則に乗っ取って作業していたものとしましょう.何か曲芸のようなことをしようとはしていませんか.数式や表中で,
3827 たとえば表のセルに図を入れるなど,
3828 おかしなことをしようとしていませんか.
3829 \end_layout
3830
3831 \begin_layout Enumerate
3832 \SpecialChar LaTeX
3833 が改行位置を見つけられないほど長い一節がありませんか.既定では,
3834 改行するために単語間に空白をたくさん追加することを,
3835 \SpecialChar LaTeX
3836 はかなり嫌います.可能であれば,
3837 問題が生じないように段落を修正するのが望ましいでしょう.
3838 \end_layout
3839
3840 \begin_layout Enumerate
3841
3842 \family roman
3843 \series medium
3844 \shape up
3845 \size normal
3846 \emph off
3847 \bar no
3848 \noun off
3849 \color none
3850 入れ子の階層を深くしすぎていませんか.\SpecialChar LyX
3851 は,
3852 (今のところ)環境の入れ子の階層が制限内にあるかチェックしません.かりに,
3853 環境を17段の入れ子にしたりしていたら,
3854 それが原因です(\SpecialChar LaTeX
3855 の上限は5段です).
3856 \end_layout
3857
3858 \begin_layout Enumerate
3859
3860 \family roman
3861 \series medium
3862 \shape up
3863 \size normal
3864 \emph off
3865 \bar no
3866 \noun off
3867 \color none
3868 エラーメッセージは発生しないけれども,
3869 出力がひどいものとしましょう.図表が幅が広すぎたり長すぎてページに収まらない場合には,
3870
3871 \end_layout
3872
3873 \begin_deeper
3874 \begin_layout Enumerate
3875
3876 \family roman
3877 \series medium
3878 \shape up
3879 \size normal
3880 \emph off
3881 \bar no
3882 \noun off
3883 \color none
3884 図がページに合うように大きさを変える,
3885
3886 \end_layout
3887
3888 \begin_layout Enumerate
3889
3890 \family roman
3891 \series medium
3892 \shape up
3893 \size normal
3894 \emph off
3895 \bar no
3896 \noun off
3897 \color none
3898 表がページに合うように削る,
3899
3900 \end_layout
3901
3902 \begin_layout Standard
3903
3904 \family roman
3905 \series medium
3906 \shape up
3907 \size normal
3908 \emph off
3909 \bar no
3910 \noun off
3911 \color none
3912 などの手段を採る必要があります.
3913 \end_layout
3914
3915 \end_deeper
3916 \begin_layout Enumerate
3917 他に出力におかしいところがあり,
3918 曲芸をやろうとしたり微調整オプションでしのごうとしたりはしていないとすれば,
3919 何がおかしいのか確定的なことは言えません.
3920 \end_layout
3921
3922 \begin_layout Standard
3923
3924 \family roman
3925 \series medium
3926 \shape up
3927 \size normal
3928 \emph off
3929 \bar no
3930 \noun off
3931 \color none
3932 これらすべてが役に立たないとすれば,
3933
3934 \family default
3935 \series default
3936 \shape default
3937 \size default
3938 \emph on
3939 \bar default
3940 \noun default
3941 \color inherit
3942 ひょっとしたら
3943 \family roman
3944 \series medium
3945 \shape up
3946 \size normal
3947 \emph off
3948 \bar no
3949 \noun off
3950 \color none
3951 \SpecialChar LyX
3952 のバグを発見したのかもしれません‥‥.
3953 \end_layout
3954
3955 \begin_layout Chapter
3956 文書クラス
3957 \end_layout
3958
3959 \begin_layout Standard
3960 『ユーザーの手引き』で解説したとおり,
3961 \SpecialChar LaTeX
3962 はもともとarticleとreport,
3963 bookおよびletterの4つの標準文書クラスを提供していましたが,
3964 個人や組織,
3965 なかでも初期においては米国数学会が,
3966 文書クラスの幅の拡張に貢献してきました.本章では,
3967 外部的にメンテナンスされている主要なクラスについて,
3968 簡単に説明します.
3969 \family sans
3970 文書\SpecialChar menuseparator
3971 設定\SpecialChar menuseparator
3972 文書クラス
3973 \family default
3974
3975 \begin_inset space \thinspace{}
3976 \end_inset
3977
3978 ダイアログの
3979 \family sans
3980
3981 \begin_inset space \thinspace{}
3982 \end_inset
3983
3984 文書クラス
3985 \begin_inset space \thinspace{}
3986 \end_inset
3987
3988
3989 \family default
3990 プルダウンの一覧に「利用不能:
3991 」とマークされているものがありますが,
3992 これらを使用するためには,
3993 取扱説明書『カスタマイズ篇』の「文書クラスを新規に導入する」の章にある説明にしたがって導入する必要があります.
3994 \end_layout
3995
3996 \begin_layout Section
3997 コレクション
3998 \begin_inset CommandInset label
3999 LatexCommand label
4000 name "sec:コレクション"
4001
4002 \end_inset
4003
4004
4005 \end_layout
4006
4007 \begin_layout Subsection
4008 AMS \SpecialChar LaTeX
4009 (米国数学会)
4010 \begin_inset CommandInset label
4011 LatexCommand label
4012 name "subsec:AMS-LaTeX"
4013
4014 \end_inset
4015
4016
4017 \end_layout
4018
4019 \begin_layout Standard
4020 \SpecialChar LyX
4021 がサポートする文書クラス
4022 \family sans
4023 article (AMS)
4024 \family default
4025
4026 \family sans
4027 book (AMS)
4028 \family default
4029 は,
4030 学会によってメンテナンスされています.これらの機能の使用法については,
4031 数式篇説明書と,
4032 学会ウェブサイト
4033 \begin_inset Flex URL
4034 status collapsed
4035
4036 \begin_layout Plain Layout
4037
4038 http://www.ams.org/publications/authors/tex/amslatex
4039 \end_layout
4040
4041 \end_inset
4042
4043 に説明があります.以下の要約は,
4044 当初
4045 \noun on
4046 David Johnson
4047 \noun default
4048 によって提供され,
4049
4050 \noun on
4051 Richard Kimberly Heck
4052 \noun default
4053 と\SpecialChar LyX
4054 チームが改訂したものです.
4055 \begin_inset VSpace bigskip
4056 \end_inset
4057
4058
4059 \end_layout
4060
4061 \begin_layout Standard
4062 AMS \SpecialChar LaTeX
4063 レイアウトは,
4064 American Mathematical Society(アメリカ数学会)の刊行物に投稿する数学論文用のスタイルです.レイアウトは,
4065 特定の学術誌向けに仕立てられてはいませんが,
4066 簡単にそうすることができます.各学術誌毎の指示については,
4067 AMSの説明書をご参照ください(通常は,
4068 \SpecialChar TeX
4069 出力中の一行を変更する必要があるだけです).AMSの説明書は,
4070 ウェブWeb上の
4071 \begin_inset Flex URL
4072 status open
4073
4074 \begin_layout Plain Layout
4075
4076 http://www.ams.org
4077 \end_layout
4078
4079 \end_inset
4080
4081 か,
4082 FTPで
4083 \begin_inset Flex URL
4084 status open
4085
4086 \begin_layout Plain Layout
4087
4088 ftp://ftp.ams.org/pub/tex/amslatex/
4089 \end_layout
4090
4091 \end_inset
4092
4093 から入手することができます.これらのレイアウトは,
4094 数学的な文章を書くのであれば,
4095 どんなときでも適切かつ有用であるはずです.
4096 \end_layout
4097
4098 \begin_layout Standard
4099 基本となるAMS \SpecialChar LaTeX
4100 レイアウトには,
4101 以下の三つがあります.
4102 \end_layout
4103
4104 \begin_layout Itemize
4105 amsart:
4106 標準AMS article書式.
4107 \family sans
4108 ファイル\SpecialChar menuseparator
4109 用例を開く\SpecialChar menuseparator
4110 論文\SpecialChar menuseparator
4111 American Mathematical Society (AMS)
4112 \begin_inset space \thinspace{}
4113 \end_inset
4114
4115
4116 \family default
4117 を参照.
4118 \end_layout
4119
4120 \begin_layout Itemize
4121 amsbook:
4122 標準AMS book(実際はモノグラフ)書式.
4123 \family sans
4124 ファイル\SpecialChar menuseparator
4125 用例を開く\SpecialChar menuseparator
4126 書籍\SpecialChar menuseparator
4127 American Mathematical Society (AMS)
4128 \begin_inset space \thinspace{}
4129 \end_inset
4130
4131
4132 \family default
4133 を参照.
4134 \end_layout
4135
4136 \begin_layout Itemize
4137 amsproc:
4138 標準AMS学会報書式.
4139 \end_layout
4140
4141 \begin_layout Standard
4142 \SpecialChar LyX
4143 は,
4144 これらの最初の2つをネイティブにサポートしています.
4145 \family sans
4146 amsproc
4147 \family default
4148 を利用したい場合には,
4149 取扱説明書『カスタマイズ篇』の「文書クラスを新規に導入する」の章を参照してください.
4150 \end_layout
4151
4152 \begin_layout Standard
4153 これらのレイアウトには,
4154 それ自身では,
4155 AMSクラスを使用するのに必要最低限のものしか含まれていません.特に,
4156 定理や補題などを設定するのに使用される「theorem」環境は,
4157 何一つ含まれていません.これらは,
4158 代わりに
4159 \begin_inset Flex Code
4160 status collapsed
4161
4162 \begin_layout Plain Layout
4163 AMS定理
4164 \end_layout
4165
4166 \end_inset
4167
4168 モジュールに収録されており,
4169 AMSクラスのいずれかを選択すると,
4170 このモジュールが既定で読み込まれるようになっています(これは別のクラスでも使用することができ,
4171 別のものに変えたいときは取り除くこともできます).少し使用頻度の低いものとしては,
4172
4173 \begin_inset Flex Code
4174 status collapsed
4175
4176 \begin_layout Plain Layout
4177 AMS定理(拡張)
4178 \end_layout
4179
4180 \end_inset
4181
4182 モジュールがあり,
4183 これは手動で読み込む必要があります.
4184 \end_layout
4185
4186 \begin_layout Standard
4187 既定では,
4188 定理類は,
4189 文書を通して連番が振られますが,
4190 これは
4191 \begin_inset Flex Code
4192 status collapsed
4193
4194 \begin_layout Plain Layout
4195 標準定理(節毎連番)
4196 \end_layout
4197
4198 \end_inset
4199
4200 モジュールを読み込めば変更することができ,
4201
4202 \begin_inset Flex Code
4203 status collapsed
4204
4205 \begin_layout Plain Layout
4206 book (AMS)
4207 \end_layout
4208
4209 \end_inset
4210
4211 を使用している場合には
4212 \begin_inset Flex Code
4213 status collapsed
4214
4215 \begin_layout Plain Layout
4216 標準定理(章毎連番)
4217 \end_layout
4218
4219 \end_inset
4220
4221 を用いても変更することができます.これらを用いると,
4222 出力は
4223 \begin_inset Formula $n.m$
4224 \end_inset
4225
4226 のようになり,
4227 最初の数字は節番号(または章番号),
4228 次の数字はそれまで同節内(章内)に現れた出力の全数を表します.大半の環境は,
4229 連番なしでも用いることができます.連番なしのものは,
4230 環境名の後ろにアスタリスクを付けたもので表されます.連番なしの出力
4231 \emph on
4232 のみ
4233 \emph default
4234 が欲しい場合には,
4235
4236 \begin_inset Flex Code
4237 status collapsed
4238
4239 \begin_layout Plain Layout
4240 標準定理(連番なし)
4241 \end_layout
4242
4243 \end_inset
4244
4245 モジュールを用います.
4246 \end_layout
4247
4248 \begin_layout Standard
4249 これらのモジュールは,
4250 AMSクラスで使用する
4251 \begin_inset Flex 圏点
4252 status open
4253
4254 \begin_layout Plain Layout
4255 必要はない
4256 \end_layout
4257
4258 \end_inset
4259
4260 ことに注意してください.
4261 \begin_inset Flex Code
4262 status collapsed
4263
4264 \begin_layout Plain Layout
4265 AMS定理
4266 \end_layout
4267
4268 \end_inset
4269
4270 モジュールや上述の他のモジュールは,
4271 他のクラス,
4272 たとえば
4273 \begin_inset Flex Code
4274 status collapsed
4275
4276 \begin_layout Plain Layout
4277 Article (標準クラス)
4278 \end_layout
4279
4280 \end_inset
4281
4282
4283 \begin_inset Flex Code
4284 status collapsed
4285
4286 \begin_layout Plain Layout
4287 Report (標準クラス)
4288 \end_layout
4289
4290 \end_inset
4291
4292
4293 \begin_inset Flex Code
4294 status collapsed
4295
4296 \begin_layout Plain Layout
4297 KOMA-script Book
4298 \end_layout
4299
4300 \end_inset
4301
4302 などで問題なく使用することができます.
4303 \end_layout
4304
4305 \begin_layout Subsubsection
4306 これらのレイアウトが提供するもの
4307 \end_layout
4308
4309 \begin_layout Standard
4310 これらのレイアウトが提供している環境を列挙すると,
4311 長い一覧となります.AMS-\SpecialChar LaTeX
4312 では,
4313 実のところ,
4314 「theorem」環境の派生型を際限なく定義していくことが可能です.しかし,
4315 AMSは,
4316 \SpecialChar LyX
4317 で利用可能になっている環境のみを使用することを推奨しています.
4318 \end_layout
4319
4320 \begin_layout Standard
4321 \begin_inset Flex Code
4322 status collapsed
4323
4324 \begin_layout Plain Layout
4325 article (AMS)
4326 \end_layout
4327
4328 \end_inset
4329
4330
4331 \begin_inset Flex Code
4332 status collapsed
4333
4334 \begin_layout Plain Layout
4335 book (AMS)
4336 \end_layout
4337
4338 \end_inset
4339
4340 には,
4341
4342
4343
4344 \begin_inset space ~
4345 \end_inset
4346
4347
4348 \begin_inset Flex Noun
4349 status collapsed
4350
4351 \begin_layout Plain Layout
4352
4353 \end_layout
4354
4355 \end_inset
4356
4357
4358 \begin_inset Flex Noun
4359 status collapsed
4360
4361 \begin_layout Plain Layout
4362 書誌情報
4363 \end_layout
4364
4365 \end_inset
4366
4367
4368 \begin_inset Flex Noun
4369 status collapsed
4370
4371 \begin_layout Plain Layout
4372 タイトル
4373 \end_layout
4374
4375 \end_inset
4376
4377
4378 \begin_inset Flex Noun
4379 status collapsed
4380
4381 \begin_layout Plain Layout
4382 著者
4383 \end_layout
4384
4385 \end_inset
4386
4387
4388 \begin_inset Flex Noun
4389 status collapsed
4390
4391 \begin_layout Plain Layout
4392 日付
4393 \end_layout
4394
4395 \end_inset
4396
4397 のような標準環境の他に
4398 \begin_inset space ~
4399 \end_inset
4400
4401
4402
4403
4404 \begin_inset space ~
4405 \end_inset
4406
4407 以下の環境があります.
4408 \end_layout
4409
4410 \begin_layout Description
4411 住所 これは著者の恒久的な住所です.
4412 \end_layout
4413
4414 \begin_layout Description
4415 現在の住所 住所と別に指定されているときには,
4416 著者の投稿時の仮初めの住所です.
4417 \end_layout
4418
4419 \begin_layout Description
4420 電子メール 著者の電子メールアドレス
4421 \end_layout
4422
4423 \begin_layout Description
4424 URL 著者のウェブアドレス.任意.
4425 \end_layout
4426
4427 \begin_layout Description
4428 キーワード 論文中で論じられているトピックを識別するためのキーワードやキーフレーズ.
4429 \end_layout
4430
4431 \begin_layout Description
4432 分野分類 
4433 \emph on
4434 Mathematical Reviews
4435 \emph default
4436 に説明が公表されているAMS Subject Classificationsの分類番号を指します.上述したAMSのウェブサイトでも,
4437 オンラインで見ることができます.
4438 \end_layout
4439
4440 \begin_layout Description
4441 謝辞
4442 \end_layout
4443
4444 \begin_layout Description
4445 献呈
4446 \end_layout
4447
4448 \begin_layout Description
4449 翻訳者
4450 \end_layout
4451
4452 \begin_layout Standard
4453 以下の環境は,
4454
4455 \begin_inset Flex Code
4456 status collapsed
4457
4458 \begin_layout Plain Layout
4459 標準定理
4460 \end_layout
4461
4462 \end_inset
4463
4464 モジュールと
4465 \begin_inset Flex Code
4466 status collapsed
4467
4468 \begin_layout Plain Layout
4469 AMS定理
4470 \end_layout
4471
4472 \end_inset
4473
4474 モジュールの両方で提供され,
4475 後者の場合には,
4476 星付き(連番なし)版と星なし(連番)版の両方が提供されます.
4477 \begin_inset Flex Code
4478 status collapsed
4479
4480 \begin_layout Plain Layout
4481 標準定理(連番なし)
4482 \end_layout
4483
4484 \end_inset
4485
4486 モジュールでは,
4487 同環境の星付き版だけが提供されます.
4488 \end_layout
4489
4490 \begin_layout Theorem
4491 これは,
4492 通常,
4493 得られた主要な結果を叙述するのに使用されます.
4494 \end_layout
4495
4496 \begin_layout Corollary*
4497 これは直前の叙述から比較的直接に導き出せる結果を叙述するのに使います.これも主要な結果であることがあります.
4498 \end_layout
4499
4500 \begin_layout Lemma
4501 他の叙述を証明するために必要とされる,
4502 比較的小さな結果です.
4503 \end_layout
4504
4505 \begin_layout Proposition
4506 議論されている一般的な理論に(希望的には)何かを付け加えるような,
4507 主要ではない結果です.
4508 \end_layout
4509
4510 \begin_layout Conjecture
4511 正当化を与えずに述べられた叙述で,
4512 著者には証明法がわからないけれども,
4513 正しいと(少なくとも著者にとっては)思われるものです.
4514 \end_layout
4515
4516 \begin_layout Definition*
4517 これは自明でしょう.この環境のフォントは,
4518 前述の環境とは異なるフォントが使用されます.
4519 \end_layout
4520
4521 \begin_layout Example*
4522 証明された結果の例を叙述するのに使用されます.
4523 \end_layout
4524
4525 \begin_layout Problem
4526 これが何を指すかは必ずしも特定されていません.ご自分で解明してください.
4527 \end_layout
4528
4529 \begin_layout Exercise*
4530 この環境の説明を記述せよ.
4531 \end_layout
4532
4533 \begin_layout Note
4534 この環境もtheorem型,
4535 通常は重要性の低い所見に用いられます.
4536 \end_layout
4537
4538 \begin_layout Claim*
4539 より大きな結果の証明を与える途中で,
4540 しばしば用いられます.
4541 \end_layout
4542
4543 \begin_layout Case
4544 一般的に,
4545 これらはある条件の特定の場合を取り上げて,
4546 長い議論を区切るのに用いられます.
4547 \end_layout
4548
4549 \begin_layout Case
4550 ケースの連番の枠組みは,
4551 それ自身で独立していて,
4552 他の連番の叙述とは区別されます.
4553 \end_layout
4554
4555 \begin_layout Proof
4556 この環境の最後には,
4557 証了記号(通常は四角ですがスタイルによって変わります)が置かれます.この環境の中に別の環境を入れたい—
4558
4559 たとえばケース環境など—
4560
4561 場合で,
4562 証了記号は証明環境の終わりにのみ現れるようにしたい場合には,
4563 他の環境は証明環境の中に入れ子にしなくてはなりません.入れ子に関する情報については,
4564 『ユーザーの手引き』の「環境を入れ子にする」の節をご覧ください.
4565 \end_layout
4566
4567 \begin_layout Fact
4568 命題と同様の用いられ方をしますが,
4569 だいたい長くないものに使われるようです.
4570 \end_layout
4571
4572 \begin_layout Standard
4573 そして,
4574 以下は
4575 \begin_inset Flex Code
4576 status collapsed
4577
4578 \begin_layout Plain Layout
4579 AMS定理(拡張)
4580 \end_layout
4581
4582 \end_inset
4583
4584 で提供されるものです.
4585 \end_layout
4586
4587 \begin_layout Criterion*
4588 必要とされる条件です.
4589 \end_layout
4590
4591 \begin_layout Algorithm*
4592 使用する一般的手順です.
4593 \end_layout
4594
4595 \begin_layout Axiom*
4596 議論されている系内部で真と仮定される性質や命題です.
4597 \end_layout
4598
4599 \begin_layout Condition*
4600 議論の現在の文脈で仮定されている条件を述べるのに,
4601 よく用いられます.
4602 \end_layout
4603
4604 \begin_layout Note*
4605 注記と同様です.
4606 \end_layout
4607
4608 \begin_layout Notation*
4609 表記法の説明に用いられます.
4610 \end_layout
4611
4612 \begin_layout Summary
4613 本当に説明する必要がありますか?
4614
4615 \end_layout
4616
4617 \begin_layout Conclusion*
4618 長い議論の終わりに時々用いられます.
4619 \end_layout
4620
4621 \begin_layout Assumption*
4622 仮定
4623 \end_layout
4624
4625 \begin_layout Question*
4626 問い
4627 \end_layout
4628
4629 \begin_layout Standard
4630 数式モジュールには,
4631
4632 \family sans
4633 (\SpecialChar ldots
4634 種類別連番)
4635 \family default
4636 の形のオプションで提供されているものを含み,
4637 他に10個のモジュールがあります.
4638 \end_layout
4639
4640 \begin_layout Standard
4641 さらに,
4642 AMSクラスは,
4643 AMS \SpecialChar LaTeX
4644 パッケージとAMSフォントパッケージを自動的に提供します.これらの環境を使用するためには,
4645 お使いのシステム上で利用可能となっている必要があります.
4646 \end_layout
4647
4648 \begin_layout Subsection
4649 追加フォント寸法
4650 \begin_inset CommandInset label
4651 LatexCommand label
4652 name "subsec:追加フォント寸法"
4653
4654 \end_inset
4655
4656
4657 \end_layout
4658
4659 \begin_layout Standard
4660 「追加フォント寸法」コレクションは,
4661
4662 \family sans
4663 Article
4664 \begin_inset space \thinspace{}
4665 \end_inset
4666
4667 (フォント寸法を追加した標準クラス)
4668 \family default
4669
4670 \family sans
4671 Book
4672 \begin_inset space \thinspace{}
4673 \end_inset
4674
4675 (フォント寸法を追加した標準クラス)
4676 \family default
4677
4678
4679 \family sans
4680 Letter
4681 \begin_inset space \thinspace{}
4682 \end_inset
4683
4684 (フォント寸法を追加した標準クラス)
4685 \family default
4686
4687
4688 \family sans
4689 Report
4690 \begin_inset space \thinspace{}
4691 \end_inset
4692
4693 (フォント寸法を追加した標準クラス)
4694 \family default
4695 の各文書クラスを提供しています.これらは,
4696 それぞれ
4697 \family typewriter
4698 article.cls
4699 \family default
4700 および 
4701 \family typewriter
4702 book.cls
4703 \family default
4704
4705
4706 \family typewriter
4707 letter.cls
4708 \family default
4709
4710
4711 \family typewriter
4712 report.cls
4713 \family default
4714 の各文書クラスを使用しますが,
4715
4716 \family sans
4717 文書\SpecialChar menuseparator
4718 設定\SpecialChar menuseparator
4719 フォント
4720 \begin_inset space \thinspace{}
4721 \end_inset
4722
4723
4724 \family default
4725 ダイアログにある
4726 \family sans
4727 基本寸法
4728 \family default
4729 の選択肢として8・9・14・17・20が追加されます.
4730 \end_layout
4731
4732 \begin_layout Subsection
4733 ヘブライ語
4734 \end_layout
4735
4736 \begin_layout Standard
4737 文書クラスの
4738 \family sans
4739 ヘブライ語Article
4740 \family default
4741
4742 \family sans
4743 ヘブライ語Letter
4744 \family default
4745 は,
4746
4747 \family sans
4748 article.cls
4749 \family default
4750
4751 \family sans
4752 letter.cls
4753 \family default
4754 文書クラスを用いて,
4755 \SpecialChar LyX
4756 でヘブライ語の利用を可能とします.
4757 \end_layout
4758
4759 \begin_layout Subsection
4760 日本語
4761 \family sans
4762
4763 \begin_inset space \thinspace{}
4764 \end_inset
4765
4766 (
4767 \series bold
4768 標準クラス
4769 \series default
4770 )
4771 \family default
4772
4773 \begin_inset CommandInset label
4774 LatexCommand label
4775 name "subsec:日本語"
4776
4777 \end_inset
4778
4779
4780 \end_layout
4781
4782 \begin_layout Standard
4783 \SpecialChar LyX
4784 には,
4785 日本語文書の組版を可能にするためのいくつかのシリーズが収められています.これらのシリーズは,
4786 異なる時期に開発されたため,
4787 サポートする組版エンジンや機能が異なっています.このコレクションは最も古いものです.これは,
4788 横書きと縦書きの日本の組版要求に合うように,
4789 \SpecialChar LaTeX
4790 標準クラスを調整したものです.このコレクションには,
4791
4792 \family sans
4793 日本語Article
4794 \begin_inset space \thinspace{}
4795 \end_inset
4796
4797 (標準クラス)
4798 \family default
4799
4800
4801 \family sans
4802 日本語Article
4803 \begin_inset space \thinspace{}
4804 \end_inset
4805
4806 (標準クラス:
4807 縦書き)
4808 \family default
4809
4810
4811 \family sans
4812 日本語Book
4813 \begin_inset space \thinspace{}
4814 \end_inset
4815
4816 (標準クラス)
4817 \family default
4818
4819
4820 \family sans
4821 日本語Book
4822 \begin_inset space \thinspace{}
4823 \end_inset
4824
4825 (標準クラス:
4826 縦書き)
4827 \family default
4828
4829
4830 \family sans
4831 日本語Report
4832 \begin_inset space \thinspace{}
4833 \end_inset
4834
4835 (標準クラス)
4836 \family default
4837
4838
4839 \family sans
4840 日本語Report
4841 \begin_inset space \thinspace{}
4842 \end_inset
4843
4844 (標準クラス:
4845 縦書き)
4846 \family default
4847 が収録されており,
4848 すべて日本語用に仕立てられた「古典的」エンジンであるp\SpecialChar LaTeX
4849 とup\SpecialChar LaTeX
4850 で動作します.
4851 \end_layout
4852
4853 \begin_layout Standard
4854 より近代的なLua\SpecialChar LaTeX
4855 組版エンジンで使用するために,
4856 コレクションには,
4857
4858 \family sans
4859 luatexja
4860 \family default
4861  \SpecialChar LaTeX
4862 パッケージによって提供される,
4863 専用の
4864 \family sans
4865 日本語Article
4866 \begin_inset space \thinspace{}
4867 \end_inset
4868
4869 (LuaTeX用標準クラス),
4870 日本語Article
4871 \begin_inset space \thinspace{}
4872 \end_inset
4873
4874 (LuaTeX用標準クラス:
4875 縦書き),
4876 日本語Book
4877 \begin_inset space \thinspace{}
4878 \end_inset
4879
4880 (LuaTeX用標準クラス)
4881 \family default
4882
4883
4884 \family sans
4885 日本語Book
4886 \begin_inset space \thinspace{}
4887 \end_inset
4888
4889 (LuaTeX用標準クラス:
4890 縦書き)
4891 \family default
4892
4893
4894 \family sans
4895 日本語Report
4896 \begin_inset space \thinspace{}
4897 \end_inset
4898
4899 (LuaTeX用標準クラス)
4900 \family default
4901
4902
4903 \family sans
4904 日本語Report
4905 \begin_inset space \thinspace{}
4906 \end_inset
4907
4908 (LuaTeX用標準クラス:
4909 縦書き)
4910 \family default
4911 が納められています.
4912 \end_layout
4913
4914 \begin_layout Standard
4915 Lua\SpecialChar LaTeX
4916 クラス用のひな型が,
4917
4918 \family sans
4919 ファイル\SpecialChar menuseparator
4920 新規(ひな型使用)
4921 \family default
4922
4923 \begin_inset space \thinspace{}
4924 \end_inset
4925
4926
4927 \family sans
4928 論文
4929 \family default
4930
4931 \family sans
4932 書籍
4933 \family default
4934
4935 \family sans
4936 レポート
4937 \family default
4938 の各カテゴリにあります.
4939 \end_layout
4940
4941 \begin_layout Subsection
4942 日本語
4943 \family sans
4944
4945 \begin_inset space \thinspace{}
4946 \end_inset
4947
4948 (JSシリーズ)
4949 \begin_inset CommandInset label
4950 LatexCommand label
4951 name "subsec:日本語-JS"
4952
4953 \end_inset
4954
4955
4956 \end_layout
4957
4958 \begin_layout Standard
4959 このコレクションには,
4960
4961 \family sans
4962 日本語
4963 \begin_inset space \thinspace{}
4964 \end_inset
4965
4966 (標準クラス)
4967 \family default
4968 に収録されているクラスの改善版が収められています(第
4969 \begin_inset CommandInset ref
4970 LatexCommand ref
4971 reference "subsec:日本語"
4972 plural "false"
4973 caps "false"
4974 noprefix "false"
4975 nolink "false"
4976
4977 \end_inset
4978
4979 節参照).これには,
4980
4981 \family sans
4982 日本語Article
4983 \begin_inset space \thinspace{}
4984 \end_inset
4985
4986 (JSシリーズ)
4987 \family default
4988
4989 \family sans
4990 日本語Book
4991 \begin_inset space \thinspace{}
4992 \end_inset
4993
4994 (JSシリーズ)
4995 \family default
4996
4997
4998 \family sans
4999 日本語Report
5000 \begin_inset space \thinspace{}
5001 \end_inset
5002
5003 (JSシリーズ)
5004 \family default
5005 が収録されています.Reportクラスは,
5006
5007 \family sans
5008 日本語Book
5009 \begin_inset space \thinspace{}
5010 \end_inset
5011
5012 (JSシリーズ)
5013 \family default
5014 を使用して,
5015
5016 \family sans
5017 文書\SpecialChar menuseparator
5018 設定\SpecialChar menuseparator
5019 文書クラス\SpecialChar menuseparator
5020 クラスオプション\SpecialChar menuseparator
5021 詳細設定
5022 \family default
5023
5024 \begin_inset space \thinspace{}
5025 \end_inset
5026
5027
5028 \begin_inset space \thinspace{}
5029 \end_inset
5030
5031
5032 \family sans
5033 report
5034 \family default
5035
5036 \begin_inset space \thinspace{}
5037 \end_inset
5038
5039 オプションを指定してください.これらのクラスは,
5040 すべて日本語向けの「古典的」エンジンであるp\SpecialChar LaTeX
5041 とup\SpecialChar LaTeX
5042 で動作します.
5043 \end_layout
5044
5045 \begin_layout Standard
5046 Lua\SpecialChar LaTeX
5047 クラス用のひな型が,
5048
5049 \family sans
5050 ファイル\SpecialChar menuseparator
5051 新規(ひな型使用)
5052 \family default
5053
5054 \begin_inset space \thinspace{}
5055 \end_inset
5056
5057
5058 \family sans
5059 論文
5060 \family default
5061
5062 \family sans
5063 書籍
5064 \family default
5065
5066 \family sans
5067 レポート
5068 \family default
5069 の各カテゴリにあります.
5070 \end_layout
5071
5072 \begin_layout Subsection
5073 日本語
5074 \family sans
5075
5076 \begin_inset space \thinspace{}
5077 \end_inset
5078
5079 (BXシリーズ)
5080 \begin_inset CommandInset label
5081 LatexCommand label
5082 name "subsec:日本語-BX"
5083
5084 \end_inset
5085
5086
5087 \end_layout
5088
5089 \begin_layout Standard
5090 このシリーズには,
5091 日本語文書のためのもう一つの文書クラスである,
5092
5093 \family sans
5094 日本語Article
5095 \begin_inset space \thinspace{}
5096 \end_inset
5097
5098 (BXシリーズ)
5099 \family default
5100 文書クラス・
5101 \family sans
5102 日本語Book
5103 \begin_inset space \thinspace{}
5104 \end_inset
5105
5106 (BXシリーズ)
5107 \family default
5108 文書クラス・
5109 \family sans
5110 日本語Report
5111 \begin_inset space \thinspace{}
5112 \end_inset
5113
5114 (BXシリーズ)
5115 \family default
5116 文書クラスが含まれています.さらに,
5117 プレゼンテーション・スライド用の
5118 \family sans
5119 日本語Slide
5120 \begin_inset space \thinspace{}
5121 \end_inset
5122
5123 (BXシリーズ)
5124 \family default
5125 文書クラスも収録されています.素の状態ではp\SpecialChar LaTeX
5126 とup\SpecialChar LaTeX
5127 のみをサポートする標準クラスやJSシリーズと違って(第
5128 \begin_inset CommandInset ref
5129 LatexCommand ref
5130 reference "subsec:日本語"
5131 plural "false"
5132 caps "false"
5133 noprefix "false"
5134 nolink "false"
5135
5136 \end_inset
5137
5138 節および第
5139 \begin_inset CommandInset ref
5140 LatexCommand ref
5141 reference "subsec:日本語-JS"
5142 plural "false"
5143 caps "false"
5144 noprefix "false"
5145 nolink "false"
5146
5147 \end_inset
5148
5149 節参照;
5150 Lua\SpecialChar LaTeX
5151 は 
5152 \family sans
5153 luatexja
5154 \family default
5155  \SpecialChar LaTeX
5156 パッケージで追加されるクラスのみを通じてサポート),
5157 このシリーズのクラスは,
5158 日本語組版能力を提供する適切なパッケージを使用して,
5159 pdf\SpecialChar LaTeX
5160 ・Xe\SpecialChar LaTeX
5161 ・Lua\SpecialChar LaTeX
5162 も直接サポートします.
5163 \end_layout
5164
5165 \begin_layout Subsection
5166 日本語
5167 \family sans
5168
5169 \begin_inset space \thinspace{}
5170 \end_inset
5171
5172 (JLReqクラス)
5173 \begin_inset CommandInset label
5174 LatexCommand label
5175 name "subsec:日本語-JLReq"
5176
5177 \end_inset
5178
5179
5180 \end_layout
5181
5182 \begin_layout Standard
5183 このシリーズは,
5184 World Wide Webコンソーシアム(W3C,
5185
5186 \begin_inset Flex URL
5187 status collapsed
5188
5189 \begin_layout Plain Layout
5190
5191 https://www.w3.org/TR/jlreq/?lang=en
5192 \end_layout
5193
5194 \end_inset
5195
5196 を参照)が設定した「日本語組版処理の要件」の標準にしたがった
5197 \family sans
5198 jlreq
5199 \family default
5200 クラスに依拠しています.p\SpecialChar LaTeX
5201 とup\SpecialChar LaTeX
5202 だけでなく,
5203 Lua\SpecialChar LaTeX
5204 でも使用できます.
5205 \end_layout
5206
5207 \begin_layout Standard
5208 \SpecialChar LyX
5209 では,
5210
5211 \family sans
5212 jlreq
5213 \family default
5214  \SpecialChar LaTeX
5215 クラスにクラスオプションを指定して構成された
5216 \family sans
5217 日本語Article
5218 \begin_inset space \thinspace{}
5219 \end_inset
5220
5221 (JLReqクラス)
5222 \family default
5223
5224 \family sans
5225 日本語Book
5226 \begin_inset space \thinspace{}
5227 \end_inset
5228
5229 (JLReqクラス)
5230 \family default
5231
5232 \family sans
5233 日本語Report
5234 \begin_inset space \thinspace{}
5235 \end_inset
5236
5237 (JLReqクラス)
5238 \family default
5239 の各レイアウトを提供しています.
5240 \end_layout
5241
5242 \begin_layout Standard
5243 用例Article文書が,
5244
5245 \family sans
5246 ファイル\SpecialChar menuseparator
5247 用例を開く\SpecialChar menuseparator
5248 論文\SpecialChar menuseparator
5249 日本語Article
5250 \begin_inset space \thinspace{}
5251 \end_inset
5252
5253 (JLReqクラス)
5254 \begin_inset space \thinspace{}
5255 \end_inset
5256
5257
5258 \family default
5259 にあり,
5260 英語版解説文書が
5261 \begin_inset Flex URL
5262 status collapsed
5263
5264 \begin_layout Plain Layout
5265
5266 http://mirrors.ctan.org/macros/jptex/latex/jlreq/jlreq.pdf
5267 \end_layout
5268
5269 \end_inset
5270
5271 にあります(日本語版は
5272 \begin_inset Flex URL
5273 status collapsed
5274
5275 \begin_layout Plain Layout
5276
5277 https://ftp.kddilabs.jp/CTAN/macros/jptex/latex/jlreq/jlreq-ja.pdf
5278 \end_layout
5279
5280 \end_inset
5281
5282 ).
5283 \end_layout
5284
5285 \begin_layout Subsection
5286 Koma-Script
5287 \begin_inset CommandInset label
5288 LatexCommand label
5289 name "subsec:Koma-Script"
5290
5291 \end_inset
5292
5293
5294 \end_layout
5295
5296 \begin_layout Standard
5297
5298 \noun on
5299 Bernd Rellermeyer
5300 \noun default
5301 原文;
5302
5303 \noun on
5304 J
5305 \begin_inset ERT
5306 status collapsed
5307
5308 \begin_layout Plain Layout
5309
5310
5311 \backslash
5312 :{U}
5313 \end_layout
5314
5315 \end_inset
5316
5317 rgen Spitzm
5318 \begin_inset ERT
5319 status collapsed
5320
5321 \begin_layout Plain Layout
5322
5323
5324 \backslash
5325 :{U}
5326 \end_layout
5327
5328 \end_inset
5329
5330 ller
5331 \noun default
5332 および\SpecialChar LyX
5333 チームにより改訂
5334 \end_layout
5335
5336 \begin_layout Subsubsection
5337 概要
5338 \end_layout
5339
5340 \begin_layout Standard
5341 KOMA-Script文書クラスコレクションは,
5342 1990年代初めにFrank Neukamによって作られたスクリプトクラスの成果です.公式には,
5343 1994年にletterクラスの追加を以て開始されました.Frank Neukamのクラスは,
5344 植字の原則によって触発され,
5345 それはKOMA-Scriptクラスのデザインに完全に統合されてきました.
5346 \end_layout
5347
5348 \begin_layout Standard
5349 \SpecialChar LyX
5350 の文書クラス
5351 \family sans
5352 KOMA-Script Article
5353 \family default
5354
5355 \family sans
5356 KOMA-Script Report
5357 \family default
5358
5359 \family sans
5360 KOMA-Script Book
5361 \family default
5362
5363 \family sans
5364 KOMA-Script Letter
5365 \family default
5366 は,
5367 それぞれKoma-Scriptファミリーの\SpecialChar LaTeX
5368 文書クラス
5369 \family typewriter
5370 scrartcl.cls
5371 \family default
5372
5373 \family typewriter
5374 scrreprt.cls
5375 \family default
5376
5377 \family typewriter
5378 scrbook.cls
5379 \family default
5380
5381 \family typewriter
5382 scrlettr.cls
5383 \family default
5384 に対応しています.これらは,
5385 標準文書クラス
5386 \family typewriter
5387 article.cls
5388 \family default
5389
5390 \family typewriter
5391 report.cls
5392 \family default
5393
5394 \family typewriter
5395 book.cls
5396 \family default
5397
5398 \family typewriter
5399 letter.cls
5400 \family default
5401 の代替物であり,
5402 これらよりも多くの点でヨーロッパに於ける活版印刷の慣例に合致します.
5403 \end_layout
5404
5405 \begin_layout Itemize
5406 KOMA-Scriptクラスを選択した際の基本文字寸法は,
5407
5408 \family sans
5409 KOMA-Script Article
5410 \family default
5411
5412 \family sans
5413 KOMA-Script Report
5414 \family default
5415
5416 \family sans
5417 KOMA-Script Book
5418 \family default
5419 で11pt,
5420
5421 \family sans
5422 KOMA-Script Letter
5423 \family default
5424 で12ptです.
5425 \end_layout
5426
5427 \begin_layout Itemize
5428 見出しや箇条書き(記述)環境のラベル,
5429 および
5430 \family sans
5431 KOMA-Script Letter
5432 \family default
5433 文書クラスの要素の多くでは,
5434 ボールド体サンセリフフォントが使われます
5435 \begin_inset Foot
5436 status collapsed
5437
5438 \begin_layout Plain Layout
5439 ボールド体サンセリフフォントには,
5440 古いcmフォントと新しいecフォントの間に大きな違いがあり,
5441 特に見出しの表示の違いが際立ちます.比較すると,
5442 ecボールドサンセリフフォントの方が,
5443 少し細く見えます.ecフォントを使用する際に「通常の」外観が欲しい場合には,
5444
5445 \shape smallcaps
5446 Walter Schmidt
5447 \shape default
5448 作の\SpecialChar LaTeX
5449 パッケージ
5450 \family typewriter
5451 cmsd.sty
5452 \family default
5453 が役立ちます.
5454 \end_layout
5455
5456 \end_inset
5457
5458 .章見出しの連番は,
5459 節見出しの連番と同様に行われ,
5460 別行立てで「 Chapter\SpecialChar ldots
5461 」という行がつきません.さらに,
5462 多くのオプションによって,
5463 見出しの外観を修正することができます(\SpecialChar LyX
5464 では,
5465
5466 \family sans
5467 文書\SpecialChar menuseparator
5468 設定
5469 \begin_inset space \thinspace{}
5470 \end_inset
5471
5472
5473 \family default
5474 ダイアログの
5475 \family sans
5476
5477 \begin_inset space \thinspace{}
5478 \end_inset
5479
5480 クラスオプション
5481 \begin_inset space \thinspace{}
5482 \end_inset
5483
5484
5485 \family default
5486 フィールドで指定します).これらのオプションの独語での詳細な説明が,
5487 Koma-Scriptの取扱説明書
5488 \emph on
5489 scrguide
5490 \emph default
5491 にあります.
5492 \end_layout
5493
5494 \begin_layout Itemize
5495 KOMA-Scriptのページレイアウトは,
5496 ページを帯状に分割するか,
5497 円を描くかの2つの伝統的な植字慣習のいずれかに従います.既定では,
5498 ページが水平及び垂直方向の帯に分割されていると考え,
5499 帯を余白に割り当て,
5500 残りの使われていない部分を本文領域に割り当てます.余白の大きさは,
5501 ページを帯に分割する因数を変更することによって,
5502 変えることができます.A4の既定値は9で,
5503 この因数を増加させると,
5504 より狭い帯になるので,
5505 余白が狭くなります.
5506 \end_layout
5507
5508 \begin_deeper
5509 \begin_layout Standard
5510 因数がどのような値であっても,
5511 2つの帯が両面文書の外側と下部の余白に割り当てられ,
5512 1つの帯が内側と上部の余白に割り当てられ,
5513 本文領域がページの真ん中の周りに残されます.ほとんどの両面文書は綴られるので,
5514 これは内側の余白が狭すぎるようにしてしまう可能性があります.そこで,
5515 帯の大きさが計算される前に,
5516 ページの綴り補正分を差し引くことができます.
5517 \end_layout
5518
5519 \begin_layout Standard
5520 Koma-Script文書クラスで,
5521 本文領域をデザインする主な方法は,
5522
5523 \family sans
5524 文書\SpecialChar menuseparator
5525 設定\SpecialChar menuseparator
5526 文書クラス\SpecialChar menuseparator
5527 クラスオプション\SpecialChar menuseparator
5528 詳細設定
5529 \family default
5530
5531 \begin_inset space \thinspace{}
5532 \end_inset
5533
5534
5535 \family sans
5536 BCOR
5537 \family default
5538 オプションまたは
5539 \family sans
5540 DIV
5541 \family default
5542 オプションを入力する方法です.
5543 \end_layout
5544
5545 \begin_layout Standard
5546 この文書では,
5547 綴り補正は7.5mmであり,
5548
5549 \family sans
5550 クラスオプション\SpecialChar menuseparator
5551 詳細設定
5552 \family default
5553
5554 \begin_inset space \thinspace{}
5555 \end_inset
5556
5557 ダイアログに
5558 \family typewriter
5559 BCOR7.5mm
5560 \family default
5561 と入力しています.たとえば,
5562 因数を11に変えるには,
5563
5564 \family sans
5565 詳細設定クラスオプション
5566 \family default
5567 にコンマ区切りの項目リストに
5568 \family typewriter
5569 DIV=11
5570 \family default
5571 を書き加えます.A4以外の用紙寸法におけるこの因数の既定値がほしければ,
5572
5573 \family typewriter
5574 DIV=calc
5575 \family default
5576 と書き加えます.
5577 \end_layout
5578
5579 \begin_layout Standard
5580 ページレイアウトの計算に円方式を採用したい場合には,
5581 代わりに
5582 \family typewriter
5583 DIV=classic
5584 \family default
5585 としてください.
5586 \end_layout
5587
5588 \end_deeper
5589 \begin_layout Itemize
5590 Koma-Scriptファミリーの\SpecialChar LaTeX
5591 文書クラスには,
5592 多くの追加コマンドが定義されています.それらのうち,
5593 \SpecialChar LyX
5594 で意味を持つものは,
5595 対応する段落環境として実装されています.
5596 \end_layout
5597
5598 \begin_layout Standard
5599 Koma-Scriptファミリーの\SpecialChar LaTeX
5600 文書クラスに関する独語の詳細な説明が,
5601 Koma-Script取扱説明書
5602 \emph on
5603 scrguide
5604 \emph default
5605 にあります
5606 \begin_inset Foot
5607 status collapsed
5608
5609 \begin_layout Plain Layout
5610 英語翻訳版の
5611 \emph on
5612 screnggu
5613 \emph default
5614 もありますが,
5615 完訳ではありません.
5616 \end_layout
5617
5618 \end_inset
5619
5620 .以下の各節では,
5621 \SpecialChar LyX
5622 に関係する側面のみ説明致します.
5623 \end_layout
5624
5625 \begin_layout Subsubsection
5626
5627 \emph on
5628 KOMA-Script Article
5629 \emph default
5630
5631 \emph on
5632 KOMA-Script Report
5633 \emph default
5634
5635 \emph on
5636 KOMA-Script Book
5637 \emph default
5638
5639 \begin_inset CommandInset label
5640 LatexCommand label
5641 name "subsec:article(KOMA-Script)"
5642
5643 \end_inset
5644
5645
5646 \end_layout
5647
5648 \begin_layout Standard
5649 文書クラス
5650 \emph on
5651 KOMA-Script Article
5652 \emph default
5653
5654 \emph on
5655 KOMA-Script Report
5656 \emph default
5657
5658 \emph on
5659 KOMA-Script Book
5660 \emph default
5661 は,
5662 それぞれレイアウトファイル
5663 \family typewriter
5664 scrartcl.layout
5665 \family default
5666
5667 \family typewriter
5668 scrreprt.layou
5669 \family default
5670 t・
5671 \family typewriter
5672 crbook.layout
5673 \family default
5674 によって実装されています.これらは,
5675 対応する標準文書クラス
5676 \emph on
5677 article
5678 \emph default
5679
5680 \emph on
5681 report
5682 \emph default
5683
5684 \emph on
5685 book
5686 \emph default
5687 の段落環境を,
5688 若干の修正を加えた上ですべて含んでいますが,
5689 \SpecialChar LyX
5690 固有の
5691 \family sans
5692 箇条書き(一覧)
5693 \family default
5694 環境は例外であり,
5695 同じ機能を持つ新しい
5696 \family sans
5697 ラベリング
5698 \family default
5699 環境で置き換えられています.この
5700 \family sans
5701 ラベリング
5702 \family default
5703 環境以外にも,
5704 新しい段落環境が多く追加されています.これらは,
5705
5706 \emph on
5707 letter (koma-script)
5708 \emph default
5709 には含まれていないのでご注意ください.
5710 \end_layout
5711
5712 \begin_layout Itemize
5713
5714 \family sans
5715 部(addpart)
5716 \family default
5717
5718 \family sans
5719 章(addchap)
5720 \family default
5721
5722 \family sans
5723 節(addsec)
5724 \family default
5725
5726 これらは,
5727 それぞれ
5728 \family sans
5729 部*
5730 \family default
5731
5732 \family sans
5733 章*
5734 \family default
5735
5736 \family sans
5737 節*
5738 \family default
5739 と同等の働きをしますが,
5740 加えて目次に項目が表示されるようになります.
5741 \family sans
5742 部(addpart)
5743 \family default
5744
5745 \family sans
5746 章(addchap)
5747 \family default
5748 は,
5749
5750 \emph on
5751 article (koma-script)
5752 \emph default
5753 には収録されていません.
5754 \end_layout
5755
5756 \begin_layout Itemize
5757
5758 \family sans
5759 章(addchap*)
5760 \family default
5761
5762 \family sans
5763 節(addsec*)
5764 \family default
5765
5766 これらは,
5767
5768 \family sans
5769 章(addchap
5770 \family default
5771 )と
5772 \family sans
5773 節(addsec)
5774 \family default
5775 とまったく同等に動作しますが,
5776 加えてランニングへッダを取り除きます.
5777 \family sans
5778 章(addchap*)
5779 \family default
5780 は,
5781  
5782 \emph on
5783 article (koma-script)
5784 \emph default
5785 には収録されていません
5786 \begin_inset Foot
5787 status collapsed
5788
5789 \begin_layout Plain Layout
5790
5791 \emph on
5792 book (koma-script)
5793 \emph default
5794
5795 \emph on
5796 report (koma-script)
5797 \emph default
5798 には,
5799
5800 \family typewriter
5801
5802 \backslash
5803 addpart*
5804 \family default
5805 コマンドもありますが,
5806 これは
5807 \family sans
5808 Part*
5809 \family default
5810 と同一なので,
5811 \SpecialChar LyX
5812 では実装されていません.
5813 \end_layout
5814
5815 \end_inset
5816
5817
5818 \end_layout
5819
5820 \begin_layout Itemize
5821
5822 \family sans
5823 小見出し(minisec)
5824 \family default
5825
5826 これは文書構造に現れない形で,
5827 続く段落の直上に標準文字寸法の見出しを付けます.
5828 \end_layout
5829
5830 \begin_layout Itemize
5831
5832 \family sans
5833 上部キャプション
5834 \family default
5835
5836 \family sans
5837 下部キャプション
5838 \family default
5839 は,
5840 ある要素の上部ないし下部にキャプションを配置する際,
5841 位置に応じて正しく余白取りを行う特別なキャプションです(組版規則に厳密に従うならば,
5842 表キャプションは,
5843 つねに表の上に置くべきでしょう).また,
5844 クラスオプション
5845 \family typewriter
5846 tablecaptionsabove
5847 \family default
5848 を用いれば,
5849 キャプションを指定すると,
5850 表には
5851 \family sans
5852 上部キャプション
5853 \family default
5854 が,
5855 図には
5856 \family sans
5857 下部キャプション
5858 \family default
5859 が適用されるようになります.これを使用するためには,
5860 Koma-Script第2.8q版以上が必要です.
5861 \end_layout
5862
5863 \begin_layout Itemize
5864
5865 \family sans
5866 格言(dictum)
5867 \family default
5868
5869 これは,
5870 章頭などに警句を置くのに用いることができます.オプション引数(
5871 \family sans
5872 挿入\SpecialChar menuseparator
5873 格言著者
5874 \family default
5875 )を用いれば,
5876 格言の作者を入れることができます.格言と作者の間は,
5877 線で区切られます.これを使用するためには,
5878 Koma-Script第2.8q版以上が必要です.
5879 \family sans
5880 格言(dictum)
5881 \family default
5882 は,
5883
5884 \emph on
5885 article (koma-script)
5886 \emph default
5887 には収録されていません.
5888 \end_layout
5889
5890 \begin_layout Standard
5891 以下の各環境は,
5892 標準の
5893 \family sans
5894 タイトル
5895 \family default
5896
5897 \family sans
5898 著者
5899 \family default
5900
5901 \family sans
5902 日付
5903 \family default
5904 とともに文書のタイトル領域を形成します.これらは,
5905 最初の「通常の」段落よりも前に置かれる必要があります
5906 \begin_inset Foot
5907 status collapsed
5908
5909 \begin_layout Plain Layout
5910 つまり,
5911 対応する\SpecialChar LaTeX
5912 コマンドが
5913 \family typewriter
5914
5915 \backslash
5916 maketitle
5917 \family default
5918 コマンドよりも前に現れなくてはなりません.
5919 \end_layout
5920
5921 \end_inset
5922
5923 .これらの環境が2度以上使用された場合には,
5924 後に使用されたものが前のものを上書きします.つまり最後に使用したもののみが有効になります.しかしながら,
5925
5926 \family sans
5927 タイトル
5928 \family default
5929
5930 \family sans
5931 著者
5932 \family default
5933
5934
5935 \family sans
5936 日付
5937 \family default
5938 のような異なる環境の順序を変更しても,
5939 生成された文書には何の効果も生じません.
5940 \end_layout
5941
5942 \begin_layout Itemize
5943
5944 \family sans
5945 主題
5946 \family default
5947
5948 通常のタイトル部(
5949 \family sans
5950 タイトル
5951 \family default
5952
5953 \family sans
5954 著者
5955 \family default
5956
5957 \family sans
5958 日付
5959 \family default
5960 )の上に,
5961 文書の主題用の中央揃えの段落を生成します.
5962 \end_layout
5963
5964 \begin_layout Itemize
5965
5966 \family sans
5967 出版社
5968 \family default
5969
5970 通常のタイトル部(
5971 \family sans
5972 タイトル
5973 \family default
5974
5975 \family sans
5976 著者
5977 \family default
5978
5979 \family sans
5980 日付
5981 \family default
5982 )の下に,
5983 出版社名用の中央揃えの段落を生成します.
5984 \end_layout
5985
5986 \begin_layout Itemize
5987
5988 \family sans
5989 献呈
5990 \family default
5991
5992
5993 \emph on
5994 report (koma-script)
5995 \emph default
5996
5997 \emph on
5998 book (koma-script)
5999 \emph default
6000 では,
6001 タイトル頁の次に,
6002 献辞用の中央揃えの段落を独立した頁として生成します.
6003 \emph on
6004 article (koma-script)
6005 \emph default
6006 の場合は,
6007 通常のタイトル部(
6008 \family sans
6009 タイトル
6010 \family default
6011
6012 \family sans
6013 著者
6014 \family default
6015
6016 \family sans
6017 日付
6018 \family default
6019 )の下に献辞用の中央揃えの段落を生成します.
6020 \end_layout
6021
6022 \begin_layout Itemize
6023
6024 \family sans
6025 タイトル頭書き
6026 \family default
6027
6028 通常のタイトル部(
6029 \family sans
6030 タイトル
6031 \family default
6032
6033 \family sans
6034 著者
6035 \family default
6036
6037 \family sans
6038 日付
6039 \family default
6040 )の上に,
6041 文書頭書き用の左揃えの段落を生成します.
6042 \end_layout
6043
6044 \begin_layout Itemize
6045
6046 \family sans
6047 扉裏上部
6048 \family default
6049
6050
6051 \emph on
6052 report (koma-script)
6053 \emph default
6054 や 
6055 \emph on
6056 book (koma-script)
6057 \emph default
6058 の両面印刷において,
6059 扉裏上部に左揃え段落を生成します.片面印刷や,
6060
6061 \emph on
6062 article (koma-script)
6063 \emph default
6064 では何の効果も生じません.
6065 \end_layout
6066
6067 \begin_layout Itemize
6068
6069 \family sans
6070 扉裏下部
6071 \family default
6072
6073
6074 \emph on
6075 report (koma-script)
6076 \emph default
6077 や 
6078 \emph on
6079 book (koma-script)
6080 \emph default
6081 の両面印刷において,
6082 扉裏下部に左揃え段落を生成します.片面印刷や,
6083
6084 \emph on
6085 article (koma-script)
6086 \emph default
6087 では何の効果も生じません.
6088 \end_layout
6089
6090 \begin_layout Itemize
6091
6092 \family sans
6093 追加タイトル
6094 \family default
6095
6096 実際の文書の前に,
6097 整形を行わない段落から成る,
6098 特殊な「汚い」ページを生成します.
6099 \end_layout
6100
6101 \begin_layout Standard
6102 KOMA-Scriptは,
6103
6104 \family sans
6105 文書\SpecialChar menuseparator
6106 設定\SpecialChar menuseparator
6107 文書クラス\SpecialChar menuseparator
6108 クラスオプション\SpecialChar menuseparator
6109 詳細設定
6110 \family default
6111
6112 \begin_inset space \thinspace{}
6113 \end_inset
6114
6115 ダイアログにおいて,
6116 幅広い
6117 \family sans
6118
6119 \begin_inset space \thinspace{}
6120 \end_inset
6121
6122 詳細設定クラスオプション
6123 \begin_inset space \thinspace{}
6124 \end_inset
6125
6126
6127 \family default
6128 を提供しており,
6129 文書全体に適用することができます.主要なものを挙げると,
6130
6131 \end_layout
6132
6133 \begin_layout Description
6134 draft=true 組版エラーの起こった全ての行末に小さな黒い四角を付記したPDFを生成します
6135 \end_layout
6136
6137 \begin_layout Description
6138 headings= 
6139 \family typewriter
6140 big
6141 \family default
6142 /
6143 \family typewriter
6144 normal
6145 \family default
6146 /
6147 \family typewriter
6148 small
6149 \family default
6150 の値を取り,
6151
6152 \family typewriter
6153 big
6154 \family default
6155
6156 \family typewriter
6157 small
6158 \family default
6159 は,
6160 既定値がふさわしくない場合に,
6161 ページ寸法を考慮に入れながら見出しの大きさを調整します
6162 \end_layout
6163
6164 \begin_layout Description
6165 numbers= 
6166 \family typewriter
6167 auto
6168 \family default
6169 (既定値)/
6170 \family typewriter
6171 enddot
6172 \family default
6173 /
6174 \family typewriter
6175 noenddot
6176 \family default
6177 の値を取り,
6178
6179 \family typewriter
6180 auto
6181 \family default
6182 は章や節番号等の後にピリオドを付けるかどうかをKOMA-Scriptに委ね,
6183
6184 \family typewriter
6185 enddot
6186 \family default
6187 は強制的にピリオドを付け,
6188
6189 \family typewriter
6190 noenddot
6191 \family default
6192 はピリオドを抑制します
6193 \end_layout
6194
6195 \begin_layout Standard
6196 また数式オプションとしては
6197 \end_layout
6198
6199 \begin_layout Description
6200 leqno 数式番号を右ではなく左側に付けます
6201 \end_layout
6202
6203 \begin_layout Description
6204 fleqn 数式を中央揃えではなく左揃えにします
6205 \end_layout
6206
6207 \begin_layout Standard
6208 KOMA-Scriptは,
6209 標準\SpecialChar LaTeX
6210 コマンドやパッケージとは別に,
6211 文書の出力に影響するコマンドも提供します.たとえば,
6212 キャプションをボールド体にしたければ,
6213
6214 \family sans
6215 文書\SpecialChar menuseparator
6216 設定\SpecialChar menuseparator
6217 \SpecialChar LaTeX
6218 プリアンブル
6219 \series bold
6220
6221 \begin_inset space \thinspace{}
6222 \end_inset
6223
6224
6225 \family default
6226 \series default
6227
6228 \end_layout
6229
6230 \begin_layout Standard
6231
6232 \family typewriter
6233
6234 \backslash
6235 setkomafont{captionlabel}{
6236 \backslash
6237 bfseries}
6238 \end_layout
6239
6240 \begin_layout Standard
6241 と書き加えれば実現できます.
6242 \end_layout
6243
6244 \begin_layout Standard
6245 書籍を執筆中であれば,
6246 かりそめのページ番号をローマ数字で入れ,
6247 この部分の章に番号を振らないことは普通にあります.章*環境を用いてしまうと,
6248 巻頭言と序文は目次に現れません.目次に現れるようにするには,
6249 章環境を用いて,
6250 書籍の先頭に(\SpecialChar LaTeX
6251 プリアンブルではなく) \SpecialChar TeX
6252 コードで
6253 \end_layout
6254
6255 \begin_layout Standard
6256
6257 \family typewriter
6258
6259 \backslash
6260 frontmatter
6261 \end_layout
6262
6263 \begin_layout Standard
6264 と書き,
6265 本文の第1章の前に
6266 \end_layout
6267
6268 \begin_layout Standard
6269
6270 \family typewriter
6271
6272 \backslash
6273 mainmatter
6274 \end_layout
6275
6276 \begin_layout Standard
6277 と書きます.あるいは,
6278
6279 \family sans
6280 章* (TOC)
6281 \family default
6282 を使うこともできます.
6283 \end_layout
6284
6285 \begin_layout Standard
6286 また,
6287 巻末の付録の後に,
6288 付番していない章環境が欲しいことがあるかもしれません
6289 \begin_inset Foot
6290 status open
6291
6292 \begin_layout Plain Layout
6293 付録は,
6294 通常,
6295 文字を使って「付番」されます.
6296 \end_layout
6297
6298 \end_inset
6299
6300 .章*環境を用いてしまうと,
6301 それらは目次には現れませんので,
6302 これらの最初の見出しの前に\SpecialChar TeX
6303 コードで
6304 \end_layout
6305
6306 \begin_layout Standard
6307
6308 \family typewriter
6309
6310 \backslash
6311 backmatter
6312 \end_layout
6313
6314 \begin_layout Standard
6315 と書き,
6316 章環境を用います.\SpecialChar LyX
6317 での付番は,
6318 これらのコマンドを使っても通常通り為されますが,
6319 PDF出力においては,
6320 見出しが付番なしで現れ,
6321 目次にも表示されます.
6322 \end_layout
6323
6324 \begin_layout Standard
6325 文書クラス
6326 \emph on
6327 article (koma-script)
6328 \emph default
6329
6330 \emph on
6331 report (koma-script)
6332 \emph default
6333
6334 \emph on
6335 book (koma-script)
6336 \emph default
6337 の 各レイアウトファイルは,
6338
6339 \family typewriter
6340 scrmacros.inc
6341 \family default
6342 ファイルを読み込みます.このファイルは,
6343 ユーザ環境を定義する場所として想定されています.s
6344 \family typewriter
6345 crmacros.inc
6346 \family default
6347 を,
6348 個人用レイアウトディレクトリにコピーして編集してください!
6349
6350 \end_layout
6351
6352 \begin_layout Subsubsection
6353 新しいletterクラス:
6354 KOMA-Script Letter (KOMA-Script V.2)
6355 \begin_inset CommandInset label
6356 LatexCommand label
6357 name "subsec:新しいletterクラス"
6358
6359 \end_inset
6360
6361
6362 \end_layout
6363
6364 \begin_layout Standard
6365 by 
6366 \noun on
6367 Jürgen Spitzmüller
6368 \begin_inset VSpace medskip
6369 \end_inset
6370
6371
6372 \end_layout
6373
6374 \begin_layout Standard
6375 \noindent
6376 Koma-Script第2.8版では,
6377 新しいletterクラス
6378 \family typewriter
6379 scrlttr2
6380 \family default
6381 が導入されたため,
6382
6383 \family typewriter
6384 scrlettr
6385 \family default
6386 は廃止されてサポート対象外となりました.これは—
6387 \SpecialChar LaTeX
6388 側で—
6389 全く新しいインターフェイスを持っており,
6390 旧クラスとは互換性がありません.したがって,
6391 \SpecialChar LyX
6392 は両者をサポートしていますが,
6393 新しい方のクラスを使用することを推奨します.
6394 \end_layout
6395
6396 \begin_layout Standard
6397 このクラスは,
6398
6399 \emph on
6400 letter (koma-script)
6401 \emph default
6402 と同一の機能に加えて,
6403 新しい機能をいくつかサポートしています.基本となる項目は,
6404
6405 \family sans
6406 住所
6407 \family default
6408 (受取人の住所,
6409 旧レイアウトの
6410 \family sans
6411 書簡
6412 \family default
6413 と同じ)・
6414 \family sans
6415 頭語
6416 \family default
6417
6418 \family sans
6419 結語
6420 \family default
6421 です.
6422 \family sans
6423 次の住所
6424 \family default
6425 は別の書簡を新しく開始します(つまり一文書あたり複数の書簡を書くことができます).新しく付け加えられた項目は,
6426 送り主の
6427 \family sans
6428 電子メール
6429 \family default
6430
6431 \family sans
6432 URL
6433 \family default
6434
6435 \family sans
6436 ファックス
6437 \family default
6438
6439 \family sans
6440 銀行
6441 \family default
6442
6443 およびヘッダに(
6444 \family sans
6445 挿入\SpecialChar menuseparator
6446
6447 \begin_inset space \thinspace{}
6448 \end_inset
6449
6450
6451 \family default
6452 で)
6453 \family sans
6454 ロゴ
6455 \family default
6456 を入れることができるようになった点です.
6457 \end_layout
6458
6459 \begin_layout Standard
6460 しかしながら,
6461 もっとも大きな改善は,
6462 書簡のレイアウトを,
6463 ほとんどどんなニーズにも合わせて設定できるようになった点でしょう.これはプリアンブルか,
6464 クラスオプションとして読み込まれる特別なスタイルファイル(「レタークラスオプション」,
6465 拡張子
6466 \family typewriter
6467 *.lco
6468 \family default
6469 )によって設定することができます
6470 \begin_inset Foot
6471 status collapsed
6472
6473 \begin_layout Plain Layout
6474 KOMAパッケージには,
6475 既定の
6476 \family typewriter
6477 *.lco
6478 \family default
6479 ファイルがいくつか収録されています.たとえば,
6480 ドイツの組版規則に則った
6481 \family typewriter
6482 DIN.lco
6483 \family default
6484 や,
6485
6486 \family typewriter
6487 scrlettr
6488 \family default
6489 クラスの既定レイアウトを提供する
6490 \family typewriter
6491 KOMAold.lco
6492 \family default
6493 などです.たとえば後者は,
6494
6495 \family sans
6496 文書\SpecialChar menuseparator
6497 設定\SpecialChar menuseparator
6498 文書クラス\SpecialChar menuseparator
6499 クラスオプション
6500 \family default
6501 フィールドにクラスオプション
6502 \family typewriter
6503 KOMAold
6504 \family default
6505 を加えることで読み込むことができます.
6506 \end_layout
6507
6508 \end_inset
6509
6510 .用例としては,
6511
6512 \family sans
6513 ファイル\SpecialChar menuseparator
6514 新規(ひな型使用)\SpecialChar ldots
6515 \SpecialChar menuseparator
6516 書簡\SpecialChar menuseparator
6517 KOMA-Script Letter (V.2)
6518 \family default
6519 のひな型をご覧ください.詳細な解説は,
6520 Koma-Script取扱説明書(
6521 \emph on
6522 scrguide
6523 \emph default
6524 )にあります.
6525 \end_layout
6526
6527 \begin_layout Subsubsection
6528 問題点
6529 \end_layout
6530
6531 \begin_layout Standard
6532 Koma-Script文書クラスを\SpecialChar LyX
6533 上に表示する上で,
6534 \SpecialChar LyX
6535 の内部処理が若干の問題を生じめます.
6536 \end_layout
6537
6538 \begin_layout Itemize
6539
6540 \family sans
6541
6542 \family default
6543 環境の章番号は,
6544 章見出しと同じ行ではなく,
6545 その上に表示されます.これは,
6546 レイアウトファイル中の
6547 \family sans
6548 Counter_Chapter
6549 \family default
6550 ラベル型に対する\SpecialChar LyX
6551 の内部処理が原因です.
6552 \end_layout
6553
6554 \begin_layout Itemize
6555
6556 \family sans
6557 章(addchap)
6558 \family default
6559
6560 \family sans
6561 節(addsec)
6562 \family default
6563 環境の見出しは,
6564 「本当の」\SpecialChar LaTeX
6565 の目次には追加されますが,
6566 \SpecialChar LyX
6567 の目次(
6568 \family sans
6569 移動
6570 \family default
6571 メニュー)には追加されません.
6572 \end_layout
6573
6574 \begin_layout Itemize
6575
6576 \emph on
6577 letter
6578 \emph default
6579 文書クラスでの段落は,
6580 垂直スペースによる段落区切りで表示され,
6581 字下げはされません.これが標準的な挙動となっていて,
6582 特別な\SpecialChar LaTeX
6583 コマンドは必要ありません.しかし,
6584
6585 \family sans
6586 文書\SpecialChar menuseparator
6587 設定
6588 \family default
6589 ダイアログでは,
6590 対応するラジオボタンは
6591 \family sans
6592 字下げ
6593 \family default
6594 に設定されています.
6595 \family sans
6596 垂直スペース
6597 \family default
6598 は,
6599 隙間を空けるために,
6600 文書に\SpecialChar LaTeX
6601 コマンドをつねに追加するようになっていますが,
6602 この文書クラスの場合には,
6603 そのような挙動が望まれないためです.
6604 \end_layout
6605
6606 \begin_layout Subsection
6607 ポーランド語M.
6608 \begin_inset space \thinspace{}
6609 \end_inset
6610
6611 W.
6612 \begin_inset space \space{}
6613 \end_inset
6614
6615 コレクション
6616 \begin_inset CommandInset label
6617 LatexCommand label
6618 name "subsec:ポーランド語M.W.コレクション"
6619
6620 \end_inset
6621
6622
6623 \end_layout
6624
6625 \begin_layout Standard
6626
6627 \noun on
6628 Tomasz Luczak
6629 \noun default
6630
6631 \end_layout
6632
6633 \begin_layout Standard
6634 \SpecialChar LyX
6635 文書クラス
6636 \family sans
6637 ポーランド語Article (MW Bundle)
6638 \family default
6639
6640 \family sans
6641 ポーランド語Report (MW Bundle)
6642 \family default
6643
6644 \family sans
6645 ポーランド語Book (MW Bundle)
6646 \family default
6647 は,
6648 それぞれ\SpecialChar LaTeX
6649 文書クラス
6650 \family typewriter
6651 mwart.cls
6652 \family default
6653
6654 \family typewriter
6655 mwrep.cls
6656 \family default
6657
6658 \family typewriter
6659 mwbk.cls
6660 \family default
6661 に対応しています.これらは,
6662 標準の
6663 \family typewriter
6664 article.cls
6665 \family default
6666
6667 \family typewriter
6668 report.cls
6669 \family default
6670
6671 \family typewriter
6672 book.cls
6673 \family default
6674 を代替するものであり,
6675 多くの点で,
6676 ポーランド語の組版慣習によく適合しています.
6677 \end_layout
6678
6679 \begin_layout Standard
6680 基本的な違いは,
6681 次の点です.
6682 \end_layout
6683
6684 \begin_layout Itemize
6685 付番のない見出し(
6686 \family sans
6687 節*
6688 \family default
6689 などの星付き)も目次に加えられます.
6690 \end_layout
6691
6692 \begin_layout Itemize
6693 以下のページスタイルの追加
6694 \end_layout
6695
6696 \begin_deeper
6697 \begin_layout Description
6698 uheadings 分離線付きヘッダ
6699 \end_layout
6700
6701 \begin_layout Description
6702 myheadings 
6703 \family typewriter
6704
6705 \backslash
6706 markright
6707 \family default
6708 コマンドおよび
6709 \family typewriter
6710
6711 \backslash
6712 markboth
6713 \family default
6714 コマンドで設定するカスタムヘッダ
6715 \end_layout
6716
6717 \begin_layout Description
6718 myuheadings 分離線付きカスタムヘッダ
6719 \end_layout
6720
6721 \begin_layout Description
6722 outer ページの外側にページ番号
6723 \end_layout
6724
6725 \end_deeper
6726 \begin_layout Itemize
6727 オプション
6728 \end_layout
6729
6730 \begin_deeper
6731 \begin_layout Description
6732 rmheadings セリフ体見出し —
6733  既定
6734 \end_layout
6735
6736 \begin_layout Description
6737 sfheadings サンセリフ体見出し
6738 \end_layout
6739
6740 \begin_layout Description
6741 authortitle タイトルページは,
6742 著者名・タイトルの順で配置 —
6743  既定
6744 \end_layout
6745
6746 \begin_layout Description
6747 titleauthor タイトルページは,
6748 タイトル・著者名の順で配置
6749 \end_layout
6750
6751 \begin_layout Description
6752 withmarginpar ページ上に余白のための場所を確保
6753 \end_layout
6754
6755 \end_deeper
6756 \begin_layout Subsection
6757 Tufteコレクション
6758 \end_layout
6759
6760 \begin_layout Standard
6761 文書クラスの
6762 \family sans
6763 Tufte
6764 \begin_inset space \thinspace{}
6765 \end_inset
6766
6767 Book
6768 \family default
6769
6770 \family sans
6771 Tufte
6772 \series bold
6773 ハンドアウト
6774 \family default
6775 \series default
6776 は,
6777
6778 \family sans
6779 tufte-booke.cls
6780 \family default
6781
6782 \family sans
6783 tufte-handout.cls
6784 \family default
6785 文書クラスを用います.これらの文書クラスの詳細は,
6786
6787 \family sans
6788 ファイル\SpecialChar menuseparator
6789 用例を開く\SpecialChar menuseparator
6790 書籍\SpecialChar menuseparator
6791 Tufte
6792 \begin_inset space \thinspace{}
6793 \end_inset
6794
6795 Book
6796 \family default
6797
6798 \begin_inset space \thinspace{}
6799 \end_inset
6800
6801
6802 \begin_inset space \thinspace{}
6803 \end_inset
6804
6805
6806 \family sans
6807 ファイル\SpecialChar menuseparator
6808 用例を開く\SpecialChar menuseparator
6809 ハンドアウト\SpecialChar menuseparator
6810 Tufteハンドアウト
6811 \family default
6812
6813 \begin_inset space \thinspace{}
6814 \end_inset
6815
6816 にあります.
6817 \end_layout
6818
6819 \begin_layout Section
6820 論文
6821 \end_layout
6822
6823 \begin_layout Standard
6824 コレクション中の文書クラスも参照してください(第
6825 \begin_inset CommandInset ref
6826 LatexCommand ref
6827 reference "sec:コレクション"
6828 plural "false"
6829 caps "false"
6830 noprefix "false"
6831 nolink "false"
6832
6833 \end_inset
6834
6835 節参照).
6836 \end_layout
6837
6838 \begin_layout Subsection
6839 Astronomy & Astrophysics
6840 \end_layout
6841
6842 \begin_layout Standard
6843
6844 \noun on
6845 Peter Sütterlin原文;
6846 \SpecialChar LyX
6847 チーム改訂
6848 \end_layout
6849
6850 \begin_layout Subsubsection
6851 はじめに
6852 \end_layout
6853
6854 \begin_layout Standard
6855 この節では,
6856 文書クラス
6857 \family typewriter
6858 aa.cls
6859 \family default
6860 (これについての情報は
6861 \begin_inset Flex URL
6862 status collapsed
6863
6864 \begin_layout Plain Layout
6865
6866 https://www.aanda.org/for-authors/latex-issues/texnical-background-information
6867 \end_layout
6868
6869 \end_inset
6870
6871 にあります)第9.1版を使用して科学雑誌
6872 \emph on
6873 Astronomy and Astrophysics
6874 \emph default
6875 (『天文学と宇宙物理学』)に投稿する論文を執筆するための\SpecialChar LyX
6876 の使用法を説明します(
6877 \begin_inset CommandInset href
6878 LatexCommand href
6879 name "aa-package"
6880 target "http://ftp.edpsciences.org/pub/aa/aa-package.zip"
6881 literal "false"
6882
6883 \end_inset
6884
6885 ).
6886 \end_layout
6887
6888 \begin_layout Standard
6889 このパッケージには取扱説明書がついていますので,
6890 取扱説明書『カスタマイズ篇』の「文書クラスを新規に導入する」の節にしたがってこの文書クラスを導入する前に参照してください.
6891 \end_layout
6892
6893 \begin_layout Standard
6894 \begin_inset Note Greyedout
6895 status open
6896
6897 \begin_layout Plain Layout
6898 この学術誌の出版元は,
6899 2001年1月1日以降,
6900 Springer社からEDP Science社に変更されていることにご注意ください.この出版社の変更によって,
6901 thesaurusコマンドの廃止など,
6902 スタイルファイルに若干の変更が加わっています.もし古い版が導入されている場合には,
6903 更新してください.古い(第4版)レイアウトに対する互換性については,
6904
6905 \family typewriter
6906 \SpecialChar LyX
6907 Dir/layouts/aapaper.layout
6908 \family default
6909 のコメントをご参照ください.
6910 \end_layout
6911
6912 \end_inset
6913
6914
6915 \end_layout
6916
6917 \begin_layout Subsubsection
6918 最初の一歩
6919 \end_layout
6920
6921 \begin_layout Standard
6922
6923 \family sans
6924 ファイル\SpecialChar menuseparator
6925 新規(ひな型使用)\SpecialChar menuseparator
6926 論文\SpecialChar menuseparator
6927 Astronomy & Astrophysics
6928 \family default
6929
6930 \begin_inset space \thinspace{}
6931 \end_inset
6932
6933 メニューにあるひな型を土台として,
6934 書き始めることをお勧めします.ひな型を使用しない場合には,
6935 以下の設定にしてください.
6936 \end_layout
6937
6938 \begin_layout Itemize
6939
6940 \family sans
6941 文書\SpecialChar menuseparator
6942 設定\SpecialChar menuseparator
6943 文書クラス
6944 \family default
6945
6946 \begin_inset space \thinspace{}
6947 \end_inset
6948
6949 ダイアログで
6950 \family sans
6951 Astronomy & Astrophysics
6952 \family default
6953 を選択してください(まぁ,
6954 これは自明ですね).
6955 \end_layout
6956
6957 \begin_layout Itemize
6958
6959 \family sans
6960 ページレイアウト
6961 \family default
6962
6963 \begin_inset space \thinspace{}
6964 \end_inset
6965
6966 ダイアログの
6967 \family sans
6968 ページ様式
6969 \family default
6970 オプションは変更しないで,
6971
6972 \family sans
6973 既定値
6974 \family default
6975 のままに設定しておいてください.全体のレイアウトはマクロが行うので,
6976 何も変更してはいけません.
6977 \end_layout
6978
6979 \begin_layout Subsubsection
6980 へッダ部
6981 \end_layout
6982
6983 \begin_layout Standard
6984 最初に入力すべきものは,
6985 へッダ情報です.ヘッダ情報には,
6986 以下の7つの項目があり,
6987 うち1つは必須ではありません.
6988 \end_layout
6989
6990 \begin_layout Itemize
6991
6992 \family sans
6993 タイトル
6994 \family default
6995
6996 [必須]
6997 \end_layout
6998
6999 \begin_layout Itemize
7000
7001 \family sans
7002 サブタイトル
7003 \family default
7004
7005 [非必須]
7006 \end_layout
7007
7008 \begin_layout Itemize
7009
7010 \family sans
7011 著者
7012 \family default
7013
7014 [必須]
7015 \end_layout
7016
7017 \begin_layout Itemize
7018
7019 \family sans
7020 住所
7021 \family default
7022
7023 [必須]
7024 \end_layout
7025
7026 \begin_layout Itemize
7027
7028 \family sans
7029 抜き刷り
7030 \family default
7031
7032 [非必須]連絡と抜き刷りを受け取る人を指定
7033 \end_layout
7034
7035 \begin_layout Itemize
7036
7037 \family sans
7038 郵便
7039 \family default
7040
7041 [非必須]連絡用の郵便住所
7042 \end_layout
7043
7044 \begin_layout Itemize
7045
7046 \family sans
7047 日付
7048 \family default
7049
7050 [必須]推奨されるフォーマットは,
7051
7052 \family typewriter
7053 Received:
7054  <日付>;
7055  Accepted <日付>
7056 \family default
7057 です.
7058 \end_layout
7059
7060 \begin_layout Standard
7061
7062 \family typewriter
7063
7064 \backslash
7065 maketitle
7066 \family default
7067 コマンドは,
7068 \SpecialChar LyX
7069 がヘッダ終了時に自動的に発行するので,
7070 手動で発行する必要はありません.各項目の順序は関係ありませんが,
7071 見た目のためと,
7072 実際の文書のレイアウトに合わせるために,
7073 上記の順序を維持しておくと良いでしょう.
7074 \end_layout
7075
7076 \begin_layout Standard
7077 現住所の付記などのために,
7078 へッダ部に脚注を挿入したい場合には,
7079
7080 \family sans
7081 挿入\SpecialChar menuseparator
7082 脚注
7083 \family default
7084
7085 \begin_inset space \thinspace{}
7086 \end_inset
7087
7088 を使用して標準の脚注を挿入してください.この場合には,
7089 \SpecialChar LyX
7090 は自動的に
7091 \family typewriter
7092
7093 \backslash
7094 thanks{}
7095 \family default
7096 を使用します.
7097 \end_layout
7098
7099 \begin_layout Standard
7100
7101 \family sans
7102 編集\SpecialChar menuseparator
7103 特別文辞様式
7104 \family default
7105
7106 \begin_inset space \thinspace{}
7107 \end_inset
7108
7109 に表題付けに関連した2つの差込枠があります.
7110 \end_layout
7111
7112 \begin_layout Itemize
7113
7114 \family sans
7115 所属機関
7116 \family default
7117 は,
7118 連絡担当著者と所属機関の組をマークします.所属機関には,
7119
7120 \family sans
7121 住所
7122 \family default
7123 フィールドに現れるのと同じ順序で連番が振られますので,
7124 各著者に標識を付けてください.
7125 \end_layout
7126
7127 \begin_layout Itemize
7128
7129 \family sans
7130 電子メール
7131 \family default
7132 は,
7133 至急連絡用の電子メールアドレスを付するものです.
7134 \end_layout
7135
7136 \begin_layout Standard
7137 これら以外に,
7138 このマクロは,
7139 \SpecialChar LyX
7140 が対応していない以下の\SpecialChar LaTeX
7141 コマンドを追加的に使用できます.
7142 \end_layout
7143
7144 \begin_layout Itemize
7145 複数の著者名あるいは所属名を区切るための
7146 \family typewriter
7147
7148 \backslash
7149 and
7150 \end_layout
7151
7152 \begin_layout Standard
7153 \SpecialChar LyX
7154 中では\SpecialChar TeX
7155 コードとして適切なコマンドを入力する必要があります.ひな型中の用例と
7156 \family sans
7157 \series bold
7158
7159 \begin_inset space \thinspace{}
7160 \end_inset
7161
7162
7163 \series default
7164 ファイル\SpecialChar menuseparator
7165 新規(ひな型使用)\SpecialChar menuseparator
7166 論文\SpecialChar menuseparator
7167 Astronomy & Astrophysics
7168 \family default
7169
7170 \begin_inset space \thinspace{}
7171 \end_inset
7172
7173 にある用例を参照のこと.
7174 \end_layout
7175
7176 \begin_layout Subsubsection
7177 概要
7178 \end_layout
7179
7180 \begin_layout Standard
7181 概要はへッダ部の直後に置きます.第5版から概要環境はコマンドに変更され,
7182 1段落だけに限るという制限が付きました.加えて,
7183 キーワード項目が含まれていなくてはなりません.これは,
7184 段落様式
7185 \family sans
7186 キーワード
7187 \family default
7188 で為されます.用例論文を参照してください.
7189 \end_layout
7190
7191 \begin_layout Subsubsection
7192 サポートされる環境
7193 \end_layout
7194
7195 \begin_layout Standard
7196 A&A論文用レイアウトでは,
7197 文章を構造化するために,
7198 以下の環境がサポートされています.
7199 \end_layout
7200
7201 \begin_layout Standard
7202
7203 \family sans
7204 \begin_inset Flex Multiple Columns
7205 status open
7206
7207 \begin_layout Itemize
7208
7209 \family sans
7210 標準
7211 \end_layout
7212
7213 \begin_layout Itemize
7214
7215 \family sans
7216
7217 \end_layout
7218
7219 \begin_layout Itemize
7220
7221 \family sans
7222 小節
7223 \end_layout
7224
7225 \begin_layout Itemize
7226
7227 \family sans
7228 小々節
7229 \end_layout
7230
7231 \begin_layout Itemize
7232
7233 \family sans
7234 箇条書き(記号)
7235 \end_layout
7236
7237 \begin_layout Itemize
7238
7239 \family sans
7240 箇条書き(連番)
7241 \end_layout
7242
7243 \begin_layout Itemize
7244
7245 \family sans
7246 箇条書き(記述)
7247 \end_layout
7248
7249 \begin_layout Itemize
7250
7251 \family sans
7252 キャプション
7253 \end_layout
7254
7255 \begin_layout Itemize
7256
7257 \family sans
7258 概要
7259 \end_layout
7260
7261 \begin_layout Itemize
7262
7263 \family sans
7264 謝辞(Acknowledgment)
7265 \end_layout
7266
7267 \begin_layout Itemize
7268
7269 \family sans
7270 書誌情報
7271 \end_layout
7272
7273 \begin_layout Itemize
7274
7275 \family sans
7276 LaTeX
7277 \end_layout
7278
7279 \end_inset
7280
7281
7282 \end_layout
7283
7284 \begin_layout Subsubsection
7285 \SpecialChar LyX
7286 でサポートされていないコマンド
7287 \end_layout
7288
7289 \begin_layout Standard
7290 \SpecialChar LyX
7291
7292 \family sans
7293 Astronomy & Astrophysics
7294 \family default
7295 レイアウトでは,
7296 まだサポートされていないコマンドがあります.そのうちいくつかは既に紹介しましたが,
7297 網羅するために,
7298 以下にすべて列挙しておきます.
7299 \end_layout
7300
7301 \begin_layout Itemize
7302
7303 \family typewriter
7304
7305 \backslash
7306 and
7307 \end_layout
7308
7309 \begin_layout Itemize
7310
7311 \family typewriter
7312
7313 \backslash
7314 authorrunning
7315 \end_layout
7316
7317 \begin_layout Itemize
7318
7319 \family typewriter
7320
7321 \backslash
7322 object{}
7323 \end_layout
7324
7325 \begin_layout Itemize
7326
7327 \family typewriter
7328
7329 \backslash
7330 titlerunning{}
7331 \end_layout
7332
7333 \begin_layout Standard
7334 これらのコマンドのいずれかを使いたい場合には,
7335 自分で入力する必要があります.
7336 \family sans
7337 挿入\SpecialChar menuseparator
7338 \SpecialChar TeX
7339 コード
7340 \family default
7341
7342 \begin_inset space \thinspace{}
7343 \end_inset
7344
7345 を使用することを
7346 \begin_inset Flex 圏点
7347 status open
7348
7349 \begin_layout Plain Layout
7350 忘れないで下さい
7351 \end_layout
7352
7353 \end_inset
7354
7355
7356
7357 \end_layout
7358
7359 \begin_layout Subsubsection
7360 図フロートおよび表フロート
7361 \end_layout
7362
7363 \begin_layout Standard
7364 \SpecialChar LyX
7365 は,
7366 必要なフロート環境
7367 \family sans
7368 figure
7369 \family default
7370
7371 \family sans
7372 figure*
7373 \family default
7374
7375 \family sans
7376 table
7377 \family default
7378
7379 \family sans
7380 table*
7381 \family default
7382 をサポートしていますので,
7383 ここでは詳しい説明はしません.ユーザーの手引きをご覧ください.ただ,
7384 表は左揃えにしなくてはならないことに注意して下さい.そうするためには,
7385 表を選択して,
7386
7387 \family sans
7388 編集\SpecialChar menuseparator
7389 段落設定
7390 \family default
7391
7392 \begin_inset space \thinspace{}
7393 \end_inset
7394
7395 で配置を変更してください.
7396 \end_layout
7397
7398 \begin_layout Standard
7399 一つだけ,
7400 特別なものがあります.それは,
7401 図横にキャプションを配置する図です.この図を作成するには,
7402 以下のようにしなくてはなりません.
7403 \end_layout
7404
7405 \begin_layout Enumerate
7406
7407 \family sans
7408 挿入\SpecialChar menuseparator
7409 フロート\SpecialChar menuseparator
7410
7411 \family default
7412
7413 \begin_inset space \thinspace{}
7414 \end_inset
7415
7416 を使って,
7417 幅広の図フロートを作成します.それから,
7418 フロート内で
7419 \begin_inset space \thinspace{}
7420 \end_inset
7421
7422
7423 \family sans
7424 編集\SpecialChar menuseparator
7425 フロートの設定
7426 \family default
7427
7428 \begin_inset space \thinspace{}
7429 \end_inset
7430
7431 メニューを開き,
7432
7433 \family sans
7434 フロート
7435 \family default
7436
7437 \begin_inset space \thinspace{}
7438 \end_inset
7439
7440 ダイアログで
7441 \begin_inset space \thinspace{}
7442 \end_inset
7443
7444
7445 \family sans
7446 段をまたぐ
7447 \family default
7448
7449 \begin_inset space \thinspace{}
7450 \end_inset
7451
7452 を有効にします.
7453 \end_layout
7454
7455 \begin_layout Enumerate
7456 キャプション文を入力します.
7457 \end_layout
7458
7459 \begin_layout Enumerate
7460 キャプション上にカーソルを移動し,
7461
7462 \family sans
7463 Return
7464 \family default
7465 を押します.
7466 \end_layout
7467
7468 \begin_layout Enumerate
7469 図を挿入します.
7470 \end_layout
7471
7472 \begin_layout Enumerate
7473 カーソルを図の後ろに置いて,
7474
7475 \family sans
7476 挿入\SpecialChar menuseparator
7477 整形\SpecialChar menuseparator
7478 横方向の空白
7479 \family default
7480
7481 \begin_inset space \thinspace{}
7482 \end_inset
7483
7484 を選択して
7485 \family sans
7486 空白
7487 \family default
7488 ダイアログを開き,
7489
7490 \family sans
7491 空白
7492 \family default
7493 コンテクストメニューから
7494 \family sans
7495 水平フィル
7496 \family default
7497 を選択します.
7498 \end_layout
7499
7500 \begin_layout Enumerate
7501
7502 \family sans
7503 M-c
7504 \begin_inset space ~
7505 \end_inset
7506
7507 t
7508 \family default
7509 と押して\SpecialChar LaTeX
7510 モードに切り替えます.
7511 \end_layout
7512
7513 \begin_layout Enumerate
7514 \SpecialChar TeX
7515 差込枠中に
7516 \family typewriter
7517  
7518 \backslash
7519 parbox[b]{55mm}{
7520 \family default
7521  と入力します.
7522 \begin_inset Flex 圏点
7523 status open
7524
7525 \begin_layout Plain Layout
7526 ここでは波括弧を閉じないでください
7527 \end_layout
7528
7529 \end_inset
7530
7531
7532 \series bold
7533
7534 \end_layout
7535
7536 \begin_layout Enumerate
7537 カーソルをキャプション文の後ろに移動し,
7538
7539 \family sans
7540 M-c
7541 \begin_inset space ~
7542 \end_inset
7543
7544 t }
7545 \family default
7546  と押して,
7547 \SpecialChar TeX
7548 モードで閉じ括弧を入力します .
7549 \end_layout
7550
7551 \begin_layout Standard
7552
7553 \family sans
7554 ファイル\SpecialChar menuseparator
7555 用例を開く\SpecialChar menuseparator
7556 論文\SpecialChar menuseparator
7557 Astronomy & Astrophysics
7558 \family default
7559
7560 \begin_inset space \thinspace{}
7561 \end_inset
7562
7563 にあるファイルの図も参照してください.
7564 \end_layout
7565
7566 \begin_layout Subsubsection
7567 Refereeレイアウト
7568 \end_layout
7569
7570 \begin_layout Standard
7571 投稿用には,
7572 論文を特別なダブルスペースレイアウトに整形しなくてはなりません.このためには,
7573 文書クラスに
7574 \family typewriter
7575 referee
7576 \family default
7577 オプションを
7578 \begin_inset space \thinspace{}
7579 \end_inset
7580
7581
7582 \family sans
7583 文書\SpecialChar menuseparator
7584 設定\SpecialChar menuseparator
7585 文書クラス
7586 \family default
7587
7588 \begin_inset space \thinspace{}
7589 \end_inset
7590
7591 ダイアログの
7592 \begin_inset space \thinspace{}
7593 \end_inset
7594
7595
7596 \family sans
7597 任意設定クラスオプション
7598 \family default
7599
7600 \begin_inset space \thinspace{}
7601 \end_inset
7602
7603 フィールドに入力する必要があります.
7604 \end_layout
7605
7606 \begin_layout Subsubsection
7607 例示用論文
7608 \end_layout
7609
7610 \begin_layout Standard
7611
7612 \family sans
7613 ファイル\SpecialChar menuseparator
7614 用例を開く\SpecialChar menuseparator
7615 論文\SpecialChar menuseparator
7616 Astronomy & Astrophysics
7617 \family default
7618
7619 \begin_inset space \thinspace{}
7620 \end_inset
7621
7622 は\SpecialChar LyX
7623 で書かれています.これは,
7624
7625 \begin_inset CommandInset href
7626 LatexCommand href
7627 name "aa-package"
7628 target "http://ftp.edpsciences.org/pub/aa/aa-package.zip"
7629 literal "false"
7630
7631 \end_inset
7632
7633 にある,
7634 元のマクロパッケージ
7635 \family typewriter
7636 aa.dem
7637 \family default
7638 から採用した例示用論文ですが,
7639 古い構造化されていない概要型を使用して\SpecialChar LyX
7640 に翻訳されたものです.これはヒントを得るために使用したり,
7641
7642 \family typewriter
7643 aa.dem
7644 \family default
7645 の \SpecialChar LaTeX
7646 コードと\SpecialChar LyX
7647 での書き方の比較に使ったりしてください.
7648 \end_layout
7649
7650 \begin_layout Subsection
7651 AAS\SpecialChar TeX
7652
7653 \end_layout
7654
7655 \begin_layout Standard
7656
7657 \noun on
7658 Mike Ressler
7659 \noun default
7660
7661 \end_layout
7662
7663 \begin_layout Subsubsection
7664 はじめに
7665 \end_layout
7666
7667 \begin_layout Standard
7668 AAS\SpecialChar TeX
7669 は,
7670 American Astronomical Society(アメリカ天文学会)が発行するAstrophysical Journal(宇宙物理学雑誌)同誌のLettersとSupplementを含む)・Astronomical Journal(天文学雑誌)・Publications of the Astronomical Society of the Pacific(太平洋天文学会誌)三誌への電子投稿を可能にするために,
7671 同学会が作成したマクロ集です.\SpecialChar LyX
7672 は,
7673 これらの文書を生成する上で,
7674 なかでも数式・引用・画像処理能力において,
7675 優れたツールであることが認識されています.\SpecialChar LyX
7676 は,
7677 同マクロ第5.0版以降を必要としており,
7678 できればここで説明されている第6.0版以降が望まれます.第5.0版未満の版は,
7679 \SpecialChar LaTeX
7680 2.09で使用するよう企図されているため,
7681 根本的に\SpecialChar LyX
7682 とは互換性がありません.AAS\SpecialChar TeX
7683 パッケージは,
7684 以下のAAS\SpecialChar TeX
7685 ウェブサイトからダウンロードできるでしょう.
7686 \end_layout
7687
7688 \begin_layout Standard
7689 \align center
7690 \begin_inset VSpace medskip
7691 \end_inset
7692
7693
7694 \begin_inset Flex URL
7695 status collapsed
7696
7697 \begin_layout Plain Layout
7698
7699 https://aas.org/aastex/aastex-downloads
7700 \end_layout
7701
7702 \end_inset
7703
7704
7705 \begin_inset VSpace medskip
7706 \end_inset
7707
7708
7709 \end_layout
7710
7711 \begin_layout Standard
7712 パッケージ中には,
7713 完備したユーザーの手引きが収録されていますので,
7714 \SpecialChar LyX
7715 で論文を書き始める前に,
7716 その中身を完全に理解しておく必要があります.\SpecialChar LyX
7717 は,
7718 AASTeXの全コマンドを理解する必然性をなくすものではなく,
7719 すべてを手入力する苦労を減らすだけです.仕上がりの\SpecialChar LaTeX
7720 文書が,
7721 論文を投稿しようとしているジャーナルの要求事項に完全に合致していることを確認するのは,
7722 あなたの責任です.
7723 \end_layout
7724
7725 \begin_layout Subsubsection
7726 新しい論文を書き始める
7727 \end_layout
7728
7729 \begin_layout Standard
7730 論文を書き始めるには,
7731 AAS\SpecialChar TeX
7732 ひな型ファイルを土台に始めることを強くお勧めします.
7733 \family sans
7734 ファイル\SpecialChar menuseparator
7735 新規(ひな型使用)\SpecialChar menuseparator
7736 論文\SpecialChar menuseparator
7737 American Astronomical Society
7738 \family default
7739
7740 \begin_inset space \thinspace{}
7741 \end_inset
7742
7743 をクリックしてください.これには,
7744 論文原稿のほとんどに共通して使われるフィールドが書き込まれています.書き込まれている文字列(括弧
7745 \family typewriter
7746 <>
7747 \family default
7748 を含む)を正しい情報で上書きしてください.AAS\SpecialChar TeX
7749 コマンド・AAS\SpecialChar TeX
7750 環境の多くは,
7751 \SpecialChar LyX
7752 中で直接実行することができますが,
7753 できないものもあります.このようなコマンドは,
7754 直接La\SpecialChar TeX
7755 コードを入力して,
7756 それを\SpecialChar TeX
7757 コードとしてマークしなければなりません.このようなコマンドは,
7758 \SpecialChar TeX
7759 コードあるいはEvil Red Text(邪悪な赤い文)と呼ばれます.AAS\SpecialChar TeX
7760 文書に必要とされる \SpecialChar TeX
7761 コードを最小にするようには努力しました.
7762 \end_layout
7763
7764 \begin_layout Subsubsection
7765 論文を書き終わったら
7766 \end_layout
7767
7768 \begin_layout Standard
7769 論文を満足する水準で書き終え,
7770 プレビューや印刷が正しく為されているとしても,
7771 まだ学術誌に投稿する前にしなくてはならない「後処理」が残されています.
7772 \end_layout
7773
7774 \begin_layout Enumerate
7775 論文を \SpecialChar LaTeX
7776 ファイルとして書き出します(
7777 \family sans
7778 ファイル\SpecialChar menuseparator
7779 書き出し\SpecialChar menuseparator
7780 LaTeX
7781 \family default
7782 ).
7783 \end_layout
7784
7785 \begin_layout Enumerate
7786 出力した
7787 \family typewriter
7788 .tex
7789 \family default
7790 ファイルを好きなエディタで編集します.
7791 \end_layout
7792
7793 \begin_deeper
7794 \begin_layout Enumerate
7795
7796 \family typewriter
7797
7798 \backslash
7799 documentclass
7800 \family default
7801 コマンドよりも前のコメント行を削除します.
7802 \end_layout
7803
7804 \begin_layout Enumerate
7805
7806 \family typewriter
7807
7808 \backslash
7809 usepackage...{fontenc}
7810 \family default
7811 という行があれば(通常は
7812 \family typewriter
7813
7814 \backslash
7815 documentclass
7816 \family default
7817 の直後にあります)削除します.また,
7818
7819 \family typewriter
7820
7821 \backslash
7822 secnumdepth
7823 \family default
7824 行があれば,
7825 これも削除します.
7826 \end_layout
7827
7828 \begin_layout Enumerate
7829 \SpecialChar LaTeX
7830 プリアンブル中に意図的に置いたコマンド(
7831 \family typewriter
7832 .tex
7833 \family default
7834 ファイル中,
7835 「User specified \SpecialChar LaTeX
7836  commands」というコメントの直後にあります)を除いて,
7837
7838 \family typewriter
7839
7840 \backslash
7841 makeatletter
7842 \family default
7843
7844 \family typewriter
7845
7846 \backslash
7847 makeatother
7848 \family default
7849 の間のもの(これらのコマンドを含む)をすべて削除します.
7850 \end_layout
7851
7852 \end_deeper
7853 \begin_layout Enumerate
7854 編集後のファイルを \SpecialChar LaTeX
7855 にかけて,
7856 正しく処理されることを確認します.
7857 \end_layout
7858
7859 \begin_layout Enumerate
7860 学術誌の要求事項を再読して,
7861 ファイル名と書式が正しいことを確認します.
7862 \end_layout
7863
7864 \begin_layout Enumerate
7865 投稿してください.
7866 \end_layout
7867
7868 \begin_layout Subsubsection
7869 特定のコマンドに関するコメント
7870 \end_layout
7871
7872 \begin_layout Standard
7873 AAS\SpecialChar TeX
7874 ユーザーの手引き(
7875 \family typewriter
7876 aasguide.tex
7877 \family default
7878 )に,
7879 各AAS\SpecialChar TeX
7880 コマンドの詳しい説明があるので,
7881 ここでは,
7882 各コマンドの使用法の詳細な説明は行いません.そこで,
7883 ここではユーザーの手引きに現れるとおりに一覧を列挙して,
7884 必要なところだけコメントを加えることにしましょう.
7885 \end_layout
7886
7887 \begin_layout Paragraph
7888 期待通りに動作するもの
7889 \end_layout
7890
7891 \begin_layout Standard
7892 これらは期待通りに動作するので,
7893 ここでは列挙するだけにして,
7894 コマンドの説明されている節を挙げておきます.
7895 \family typewriter
7896
7897 \backslash
7898 documentclass
7899 \family default
7900  (2.1.1)・
7901 \family typewriter
7902
7903 \backslash
7904 begin{document}
7905 \family default
7906  (2.2)・
7907 \family typewriter
7908
7909 \backslash
7910 title
7911 \family default
7912  (2.3)・
7913 \family typewriter
7914
7915 \backslash
7916 author
7917 \family default
7918  (2.3)・
7919 \family typewriter
7920
7921 \backslash
7922 affil
7923 \family default
7924  (2.3)・
7925 \family typewriter
7926
7927 \backslash
7928 abstract
7929 \family default
7930  (2.4)・
7931 \family typewriter
7932
7933 \backslash
7934 keywords
7935 \family default
7936  (2.5)・
7937 \family typewriter
7938
7939 \backslash
7940 section
7941 \family default
7942  (2.7)・
7943 \family typewriter
7944
7945 \backslash
7946 subsection
7947 \family default
7948  (2.7)・
7949 \family typewriter
7950
7951 \backslash
7952 subsubsection
7953 \family default
7954  (2.7)・
7955 \family typewriter
7956
7957 \backslash
7958 paragraph
7959 \family default
7960  (2.7)・
7961 \family typewriter
7962
7963 \backslash
7964 facility
7965 \family default
7966  (2.10)・
7967 \family typewriter
7968
7969 \backslash
7970 begin{displaymath}
7971 \family default
7972  (2.12)・
7973 \family typewriter
7974
7975 \backslash
7976 begin{equation}
7977 \family default
7978  (2.12)・
7979 \family typewriter
7980
7981 \backslash
7982 begin{eqnarray}
7983 \family default
7984  (2.12)・
7985 \family typewriter
7986
7987 \backslash
7988 begin{mathletters}
7989 \family default
7990  (2.12)・
7991 \family typewriter
7992
7993 \backslash
7994 begin{thebibliography}
7995 \family default
7996  (2.13.1)・
7997 \family typewriter
7998
7999 \backslash
8000 bibitem
8001 \family default
8002  (2.13.2)・全引用コマンドとその派生(2.13.2)・一般的なgraphicx図コマンド(2.14.1)・
8003 \family typewriter
8004
8005 \backslash
8006 begin{table}
8007 \family default
8008  (2.15.4)・
8009 \family typewriter
8010
8011 \backslash
8012 begin{tabular}
8013 \family default
8014  (2.15.4)・
8015 \family typewriter
8016
8017 \backslash
8018 caption
8019 \family default
8020  (2.15.4)・
8021 \family typewriter
8022
8023 \backslash
8024 label
8025 \family default
8026  (他にもあるが特に2.15.4)・
8027 \family typewriter
8028
8029 \backslash
8030 tablerefs
8031 \family default
8032  (2.15.5)・
8033 \family typewriter
8034
8035 \backslash
8036 tablecomments
8037 \family default
8038  (2.15.5)・
8039 \family typewriter
8040
8041 \backslash
8042 url
8043 \family default
8044  (2.17.4)・
8045 \family typewriter
8046
8047 \backslash
8048 end{document}
8049 \family default
8050  (2.18).
8051 \end_layout
8052
8053 \begin_layout Standard
8054 以下のスタイルオプションも正しく動作します.
8055 \family typewriter
8056 longabstract
8057 \family default
8058  (2.4)・
8059 \family typewriter
8060 preprint
8061 \family default
8062  (3.2.1)・
8063 \family typewriter
8064 preprint2
8065 \family default
8066  (3.2.2)・
8067 \family typewriter
8068 eqsecnum
8069 \family default
8070  (3.3)・
8071 \family typewriter
8072 flushrt
8073 \family default
8074  (3.4).これらは,
8075
8076 \family sans
8077 文書\SpecialChar menuseparator
8078 設定
8079 \family default
8080 にある,
8081
8082 \family sans
8083 クラスオプション
8084 \family default
8085
8086 \begin_inset space \thinspace{}
8087 \end_inset
8088
8089
8090 \begin_inset space \thinspace{}
8091 \end_inset
8092
8093
8094 \family sans
8095 任意設定
8096 \family default
8097
8098 \begin_inset space \thinspace{}
8099 \end_inset
8100
8101 ボックスに入力してください.
8102 \end_layout
8103
8104 \begin_layout Paragraph
8105 動作するが,
8106 若干説明が必要なもの
8107 \end_layout
8108
8109 \begin_layout Standard
8110 以下のコマンドは動作しますが,
8111 若干の説明が必要です.
8112 \end_layout
8113
8114 \begin_layout Itemize
8115 以下の項目は,
8116 学術誌の編集者向けに取ってあるものですが,
8117 どうしても必要ならば,
8118 \SpecialChar LaTeX
8119 プリアンブルに入れることができます.
8120 \family typewriter
8121
8122 \backslash
8123 received
8124 \family default
8125
8126 \family typewriter
8127
8128 \backslash
8129 revised
8130 \family default
8131
8132 \family typewriter
8133
8134 \backslash
8135 accepted
8136 \family default
8137
8138 \family typewriter
8139
8140 \backslash
8141 ccc
8142 \family default
8143
8144 \family typewriter
8145 cpright
8146 \family default
8147 (すべて 2.1.3).
8148 \end_layout
8149
8150 \begin_layout Itemize
8151 以下の項目は,
8152 \SpecialChar LaTeX
8153 のプリアンブルに置くことができるもので,
8154 これらは,
8155 ひな型ファイルには,
8156 空の引数と共に含まれています.
8157 \family typewriter
8158
8159 \backslash
8160 slugcomment
8161 \family default
8162 (2.1.4)・
8163 \family typewriter
8164
8165 \backslash
8166 shorttitle
8167 \family default
8168 (2.1.5)・
8169 \family typewriter
8170
8171 \backslash
8172 shortauthors
8173 \family default
8174 (2.1.5).
8175 \end_layout
8176
8177 \begin_layout Itemize
8178
8179 \family typewriter
8180
8181 \backslash
8182 email
8183 \family default
8184 (2.3)―「単独で」使うことはできますが,
8185 段落の途中で使うことはできません.埋め込む必要がある場合には,
8186 \SpecialChar TeX
8187 コードを使用してください.
8188 \end_layout
8189
8190 \begin_layout Itemize
8191
8192 \family typewriter
8193
8194 \backslash
8195 and
8196 \family default
8197 (2.3)―後ろに{}が付記されます.これはエラーの原因にはなりません.
8198 \end_layout
8199
8200 \begin_layout Itemize
8201
8202 \family typewriter
8203
8204 \backslash
8205 notetoeditor
8206 \family default
8207 (2.6)―「単独で」使うことはできますが,
8208 段落の途中で使うことはできません.埋め込む必要がある場合には,
8209 \SpecialChar TeX
8210 コードを使用してください.
8211 \end_layout
8212
8213 \begin_layout Itemize
8214
8215 \family typewriter
8216
8217 \backslash
8218 placetable
8219 \family default
8220 (2.8)―相互参照用タグを挿入することはできません.手動でタグ名を入力する必要があります.
8221 \end_layout
8222
8223 \begin_layout Itemize
8224
8225 \family typewriter
8226
8227 \backslash
8228 placefigure
8229 \family default
8230 (2.8)—
8231
8232 \family typewriter
8233
8234 \backslash
8235 placetable
8236 \family default
8237 と同様.
8238 \end_layout
8239
8240 \begin_layout Itemize
8241
8242 \family typewriter
8243
8244 \backslash
8245 acknowledgements
8246 \family default
8247 (2.9)―後ろに{}が付記されます.これはエラーの原因にはなりません.
8248 \end_layout
8249
8250 \begin_layout Itemize
8251
8252 \family typewriter
8253
8254 \backslash
8255 appendix
8256 \family default
8257 (2.11)―後ろに{}が付記されます.これはエラーの原因にはなりません.
8258 \end_layout
8259
8260 \begin_layout Itemize
8261
8262 \family typewriter
8263
8264 \backslash
8265 figcaption
8266 \family default
8267 (2.14.2)―文章のはじめにカーソルを置いて
8268 \begin_inset space \thinspace{}
8269 \end_inset
8270
8271
8272 \family sans
8273 挿入\SpecialChar menuseparator
8274 短縮タイトル
8275 \family default
8276
8277 \begin_inset space \thinspace{}
8278 \end_inset
8279
8280 を選択すれば,
8281 非必須のファイル名引数を挿入することができます.「短縮タイトル」とありますが,
8282
8283 \family typewriter
8284
8285 \backslash
8286 figcaption
8287 \family default
8288 が必要とする型の非必須引数を挿入します.望むらくはいつの日か改名されることでしょう.
8289 \end_layout
8290
8291 \begin_layout Itemize
8292
8293 \family typewriter
8294
8295 \backslash
8296 objectname
8297 \family default
8298 (2.17.1)―非必須パラメータとしてカタログIDを取る以外は,
8299
8300 \family typewriter
8301
8302 \backslash
8303 figcaption
8304 \family default
8305 と同様.
8306 \end_layout
8307
8308 \begin_layout Itemize
8309
8310 \family typewriter
8311
8312 \backslash
8313 dataset
8314 \family default
8315 (2.17.1)―非必須パラメータとしてカタログIDを取る以外は,
8316
8317 \family typewriter
8318
8319 \backslash
8320 figcaption
8321 \family default
8322 と同様.
8323 \end_layout
8324
8325 \begin_layout Paragraph
8326 実装されていないため,
8327 \SpecialChar TeX
8328 コードを使用するもの
8329 \end_layout
8330
8331 \begin_layout Standard
8332
8333 \family typewriter
8334
8335 \backslash
8336 eqnum
8337 \family default
8338 (2.12)・
8339 \family typewriter
8340
8341 \backslash
8342 setcounter{equation}
8343 \family default
8344 (2.12)・学術誌名略語(2.12.4)・
8345 \family typewriter
8346
8347 \backslash
8348 figurenum
8349 \family default
8350 (2.14.1)・
8351 \family typewriter
8352
8353 \backslash
8354 epsscale
8355 \family default
8356 (2.14.1)・
8357 \family typewriter
8358
8359 \backslash
8360 plotone
8361 \family default
8362 (2.14.1)・
8363 \family typewriter
8364
8365 \backslash
8366 plottwo
8367 \family default
8368 (2.14.1)・
8369 \family typewriter
8370
8371 \backslash
8372 tablenum
8373 \family default
8374 (2.15.4)・
8375 \family typewriter
8376
8377 \backslash
8378 tableline
8379 \family default
8380 (2.15.4:
8381 入れたい場所の後ろに,
8382 左側セルの最初の要素として挿入する.表中では,
8383 \SpecialChar LyX
8384 の方法は使わないでください)・
8385 \family typewriter
8386
8387 \backslash
8388 tablenotemark
8389 \family default
8390 (2.15.5)・
8391 \family typewriter
8392
8393 \backslash
8394 tablenotetext
8395 \family default
8396 (2.15.5)・補遺(2.17)の大半
8397 \family typewriter
8398
8399 \backslash
8400 objectname
8401 \family default
8402
8403 \family typewriter
8404
8405 \backslash
8406 dataset
8407 \family default
8408
8409 \family typewriter
8410
8411 \backslash
8412 url
8413 \family default
8414
8415 \family typewriter
8416
8417 \backslash
8418 email
8419 \family default
8420 を除く.上記参照)・
8421 \family typewriter
8422
8423 \backslash
8424 singlespace
8425 \family default
8426 (3.1)・
8427 \family typewriter
8428
8429 \backslash
8430 doublespace
8431 \family default
8432 (3.1)・
8433 \family typewriter
8434
8435 \backslash
8436 onecolumn
8437 \family default
8438 (3.2)・
8439 \family typewriter
8440
8441 \backslash
8442 twocolumn
8443 \family default
8444 (3.2)
8445 \end_layout
8446
8447 \begin_layout Paragraph
8448 実装できないもの
8449 \end_layout
8450
8451 \begin_layout Standard
8452 references(2.12.3)環境とdeluxetable(2.14)環境は,
8453 少なくとも意味のあるような形で実装することができないので,
8454 無視してください.もし,
8455 絶対に,
8456 どうしても,
8457 deluxetableを使う必要があるならば,
8458 テキストエディタで別ファイルとして編集し,
8459
8460 \family sans
8461 挿入\SpecialChar menuseparator
8462 子文書
8463 \family default
8464
8465 \begin_inset space \thinspace{}
8466 \end_inset
8467
8468 を使用して,
8469 \SpecialChar LyX
8470 ファイルに読み込むことを推奨します.この実例は,
8471
8472 \family sans
8473 ファイル\SpecialChar menuseparator
8474 新規(ひな型使用)\SpecialChar menuseparator
8475 論文\SpecialChar menuseparator
8476 American Astronomical Society
8477 \family default
8478
8479 \begin_inset space \thinspace{}
8480 \end_inset
8481
8482 をご参照ください.
8483 \end_layout
8484
8485 \begin_layout Subsubsection
8486 FAQとヒントと技とその他の考察
8487 \end_layout
8488
8489 \begin_layout Paragraph
8490 \SpecialChar LyX
8491 をAAS\SpecialChar TeX
8492 と協調させる
8493 \end_layout
8494
8495 \begin_layout Standard
8496 \SpecialChar LyX
8497 に,
8498 新しいレイアウトと文書クラスを認識させるには若干コツが要ります.もしうまく行かなかったら,
8499 次のようにしてみてください.
8500 \end_layout
8501
8502 \begin_layout Enumerate
8503 \SpecialChar LaTeX
8504 が,
8505 AAS\SpecialChar TeX
8506 を検出できることを確認してください.AAS\SpecialChar TeX
8507 頒布版に含まれる
8508 \family typewriter
8509 sample.tex
8510 \family default
8511 (あるいは
8512 \family typewriter
8513 table.tex
8514 \family default
8515 でも可)を,
8516 \SpecialChar LaTeX
8517 やAAS\SpecialChar TeX
8518 とまったく関係のないディレクトリにコピーして,
8519
8520 \family typewriter
8521 sample.tex
8522 \family default
8523 を\SpecialChar LaTeX
8524 にかけてください.
8525 \end_layout
8526
8527 \begin_layout Enumerate
8528
8529 \family typewriter
8530 aastex.layout
8531 \family default
8532 が,
8533 \SpecialChar LyX
8534
8535 \family typewriter
8536 layouts
8537 \family default
8538 フォルダにあることを確認してください.
8539 \end_layout
8540
8541 \begin_layout Enumerate
8542 \SpecialChar LyX
8543 中から
8544 \begin_inset space \thinspace{}
8545 \end_inset
8546
8547
8548 \family sans
8549 ツール\SpecialChar menuseparator
8550 環境構成
8551 \family default
8552
8553 \begin_inset space \thinspace{}
8554 \end_inset
8555
8556 を再度実行し,
8557 \SpecialChar LyX
8558 を再起動してください.
8559 \end_layout
8560
8561 \begin_layout Enumerate
8562 ひな型ではなく,
8563 通常の新規ファイルを開いてください.
8564 \family sans
8565 American Astronomical Society (AASTeX V.
8566 \begin_inset space \thinspace{}
8567 \end_inset
8568
8569 6)
8570 \family default
8571 が,
8572
8573 \family sans
8574 文書\SpecialChar menuseparator
8575 設定
8576 \family default
8577
8578 \begin_inset space \thinspace{}
8579 \end_inset
8580
8581 のクラス一覧に表示されていますか?
8582
8583 \end_layout
8584
8585 \begin_layout Standard
8586 既存のAAS\SpecialChar TeX
8587 文書を処理する際に,
8588 AAS\SpecialChar TeX
8589 レイアウトを見つけられないとか,
8590 「タイトルレイアウトと通常のレイアウトを混在させないでください」といった警告が出るようであれば,
8591 正しい導入が行われていません.
8592 \end_layout
8593
8594 \begin_layout Paragraph
8595 表を処理する際の\SpecialChar LaTeX
8596 エラー
8597 \end_layout
8598
8599 \begin_layout Standard
8600 既定では,
8601 \SpecialChar LyX
8602 は,
8603 表のキャプションやタイトルを中央揃えにしようと試みます.これはAAS\SpecialChar TeX
8604 と悪い相互干渉を発生させるようですので,
8605 キャプションやタイトルのどこかをクリックして,
8606
8607 \family sans
8608 編集\SpecialChar menuseparator
8609 段落設定
8610 \family default
8611
8612 \begin_inset space \thinspace{}
8613 \end_inset
8614
8615 を選択し,
8616
8617 \family sans
8618 配置
8619 \family default
8620
8621 \begin_inset space \thinspace{}
8622 \end_inset
8623
8624
8625 \begin_inset space \thinspace{}
8626 \end_inset
8627
8628
8629 \family sans
8630 両端揃え
8631 \family default
8632
8633 \begin_inset space \thinspace{}
8634 \end_inset
8635
8636 に設定してください.私のところではこれで解決しました.
8637 \end_layout
8638
8639 \begin_layout Paragraph
8640 書誌情報
8641 \end_layout
8642
8643 \begin_layout Standard
8644 若干の注意があります.
8645 \end_layout
8646
8647 \begin_layout Enumerate
8648 文献項目の本文中の空白取りが少しおかしくなることがあるようです.書誌情報を入力する際には,
8649 最後の著者と,
8650 著作年を入れる括弧の間にスペースを
8651 \emph on
8652 入れない
8653 \emph default
8654 ようにしてください.たとえば,
8655
8656 \family typewriter
8657 Ressler(1992)
8658 \family default
8659 はいいですが,
8660
8661 \family typewriter
8662 Ressler (1992)
8663 \family default
8664 ではだめです.
8665 \end_layout
8666
8667 \begin_layout Enumerate
8668 書誌情報の入力の仕方は,
8669 必ずしも自明ではありません.もっとも簡単な方法は,
8670 文書の最後に,
8671 最初の書誌情報をまず書き込み,
8672 それを
8673 \begin_inset space \thinspace{}
8674 \end_inset
8675
8676
8677 \family sans
8678 書誌情報
8679 \family default
8680
8681 \begin_inset space \thinspace{}
8682 \end_inset
8683
8684 環境としてマークすることです.すると,
8685 入力したものの前に,
8686 小さな灰色のボックスが現れます.このボックスをクリックして,
8687 残りの情報を入力してください.新しい書誌情報を追加するには,
8688 既存の書誌情報の後ろでリターンを押します.すると,
8689 新しいボックスの付いた新規行が出てくるので,
8690 後は同様にしてください.
8691 \end_layout
8692
8693 \begin_layout Paragraph
8694 EPSファイルの読み込み
8695 \end_layout
8696
8697 \begin_layout Standard
8698 AAS\SpecialChar TeX
8699 には,
8700 自前の図関連コマンド(たとえば
8701 \family typewriter
8702
8703 \backslash
8704 plotone
8705 \family default
8706 )がありますが,
8707 私は(既定のgraphicxを使った)\SpecialChar LaTeX
8708 の標準図コマンドの方がずっと好きです.望めば,
8709 図フロートボックスに,
8710 \SpecialChar TeX
8711 コードで
8712 \family typewriter
8713
8714 \backslash
8715 plotone
8716 \family default
8717 等のコマンドを挿入することはできますが,
8718 私には正しいレイアウトを得ることができた試しがありません.標準の画像コマンドを使えば,
8719 \SpecialChar LyX
8720 は,
8721
8722 \family typewriter
8723
8724 \backslash
8725 usepackage{graphics}
8726 \family default
8727 コマンドを\SpecialChar LaTeX
8728 プリアンブルに挿入し,
8729 図を\SpecialChar LaTeX2e
8730 の標準的な方法で取り扱って,
8731 文章の中にちりばめます.現在,
8732 ApJは,
8733 ちょうどこのようにして作成した図を受け入れていますが,
8734 AJはまだ「すべてを末尾に積み上げる」方法を使用しているかもしれません.
8735 \end_layout
8736
8737 \begin_layout Paragraph
8738 可能だったが,
8739 実装しなかったもの
8740 \end_layout
8741
8742 \begin_layout Standard
8743 「素敵な」ものの中には,
8744 実装することも可能だったけれども,
8745 あえて実装しなかったものがあります.たとえば,
8746 紙の原稿ではダブルスペースであったとしても,
8747 \SpecialChar LyX
8748 ウィンドウ中で,
8749 文章をダブルスペースにする意味はないと考えました.また,
8750 preprint様式とpreprint2様式を,
8751 独立したレイアウトにすることもしませんでした.いずれにしても,
8752 執筆時間のほとんどを,
8753 平の原稿モードで使うのがほとんどですから,
8754 これらの機能でディスクスペースを消費しないことにしました.
8755 \end_layout
8756
8757 \begin_layout Subsubsection
8758 最後に
8759 \end_layout
8760
8761 \begin_layout Standard
8762 これまでに進んできた道のりは,
8763 長い人も短い人もいることでしょう.私には,
8764 ApJとAJに発表した論文がありますが,
8765 その努力の98
8766 \begin_inset space \thinspace{}
8767 \end_inset
8768
8769 %は\SpecialChar LyX
8770 上で為されました.残りの2
8771 \begin_inset space \thinspace{}
8772 \end_inset
8773
8774 %が,
8775 \SpecialChar LaTeX
8776 での後処理と若干の後片付けです.投稿の過程では何のトラブルもなく,
8777 これらの学術誌が通常の投稿原稿と違う点に気づくことはなかったでしょう.ですから,
8778 がんばって発表してください!
8779
8780 \end_layout
8781
8782 \begin_layout Subsection
8783 チェス
8784 \end_layout
8785
8786 \begin_layout Standard
8787
8788 \family sans
8789 チェス
8790 \family default
8791 文書クラスは,
8792 チェスゲームの叙述を可能にするために,
8793 標準article文書クラスを
8794 \family sans
8795 lyxskak
8796 \family default
8797 パッケージとともに使用します.
8798 \family sans
8799 ファイル\SpecialChar menuseparator
8800 用例を開く\SpecialChar menuseparator
8801 論文\SpecialChar menuseparator
8802 チェス
8803 \family default
8804
8805 \begin_inset space \thinspace{}
8806 \end_inset
8807
8808 を開くと
8809 \begin_inset space \thinspace{}
8810 \end_inset
8811
8812
8813 \family sans
8814 ゲーム1
8815 \family default
8816
8817 \begin_inset space \thinspace{}
8818 \end_inset
8819
8820
8821 \begin_inset space \thinspace{}
8822 \end_inset
8823
8824
8825 \family sans
8826 ゲーム2
8827 \family default
8828
8829 \begin_inset space \thinspace{}
8830 \end_inset
8831
8832 がありますので,
8833 それらを参照してください.
8834 \end_layout
8835
8836 \begin_layout Subsection
8837 Elsevier
8838 \end_layout
8839
8840 \begin_layout Standard
8841
8842 \family sans
8843 Elsevier
8844 \family default
8845 文書クラスは,
8846 Elsevier出版社の学術誌用に,
8847
8848 \family sans
8849 elsarticle
8850 \family default
8851  \SpecialChar LaTeX
8852 クラスのサポートを提供します.これは,
8853 以下の各環境を追加します:
8854
8855 \family sans
8856 表題脚註
8857 \family default
8858
8859 \family sans
8860 著者脚註
8861 \family default
8862
8863 \family sans
8864 連絡担当著者
8865 \family default
8866
8867 \family sans
8868 住所
8869 \family default
8870
8871 \family sans
8872 電子メール
8873 \family default
8874
8875 \family sans
8876 キーワード
8877 \family default
8878 .ひな型は
8879 \begin_inset space \thinspace{}
8880 \end_inset
8881
8882 ファイル\SpecialChar menuseparator
8883 新規(ひな型使用)\SpecialChar menuseparator
8884 論文\SpecialChar menuseparator
8885 Elsevier
8886 \begin_inset space \thinspace{}
8887 \end_inset
8888
8889 メニューで利用可能です.これは,
8890 さらに多くの環境を設定していて,
8891 必要な情報を全て含みます.しかしながら,
8892 ドキュメンテーションは
8893 \begin_inset CommandInset href
8894 LatexCommand href
8895 name "CTAN"
8896 target "http://mirrors.ctan.org/macros/latex/contrib/elsarticle/doc/elsdoc.pdf"
8897 literal "false"
8898
8899 \end_inset
8900
8901 でも利用可能です.
8902 \end_layout
8903
8904 \begin_layout Subsection
8905 Paper
8906 \end_layout
8907
8908 \begin_layout Standard
8909
8910 \family sans
8911 Paper (標準クラス)
8912 \family default
8913 文書クラスは
8914 \family sans
8915 Article (標準クラス)
8916 \family default
8917 文書クラスの代替となるものです.これは同様の機能を提供しますが,
8918 サンセリフ体の節や見出し等を持つこちらのレイアウトの方が気に入るかも知れません.
8919 \end_layout
8920
8921 \begin_layout Subsection
8922 Rev\SpecialChar TeX
8923 4
8924 \end_layout
8925
8926 \begin_layout Standard
8927 by 
8928 \noun on
8929 Amir Karger
8930 \end_layout
8931
8932 \begin_layout Standard
8933 \begin_inset VSpace bigskip
8934 \end_inset
8935
8936
8937 \end_layout
8938
8939 \begin_layout Standard
8940 \noindent
8941
8942 \family sans
8943 REVTeX (V.
8944 \begin_inset space ~
8945 \end_inset
8946
8947 4)
8948 \family default
8949 テキストクラスは,
8950 アメリカ物理学会のRev\SpecialChar TeX
8951  4.0(1999年5月の
8952 \begin_inset Formula $\beta$
8953 \end_inset
8954
8955 リリース)クラスで動作します.
8956 \end_layout
8957
8958 \begin_layout Standard
8959 \SpecialChar LyX
8960 には,
8961 Rev\SpecialChar TeX
8962  3.1で動作する
8963 \family sans
8964 REVTeX
8965 \family default
8966
8967 \begin_inset space \thinspace{}
8968 \end_inset
8969
8970
8971 \family sans
8972 (廃版)
8973 \family default
8974
8975 \begin_inset space \thinspace{}
8976 \end_inset
8977
8978 テキストクラスもあります.しかしながら,
8979 第3.1版は\SpecialChar LaTeX
8980  2.09で動作するものであり,
8981 基本的に時代遅れなものになっています.\SpecialChar LyX
8982 は\SpecialChar LaTeX2e
8983 を必要とすることから,
8984 第3.1版は\SpecialChar LyX
8985 とうまく協調しないことを意味しますが,
8986 動作するようには調整してあります.Rev\SpecialChar TeX
8987  4.0は,
8988 \SpecialChar LaTeX2e
8989 で素直に動作するようにデザインされているので,
8990 \SpecialChar LyX
8991
8992 \family sans
8993 REVTeX (V.
8994 \begin_inset space ~
8995 \end_inset
8996
8997 4)
8998 \family default
8999 テキストクラスの組で使用するのは,
9000 たいへん簡単です.
9001 \end_layout
9002
9003 \begin_layout Standard
9004 この取扱説明書は,
9005 Rev\SpecialChar TeX
9006  4.0の説明書の
9007 \begin_inset Flex 圏点
9008 status open
9009
9010 \begin_layout Plain Layout
9011 補完
9012 \end_layout
9013
9014 \end_inset
9015
9016 として使用されることを前提としています.したがって,
9017 ここではRev\SpecialChar TeX
9018 固有マクロの説明はせず,
9019 必要な場合にはプリアンブルに何と書けば良いかを知っているものとして説明します.
9020 \end_layout
9021
9022 \begin_layout Subsubsection
9023 導入
9024 \end_layout
9025
9026 \begin_layout Standard
9027 Rev\SpecialChar TeX
9028  4パッケージのREADMEファイルにあるとおり,
9029 ともかくRev\SpecialChar TeX
9030  4を導入しなくてはなりません.パッケージは,
9031 The Rev\SpecialChar TeX
9032  4 Web Site 
9033 \begin_inset Flex URL
9034 status collapsed
9035
9036 \begin_layout Plain Layout
9037
9038 http://publish.aps.org/revtex4/
9039 \end_layout
9040
9041 \end_inset
9042
9043 から入手することができます.これを\SpecialChar LaTeX
9044 が検出することのできる場所に導入してください.それから,
9045 適当に選んだディレクトリ(もといクラスファイルを導入したのとは異なるディレクトリ)で簡単なRev\SpecialChar TeX
9046  4文書を \SpecialChar LaTeX
9047 でコンパイルできるかどうか確認してください.この後,
9048 \SpecialChar LyX
9049 を環境構成すると,
9050 クラスファイルを検出し,
9051 Rev\SpecialChar TeX
9052 4テキストクラスが使用できるようになるはずです.
9053 \end_layout
9054
9055 \begin_layout Standard
9056 使い始めるには,
9057
9058 \family typewriter
9059 tex2lyx
9060 \family default
9061 を使ってRev\SpecialChar TeX
9062  4文書を読み込むか,
9063 または
9064 \family sans
9065 ファイル\SpecialChar menuseparator
9066 新規(ひな型使用)\SpecialChar menuseparator
9067 Article
9068 \family default
9069
9070 \begin_inset space \thinspace{}
9071 \end_inset
9072
9073 にある
9074 \family sans
9075 Revtex
9076 \begin_inset space ~
9077 \end_inset
9078
9079 4
9080 \family default
9081 のひな型を使うのが,
9082 おそらく一番簡単な方法でしょう.
9083 \end_layout
9084
9085 \begin_layout Subsubsection
9086 プリアンブルに関すること
9087 \end_layout
9088
9089 \begin_layout Standard
9090
9091 \family typewriter
9092
9093 \backslash
9094 documentclass
9095 \family default
9096 に与える「preprint」や「aps」のような非必須引数は,
9097 他のクラス同様,
9098
9099 \family sans
9100 文書\SpecialChar menuseparator
9101 設定\SpecialChar menuseparator
9102 文書クラス
9103 \family default
9104
9105 \begin_inset space \thinspace{}
9106 \end_inset
9107
9108
9109 \begin_inset space \thinspace{}
9110 \end_inset
9111
9112
9113 \family sans
9114 クラスオプション
9115 \family default
9116
9117 \begin_inset space \thinspace{}
9118 \end_inset
9119
9120 フィールドに入れます.Rev\SpecialChar TeX
9121 では,
9122 少なくとも一つの非必須引数が必要なことに注意してください.
9123 \end_layout
9124
9125 \begin_layout Standard
9126
9127 \family typewriter
9128
9129 \backslash
9130 draft
9131 \family default
9132 など他のプリアンブルは,
9133 他のクラス同様,
9134
9135 \family sans
9136 文書\SpecialChar menuseparator
9137 設定\SpecialChar menuseparator
9138 \SpecialChar LaTeX
9139 プリアンブル
9140 \family default
9141
9142 \begin_inset space \thinspace{}
9143 \end_inset
9144
9145 に入れてください.
9146 \end_layout
9147
9148 \begin_layout Subsubsection
9149 レイアウト
9150 \end_layout
9151
9152 \begin_layout Standard
9153 レイアウトは,
9154 基本的にRev\SpecialChar TeX
9155 4.0のコマンドに対応しています.たとえば,
9156 Emailレイアウトは,
9157
9158 \family typewriter
9159
9160 \backslash
9161 email{}
9162 \family default
9163 に対応しています.(少なくともRev\SpecialChar TeX
9164  4.0 Beta現在では)
9165 \family sans
9166 住所
9167 \family default
9168
9169 \family sans
9170 所属
9171 \family default
9172 はまったく同じものなので,
9173 両方を使う必要はありません
9174 \begin_inset Foot
9175 status collapsed
9176
9177 \begin_layout Plain Layout
9178 ついでながら,
9179
9180 \family typewriter
9181 tex2lyx
9182 \family default
9183 は両方とも対応しているので,
9184
9185 \family typewriter
9186
9187 \backslash
9188 address
9189 \family default
9190
9191 \family typewriter
9192
9193 \backslash
9194 affiliation
9195 \family default
9196 のどちらも翻訳することができます.
9197 \end_layout
9198
9199 \end_inset
9200
9201
9202 \end_layout
9203
9204 \begin_layout Subsubsection
9205 重要な注意
9206 \end_layout
9207
9208 \begin_layout Standard
9209 Rev\SpecialChar TeX
9210  4には,
9211 バグを引き起こしがちなために,
9212 気をつけなくてはならない特殊な面がいくつかあるため,
9213 \SpecialChar LyX
9214 ではさらに気をつけなくてはなりません.
9215 \end_layout
9216
9217 \begin_layout Standard
9218 Rev\SpecialChar TeX
9219 では,
9220
9221 \family typewriter
9222
9223 \backslash
9224 thanks
9225 \family default
9226 コマンドは,
9227
9228 \family typewriter
9229
9230 \backslash
9231 author
9232 \family default
9233 コマンドの
9234 \begin_inset Flex 圏点
9235 status open
9236
9237 \begin_layout Plain Layout
9238 外側
9239 \end_layout
9240
9241 \end_inset
9242
9243 に来なくてはなりません.\SpecialChar LyX
9244 では,
9245 独立した
9246 \family sans
9247 感謝
9248 \family default
9249 レイアウトがこの働きをします.直接
9250 \family sans
9251
9252 著者
9253 \family default
9254 レイアウトに脚注を付けてしまうと,
9255 おかしなことが起こる可能性があります.詳細については,
9256 Rev\SpecialChar TeX
9257  4の取扱説明書をご覧ください.
9258 \end_layout
9259
9260 \begin_layout Standard
9261 また,
9262
9263 \family sans
9264 著者電子メール
9265 \family default
9266
9267 \family sans
9268 著者URL・感謝(thanks)
9269 \family default
9270 レイアウトは,
9271
9272 \family sans
9273 著者
9274 \family default
9275 レイアウトと
9276 \family sans
9277 住所(
9278 \family default
9279 または同等の
9280 \family sans
9281 所属
9282 \family default
9283 )レイアウトの間に置かなければなりません.
9284 \family sans
9285 感謝(thanks)
9286 \family default
9287
9288 \family sans
9289 住所
9290 \family default
9291 の後に置いてしまうと,
9292 \SpecialChar LaTeX
9293 はコンパイルに失敗します.
9294 \end_layout
9295
9296 \begin_layout Subsection
9297 Springer学術誌
9298 \end_layout
9299
9300 \begin_layout Standard
9301 すべての
9302 \family sans
9303 svj*
9304 \family default
9305 クラスは,
9306 完全に新しい
9307 \family sans
9308 sn-jnl.cls
9309 \family default
9310 に置き換えられました.情報については,
9311
9312 \begin_inset Flex URL
9313 status collapsed
9314
9315 \begin_layout Plain Layout
9316
9317 https://www.springernature.com/gp/authors/campaigns/latex-author-support
9318 \end_layout
9319
9320 \end_inset
9321
9322 をご覧ください.\SpecialChar LyX
9323 のネイティブサポートはまだ為されていません.
9324 \end_layout
9325
9326 \begin_layout Section
9327 書籍
9328 \end_layout
9329
9330 \begin_layout Standard
9331 コレクション(第
9332 \begin_inset CommandInset ref
9333 LatexCommand ref
9334 reference "sec:コレクション"
9335 plural "false"
9336 caps "false"
9337 noprefix "false"
9338 nolink "false"
9339
9340 \end_inset
9341
9342 節)にある文書クラスも参照してください.
9343 \end_layout
9344
9345 \begin_layout Subsection
9346 Memoir
9347 \end_layout
9348
9349 \begin_layout Standard
9350
9351 \noun on
9352 Jürgen Spitzmüller
9353 \noun default
9354
9355 \end_layout
9356
9357 \begin_layout Subsubsection
9358 概観
9359 \end_layout
9360
9361 \begin_layout Standard
9362 Memoirは,
9363 非常に強力で,
9364 着実に改良が加えられている文書クラスであり,
9365 フィクションとノンフィクションの文学作品用に設計されています.その目的は,
9366 ユーザーに,
9367 文書の組版に関して最大限の裁量を得させることにあります.Memoirは,
9368 標準bookクラスに基づいていますが,
9369 articleクラスをエミュレートすることもできます(以下参照).
9370 \end_layout
9371
9372 \begin_layout Standard
9373 Memoir開発者であるPeter Wilsonは,
9374 \SpecialChar LaTeX
9375 の世界での,
9376 多くの便利なパッケージの作者として知られていますが,
9377 それらのほとんどは,
9378 Memoirに統合されました.このため,
9379 章のデザインや,
9380 目次や付録などのレイアウトを,
9381 はるかに簡単に行うことができます.しかしながら,
9382 \SpecialChar LyX
9383 は,
9384 これらすべての素晴らしい機能をネイティブでサポートしているわけではありません.これらのうちいくつかは,
9385 将来のリリースで追加されるかもしれませんが
9386 \begin_inset Foot
9387 status collapsed
9388
9389 \begin_layout Plain Layout
9390 もし提案があれば,
9391 ぜひ
9392 \begin_inset Flex URL
9393 status collapsed
9394
9395 \begin_layout Plain Layout
9396
9397 lyx-devel@lists.lyx.org
9398 \end_layout
9399
9400 \end_inset
9401
9402 までお送り下さい.
9403 \end_layout
9404
9405 \end_inset
9406
9407
9408 \SpecialChar LyX
9409 のフレームワークが持つ制約のために,
9410 おそらく決して追加されることのないと考えられるものも多数あります.もちろん,
9411 ネイティブな\SpecialChar LaTeX
9412 コマンド(\SpecialChar TeX
9413 コード
9414 \begin_inset Foot
9415 status collapsed
9416
9417 \begin_layout Plain Layout
9418 【参考】詳細は,
9419
9420 \begin_inset CommandInset ref
9421 LatexCommand ref
9422 reference "sec:TeXコードを挿入する"
9423 nolink "false"
9424
9425 \end_inset
9426
9427 節参照.
9428 \end_layout
9429
9430 \end_inset
9431
9432 )の助けを借りれば,
9433 全機能を使用できます.この節では,
9434 \SpecialChar LyX
9435 がネイティブにサポートしている機能についてのみ,
9436 列挙するものとします.詳細な説明(および他の機能)については,
9437 Memoirクラスの詳しい取扱説明書
9438 \begin_inset Foot
9439 status collapsed
9440
9441 \begin_layout Plain Layout
9442 【参考】
9443 \begin_inset Flex URL
9444 status collapsed
9445
9446 \begin_layout Plain Layout
9447
9448 CTAN:/macros/latex/memoir/memman.pdf
9449 \end_layout
9450
9451 \end_inset
9452
9453
9454 \end_layout
9455
9456 \end_inset
9457
9458 をご覧になることをお勧めします.この取扱説明書は,
9459 本クラスのユーザーの手引きであるのみに留まらず,
9460 良い組版に関する包括的な解説であり,
9461 それ自身が良い組版の傑出した用例となっています.
9462 \end_layout
9463
9464 \begin_layout Subsubsection
9465 基本的な機能と制約
9466 \end_layout
9467
9468 \begin_layout Standard
9469 Memoirは,
9470 基本的に,
9471 標準bookクラスの全機能をサポートしています.しかしながら,
9472 以下に示すような若干の違いがあります.
9473 \end_layout
9474
9475 \begin_layout Description
9476 フォント寸法:
9477  Memoirでは,
9478 9・10・11・12・14・17と,
9479 より広い範囲のフォント寸法が使用可能です.
9480 \end_layout
9481
9482 \begin_layout Description
9483 ページ様式:
9484  Memoirパッケージとfancyhdrパッケージとのコマンドの衝突のため(両パッケージは同じ名前のコマンドを定義しているため,
9485 \SpecialChar LaTeX
9486 が混乱させられます),
9487 fancyページ様式は使用できません.その代わり,
9488 Memoirには,
9489 多くの独自のページ様式が付属してきます(
9490 \family sans
9491 文書\SpecialChar menuseparator
9492 設定\SpecialChar menuseparator
9493 ページレイアウト
9494 \family default
9495
9496 \begin_inset space \thinspace{}
9497 \end_inset
9498
9499 参照).これらを章題ページに使用したい場合には,
9500 コマンド
9501 \family typewriter
9502
9503 \backslash
9504 chapterstyle
9505 \family default
9506 を,
9507 本文またはプリアンブルに記述する必要があります(例えば,
9508
9509 \family typewriter
9510
9511 \backslash
9512 chapterstyle{companion}
9513 \family default
9514 など).
9515 \end_layout
9516
9517 \begin_layout Description
9518 章立て:
9519  標準クラスでは,
9520 章立てコマンド(章・節・小節等)は,
9521 非必須引数を一つ取ることができます.これを用いて,
9522 目次やヘッダ用に別のタイトルを指定することができます(たとえば,
9523 タイトルが長すぎる場合などに用います).\SpecialChar LyX
9524 では,
9525 章や節の始めで
9526 \begin_inset space \thinspace{}
9527 \end_inset
9528
9529
9530 \family sans
9531 挿入\SpecialChar menuseparator
9532 短縮タイトル
9533 \family default
9534
9535 \begin_inset space \thinspace{}
9536 \end_inset
9537
9538 を使えば,
9539 これを指定することができます.一方,
9540 Memoirでは,
9541 第2の非必須引数を取ることができ,
9542 目次用のタイトルとヘッダ用のタイトルの指定を分離しています.\SpecialChar LyX
9543 では,
9544
9545 \family sans
9546 挿入
9547 \family default
9548
9549 \begin_inset space \thinspace{}
9550 \end_inset
9551
9552 メニューから
9553 \begin_inset space \thinspace{}
9554 \end_inset
9555
9556
9557 \family sans
9558 短縮タイトル
9559 \family default
9560
9561 \begin_inset space \thinspace{}
9562 \end_inset
9563
9564 の特定の派生形の形で利用できます.
9565 \end_layout
9566
9567 \begin_layout Description
9568 目次・図一覧・表一覧:
9569  標準クラス(および他の多くのクラス)では,
9570 目次と図一覧および表一覧は,
9571 自動的に新規頁に置かれます.Memoirは,
9572 これとは別の方針を採ります.改頁を行いたい場合は,
9573 手動で頁区切りを入れなくてはなりません.
9574 \end_layout
9575
9576 \begin_layout Description
9577 タイトル頁:
9578  理由は不明ですが,
9579 Memoirはタイトルページに丁付けを行います(標準クラスでは,
9580 タイトルページは「empty」様式).タイトル頁に丁付けを行いたくない場合には,
9581 プリアンブルに
9582 \family typewriter
9583
9584 \backslash
9585 aliaspagestyle{title}{empty}
9586 \family default
9587 と入力してください.
9588 \end_layout
9589
9590 \begin_layout Description
9591 Article:
9592  クラスオプション
9593 \emph on
9594 article
9595 \emph default
9596 を用いる(
9597 \family sans
9598 文書\SpecialChar menuseparator
9599 設定\SpecialChar menuseparator
9600 文書クラス\SpecialChar menuseparator
9601 クラスオプション\SpecialChar menuseparator
9602 詳細設定
9603 \family default
9604
9605 \begin_inset space \thinspace{}
9606 \end_inset
9607
9608 で入力)と,
9609 article様式をエミュレートできます.すなわち,
9610 (脚注・図・表等の)カウンタは,
9611 章毎にリセットされず,
9612 次の章は頁を改めず(ただし,
9613 「本物の」articleクラスとは違って,
9614 頁を改めることも可),
9615 部はbookクラスと同様に,
9616 独立の頁を使用します.
9617 \end_layout
9618
9619 \begin_layout Description
9620 Oldfontcommands:
9621  \SpecialChar LaTeX
9622 旧2.09版で使用されていた旧いフォントコマンド(
9623 \family typewriter
9624
9625 \backslash
9626 rm
9627 \family default
9628
9629 \family typewriter
9630
9631 \backslash
9632 it
9633 \family default
9634 など)は,
9635 Memoirにおいては,
9636 既定では使用することができません.Memoirがこれらのコマンドを検知すると,
9637 エラーを発して\SpecialChar LaTeX
9638 を停止させます.しかし,
9639 クラスオプション
9640 \emph on
9641 oldfontcommands
9642 \emph default
9643 を指定すると,
9644 これらのコマンドが容認され,
9645 エラーの代わりに警告を発するのみとなります(これによって,
9646 少なくとも\SpecialChar LaTeX
9647 は停止しなくなります).まだ,
9648 多くのパッケージと,
9649 就中多くのBib\SpecialChar TeX
9650 スタイルファイルが,
9651 これらのコマンドを使用しているので,
9652 我々はこのオプションを既定で使うこととしました.
9653 \end_layout
9654
9655 \begin_layout Subsubsection
9656 追加された機能
9657 \end_layout
9658
9659 \begin_layout Standard
9660 \SpecialChar LyX
9661 でサポートされる機能(今のところそれほど多くはありません)を簡単に説明しましょう.詳しくはMemoirの取扱説明書
9662 \begin_inset Foot
9663 status collapsed
9664
9665 \begin_layout Plain Layout
9666 \begin_inset Flex URL
9667 status collapsed
9668
9669 \begin_layout Plain Layout
9670
9671 CTAN:/macros/latex/memoir/memman.pdf
9672 \end_layout
9673
9674 \end_inset
9675
9676
9677 \end_layout
9678
9679 \end_inset
9680
9681 を見てください.
9682 \end_layout
9683
9684 \begin_layout Description
9685 概要:
9686  概要が,
9687 追加された機能として扱われているのを不思議に思われるかもしれませんが,
9688 bookクラスとしては追加された機能なのです.通常bookクラスには概要はないのですが,
9689 memoirにはあります.これは,
9690 どこでも何回でも自由に使うことができます.
9691 \end_layout
9692
9693 \begin_layout Description
9694 章要約:
9695  この古い組版様式はご覧になったことがあるかも知れません.章の内容が,
9696 見出しの下と目次に要約されているものです(たとえば,
9697 「我らが英雄がトロヤに到着する.彼は友人を失うが,
9698 新たな友人を得る.」など).章要約(chapterprecis)はこれを行います.したがって,
9699 章要約は章の下でのみ意味を持ちます.
9700 \end_layout
9701
9702 \begin_layout Description
9703 題辞:
9704  題辞(epigraph)は章頭の,
9705 気の利いた標語やモットーです.題辞環境は,
9706 そのような標語を組む洗練された方法を提供します.標語本体(本文)とその著者(出典:
9707 非必須)は,
9708 短い線で区切られます.著者(出典)は,
9709
9710 \family sans
9711 挿入\SpecialChar menuseparator
9712 題辞出典
9713 \family default
9714
9715 \begin_inset space \thinspace{}
9716 \end_inset
9717
9718 で入力できます.
9719 \end_layout
9720
9721 \begin_layout Description
9722 詩題:
9723  Memoirには(複雑で隠喩的なものも含めて)詩を組版するための多くの機能がありますが,
9724 \SpecialChar LyX
9725 は,
9726 そのうちいくつかしかサポートしていません.詩題はその一つです.これは詩用の中央揃えタイトルで,
9727 目次にも表示されます(詩句が詩の標準環境です.Memoirには,
9728 詩句の拡張版もありますが,
9729 これらを使うためには\SpecialChar TeX
9730 コードを使用しなくてはなりません.これらの環境は通常の詩句環境の中に入れ子にしなくてはならないのですが,
9731 \SpecialChar LyX
9732 ではそれができないためです).
9733 \end_layout
9734
9735 \begin_layout Description
9736 詩題*:
9737  目次に現れない他は詩題と同じです.
9738 \end_layout
9739
9740 \begin_layout Subsection
9741 Recipe Book
9742 \end_layout
9743
9744 \begin_layout Standard
9745
9746 \family sans
9747 RecipeBook
9748 \family default
9749 文書クラスは,
9750
9751 \family sans
9752 KOMA-Script
9753 \begin_inset space \space{}
9754 \end_inset
9755
9756 Book
9757 \family default
9758 文書クラスを使用しますが,
9759 以下の2つの環境を追加します.
9760 \end_layout
9761
9762 \begin_layout Description
9763 レシピ 二重水平線を引いた中央揃えボールド体の見出しを生成する
9764 \family sans
9765 小々節
9766 \family default
9767 階層の連番節環境
9768 \end_layout
9769
9770 \begin_layout Description
9771 材料 
9772 \begin_inset Flex 圏点
9773 status open
9774
9775 \begin_layout Plain Layout
9776 材料
9777 \end_layout
9778
9779 \end_inset
9780
9781 が記述される
9782 \family sans
9783 記述
9784 \family default
9785 環境で,
9786 環境の終わりに水平線が引かれます
9787 \end_layout
9788
9789 \begin_layout Standard
9790
9791 \family sans
9792 ファイル\SpecialChar menuseparator
9793 用例を開く\SpecialChar menuseparator
9794 書籍\SpecialChar menuseparator
9795 Recipe Book
9796 \family default
9797
9798 \begin_inset space \thinspace{}
9799 \end_inset
9800
9801 に使用法が描かれています.
9802 \end_layout
9803
9804 \begin_layout Standard
9805 このクラスは,
9806 1ページに一つか二つのレシピを組版するようにデザインされています.ハイパーリンク化された目次とページ番号によって,
9807 レシピをめくるのが便利になっています.
9808 \end_layout
9809
9810 \begin_layout Section
9811 履歴書
9812 \end_layout
9813
9814 \begin_layout Subsection
9815 Europass (2013)
9816 \end_layout
9817
9818 \begin_layout Standard
9819
9820 \family sans
9821 Europass (2013)
9822 \family default
9823 文書クラスは,
9824 2013年欧州委員会推奨の「Europass CV」の非公式実装である
9825 \family typewriter
9826 europasscv.cls
9827 \family default
9828 文書クラスを提供します.
9829 \family sans
9830 ファイル\SpecialChar menuseparator
9831 用例を開く\SpecialChar menuseparator
9832 履歴書\SpecialChar menuseparator
9833 Europass (2013)
9834 \begin_inset space \thinspace{}
9835 \end_inset
9836
9837
9838 \family default
9839 が使用法の案内をします.ドキュメンテーションは
9840 \begin_inset CommandInset href
9841 LatexCommand href
9842 name "CTAN"
9843 target "http://mirrors.ctan.org/macros/latex/contrib/europasscv/europasscv.pdf"
9844 literal "false"
9845
9846 \end_inset
9847
9848 から利用可能です.
9849 \end_layout
9850
9851 \begin_layout Subsection
9852 Europe CV
9853 \end_layout
9854
9855 \begin_layout Standard
9856
9857 \family sans
9858 Europe CV
9859 \family default
9860 文書クラスは,
9861 2002年欧州委員会推奨の「Europass CV」の非公式実装である
9862 \family typewriter
9863 europecv.cls
9864 \family default
9865 文書クラスを提供します.
9866 \family sans
9867 ファイル\SpecialChar menuseparator
9868 用例を開く\SpecialChar menuseparator
9869 履歴書\SpecialChar menuseparator
9870 Europe CV
9871 \begin_inset space \thinspace{}
9872 \end_inset
9873
9874
9875 \family default
9876 が使用法の案内をします.ドキュメンテーションは
9877 \begin_inset CommandInset href
9878 LatexCommand href
9879 name "CTAN"
9880 target "http://mirrors.ctan.org/macros/latex/contrib/europecv/europecv.pdf"
9881 literal "false"
9882
9883 \end_inset
9884
9885 から利用可能です.
9886 \end_layout
9887
9888 \begin_layout Subsection
9889 Modern CV
9890 \end_layout
9891
9892 \begin_layout Standard
9893
9894 \family sans
9895 Modern CV
9896 \family default
9897 文書クラスは,
9898
9899 \family typewriter
9900 moderncv.cls
9901 \family default
9902 文書クラスを提供します.これによって,
9903 カスタマイズ可能な履歴書を生成することができます.
9904 \family sans
9905 ファイル\SpecialChar menuseparator
9906 用例を開く\SpecialChar menuseparator
9907 履歴書\SpecialChar menuseparator
9908 Modern CV
9909 \begin_inset space \thinspace{}
9910 \end_inset
9911
9912
9913 \family default
9914 が使用法の案内をします.ドキュメンテーションは
9915 \begin_inset CommandInset href
9916 LatexCommand href
9917 name "CTAN"
9918 target "http://mirrors.ctan.org/macros/latex/contrib/moderncv/manual/moderncv_userguide.pdf"
9919 literal "false"
9920
9921 \end_inset
9922
9923 から利用可能です.
9924 \end_layout
9925
9926 \begin_layout Subsection
9927 Simple
9928 \end_layout
9929
9930 \begin_layout Standard
9931
9932 \family sans
9933 Simple CV
9934 \family default
9935 文書クラスは,
9936 元々\SpecialChar LyX
9937 で使用するために開発された
9938 \family typewriter
9939 simplecv.cls
9940 \family default
9941 文書クラスを提供します.
9942 \family sans
9943 ファイル\SpecialChar menuseparator
9944 用例を開く\SpecialChar menuseparator
9945 履歴書\SpecialChar menuseparator
9946 Simple CV
9947 \begin_inset space \thinspace{}
9948 \end_inset
9949
9950
9951 \family default
9952 が使用法の案内をします.ドキュメンテーションは
9953 \begin_inset CommandInset href
9954 LatexCommand href
9955 name "CTAN"
9956 target "http://mirrors.ctan.org/macros/latex/contrib/simplecv/simplecv.pdf"
9957 literal "false"
9958
9959 \end_inset
9960
9961 から利用可能です.
9962 \end_layout
9963
9964 \begin_layout Section
9965 書簡
9966 \end_layout
9967
9968 \begin_layout Standard
9969
9970 \family sans
9971 KOMA-Script Letter (V.
9972  2)
9973 \family default
9974  (第
9975 \begin_inset CommandInset ref
9976 LatexCommand ref
9977 reference "subsec:新しいletterクラス"
9978 plural "false"
9979 caps "false"
9980 noprefix "false"
9981 nolink "false"
9982
9983 \end_inset
9984
9985 節)および
9986 \family typewriter
9987 Letter (フォント寸法を追加した標準クラス)
9988 \family default
9989  (第
9990 \begin_inset CommandInset ref
9991 LatexCommand ref
9992 reference "subsec:追加フォント寸法"
9993 plural "false"
9994 caps "false"
9995 noprefix "false"
9996 nolink "false"
9997
9998 \end_inset
9999
10000 節) 文書クラスも参照してください.
10001 \end_layout
10002
10003 \begin_layout Subsection
10004 DIN-Brief
10005 \end_layout
10006
10007 \begin_layout Standard
10008
10009 \family sans
10010 DIN-Brief
10011 \family default
10012 文書クラスは,
10013 ドイツ規格協会の標準(
10014 \emph on
10015 Deutsches Institut f
10016 \begin_inset ERT
10017 status collapsed
10018
10019 \begin_layout Plain Layout
10020
10021
10022 \backslash
10023
10024 \begin_inset Quotes erd
10025 \end_inset
10026
10027 {u}
10028 \end_layout
10029
10030 \end_inset
10031
10032 r Normung
10033 \emph default
10034
10035 DIN)に則った書簡を書くのに用いる
10036 \family typewriter
10037 dinbrief.cls
10038 \family default
10039  \SpecialChar LaTeX
10040 クラスへのサポートを提供します.
10041 \family sans
10042 ファイル\SpecialChar menuseparator
10043 新規(ひな型使用)\SpecialChar menuseparator
10044 書簡\SpecialChar menuseparator
10045 DIN-Brief
10046 \begin_inset space \thinspace{}
10047 \end_inset
10048
10049
10050 \family default
10051 メニューが使用法の案内をします.ドキュメンテーションは
10052 \begin_inset CommandInset href
10053 LatexCommand href
10054 name "CTAN"
10055 target "http://mirrors.ctan.org/macros/latex/contrib/dinbrief/liesmich"
10056 literal "false"
10057
10058 \end_inset
10059
10060 から利用可能です.
10061 \end_layout
10062
10063 \begin_layout Subsection
10064 フランス語Letter
10065 \begin_inset space \space{}
10066 \end_inset
10067
10068 (frletter)
10069 \end_layout
10070
10071 \begin_layout Standard
10072
10073 \family sans
10074 フランス語Letter
10075 \begin_inset space \space{}
10076 \end_inset
10077
10078 (frletter)
10079 \family default
10080 文書クラスは,
10081 フランス語の慣習に則った書簡を書くのに用いる
10082 \family typewriter
10083 frletter.cls
10084 \family default
10085  \SpecialChar LaTeX
10086 クラスへのサポートを提供します.
10087 \family sans
10088 ファイル\SpecialChar menuseparator
10089 新規(ひな型使用)\SpecialChar menuseparator
10090 書簡\SpecialChar menuseparator
10091 フランス語Letter
10092 \begin_inset space \space{}
10093 \end_inset
10094
10095 (frletter)
10096 \begin_inset space \thinspace{}
10097 \end_inset
10098
10099
10100 \family default
10101 メニューが使用法の案内をします.
10102 \end_layout
10103
10104 \begin_layout Subsection
10105 フランス語Letter
10106 \begin_inset space \space{}
10107 \end_inset
10108
10109 (lettre)
10110 \end_layout
10111
10112 \begin_layout Standard
10113
10114 \family sans
10115 フランス語Letter
10116 \begin_inset space \space{}
10117 \end_inset
10118
10119 (lettre)
10120 \family default
10121 文書クラスは,
10122 フランス語の書簡やファックス,
10123 封筒を書くのに用いる
10124 \family typewriter
10125 lettre.cls
10126 \family default
10127  \SpecialChar LaTeX
10128 クラスへのサポートを提供します.
10129 \family sans
10130 ファイル\SpecialChar menuseparator
10131 新規(ひな型使用)\SpecialChar menuseparator
10132 書簡\SpecialChar menuseparator
10133 フランス語Letter
10134 \begin_inset space \space{}
10135 \end_inset
10136
10137 (lettre)
10138 \begin_inset space \thinspace{}
10139 \end_inset
10140
10141
10142 \family default
10143 メニューが使用法の案内をします.ドキュメンテーションは
10144 \begin_inset CommandInset href
10145 LatexCommand href
10146 name "CTAN"
10147 target "http://mirrors.ctan.org/macros/latex/contrib/lettre/lettre.pdf"
10148 literal "false"
10149
10150 \end_inset
10151
10152 から利用可能です.
10153 \end_layout
10154
10155 \begin_layout Subsection
10156 G-Brief
10157 \begin_inset space \space{}
10158 \end_inset
10159
10160 (V.
10161 \begin_inset space \thinspace{}
10162 \end_inset
10163
10164 2)
10165 \end_layout
10166
10167 \begin_layout Standard
10168
10169 \family sans
10170 G-Brief
10171 \begin_inset space \space{}
10172 \end_inset
10173
10174 (V.
10175 \begin_inset space \thinspace{}
10176 \end_inset
10177
10178 2)
10179 \family default
10180 文書クラスは,
10181 ドイツ語の慣習に則った書簡を書くのに用いる
10182 \family typewriter
10183 g-brief2.cls
10184 \family default
10185  \SpecialChar LaTeX
10186 クラスへのサポートを提供します.
10187 \family sans
10188 ファイル\SpecialChar menuseparator
10189 新規(ひな型使用)\SpecialChar menuseparator
10190 書簡\SpecialChar menuseparator
10191 G-Brief
10192 \begin_inset space \space{}
10193 \end_inset
10194
10195 (V.
10196 \begin_inset space \thinspace{}
10197 \end_inset
10198
10199 2)
10200 \begin_inset space \thinspace{}
10201 \end_inset
10202
10203
10204 \family default
10205 メニューが使用法の案内をします.ドキュメンテーションは
10206 \begin_inset CommandInset href
10207 LatexCommand href
10208 name "CTAN"
10209 target "http://mirrors.ctan.org/macros/latex/contrib/g-brief/g-brief.pdf"
10210 literal "false"
10211
10212 \end_inset
10213
10214 から利用可能です.
10215 \end_layout
10216
10217 \begin_layout Section
10218 プレゼンテーション
10219 \end_layout
10220
10221 \begin_layout Subsection
10222 Beamer
10223 \end_layout
10224
10225 \begin_layout Standard
10226
10227 \family sans
10228 Beamer
10229 \family default
10230 文書クラスは,
10231 プレゼンテーションを作成するのに用いる
10232 \family typewriter
10233 beamer.cls
10234 \family default
10235  \SpecialChar LaTeX
10236 クラスを使用します.
10237 \family sans
10238 ファイル\SpecialChar menuseparator
10239 新規(ひな型使用)\SpecialChar menuseparator
10240 プレゼンテーション\SpecialChar menuseparator
10241 Beamer
10242 \begin_inset space \thinspace{}
10243 \end_inset
10244
10245
10246 \family default
10247 メニューにあるファイルか,
10248
10249 \family sans
10250 ヘルプ\SpecialChar menuseparator
10251 用途別説明書\SpecialChar menuseparator
10252 Beamerプレゼンテーション
10253 \family default
10254
10255 \begin_inset space \thinspace{}
10256 \end_inset
10257
10258 が使用法の案内をします.ドキュメンテーションは
10259 \begin_inset CommandInset href
10260 LatexCommand href
10261 name "CTAN"
10262 target "http://mirrors.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf"
10263 literal "false"
10264
10265 \end_inset
10266
10267 から利用可能です.
10268 \end_layout
10269
10270 \begin_layout Subsection
10271 Foil\SpecialChar TeX
10272
10273 \begin_inset CommandInset label
10274 LatexCommand label
10275 name "subsec:foiltex"
10276
10277 \end_inset
10278
10279
10280 \end_layout
10281
10282 \begin_layout Standard
10283
10284 \noun on
10285 Allan Rae
10286 \noun default
10287 原文;
10288 \SpecialChar LyX
10289 チーム改訂
10290 \end_layout
10291
10292 \begin_layout Subsubsection
10293 はじめに
10294 \end_layout
10295
10296 \begin_layout Standard
10297
10298 \family sans
10299 Foil\SpecialChar TeX
10300
10301 \family default
10302 文書クラスは,
10303 OHPスライドを作成するのに用いる
10304 \family typewriter
10305 foils.cls
10306 \family default
10307 文書クラスを提供します.これを行う2つの文書クラス,
10308
10309 \family sans
10310 slides
10311 \family default
10312 文書クラス(第
10313 \begin_inset CommandInset ref
10314 LatexCommand ref
10315 reference "sec:slitex"
10316 plural "false"
10317 caps "false"
10318 noprefix "false"
10319 nolink "false"
10320
10321 \end_inset
10322
10323 節参照)と
10324 \family sans
10325 Foil\SpecialChar TeX
10326
10327 \family default
10328 スライドクラスとがあります.2023年現在,
10329 前者のメンテナンスは続けられていますが,
10330
10331 \family sans
10332 Foil\SpecialChar TeX
10333
10334 \family default
10335 は2008年以降メンテナンスされていません.この節は後者の記載を行います.お使いのコンピューターに
10336 \family sans
10337 Foil\SpecialChar TeX
10338
10339 \family default
10340 文書クラスが導入されていない場合には,
10341 おそらく
10342 \family sans
10343 slides
10344 \family default
10345 文書クラスを使わなくてはなりません.
10346 \family typewriter
10347 foils.cls
10348 \family default
10349 文書クラスを導入したい場合には,
10350
10351 \begin_inset CommandInset href
10352 LatexCommand href
10353 name "CTAN"
10354 target "https://www.ctan.org/pkg/foiltex"
10355 literal "false"
10356
10357 \end_inset
10358
10359 からダウンロード可能です.また,
10360 取扱説明書『カスタマイズ篇』の「文書クラスを新規に導入する」の章をご一読ください.
10361 \end_layout
10362
10363 \begin_layout Subsubsection
10364 最初の一歩
10365 \end_layout
10366
10367 \begin_layout Standard
10368 いうまでもなく,
10369 この文書クラスを使うには,
10370
10371 \family sans
10372 文書\SpecialChar menuseparator
10373 設定\SpecialChar menuseparator
10374 文書クラス
10375 \family default
10376
10377 \begin_inset space \thinspace{}
10378 \end_inset
10379
10380 メニューの
10381 \begin_inset space \thinspace{}
10382 \end_inset
10383
10384
10385 \family sans
10386 文書クラス
10387 \family default
10388
10389 \begin_inset space \thinspace{}
10390 \end_inset
10391
10392 ドロップダウンで「
10393 \family sans
10394 FoilTeX
10395 \family default
10396 」を選択する必要があります.また,
10397
10398 \family sans
10399 文書設定
10400 \family default
10401
10402 \begin_inset space \thinspace{}
10403 \end_inset
10404
10405 ダイアログ中には,
10406 以下のように,
10407 このクラスに特有の設定がいくつかあることを知っておかなくてはなりません.
10408 \end_layout
10409
10410 \begin_layout Itemize
10411
10412 \family sans
10413 文書設定
10414 \family default
10415
10416 \begin_inset space \thinspace{}
10417 \end_inset
10418
10419 ダイアログ中の,
10420
10421 \family sans
10422 両面文書
10423 \family default
10424
10425 \begin_inset space \thinspace{}
10426 \end_inset
10427
10428 オプションと
10429 \begin_inset space \thinspace{}
10430 \end_inset
10431
10432
10433 \family sans
10434 二段組文書
10435 \family default
10436
10437 \begin_inset space \thinspace{}
10438 \end_inset
10439
10440 オプションは変更しないでください.これらは 
10441 \family sans
10442 foils
10443 \family default
10444 クラスでは無視されます.
10445 \end_layout
10446
10447 \begin_layout Itemize
10448 既定のフォント寸法は20ptであり,
10449 17
10450 \begin_inset space \thinspace{}
10451 \end_inset
10452
10453 pt・25
10454 \begin_inset space \thinspace{}
10455 \end_inset
10456
10457 pt・30
10458 \begin_inset space \thinspace{}
10459 \end_inset
10460
10461 ptを選択することも可能です.
10462 \end_layout
10463
10464 \begin_layout Itemize
10465 既定のフォントは
10466 \family sans
10467 sans
10468 \family default
10469  
10470 \family sans
10471 serif
10472 \family default
10473 ですが,
10474 数式ではすべて,
10475 通常のローマン体が使用されます.
10476 \end_layout
10477
10478 \begin_layout Itemize
10479 Foil\SpecialChar TeX
10480 は,
10481 35
10482 \begin_inset space \thinspace{}
10483 \end_inset
10484
10485 mmスライド用の特殊寸法の他,
10486 A4とレター大の用紙寸法をサポートします.A5・B5・リーガル・エグゼクティブ大の用紙寸法はサポートしていません.
10487 \end_layout
10488
10489 \begin_layout Itemize
10490
10491 \family sans
10492 フロートの配置
10493 \family default
10494
10495 \begin_inset space \thinspace{}
10496 \end_inset
10497
10498 の設定は無視されますので,
10499 わざわざ変更する必要はありません.フロートはすべて,
10500 本文中で定義された位置に表示されます.
10501 \end_layout
10502
10503 \begin_layout Itemize
10504 このクラスの
10505 \begin_inset space \thinspace{}
10506 \end_inset
10507
10508
10509 \family sans
10510 ページレイアウト
10511 \family default
10512
10513 \begin_inset space \thinspace{}
10514 \end_inset
10515
10516 の設定は,
10517 若干異なった挙動を示します.Foil\SpecialChar TeX
10518 では,
10519 ユーザ定義のロゴをはじめ,
10520 フッタとへッダに広範な設定ができます.詳細については第
10521 \begin_inset CommandInset ref
10522 LatexCommand ref
10523 reference "sec:foilfoot"
10524 nolink "false"
10525
10526 \end_inset
10527
10528 節をご覧ください.タイトルページは,
10529 文書中の他のページとは異なった取扱がなされ,
10530 ページ番号は
10531 \emph on
10532 つねに
10533 \emph default
10534 付けられず,
10535 (ロゴが定義されていれば)ロゴは,
10536
10537 \begin_inset Flex 圏点
10538 status open
10539
10540 \begin_layout Plain Layout
10541 つねに
10542 \end_layout
10543
10544 \end_inset
10545
10546 ページ下部中央に表示されます.使用できるページ様式とその挙動は,
10547 以下の通りです.
10548 \end_layout
10549
10550 \begin_deeper
10551 \begin_layout Labeling
10552 \labelwidthstring MMMMMMM
10553
10554 \family sans
10555 \series bold
10556 empty
10557 \family default
10558 \series default
10559  最終出力には,
10560 ページ番号をはじめ,
10561 へッダ・フッタが出力されません(もちろん脚注は除きます).
10562 \end_layout
10563
10564 \begin_layout Labeling
10565 \labelwidthstring MMMMMMM
10566
10567 \family sans
10568 \series bold
10569 plain
10570 \family default
10571 \series default
10572  最終出力には,
10573 ページ番号がページ下部の中央に出力されますが,
10574 他のへッダ・フッタは出力されません(脚注除く).
10575 \end_layout
10576
10577 \begin_layout Labeling
10578 \labelwidthstring MMMMMMM
10579
10580 \series bold
10581 foilheadings
10582 \series default
10583  ページ番号が右下隅に出力されます.追記したへッダ・フッタも出力されます.これが既定値です.
10584 \end_layout
10585
10586 \begin_layout Labeling
10587 \labelwidthstring MMMMMMM
10588
10589 \series bold
10590 fancy
10591 \series default
10592  これは
10593 \family sans
10594 fancyheadings
10595 \family default
10596 パッケージを使えるようにします.ただし,
10597 Foil\SpecialChar TeX
10598 パッケージの作者は,
10599 ページレイアウトが崩れる可能性があるので,
10600 これを使用することは勧めないと言及しています.
10601 \end_layout
10602
10603 \end_deeper
10604 \begin_layout Paragraph
10605 任意設定クラスオプション
10606 \end_layout
10607
10608 \begin_layout Standard
10609 以下のオプションは
10610 \begin_inset space \thinspace{}
10611 \end_inset
10612
10613
10614 \family sans
10615 文書設定
10616 \family default
10617
10618 \begin_inset space \thinspace{}
10619 \end_inset
10620
10621 ダイアログの任意設定クラスオプションボックスで使うことができます.
10622 \end_layout
10623
10624 \begin_layout Labeling
10625 \labelwidthstring MMMMMMx
10626
10627 \series bold
10628 35mmSlide
10629 \series default
10630  これは,
10631 ページレイアウトを縦7.33インチ横11インチに設定します.これは35
10632 \begin_inset space \space{}
10633 \end_inset
10634
10635 mmスライドの縦横比にほぼ等しく,
10636 このメディアを作る作業が若干易しくなります.
10637 \end_layout
10638
10639 \begin_layout Labeling
10640 \labelwidthstring MMMMMMx
10641
10642 \series bold
10643 headrule
10644 \series default
10645  タイトルページを除くすべてのページのへッダの下に罫線を入れます.
10646 \end_layout
10647
10648 \begin_layout Labeling
10649 \labelwidthstring MMMMMMx
10650
10651 \series bold
10652 footrule
10653 \series default
10654  タイトルページを除くすべてのページのフッタの上に罫線を入れます.
10655 \end_layout
10656
10657 \begin_layout Labeling
10658 \labelwidthstring MMMMMMx
10659
10660 \series bold
10661 dvips
10662 \series default
10663  これは,
10664 新規
10665 \family sans
10666 foils
10667 \family default
10668 文書を作成する度に自動的に設定されます.このオプションは,
10669 横向きに設定されたページを回転させるのに,
10670 dvipsドライバを使うよう
10671 \family sans
10672 Foil\SpecialChar TeX
10673
10674 \family default
10675 に指示します.
10676 \end_layout
10677
10678 \begin_layout Labeling
10679 \labelwidthstring MMMMMMx
10680
10681 \series bold
10682 landscape
10683 \series default
10684  このオプションは,
10685 用紙寸法を横向きページ大に変更するだけで,
10686 回転は行いません.したがって,
10687 このオプションを使う場合は,
10688 各ページを回転させる外部プログラムを使用する,
10689 プリンタに用紙を横向きに給紙する必要があります.また,
10690 このオプションは,
10691
10692 \family sans
10693 Foilhead
10694 \family default
10695 環境と
10696 \family sans
10697 Rotatefoilhead
10698 \family default
10699 環境の役割を逆転させることに注意してください(これらの環境については次節で説明します).
10700 \end_layout
10701
10702 \begin_layout Labeling
10703 \labelwidthstring MMMMMMx
10704
10705 \series bold
10706 leqno
10707 \series default
10708  数式番号を左側に付けます.
10709 \end_layout
10710
10711 \begin_layout Labeling
10712 \labelwidthstring MMMMMMx
10713
10714 \series bold
10715 fleqn
10716 \series default
10717  数式を左揃えにします.
10718 \end_layout
10719
10720 \begin_layout Subsubsection
10721 サポートされる環境
10722 \end_layout
10723
10724 \begin_layout Standard
10725 他のクラスで標準的にサポートされている環境は,
10726
10727 \family sans
10728 Foil\SpecialChar TeX
10729
10730 \family default
10731 クラスでもサポートされています.それ以外に,
10732
10733 \family sans
10734 Foil\SpecialChar TeX
10735
10736 \family default
10737 が提供している環境と,
10738 \SpecialChar LyX
10739 が付け加えた環境があります.以下の環境は,
10740 他のクラスと共通の環境です.
10741 \end_layout
10742
10743 \begin_layout Standard
10744
10745 \family sans
10746 \begin_inset Flex Multiple Columns
10747 status open
10748
10749 \begin_layout Itemize
10750 標準
10751 \end_layout
10752
10753 \begin_layout Itemize
10754 箇条書き(記号)
10755 \end_layout
10756
10757 \begin_layout Itemize
10758 箇条書き(連番)
10759 \end_layout
10760
10761 \begin_layout Itemize
10762 箇条書き(記述)
10763 \end_layout
10764
10765 \begin_layout Itemize
10766 箇条書き(リスト)
10767 \end_layout
10768
10769 \begin_layout Itemize
10770 \SpecialChar LyX
10771 コード
10772 \end_layout
10773
10774 \begin_layout Itemize
10775 詩句
10776 \end_layout
10777
10778 \begin_layout Itemize
10779 引用(字下げあり)
10780 \end_layout
10781
10782 \begin_layout Itemize
10783 引用(字下げなし)
10784 \end_layout
10785
10786 \begin_layout Itemize
10787 タイトル
10788 \end_layout
10789
10790 \begin_layout Itemize
10791 著者
10792 \end_layout
10793
10794 \begin_layout Itemize
10795 日付
10796 \end_layout
10797
10798 \begin_layout Itemize
10799 概要
10800 \end_layout
10801
10802 \begin_layout Itemize
10803 書誌情報
10804 \end_layout
10805
10806 \begin_layout Itemize
10807 住所
10808 \end_layout
10809
10810 \begin_layout Itemize
10811 右寄せ住所
10812 \end_layout
10813
10814 \end_inset
10815
10816
10817 \end_layout
10818
10819 \begin_layout Standard
10820 つまり,
10821 節区切りを除けば,
10822 主な環境のすべてです.一枚のスライドは,
10823 基本的にタイトルと本文を備えた自己完結した節なので,
10824
10825 \family sans
10826 Foil\SpecialChar TeX
10827
10828 \family default
10829 は新しいスライドを始める以下のようなコマンドを備えています.
10830 \end_layout
10831
10832 \begin_layout Itemize
10833
10834 \family sans
10835 スライドタイトル(Foilhead)
10836 \end_layout
10837
10838 \begin_layout Itemize
10839
10840 \family sans
10841 横置きスライドタイトル(Rotatefoilhead)
10842 \end_layout
10843
10844 \begin_layout Standard
10845 \SpecialChar LyX
10846 は,
10847 以下のような,
10848 これらを若干修正した環境も用意しています.
10849 \end_layout
10850
10851 \begin_layout Itemize
10852
10853 \family sans
10854 スライドタイトル(小)(ShortFoilhead)
10855 \end_layout
10856
10857 \begin_layout Itemize
10858
10859 \family sans
10860 横置きスライドタイトル(小)(ShortRotatefoilhead)
10861 \end_layout
10862
10863 \begin_layout Standard
10864 これらの違いは次節で説明します.
10865 \end_layout
10866
10867 \begin_layout Standard
10868 スライドは,
10869 アイデアを説明したり,
10870 新しい定理を説明したりするのにしばしば使われるので,
10871
10872 \family sans
10873 Foil\SpecialChar TeX
10874
10875 \family default
10876 はそれらを説明するのに便利な環境を幅広く用意しています.
10877 \end_layout
10878
10879 \begin_layout Standard
10880
10881 \family sans
10882 \begin_inset Flex Multiple Columns
10883 status open
10884
10885 \begin_layout Itemize
10886 定理
10887 \end_layout
10888
10889 \begin_layout Itemize
10890 補題
10891 \end_layout
10892
10893 \begin_layout Itemize
10894
10895 \end_layout
10896
10897 \begin_layout Itemize
10898 命題
10899 \end_layout
10900
10901 \begin_layout Itemize
10902 定義
10903 \end_layout
10904
10905 \begin_layout Itemize
10906 証明
10907 \end_layout
10908
10909 \begin_layout Itemize
10910 定理*
10911 \end_layout
10912
10913 \begin_layout Itemize
10914 補題*
10915 \end_layout
10916
10917 \begin_layout Itemize
10918 系*
10919 \end_layout
10920
10921 \begin_layout Itemize
10922 命題*
10923 \end_layout
10924
10925 \begin_layout Itemize
10926 定義*
10927 \end_layout
10928
10929 \end_inset
10930
10931
10932 \end_layout
10933
10934 \begin_layout Standard
10935 星付き版は連番が振られず,
10936 星なし版は連番が振られます.他に,
10937 \SpecialChar LyX
10938 で追加された以下の2つの箇条書き環境があります.
10939 \end_layout
10940
10941 \begin_layout Itemize
10942
10943 \family sans
10944 箇条書き(チック)
10945 \end_layout
10946
10947 \begin_layout Itemize
10948
10949 \family sans
10950 箇条書き(クロス)
10951 \end_layout
10952
10953 \begin_layout Standard
10954
10955 \family sans
10956 Foil\SpecialChar TeX
10957
10958 \family default
10959 には,
10960 強力なヘッダ機能とフッタ機能があり,
10961 これらはプリアンブルで設定するのが最良ですが,
10962 文章中のどこでも設定することができます.もし文書中でこれらの設定を変更したい場合には,
10963 スライドの一番上,
10964 foilheadの直後で行うのが良いでしょう.
10965 \end_layout
10966
10967 \begin_layout Standard
10968 この目的のためには,
10969 以下のコマンドスタイルがあります(
10970 \shape smallcaps
10971 Martin Vermeer).
10972 \end_layout
10973
10974 \begin_layout Standard
10975 \begin_inset Flex Multiple Columns
10976 status open
10977
10978 \begin_layout Itemize
10979
10980 \family sans
10981 グラフィックスロゴ
10982 \end_layout
10983
10984 \begin_layout Itemize
10985
10986 \family sans
10987 配布制限
10988 \end_layout
10989
10990 \begin_layout Itemize
10991
10992 \family sans
10993 右フッタ
10994 \end_layout
10995
10996 \begin_layout Itemize
10997
10998 \family sans
10999 右ヘッダ
11000 \end_layout
11001
11002 \begin_layout Itemize
11003
11004 \family sans
11005 左ヘッダ
11006 \end_layout
11007
11008 \begin_deeper
11009 \begin_layout Plain Layout
11010 \begin_inset space ~
11011 \end_inset
11012
11013
11014 \end_layout
11015
11016 \end_deeper
11017 \end_inset
11018
11019
11020 \end_layout
11021
11022 \begin_layout Standard
11023
11024 \family sans
11025 Foil\SpecialChar TeX
11026
11027 \family default
11028 が提供しているコマンドで,
11029 \SpecialChar LyX
11030 が直接サポートしていないコマンドもありますが,
11031 これらの説明と使い方については,
11032
11033 \begin_inset CommandInset ref
11034 LatexCommand ref
11035 reference "sec:unsuppfoils"
11036 nolink "false"
11037
11038 \end_inset
11039
11040 節で行います.
11041 \end_layout
11042
11043 \begin_layout Subsubsection
11044 スライドの組を作る
11045 \end_layout
11046
11047 \begin_layout Standard
11048 この節は,
11049 様々な環境を使ってスライドの組を作る方法を簡単に紹介します.スライド組の例をご覧になりたい場合は,
11050
11051 \family sans
11052 ファイル\SpecialChar menuseparator
11053 用例を開く\SpecialChar menuseparator
11054 プレゼンテーション\SpecialChar menuseparator
11055 Foils
11056 \family default
11057
11058 \begin_inset space \thinspace{}
11059 \end_inset
11060
11061 をご覧ください.
11062 \end_layout
11063
11064 \begin_layout Paragraph
11065 タイトルページを作る
11066 \end_layout
11067
11068 \begin_layout Standard
11069
11070 \family sans
11071 タイトル
11072 \family default
11073
11074 \family sans
11075 著者
11076 \family default
11077
11078 \family sans
11079 日付
11080 \family default
11081
11082 \family sans
11083 概要
11084 \family default
11085 環境のある他のクラスとは異なり,
11086
11087 \family sans
11088 FoilTeX
11089 \family default
11090 は独立したページにタイトルを作成します.
11091 \family sans
11092 日付
11093 \family default
11094 環境を使用しなかった場合には,
11095 \SpecialChar LaTeX
11096 は(出力を生成し直したときにはいつも)その時点の日付を挿入します.
11097 \end_layout
11098
11099 \begin_layout Paragraph
11100 新しいスライドを開始する
11101 \end_layout
11102
11103 \begin_layout Standard
11104 前述のように,
11105 新しいスライドを開始するには,
11106 4つの方法があります.縦向きのスライドを開始するには,
11107
11108 \family sans
11109 スライドタイトル(Foilhead)
11110 \family default
11111
11112 \family sans
11113 スライドタイトル(小)(ShortFoilhead)
11114 \family default
11115 を使用します.両環境の違いは,
11116 スライドタイトル(foilhead)とスライド本文の間の余白の違いです.
11117 \end_layout
11118
11119 \begin_layout Standard
11120 横向きのスライドは,
11121
11122 \family sans
11123 横向きスライドタイトル(Rotatefoilhead)
11124 \family default
11125
11126 \family sans
11127 横向きスライドタイトル(小)(ShortRotatefoilhead)
11128 \family default
11129 環境を使用して生成します.ここでも両環境の違いは,
11130 タイトルと本文の間の余白のみです.どちらの場合も,
11131 (小)と記された版は,
11132 タイトルと本文の間の余白が,
11133 0.5インチ(約1.27cm)小さくなります.
11134 \end_layout
11135
11136 \begin_layout Standard
11137 横向きのスライドをサポートする際,
11138 一つ問題となるのは,
11139 スライドを回転させようと思うと,
11140 PostScript出力を生成するのに
11141 \family typewriter
11142 dvips
11143 \family default
11144 ドライバを使用することを要求してしまうことです.もしスライドをプリンタに横に給紙することができれば,
11145
11146 \family typewriter
11147 dvips
11148 \family default
11149 ドライバを持っていなくても,
11150 横向きのスライドをつくることができます ;-)
11151 \end_layout
11152
11153 \begin_layout Paragraph
11154 定理・補題・証明など
11155 \end_layout
11156
11157 \begin_layout Standard
11158 これらの環境の同じ型をお互いに直接続けて置くことはできません.通常の段落開業を用いると,
11159 2つの環境をマージしたかのように,
11160 前の環境が延長されるだけです.そうではなく,
11161 いわゆる分離線を挿入する必要があります.『ユーザーの手引き』の「入れ子の分離」の節を参照してください.
11162 \end_layout
11163
11164 \begin_layout Paragraph
11165 箇条書き
11166 \end_layout
11167
11168 \begin_layout Standard
11169 他のクラスでも共通にサポートされている箇条書き様式すべてに加えて,
11170 二つの新しい様式を使用することができます.ここでは,
11171 その新しい様式のみを説明することにします.他の箇条書き環境について詳しく知りたい場合には,
11172 ユーザーの手引きをご覧ください.記号による箇条書きを使用したい場合には,
11173 上記第
11174 \begin_inset CommandInset ref
11175 LatexCommand ref
11176 reference "chap:ブリット"
11177 nolink "false"
11178
11179 \end_inset
11180
11181 節の
11182 \family sans
11183 箇条書き(記号)ブリットの指定
11184 \family default
11185 の節も,
11186 読まれることが望ましいでしょう.
11187 \end_layout
11188
11189 \begin_layout Standard
11190
11191 \family sans
11192 箇条書き(チック)
11193 \family default
11194
11195 \family sans
11196 箇条書き(クロス)
11197 \family default
11198 の二つの新しい様式は,
11199 チェック印や
11200 \begin_inset Formula $\times$
11201 \end_inset
11202
11203 印を箇条書きのラベルに使用する専用の環境を提供することで,
11204 予定一覧や正誤一覧を作りやすくするように設計されたものです.これらの箇条書きは,
11205
11206 \family sans
11207 箇条書き(記号)
11208 \family default
11209 の派生型を専用に用意したものに過ぎません.ただし,
11210 これらは,
11211
11212 \family typewriter
11213 psnfss
11214 \family default
11215 パッケージが導入済であることを要求します.
11216 \end_layout
11217
11218 \begin_layout Paragraph
11219 図と表
11220 \end_layout
11221
11222 \begin_layout Standard
11223
11224 \family sans
11225 Foil\SpecialChar TeX
11226
11227 \family default
11228 では,
11229 図表フロートは,
11230 本文中の挿入箇所にこれらが正確に表示されるように再定義されており,
11231 ページの上部やユーザー指定場所に押しのけたりはしないようになっています.たとえフロート配置の設定に変更を加えたとしても,
11232 単に無視されます.
11233 \end_layout
11234
11235 \begin_layout Paragraph
11236 ページヘッダおよびページフッタ
11237 \begin_inset CommandInset label
11238 LatexCommand label
11239 name "sec:foilfoot"
11240
11241 \end_inset
11242
11243
11244 \end_layout
11245
11246 \begin_layout Standard
11247
11248 \family sans
11249 グラフィックスロゴ
11250 \family default
11251
11252 \family sans
11253 配布制限
11254 \family default
11255 の二つは,
11256 左フッタ文を制御するものです.前者は,
11257 グラフィックスのロゴをスライドに入れるためのもので,
11258 既定値は「-Typeset by 
11259 \family sans
11260 Foil
11261 \family default
11262 \SpecialChar TeX
11263 -」となっています.後者は,
11264 「機密事項」などのように,
11265 聴衆に秘密区分を提示することを意図しています.既定値では,
11266 何も設定されていません.
11267 \end_layout
11268
11269 \begin_layout Standard
11270 スライドの残り三隅には,
11271
11272 \family sans
11273 右フッタ
11274 \family default
11275 (既定ではページ番号)・
11276 \family sans
11277 右ヘッダ
11278 \family default
11279 (右上)・
11280 \family sans
11281 左ヘッダ
11282 \family default
11283 (左上)を使って文字を入れることができます.
11284 \end_layout
11285
11286 \begin_layout Subsubsection
11287 サポートされない 
11288 \family sans
11289 Foil
11290 \family default
11291 \SpecialChar TeX
11292 機能
11293 \begin_inset CommandInset label
11294 LatexCommand label
11295 name "sec:unsuppfoils"
11296
11297 \end_inset
11298
11299
11300 \end_layout
11301
11302 \begin_layout Standard
11303 以下で言及されているコマンドは,
11304
11305 \family sans
11306 \SpecialChar LaTeX
11307
11308 \family default
11309 環境内で設定されるか,
11310 他の環境中の
11311 \family sans
11312 \SpecialChar TeX
11313 コード
11314 \family default
11315 として設定される必要があります.
11316 \end_layout
11317
11318 \begin_layout Paragraph
11319 長さ
11320 \end_layout
11321
11322 \begin_layout Standard
11323 長さは,
11324 すべて
11325 \family typewriter
11326
11327 \backslash
11328 setlength{
11329 \family default
11330 \emph on
11331 長さ名
11332 \family typewriter
11333 \emph default
11334 }{
11335 \family default
11336 \emph on
11337 新規長さ
11338 \family typewriter
11339 \emph default
11340 }
11341 \family default
11342 コマンドで調節されます.ここで
11343 \emph on
11344 長さ名
11345 \emph default
11346 は,
11347 変更したい長さに付けられている名前で置き換え,
11348
11349 \emph on
11350 新規長さ
11351 \emph default
11352 は,
11353 その長さの値で置き換えます.長さはすべて,
11354 インチ(in)・ミリメートル(mm)・ポイント(pt)のような長さ単位か,
11355
11356 \family typewriter
11357
11358 \backslash
11359 textwidth
11360 \family default
11361 のように文書比あるいはフォント基準の長さで指定する必要があります.
11362 \end_layout
11363
11364 \begin_layout Standard
11365
11366 \family typewriter
11367
11368 \backslash
11369 foilheadskip
11370 \family default
11371 で指定される長さを調節することによって,
11372 スライドタイトルとスライド本文の間の余白を変更することができます.たとえば,
11373 スライドタイトルをすべて0.5
11374 \begin_inset space \space{}
11375 \end_inset
11376
11377 inだけスライド本文に近づけるには,
11378 プリアンブルに
11379 \family typewriter
11380
11381 \backslash
11382 setlength{
11383 \backslash
11384 foilheadskip}{-0.5in}
11385 \family default
11386 と書き込みます.
11387 \end_layout
11388
11389 \begin_layout Standard
11390 フロート周囲の余白は,
11391 以下の長さを設定することで調整することができます.
11392 \end_layout
11393
11394 \begin_layout Labeling
11395 \labelwidthstring MMMMMMMMMMM
11396
11397 \family typewriter
11398
11399 \backslash
11400 abovefloatskip
11401 \family default
11402  本文とフロート上辺との間隔
11403 \end_layout
11404
11405 \begin_layout Labeling
11406 \labelwidthstring MMMMMMMMMMM
11407
11408 \family typewriter
11409
11410 \backslash
11411 abovecaptionskip
11412 \family default
11413  フロートとキャプションとの間隔
11414 \end_layout
11415
11416 \begin_layout Labeling
11417 \labelwidthstring MMMMMMMMMMM
11418
11419 \family typewriter
11420
11421 \backslash
11422 belowcaptionskip
11423 \family default
11424  キャプションとそれに続く本文との間隔
11425 \end_layout
11426
11427 \begin_layout Labeling
11428 \labelwidthstring MMMMMMMMMMM
11429
11430 \family typewriter
11431
11432 \backslash
11433 captionwidth
11434 \family default
11435  この長さを調整することでキャプションを,
11436 周囲の本文より短くすることができます.
11437 \family typewriter
11438
11439 \backslash
11440 textwidth
11441 \family default
11442 に対する相対的な長さで調整するのが最も良いでしょう.
11443 \end_layout
11444
11445 \begin_layout Standard
11446 以下のようなタイトルページ関連の長さもあり,
11447 タイトルが長い場合や,
11448 著者が複数いる場合に使うと便利かもしれません.
11449 \end_layout
11450
11451 \begin_layout Labeling
11452 \labelwidthstring MMMMMMMMMMM
11453
11454 \family typewriter
11455
11456 \backslash
11457 abovetitleskip
11458 \family default
11459  へッダとタイトルとの間隔
11460 \end_layout
11461
11462 \begin_layout Labeling
11463 \labelwidthstring MMMMMMMMMMM
11464
11465 \family typewriter
11466
11467 \backslash
11468 titleauthorskip
11469 \family default
11470  
11471 \family sans
11472 タイトル
11473 \family default
11474 環境と
11475 \family sans
11476 著者
11477 \family default
11478 環境との間隔
11479 \end_layout
11480
11481 \begin_layout Labeling
11482 \labelwidthstring MMMMMMMMMMM
11483
11484 \family typewriter
11485
11486 \backslash
11487 authorauthorskip
11488 \family default
11489  著者が複数いる場合の
11490 \family sans
11491 著者
11492 \family default
11493 行の間隔
11494 \end_layout
11495
11496 \begin_layout Labeling
11497 \labelwidthstring MMMMMMMMMMM
11498
11499 \family typewriter
11500
11501 \backslash
11502 authordateskip
11503 \family default
11504  
11505 \family sans
11506 著者
11507 \family default
11508
11509 \family sans
11510 日付
11511 \family default
11512 との間隔
11513 \end_layout
11514
11515 \begin_layout Labeling
11516 \labelwidthstring MMMMMMMMMMM
11517
11518 \family typewriter
11519
11520 \backslash
11521 dateabstractskip
11522 \family default
11523  
11524 \family sans
11525 日付
11526 \family default
11527
11528 \family sans
11529 概要
11530 \family default
11531 との間隔
11532 \end_layout
11533
11534 \begin_layout Standard
11535 最後に紹介する長さ関連コマンドは,
11536 箇条書き環境すべてに使用できるものです.
11537 \family typewriter
11538
11539 \backslash
11540 zerolistvertdimens
11541 \family default
11542 を箇条書き環境の内側に置くと,
11543 項目間の垂直余白がすべて取り除かれます.これは長さではなくコマンドなので,
11544 上述のもののように
11545 \family typewriter
11546
11547 \backslash
11548 setlength
11549 \family default
11550 を使う必要がないことに注意してください.
11551 \end_layout
11552
11553 \begin_layout Paragraph
11554 へッダとフッタ
11555 \end_layout
11556
11557 \begin_layout Standard
11558
11559 \family typewriter
11560
11561 \backslash
11562 LogoOn
11563 \family default
11564 および
11565 \family typewriter
11566
11567 \backslash
11568 LogoOff
11569 \family default
11570 は,
11571
11572 \family typewriter
11573 MyLogo
11574 \family default
11575 で定義したロゴを特定のページに入れるかどうかを制御します.
11576 \family typewriter
11577
11578 \backslash
11579 LogoOff
11580 \family default
11581 をプリアンブルに入れると,
11582 全スライドからロゴが取り除かれます.特定のスライドにのみロゴを付けたくない場合は,
11583 当該ページのスライドタイトルの直後に直接
11584 \family typewriter
11585
11586 \backslash
11587 LogoOff
11588 \family default
11589 を置き,
11590 次のスライドタイトルの直後に直接
11591 \family typewriter
11592
11593 \backslash
11594 LogoOn
11595 \family default
11596 を置いてください.
11597 \end_layout
11598
11599 \begin_layout Standard
11600
11601 \family sans
11602 文書レイアウト
11603 \family default
11604 ダイアログで
11605 \family sans
11606 fancy
11607 \family default
11608 ページ様式を使用することを選択した場合には,
11609 横置きページのヘッダとフッタが回転後も正しく配置されるように,
11610 プリアンブルに
11611 \family typewriter
11612
11613 \backslash
11614 let
11615 \backslash
11616 headwidth
11617 \backslash
11618 textwidth
11619 \family default
11620 を加える必要があるでしょう.これは,
11621
11622 \family sans
11623 fancyheadings
11624 \family default
11625 パッケージが提供するページレイアウトと
11626 \family sans
11627 FoilTeX
11628 \family default
11629 クラスの提供するページレイアウトの間に衝突が発生するためです.
11630 \end_layout
11631
11632 \begin_layout Subsection
11633 Powerdot
11634 \end_layout
11635
11636 \begin_layout Standard
11637
11638 \family sans
11639 Powerdot
11640 \family default
11641 文書クラスは,
11642 プレゼンテーションを作成するのに用いる
11643 \family typewriter
11644 powerdot.cls
11645 \family default
11646  \SpecialChar LaTeX
11647 クラスを提供します.
11648 \family sans
11649 ファイル\SpecialChar menuseparator
11650 用例を開く\SpecialChar menuseparator
11651 プレゼンテーション\SpecialChar menuseparator
11652 Powerdot
11653 \begin_inset space \thinspace{}
11654 \end_inset
11655
11656
11657 \family default
11658 メニューが使用法の案内をします.ドキュメンテーションは
11659 \begin_inset CommandInset href
11660 LatexCommand href
11661 name "CTAN"
11662 target "http://mirrors.ctan.org/macros/latex/contrib/powerdot/doc/powerdot.pdf"
11663 literal "false"
11664
11665 \end_inset
11666
11667 から利用可能です.
11668 \end_layout
11669
11670 \begin_layout Subsection
11671 Seminar
11672 \begin_inset CommandInset label
11673 LatexCommand label
11674 name "subsec:Seminar"
11675
11676 \end_inset
11677
11678
11679 \end_layout
11680
11681 \begin_layout Standard
11682
11683 \family sans
11684 Seminar
11685 \family default
11686 文書クラスは,
11687 プレゼンテーションを作成するのに用いる
11688 \family typewriter
11689 seminar.cls
11690 \family default
11691  \SpecialChar LaTeX
11692 クラスを提供します.
11693 \family sans
11694 ファイル\SpecialChar menuseparator
11695 用例を開く\SpecialChar menuseparator
11696 プレゼンテーション\SpecialChar menuseparator
11697 Seminar
11698 \begin_inset space \thinspace{}
11699 \end_inset
11700
11701
11702 \family default
11703 メニューが使用法の案内をします.ドキュメンテーションは
11704 \begin_inset CommandInset href
11705 LatexCommand href
11706 name "CTAN"
11707 target "http://mirrors.ctan.org/macros/latex/contrib/seminar/doc/seminar-doc.pdf"
11708 literal "false"
11709
11710 \end_inset
11711
11712 から利用可能です.
11713 \end_layout
11714
11715 \begin_layout Subsection
11716 Slides(別名
11717 \noun on
11718 Sli\SpecialChar TeX
11719
11720 \noun default
11721
11722 \begin_inset CommandInset label
11723 LatexCommand label
11724 name "sec:slitex"
11725
11726 \end_inset
11727
11728
11729 \end_layout
11730
11731 \begin_layout Standard
11732
11733 \noun on
11734 John Weiss
11735 \noun default
11736 原文;
11737 \SpecialChar LyX
11738 チーム改訂
11739 \end_layout
11740
11741 \begin_layout Subsubsection
11742 はじめに
11743 \end_layout
11744
11745 \begin_layout Standard
11746 本節では,
11747 オーバーへッドプロジェクタ用のスライドをつくるのに,
11748 \SpecialChar LyX
11749 をどのように使えばよいかを説明します.これを行う2つの文書クラス,
11750
11751 \family sans
11752 スライド(Slides)
11753 \family default
11754 文書クラスと
11755 \family sans
11756 Foil\SpecialChar TeX
11757
11758 \family default
11759 文書クラスとがあります.本節は前者について説明を行います.
11760 \family sans
11761 Foil\SpecialChar TeX
11762
11763 \family default
11764 の文書をお探しの場合は,
11765
11766 \begin_inset CommandInset ref
11767 LatexCommand ref
11768 reference "subsec:foiltex"
11769 plural "false"
11770 caps "false"
11771 noprefix "false"
11772 nolink "false"
11773
11774 \end_inset
11775
11776 節をご参照ください.2023年現在,
11777
11778 \family sans
11779 Slides
11780 \family default
11781 のメンテナンスは続けられていますが,
11782
11783 \family sans
11784 Foil\SpecialChar TeX
11785
11786 \family default
11787 は2008年以降メンテナンスされていません.
11788 \end_layout
11789
11790 \begin_layout Subsubsection
11791 使い始めるには
11792 \begin_inset CommandInset label
11793 LatexCommand label
11794 name "sec:slidesetup"
11795
11796 \end_inset
11797
11798
11799 \end_layout
11800
11801 \begin_layout Standard
11802 当然ながら,
11803 この文書クラスを使用するには,
11804
11805 \family sans
11806 文書\SpecialChar menuseparator
11807 設定
11808 \family default
11809
11810 \begin_inset space \thinspace{}
11811 \end_inset
11812
11813 ダイアログのクラスリストから「
11814 \family sans
11815 スライド
11816 \family default
11817 」を選択しなくてはなりません.このクラスについて,
11818 以下のように,
11819 特に知っておいた方が良いことがいくつかあります.
11820 \end_layout
11821
11822 \begin_layout Itemize
11823
11824 \family sans
11825 用紙方向
11826 \family default
11827
11828 \family sans
11829 二段組文書
11830 \family default
11831 の各オプションは,
11832 あえて変更する必要はありません.これらのオプションは,
11833
11834 \family sans
11835 スライド
11836 \family default
11837 クラスではサポートされていないので,
11838 効果がありません.
11839 \end_layout
11840
11841 \begin_layout Itemize
11842
11843 \family sans
11844 ヘディング様式
11845 \family default
11846 オプションは,
11847 このクラスでは少し異なった振る舞いをします.各選択肢とその機能は,
11848 以下の通りです.
11849 \end_layout
11850
11851 \begin_deeper
11852 \begin_layout Description
11853 プレーン(plain) 最終出力の右下隅にページ番号が付きます.
11854 \end_layout
11855
11856 \begin_layout Description
11857 設定(headings)
11858 \family sans
11859  プレーン(plain)
11860 \family default
11861 と同様ですが,
11862 それ以外にあなたが指定したタイムマーカーをすべて出力します.これが既定値です.
11863 \end_layout
11864
11865 \begin_layout Description
11866 空 最終出力には,
11867 ページ番号もタイムマーカーも位置揃えマーカーも出力されません.
11868 \end_layout
11869
11870 \end_deeper
11871 \begin_layout Itemize
11872
11873 \family sans
11874 スライド
11875 \family default
11876 クラスには,
11877 もう一つ
11878 \family typewriter
11879 clock
11880 \family default
11881 というオプションがあります.これを使用するには,
11882
11883 \family sans
11884 クラスオプション
11885 \family default
11886 に「
11887 \family typewriter
11888 clock
11889 \family default
11890 」と入力してください.
11891 \end_layout
11892
11893 \begin_deeper
11894 \begin_layout Standard
11895 このオプションを使うと,
11896
11897 \family sans
11898 注釈
11899 \family default
11900 にタイムマーカーを加えることができます.詳細は,
11901
11902 \begin_inset CommandInset ref
11903 LatexCommand ref
11904 reference "sec:スライド注釈"
11905 nolink "false"
11906
11907 \end_inset
11908
11909 節をご覧ください.
11910 \end_layout
11911
11912 \end_deeper
11913 \begin_layout Standard
11914
11915 \family sans
11916 slides
11917 \family default
11918 クラスを用いた文書を自動的にセットアップするには,
11919 ひな型ファイルを使用することもできます(新規ファイルを開く際に
11920 \family sans
11921 \series bold
11922
11923 \begin_inset space \thinspace{}
11924 \end_inset
11925
11926
11927 \series default
11928 ファイル\SpecialChar menuseparator
11929 新規(ひな型使用)\SpecialChar menuseparator
11930 プレゼンテーション\SpecialChar menuseparator
11931 Slides
11932 \family default
11933
11934 \begin_inset space \thinspace{}
11935 \end_inset
11936
11937 を使用してください).ひな型ファイルには,
11938 このクラスが使用する特別な段落環境の用例も含まれています.これらについては,
11939 以下で説明します.
11940 \end_layout
11941
11942 \begin_layout Subsubsection
11943 段落環境
11944 \end_layout
11945
11946 \begin_layout Paragraph
11947
11948 \family sans
11949 サポートされている環境
11950 \end_layout
11951
11952 \begin_layout Standard
11953 新しく
11954 \family sans
11955 スライド
11956 \family default
11957 文書を開いたときにまず気付くのは,
11958 フォント寸法とフォント族の違いでしょう.ここでは,
11959
11960 \family sans
11961 サンセリフ体
11962 \family default
11963 フォントの
11964 \family sans
11965 極大
11966 \family default
11967 寸法が用いられており,
11968 出力でもこのフォントが使用されます.これは,
11969 現在スライドを作成中であることの「目印」だと考えてください.出力スライドは大きなフォントを使用するため,
11970 書ける場所は少なくなります.もちろん,
11971 既定の大きな画面フォントはWYSIWYGではなく,
11972 スライドであることの目印に過ぎません.
11973 \end_layout
11974
11975 \begin_layout Standard
11976 次に気付くのは,
11977 (ツールバー左端の)段落環境プルダウンボックスが変わっていることでしょう.通常見かける環境の多くがなくなって,
11978 代わりに5つの新しい環境が入っています.これは,
11979
11980 \family sans
11981 Slides
11982 \family default
11983 クラスが,
11984 標準段落環境のうち以下のものしかサポートしていないためです.
11985 \end_layout
11986
11987 \begin_layout Standard
11988 \begin_inset Flex Multiple Columns
11989 status open
11990
11991 \begin_layout Itemize
11992
11993 \family sans
11994 標準
11995 \end_layout
11996
11997 \begin_layout Itemize
11998
11999 \family sans
12000 箇条書き(記号)
12001 \end_layout
12002
12003 \begin_layout Itemize
12004
12005 \family sans
12006 箇条書き(連番)
12007 \end_layout
12008
12009 \begin_layout Itemize
12010
12011 \family sans
12012 箇条書き(記述)
12013 \end_layout
12014
12015 \begin_layout Itemize
12016
12017 \family sans
12018 箇条書き(一覧)
12019 \end_layout
12020
12021 \begin_layout Itemize
12022
12023 \family sans
12024 引用(字下げあり)
12025 \end_layout
12026
12027 \begin_layout Itemize
12028
12029 \family sans
12030 引用(字下げなし)
12031 \end_layout
12032
12033 \begin_layout Itemize
12034
12035 \family sans
12036 詩句
12037 \end_layout
12038
12039 \begin_layout Itemize
12040
12041 \family sans
12042 キャプション
12043 \end_layout
12044
12045 \begin_layout Itemize
12046
12047 \family sans
12048 \SpecialChar LyX
12049 コード
12050 \end_layout
12051
12052 \end_inset
12053
12054
12055 \end_layout
12056
12057 \begin_layout Standard
12058 これ以外の標準的な環境,
12059 例えば節見出し用の環境などは
12060 \family sans
12061 slides
12062 \family default
12063 クラスでは使えません.
12064 \end_layout
12065
12066 \begin_layout Standard
12067 一方,
12068 以下の新しい環境があります.
12069 \end_layout
12070
12071 \begin_layout Standard
12072 \begin_inset Flex Multiple Columns
12073 status open
12074
12075 \begin_layout Itemize
12076
12077 \family sans
12078 スライド
12079 \end_layout
12080
12081 \begin_layout Itemize
12082
12083 \family sans
12084 オーバーレイ
12085 \end_layout
12086
12087 \begin_layout Itemize
12088
12089 \family sans
12090 注釈
12091 \end_layout
12092
12093 \begin_layout Itemize
12094
12095 \family sans
12096 不可視文
12097 \end_layout
12098
12099 \begin_layout Itemize
12100
12101 \family sans
12102 可視文
12103 \end_layout
12104
12105 \begin_deeper
12106 \begin_layout Plain Layout
12107 \begin_inset space ~
12108 \end_inset
12109
12110
12111 \end_layout
12112
12113 \end_deeper
12114 \end_inset
12115
12116
12117 \end_layout
12118
12119 \begin_layout Standard
12120 これら5つの環境は,
12121 \SpecialChar LyX
12122 の「機能」のために使い方に癖があります.ご存じのように,
12123 \SpecialChar LyX
12124 では,
12125 空の段落環境に他の環境を入れることができません.それ自体は素晴らしいデザインなのですが,
12126 これは,
12127 スライドを平文以外では書き始めることができないことを意味します.これを取り扱うためには,
12128 ちょっとした「\SpecialChar LaTeX
12129 マジック」が必要になります.
12130 \end_layout
12131
12132 \begin_layout Paragraph
12133 新環境の癖
12134 \begin_inset CommandInset label
12135 LatexCommand label
12136 name "sec:スライドの癖"
12137
12138 \end_inset
12139
12140
12141 \end_layout
12142
12143 \begin_layout Standard
12144 5つの新しい環境にはすべて,
12145 \SpecialChar LyX
12146 現行版の制約に由来する癖があります.いま述べたように,
12147 \SpecialChar LyX
12148 では,
12149 環境を別の環境で開始することが禁止されています.これを回避するために,
12150
12151 \family sans
12152 スライド
12153 \family default
12154 環境は『ユーザーの手引き』で述べられているような段落環境ではなくなっています.
12155 \end_layout
12156
12157 \begin_layout Standard
12158
12159 \family sans
12160 スライド
12161 \family default
12162
12163 \family sans
12164 オーバーレイ
12165 \family default
12166
12167 \family sans
12168 注釈
12169 \family default
12170 は「疑似環境」だとお考えください.これらは節見出しや「
12171 \family sans
12172 キャプション
12173 \family default
12174 」のように見えますが,
12175 実際には(必要なら前段落を終了して)新しい段落環境を開始します.同様に,
12176
12177 \family sans
12178 不可視文
12179 \family default
12180
12181 \family sans
12182 可視文
12183 \family default
12184 も「疑似コマンド」とお考えください.この2つは特定のアクションを行います.
12185 \end_layout
12186
12187 \begin_layout Standard
12188
12189 \family sans
12190 スライド
12191 \family default
12192
12193 \family sans
12194 オーバーレイ
12195 \family default
12196
12197 \family sans
12198 注釈
12199 \family default
12200
12201 \family sans
12202 不可視文
12203 \family default
12204
12205 \family sans
12206 可視文
12207 \family default
12208 の5環境に共通しているのは,
12209 長めのラベルを持つことです.このラベルに続く文章—
12210 通常は段落環境の内容になるはずですが—
12211 は,
12212
12213 \family sans
12214 スライド
12215 \family default
12216
12217 \family sans
12218 オーバーレイ
12219 \family default
12220
12221 \family sans
12222 注釈
12223 \family default
12224
12225 \family sans
12226 不可視文
12227 \family default
12228
12229 \family sans
12230 可視文
12231 \family default
12232 では,
12233 まったく意味がなく,
12234 \SpecialChar LyX
12235 はこの部分を完全に無視します.これらの5つの環境の内容は,
12236 完全に空のままにしておいて構いません.
12237 \end_layout
12238
12239 \begin_layout Standard
12240 長めのラベルの後に文章を入れる必要は
12241 \begin_inset Flex 圏点
12242 status open
12243
12244 \begin_layout Plain Layout
12245 まったくない
12246 \end_layout
12247
12248 \end_inset
12249
12250 とはいえ,
12251 何か書いておきたいこともあるかもしれません.たとえば,
12252 スライドの内容に関する短い説明などがそうでしょう.この場合,
12253 いつもどおり説明用のコメントを入力して
12254 \family sans
12255 Return
12256 \family default
12257 を押してください.
12258 \end_layout
12259
12260 \begin_layout Subsubsection
12261
12262 \family sans
12263 \series bold
12264 スライド
12265 \family default
12266 \series default
12267
12268 \family sans
12269 \series bold
12270 オーバーレイ
12271 \family default
12272 \series default
12273
12274 \family sans
12275 \series bold
12276 注釈
12277 \series default
12278 で発表用のスライドを作る
12279 \end_layout
12280
12281 \begin_layout Paragraph
12282
12283 \family sans
12284 スライド
12285 \family default
12286 環境を使う
12287 \end_layout
12288
12289 \begin_layout Standard
12290 もし本節が,
12291 実際のプレゼンテーションの作り方を教えてくれるものと期待されているとすれば,
12292 大いにがっかりされるかもしれません.当然ながら,
12293 プレゼンテーション用の資料を準備するうえで
12294 \family sans
12295 スライド
12296 \family default
12297 クラスを役立てる方法を詳しく説明はしますが,
12298 内容をどうするかはあなた次第です(そしてこれも\SpecialChar LyX
12299 の哲学です).
12300 \end_layout
12301
12302 \begin_layout Standard
12303
12304 \family sans
12305 スライド
12306 \family default
12307 環境を選択すれば(方法は第
12308 \begin_inset CommandInset ref
12309 LatexCommand ref
12310 reference "sec:スライドの癖"
12311 nolink "false"
12312
12313 \end_inset
12314
12315 節参照のこと),
12316 \SpecialChar LyX
12317 は新規スライドを開始します.この環境ないし「疑似環境」のラベルは,
12318 鮮やかな青で「新規スライド:」と表示されます.この環境の後のテキスト環境や段落環境は,
12319 すべて新規スライドに入ります.簡単ですよね.
12320 \end_layout
12321
12322 \begin_layout Standard
12323 Slidesは,
12324 おそらく\SpecialChar LyX
12325 の中で強制的に改頁をしなくてはならない唯一のクラスです(これは
12326 \family sans
12327 段落レイアウト
12328 \family default
12329 ダイアログで指定できます).実際,
12330 一つのスライドの内容を入力し終わったら,
12331 改頁したくなるはずです.仮に一つのスライドに物理的に入りきらない文章を入力したとすると,
12332 入りきらない部分は,
12333 次の新規スライドにまわされます.しかしながら,
12334 入りきらない部分のスライドにはページ番号が付きませんので,
12335 こうするのはお勧めしません.その上,
12336 一枚に収まらないスライドでは,
12337
12338 \family sans
12339 オーバーレイ
12340 \family default
12341 を使用すると干渉する恐れがあります.
12342 \end_layout
12343
12344 \begin_layout Standard
12345
12346 \family sans
12347 オーバーレイ
12348 \family default
12349 環境と
12350 \family sans
12351 注釈
12352 \family default
12353 環境も,
12354
12355 \family sans
12356 スライド
12357 \family default
12358 環境と同様の動作を示します.これらは,
12359 青の代わりに鮮やかなマゼンタで,
12360 それぞれ「
12361 \noun on
12362 新規オーバーレイ
12363 \noun default
12364 :」ないし「
12365 \noun on
12366 新規注釈:
12367 \noun default
12368 」というラベルを表示します.ラベルのフォントも,
12369 3つの環境でそれぞれ異なるものが使用されます.
12370 \end_layout
12371
12372 \begin_layout Standard
12373
12374 \family sans
12375 スライド
12376 \family default
12377 と同様に,
12378
12379 \family sans
12380 オーバーレイ
12381 \family default
12382
12383 \family sans
12384 注釈
12385 \family default
12386 の内容が,
12387 一つのスライドないしページに物理的に収まりきらない場合には,
12388 余分は新規スライドに回されます.この場合には,
12389
12390 \family sans
12391 注釈
12392 \family default
12393
12394 \family sans
12395 オーバーレイ
12396 \family default
12397 の本来の目的が達せられなくなりますので,
12398 ここでもこのような状態は避けるべきでしょう.
12399 \end_layout
12400
12401 \begin_layout Paragraph
12402
12403 \family sans
12404 スライドで
12405 \series bold
12406 オーバーレイ
12407 \series default
12408 を使用する
12409 \end_layout
12410
12411 \begin_layout Standard
12412
12413 \family sans
12414 オーバーレイ
12415 \family default
12416 の背後にある考え方は,
12417 別のスライドの上にスライドを載せようとするものです.メインの
12418 \family sans
12419 スライド
12420 \family default
12421 に図があるとき,
12422 関連した文章を表示する前に,
12423 図について議論を進めたいと思うことがあるかもしれません.これを行うひとつの方法は,
12424
12425 \family sans
12426 スライド
12427 \family default
12428 で後に表示したい部分に黒い紙の蓋を貼り付けてしまうことですが,
12429 この方法は,
12430 たとえばグラフを他のグラフに重ねたい場合などには,
12431 うまく行きません.この場合には,
12432 二つのグラフを揃えるために,
12433 重ねる二つのスライドを,
12434 喋りながら手探りで揃えなくてはなりません.これらのような場合には,
12435
12436 \family sans
12437 オーバーレイ
12438 \family default
12439 環境を使えば,
12440 もっと楽になります.
12441 \end_layout
12442
12443 \begin_layout Standard
12444
12445 \family sans
12446 オーバーレイ
12447 \family default
12448 は,
12449 「親」
12450 \family sans
12451 スライド
12452 \family default
12453 のページ番号を引継ぎ,
12454 その後に「
12455 \family typewriter
12456 -a
12457 \family default
12458 」を付け加えます
12459 \begin_inset Foot
12460 status collapsed
12461
12462 \begin_layout Plain Layout
12463 想像できるように,
12464 複数のオーバーレイがあれば,
12465
12466 \family typewriter
12467 -a
12468 \family default
12469 」「
12470 \family typewriter
12471 -b
12472 \family default
12473 」「
12474 \family typewriter
12475 -c
12476 \family default
12477 」などが親スライドのページ番号に付け加えられます.
12478 \end_layout
12479
12480 \end_inset
12481
12482 .当然のことながら,
12483
12484 \family sans
12485 スライド
12486 \family default
12487
12488 \family sans
12489 オーバーレイ
12490 \family default
12491 の内容は両方とも,
12492 1枚のスライドに物理的に収まるようになっていなければなりません.
12493 \family sans
12494 オーバーレイ
12495 \family default
12496
12497 \family sans
12498 スライド
12499 \family default
12500 の「一部」であると考えるのがよいでしょう.\SpecialChar LyX
12501 では,
12502
12503 \family sans
12504 オーバーレイ
12505 \family default
12506 のラベルを
12507 \family sans
12508 スライド
12509 \family default
12510 のラベルよりも下げることで,
12511 このことを視覚的に表しています.また,
12512 印刷可能な出力を生成すると,
12513
12514 \family sans
12515 オーバーレイ
12516 \family default
12517 と親
12518 \family sans
12519 スライド
12520 \family default
12521 両方の四隅に,
12522 揃えマーカーがあることに気づかれるはずです.これは,
12523 2枚のスライドを物理的に重ね合わせるための補助となるものです.
12524 \end_layout
12525
12526 \begin_layout Standard
12527 2つのスライドをオーバーレイさせる際の大きな問題は,
12528 2枚のスライドの内容を揃えることです.2枚目のスライドのグラフには,
12529 どれだけの余白を残しておくべきなのでしょうか?
12530 さらにややこしく,
12531 2枚目のスライドにグラフと文章を入れたいときに,
12532 その間に割り込んでしまうような文章がメインスライドにある場合には,
12533 どうでしょうか?
12534 正しい寸法の垂直スペースを挿入してみることもできるでしょう.しかし,
12535 もっと良い方法として,
12536
12537 \family sans
12538 不可視文
12539 \family default
12540
12541 \family sans
12542 可視文
12543 \family default
12544 を使用する方法があります.
12545 \end_layout
12546
12547 \begin_layout Standard
12548 これらの名前が意味するとおり,
12549
12550 \family sans
12551 不可視文
12552 \family default
12553
12554 \family sans
12555 可視文
12556 \family default
12557 は,
12558 それぞれ続く文章すべてを見えなくしたり見えるようにしたりするコマンド型の段落環境です.しかしながら,
12559
12560 \begin_inset CommandInset ref
12561 LatexCommand ref
12562 reference "sec:スライドの癖"
12563 nolink "false"
12564
12565 \end_inset
12566
12567 節で述べたように,
12568 この2つの環境の
12569 \begin_inset Flex 圏点
12570 status open
12571
12572 \begin_layout Plain Layout
12573
12574 \end_layout
12575
12576 \end_inset
12577
12578 には何も置くことができません.
12579 \family sans
12580 不可視文
12581 \family default
12582 を作成すると,
12583 「<以下不可視文>」と書かれた水色のラベルが,
12584 ページに中央揃えで表示されます.このラベルに続く段落は,
12585 それが置かれるべき
12586 \family sans
12587 スライド
12588 \family default
12589 (あるいは
12590 \family sans
12591 オーバーレイ
12592 \family default
12593
12594 どちらでも同じことです)部分に,
12595 代わりに空白の部分が置かれます.
12596 \end_layout
12597
12598 \begin_layout Standard
12599
12600 \family sans
12601 可視文
12602 \family default
12603 の場合には,
12604 中央揃えのラベルは,
12605 鮮やかな緑の「<以下可視文>」となります.このラベル以降の段落は,
12606 通常通りの挙動を示します.新規の
12607 \family sans
12608 スライド
12609 \family default
12610
12611 \family sans
12612 オーバーレイ
12613 \family default
12614
12615 \family sans
12616 注釈
12617 \family default
12618 を開始すると,
12619
12620 \family sans
12621 不可視文
12622 \family default
12623 は自動的に終了されることに注意してください.したがって,
12624
12625 \family sans
12626 スライド
12627 \family default
12628 の終わりでは,
12629
12630 \family sans
12631 可視文
12632 \family default
12633 を使用する必要はありません.
12634 \end_layout
12635
12636 \begin_layout Standard
12637 ここまでで,
12638
12639 \family sans
12640 スライド
12641 \family default
12642
12643 \family sans
12644 オーバーレイ
12645 \family default
12646 上で
12647 \family sans
12648 不可視文
12649 \family default
12650
12651 \family sans
12652 可視文
12653 \family default
12654 を適切に使用して,
12655 スライドをオーバーレイさせる方法が明らかになったことと思います.
12656 \end_layout
12657
12658 \begin_layout Enumerate
12659 メインのスライドか
12660 \family sans
12661 オーバーレイ
12662 \family default
12663 かに関わらず,
12664 スライド上に現れるすべてを含んだ
12665 \family sans
12666 スライド
12667 \family default
12668 を作成します.
12669 \end_layout
12670
12671 \begin_layout Enumerate
12672
12673 \family sans
12674 オーバーレイ
12675 \family default
12676 のみに表示するすべての図や段落の前に,
12677
12678 \family sans
12679 不可視文
12680 \family default
12681 環境を挿入し,
12682 必要ならば,
12683
12684 \family sans
12685 オーバーレイ
12686 \family default
12687 のみの文章の後に
12688 \family sans
12689 可視文
12690 \family default
12691 環境を挿入します.
12692 \end_layout
12693
12694 \begin_layout Enumerate
12695
12696 \family sans
12697 スライド
12698 \family default
12699 の直後から,
12700
12701 \family sans
12702 オーバーレイ
12703 \family default
12704 を開始します.
12705 \end_layout
12706
12707 \begin_layout Enumerate
12708 この
12709 \family sans
12710 スライド
12711 \family default
12712 の内容を
12713 \family sans
12714 オーバーレイ
12715 \family default
12716 にコピーします.
12717 \end_layout
12718
12719 \begin_layout Enumerate
12720
12721 \family sans
12722 オーバーレイ
12723 \family default
12724 内部の
12725 \family sans
12726 不可視文
12727 \family default
12728 行をすべて
12729 \family sans
12730 不可視文
12731 \family default
12732 に変更し,
12733
12734 \family sans
12735 可視文
12736 \family default
12737
12738 \family sans
12739 不可視文
12740 \family default
12741 に変更します.
12742 \end_layout
12743
12744 \begin_layout Standard
12745 これだけです.これで
12746 \family sans
12747 オーバーレイ
12748 \family default
12749 ができあがりました.
12750 \end_layout
12751
12752 \begin_layout Standard
12753 \SpecialChar LyX
12754
12755 \family sans
12756 スライド
12757 \family default
12758 クラスをデザインする上で,
12759 ひとつ残された問題があります.段落途中の文章を不可視にしたり,
12760 不可視段落の途中の文章を再度可視にしたりすることはできないのです.これを実現するためには,
12761 \SpecialChar LaTeX
12762 コードを埋め込む必要があります
12763 \begin_inset Foot
12764 status collapsed
12765
12766 \begin_layout Plain Layout
12767 このコマンドは,
12768
12769 \end_layout
12770
12771 \begin_layout Itemize
12772
12773 \family typewriter
12774 {
12775 \backslash
12776 invisible \SpecialChar ldots
12777  }
12778 \end_layout
12779
12780 \begin_layout Itemize
12781
12782 \family typewriter
12783 {
12784 \backslash
12785 visible \SpecialChar ldots
12786  }
12787 \end_layout
12788
12789 \begin_layout Plain Layout
12790 \SpecialChar ldots
12791 のような形となり,
12792 \SpecialChar TeX
12793 としてマークする必要があります.「可視性」を変更したい文章は,
12794 波括弧のあいだ(そして
12795 \family typewriter
12796
12797 \backslash
12798 invisible
12799 \family default
12800 ないし
12801 \family typewriter
12802
12803 \backslash
12804 visible
12805 \family default
12806 コマンドの後ろ)に入れます.\SpecialChar TeX
12807 としてマークする方法がわからない場合は,
12808 ユーザーの手引きをご参照ください.
12809 \end_layout
12810
12811 \end_inset
12812
12813
12814 \end_layout
12815
12816 \begin_layout Paragraph
12817
12818 \family sans
12819 スライドで註釈を使う
12820 \family default
12821
12822 \begin_inset CommandInset label
12823 LatexCommand label
12824 name "sec:スライド注釈"
12825
12826 \end_inset
12827
12828
12829 \end_layout
12830
12831 \begin_layout Standard
12832
12833 \family sans
12834 オーバーレイ
12835 \family default
12836 と同様,
12837
12838 \family sans
12839 注釈
12840 \family default
12841 も「親」
12842 \family sans
12843 スライド
12844 \family default
12845 に関連付けられています.ここでも\SpecialChar LyX
12846
12847 \family sans
12848 スライド
12849 \family default
12850 クラスは視覚的な効果を与えています.
12851 \family sans
12852 注釈
12853 \family default
12854 のラベルは
12855 \family sans
12856 スライド
12857 \family default
12858 よりも短く(オーバーレイのラベルよりも長いですが),
12859
12860 \family sans
12861 オーバーレイ
12862 \family default
12863 のラベルと同様,
12864 派手な赤紫色です.加えて,
12865 印刷した
12866 \family sans
12867 注釈
12868 \family default
12869 には,
12870 「親」スライドのページ番号に「
12871 \family typewriter
12872 -
12873 \family default
12874 1」「
12875 \family typewriter
12876 -
12877 \family default
12878 2」「
12879 \family typewriter
12880 -
12881 \family default
12882 3」等を付けたページ番号が付けられます.1つの
12883 \family sans
12884 スライド
12885 \family default
12886 には,
12887 複数の
12888 \family sans
12889 注釈
12890 \family default
12891 を関連付けることができるので,
12892
12893 \family sans
12894 スライド
12895 \family default
12896
12897 \family sans
12898 オーバーレイ
12899 \family default
12900 と同じように,
12901 長い注釈は,
12902 1枚の紙に収まるように分割したいと思われるに違いありません.
12903 \end_layout
12904
12905 \begin_layout Standard
12906
12907 \family sans
12908 註釈
12909 \family default
12910 の目的は明らかです.
12911 \family sans
12912 スライド
12913 \family default
12914 に関して付け加えたいことを書き留めておくことです.特定の
12915 \family sans
12916 スライド
12917 \family default
12918 についての覚書として使うこともできます.後者の場合には,
12919 タイムマーカを利用したいこともあるかもしれません.現在のところ,
12920 \SpecialChar LyX
12921
12922 \family sans
12923 スライド
12924 \family default
12925 クラスは,
12926
12927 \noun on
12928 Sli
12929 \noun default
12930 \SpecialChar TeX
12931 の機能であるタイムマーカを「ネイティブには」サポートしていません.したがって,
12932 \SpecialChar LaTeX
12933 コードを使用することに頼らなくてはなりません.
12934 \end_layout
12935
12936 \begin_layout Standard
12937 タイムマーカを使用するには,
12938 クラスオプション「
12939 \family typewriter
12940 clock
12941 \family default
12942 」を追加指定する必要があります(第
12943 \begin_inset CommandInset ref
12944 LatexCommand ref
12945 reference "sec:slidesetup"
12946 nolink "false"
12947
12948 \end_inset
12949
12950 節参照).このオプションはタイムマーカ機能を有効にして,
12951 生成したすべての
12952 \family sans
12953 註釈
12954 \family default
12955 の左下にタイムマーカを表示します.タイムマーカに表示するものを設定するには,
12956 \SpecialChar LaTeX
12957 コマンド「
12958 \family typewriter
12959
12960 \backslash
12961 settime{}
12962 \family default
12963 」および「
12964 \family typewriter
12965
12966 \backslash
12967 addtime{}
12968 \family default
12969 」を使用します.両コマンドは,
12970 秒で測った時間を引数にとります.「
12971 \family typewriter
12972
12973 \backslash
12974 settime{}
12975 \family default
12976 」は,
12977 タイムマーカを特定の時間に設定し,
12978
12979 \family typewriter
12980
12981 \backslash
12982 addtime{}
12983 \family default
12984 」は,
12985 タイムマーカを指定した分だけ進めます.このようにタイムマーカと
12986 \family sans
12987 註釈
12988 \family default
12989 を用いれば,
12990 特定の
12991 \family sans
12992 スライド
12993 \family default
12994 にどれだけの時間をかけるのか忘れないでいられます.
12995 \end_layout
12996
12997 \begin_layout Standard
12998 最後に,
12999 説明しておくべき機能がもう一つあります.当然ながら,
13000
13001 \family sans
13002 スライド
13003 \family default
13004
13005 \family sans
13006 オーバーレイ
13007 \family default
13008 はすべてスライドに,
13009
13010 \family sans
13011 註釈
13012 \family default
13013 はすべて普通の紙に印刷したいはずです.しかしながら,
13014
13015 \family sans
13016 註釈
13017 \family default
13018 は関連付けられた親スライドの直後に
13019 \begin_inset Flex 圏点
13020 status open
13021
13022 \begin_layout Plain Layout
13023 来なくてはなりません
13024 \end_layout
13025
13026 \end_inset
13027
13028 .ユーザーはどうしたら良いのでしょうか.
13029 \end_layout
13030
13031 \begin_layout Standard
13032 幸いなことに,
13033 どれを印刷するか選択することを可能にする\SpecialChar LaTeX
13034 コマンドが,
13035 2種類あります.どちらも文書のプリアンブルに記述されなくてはなりません.コマンド「
13036 \family typewriter
13037
13038 \backslash
13039 onlyslides{
13040 \backslash
13041 slides}
13042 \family default
13043 」は,
13044 出力に
13045 \family sans
13046 スライド
13047 \family default
13048
13049 \family sans
13050 オーバーレイ
13051 \family default
13052 のみが含まれるようにするものです.同様に,
13053
13054 \family typewriter
13055
13056 \backslash
13057 onlynotes{
13058 \backslash
13059 notes}
13060 \family default
13061 」は
13062 \family sans
13063 註釈
13064 \family default
13065 以外の出力をすべて抑制します.私のアドバイスとしては,
13066 両コマンドをプリアンブルに書いておいて,
13067 最初は両方ともコメントアウトしておくと良いでしょう.そうすれば,
13068 執筆時にはプレゼンテーション全体をプレビューすることができます.いったん書き終えたならば,
13069 二つのうち一方のコメントを外して,
13070 印刷したい方を選ぶことができます.私ならば,
13071 まず
13072 \family typewriter
13073
13074 \backslash
13075 onlyslides{
13076 \backslash
13077 slides}
13078 \family default
13079 のコメントを外して,
13080 現ファイル名に「*
13081 \family typewriter
13082 -slides
13083 \family default
13084 」を付けた新たなファイルに出力を行ない,
13085 今度はこの行をふたたびコメントアウトするとともに,
13086
13087 \family typewriter
13088
13089 \backslash
13090 onlynotes{
13091 \backslash
13092 notes
13093 \family default
13094 }」のコメントを外して,
13095 これを「
13096 \family typewriter
13097 *-notes.ps
13098 \family default
13099 」というファイルに出力します.そうすれば,
13100 必要に応じて,
13101 スライドまたは通常の紙をプリンタにセットし,
13102 一方のファイルをプリンタに送ればよいのです.
13103 \end_layout
13104
13105 \begin_layout Standard
13106
13107 \family typewriter
13108
13109 \backslash
13110 onlyslides{}
13111 \family default
13112 」および「
13113 \family typewriter
13114
13115 \backslash
13116 onlynotes{}
13117 \family default
13118 」コマンドには,
13119 他の引数を与えることもできます.詳しくは,
13120 \SpecialChar LaTeX
13121 の良書をご覧ください.
13122 \end_layout
13123
13124 \begin_layout Subsubsection
13125
13126 \family sans
13127 スライド
13128 \family default
13129 クラスのひな型ファイル
13130 \end_layout
13131
13132 \begin_layout Standard
13133
13134 \family sans
13135 スライド
13136 \family default
13137 クラス用のひな型ファイルが提供されています.これを使用するには,
13138 新しいプレゼンテーションを作り始める際に,
13139
13140 \family sans
13141 ファイル\SpecialChar menuseparator
13142 新規(ひな型使用)\SpecialChar menuseparator
13143 プレゼンテーション\SpecialChar menuseparator
13144 スライド
13145 \family default
13146
13147 \begin_inset space \thinspace{}
13148 \end_inset
13149
13150 メニューを選択してください.すると新規ファイルには,
13151
13152 \family sans
13153 スライド
13154 \family default
13155
13156 \family sans
13157 オーバーレイ
13158 \family default
13159
13160 \family sans
13161 註釈
13162 \family default
13163 の組が,
13164 例として含まれており,
13165
13166 \family sans
13167 スライド
13168 \family default
13169
13170 \family sans
13171 オーバーレイ
13172 \family default
13173 には,
13174 さらに
13175 \family sans
13176 不可視文
13177 \family default
13178
13179 \family sans
13180 可視文
13181 \family default
13182 の使用例も含まれています.また,
13183 プリアンブルには,
13184 次のように書き込まれています.
13185 \end_layout
13186
13187 \begin_layout LyX-Code
13188 % Uncomment to print out only slides and overlays
13189 \end_layout
13190
13191 \begin_layout LyX-Code
13192 %
13193 \end_layout
13194
13195 \begin_layout LyX-Code
13196 %
13197 \backslash
13198 onlyslides{
13199 \backslash
13200 slides}
13201 \begin_inset Newline newline
13202 \end_inset
13203
13204  
13205 \end_layout
13206
13207 \begin_layout LyX-Code
13208 % Uncomment to print out only notes
13209 \end_layout
13210
13211 \begin_layout LyX-Code
13212 %
13213 \end_layout
13214
13215 \begin_layout LyX-Code
13216 %
13217 \backslash
13218 onlynotes{
13219 \backslash
13220 notes}
13221 \end_layout
13222
13223 \begin_layout Standard
13224 最後に,
13225 私はこの文書クラスを,
13226 \SpecialChar LaTeX2e
13227 の組み込みクラスである「
13228 \noun on
13229 Sli\SpecialChar TeX
13230
13231 \noun default
13232 エミュレーション」クラスをサポートする目的で作成しました.私も\SpecialChar LyX
13233 チームの他のメンバーも,
13234 この組み込みスライドクラスを使用することに賛成したり反対したりするものではありません.これは単に,
13235 ユーザーがこれを使いたかったり必要としたりしたときのためにあるものです.プレゼンテーションを作成するためには,
13236
13237 \family sans
13238 FoilTeX
13239 \family default
13240 (第
13241 \begin_inset CommandInset ref
13242 LatexCommand ref
13243 reference "subsec:foiltex"
13244 nolink "false"
13245
13246 \end_inset
13247
13248 節参照)や
13249 \family typewriter
13250 Seminar
13251 \family default
13252 (第
13253 \begin_inset CommandInset ref
13254 LatexCommand ref
13255 reference "subsec:Seminar"
13256 plural "false"
13257 caps "false"
13258 noprefix "false"
13259 nolink "false"
13260
13261 \end_inset
13262
13263 節参照)のように,
13264 他の\SpecialChar LaTeX2e
13265 クラスも存在します.他にどのようなことができるのか試してみてください.
13266 \end_layout
13267
13268 \begin_layout Section
13269 レポート
13270 \end_layout
13271
13272 \begin_layout Subsection
13273 Report
13274 \end_layout
13275
13276 \begin_layout Standard
13277 Reportクラスは,
13278 いわばBookクラスとArticleクラスの相の子です.これはBook文書クラスのように部・章・節を提供しますが,
13279 前付け・中付け・後付けは提供しません.またArticle文書クラスのように概要段落様式を提供し,
13280 既定では片面文書です.また(両面モードでも),
13281 新しい章を右側ページから始めることはしません.
13282 \end_layout
13283
13284 \begin_layout Standard
13285 外部でメンテナンスされていて,
13286 \SpecialChar LyX
13287 が公式にサポートしている
13288 \family sans
13289 Report
13290 \family default
13291 文書クラスについては,
13292 コレクション(第
13293 \begin_inset CommandInset ref
13294 LatexCommand ref
13295 reference "sec:コレクション"
13296 plural "false"
13297 caps "false"
13298 noprefix "false"
13299 nolink "false"
13300
13301 \end_inset
13302
13303 節)に説明があります.
13304 \end_layout
13305
13306 \begin_layout Itemize
13307
13308 \family sans
13309 日本語Report
13310 \begin_inset space \space{}
13311 \end_inset
13312
13313 (標準クラス)
13314 \family default
13315 および
13316 \family sans
13317 日本語Report
13318 \begin_inset space \space{}
13319 \end_inset
13320
13321 (標準クラス:
13322 縦書き)
13323 \family default
13324 については,
13325
13326 \begin_inset CommandInset ref
13327 LatexCommand ref
13328 reference "subsec:日本語"
13329 plural "false"
13330 caps "false"
13331 noprefix "false"
13332 nolink "false"
13333
13334 \end_inset
13335
13336 節を参照してください.
13337 \end_layout
13338
13339 \begin_layout Itemize
13340
13341 \family sans
13342 KOMA-Script
13343 \begin_inset space \space{}
13344 \end_inset
13345
13346 Report
13347 \family default
13348 については,
13349
13350 \begin_inset CommandInset ref
13351 LatexCommand ref
13352 reference "subsec:Koma-Script"
13353 plural "false"
13354 caps "false"
13355 noprefix "false"
13356 nolink "false"
13357
13358 \end_inset
13359
13360 節を参照してください.
13361 \end_layout
13362
13363 \begin_layout Itemize
13364
13365 \family sans
13366 Report
13367 \begin_inset space \space{}
13368 \end_inset
13369
13370 (フォント寸法を追加した標準クラス)
13371 \family default
13372 については,
13373
13374 \begin_inset CommandInset ref
13375 LatexCommand ref
13376 reference "subsec:追加フォント寸法"
13377 plural "false"
13378 caps "false"
13379 noprefix "false"
13380 nolink "false"
13381
13382 \end_inset
13383
13384 節を参照してください.
13385 \end_layout
13386
13387 \begin_layout Itemize
13388
13389 \family sans
13390 ポーランド語Report
13391 \begin_inset space \space{}
13392 \end_inset
13393
13394 (MWシリーズ)
13395 \family default
13396 については,
13397
13398 \begin_inset CommandInset ref
13399 LatexCommand ref
13400 reference "subsec:ポーランド語M.W.コレクション"
13401 plural "false"
13402 caps "false"
13403 noprefix "false"
13404 nolink "false"
13405
13406 \end_inset
13407
13408 節を参照してください.
13409 \end_layout
13410
13411 \begin_layout Section
13412 台本
13413 \end_layout
13414
13415 \begin_layout Standard
13416
13417 \family sans
13418 \series bold
13419 台本
13420 \family default
13421 \series default
13422 カテゴリでは,
13423 演劇や映画の台本を執筆を援助する文書クラスをまとめています.このカテゴリには,
13424 講演台本のような他の台本にも開かれていますが,
13425 まだ公式に\SpecialChar LyX
13426 がサポートしているクラスはありません.
13427 \end_layout
13428
13429 \begin_layout Subsection
13430 Broadway
13431 \end_layout
13432
13433 \begin_layout Standard
13434
13435 \noun on
13436 Garst Reese
13437 \noun default
13438
13439 \end_layout
13440
13441 \begin_layout Subsubsection
13442 はじめに
13443 \end_layout
13444
13445 \begin_layout Standard
13446
13447 \family sans
13448 Broadway
13449 \family default
13450 は演劇を書くためのものです.書式は
13451 \family sans
13452 Hollywood
13453 \family default
13454 (第
13455 \begin_inset CommandInset ref
13456 LatexCommand ref
13457 reference "subsec:Hollywood"
13458 plural "false"
13459 caps "false"
13460 noprefix "false"
13461 nolink "false"
13462
13463 \end_inset
13464
13465 節参照)よりも装飾的で,
13466 それほど標準化されていません.この書式はワークショップに向いているでしょう.
13467 \end_layout
13468
13469 \begin_layout Subsubsection
13470 特別な問題
13471 \end_layout
13472
13473 \begin_layout Standard
13474
13475 \family sans
13476 Hollywood
13477 \family default
13478 と同様です(第
13479 \begin_inset CommandInset ref
13480 LatexCommand ref
13481 reference "subsec:Hollywoodの特別な問題"
13482 plural "false"
13483 caps "false"
13484 noprefix "false"
13485 nolink "false"
13486
13487 \end_inset
13488
13489 節参照).
13490 \end_layout
13491
13492 \begin_layout Subsubsection
13493 特別の機能
13494 \end_layout
13495
13496 \begin_layout Standard
13497
13498 \family sans
13499 話者
13500 \family default
13501 の名前をラベルとして挿入し,
13502 名前を挿入する際には,
13503 このラベルを相互参照してください.相互参照ダイアログには,
13504 登場人物の現在の配役が表示されます.
13505 \end_layout
13506
13507 \begin_layout Subsubsection
13508 用紙寸法と余白
13509 \end_layout
13510
13511 \begin_layout Standard
13512 USレター寸法で,
13513 余白は左1.6インチ,
13514 右0.75インチ,
13515 上0.5インチ,
13516 下0.75インチです.
13517 \end_layout
13518
13519 \begin_layout Subsubsection
13520 環境
13521 \end_layout
13522
13523 \begin_layout Standard
13524 以下の環境を使うことができます.右に記してあるキー割当ては,
13525 broadway.bindを使った場合のものです.
13526 \end_layout
13527
13528 \begin_layout Itemize
13529
13530 \family sans
13531 \series bold
13532 標準
13533 \series default
13534
13535 \begin_inset Newline newline
13536 \end_inset
13537
13538
13539 \family default
13540 これは使わなくていいはずですが,
13541 他の環境が当てはまらない場合のためにここに挙げておきます.
13542 \end_layout
13543
13544 \begin_layout Itemize
13545
13546 \family sans
13547 \series bold
13548 ト書き
13549 \series default
13550
13551 \begin_inset space \hfill{}
13552 \end_inset
13553
13554 M-z n
13555 \begin_inset Newline newline
13556 \end_inset
13557
13558
13559 \family default
13560 舞台設定と動作の説明に用います.最初に話者名をすべて大文字で書いておきます.
13561 \end_layout
13562
13563 \begin_layout Itemize
13564
13565 \family sans
13566 \series bold
13567
13568 \series default
13569
13570 \begin_inset space \hfill{}
13571 \end_inset
13572
13573 M-z a
13574 \begin_inset Newline newline
13575 \end_inset
13576
13577
13578 \family default
13579 自動的に連番が振られます.連番は,
13580 画面上ではアラビア数字ですが,
13581 出力ではローマ数字です.
13582 \end_layout
13583
13584 \begin_layout Itemize
13585
13586 \family sans
13587 \series bold
13588 幕*
13589 \series default
13590
13591 \begin_inset space \hfill{}
13592 \end_inset
13593
13594 M-z S at
13595 \begin_inset Newline newline
13596 \end_inset
13597
13598
13599 \family default
13600 幕の副題です.単に中央揃えの文になります.
13601 \end_layout
13602
13603 \begin_layout Itemize
13604
13605 \family sans
13606 \series bold
13607 場面
13608 \series default
13609
13610 \begin_inset space \hfill{}
13611 \end_inset
13612
13613 M-z S-S
13614 \begin_inset Newline newline
13615 \end_inset
13616
13617
13618 \family default
13619 自動的に連番は振られませんので,
13620 手動で番号を付けてください.これは私がどうすればいいか分からなかったためです.
13621 \end_layout
13622
13623 \begin_layout Itemize
13624
13625 \family sans
13626 \series bold
13627 幕開きに
13628 \series default
13629
13630
13631 \begin_inset space \hfill{}
13632 \end_inset
13633
13634 M-z S-R
13635 \begin_inset Newline newline
13636 \end_inset
13637
13638
13639 \family default
13640 ト書きの特殊な場合で,
13641 カーテンが上がるときの舞台設定と動作を説明します.
13642 \end_layout
13643
13644 \begin_layout Itemize
13645
13646 \family sans
13647 \series bold
13648 話者
13649 \series default
13650
13651 \begin_inset space \hfill{}
13652 \end_inset
13653
13654 M-z s
13655 \begin_inset Newline newline
13656 \end_inset
13657
13658
13659 \family default
13660 話者(役者)の配役です.すべて大文字で中央揃えに置かれます.
13661 \end_layout
13662
13663 \begin_layout Itemize
13664
13665 \family sans
13666 \series bold
13667 括弧付き
13668 \series default
13669
13670 \begin_inset space \hfill{}
13671 \end_inset
13672
13673 M-z p
13674 \begin_inset Newline newline
13675 \end_inset
13676
13677
13678 \family default
13679 話者への指示です.括弧は自動的に挿入されます.画面上には左括弧(のみが表示されますが,
13680 印字出力には両方の括弧が表示されます.この環境は,
13681
13682 \family sans
13683 対話
13684 \family default
13685 の中だけで使用されます. 
13686 \end_layout
13687
13688 \begin_layout Itemize
13689
13690 \family sans
13691 \series bold
13692 対話
13693 \series default
13694
13695 \begin_inset space \hfill{}
13696 \end_inset
13697
13698 M-z d
13699 \begin_inset Newline newline
13700 \end_inset
13701
13702
13703 \family default
13704 話者の言う内容.
13705 \end_layout
13706
13707 \begin_layout Itemize
13708
13709 \family sans
13710 \series bold
13711 幕切れ
13712 \series default
13713
13714 \begin_inset space \hfill{}
13715 \end_inset
13716
13717 M-z S-C
13718 \begin_inset Newline newline
13719 \end_inset
13720
13721
13722 \family default
13723 幕が降ります.
13724 \end_layout
13725
13726 \begin_layout Itemize
13727
13728 \family sans
13729 \series bold
13730 タイトル
13731 \series default
13732
13733 \begin_inset space \hfill{}
13734 \end_inset
13735
13736 M-z S-T
13737 \end_layout
13738
13739 \begin_layout Itemize
13740
13741 \family sans
13742 \series bold
13743 著者
13744 \series default
13745
13746 \begin_inset space \hfill{}
13747 \end_inset
13748
13749 M-z S-A
13750 \end_layout
13751
13752 \begin_layout Itemize
13753
13754 \family sans
13755 \series bold
13756 右寄せ住所
13757 \series default
13758
13759 \begin_inset space \hfill{}
13760 \end_inset
13761
13762 M-z r
13763 \end_layout
13764
13765 \begin_layout Subsection
13766 Hollywood(Hollywoodスペック・スクリプト)
13767 \begin_inset CommandInset label
13768 LatexCommand label
13769 name "subsec:Hollywood"
13770
13771 \end_inset
13772
13773
13774 \end_layout
13775
13776 \begin_layout Standard
13777
13778 \noun on
13779 Garst Reese
13780 \noun default
13781
13782 \end_layout
13783
13784 \begin_layout Subsubsection
13785 はじめに
13786 \end_layout
13787
13788 \begin_layout Standard
13789 脚本を正しい書式で書くことは,
13790 ハリウッドにおける「通過儀礼」です.ハリウッドの脚本は,
13791 読み手が内容に集中できるようにし,
13792 俳優にとっても読みやすくかつ親しみやすいように設計されています.脚本の1ページは,
13793 映画の1分でなければならず,
13794 銀幕上で見えたり聞こえたりしないものは,
13795 脚本に混入してはなりません.また,
13796 全体を通してCourier 12
13797 \begin_inset space \space{}
13798 \end_inset
13799
13800 ptフォントを使わなければならず,
13801 イタリック体は用いてはいけません.
13802 \end_layout
13803
13804 \begin_layout Subsubsection
13805 特別な問題
13806 \begin_inset CommandInset label
13807 LatexCommand label
13808 name "subsec:Hollywoodの特別な問題"
13809
13810 \end_inset
13811
13812
13813 \end_layout
13814
13815 \begin_layout Standard
13816 話者の行は,
13817 文の途中で改行することは
13818 \begin_inset Flex 圏点
13819 status open
13820
13821 \begin_layout Plain Layout
13822 決して
13823 \end_layout
13824
13825 \end_inset
13826
13827 あってはなりません.もし話者行の塊が,
13828 次頁にまたがる場合には,
13829
13830 \family sans
13831 話者
13832 \family default
13833 名を再度書き,
13834 その後に(Cont'd)と加えます.
13835 \end_layout
13836
13837 \begin_layout Subsubsection
13838 特別な機能
13839 \end_layout
13840
13841 \begin_layout Standard
13842
13843 \family sans
13844 話者
13845 \family default
13846 名はラベルとして挿入し,
13847 話者名を挿入するには,
13848 そのラベルを相互参照してください.相互参照ダイアログは,
13849 登場人物の現在の配役を表示することになります.これは,
13850 ト書きに話者名を挿入するのにも使用することができます.
13851 \end_layout
13852
13853 \begin_layout Subsubsection
13854 用紙寸法と余白
13855 \end_layout
13856
13857 \begin_layout Standard
13858 USレター寸法で,
13859 左余白1.6インチ・右余白0.75インチ・上余白0.5インチ・下余白0.75インチです.
13860 \end_layout
13861
13862 \begin_layout Subsubsection
13863 環境
13864 \end_layout
13865
13866 \begin_layout Standard
13867 以下の環境が利用可能です.右に示されているキー割当てを使用するには,
13868 hollywood.bindを使用してください.
13869 \end_layout
13870
13871 \begin_layout Itemize
13872
13873 \family sans
13874 \series bold
13875 一般
13876 \series default
13877
13878 \begin_inset Newline newline
13879 \end_inset
13880
13881
13882 \family default
13883 他の環境が動作しない場合に使用しますが,
13884 これを使うことは避けるようにしてください.
13885 \end_layout
13886
13887 \begin_layout Itemize
13888
13889 \family sans
13890 \series bold
13891 フェイドイン
13892 \series default
13893 :
13894 \family default
13895
13896 \begin_inset space \hfill{}
13897 \end_inset
13898
13899
13900 \family sans
13901 M-z S-I
13902 \family default
13903
13904 \begin_inset Newline newline
13905 \end_inset
13906
13907 通常,
13908 この後には「Sallyは目を覚ますと」のように続きます.
13909 \end_layout
13910
13911 \begin_layout Itemize
13912
13913 \family sans
13914 \series bold
13915 屋内
13916 \series default
13917 :
13918 \begin_inset space \hfill{}
13919 \end_inset
13920
13921 M-z i
13922 \begin_inset Newline newline
13923 \end_inset
13924
13925
13926 \family default
13927 新しい屋内(INTERIOR)カメラの設定を指定します.この後には,
13928 かならずDAYやNIGHTなどを指定して,
13929 必要な照明を定義します.この行はすべて大文字で書きます.
13930 \end_layout
13931
13932 \begin_layout Itemize
13933
13934 \family sans
13935 \series bold
13936 屋外
13937 \series default
13938 :
13939 \begin_inset space \hfill{}
13940 \end_inset
13941
13942 M-z e
13943 \begin_inset Newline newline
13944 \end_inset
13945
13946
13947 \family default
13948 屋外(EXTERIOR)カメラの設定を指定します.この行はすべて大文字で書きます.
13949 \end_layout
13950
13951 \begin_layout Itemize
13952
13953 \family sans
13954 \series bold
13955 話者
13956 \series default
13957
13958 \begin_inset space \hfill{}
13959 \end_inset
13960
13961 M-z s
13962 \begin_inset Newline newline
13963 \end_inset
13964
13965
13966 \family default
13967 話す役.
13968 \end_layout
13969
13970 \begin_layout Itemize
13971
13972 \family sans
13973 \series bold
13974 括弧付き
13975 \series default
13976
13977 \begin_inset space \hfill{}
13978 \end_inset
13979
13980 M-z p
13981 \begin_inset Newline newline
13982 \end_inset
13983
13984 話者
13985 \family default
13986 への指示.自動的に括弧()が挿入されます.
13987 \end_layout
13988
13989 \begin_layout Itemize
13990
13991 \family sans
13992 \series bold
13993 対話
13994 \series default
13995
13996 \begin_inset space \hfill{}
13997 \end_inset
13998
13999 M-z d
14000 \begin_inset Newline newline
14001 \end_inset
14002
14003 話者
14004 \family default
14005 が話す内容.
14006 \end_layout
14007
14008 \begin_layout Itemize
14009
14010 \family sans
14011 \series bold
14012 画面遷移
14013 \series default
14014
14015 \begin_inset space \hfill{}
14016 \end_inset
14017
14018 M-z t
14019 \begin_inset Newline newline
14020 \end_inset
14021
14022
14023 \family default
14024 カメラの動きの指示.例:
14025 CUT TO:.
14026 \end_layout
14027
14028 \begin_layout Itemize
14029
14030 \family sans
14031 \series bold
14032 フェイドアウト
14033 \series default
14034 :
14035 \begin_inset space \hfill{}
14036 \end_inset
14037
14038 M-z S-I
14039 \end_layout
14040
14041 \begin_layout Itemize
14042
14043 \family sans
14044 \series bold
14045 著者
14046 \series default
14047
14048 \begin_inset space \hfill{}
14049 \end_inset
14050
14051 M-z S-A
14052 \end_layout
14053
14054 \begin_layout Itemize
14055
14056 \family sans
14057 \series bold
14058 タイトル
14059 \series default
14060
14061 \begin_inset space \hfill{}
14062 \end_inset
14063
14064 M-z S-T
14065 \end_layout
14066
14067 \begin_layout Itemize
14068
14069 \family sans
14070 \series bold
14071 右寄せ住所
14072 \series default
14073
14074 \begin_inset space \hfill{}
14075 \end_inset
14076
14077 M-z r
14078 \end_layout
14079
14080 \begin_layout Subsubsection
14081 脚本で使われる特別な用語
14082 \end_layout
14083
14084 \begin_layout Itemize
14085 (O.S) —
14086  off screen
14087 \end_layout
14088
14089 \begin_layout Itemize
14090 (V.0) —
14091  voice over
14092 \end_layout
14093
14094 \begin_layout Itemize
14095 b.g.
14096  —
14097  background
14098 \end_layout
14099
14100 \begin_layout Itemize
14101 C.U.
14102  —
14103  close-up
14104 \end_layout
14105
14106 \begin_layout Itemize
14107 PAN —
14108  camera movement
14109 \end_layout
14110
14111 \begin_layout Itemize
14112 INSERT —
14113  cut to close-up of
14114 \end_layout
14115
14116 \begin_layout Chapter
14117 モジュール
14118 \end_layout
14119
14120 \begin_layout Section
14121 特定の学術分野
14122 \end_layout
14123
14124 \begin_layout Subsection
14125 化学:
14126 危険有害性情報・注意書き
14127 \end_layout
14128
14129 \begin_layout Standard
14130 このモジュールは,
14131 化学物質の危険有害性情報・注意書きの番号と説明文を組版するための,
14132 2つの差込枠と段落様式を提供します.詳細については,
14133
14134 \family sans
14135 ファイル\SpecialChar menuseparator
14136 用例を開く\SpecialChar menuseparator
14137 モジュール\SpecialChar menuseparator
14138 危険有害性情報・注意書き
14139 \family default
14140
14141 \begin_inset space \thinspace{}
14142 \end_inset
14143
14144 および
14145 \begin_inset space \thinspace{}
14146 \end_inset
14147
14148
14149 \family sans
14150 ヘルプ\SpecialChar menuseparator
14151 用途別説明書\SpecialChar menuseparator
14152 危険有害性情報・注意書き
14153 \family default
14154
14155 \begin_inset space \thinspace{}
14156 \end_inset
14157
14158 をご覧ください.
14159 \end_layout
14160
14161 \begin_layout Subsection
14162 化学:
14163 リスクと安全性に関する表示
14164 \end_layout
14165
14166 \begin_layout Standard
14167 このモジュールは,
14168
14169 \family sans
14170 挿入\SpecialChar menuseparator
14171 特別差込枠
14172 \family default
14173
14174 \begin_inset space \thinspace{}
14175 \end_inset
14176
14177 から入力することのできる
14178 \family sans
14179 R-S番号
14180 \family default
14181
14182 \family sans
14183 R-S文
14184 \family default
14185 の2つの差込枠と,
14186 化学物質のリスクと安全性に関する表示の番号と説明文を組版するための1つの環境を提供します.
14187 \end_layout
14188
14189 \begin_layout Subsection
14190 言語学
14191 \end_layout
14192
14193 \begin_layout Standard
14194 このモジュールは,
14195 言語学に便利な環境(付番用例や語句注解,
14196 セマンティック・マークアップ,
14197 OT絵画フロート)を付け加えます.このモジュールについての情報は,
14198
14199 \family sans
14200 ヘルプ\SpecialChar menuseparator
14201 用途別説明書\SpecialChar menuseparator
14202 言語学
14203 \family default
14204
14205 \begin_inset space \thinspace{}
14206 \end_inset
14207
14208 および
14209 \family sans
14210 ファイル\SpecialChar menuseparator
14211 用例を開く\SpecialChar menuseparator
14212 モジュール\SpecialChar menuseparator
14213 言語学
14214 \family default
14215
14216 \begin_inset space \thinspace{}
14217 \end_inset
14218
14219 で入手できます.
14220 \end_layout
14221
14222 \begin_layout Section
14223 アクセシビリティ
14224 \end_layout
14225
14226 \begin_layout Subsection
14227 点字
14228 \end_layout
14229
14230 \begin_layout Standard
14231 このモジュールは点字筆記をサポートし,
14232 \SpecialChar LaTeX
14233 パッケージの
14234 \family typewriter
14235 braille.sty
14236 \family default
14237 を必要とします.パッケージと関連文書は
14238 \begin_inset CommandInset href
14239 LatexCommand href
14240 name "CTAN"
14241 target "https://www.ctan.org/pkg/braille"
14242 literal "false"
14243
14244 \end_inset
14245
14246 から入手できます.
14247 \family sans
14248 ヘルプ\SpecialChar menuseparator
14249 用途別説明書\SpecialChar menuseparator
14250 点字
14251 \family default
14252
14253 \begin_inset space \thinspace{}
14254 \end_inset
14255
14256 および
14257 \family sans
14258 ファイル\SpecialChar menuseparator
14259 用例を開く\SpecialChar menuseparator
14260 モジュール\SpecialChar menuseparator
14261 点字
14262 \family default
14263
14264 \begin_inset space \thinspace{}
14265 \end_inset
14266
14267 をご覧ください.
14268 \end_layout
14269
14270 \begin_layout Section
14271 記註及び改訂
14272 \end_layout
14273
14274 \begin_layout Subsection
14275 FiXme註釈
14276 \end_layout
14277
14278 \begin_layout Standard
14279 このモジュールは,
14280 文書改訂のための「FiXme」(余白)註釈を提供します.「FIXME一覧」段落様式を用いれば,
14281 註釈一覧を生成することができます.これらの註釈はLaTeXプリアンブルで設定を変更できます.
14282 \begin_inset CommandInset href
14283 LatexCommand href
14284 name "CTAN"
14285 target "http://mirrors.ctan.org/macros/latex/contrib/fixme/fixme.pdf"
14286 literal "false"
14287
14288 \end_inset
14289
14290 で入手できる
14291 \family sans
14292 fixme
14293 \family default
14294 解説文書をご覧ください.
14295 \end_layout
14296
14297 \begin_layout Paragraph
14298 註:
14299
14300 \end_layout
14301
14302 \begin_layout Standard
14303 既定状態では,
14304 註釈は「原稿」モードでのみ表示されます(
14305 \family sans
14306 文書\SpecialChar menuseparator
14307 設定\SpecialChar menuseparator
14308 文書クラス\SpecialChar menuseparator
14309 クラスオプション\SpecialChar menuseparator
14310 詳細設定
14311 \family default
14312
14313 \begin_inset space \thinspace{}
14314 \end_inset
14315
14316 で「draft」オプションを指定した時のみ).註釈をつねに表示するには,
14317
14318 \family sans
14319 文書\SpecialChar menuseparator
14320 設定\SpecialChar menuseparator
14321 プリアンブル
14322 \family default
14323
14324 \begin_inset space \thinspace{}
14325 \end_inset
14326
14327
14328 \family typewriter
14329
14330 \backslash
14331 fxsetup{draft}
14332 \family default
14333 と指定してください.
14334 \end_layout
14335
14336 \begin_layout Subsection
14337 PDFコメント
14338 \end_layout
14339
14340 \begin_layout Standard
14341 このモジュールは,
14342 PDF出力向けに各種註釈を提供します.
14343 \family sans
14344 ヘルプ\SpecialChar menuseparator
14345 用途別説明書\SpecialChar menuseparator
14346 PDFコメント
14347 \family default
14348
14349 \begin_inset space \thinspace{}
14350 \end_inset
14351
14352 および
14353 \begin_inset space \thinspace{}
14354 \end_inset
14355
14356
14357 \family sans
14358 ファイル\SpecialChar menuseparator
14359 用例を開く\SpecialChar menuseparator
14360 モジュール\SpecialChar menuseparator
14361 PDFコメント
14362 \family default
14363
14364 \begin_inset space \thinspace{}
14365 \end_inset
14366
14367 をご覧ください.
14368 \end_layout
14369
14370 \begin_layout Subsection
14371 PDFフォーム
14372 \end_layout
14373
14374 \begin_layout Standard
14375 PDFフォーム用のフィールドとボタンを提供します.
14376 \begin_inset CommandInset href
14377 LatexCommand href
14378 name "hyperref解説文書"
14379 target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
14380 literal "false"
14381
14382 \end_inset
14383
14384 および
14385 \family sans
14386 ヘルプ\SpecialChar menuseparator
14387 用途別説明書\SpecialChar menuseparator
14388 PDFフォーム
14389 \family default
14390
14391 \begin_inset space \thinspace{}
14392 \end_inset
14393
14394 および
14395 \begin_inset space \thinspace{}
14396 \end_inset
14397
14398
14399 \family sans
14400 ファイル\SpecialChar menuseparator
14401 用例を開く\SpecialChar menuseparator
14402 モジュール\SpecialChar menuseparator
14403 PDFフォーム
14404 \family default
14405
14406 \begin_inset space \thinspace{}
14407 \end_inset
14408
14409 をご覧ください.
14410 \end_layout
14411
14412 \begin_layout Subsection
14413 ルビ(振り仮名)
14414 \end_layout
14415
14416 \begin_layout Standard
14417 このモジュールは,
14418 漢字の読み(ルビ・振り仮名)を組版する差込枠を定義します.(TeXエンジンによって) okumacro・luatexja-ruby・rubyパッケージあるいは避難的定義を使用します.
14419 \end_layout
14420
14421 \begin_layout Subsection
14422 TODO註釈
14423 \end_layout
14424
14425 \begin_layout Standard
14426 このモジュールは,
14427 文書中にTODO項目を入れ込む特別差込枠を提供し,
14428 「TODO一覧」を生成するための段落様式も提供します.
14429 \family sans
14430 文書\SpecialChar menuseparator
14431 文書クラス\SpecialChar menuseparator
14432 クラスオプション\SpecialChar menuseparator
14433 詳細設定
14434 \family default
14435
14436 \begin_inset space \thinspace{}
14437 \end_inset
14438
14439 に「final」を渡せば,
14440 TODO註釈は出力されません. 
14441 \begin_inset CommandInset href
14442 LatexCommand href
14443 name "todonotes解説文書"
14444 target "http://mirrors.ctan.org/macros/latex/contrib/todonotes/todonotes.pdf"
14445 literal "false"
14446
14447 \end_inset
14448
14449 を参照してください.
14450 \end_layout
14451
14452 \begin_layout Section
14453 書誌情報
14454 \end_layout
14455
14456 \begin_layout Subsection
14457 Natbibを使用したAPA様式
14458 \end_layout
14459
14460 \begin_layout Standard
14461 このモジュールは,
14462 apaciteと共にnatbibを使用できるようにします(書誌情報様式はapaciteである必要はありません —
14463  natbibとapaciteの両パッケージで動作する様式であれば,
14464 apaciteやapacitexあるいは他の様式でも構いません). 
14465 \end_layout
14466
14467 \begin_layout Section
14468 ボックス
14469 \end_layout
14470
14471 \begin_layout Subsection
14472 色付き装飾ボックス
14473 \end_layout
14474
14475 \begin_layout Standard
14476 このモジュールは,
14477 tcolorboxパッケージを使って色付きボックスをサポートする特別差込枠を追加します.詳細については,
14478
14479 \family sans
14480 ヘルプ\SpecialChar menuseparator
14481 用途別説明書\SpecialChar menuseparator
14482 色付きボックス
14483 \family default
14484
14485 \begin_inset space \thinspace{}
14486 \end_inset
14487
14488 および
14489 \begin_inset space \thinspace{}
14490 \end_inset
14491
14492
14493 \family sans
14494 ファイル\SpecialChar menuseparator
14495 用例を開く\SpecialChar menuseparator
14496 モジュール\SpecialChar menuseparator
14497 色付き装飾ボックス
14498 \family default
14499
14500
14501 \begin_inset CommandInset href
14502 LatexCommand href
14503 name "tcolorbox 解説文書"
14504 target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
14505 literal "false"
14506
14507 \end_inset
14508
14509 をご覧ください. 
14510 \end_layout
14511
14512 \begin_layout Subsection
14513 画像ボックス
14514 \end_layout
14515
14516 \begin_layout Standard
14517 これは,
14518 ボックスの中身を伸縮したり回転したりする
14519 \family sans
14520 反転ボックス
14521 \family default
14522
14523 \family sans
14524 寸法変更ボックス
14525 \family default
14526
14527 \family sans
14528 回転ボックス
14529 \family default
14530
14531 \family sans
14532 伸縮ボックス
14533 \family default
14534 の各特別差込枠を提供します.
14535 \end_layout
14536
14537 \begin_layout Standard
14538
14539 \family sans
14540 反転ボックス
14541 \family default
14542 は,
14543 下記のように,
14544 特段の設定なく簡単に文を反転させることができます.
14545 \end_layout
14546
14547 \begin_layout Standard
14548 \begin_inset Flex Reflectbox
14549 status open
14550
14551 \begin_layout Plain Layout
14552 Great Western Railway グレートウェスタン鉄道
14553 \end_layout
14554
14555 \end_inset
14556
14557
14558 \end_layout
14559
14560 \begin_layout Standard
14561 (これらの例を見るためには,
14562 Ctrl-Rを押す必要があります.)
14563 \end_layout
14564
14565 \begin_layout Standard
14566
14567 \family sans
14568 寸法変更ボックス
14569 \family default
14570 を使うと,
14571 文や画像の寸法を指定することができます.使用することのできる単位は,
14572 em・ex・in・pt・pc・cm・mm・dd・cc・nd・nc・bp・spです.下記のように
14573 \family typewriter
14574 高さ
14575 \family default
14576
14577 \family typewriter
14578  !
14579  
14580 \family default
14581 を入力すると,
14582 幅の因数で寸法を指定できます.
14583 \end_layout
14584
14585 \begin_layout Standard
14586 \begin_inset Flex Resizebox
14587 status open
14588
14589 \begin_layout Plain Layout
14590 \begin_inset Argument 1
14591 status open
14592
14593 \begin_layout Plain Layout
14594 128mm
14595 \end_layout
14596
14597 \end_inset
14598
14599
14600 \begin_inset Argument 2
14601 status open
14602
14603 \begin_layout Plain Layout
14604 !
14605 \end_layout
14606
14607 \end_inset
14608
14609 Great Western Railway グレートウェスタン鉄道
14610 \end_layout
14611
14612 \end_inset
14613
14614
14615 \end_layout
14616
14617 \begin_layout Standard
14618
14619 \family sans
14620 回転ボックス
14621 \family default
14622 を使えば,
14623 ボックスの参照点を中心に内容物を回転させることができます.入れることができます.異なる原点の周りに回転させたい場合は,
14624 ボックスの中にカーソルを置いて,
14625
14626 \family sans
14627 挿入\SpecialChar menuseparator
14628 原点
14629 \family default
14630
14631 \begin_inset space \thinspace{}
14632 \end_inset
14633
14634 でを選択してください.
14635 \series bold
14636 origin
14637 \series default
14638
14639 \family sans
14640 c・l・r・b・t
14641 \family default
14642 あるいはこれらの組み合わせで指定できます.また,
14643 回転角度は,
14644 反時計回りの角度で表現されます.たとえば,
14645
14646 \end_layout
14647
14648 \begin_layout Standard
14649 \begin_inset Flex Rotatebox
14650 status open
14651
14652 \begin_layout Plain Layout
14653 \begin_inset Argument 1
14654 status open
14655
14656 \begin_layout Plain Layout
14657 origin=c
14658 \end_layout
14659
14660 \end_inset
14661
14662
14663 \begin_inset Argument 2
14664 status open
14665
14666 \begin_layout Plain Layout
14667 30
14668 \end_layout
14669
14670 \end_inset
14671
14672 Great Western Railway グレートウェスタン鉄道
14673 \end_layout
14674
14675 \end_inset
14676
14677
14678 \end_layout
14679
14680 \begin_layout Standard
14681 また,
14682 下記のように,
14683 ボックスを組み合わせることも可能です.
14684 \end_layout
14685
14686 \begin_layout Standard
14687 \noindent
14688 \align center
14689 \begin_inset Flex Rotatebox
14690 status open
14691
14692 \begin_layout Plain Layout
14693 \begin_inset Argument 1
14694 status open
14695
14696 \begin_layout Plain Layout
14697 origin=c
14698 \end_layout
14699
14700 \end_inset
14701
14702
14703 \begin_inset Argument 2
14704 status open
14705
14706 \begin_layout Plain Layout
14707 -15
14708 \end_layout
14709
14710 \end_inset
14711
14712
14713 \begin_inset Flex Resizebox
14714 status open
14715
14716 \begin_layout Plain Layout
14717 \begin_inset Argument 1
14718 status open
14719
14720 \begin_layout Plain Layout
14721 96mm
14722 \end_layout
14723
14724 \end_inset
14725
14726
14727 \begin_inset Argument 2
14728 status open
14729
14730 \begin_layout Plain Layout
14731 !
14732 \end_layout
14733
14734 \end_inset
14735
14736
14737 \begin_inset Flex Reflectbox
14738 status open
14739
14740 \begin_layout Plain Layout
14741 Great Western Railway グレートウェスタン鉄道
14742 \end_layout
14743
14744 \end_inset
14745
14746
14747 \end_layout
14748
14749 \end_inset
14750
14751
14752 \end_layout
14753
14754 \end_inset
14755
14756
14757 \end_layout
14758
14759 \begin_layout Standard
14760
14761 \family sans
14762 伸縮ボックス
14763 \family default
14764 は内容物を伸縮します.垂直因子を追加するには,
14765
14766 \family sans
14767 挿入\SpecialChar menuseparator
14768 垂直因子
14769 \family default
14770
14771 \begin_inset space \thinspace{}
14772 \end_inset
14773
14774 を選択してください.
14775 \family sans
14776 垂直因子
14777 \family default
14778 を使わない場合には,
14779 水平因子が使われます.水平因子と垂直因子の値が異なる場合には,
14780 下記のように歪みが生まれます.
14781 \end_layout
14782
14783 \begin_layout Standard
14784 \begin_inset Flex Scalebox
14785 status open
14786
14787 \begin_layout Plain Layout
14788 \begin_inset Argument 1
14789 status open
14790
14791 \begin_layout Plain Layout
14792 1.5
14793 \end_layout
14794
14795 \end_inset
14796
14797
14798 \begin_inset Argument 2
14799 status open
14800
14801 \begin_layout Plain Layout
14802 1
14803 \end_layout
14804
14805 \end_inset
14806
14807 Great Western Railway グレートウェスタン鉄道
14808 \end_layout
14809
14810 \end_inset
14811
14812
14813 \end_layout
14814
14815 \begin_layout Standard
14816 負の水平因子は文を水平方向に逆にし,
14817
14818 \end_layout
14819
14820 \begin_layout Standard
14821 \begin_inset Flex Scalebox
14822 status open
14823
14824 \begin_layout Plain Layout
14825 \begin_inset Argument 1
14826 status open
14827
14828 \begin_layout Plain Layout
14829 -1
14830 \end_layout
14831
14832 \end_inset
14833
14834
14835 \begin_inset Argument 2
14836 status open
14837
14838 \begin_layout Plain Layout
14839 1
14840 \end_layout
14841
14842 \end_inset
14843
14844 Great Western Railway グレートウェスタン鉄道
14845 \end_layout
14846
14847 \end_inset
14848
14849
14850 \end_layout
14851
14852 \begin_layout Standard
14853 負の垂直因子は文字を垂直方向にひっくり返します.
14854 \end_layout
14855
14856 \begin_layout Standard
14857 \begin_inset Flex Scalebox
14858 status open
14859
14860 \begin_layout Plain Layout
14861 \begin_inset Argument 1
14862 status open
14863
14864 \begin_layout Plain Layout
14865 1
14866 \end_layout
14867
14868 \end_inset
14869
14870
14871 \begin_inset Argument 2
14872 status open
14873
14874 \begin_layout Plain Layout
14875 -1
14876 \end_layout
14877
14878 \end_inset
14879
14880 Great Western Railway グレートウェスタン鉄道
14881 \end_layout
14882
14883 \end_inset
14884
14885
14886 \end_layout
14887
14888 \begin_layout Subsection
14889 節ボックス
14890 \end_layout
14891
14892 \begin_layout Standard
14893 このモジュールは,
14894 節見出し付きのボックスを定義します.主にSciPoster文書クラス向けです. 
14895 \end_layout
14896
14897 \begin_layout Subsection
14898 可変幅ミニページ
14899 \end_layout
14900
14901 \begin_layout Standard
14902 このモジュールは,
14903 \SpecialChar LaTeX
14904 パッケージの
14905 \family sans
14906 varwidth
14907 \family default
14908 を使用する
14909 \family sans
14910 ミニページ(可変幅)
14911 \family default
14912 差込枠を
14913 \family sans
14914 \series bold
14915
14916 \begin_inset space \thinspace{}
14917 \end_inset
14918
14919
14920 \series default
14921 挿入\SpecialChar menuseparator
14922 特別差込枠
14923 \series bold
14924
14925 \begin_inset space \thinspace{}
14926 \end_inset
14927
14928
14929 \family default
14930 \series default
14931 に追加します.
14932 \family sans
14933 varwidth
14934 \family default
14935 パッケージは,
14936 幅が(指定された上限幅を越えない限り)内容幅と同じになるような,
14937 可変幅のミニページを提供します.この差込枠には2つの非必須引数があり,
14938 カーソルをミニページの内側に置いて,
14939
14940 \family sans
14941 挿入\SpecialChar menuseparator
14942 垂直調整
14943 \series bold
14944
14945 \begin_inset space \thinspace{}
14946 \end_inset
14947
14948
14949 \family default
14950 \series default
14951 (
14952 \family sans
14953 c
14954 \family default
14955 |
14956 \family sans
14957 t
14958 \family default
14959 |
14960 \family sans
14961 b
14962 \family default
14963 )か
14964 \family sans
14965 \series bold
14966
14967 \begin_inset space \thinspace{}
14968 \end_inset
14969
14970
14971 \series default
14972 挿入\SpecialChar menuseparator
14973 最大幅
14974 \series bold
14975
14976 \begin_inset space \thinspace{}
14977 \end_inset
14978
14979
14980 \family default
14981 \series default
14982 (既定値は
14983 \family typewriter
14984
14985 \backslash
14986 linewidth
14987 \family default
14988 )を使用します.
14989 \family sans
14990 ファイル\SpecialChar menuseparator
14991 用例を開く\SpecialChar menuseparator
14992 モジュール\SpecialChar menuseparator
14993 可変幅ミニページ
14994 \family default
14995
14996 \begin_inset space \thinspace{}
14997 \end_inset
14998
14999 をご覧ください.
15000 \end_layout
15001
15002 \begin_layout Section
15003 修正とハック
15004 \end_layout
15005
15006 \begin_layout Subsection
15007 Computer Modernフォントの修復
15008 \end_layout
15009
15010 \begin_layout Standard
15011 このモジュールは
15012 \family sans
15013 fix-cm
15014 \family default
15015 パッケージを使用して,
15016 Computer Modernフォントの外観を改善し,
15017 任意の寸法で使用できるようにするものです.
15018 \begin_inset CommandInset href
15019 LatexCommand href
15020 name "fix-cm 解説文書"
15021 target "http://mirrors.ctan.org/macros/latex/base/fix-cm.pdf"
15022 literal "false"
15023
15024 \end_inset
15025
15026 を参照.
15027 \end_layout
15028
15029 \begin_layout Subsection
15030 \SpecialChar LaTeX
15031 カーネル修正(廃版)
15032 \end_layout
15033
15034 \begin_layout Standard
15035 このモジュールは,
15036 \SpecialChar LaTeX
15037 のいくつかのバグ修正を含む,
15038 \SpecialChar LaTeX
15039 パッケージの
15040 \family sans
15041 fixltx2e
15042 \family default
15043 を読み込みます.このモジュールを使って文書の処理を行うと,
15044
15045 \family sans
15046 fixltx2e
15047 \family default
15048 のバージョンの違いによって,
15049 出力文書の外観が異なるもしれません.
15050 \end_layout
15051
15052 \begin_layout Paragraph
15053 註:
15054
15055 \end_layout
15056
15057 \begin_layout Standard
15058 最近のLaTeXカーネルは
15059 \family sans
15060 fixltx2e
15061 \family default
15062 の機能を取り込んでいるので(2015/01/01現在),
15063 新しいLaTeX頒布では,
15064
15065 \family sans
15066 fixltx2e
15067 \family default
15068 モジュールは遺物となっています. 
15069 \end_layout
15070
15071 \begin_layout Subsection
15072 簡素形差込枠
15073 \end_layout
15074
15075 \begin_layout Standard
15076 このモジュールは,
15077 いくつかの差込枠(索引・派生枝・URL)を簡素形に再定義します.
15078 \end_layout
15079
15080 \begin_layout Subsection
15081 表題とプリアンブルのハック
15082 \end_layout
15083
15084 \begin_layout Standard
15085 このモジュールは,
15086 以下の2つの段落様式を新たに提供します.
15087 \end_layout
15088
15089 \begin_layout Enumerate
15090
15091 \family sans
15092 プリアンブル文
15093 \family default
15094 様式では,
15095 そこに入力されたものは全てプリアンブルにそのまま置かれます.これは,
15096 プリアンブルコードを\SpecialChar LyX
15097 文書本体に置いておきたいときに使うことができます.
15098 \end_layout
15099
15100 \begin_layout Enumerate
15101
15102 \family sans
15103 表題文
15104 \family default
15105 様式では,
15106 その中身が,
15107 \SpecialChar LaTeX
15108 文書本体の,
15109
15110 \family typewriter
15111
15112 \backslash
15113 maketitle
15114 \family default
15115 が現れるよりも前の部分に置かれます.これは,
15116 表題に関連した部分に派生肢や注釈を用いたいときに役立ちます(もしこれらを標準レイアウトにおいてしまうと,
15117 \SpecialChar LyX
15118 がその前に
15119 \family typewriter
15120
15121 \backslash
15122 maketitle
15123 \family default
15124 を出力してしまうので,
15125 早すぎることになってしまいます). 
15126 \end_layout
15127
15128 \begin_layout Section
15129 フロート及びキャプション
15130 \end_layout
15131
15132 \begin_layout Subsection
15133 Algorithm2eフロート
15134 \end_layout
15135
15136 \begin_layout Standard
15137 このモジュールは,
15138 アルゴリズムフロートに,
15139 \SpecialChar LyX
15140 固有のアルゴリズムフロートではなく
15141 \family sans
15142 algorithm2e
15143 \family default
15144 パッケージを使用します.アルゴリズムを入力して字下げするには,
15145 アルゴリズム段落様式を使用してください.
15146 \begin_inset CommandInset href
15147 LatexCommand href
15148 name "algorithm2e 解説文書"
15149 target "http://mirrors.ctan.org/macros/latex/contrib/algorithm2e/doc/algorithm2e.pdf"
15150 literal "false"
15151
15152 \end_inset
15153
15154 を参照.
15155 \end_layout
15156
15157 \begin_layout Subsection
15158 二言語キャプション(多言語キャプション)
15159 \end_layout
15160
15161 \begin_layout Standard
15162 このモジュールは,
15163 二言語キャプションを組むための段落様式
15164 \family sans
15165 キャプション設定
15166 \family default
15167 を提供します.この段落様式の中で
15168 \begin_inset space \thinspace{}
15169 \end_inset
15170
15171
15172 \family sans
15173 挿入\SpecialChar menuseparator
15174 言語
15175 \family default
15176
15177 \begin_inset space \thinspace{}
15178 \end_inset
15179
15180 とすると,
15181 babel言語名を使って望む第二言語を入力することができます.使用法について,
15182 より詳しくは,
15183
15184 \family sans
15185 ファイル\SpecialChar menuseparator
15186 用例を開く\SpecialChar menuseparator
15187 モジュール\SpecialChar menuseparator
15188 多言語キャプション
15189 \family default
15190
15191 \begin_inset space \thinspace{}
15192 \end_inset
15193
15194 および
15195 \begin_inset space \thinspace{}
15196 \end_inset
15197
15198
15199 \family sans
15200 ヘルプ\SpecialChar menuseparator
15201 用途別説明書\SpecialChar menuseparator
15202 多言語キャプション
15203 \family default
15204
15205 \begin_inset space \thinspace{}
15206 \end_inset
15207
15208 を参照. 
15209 \end_layout
15210
15211 \begin_layout Subsection
15212 図番号を節毎に振る
15213 \end_layout
15214
15215 \begin_layout Standard
15216 このモジュールは,
15217 図番号を節の開始毎にリセットし,
15218 「図2.1」のように節番号を図番号の前に付します(既定では,
15219 bookおよびreport文書クラスでは章ごとに番号を振り,
15220 article文書クラスでは一続きとなります). 
15221 \end_layout
15222
15223 \begin_layout Subsection
15224 表番号を節毎に振る
15225 \end_layout
15226
15227 \begin_layout Standard
15228 このモジュールは,
15229 表番号を節の開始毎にリセットし,
15230 「表2.1」のように節番号を表番号の前に付します(既定では,
15231 bookおよびreport文書クラスでは章ごとに番号を振り,
15232 article文書クラスでは一続きとなります).
15233 \end_layout
15234
15235 \begin_layout Section
15236 脚註及び後註
15237 \end_layout
15238
15239 \begin_layout Subsection
15240 後註(基本)
15241 \end_layout
15242
15243 \begin_layout Standard
15244 このモジュールは脚註差込枠に加え,
15245 後註差込枠を追加します.これは
15246 \family sans
15247 endnotes
15248 \family default
15249 パッケージを使用します.このパッケージにはいくつか制約がありますが,
15250 古い\SpecialChar LaTeX
15251 頒布版でも動作します.後註挿入箇所に
15252 \begin_inset space \thinspace{}
15253 \end_inset
15254
15255
15256 \family sans
15257 挿入\SpecialChar menuseparator
15258 特別差込枠\SpecialChar menuseparator
15259 後註
15260 \family default
15261
15262 \begin_inset space \thinspace{}
15263 \end_inset
15264
15265 を実行し,
15266 後註本体を表示させたいところに
15267 \begin_inset space \thinspace{}
15268 \end_inset
15269
15270
15271 \family sans
15272 挿入\SpecialChar menuseparator
15273 一覧/目次/参照\SpecialChar menuseparator
15274 後註
15275 \family default
15276
15277 \begin_inset space \thinspace{}
15278 \end_inset
15279
15280 として後註一覧を挿入します.
15281 \family sans
15282 ヘルプ\SpecialChar menuseparator
15283 埋込オブジェクト篇
15284 \family default
15285
15286 \begin_inset space \thinspace{}
15287 \end_inset
15288
15289 の第4.2節「脚註」を参照. 
15290 \end_layout
15291
15292 \begin_layout Subsection
15293 後註(拡張)
15294 \end_layout
15295
15296 \begin_layout Standard
15297 このモジュールは脚註差込枠に加え,
15298 後註差込枠を追加します.これは
15299 \family sans
15300 enotez
15301 \family default
15302 パッケージを使用します.このパッケージは
15303 \family sans
15304 endnotes
15305 \family default
15306 パッケージよりも強力かつ柔軟ですが,
15307 かなり新しい\SpecialChar LaTeX
15308 頒布版(\SpecialChar LaTeX
15309 3)を必要とします.後註挿入箇所に
15310 \begin_inset space \thinspace{}
15311 \end_inset
15312
15313
15314 \family sans
15315 挿入\SpecialChar menuseparator
15316 特別差込枠\SpecialChar menuseparator
15317 後註
15318 \family default
15319
15320 \begin_inset space \thinspace{}
15321 \end_inset
15322
15323 を実行し,
15324 後註本体を表示させたいところに
15325 \begin_inset space \thinspace{}
15326 \end_inset
15327
15328
15329 \family sans
15330 挿入\SpecialChar menuseparator
15331 一覧/目次/参照\SpecialChar menuseparator
15332 後註
15333 \family default
15334
15335 \begin_inset space \thinspace{}
15336 \end_inset
15337
15338 として後註一覧を挿入します.
15339 \family sans
15340 ヘルプ\SpecialChar menuseparator
15341 埋込オブジェクト篇
15342 \family default
15343
15344 \begin_inset space \thinspace{}
15345 \end_inset
15346
15347 の第4.2節「脚註」を参照. 
15348 \end_layout
15349
15350 \begin_layout Subsection
15351 脚註を後註に(基本)
15352 \end_layout
15353
15354 \begin_layout Standard
15355 このモジュールは,
15356 すべての脚註を後註にします.これは
15357 \family sans
15358 endnotes
15359 \family default
15360 パッケージを使用します.このパッケージにはいくつか制約がありますが,
15361 古い\SpecialChar LaTeX
15362 頒布版でも動作します.後註本体を表示させたいところに
15363 \begin_inset space \thinspace{}
15364 \end_inset
15365
15366
15367 \family sans
15368 挿入\SpecialChar menuseparator
15369 一覧/目次/参照\SpecialChar menuseparator
15370 後註
15371 \family default
15372
15373 \begin_inset space \thinspace{}
15374 \end_inset
15375
15376 として後註一覧を挿入します.
15377 \family sans
15378 ヘルプ\SpecialChar menuseparator
15379 埋込オブジェクト篇
15380 \family default
15381
15382 \begin_inset space \thinspace{}
15383 \end_inset
15384
15385 の第4.2節「脚註」を参照. 
15386 \end_layout
15387
15388 \begin_layout Subsection
15389 脚註を後註に(拡張)
15390 \end_layout
15391
15392 \begin_layout Standard
15393 このモジュールは,
15394 すべての脚註を後註にします.これは
15395 \family sans
15396 enotez
15397 \family default
15398 パッケージを使用します.このパッケージは
15399 \family sans
15400 endnotes
15401 \family default
15402 パッケージよりも強力かつ柔軟ですが,
15403 かなり新しい\SpecialChar LaTeX
15404 頒布版(\SpecialChar LaTeX
15405 3)を必要とします.後註本体を表示させたいところに
15406 \begin_inset space \thinspace{}
15407 \end_inset
15408
15409
15410 \family sans
15411 挿入\SpecialChar menuseparator
15412 一覧/目次/参照\SpecialChar menuseparator
15413 後註
15414 \family default
15415
15416 \begin_inset space \thinspace{}
15417 \end_inset
15418
15419 として後註一覧を挿入します.
15420 \family sans
15421 ヘルプ\SpecialChar menuseparator
15422 埋込オブジェクト篇
15423 \family default
15424
15425 \begin_inset space \thinspace{}
15426 \end_inset
15427
15428 の第4.2節「脚註」を参照.
15429 \end_layout
15430
15431 \begin_layout Section
15432 レジャー・スポーツ・音楽
15433 \end_layout
15434
15435 \begin_layout Subsection
15436 チェス盤
15437 \end_layout
15438
15439 \begin_layout Standard
15440 このモジュールは,
15441 チェスゲームを印刷するために,
15442
15443 \family sans
15444 chessboard
15445 \family default
15446 パッケージをサポートします.
15447 \family sans
15448 ファイル\SpecialChar menuseparator
15449 用例を開く\SpecialChar menuseparator
15450 論文\SpecialChar menuseparator
15451 チェス
15452 \family default
15453
15454 \begin_inset space \thinspace{}
15455 \end_inset
15456
15457 を開くと
15458 \family sans
15459 ゲーム1
15460 \family default
15461
15462 \family sans
15463 ゲーム2
15464 \family default
15465 がありますので,
15466 それらと
15467 \begin_inset CommandInset href
15468 LatexCommand href
15469 name "chessboard 解説文書"
15470 target "http://mirrors.ctan.org/macros/latex/contrib/chessboard/chessboard.pdf"
15471 literal "false"
15472
15473 \end_inset
15474
15475 を参照してください.
15476 \end_layout
15477
15478 \begin_layout Subsection
15479 Lilypond記譜
15480 \end_layout
15481
15482 \begin_layout Standard
15483 このモジュールは,
15484 LilyPond楽譜エディタ用のコードを
15485 \begin_inset space \thinspace{}
15486 \end_inset
15487
15488
15489 \family sans
15490 挿入\SpecialChar menuseparator
15491 特別差込枠\SpecialChar menuseparator
15492 LilyPond
15493 \family default
15494
15495 \begin_inset space \thinspace{}
15496 \end_inset
15497
15498 にて入力する差込枠を提供します.これは出力時に処理されます.
15499 \family sans
15500 ヘルプ\SpecialChar menuseparator
15501 用途別説明書\SpecialChar menuseparator
15502 LilyPond
15503 \family default
15504
15505 \begin_inset space \thinspace{}
15506 \end_inset
15507
15508 および
15509 \begin_inset space \thinspace{}
15510 \end_inset
15511
15512
15513 \family sans
15514 ファイル\SpecialChar menuseparator
15515 用例を開く\SpecialChar menuseparator
15516 モジュール\SpecialChar menuseparator
15517 LilyPond
15518 \begin_inset space \space{}
15519 \end_inset
15520
15521 Book
15522 \family default
15523
15524 \begin_inset space \thinspace{}
15525 \end_inset
15526
15527 を参照.これは,
15528
15529 \family sans
15530 Rnw
15531 \begin_inset space \thinspace{}
15532 \end_inset
15533
15534 (knitr)
15535 \family default
15536 または
15537 \family sans
15538 Sweave
15539 \family default
15540 が読み込まれているときには,
15541 使用できません.
15542 \end_layout
15543
15544 \begin_layout Section
15545 高度な箇条書き
15546 \end_layout
15547
15548 \begin_layout Subsection
15549 調整可能な箇条書き
15550 \begin_inset CommandInset label
15551 LatexCommand label
15552 name "subsec:調整可能な箇条書き"
15553
15554 \end_inset
15555
15556
15557 \end_layout
15558
15559 \begin_layout Standard
15560 このモジュールは,
15561
15562 \series bold
15563 enumitem
15564 \series default
15565 パッケージを読み込んで,
15566 各種箇条書きの調整を可能にします.
15567 \end_layout
15568
15569 \begin_layout Subsubsection
15570 調整可能な連番箇条書き
15571 \end_layout
15572
15573 \begin_layout Standard
15574 \noindent
15575 連番箇条書きの番号の振り方の既定値は,
15576 箇条書きの各階層における最初の項目に,
15577 非必須引数を加えることで(
15578 \family sans
15579 挿入\SpecialChar menuseparator
15580 箇条書きオプション
15581 \family default
15582 )変更することができます.そこに,
15583 \SpecialChar TeX
15584 コード(ショートカット:
15585
15586 \begin_inset Info
15587 type  "shortcut"
15588 arg   "ert-insert"
15589 \end_inset
15590
15591 )で
15592 \end_layout
15593
15594 \begin_layout Standard
15595
15596 \family sans
15597 label=
15598 \backslash
15599 roman{enumi}
15600 \end_layout
15601
15602 \begin_layout Standard
15603 \noindent
15604 というコマンドを書き加えてください.ここで,
15605
15606 \family sans
15607 enumi
15608 \family default
15609 は,
15610 第1階層の連番のカウンタです.箇条書きの下位階層の連番を変更するには,
15611 コマンド中の「i」を,
15612 階層番号の小文字ローマ数字で置き換えてください(
15613 \family sans
15614 enumi
15615 \family default
15616 ,
15617  
15618 \family sans
15619 enumii
15620 \family default
15621 ,
15622  
15623 \family sans
15624 enumiii
15625 \family default
15626 ,
15627  
15628 \family sans
15629 enumiv
15630 \family default
15631 ).
15632 \end_layout
15633
15634 \begin_layout Standard
15635 \noindent
15636 コマンド
15637 \family sans
15638
15639 \backslash
15640 roman
15641 \family default
15642 は,
15643 このカウントを,
15644 小文字のローマ数字で出力します.大文字のローマ数字を使うには,
15645 上記コマンド中の
15646 \family sans
15647
15648 \backslash
15649 roman
15650 \family default
15651
15652 \family sans
15653
15654 \backslash
15655 Roman
15656 \family default
15657 に置き換えてください.アラビア数字にするには,
15658
15659 \family sans
15660
15661 \backslash
15662 arabic
15663 \family default
15664 を使用します.項目に,
15665 大文字もしくは小文字のラテン文字で「連番」を付けたい場合には,
15666 それぞれ
15667 \family sans
15668
15669 \backslash
15670 Alph
15671 \family default
15672 もしくは
15673 \family sans
15674
15675 \backslash
15676 alph
15677 \family default
15678 を使用してください.
15679 \end_layout
15680
15681 \begin_layout Standard
15682 \noindent
15683 \begin_inset Note Greyedout
15684 status collapsed
15685
15686 \begin_layout Plain Layout
15687
15688 \series bold
15689 [註]
15690 \series default
15691 連番は1文字に限られているので,
15692 ラテン文字では26項目までしか連番を振ることはできません.
15693 \end_layout
15694
15695 \end_inset
15696
15697
15698 \end_layout
15699
15700 \begin_layout Standard
15701 下記は,
15702 調整した連番箇条書きの例です.
15703 \end_layout
15704
15705 \begin_layout Enumerate
15706 \begin_inset Argument 1
15707 status collapsed
15708
15709 \begin_layout Plain Layout
15710 \begin_inset ERT
15711 status open
15712
15713 \begin_layout Plain Layout
15714
15715 label=
15716 \backslash
15717 #
15718 \backslash
15719 Alph{enumi}
15720 \backslash
15721 #
15722 \end_layout
15723
15724 \end_inset
15725
15726
15727 \end_layout
15728
15729 \end_inset
15730
15731 第1階層
15732 \end_layout
15733
15734 \begin_deeper
15735 \begin_layout Enumerate
15736 \begin_inset Argument 1
15737 status collapsed
15738
15739 \begin_layout Plain Layout
15740 \begin_inset ERT
15741 status open
15742
15743 \begin_layout Plain Layout
15744
15745 label=
15746 \backslash
15747 Alph{enumi}.
15748 \backslash
15749 arabic{enumii}
15750 \end_layout
15751
15752 \end_inset
15753
15754
15755 \end_layout
15756
15757 \end_inset
15758
15759 第2階層
15760 \end_layout
15761
15762 \begin_layout Enumerate
15763 第2階層
15764 \end_layout
15765
15766 \begin_deeper
15767 \begin_layout Enumerate
15768 \begin_inset Argument 1
15769 status collapsed
15770
15771 \begin_layout Plain Layout
15772 \begin_inset ERT
15773 status open
15774
15775 \begin_layout Plain Layout
15776
15777 label=
15778 \backslash
15779 bfseries{
15780 \backslash
15781 arabic{enumiii}}
15782 \end_layout
15783
15784 \end_inset
15785
15786
15787 \end_layout
15788
15789 \end_inset
15790
15791 第3階層
15792 \end_layout
15793
15794 \begin_deeper
15795 \begin_layout Enumerate
15796 \begin_inset Argument 1
15797 status collapsed
15798
15799 \begin_layout Plain Layout
15800 \begin_inset ERT
15801 status open
15802
15803 \begin_layout Plain Layout
15804
15805 label=
15806 \backslash
15807 emph{
15808 \backslash
15809 roman{enumiv})}
15810 \end_layout
15811
15812 \end_inset
15813
15814
15815 \end_layout
15816
15817 \end_inset
15818
15819 第4階層
15820 \end_layout
15821
15822 \end_deeper
15823 \end_deeper
15824 \end_deeper
15825 \begin_layout Standard
15826 上記リストでは,
15827 以下のようなコマンドが使用されています.
15828 \end_layout
15829
15830 \begin_layout Standard
15831 \noindent
15832
15833 \family sans
15834 label=
15835 \backslash
15836 #
15837 \backslash
15838 Alph{enumi}
15839 \backslash
15840 #
15841 \begin_inset Newline newline
15842 \end_inset
15843
15844 label=
15845 \backslash
15846 Alph{enumi}.
15847 \backslash
15848 arabic{enumii}
15849 \begin_inset Newline newline
15850 \end_inset
15851
15852 label=
15853 \backslash
15854 bfseries{
15855 \backslash
15856 arabic{enumiii}}
15857 \begin_inset Newline newline
15858 \end_inset
15859
15860 label=
15861 \backslash
15862 emph{
15863 \backslash
15864 roman{enumiv})}
15865 \end_layout
15866
15867 \begin_layout Standard
15868 ここで,
15869 コマンド
15870 \family sans
15871
15872 \backslash
15873 emph{}
15874 \family default
15875 は,
15876 ラベルを強調文字にし,
15877
15878 \family sans
15879
15880 \backslash
15881 bfseries{}
15882 \family default
15883 はボールド体にします.
15884 \end_layout
15885
15886 \begin_layout Standard
15887 \begin_inset Note Greyedout
15888 status open
15889
15890 \begin_layout Plain Layout
15891
15892 \family typewriter
15893 \begin_inset ERT
15894 status open
15895
15896 \begin_layout Plain Layout
15897
15898
15899 \backslash
15900 renewcommand{
15901 \backslash
15902 labelenumi}{
15903 \backslash
15904 thesection.
15905 \backslash
15906 arabic{enumi}}
15907 \end_layout
15908
15909 \end_inset
15910
15911
15912 \end_layout
15913
15914 \end_inset
15915
15916
15917 \end_layout
15918
15919 \begin_layout Subsubsection
15920 Reportにおける連番段落
15921 \end_layout
15922
15923 \begin_layout Enumerate
15924 公的なレポートには,
15925 連番を振った段落がよく用いられます.この目的を達するには,
15926
15927 \begin_inset CommandInset ref
15928 LatexCommand ref
15929 reference "sec:使用法"
15930 plural "false"
15931 caps "false"
15932 noprefix "false"
15933 nolink "false"
15934
15935 \end_inset
15936
15937 節で要約したような様々な方法があります.各コマンドのitemをenumに変えてください.
15938 \end_layout
15939
15940 \begin_layout Enumerate
15941 これらの連番を振った段落は,
15942 節の開始前に,
15943 \SpecialChar TeX
15944 コードで
15945 \end_layout
15946
15947 \begin_deeper
15948 \begin_layout Standard
15949
15950 \family sans
15951
15952 \backslash
15953 renewcommand{
15954 \backslash
15955 labelenumi}{
15956 \backslash
15957 thesection.
15958 \backslash
15959 arabic{enumi}}
15960 \end_layout
15961
15962 \begin_layout Standard
15963 と入力することで生成されます.
15964 \family sans
15965
15966 \backslash
15967 thesection
15968 \family default
15969 は,
15970 節の\SpecialChar LaTeX
15971 カウンタを使用し.数字の最初の部分を生成するのに使われています.
15972 \end_layout
15973
15974 \end_deeper
15975 \begin_layout Enumerate
15976 このように連番を振った段落では,
15977 小節が使用されることはあまりないので,
15978 この例では小節見出しは無視しました.
15979 \end_layout
15980
15981 \begin_layout Subsubsection
15982 連番の復帰
15983 \end_layout
15984
15985 \begin_layout Standard
15986 以下のように,
15987 あいだに段落をはさんで,
15988 連番を復帰させることができます.
15989 \end_layout
15990
15991 \begin_layout Enumerate
15992 \begin_inset Argument 1
15993 status open
15994
15995 \begin_layout Plain Layout
15996 \begin_inset ERT
15997 status collapsed
15998
15999 \begin_layout Plain Layout
16000
16001 label=
16002 \backslash
16003 arabic{enumi}.
16004 \end_layout
16005
16006 \end_inset
16007
16008
16009 \end_layout
16010
16011 \end_inset
16012
16013 1つめ
16014 \begin_inset Note Note
16015 status open
16016
16017 \begin_layout Plain Layout
16018 既定の連番に戻す
16019 \end_layout
16020
16021 \end_inset
16022
16023
16024 \end_layout
16025
16026 \begin_layout Enumerate
16027 2つめ
16028 \end_layout
16029
16030 \begin_layout Standard
16031 通常のテキスト
16032 \end_layout
16033
16034 \begin_layout Enumerate-Resume
16035 復帰した連番
16036 \end_layout
16037
16038 \begin_layout Standard
16039 連番を復帰させるには,
16040 スタイル
16041 \family sans
16042 箇条書き(連番)-復帰
16043 \family default
16044 を使用してください.
16045 \end_layout
16046
16047 \begin_layout Standard
16048 \begin_inset Note Greyedout
16049 status open
16050
16051 \begin_layout Plain Layout
16052 [註]前に復帰すべき連番がない場合には,
16053 \SpecialChar LaTeX
16054 エラーが発生します.
16055 \end_layout
16056
16057 \end_inset
16058
16059
16060 \end_layout
16061
16062 \begin_layout Standard
16063 箇条書きの連番を復帰させる際,
16064 次の番号ではない番号に復帰させたかったり,
16065 新しい連番を,
16066 指定した番号から始めたいことがあるかもしれません.これも,
16067 通常の連番箇条書きの最初の項目に,
16068 非必須引数を加えることで実現できます.非必須引数として,
16069
16070 \end_layout
16071
16072 \begin_layout Standard
16073
16074 \family sans
16075 start=番号
16076 \end_layout
16077
16078 \begin_layout Standard
16079 というコマンドを入力してください.ここで,
16080 「番号」は箇条書きを開始したい番号です.例:
16081
16082 \end_layout
16083
16084 \begin_layout Enumerate
16085 第1項目
16086 \end_layout
16087
16088 \begin_layout Enumerate
16089 第2項目
16090 \end_layout
16091
16092 \begin_layout Standard
16093 指定した番号で始める連番:
16094
16095 \end_layout
16096
16097 \begin_layout Enumerate
16098 \begin_inset Argument 1
16099 status open
16100
16101 \begin_layout Plain Layout
16102 \begin_inset ERT
16103 status collapsed
16104
16105 \begin_layout Plain Layout
16106
16107 start=4
16108 \end_layout
16109
16110 \end_inset
16111
16112
16113 \end_layout
16114
16115 \end_inset
16116
16117 この連番は4から始まります
16118 \end_layout
16119
16120 \begin_layout Subsubsection
16121 箇条書きの余白
16122 \begin_inset Index idx
16123 range none
16124 pageformat default
16125 status collapsed
16126
16127 \begin_layout Plain Layout
16128
16129 \family roman
16130 \series medium
16131 \shape up
16132 \size normal
16133 \emph off
16134 \nospellcheck off
16135 \bar no
16136 \strikeout off
16137 \xout off
16138 \uuline off
16139 \uwave off
16140 \noun off
16141 \color none
16142 \begin_inset IndexMacro sortkey
16143 status collapsed
16144
16145 \begin_layout Plain Layout
16146 かしようかき
16147 \end_layout
16148
16149 \end_inset
16150
16151 箇条書き
16152 \begin_inset IndexMacro subentry
16153 status open
16154
16155 \begin_layout Plain Layout
16156
16157 \family roman
16158 \series medium
16159 \shape up
16160 \size normal
16161 \emph off
16162 \nospellcheck off
16163 \bar no
16164 \strikeout off
16165 \xout off
16166 \uuline off
16167 \uwave off
16168 \noun off
16169 \color none
16170 \begin_inset IndexMacro sortkey
16171 status collapsed
16172
16173 \begin_layout Plain Layout
16174 よはく
16175 \end_layout
16176
16177 \end_inset
16178
16179 余白
16180 \end_layout
16181
16182 \end_inset
16183
16184
16185 \end_layout
16186
16187 \end_inset
16188
16189
16190 \end_layout
16191
16192 \begin_layout Standard
16193 ときには,
16194 箇条書きの項目間の垂直方向の余白を,
16195 調整したい場合があります.例えば,
16196 以下の例の既定の余白が,
16197 大きすぎると感じたとしましょう.
16198 \end_layout
16199
16200 \begin_layout Itemize
16201 標準余白の
16202 \end_layout
16203
16204 \begin_layout Itemize
16205 記号付き箇条書き
16206 \end_layout
16207
16208 \begin_layout Standard
16209 上記箇条書きの最初の項目に,
16210 非必須引数を加えることで余白を詰めることができます.下記の例のように,
16211 箇条書きに追加される余白をなくすには,
16212 非必須引数にコマンド
16213 \family sans
16214 nolistsep
16215 \family default
16216 を加えます.
16217 \end_layout
16218
16219 \begin_layout Itemize
16220 \begin_inset Argument 1
16221 status open
16222
16223 \begin_layout Plain Layout
16224 \begin_inset ERT
16225 status collapsed
16226
16227 \begin_layout Plain Layout
16228
16229 nolistsep
16230 \end_layout
16231
16232 \end_inset
16233
16234
16235 \end_layout
16236
16237 \end_inset
16238
16239 箇条書きに追加される
16240 \end_layout
16241
16242 \begin_layout Itemize
16243 垂直余白をなくした
16244 \end_layout
16245
16246 \begin_layout Itemize
16247 記号付き箇条書き
16248 \end_layout
16249
16250 \begin_layout Standard
16251 余白を広げるには,
16252 \SpecialChar LaTeX
16253 パッケージの
16254 \family sans
16255 enumitem
16256 \begin_inset Index idx
16257 range none
16258 pageformat default
16259 status collapsed
16260
16261 \begin_layout Plain Layout
16262
16263 \family roman
16264 \series medium
16265 \shape up
16266 \size normal
16267 \emph off
16268 \nospellcheck off
16269 \bar no
16270 \strikeout off
16271 \xout off
16272 \uuline off
16273 \uwave off
16274 \noun off
16275 \color none
16276 \begin_inset IndexMacro sortkey
16277 status collapsed
16278
16279 \begin_layout Plain Layout
16280 LaTeXはつけし
16281 \end_layout
16282
16283 \end_inset
16284
16285 LaTeXパッケージ
16286 \begin_inset IndexMacro subentry
16287 status open
16288
16289 \begin_layout Plain Layout
16290
16291 \family roman
16292 \series medium
16293 \shape up
16294 \size normal
16295 \emph off
16296 \nospellcheck off
16297 \bar no
16298 \strikeout off
16299 \xout off
16300 \uuline off
16301 \uwave off
16302 \noun off
16303 \color none
16304 enumitem
16305 \end_layout
16306
16307 \end_inset
16308
16309
16310 \end_layout
16311
16312 \end_inset
16313
16314
16315 \family default
16316 で提供されている,
16317 いくつかのコマンドを使用することができます.詳しくは,
16318 取扱説明書
16319 \begin_inset CommandInset href
16320 LatexCommand href
16321 name "enumitem 解説文書"
16322 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
16323 literal "false"
16324
16325 \end_inset
16326
16327 をご覧ください.
16328 \end_layout
16329
16330 \begin_layout Standard
16331 水平方向の余白や行頭下げを変更するためにも,
16332 多くのコマンドが使えます.下記の例は,
16333 行頭下げを,
16334 文書中の段落の行頭下げと同じにし,
16335 ラベル分離幅を2
16336 \begin_inset space \thinspace{}
16337 \end_inset
16338
16339 cmにして,
16340 番号がページ余白に置かれるようにしたものです.
16341 \end_layout
16342
16343 \begin_layout Enumerate
16344 \begin_inset Argument 1
16345 status open
16346
16347 \begin_layout Plain Layout
16348 \begin_inset ERT
16349 status collapsed
16350
16351 \begin_layout Plain Layout
16352
16353 labelindent=
16354 \backslash
16355 parindent,
16356  labelsep=2cm
16357 \end_layout
16358
16359 \end_inset
16360
16361
16362 \end_layout
16363
16364 \end_inset
16365
16366 負の行頭下げを持つ
16367 \end_layout
16368
16369 \begin_layout Enumerate
16370 連番箇条書き
16371 \end_layout
16372
16373 \begin_layout Subsubsection
16374 さらなる調整
16375 \begin_inset Index idx
16376 range none
16377 pageformat default
16378 status collapsed
16379
16380 \begin_layout Plain Layout
16381
16382 \family roman
16383 \series medium
16384 \shape up
16385 \size normal
16386 \emph off
16387 \nospellcheck off
16388 \bar no
16389 \strikeout off
16390 \xout off
16391 \uuline off
16392 \uwave off
16393 \noun off
16394 \color none
16395 \begin_inset IndexMacro sortkey
16396 status collapsed
16397
16398 \begin_layout Plain Layout
16399 かしようかき
16400 \end_layout
16401
16402 \end_inset
16403
16404 箇条書き
16405 \begin_inset IndexMacro subentry
16406 status open
16407
16408 \begin_layout Plain Layout
16409
16410 \family roman
16411 \series medium
16412 \shape up
16413 \size normal
16414 \emph off
16415 \nospellcheck off
16416 \bar no
16417 \strikeout off
16418 \xout off
16419 \uuline off
16420 \uwave off
16421 \noun off
16422 \color none
16423 \begin_inset IndexMacro sortkey
16424 status collapsed
16425
16426 \begin_layout Plain Layout
16427 ちようせい
16428 \end_layout
16429
16430 \end_inset
16431
16432 調整
16433 \end_layout
16434
16435 \end_inset
16436
16437
16438 \end_layout
16439
16440 \end_inset
16441
16442
16443 \end_layout
16444
16445 \begin_layout Standard
16446 記述箇条書きのスタイルを変更することも可能です.コマンド
16447 \end_layout
16448
16449 \begin_layout Standard
16450
16451 \family sans
16452 font=definition
16453 \end_layout
16454
16455 \begin_layout Standard
16456 は,
16457 記述ラベルのフォントを変更し,
16458 コマンド
16459 \end_layout
16460
16461 \begin_layout Standard
16462
16463 \family sans
16464 style=definition
16465 \end_layout
16466
16467 \begin_layout Standard
16468 は,
16469 箇条書きのスタイルを設定します.
16470 \end_layout
16471
16472 \begin_layout Standard
16473 下記は,
16474 コマンド
16475 \end_layout
16476
16477 \begin_layout Standard
16478
16479 \family sans
16480 font=
16481 \backslash
16482 itshape,
16483  style=nextline
16484 \end_layout
16485
16486 \begin_layout Standard
16487 を使用した例です.
16488 \end_layout
16489
16490 \begin_layout Description
16491 電離放射線:
16492  
16493 \begin_inset Argument 1
16494 status open
16495
16496 \begin_layout Plain Layout
16497 \begin_inset ERT
16498 status collapsed
16499
16500 \begin_layout Plain Layout
16501
16502 labelindent=0pt,
16503  labelsep=1cm,
16504  font=
16505 \backslash
16506 itshape,
16507  style=nextline
16508 \end_layout
16509
16510 \end_inset
16511
16512
16513 \end_layout
16514
16515 \end_inset
16516
16517 電離放射線は,
16518 電子を原子や分子から分離させるに十分なエネルギーを持つ,
16519 素粒子や電磁波から成ります.
16520 \end_layout
16521
16522 \begin_layout Description
16523 参照カウント:
16524  コンピュータ科学において,
16525 参照カウントは,
16526 オブジェクト・メモリブロック・ディスク容量・その他のリソースへの,
16527 参照やポインタやハンドルの数を保管しておくための技術です.
16528 \end_layout
16529
16530 \begin_layout Standard
16531 \SpecialChar LaTeX
16532 パッケージの
16533 \family sans
16534 enumitem
16535 \begin_inset Index idx
16536 range none
16537 pageformat default
16538 status collapsed
16539
16540 \begin_layout Plain Layout
16541
16542 \family roman
16543 \series medium
16544 \shape up
16545 \size normal
16546 \emph off
16547 \nospellcheck off
16548 \bar no
16549 \strikeout off
16550 \xout off
16551 \uuline off
16552 \uwave off
16553 \noun off
16554 \color none
16555 \begin_inset IndexMacro sortkey
16556 status collapsed
16557
16558 \begin_layout Plain Layout
16559 LaTeXはつけし
16560 \end_layout
16561
16562 \end_inset
16563
16564 LaTeXパッケージ
16565 \begin_inset IndexMacro subentry
16566 status open
16567
16568 \begin_layout Plain Layout
16569
16570 \family roman
16571 \series medium
16572 \shape up
16573 \size normal
16574 \emph off
16575 \nospellcheck off
16576 \bar no
16577 \strikeout off
16578 \xout off
16579 \uuline off
16580 \uwave off
16581 \noun off
16582 \color none
16583 enumitem
16584 \end_layout
16585
16586 \end_inset
16587
16588
16589 \end_layout
16590
16591 \end_inset
16592
16593
16594 \family default
16595 で提供されるコマンドや機能は,
16596 他にもたくさんあります.詳細は,
16597 取扱説明書
16598 \begin_inset CommandInset href
16599 LatexCommand href
16600 name "enumitem documentation"
16601 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
16602 literal "false"
16603
16604 \end_inset
16605
16606 をご覧ください.
16607 \end_layout
16608
16609 \begin_layout Subsection
16610 段落箇条書き
16611 \end_layout
16612
16613 \begin_layout Standard
16614 このモジュールは,
16615
16616 \family sans
16617 paralist
16618 \family default
16619 パッケージを使用し,
16620 9つの新しい箇条書き環境を提供します.記号・連番箇条書きを,
16621 段落内に組版したり,
16622 独立段落や簡素形として組版したりすることができます.大半の環境には,
16623 ラベルを整形するためのオプションの引数があります.さらに,
16624 LaTeX環境の記号・連番箇条書きも,
16625 同様のオプション引数を使えるように拡張します.詳細については,
16626
16627 \family sans
16628 ファイル\SpecialChar menuseparator
16629 用例を開く\SpecialChar menuseparator
16630 モジュール\SpecialChar menuseparator
16631 段落箇条書き(paralist)
16632 \family default
16633
16634 \begin_inset space \thinspace{}
16635 \end_inset
16636
16637 および
16638 \begin_inset space \thinspace{}
16639 \end_inset
16640
16641
16642 \family sans
16643 ヘルプ\SpecialChar menuseparator
16644 用途別説明書\SpecialChar menuseparator
16645
16646 \series bold
16647 Paralist
16648 \family default
16649 \series default
16650
16651 さらに
16652 \begin_inset CommandInset href
16653 LatexCommand href
16654 name "paralist 解説文書"
16655 target "http://mirrors.ctan.org/macros/latex/contrib/paralist/paralist.pdf"
16656 literal "false"
16657
16658 \end_inset
16659
16660 を参照してください. 
16661 \end_layout
16662
16663 \begin_layout Section
16664 文芸的プログラミング
16665 \end_layout
16666
16667 \begin_layout Subsection
16668 Noweb
16669 \end_layout
16670
16671 \begin_layout Standard
16672 このモジュールは,
16673 Nowebを文芸的プログラミングツールとして使用することを可能にします.Nowebのファイルと解説文書は,
16674
16675 \begin_inset CommandInset href
16676 LatexCommand href
16677 name "CTAN"
16678 target "https://www.ctan.org/pkg/noweb"
16679 literal "false"
16680
16681 \end_inset
16682
16683 で入手可能です.文芸的プログラミングについては,
16684
16685 \begin_inset CommandInset ref
16686 LatexCommand ref
16687 reference "sec:文芸プログラミング"
16688 plural "false"
16689 caps "false"
16690 noprefix "false"
16691 nolink "false"
16692
16693 \end_inset
16694
16695 節に解説があり,
16696
16697 \family sans
16698 ファイル\SpecialChar menuseparator
16699 用例を開く\SpecialChar menuseparator
16700 モジュール\SpecialChar menuseparator
16701 Noweb
16702 \family default
16703
16704
16705 \family sans
16706 ファイル\SpecialChar menuseparator
16707 用例を開く\SpecialChar menuseparator
16708 モジュール\SpecialChar menuseparator
16709 Noweb
16710 \family default
16711
16712
16713 \family sans
16714 ファイル\SpecialChar menuseparator
16715 用例を開く\SpecialChar menuseparator
16716 モジュール\SpecialChar menuseparator
16717 Noweb
16718 \begin_inset space \space{}
16719 \end_inset
16720
16721 Listerrors
16722 \family default
16723
16724
16725 \family sans
16726 ファイル\SpecialChar menuseparator
16727 用例を開く\SpecialChar menuseparator
16728 モジュール\SpecialChar menuseparator
16729 Noweb2LyX
16730 \family default
16731
16732 \begin_inset space \thinspace{}
16733 \end_inset
16734
16735 の3つの用例ファイルがあります.
16736 \end_layout
16737
16738 \begin_layout Subsection
16739 Rnw (knitr)
16740 \end_layout
16741
16742 \begin_layout Standard
16743 このモジュールは,
16744
16745 \family typewriter
16746 knitr
16747 \family default
16748
16749 \family typewriter
16750 includernw
16751 \family default
16752 パッケージを使用します.このモジュールを機能させるには,
16753 動的レポートを生成するRの
16754 \begin_inset Flex Code
16755 status collapsed
16756
16757 \begin_layout Plain Layout
16758 knitr
16759 \end_layout
16760
16761 \end_inset
16762
16763 パッケージを,
16764
16765 \begin_inset Flex Code
16766 status collapsed
16767
16768 \begin_layout Plain Layout
16769 install.packages('knitr')
16770 \end_layout
16771
16772 \end_inset
16773
16774 として導入する必要があります.
16775 \end_layout
16776
16777 \begin_layout Paragraph
16778 註:
16779
16780 \end_layout
16781
16782 \begin_layout Itemize
16783 これはR >= 2.14.1に依存します.詳細については
16784 \begin_inset Flex URL
16785 status collapsed
16786
16787 \begin_layout Plain Layout
16788
16789 http://yihui.name/knitr
16790 \end_layout
16791
16792 \end_inset
16793
16794 をご覧ください.
16795 \end_layout
16796
16797 \begin_layout Itemize
16798
16799 \family typewriter
16800 includernw
16801 \family default
16802 パッケージも導入されていなくてはなりません.
16803 \end_layout
16804
16805 \begin_layout Itemize
16806
16807 \family sans
16808 LilyPond
16809 \begin_inset space ~
16810 \end_inset
16811
16812 Book
16813 \family default
16814 または
16815 \family sans
16816 Sweave
16817 \family default
16818 が読み込まれている場合には,
16819 使用できません.
16820 \end_layout
16821
16822 \begin_layout Standard
16823 情報と文芸的プログラミングについては,
16824
16825 \family sans
16826 ヘルプ\SpecialChar menuseparator
16827 用途別説明書\SpecialChar menuseparator
16828 knitr
16829 \family default
16830
16831
16832 \family sans
16833 ファイル\SpecialChar menuseparator
16834 用例を開く\SpecialChar menuseparator
16835 モジュール\SpecialChar menuseparator
16836 Rnw
16837 \begin_inset space \thinspace{}
16838 \end_inset
16839
16840 (knitr)
16841 \family default
16842 および第
16843 \begin_inset CommandInset ref
16844 LatexCommand ref
16845 reference "sec:文芸プログラミング"
16846 plural "false"
16847 caps "false"
16848 noprefix "false"
16849 nolink "false"
16850
16851 \end_inset
16852
16853 節をご覧ください.
16854 \end_layout
16855
16856 \begin_layout Subsection
16857 Sweave
16858 \end_layout
16859
16860 \begin_layout Standard
16861 このモジュールを使うと,
16862 統計言語SまたはRを文芸的プログラミングツールとして使用することができるようになります.
16863 \family sans
16864 includernw
16865 \family default
16866 および
16867 \family sans
16868 fancyvrb
16869 \family default
16870 パッケージが必要です.
16871 \begin_inset CommandInset href
16872 LatexCommand href
16873 name "includernw"
16874 target "https://www.ctan.org/pkg/includernw"
16875 literal "false"
16876
16877 \end_inset
16878
16879
16880 \begin_inset CommandInset href
16881 LatexCommand href
16882 name "fancyvrb"
16883 target "https://www.ctan.org/pkg/fancyvrb"
16884 literal "false"
16885
16886 \end_inset
16887
16888 はともにCTANから入手できます.
16889 \family sans
16890 LilyPond
16891 \begin_inset space ~
16892 \end_inset
16893
16894 Book
16895 \family default
16896 が読み込まれている場合には,
16897 使用できません.情報と文芸的プログラミングについては,
16898
16899 \family sans
16900 ヘルプ\SpecialChar menuseparator
16901 用途別説明書\SpecialChar menuseparator
16902 Sweave
16903 \family default
16904
16905
16906 \family sans
16907 ファイル\SpecialChar menuseparator
16908 用例を開く\SpecialChar menuseparator
16909 モジュール\SpecialChar menuseparator
16910 Sweave
16911 \family default
16912 および第
16913 \begin_inset CommandInset ref
16914 LatexCommand ref
16915 reference "sec:文芸プログラミング"
16916 plural "false"
16917 caps "false"
16918 noprefix "false"
16919 nolink "false"
16920
16921 \end_inset
16922
16923 節をご覧ください.
16924 \end_layout
16925
16926 \begin_layout Section
16927 数式
16928 \end_layout
16929
16930 \begin_layout Subsection
16931 AMS定理
16932 \end_layout
16933
16934 \begin_layout Standard
16935 このモジュールは,
16936 拡張AMS機構を使う定理環境と証明環境を定義します.連番付きと連番なしの両方の型が提供されます.既定では,
16937 定理は文書を通じて連番が付されます.これは,
16938
16939 \family sans
16940 AMS定理(…毎…連番)
16941 \family default
16942 モジュールのうちの一つを読み込むことによって変更することができます.
16943 \family sans
16944 標準定理
16945 \family default
16946 モジュールや
16947 \family sans
16948 標準定理(連番なし)
16949 \family default
16950 モジュールが読み込まれているときには,
16951 使用することができません.
16952 \end_layout
16953
16954 \begin_layout Subsection
16955 AMS定理(拡張)
16956 \end_layout
16957
16958 \begin_layout Standard
16959 このモジュールは,
16960
16961 \family sans
16962 AMS定理
16963 \family default
16964 パッケージを使う定理環境をいくつか追加定義します(
16965 \family sans
16966 AMS定理
16967 \family default
16968 モジュールは読み込まれていなくてはなりません).これには,
16969 基準・アルゴリズム・公理・条件・註釈・記法・要約・結論・事実・仮定・場合・問題が,
16970 連番ありと連番なしの両方の形で含まれています.
16971 \end_layout
16972
16973 \begin_layout Subsection
16974 AMS定理(拡張・章毎に種類別連番)
16975 \end_layout
16976
16977 \begin_layout Standard
16978 このモジュールは,
16979
16980 \family sans
16981 AMS定理(章毎に種類別連番)
16982 \family default
16983 モジュールを使う定理環境をいくつか追加定義します(
16984 \family sans
16985 AMS定理(章毎に種類別連番)
16986 \family default
16987 モジュールは読み込まれていなくてはなりません).中には,
16988 基準・アルゴリズム・公理・条件・註釈・記法・要約・結論・仮定・場合が,
16989 連番ありと連番なしの両方の形で含まれています.
16990 \family sans
16991 AMS定理(拡張)
16992 \family default
16993 モジュールとは異なり,
16994 このモジュールでは定理の種類毎に別々のカウンタを有し,
16995 章毎にリセットされます(例:
16996 基準1→基準2→公理3→仮定4→…ではなく,
16997 基準1.1→基準1.2→公理1.1→仮定1.1→#基準2.1→基準2.2→公理2.1→…となります).
16998 \end_layout
16999
17000 \begin_layout Subsection
17001 AMS定理(拡張・種類別連番)
17002 \end_layout
17003
17004 \begin_layout Standard
17005 このモジュールは,
17006
17007 \family sans
17008 AMS定理(種類別連番)
17009 \family default
17010 パッケージを使う定理環境をいくつか追加定義します(
17011 \family sans
17012 AMS定理(種類別連番)
17013 \family default
17014 モジュールは読み込まれていなくてはなりません).中には,
17015 基準・アルゴリズム・公理・条件・註釈・記法・要約・結論・事実・仮定・場合が,
17016 連番ありと連番なしの両方の形で含まれています.
17017 \family sans
17018 AMS定理(拡張)
17019 \family default
17020 モジュールとは異なり,
17021 このモジュールでは定理の種類毎に別々のカウンタを有します(例:
17022 基準1→基準2→公理3→仮定4→…ではなく,
17023 基準1→基準2→公理1→仮定1→基準3→…となります).
17024 \end_layout
17025
17026 \begin_layout Subsection
17027 AMS定理(章毎に種類別連番)
17028 \end_layout
17029
17030 \begin_layout Standard
17031 このモジュールは,
17032 拡張AMS機構を使う定理環境と証明環境を定義します.連番付きと連番なしの両方の型が提供されます.
17033 \family sans
17034 AMS定理
17035 \family default
17036 モジュールとは異なり,
17037 ここに含まれる定理型は,
17038 種類毎に別々のカウンタを有します(例:
17039 定理1→定理2→補題3→命題4→…ではなく,
17040 定理1.1→定理1.2→補題1.1→命題1.1→定理1.3→補題1.2→…となります).連番は章毎にリセットされます(定理1.1→定理2.1→...).
17041 \family sans
17042 AMS定理
17043 \family default
17044
17045 \family sans
17046 標準定理
17047 \family default
17048
17049
17050 \family sans
17051 標準定理(種類別連番)
17052 \family default
17053
17054
17055 \family sans
17056 標準定理(連番なし)
17057 \family default
17058 の各モジュールが読み込まれているときには,
17059 使用することができません.
17060 \end_layout
17061
17062 \begin_layout Subsection
17063 AMS定理(種類別連番)
17064 \end_layout
17065
17066 \begin_layout Standard
17067 このモジュールは,
17068 拡張AMS機構を使う定理環境と証明環境を定義します.連番付きと連番なしの両方の型が提供されます.
17069 \family sans
17070 AMS定理
17071 \family default
17072 モジュールとは異なり,
17073 このモジュールでは定理の種類毎に別々のカウンタを有します(例:
17074 定理1→定理2→補題3→命題4→…ではなく,
17075 定理1→定理2→補題1→命題1→定理3→補題2→…となります).連番の及ぶ範囲は文書全体です.章毎または節毎の連番をお望みであれば,
17076 「章毎に…連番」または「節毎に…連番」とあるモジュールを選択してください.
17077 \family sans
17078 AMS定理
17079 \family default
17080
17081 \family sans
17082 標準定理
17083 \family default
17084
17085
17086 \family sans
17087 標準定理(種類別連番)
17088 \family default
17089
17090
17091 \family sans
17092 標準定理(連番なし)
17093 \family default
17094 の各モジュールが読み込まれているときには,
17095 使用することができません.
17096 \end_layout
17097
17098 \begin_layout Subsection
17099 数式番号を節毎に振る
17100 \end_layout
17101
17102 \begin_layout Standard
17103 このモジュールを使うと,
17104 数式番号が節の開始毎にリセットされ,
17105 数式番号の前に「(2.1)」のように節番号が付きます. 
17106 \end_layout
17107
17108 \begin_layout Subsection
17109 標準定理
17110 \end_layout
17111
17112 \begin_layout Standard
17113 このモジュールは,
17114 非AMSクラス用にいくつか定理環境を定義します.既定では,
17115 定理は文書を通じて連番が付されます.これは,
17116
17117 \family sans
17118 標準定理(...連番)
17119 \family default
17120 モジュールのうちの一つを読み込むことによって変更することができます.
17121 \family sans
17122 AMS定理
17123 \family default
17124
17125 \family sans
17126 標準定理(連番なし)
17127 \family default
17128 のモジュールが読み込まれているときには,
17129 使用することができません.
17130 \end_layout
17131
17132 \begin_layout Subsection
17133 標準定理(命名可)
17134 \end_layout
17135
17136 \begin_layout Standard
17137 このモジュールは,
17138 定理名付き定理を使用できるようにします.定理名は
17139 \begin_inset space \thinspace{}
17140 \end_inset
17141
17142
17143 \family sans
17144 挿入\SpecialChar menuseparator
17145 定理見出し文
17146 \family default
17147
17148 \begin_inset space \thinspace{}
17149 \end_inset
17150
17151 で入れることができます.
17152 \end_layout
17153
17154 \begin_layout Subsection
17155 標準定理(章毎連番)
17156 \end_layout
17157
17158 \begin_layout Standard
17159 このモジュールは,
17160 定理などを章ごとに付番します(つまり章が始まるときにカウンタがリセットされます).このモジュールは,
17161 章環境を提供するレイアウトとのみ使用してください.
17162 \family sans
17163 AMS定理(種類別連番)
17164 \family default
17165 または
17166 \family sans
17167 標準定理
17168 \family default
17169 モジュールのどちらかが読み込まれていなくてはなりません.
17170 \family sans
17171 標準定理(節毎連番)
17172 \family default
17173 のモジュールが読み込まれているときには,
17174 使用することができません.
17175 \end_layout
17176
17177 \begin_layout Subsection
17178 標準定理(節毎連番)
17179 \end_layout
17180
17181 \begin_layout Standard
17182 このモジュールは,
17183 定理などを節ごとに付番します(つまり節が始まるときにカウンタがリセットされます).
17184 \family sans
17185 AMS定理(種類別連番)
17186 \family default
17187 または
17188 \family sans
17189 標準定理
17190 \family default
17191 モジュールのどちらかが読み込まれていなくてはなりません.
17192 \family sans
17193 標準定理(章毎連番)
17194 \family default
17195 のモジュールが読み込まれているときには,
17196 使用することができません.
17197 \end_layout
17198
17199 \begin_layout Subsection
17200 標準定理(章毎に種類別連番)
17201 \end_layout
17202
17203 \begin_layout Standard
17204 このモジュールは,
17205 非AMSクラス用にいくつか定理環境を定義します.
17206 \family sans
17207 AMS定理
17208 \family default
17209 モジュールや
17210 \family sans
17211 標準定理
17212 \family default
17213 モジュールとは違って,
17214 このモジュールでは定理の種類毎に別々のカウンタが設定されています(例:
17215 定理1→定理2→補題3→命題4→定理5→補題6\SpecialChar ldots
17216 のようにはならないで,
17217 定理1→定理2→補題1→命題1→定理3→補題2\SpecialChar ldots
17218 のように進行します).連番は,
17219 章の開始時にリセットされます.
17220 \family sans
17221 AMS定理(種類別連番)
17222 \family default
17223 または
17224 \family sans
17225 標準定理(種類別連番)
17226 \family default
17227 モジュールのどちらかが読み込まれていなくてはなりません.
17228 \family sans
17229 AMS定理
17230 \family default
17231
17232 \family sans
17233 標準定理
17234 \family default
17235
17236
17237 \family sans
17238 標準定理(連番なし)
17239 \family default
17240
17241
17242 \family sans
17243 標準定理(節毎連番)
17244 \family default
17245
17246
17247 \family sans
17248 標準定理(節毎に種類別連番)
17249 \family default
17250 の各モジュールが読み込まれているときには,
17251 使用することができません.
17252 \end_layout
17253
17254 \begin_layout Subsection
17255 標準定理(節毎に種類別連番)
17256 \end_layout
17257
17258 \begin_layout Standard
17259 このモジュールは,
17260 非AMSクラス用にいくつか定理環境を定義します.
17261 \family sans
17262 AMS定理
17263 \family default
17264 モジュールや
17265 \family sans
17266 標準定理
17267 \family default
17268 モジュールとは違って,
17269 このモジュールでは定理の種類毎に別々のカウンタが設定されています(例:
17270 定理1→定理2→補題3→命題4→…のようにはならないで,
17271 定理1→定理2→補題1→命題1→定理3→補題2→…のように進行します).連番は,
17272 節の開始時にリセットされます.
17273 \family sans
17274 AMS定理(種類別連番)
17275 \family default
17276 または
17277 \family sans
17278 標準定理(種類別連番)
17279 \family default
17280 モジュールのどちらかが読み込まれていなくてはなりません.
17281 \family sans
17282 AMS定理
17283 \family default
17284
17285 \family sans
17286 標準定理
17287 \family default
17288
17289
17290 \family sans
17291 標準定理(連番なし)
17292 \family default
17293
17294
17295 \family sans
17296 標準定理(章毎連番)
17297 \family default
17298
17299
17300 \family sans
17301 標準定理(章毎に種類別連番)
17302 \family default
17303 の各モジュールが読み込まれているときには,
17304 使用することができません.
17305 \end_layout
17306
17307 \begin_layout Subsection
17308 標準定理(種類別連番)
17309 \end_layout
17310
17311 \begin_layout Standard
17312 このモジュールは,
17313 非AMSクラス用にいくつか定理環境を定義します.
17314 \family sans
17315 AMS定理
17316 \family default
17317 モジュールや
17318 \family sans
17319 標準定理
17320 \family default
17321 モジュールとは違って,
17322 このモジュールでは定理の種類毎に別々のカウンタが設定されています(例:
17323 定理1→定理2→補題3→命題4→…のようにはならないで,
17324 定理1→定理2→補題1→命題1→定理3→補題2→…のように進行します).連番の及ぶ範囲は文書全体です.章毎または節毎の連番をお望みであれば,
17325 「章毎に…連番」または「節毎に…連番」とあるモジュールを選択してください.
17326 \family sans
17327 AMS定理
17328 \family default
17329
17330 \family sans
17331 標準定理
17332 \family default
17333
17334
17335 \family sans
17336 標準定理(連番なし)
17337 \family default
17338
17339
17340 \family sans
17341 AMS定理(種類別連番)
17342 \family default
17343 の各モジュールが読み込まれているときには,
17344 使用することができません.
17345 \end_layout
17346
17347 \begin_layout Subsection
17348 標準定理(連番なし)
17349 \end_layout
17350
17351 \begin_layout Standard
17352 このモジュールは,
17353 拡張AMS機構を用いる,
17354 番号なし定理環境と証明環境のみ定義します.
17355 \family sans
17356 AMS定理(種類別連番)
17357 \family default
17358 または
17359 \family sans
17360 標準定理
17361 \family default
17362 モジュールのどちらかが読み込まれていなくてはなりません.
17363 \end_layout
17364
17365 \begin_layout Subsection
17366 数式群(subequations)
17367 \end_layout
17368
17369 \begin_layout Standard
17370 このモジュールは,
17371 LyX中で数式群をまとめる直感的な方法を提供します.
17372 \family sans
17373 ヘルプ\SpecialChar menuseparator
17374 数式\SpecialChar menuseparator
17375 細目番号
17376 \family default
17377 をご覧ください.
17378 \end_layout
17379
17380 \begin_layout Section
17381 ページレイアウト
17382 \end_layout
17383
17384 \begin_layout Subsection
17385 ヘッダ・フッタ文の設定
17386 \end_layout
17387
17388 \begin_layout Standard
17389 このモジュールは,
17390
17391 \family sans
17392 文書\SpecialChar menuseparator
17393 設定ページ\SpecialChar menuseparator
17394 ページレイアウト
17395 \family default
17396
17397 \begin_inset space \thinspace{}
17398 \end_inset
17399
17400 ダイアログの
17401 \family sans
17402 ページ様式
17403 \family default
17404 オプションを
17405 \family typewriter
17406 fancy
17407 \family default
17408 に設定する必要があります.これは,
17409
17410 \family typewriter
17411 fancyhdr
17412 \family default
17413 パッケージをサポートする文書クラスに以下の6つの環境を追加します.
17414 \end_layout
17415
17416 \begin_layout Itemize
17417
17418 \family sans
17419 左ヘッダ
17420 \end_layout
17421
17422 \begin_layout Itemize
17423
17424 \family sans
17425 中央ヘッダ
17426 \end_layout
17427
17428 \begin_layout Itemize
17429
17430 \family sans
17431 右ヘッダ
17432 \end_layout
17433
17434 \begin_layout Itemize
17435
17436 \family sans
17437 左フッタ
17438 \end_layout
17439
17440 \begin_layout Itemize
17441
17442 \family sans
17443 中央フッタ
17444 \end_layout
17445
17446 \begin_layout Itemize
17447
17448 \family sans
17449 右フッタ
17450 \end_layout
17451
17452 \begin_layout Subsubsection
17453 装飾的なヘッダ・フッタ
17454 \end_layout
17455
17456 \begin_layout Standard
17457 既定のページレイアウトは,
17458 どちらかといえば素っ気ないものです.
17459 \family sans
17460 Article (標準クラス) 
17461 \family default
17462 文書クラスの場合には,
17463 ページの下の真ん中にページ番号がつくだけです.この取扱説明書は
17464 \family sans
17465 KOMA-Script Book
17466 \family default
17467 クラスなので,
17468 すこしは凝ってますが,
17469
17470 \family sans
17471 文書\SpecialChar menuseparator
17472 設定ページ\SpecialChar menuseparator
17473 ページレイアウト
17474 \family default
17475
17476 \begin_inset space \thinspace{}
17477 \end_inset
17478
17479 ダイアログの
17480 \family sans
17481 ページ様式
17482 \family default
17483 オプションを「fancy」に設定すれば,
17484 ページへッダが「左」「中央」「右」と命名された3つのフィールドに分割されます.フッタも同様に3つのフィールドに分割されます.これらのフィールドをもっとも簡単に設定する\SpecialChar LaTeX
17485 コマンドは,
17486
17487 \family typewriter
17488
17489 \begin_inset Flex Code
17490 status collapsed
17491
17492 \begin_layout Plain Layout
17493
17494 \family typewriter
17495
17496 \backslash
17497 lhead
17498 \end_layout
17499
17500 \end_inset
17501
17502
17503 \family default
17504
17505 \family typewriter
17506
17507 \begin_inset Flex Code
17508 status collapsed
17509
17510 \begin_layout Plain Layout
17511
17512 \family typewriter
17513
17514 \backslash
17515 chead
17516 \end_layout
17517
17518 \end_inset
17519
17520
17521 \family default
17522
17523 \family typewriter
17524
17525 \begin_inset Flex Code
17526 status collapsed
17527
17528 \begin_layout Plain Layout
17529
17530 \family typewriter
17531
17532 \backslash
17533 rhead
17534 \end_layout
17535
17536 \end_inset
17537
17538
17539 \family default
17540
17541 \begin_inset Flex Code
17542 status collapsed
17543
17544 \begin_layout Plain Layout
17545
17546 \backslash
17547 lfoot
17548 \end_layout
17549
17550 \end_inset
17551
17552 などです.かりに,
17553 各ページの左上端に自分の名前を入れたいものとしましょう.次のようなコマンドをプリアンブルに入れるだけです.
17554 \end_layout
17555
17556 \begin_layout Standard
17557
17558 \family typewriter
17559
17560 \backslash
17561 lhead{物書 はじめ}
17562 \end_layout
17563
17564 \begin_layout Standard
17565 これで自分の名前が左上に現れます.フィールドに取り除きたい既定の内容がある場合(往々にして中央のフッタにはページ番号が入ります)には,
17566 空の引数を持つコマンドを入れるだけです.すなわち,
17567
17568 \end_layout
17569
17570 \begin_layout Standard
17571
17572 \family typewriter
17573
17574 \backslash
17575 cfoot{}
17576 \begin_inset Newline newline
17577 \end_inset
17578
17579
17580 \family default
17581 とします.
17582 \end_layout
17583
17584 \begin_layout Standard
17585 しかしながら,
17586 ちょっとした変更を加えるのにもっと簡単な方法があります.
17587 \family sans
17588 文書\SpecialChar menuseparator
17589 設定\SpecialChar menuseparator
17590 モジュール\SpecialChar menuseparator
17591 ページレイアウト\SpecialChar menuseparator
17592 ヘッダ・フッタ文の設定
17593 \family default
17594
17595 \begin_inset space \thinspace{}
17596 \end_inset
17597
17598 モジュールを読み込めば,
17599 上記の6つのフィールドに対応する新しい環境が6つ加えられます.
17600 \end_layout
17601
17602 \begin_layout Standard
17603 もっと美しくしてみましょう.節番号を「第‥節」という言葉といっしょに(第3節のように)左上に入れ,
17604 ページ番号を(4ページのように)右上に,
17605 自分の名前を左下に,
17606 日付を右下に入れます.新しく使えるようにした環境を使って,
17607 以下の項目を加えてください.
17608 \end_layout
17609
17610 \begin_layout LyX-Code
17611 左ヘッダ:
17612
17613 \family typewriter
17614
17615 \backslash
17616 thesection
17617 \family default
17618  節
17619 \end_layout
17620
17621 \begin_layout LyX-Code
17622 中央ヘッダ:
17623
17624 \end_layout
17625
17626 \begin_layout LyX-Code
17627 右ヘッダ:
17628
17629 \family typewriter
17630
17631 \backslash
17632 thepage
17633 \family default
17634  ページ
17635 \end_layout
17636
17637 \begin_layout LyX-Code
17638 左フッタ:
17639 物書 はじめ
17640 \end_layout
17641
17642 \begin_layout LyX-Code
17643 中央フッタ:
17644
17645 \end_layout
17646
17647 \begin_layout LyX-Code
17648 右フッタ:
17649
17650 \family typewriter
17651
17652 \backslash
17653 today
17654 \end_layout
17655
17656 \begin_layout Standard
17657
17658 \family typewriter
17659
17660 \backslash
17661 thesection
17662 \family default
17663
17664 \family typewriter
17665
17666 \backslash
17667 thepage
17668 \family default
17669
17670 \family typewriter
17671
17672 \backslash
17673 today
17674 \family default
17675 の各コマンドは,
17676 \SpecialChar TeX
17677 コードのコマンドとして入力するようにしてください.コマンド
17678 \family typewriter
17679
17680 \begin_inset Flex Code
17681 status collapsed
17682
17683 \begin_layout Plain Layout
17684
17685 \family typewriter
17686
17687 \backslash
17688 thesecti
17689 \family default
17690 o
17691 \family typewriter
17692 n
17693 \end_layout
17694
17695 \end_inset
17696
17697
17698 \family default
17699
17700 \begin_inset Flex Code
17701 status collapsed
17702
17703 \begin_layout Plain Layout
17704
17705 \family typewriter
17706
17707 \backslash
17708 thepa
17709 \family default
17710 ge
17711 \end_layout
17712
17713 \end_inset
17714
17715 は,
17716 それぞれ\SpecialChar LaTeX
17717 の節カウンタおよびページカウンタを取得するもので,
17718 これによって現在の節番号とページ番号を印字します.
17719 \begin_inset Flex Code
17720 status collapsed
17721
17722 \begin_layout Plain Layout
17723
17724 \family typewriter
17725
17726 \backslash
17727 tod
17728 \family default
17729 ay
17730 \end_layout
17731
17732 \end_inset
17733
17734 は,
17735 今日の日付を印字するものです.
17736 \end_layout
17737
17738 \begin_layout Standard
17739 へッダ下またはフッタ上に描かれる罫線の太さも変更することができます.もし罫線が必要なければ,
17740 太さを0にしてください.ヘッダ罫線は,
17741 既定では0.4ptの太さであり,
17742 フッタ罫線は0ptです.太さを変更するには,
17743
17744 \end_layout
17745
17746 \begin_layout Standard
17747
17748 \family typewriter
17749
17750 \backslash
17751 renewcommand{
17752 \backslash
17753 headrulewidth}{0.4pt}
17754 \family default
17755
17756 \end_layout
17757
17758 \begin_layout Standard
17759
17760 \family typewriter
17761 \begin_inset Flex Code
17762 status collapsed
17763
17764 \begin_layout Plain Layout
17765
17766 \family typewriter
17767
17768 \backslash
17769 renewcommand{
17770 \backslash
17771 footrulewidth}{0.4pt}
17772 \end_layout
17773
17774 \end_inset
17775
17776
17777 \family default
17778 のようなコマンドを使用してください.
17779 \end_layout
17780
17781 \begin_layout Standard
17782 \begin_inset Flex Code
17783 status collapsed
17784
17785 \begin_layout Plain Layout
17786
17787 \family typewriter
17788
17789 \backslash
17790 thispagestyle{empty}
17791 \end_layout
17792
17793 \end_inset
17794
17795
17796 \begin_inset Flex Code
17797 status collapsed
17798
17799 \begin_layout Plain Layout
17800
17801 \family typewriter
17802
17803 \backslash
17804 thispagestyle{plain}
17805 \end_layout
17806
17807 \end_inset
17808
17809
17810 \begin_inset Flex Code
17811 status collapsed
17812
17813 \begin_layout Plain Layout
17814
17815 \family typewriter
17816
17817 \backslash
17818 thispagestyle{fancy}
17819 \end_layout
17820
17821 \end_inset
17822
17823 のようなコマンドを使えば,
17824 各ページごとにへッダ・フッタ設定を有効にしたり無効にしたりすることができます.設定を変更したいページに,
17825 これらのコマンドを\SpecialChar TeX
17826 コードとして挿入してください.実は,
17827 タイトルページは,
17828 その後のページは大域的に装飾的(fancy)に設定されていれば装飾的(fancy)になるにもかかわらず,
17829 既定でプレーン(plain)になるように設定されているのです.
17830 \end_layout
17831
17832 \begin_layout Standard
17833 ヘッダやフッタを両面文書の外側にしたいときには,
17834
17835 \end_layout
17836
17837 \begin_layout LyX-Code
17838 \begin_inset Flex Strong
17839 status collapsed
17840
17841 \begin_layout Plain Layout
17842
17843 \backslash
17844 fancyfoot{}
17845 \end_layout
17846
17847 \end_inset
17848
17849
17850 \end_layout
17851
17852 \begin_layout LyX-Code
17853 \begin_inset Flex Strong
17854 status collapsed
17855
17856 \begin_layout Plain Layout
17857
17858 \backslash
17859 fancyfoot[LE,RO]{
17860 \backslash
17861 thepage}
17862 \end_layout
17863
17864 \end_inset
17865
17866
17867 \end_layout
17868
17869 \begin_layout Standard
17870 のようにします.最初のコマンドは,
17871 新しいコマンドと干渉するのを避けるために,
17872 既存のフッタをすべて消去しています.
17873 \end_layout
17874
17875 \begin_layout Standard
17876 これらのコマンドは,
17877 簡単なものは上記で新しく作った環境の中に,
17878 複雑なものは\SpecialChar TeX
17879 コードコマンドとして,
17880 文書中の任意の場所に入れることができ,
17881 その次のページから効力を持ちます.
17882 \end_layout
17883
17884 \begin_layout Standard
17885 最後の例として,
17886 へッダやフッタに画像を挿入できることを取り上げましょう.会社のロゴをページ左上に入れたいものとします.たとえば,
17887
17888 \family sans
17889 文書\SpecialChar menuseparator
17890 設定\SpecialChar menuseparator
17891 LaTeXプリアンブル
17892 \family default
17893
17894 \begin_inset space \thinspace{}
17895 \end_inset
17896
17897
17898 \end_layout
17899
17900 \begin_layout LyX-Code
17901
17902 \family sans
17903
17904 \backslash
17905 lhead{
17906 \backslash
17907 resizebox{1in}{!}{
17908 \backslash
17909 includegraphics{logo.png}}}
17910 \end_layout
17911
17912 \begin_layout Standard
17913 \noindent
17914 と書けば,
17915 これを実現できます(文書中に他に画像を挿入していない場合には,
17916
17917 \family sans
17918
17919 \backslash
17920 usepackage{graphics}
17921 \family default
17922 をプリアンブルに宣言する必要があります).
17923 \end_layout
17924
17925 \begin_layout Standard
17926 詳しい解説は,
17927
17928 \begin_inset CommandInset href
17929 LatexCommand href
17930 name "CTAN"
17931 target "http://www.ctan.org/pkg/fancyhdr"
17932 literal "false"
17933
17934 \end_inset
17935
17936 にある
17937 \begin_inset Flex Code
17938 status collapsed
17939
17940 \begin_layout Plain Layout
17941
17942 \family typewriter
17943 fancyhdr
17944 \end_layout
17945
17946 \end_inset
17947
17948 の解説文書を参照してください.
17949 \end_layout
17950
17951 \begin_layout Subsection
17952 文中横向き部分
17953 \end_layout
17954
17955 \begin_layout Standard
17956 このモジュールは,
17957
17958 \family sans
17959 挿入\SpecialChar menuseparator
17960 特別差込枠\SpecialChar menuseparator
17961 横向き
17962 \family default
17963
17964 \begin_inset space \thinspace{}
17965 \end_inset
17966
17967
17968 \begin_inset space \thinspace{}
17969 \end_inset
17970
17971
17972 \family sans
17973 挿入\SpecialChar menuseparator
17974 特別差込枠\SpecialChar menuseparator
17975 横向き(フロート)
17976 \family default
17977
17978 \begin_inset space \thinspace{}
17979 \end_inset
17980
17981 を使って,
17982 文書の一部を横向きにします.
17983 \end_layout
17984
17985 \begin_layout Subsection
17986 多段組
17987 \begin_inset CommandInset label
17988 LatexCommand label
17989 name "subsec:多段組"
17990
17991 \end_inset
17992
17993
17994 \end_layout
17995
17996 \begin_layout Standard
17997 このモジュールは,
17998
17999 \begin_inset Flex Code
18000 status collapsed
18001
18002 \begin_layout Plain Layout
18003 multicol
18004 \end_layout
18005
18006 \end_inset
18007
18008 パッケージを使用するもので,
18009
18010 \family sans
18011 文書\SpecialChar menuseparator
18012 設定\SpecialChar menuseparator
18013 本文レイアウト
18014 \family default
18015
18016 \begin_inset space \thinspace{}
18017 \end_inset
18018
18019 にある
18020 \family sans
18021 二段組文書
18022 \family default
18023 とは別の機能です.文書全体に二段組を行いたい場合には,
18024
18025 \family sans
18026 二段組文書
18027 \family default
18028 オプションを利用することをお勧めします.それ以外の場合には,
18029 本モジュールをご使用ください.
18030 \end_layout
18031
18032 \begin_layout Standard
18033 多段組中の脚注は,
18034 ページ下部に置かれ,
18035 各段の下ごとには置かれません.フロートに関して,
18036
18037 \family sans
18038 編集\SpecialChar menuseparator
18039 フロート設定
18040 \family default
18041
18042 \begin_inset space \thinspace{}
18043 \end_inset
18044
18045
18046 \family sans
18047 段をまたぐ
18048 \family default
18049 オプションを有効にする必要があるという制限がある他は,
18050 各段において通常の使用をすることができます.
18051 \end_layout
18052
18053 \begin_layout Subsubsection
18054 基本
18055 \end_layout
18056
18057 \begin_layout Standard
18058 文章中で二段組を使用したい場合には,
18059 段組を始める場所で
18060 \begin_inset space \thinspace{}
18061 \end_inset
18062
18063
18064 \family sans
18065 挿入\SpecialChar menuseparator
18066 特別差込枠\SpecialChar menuseparator
18067 多段組
18068 \family default
18069
18070 \begin_inset space \thinspace{}
18071 \end_inset
18072
18073 メニューを使用して,
18074 多段組差込枠を挿入してください.二段組で印字されるべき文章は,
18075 全てこの差込枠の中に書いてください.
18076 \end_layout
18077
18078 \begin_layout Standard
18079 下記はその用例です.
18080 \end_layout
18081
18082 \begin_layout Standard
18083 \noindent
18084 \begin_inset Flex Multiple Columns
18085 status open
18086
18087 \begin_layout Plain Layout
18088 \noindent
18089
18090 \series bold
18091 \size small
18092 The Adventure of the Empty House
18093 \series default
18094
18095 \begin_inset Newline newline
18096 \end_inset
18097
18098 by Sir Arthur Conan Doyle
18099 \end_layout
18100
18101 \begin_layout Plain Layout
18102
18103 \size small
18104 It was in the spring of the year 1894 that all London was interested,
18105  and the fashionable world dismayed,
18106  by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
18107  The public has already learned those particulars of the crime which came out in the police investigation,
18108  but a good deal was suppressed upon that occasion,
18109  since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
18110  Only now,
18111  at the end of nearly ten years,
18112  am I allowed to supply those missing links which make up the whole of that remarkable chain.
18113  The crime was of interest in itself,
18114  but that interest was as nothing to me compared to the inconceivable sequel,
18115  which afforded me the greatest shock and surprise of any event in my adventurous life.
18116  Even now,
18117  after this long interval,
18118  I find myself thrilling as I think of it,
18119  and feeling once more that sudden flood of joy,
18120  amazement,
18121  and incredulity which utterly submerged my mind.
18122  Let me say to that public,
18123  which has shown some interest in those glimpses which I have occasionally given them of the thoughts and actions of a very remarkable man,
18124  that they are not to blame me if I have not shared my knowledge with them,
18125  for I should have considered it my first duty to do so,
18126  had I not been barred by a positive prohibition from his own lips,
18127  which was only withdrawn upon the third of last month.
18128 \end_layout
18129
18130 \end_inset
18131
18132
18133 \end_layout
18134
18135 \begin_layout Standard
18136 三段以上にするには,
18137 カーソルを多段組差込枠の内部において,
18138
18139 \family sans
18140 挿入\SpecialChar menuseparator
18141 段数
18142 \family default
18143
18144 \begin_inset space \thinspace{}
18145 \end_inset
18146
18147 メニューを使用してください.この差込枠の中に,
18148 欲しい段数を書き入れます(三段組の場合には「3」と書きます).
18149 \begin_inset Newline newline
18150 \end_inset
18151
18152 下記は三段組の例です.
18153 \end_layout
18154
18155 \begin_layout Standard
18156 \begin_inset Flex Multiple Columns
18157 status open
18158
18159 \begin_layout Plain Layout
18160
18161 \size footnotesize
18162 \begin_inset Argument 1
18163 status open
18164
18165 \begin_layout Plain Layout
18166
18167 3
18168 \end_layout
18169
18170 \end_inset
18171
18172 It can be imagined that my close intimacy with Sherlock Holmes had interested me deeply in crime,
18173  and that after his disappearance I never failed to read with care the various problems which came before the public.
18174  And I even attempted,
18175  more than once,
18176  for my own private satisfaction,
18177  to employ his methods in their solution,
18178  though with indifferent success.
18179  There was none,
18180  however,
18181  which appealed to me like this tragedy of Ronald Adair.
18182  As I read the evidence at the inquest,
18183  which led up to a verdict of willful murder against some person or persons unknown,
18184  I realized more clearly than I had ever done the loss which the community had sustained by the death of Sherlock Holmes.
18185  There were points about this strange business which would,
18186  I was sure,
18187  have specially appealed to him,
18188  and the efforts of the police would have been supplemented,
18189  or more probably anticipated,
18190  by the trained observation and the alert mind of the first criminal agent in Europe.
18191  All day,
18192  as I drove upon my round,
18193  I turned over the case in my mind and found no explanation which appeared to me to be adequate.
18194  At the risk of telling a twice-told tale,
18195  I will recapitulate the facts as they were known to the public at the conclusion of the inquest.
18196 \end_layout
18197
18198 \end_inset
18199
18200
18201 \end_layout
18202
18203 \begin_layout Standard
18204 お望みならば10段組まで組むことができますが,
18205 文書の読者にとっては,
18206 あまり気持ちのいいものではないでしょう.
18207 \end_layout
18208
18209 \begin_layout Standard
18210 \begin_inset Newpage newpage
18211 \end_inset
18212
18213
18214 \end_layout
18215
18216 \begin_layout Subsubsection
18217 段組中の段組
18218 \end_layout
18219
18220 \begin_layout Standard
18221 また,
18222 段中に段を組むこともできます.
18223 \end_layout
18224
18225 \begin_layout Standard
18226 \begin_inset Flex Multiple Columns
18227 status open
18228
18229 \begin_layout Plain Layout
18230
18231 \size footnotesize
18232 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
18233  at that time governor of one of the Australian colonies.
18234  Adair's mother had returned from Australia to undergo the operation for cataract,
18235  and she,
18236  her son Ronald,
18237  and her daughter Hilda were living together at 427 Park Lane.
18238 \end_layout
18239
18240 \begin_layout Plain Layout
18241 \begin_inset Flex Multiple Columns
18242 status open
18243
18244 \begin_layout Plain Layout
18245
18246 \size footnotesize
18247 The youth moved in the best society
18248 \begin_inset space ~
18249 \end_inset
18250
18251 – had,
18252  so far as was known,
18253  no enemies and no particular vices.
18254  He had been engaged to Miss Edith Woodley,
18255  of Carstairs,
18256  but the engagement had been broken off by mutual consent some months before,
18257  and there was no sign that it had left any very profound feeling behind it.
18258  For the rest {sic} the man's life moved in a narrow and conventional circle,
18259  for his habits were quiet and his nature unemotional.
18260  Yet it was upon this easy-going young aristocrat that death came,
18261  in most strange and unexpected form,
18262  between the hours of ten and eleven-twenty on the night of March 30,
18263  1894.
18264 \end_layout
18265
18266 \end_inset
18267
18268
18269 \end_layout
18270
18271 \begin_layout Plain Layout
18272
18273 \size footnotesize
18274 Ronald Adair was fond of cards
18275 \begin_inset space ~
18276 \end_inset
18277
18278 – playing continually,
18279  but never for such stakes as would hurt him.
18280  He was a member of the Baldwin,
18281  the Cavendish,
18282  and the Bagatelle card clubs.
18283  It was shown that,
18284  after dinner on the day of his death,
18285  he had played a rubber of whist at the latter club.
18286  He had also played there in the afternoon.
18287
18288 \size default
18289  
18290 \size footnotesize
18291 The evidence of those who had played with him
18292 \begin_inset space ~
18293 \end_inset
18294
18295 – Mr.
18296  Murray,
18297  Sir John Hardy,
18298  and Colonel Moran
18299 \begin_inset space ~
18300 \end_inset
18301
18302 – showed that the game was whist,
18303  and that there was a fairly equal fall of the cards.
18304  Adair might have lost five pounds,
18305  but not more.
18306  His fortune was a considerable one,
18307  and such a loss could not in any way affect him.
18308  He had played nearly every day at one club or other,
18309  but he was a cautious player,
18310  and usually rose a winner.
18311  It came out in evidence that,
18312  in partnership with Colonel Moran,
18313  he had actually won as much as four hundred and twenty pounds in a sitting,
18314  some weeks before,
18315  from Godfrey Milner and Lord Balmoral.
18316  So much for his recent history as it came out at the inquest.
18317 \end_layout
18318
18319 \end_inset
18320
18321
18322 \end_layout
18323
18324 \begin_layout Subsubsection
18325 応用例
18326 \end_layout
18327
18328 \begin_layout Standard
18329 本節の用例は,
18330 多段組のさらに特別な機能を示すためのものです.
18331 \end_layout
18332
18333 \begin_layout Standard
18334 多段組機能についてさらに知りたい場合には,
18335 \SpecialChar LaTeX
18336 パッケージ
18337 \begin_inset Flex Code
18338 status collapsed
18339
18340 \begin_layout Plain Layout
18341 multicol
18342 \end_layout
18343
18344 \end_inset
18345
18346
18347 \begin_inset CommandInset href
18348 LatexCommand href
18349 name "解説文書"
18350 target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
18351 literal "false"
18352
18353 \end_inset
18354
18355 をご覧ください.
18356 \end_layout
18357
18358 \begin_layout Paragraph
18359 序文
18360 \end_layout
18361
18362 \begin_layout Standard
18363 多段組に序文を追記するには,
18364 カーソルを多段組差込枠内部に置き,
18365
18366 \family sans
18367 挿入\SpecialChar menuseparator
18368 序文
18369 \family default
18370 メニューを使用してください.序文は,
18371 この差込枠内に書いてください.
18372 \begin_inset Newline newline
18373 \end_inset
18374
18375 序文のある文章の例を掲げます.
18376 \end_layout
18377
18378 \begin_layout Standard
18379 \begin_inset VSpace bigskip
18380 \end_inset
18381
18382
18383 \end_layout
18384
18385 \begin_layout Standard
18386 \begin_inset Flex Multiple Columns
18387 status open
18388
18389 \begin_layout Plain Layout
18390 \begin_inset Argument 2
18391 status open
18392
18393 \begin_layout Plain Layout
18394 And the story continues and continues and continues and continues\SpecialChar ldots
18395
18396 \end_layout
18397
18398 \end_inset
18399
18400
18401 \size small
18402 On the evening of the crime,
18403  he returned from the club exactly at ten.
18404  His mother and sister were out spending the evening with a relation.
18405  The servant deposed that she heard him enter the front room on the second floor,
18406  generally used as his sitting-room.
18407  She had lit a fire there,
18408  and as it smoked she had opened the window.
18409  No sound was heard from the room until eleven-twenty,
18410  the hour of the return of Lady Maynooth and her daughter.
18411  Desiring to say good-night,
18412  she attempted to enter her son's room.
18413  The door was locked on the inside,
18414  and no answer could be got to their cries and knocking.
18415  Help was obtained,
18416  and the door forced.
18417  The unfortunate young man was found lying near the table.
18418  His head had been horribly mutilated by an expanding revolver bullet,
18419  but no weapon of any sort was to be found in the room.
18420 \end_layout
18421
18422 \end_inset
18423
18424
18425 \end_layout
18426
18427 \begin_layout Standard
18428 最初の\SpecialChar TeX
18429 コードの後に,
18430 節宣言コマンドを\SpecialChar TeX
18431 コードとして使用すれば,
18432 節見出しを前書きとして使用することができます.例えば,
18433
18434 \end_layout
18435
18436 \begin_layout Standard
18437
18438 \family typewriter
18439
18440 \backslash
18441 subsection{小節見出し}
18442 \end_layout
18443
18444 \begin_layout Standard
18445 というコマンドは,
18446 小節を生成します.以下の例では,
18447 前書きが小々節になっています.
18448 \end_layout
18449
18450 \begin_layout Standard
18451 \begin_inset Flex Multiple Columns
18452 status open
18453
18454 \begin_layout Plain Layout
18455 \begin_inset Argument 2
18456 status open
18457
18458 \begin_layout Plain Layout
18459 \begin_inset ERT
18460 status collapsed
18461
18462 \begin_layout Plain Layout
18463
18464
18465 \backslash
18466 subsubsection{
18467 \end_layout
18468
18469 \end_inset
18470
18471 これは序文の小々節見出しです
18472 \begin_inset ERT
18473 status collapsed
18474
18475 \begin_layout Plain Layout
18476
18477 }
18478 \end_layout
18479
18480 \end_inset
18481
18482
18483 \end_layout
18484
18485 \end_inset
18486
18487
18488 \size small
18489 A minute examination of the circumstances served only to make the case more complex.
18490  In the first place,
18491  no reason could be given why the young man should have fastened the door upon the inside.
18492  There was the possibility that the murderer had done this,
18493  and had afterwards escaped by the window.
18494  The drop was at least twenty feet,
18495  however,
18496  and a bed of crocuses in full bloom lay beneath.
18497  Neither the flowers nor the earth showed any sign of having been disturbed,
18498  nor were there any marks upon the narrow strip of grass which separated the house from the road.
18499  Apparently,
18500  therefore,
18501  it was the young man himself who had fastened the door.
18502  But how did he come by his death?
18503  No one could have climbed up to the window without leaving traces.
18504  Suppose a man had fired through the window,
18505  he would indeed be a remarkable shot who could with a revolver inflict so deadly a wound.
18506  Again,
18507  Park Lane is a frequented thoroughfare;
18508  there is a cab stand within a hundred yards of the house.
18509  No one had heard a shot.
18510 \end_layout
18511
18512 \end_inset
18513
18514
18515 \end_layout
18516
18517 \begin_layout Standard
18518 多段組を開始する部分に,
18519 必要とされる6行を確保出来るだけの垂直スペースがページに残されていない場合,
18520 多段組の前に改行が挿入されます.前書きの行数如何では,
18521 この必要行数を変更したいかもしれません.これは,
18522 カーソルを多段組差込枠内部の(もしあれば)序文の後に置き,
18523
18524 \family sans
18525 挿入\SpecialChar menuseparator
18526 改頁前の余白
18527 \family default
18528 メニューを使用することで設定できます.この差込枠に,
18529 余白の大きさを「5cm」などと書き込んでください.
18530 \end_layout
18531
18532 \begin_layout Standard
18533 以下の例では,
18534
18535 \begin_inset Flex Code
18536 status collapsed
18537
18538 \begin_layout Plain Layout
18539 7
18540 \backslash
18541 baselineskip
18542 \end_layout
18543
18544 \end_inset
18545
18546 を用いて,
18547 必要行数を7行に指定しています(コマンド
18548 \begin_inset Flex Code
18549 status collapsed
18550
18551 \begin_layout Plain Layout
18552
18553 \backslash
18554 baselineskip
18555 \end_layout
18556
18557 \end_inset
18558
18559 は\SpecialChar TeX
18560 コードとして入力する必要があります).
18561 \end_layout
18562
18563 \begin_layout Standard
18564 \begin_inset Flex Multiple Columns
18565 status open
18566
18567 \begin_layout Plain Layout
18568 \begin_inset Argument 3
18569 status open
18570
18571 \begin_layout Plain Layout
18572 7
18573 \begin_inset ERT
18574 status collapsed
18575
18576 \begin_layout Plain Layout
18577
18578
18579 \backslash
18580 baselineskip
18581 \end_layout
18582
18583 \end_inset
18584
18585
18586 \end_layout
18587
18588 \end_inset
18589
18590
18591 \size small
18592 On the evening of the crime,
18593  he returned from the club exactly at ten.
18594  His mother and sister were out spending the evening with a relation.
18595  The servant deposed that she heard him enter the front room on the second floor,
18596  generally used as his sitting-room.
18597  She had lit a fire there,
18598  and as it smoked she had opened the window.
18599  No sound was heard from the room until eleven-twenty,
18600  the hour of the return of Lady Maynooth and her daughter.
18601  Desiring to say good-night,
18602  she attempted to enter her son's room.
18603  The door was locked on the inside,
18604  and no answer could be got to their cries and knocking.
18605  Help was obtained,
18606  and the door forced.
18607  The unfortunate young man was found lying near the table.
18608  His head had been horribly mutilated by an expanding revolver bullet,
18609  but no weapon of any sort was to be found in the room.
18610 \end_layout
18611
18612 \end_inset
18613
18614
18615 \end_layout
18616
18617 \begin_layout Paragraph
18618 周囲の余白
18619 \end_layout
18620
18621 \begin_layout Standard
18622 多段組の前後の余白は,
18623 長さ
18624 \begin_inset Flex Code
18625 status collapsed
18626
18627 \begin_layout Plain Layout
18628
18629 \backslash
18630 multicolsep
18631 \end_layout
18632
18633 \end_inset
18634
18635 を変えることで変更することができます.例えば,
18636 \SpecialChar TeX
18637 コードで書かれたコマンド
18638 \end_layout
18639
18640 \begin_layout LyX-Code
18641
18642 \backslash
18643 setlength{
18644 \backslash
18645 multicolsep}{3cm}
18646 \end_layout
18647
18648 \begin_layout Standard
18649 は,
18650 その値を3
18651 \begin_inset space \thinspace{}
18652 \end_inset
18653
18654 cmに変更します.この変更は,
18655 多段組が始まる前に指定しなくてはなりません.既定値は13
18656 \begin_inset space \thinspace{}
18657 \end_inset
18658
18659 ptです.
18660 \end_layout
18661
18662 \begin_layout Standard
18663 以下の例では,
18664
18665 \begin_inset Flex Code
18666 status collapsed
18667
18668 \begin_layout Plain Layout
18669
18670 \backslash
18671 multicolsep
18672 \end_layout
18673
18674 \end_inset
18675
18676 は2.5
18677 \begin_inset space \thinspace{}
18678 \end_inset
18679
18680 cmに指定されています.
18681 \end_layout
18682
18683 \begin_layout Standard
18684 \begin_inset ERT
18685 status open
18686
18687 \begin_layout Plain Layout
18688
18689
18690 \backslash
18691 setlength{
18692 \backslash
18693 multicolsep}{2.5cm}
18694 \end_layout
18695
18696 \end_inset
18697
18698
18699 \end_layout
18700
18701 \begin_layout Standard
18702 \begin_inset Flex Multiple Columns
18703 status open
18704
18705 \begin_layout Plain Layout
18706
18707 \size small
18708 All day I turned these facts over in my mind,
18709  endeavouring to hit upon some theory which could reconcile them all,
18710  and to find that line of least resistance which my poor friend had declared to be the starting-point of every investigation.
18711  I confess that I made little progress.
18712  In the evening I strolled across the Park,
18713  and found myself about six o'clock at the Oxford Street end of Park Lane.
18714  A group of loafers upon the pavements,
18715  all staring up at a particular window,
18716  directed me to the house which I had come to see.
18717  A tall,
18718  thin man with coloured glasses,
18719  whom I strongly suspected of being a plain-clothes detective,
18720  was pointing out some theory of his own,
18721  while the others crowded round to listen to what he said.
18722  I got as near him as I could,
18723  but his observations seemed to me to be absurd,
18724  so I withdrew again in some disgust.
18725  As I did so I struck against an elderly,
18726  deformed man,
18727  who had been behind me,
18728  and I knocked down several books which he was carrying.
18729 \end_layout
18730
18731 \end_inset
18732
18733
18734 \end_layout
18735
18736 \begin_layout Standard
18737 \begin_inset Note Greyedout
18738 status open
18739
18740 \begin_layout Plain Layout
18741
18742 \series bold
18743 [註]
18744 \series default
18745
18746 \begin_inset Flex Code
18747 status collapsed
18748
18749 \begin_layout Plain Layout
18750
18751 \backslash
18752 setlength
18753 \end_layout
18754
18755 \end_inset
18756
18757 で指定した値は,
18758 再度変更されるまでは,
18759 以降のすべての多段組で使用されます.
18760 \end_layout
18761
18762 \end_inset
18763
18764
18765 \end_layout
18766
18767 \begin_layout Standard
18768 \begin_inset ERT
18769 status collapsed
18770
18771 \begin_layout Plain Layout
18772
18773
18774 \backslash
18775 setlength{
18776 \backslash
18777 multicolsep}{13pt}
18778 \end_layout
18779
18780 \end_inset
18781
18782
18783 \begin_inset Note Note
18784 status collapsed
18785
18786 \begin_layout Plain Layout
18787
18788 \lang english
18789 go back to the default
18790 \end_layout
18791
18792 \end_inset
18793
18794
18795 \end_layout
18796
18797 \begin_layout Paragraph
18798 改段
18799 \end_layout
18800
18801 \begin_layout Standard
18802 改段は,
18803 文章中の階段を行いたい位置に,
18804 \SpecialChar TeX
18805 コードで,
18806 コマンド
18807 \begin_inset Flex Code
18808 status collapsed
18809
18810 \begin_layout Plain Layout
18811
18812 \backslash
18813 columnbreak{}
18814 \end_layout
18815
18816 \end_inset
18817
18818 を挿入すれば,
18819 強制的に行うことができます.ただし,
18820 多くの場合,
18821 文章中に空白が挿入されることに注意してください.
18822 \begin_inset Newline newline
18823 \end_inset
18824
18825 以下が用例です.
18826 \end_layout
18827
18828 \begin_layout Standard
18829 \begin_inset Flex Multiple Columns
18830 status open
18831
18832 \begin_layout Plain Layout
18833
18834 \size small
18835 \begin_inset Quotes eld
18836 \end_inset
18837
18838 You're surprised to see me,
18839  sir,
18840 \begin_inset Quotes erd
18841 \end_inset
18842
18843  said he,
18844  in a strange,
18845  croaking voice.
18846 \end_layout
18847
18848 \begin_layout Plain Layout
18849
18850 \size small
18851 I acknowledged that I was.
18852 \end_layout
18853
18854 \begin_layout Plain Layout
18855
18856 \size small
18857 \begin_inset Quotes eld
18858 \end_inset
18859
18860 Well,
18861  I've a conscience,
18862  sir,
18863  and when I chanced to see you go into this house,
18864  as I came hobbling after you,
18865  I thought to myself,
18866  I'll just step in and see that kind gentleman,
18867  and tell him that if I was a bit gruff in my manner there was not any harm meant,
18868  and that I am much obliged to him for picking up my books.
18869 \begin_inset Quotes erd
18870 \end_inset
18871
18872
18873 \end_layout
18874
18875 \begin_layout Plain Layout
18876
18877 \size small
18878 \begin_inset Quotes eld
18879 \end_inset
18880
18881 You make too much of a trifle,
18882 \begin_inset Quotes erd
18883 \end_inset
18884
18885  said I.
18886  
18887 \begin_inset Quotes eld
18888 \end_inset
18889
18890 May I ask how you knew who I was?
18891 \begin_inset Quotes erd
18892 \end_inset
18893
18894  AFTER THIS SENTENCE THE COLUMN BREAK IS FORCED.
18895 \begin_inset ERT
18896 status collapsed
18897
18898 \begin_layout Plain Layout
18899
18900
18901 \backslash
18902 columnbreak{}
18903 \end_layout
18904
18905 \end_inset
18906
18907
18908 \end_layout
18909
18910 \begin_layout Plain Layout
18911
18912 \size small
18913 \begin_inset Quotes eld
18914 \end_inset
18915
18916 Well,
18917  sir,
18918  if it isn't too great a liberty,
18919  I am a neighbour of yours,
18920  for you'll find my little bookshop at the corner of Church Street,
18921  and very happy to see you,
18922  I am sure.
18923  Maybe you collect yourself,
18924  sir.
18925  Here's 
18926 \noun on
18927 British
18928 \begin_inset space ~
18929 \end_inset
18930
18931 Birds
18932 \noun default
18933 ,
18934  and 
18935 \noun on
18936 Catullus
18937 \noun default
18938 ,
18939  and 
18940 \noun on
18941 The Holy War
18942 \noun default
18943
18944 \begin_inset space ~
18945 \end_inset
18946
18947 – a bargain,
18948  every one of them.
18949  With five volumes you could just fill that gap on that second shelf.
18950  It looks untidy,
18951  does it not,
18952  sir?
18953 \begin_inset Quotes erd
18954 \end_inset
18955
18956
18957 \end_layout
18958
18959 \end_inset
18960
18961
18962 \end_layout
18963
18964 \begin_layout Paragraph
18965 段間隔
18966 \end_layout
18967
18968 \begin_layout Standard
18969 段幅は自動的に計算されますが,
18970 段の間の余白は指定することができます.これは,
18971 長さ
18972 \begin_inset Flex Code
18973 status collapsed
18974
18975 \begin_layout Plain Layout
18976
18977 \backslash
18978 columnsep
18979 \end_layout
18980
18981 \end_inset
18982
18983 を変更することで実現できます.既定値は10
18984 \begin_inset space \thinspace{}
18985 \end_inset
18986
18987 ptです.以下は
18988 \begin_inset Flex Code
18989 status collapsed
18990
18991 \begin_layout Plain Layout
18992
18993 \backslash
18994 columnsep
18995 \end_layout
18996
18997 \end_inset
18998
18999 を3
19000 \begin_inset space \thinspace{}
19001 \end_inset
19002
19003 cmに設定した例です.
19004 \end_layout
19005
19006 \begin_layout Standard
19007 \begin_inset ERT
19008 status open
19009
19010 \begin_layout Plain Layout
19011
19012
19013 \backslash
19014 setlength{
19015 \backslash
19016 columnsep}{3cm}
19017 \end_layout
19018
19019 \end_inset
19020
19021
19022 \end_layout
19023
19024 \begin_layout Standard
19025 \begin_inset Flex Multiple Columns
19026 status open
19027
19028 \begin_layout Plain Layout
19029
19030 \size small
19031 My observations of No.
19032 \begin_inset space \space{}
19033 \end_inset
19034
19035 427 Park Lane did little to clear up the problem in which I was interested.
19036  The house was separated from the street by a low wall and railing,
19037  the whole not more than five feet high.
19038  It was perfectly easy,
19039  therefore,
19040  for anyone to get into the garden,
19041  but the window was entirely inaccessible,
19042  since there was no water pipe or anything which could help the most active man to climb it.
19043  More puzzled than ever,
19044  I retraced my steps to Kensington.
19045  I had not been in my study five minutes when the maid entered to say that a person desired to see me.
19046  To my astonishment it was none other than my strange old book collector,
19047  his sharp,
19048  wizened face peering out from a frame of white hair,
19049  and his precious volumes,
19050  a dozen of them at least,
19051  wedged under his right arm.
19052 \end_layout
19053
19054 \end_inset
19055
19056
19057 \end_layout
19058
19059 \begin_layout Standard
19060 \begin_inset ERT
19061 status collapsed
19062
19063 \begin_layout Plain Layout
19064
19065
19066 \backslash
19067 setlength{
19068 \backslash
19069 columnsep}{10pt}
19070 \end_layout
19071
19072 \end_inset
19073
19074
19075 \begin_inset Note Note
19076 status collapsed
19077
19078 \begin_layout Plain Layout
19079
19080 \lang english
19081 go back to the default
19082 \end_layout
19083
19084 \end_inset
19085
19086
19087 \end_layout
19088
19089 \begin_layout Paragraph
19090 垂直線
19091 \end_layout
19092
19093 \begin_layout Standard
19094 段間には,
19095 長さ
19096 \begin_inset Flex Code
19097 status collapsed
19098
19099 \begin_layout Plain Layout
19100
19101 \backslash
19102 columnseprule
19103 \end_layout
19104
19105 \end_inset
19106
19107 の幅を持つ罫線が描かれます.罫線幅を0
19108 \begin_inset space \thinspace{}
19109 \end_inset
19110
19111 ptにすると(これが既定値です),
19112 罫線は出力されません.以下の例では,
19113 段を分かつ線は2
19114 \begin_inset space \thinspace{}
19115 \end_inset
19116
19117 pt幅に設定されています.
19118 \end_layout
19119
19120 \begin_layout Standard
19121 \begin_inset ERT
19122 status open
19123
19124 \begin_layout Plain Layout
19125
19126
19127 \backslash
19128 setlength{
19129 \backslash
19130 columnseprule}{2pt}
19131 \end_layout
19132
19133 \end_inset
19134
19135
19136 \end_layout
19137
19138 \begin_layout Standard
19139 \begin_inset Flex Multiple Columns
19140 status open
19141
19142 \begin_layout Plain Layout
19143
19144 \size small
19145 \begin_inset Quotes eld
19146 \end_inset
19147
19148 You're surprised to see me,
19149  sir,
19150 \begin_inset Quotes erd
19151 \end_inset
19152
19153  said he,
19154  in a strange,
19155  croaking voice.
19156 \end_layout
19157
19158 \begin_layout Plain Layout
19159
19160 \size small
19161 I acknowledged that I was.
19162 \end_layout
19163
19164 \begin_layout Plain Layout
19165
19166 \size small
19167 \begin_inset Quotes eld
19168 \end_inset
19169
19170 Well,
19171  I've a conscience,
19172  sir,
19173  and when I chanced to see you go into this house,
19174  as I came hobbling after you,
19175  I thought to myself,
19176  I'll just step in and see that kind gentleman,
19177  and tell him that if I was a bit gruff in my manner there was not any harm meant,
19178  and that I am much obliged to him for picking up my books.
19179 \begin_inset Quotes erd
19180 \end_inset
19181
19182
19183 \end_layout
19184
19185 \begin_layout Plain Layout
19186
19187 \size small
19188 \begin_inset Quotes eld
19189 \end_inset
19190
19191 You make too much of a trifle,
19192 \begin_inset Quotes erd
19193 \end_inset
19194
19195  said I.
19196  
19197 \begin_inset Quotes eld
19198 \end_inset
19199
19200 May I ask how you knew who I was?
19201 \begin_inset Quotes erd
19202 \end_inset
19203
19204
19205 \end_layout
19206
19207 \begin_layout Plain Layout
19208
19209 \size small
19210 \begin_inset Quotes eld
19211 \end_inset
19212
19213 Well,
19214  sir,
19215  if it isn't too great a liberty,
19216  I am a neighbour of yours,
19217  for you'll find my little bookshop at the corner of Church Street,
19218  and very happy to see you,
19219  I am sure.
19220  Maybe you collect yourself,
19221  sir.
19222  Here's 
19223 \noun on
19224 British
19225 \begin_inset space ~
19226 \end_inset
19227
19228 Birds
19229 \noun default
19230 ,
19231  and 
19232 \noun on
19233 Catullus
19234 \noun default
19235 ,
19236  and 
19237 \noun on
19238 The Holy War
19239 \noun default
19240
19241 \begin_inset space ~
19242 \end_inset
19243
19244 – a bargain,
19245  every one of them.
19246  With five volumes you could just fill that gap on that second shelf.
19247  It looks untidy,
19248  does it not,
19249  sir?
19250 \begin_inset Quotes erd
19251 \end_inset
19252
19253
19254 \end_layout
19255
19256 \end_inset
19257
19258
19259 \end_layout
19260
19261 \begin_layout Standard
19262 \begin_inset VSpace defskip
19263 \end_inset
19264
19265
19266 \end_layout
19267
19268 \begin_layout Standard
19269 罫線は,
19270 コマンド
19271 \begin_inset Flex Code
19272 status collapsed
19273
19274 \begin_layout Plain Layout
19275
19276 \backslash
19277 columnseprulecolor
19278 \end_layout
19279
19280 \end_inset
19281
19282 を再定義すれば,
19283 着色することができます.これは,
19284 多段組差込枠の前に\SpecialChar TeX
19285 コードで以下のコマンドを挿入すれば,
19286 実現できます.
19287 \end_layout
19288
19289 \begin_layout LyX-Code
19290
19291 \backslash
19292 renewcommand{
19293 \backslash
19294 columnseprulecolor}{
19295 \backslash
19296 color{red}}
19297 \end_layout
19298
19299 \begin_layout Standard
19300 このコマンド中の
19301 \begin_inset Flex Code
19302 status collapsed
19303
19304 \begin_layout Plain Layout
19305
19306 \backslash
19307 red
19308 \end_layout
19309
19310 \end_inset
19311
19312 をお好みの色に変更してください.既定色とユーザー定義色の全てを使用することができます.既定色とユーザー定義色についての詳細な情報は,
19313 取扱説明書『埋込オブジェクト篇』の「色付き表」の節をご覧ください.既定色に戻すには,
19314 以下のコマンドを挿入してください.
19315 \end_layout
19316
19317 \begin_layout LyX-Code
19318
19319 \backslash
19320 renewcommand{
19321 \backslash
19322 columnseprulecolor}{
19323 \backslash
19324 normalcolor}
19325 \end_layout
19326
19327 \begin_layout Standard
19328 以下は,
19329 シアン色の罫線と1
19330 \begin_inset space \thinspace{}
19331 \end_inset
19332
19333 cmの段間隔を持つ例です.
19334 \end_layout
19335
19336 \begin_layout Standard
19337 \begin_inset ERT
19338 status open
19339
19340 \begin_layout Plain Layout
19341
19342
19343 \backslash
19344 setlength{
19345 \backslash
19346 columnsep}{1cm}
19347 \end_layout
19348
19349 \begin_layout Plain Layout
19350
19351
19352 \backslash
19353 renewcommand{
19354 \backslash
19355 columnseprulecolor}{
19356 \backslash
19357 color{cyan}}
19358 \end_layout
19359
19360 \end_inset
19361
19362
19363 \end_layout
19364
19365 \begin_layout Standard
19366 \begin_inset Flex Multiple Columns
19367 status open
19368
19369 \begin_layout Plain Layout
19370
19371 \size small
19372 \begin_inset Quotes eld
19373 \end_inset
19374
19375 You're surprised to see me,
19376  sir,
19377 \begin_inset Quotes erd
19378 \end_inset
19379
19380  said he,
19381  in a strange,
19382  croaking voice.
19383 \end_layout
19384
19385 \begin_layout Plain Layout
19386
19387 \size small
19388 I acknowledged that I was.
19389 \end_layout
19390
19391 \begin_layout Plain Layout
19392
19393 \size small
19394 \begin_inset Quotes eld
19395 \end_inset
19396
19397 Well,
19398  I've a conscience,
19399  sir,
19400  and when I chanced to see you go into this house,
19401  as I came hobbling after you,
19402  I thought to myself,
19403  I'll just step in and see that kind gentleman,
19404  and tell him that if I was a bit gruff in my manner there was not any harm meant,
19405  and that I am much obliged to him for picking up my books.
19406 \begin_inset Quotes erd
19407 \end_inset
19408
19409
19410 \end_layout
19411
19412 \begin_layout Plain Layout
19413
19414 \size small
19415 \begin_inset Quotes eld
19416 \end_inset
19417
19418 You make too much of a trifle,
19419 \begin_inset Quotes erd
19420 \end_inset
19421
19422  said I.
19423  
19424 \begin_inset Quotes eld
19425 \end_inset
19426
19427 May I ask how you knew who I was?
19428 \begin_inset Quotes erd
19429 \end_inset
19430
19431
19432 \end_layout
19433
19434 \begin_layout Plain Layout
19435
19436 \size small
19437 \begin_inset Quotes eld
19438 \end_inset
19439
19440 Well,
19441  sir,
19442  if it isn't too great a liberty,
19443  I am a neighbour of yours,
19444  for you'll find my little bookshop at the corner of Church Street,
19445  and very happy to see you,
19446  I am sure.
19447  Maybe you collect yourself,
19448  sir.
19449  Here's 
19450 \noun on
19451 British
19452 \begin_inset space ~
19453 \end_inset
19454
19455 Birds
19456 \noun default
19457 ,
19458  and 
19459 \noun on
19460 Catullus
19461 \noun default
19462 ,
19463  and 
19464 \noun on
19465 The Holy War
19466 \noun default
19467
19468 \begin_inset space ~
19469 \end_inset
19470
19471 – a bargain,
19472  every one of them.
19473  With five volumes you could just fill that gap on that second shelf.
19474  It looks untidy,
19475  does it not,
19476  sir?
19477 \begin_inset Quotes erd
19478 \end_inset
19479
19480
19481 \end_layout
19482
19483 \end_inset
19484
19485
19486 \end_layout
19487
19488 \begin_layout Standard
19489 \begin_inset ERT
19490 status collapsed
19491
19492 \begin_layout Plain Layout
19493
19494
19495 \backslash
19496 setlength{
19497 \backslash
19498 columnseprule}{0pt}
19499 \end_layout
19500
19501 \begin_layout Plain Layout
19502
19503
19504 \backslash
19505 renewcommand{
19506 \backslash
19507 columnseprulecolor}{
19508 \backslash
19509 normalcolor}
19510 \end_layout
19511
19512 \end_inset
19513
19514
19515 \begin_inset Note Note
19516 status collapsed
19517
19518 \begin_layout Plain Layout
19519
19520 \lang english
19521 go back to the default
19522 \end_layout
19523
19524 \end_inset
19525
19526
19527 \end_layout
19528
19529 \begin_layout Section
19530 段落様式
19531 \end_layout
19532
19533 \begin_layout Subsection
19534 任意の段落形
19535 \end_layout
19536
19537 \begin_layout Standard
19538 \noindent
19539 \SpecialChar LaTeX
19540 は,
19541 他のテキストプロセッサと同様に,
19542 既定で長方形の段落を使用します.しかし,
19543 例えば,
19544 ポスターや招待状,
19545 詩などの特殊な場合には,
19546 段落の形を好きなように変えることができます.このモジュールは,
19547
19548 \family sans
19549 shapepar
19550 \family default
19551 パッケージを使用して,
19552 1ダースを超える段落形を提供するだけでなく,
19553 好みの形を定義するコマンドを提供します.
19554 \end_layout
19555
19556 \begin_layout Subsubsection
19557 既定の形
19558 \end_layout
19559
19560 \begin_layout Standard
19561
19562 \series bold
19563 shapepar
19564 \series default
19565 パッケージは,
19566 以下の形を提供しています.
19567 \end_layout
19568
19569 \begin_layout Standard
19570 \begin_inset Tabular
19571 <lyxtabular version="3" rows="13" columns="3">
19572 <features booktabs="true" islongtable="true" longtabularalignment="center">
19573 <column alignment="left" valignment="middle" width="16col%">
19574 <column alignment="left" valignment="middle" width="40col%">
19575 <column alignment="left" valignment="middle" width="35col%">
19576 <row endhead="true">
19577 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19578 \begin_inset Text
19579
19580 \begin_layout Plain Layout
19581 名称
19582 \end_layout
19583
19584 \end_inset
19585 </cell>
19586 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19587 \begin_inset Text
19588
19589 \begin_layout Plain Layout
19590 説明
19591 \end_layout
19592
19593 \end_inset
19594 </cell>
19595 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19596 \begin_inset Text
19597
19598 \begin_layout Plain Layout
19599 備考
19600 \end_layout
19601
19602 \end_inset
19603 </cell>
19604 </row>
19605 <row interlinespace="default">
19606 <cell alignment="left" valignment="top" topline="true" usebox="none">
19607 \begin_inset Text
19608
19609 \begin_layout Plain Layout
19610 CDlabel
19611 \end_layout
19612
19613 \end_inset
19614 </cell>
19615 <cell alignment="left" valignment="top" usebox="none">
19616 \begin_inset Text
19617
19618 \begin_layout Plain Layout
19619 丸い穴の開いたドーナツ型(CD/DVD大)
19620 \end_layout
19621
19622 \end_inset
19623 </cell>
19624 <cell alignment="left" valignment="top" topline="true" usebox="none">
19625 \begin_inset Text
19626
19627 \begin_layout Plain Layout
19628 伸縮不可.多くの文字を入れられないことに注意.
19629 \end_layout
19630
19631 \end_inset
19632 </cell>
19633 </row>
19634 <row interlinespace="default">
19635 <cell alignment="left" valignment="top" usebox="none">
19636 \begin_inset Text
19637
19638 \begin_layout Plain Layout
19639 Circle
19640 \end_layout
19641
19642 \end_inset
19643 </cell>
19644 <cell alignment="left" valignment="top" usebox="none">
19645 \begin_inset Text
19646
19647 \begin_layout Plain Layout
19648
19649 \end_layout
19650
19651 \end_inset
19652 </cell>
19653 <cell alignment="left" valignment="top" usebox="none">
19654 \begin_inset Text
19655
19656 \begin_layout Plain Layout
19657 脆弱.計算に失敗することも.
19658 \end_layout
19659
19660 \end_inset
19661 </cell>
19662 </row>
19663 <row interlinespace="default">
19664 <cell alignment="left" valignment="top" usebox="none">
19665 \begin_inset Text
19666
19667 \begin_layout Plain Layout
19668 Diamond
19669 \end_layout
19670
19671 \end_inset
19672 </cell>
19673 <cell alignment="left" valignment="top" usebox="none">
19674 \begin_inset Text
19675
19676 \begin_layout Plain Layout
19677 菱形(シンボル的に
19678 \begin_inset Quotes eld
19679 \end_inset
19680
19681 diamond
19682 \begin_inset Quotes erd
19683 \end_inset
19684
19685 と表記)
19686 \end_layout
19687
19688 \end_inset
19689 </cell>
19690 <cell alignment="left" valignment="top" usebox="none">
19691 \begin_inset Text
19692
19693 \begin_layout Plain Layout
19694 -
19695 \end_layout
19696
19697 \end_inset
19698 </cell>
19699 </row>
19700 <row interlinespace="default">
19701 <cell alignment="left" valignment="top" usebox="none">
19702 \begin_inset Text
19703
19704 \begin_layout Plain Layout
19705 Heart
19706 \end_layout
19707
19708 \end_inset
19709 </cell>
19710 <cell alignment="left" valignment="top" usebox="none">
19711 \begin_inset Text
19712
19713 \begin_layout Plain Layout
19714 ハート型
19715 \end_layout
19716
19717 \end_inset
19718 </cell>
19719 <cell alignment="left" valignment="top" usebox="none">
19720 \begin_inset Text
19721
19722 \begin_layout Plain Layout
19723 -
19724 \end_layout
19725
19726 \end_inset
19727 </cell>
19728 </row>
19729 <row interlinespace="default">
19730 <cell alignment="left" valignment="top" usebox="none">
19731 \begin_inset Text
19732
19733 \begin_layout Plain Layout
19734 Hexagon
19735 \end_layout
19736
19737 \end_inset
19738 </cell>
19739 <cell alignment="left" valignment="top" usebox="none">
19740 \begin_inset Text
19741
19742 \begin_layout Plain Layout
19743 六角形
19744 \end_layout
19745
19746 \end_inset
19747 </cell>
19748 <cell alignment="left" valignment="top" usebox="none">
19749 \begin_inset Text
19750
19751 \begin_layout Plain Layout
19752 -
19753 \end_layout
19754
19755 \end_inset
19756 </cell>
19757 </row>
19758 <row interlinespace="default">
19759 <cell alignment="left" valignment="top" usebox="none">
19760 \begin_inset Text
19761
19762 \begin_layout Plain Layout
19763 Nut
19764 \end_layout
19765
19766 \end_inset
19767 </cell>
19768 <cell alignment="left" valignment="top" usebox="none">
19769 \begin_inset Text
19770
19771 \begin_layout Plain Layout
19772 ナット型(丸い穴の開いた六角形)
19773 \end_layout
19774
19775 \end_inset
19776 </cell>
19777 <cell alignment="left" valignment="top" usebox="none">
19778 \begin_inset Text
19779
19780 \begin_layout Plain Layout
19781 -
19782 \end_layout
19783
19784 \end_inset
19785 </cell>
19786 </row>
19787 <row interlinespace="default">
19788 <cell alignment="left" valignment="top" usebox="none">
19789 \begin_inset Text
19790
19791 \begin_layout Plain Layout
19792 Square
19793 \end_layout
19794
19795 \end_inset
19796 </cell>
19797 <cell alignment="left" valignment="top" usebox="none">
19798 \begin_inset Text
19799
19800 \begin_layout Plain Layout
19801 正方形
19802 \end_layout
19803
19804 \end_inset
19805 </cell>
19806 <cell alignment="left" valignment="top" usebox="none">
19807 \begin_inset Text
19808
19809 \begin_layout Plain Layout
19810 -
19811 \end_layout
19812
19813 \end_inset
19814 </cell>
19815 </row>
19816 <row interlinespace="default">
19817 <cell alignment="left" valignment="top" usebox="none">
19818 \begin_inset Text
19819
19820 \begin_layout Plain Layout
19821 Star
19822 \end_layout
19823
19824 \end_inset
19825 </cell>
19826 <cell alignment="left" valignment="top" usebox="none">
19827 \begin_inset Text
19828
19829 \begin_layout Plain Layout
19830 五芒星
19831 \end_layout
19832
19833 \end_inset
19834 </cell>
19835 <cell alignment="left" valignment="top" usebox="none">
19836 \begin_inset Text
19837
19838 \begin_layout Plain Layout
19839 -
19840 \end_layout
19841
19842 \end_inset
19843 </cell>
19844 </row>
19845 <row interlinespace="default">
19846 <cell alignment="left" valignment="top" usebox="none">
19847 \begin_inset Text
19848
19849 \begin_layout Plain Layout
19850 Candle
19851 \end_layout
19852
19853 \end_inset
19854 </cell>
19855 <cell alignment="left" valignment="top" usebox="none">
19856 \begin_inset Text
19857
19858 \begin_layout Plain Layout
19859 燃えるろうそく
19860 \end_layout
19861
19862 \end_inset
19863 </cell>
19864 <cell alignment="left" valignment="top" usebox="none">
19865 \begin_inset Text
19866
19867 \begin_layout Plain Layout
19868 -
19869 \end_layout
19870
19871 \end_inset
19872 </cell>
19873 </row>
19874 <row interlinespace="default">
19875 <cell alignment="left" valignment="top" usebox="none">
19876 \begin_inset Text
19877
19878 \begin_layout Plain Layout
19879 Drop down/up
19880 \end_layout
19881
19882 \end_inset
19883 </cell>
19884 <cell alignment="left" valignment="top" usebox="none">
19885 \begin_inset Text
19886
19887 \begin_layout Plain Layout
19888 雫型/逆雫型
19889 \end_layout
19890
19891 \end_inset
19892 </cell>
19893 <cell alignment="left" valignment="top" usebox="none">
19894 \begin_inset Text
19895
19896 \begin_layout Plain Layout
19897 脆弱.計算に失敗することも.
19898 \end_layout
19899
19900 \end_inset
19901 </cell>
19902 </row>
19903 <row interlinespace="default">
19904 <cell alignment="left" valignment="top" usebox="none">
19905 \begin_inset Text
19906
19907 \begin_layout Plain Layout
19908 \SpecialChar TeX
19909
19910 \end_layout
19911
19912 \end_inset
19913 </cell>
19914 <cell alignment="left" valignment="top" usebox="none">
19915 \begin_inset Text
19916
19917 \begin_layout Plain Layout
19918 \SpecialChar TeX
19919 ロゴ
19920 \end_layout
19921
19922 \end_inset
19923 </cell>
19924 <cell alignment="left" valignment="top" usebox="none">
19925 \begin_inset Text
19926
19927 \begin_layout Plain Layout
19928 -
19929 \end_layout
19930
19931 \end_inset
19932 </cell>
19933 </row>
19934 <row interlinespace="default">
19935 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
19936 \begin_inset Text
19937
19938 \begin_layout Plain Layout
19939 Triangle up/down/
19940 \begin_inset Newline newline
19941 \end_inset
19942
19943 left/right
19944 \end_layout
19945
19946 \end_inset
19947 </cell>
19948 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
19949 \begin_inset Text
19950
19951 \begin_layout Plain Layout
19952 各方向の三角形
19953 \end_layout
19954
19955 \end_inset
19956 </cell>
19957 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
19958 \begin_inset Text
19959
19960 \begin_layout Plain Layout
19961 -
19962 \end_layout
19963
19964 \end_inset
19965 </cell>
19966 </row>
19967 </lyxtabular>
19968
19969 \end_inset
19970
19971
19972 \end_layout
19973
19974 \begin_layout Standard
19975 段落に形を適用するには,
19976 \SpecialChar LyX
19977 ツールバー中の環境プルダウンボックスから形を選んでください.
19978 \end_layout
19979
19980 \begin_layout Standard
19981 \begin_inset Newpage newpage
19982 \end_inset
19983
19984
19985 \end_layout
19986
19987 \begin_layout Standard
19988 以下は,
19989 ナット型の段落の例です.
19990 \end_layout
19991
19992 \begin_layout Standard
19993 \begin_inset VSpace bigskip
19994 \end_inset
19995
19996
19997 \end_layout
19998
19999 \begin_layout Nut
20000
20001 \lang latin
20002 Lorem ipsum dolor sit amet,
20003  consetetur sadipscing elitr,
20004  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
20005  sed diam voluptua.
20006  At vero eos et accusam et justo duo dolores et ea rebum.
20007  Stet clita kasd gubergren,
20008  no sea takimata sanctus est Lorem ipsum dolor sit amet.
20009  Lorem ipsum dolor sit amet,
20010  consetetur sadipscing elitr,
20011  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
20012  sed diam voluptua.
20013 \end_layout
20014
20015 \begin_layout Standard
20016 \begin_inset VSpace bigskip
20017 \end_inset
20018
20019
20020 \end_layout
20021
20022 \begin_layout Standard
20023 \begin_inset Note Greyedout
20024 status open
20025
20026 \begin_layout Plain Layout
20027
20028 \series bold
20029 [註]
20030 \family sans
20031 \series default
20032 shapepar
20033 \family default
20034 段落は改頁にまたがることはできません.
20035 \end_layout
20036
20037 \end_inset
20038
20039
20040 \end_layout
20041
20042 \begin_layout Standard
20043 \begin_inset VSpace bigskip
20044 \end_inset
20045
20046
20047 \end_layout
20048
20049 \begin_layout Standard
20050 \begin_inset Flex Code
20051 status collapsed
20052
20053 \begin_layout Plain Layout
20054 shapepar
20055 \end_layout
20056
20057 \end_inset
20058
20059 は,
20060 段落中にどれだけ文章が含まれようとも,
20061 常に形を維持しようとします.したがって,
20062 段落の大きさは,
20063 含まれている文章量によって変化しますので,
20064 段落の大きさがページ余白にはみ出してしまうことがあります.寸法が伸縮することを示すために,
20065 文章量を二倍にした例を見てみましょう.
20066 \end_layout
20067
20068 \begin_layout Standard
20069 \begin_inset Newpage newpage
20070 \end_inset
20071
20072
20073 \end_layout
20074
20075 \begin_layout Nut
20076
20077 \lang latin
20078 Lorem ipsum dolor sit amet,
20079  consetetur sadipscing elitr,
20080  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
20081  sed diam voluptua.
20082  At vero eos et accusam et justo duo dolores et ea rebum.
20083  Stet clita kasd gubergren,
20084  no sea takimata sanctus est Lorem ipsum dolor sit amet.
20085  Lorem ipsum dolor sit amet,
20086  consetetur sadipscing elitr,
20087  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
20088  sed diam voluptua.
20089  Lorem ipsum dolor sit amet,
20090  consetetur sadipscing elitr,
20091  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
20092  sed diam voluptua.
20093  At vero eos et accusam et justo duo dolores et ea rebum.
20094  Stet clita kasd gubergren,
20095  no sea takimata sanctus est Lorem ipsum dolor sit amet.
20096  Lorem ipsum dolor sit amet,
20097  consetetur sadipscing elitr,
20098  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
20099  sed diam voluptua.
20100 \end_layout
20101
20102 \begin_layout Standard
20103 \begin_inset VSpace bigskip
20104 \end_inset
20105
20106
20107 \end_layout
20108
20109 \begin_layout Standard
20110 ただし,
20111
20112 \family sans
20113 CDlabel
20114 \family default
20115 形は例外です.これは,
20116 CD/DVDの寸法に収まらなくてはならないので,
20117 伸縮しません.したがって,
20118 形に収まる文章量は限られています.
20119 \end_layout
20120
20121 \begin_layout Standard
20122
20123 \family sans
20124 drop
20125 \family default
20126 形と
20127 \family sans
20128 circle
20129 \family default
20130 形は脆弱で,
20131 文章量によっては寸法計算が失敗する可能性があります.この場合,
20132
20133 \begin_inset Quotes eld
20134 \end_inset
20135
20136 Arithmetic overflow
20137 \begin_inset Quotes erd
20138 \end_inset
20139
20140 という\SpecialChar LaTeX
20141 エラーが発生します.この時は,
20142 文章の一部を追加したり削除したりするか,
20143 どれもうまくいかなければ別の形を使用してください.
20144 \end_layout
20145
20146 \begin_layout Standard
20147 先端のある形では,
20148 先端部の文字列で,
20149 \SpecialChar LaTeX
20150 のハイフネーションルーチンが失敗することがあります.したがって,
20151 この部分の文章には,
20152 ハイフネーション位置
20153 \family sans
20154
20155 \begin_inset Info
20156 type  "shortcut"
20157 arg   "specialchar-insert hyphenation"
20158 \end_inset
20159
20160
20161 \family default
20162 )を指定することが往々にして必要になります.
20163 \end_layout
20164
20165 \begin_layout Standard
20166 Shapepar段落は,
20167 常に中央揃えか,
20168 左の縁が左ページ余白に接するように配置されます.したがって,
20169 これらの段落を揃えるのに段落ダイアログを使用することはできません.解決方法としては,
20170 段落をミニページかparboxの中において,
20171 このボックスを揃えることです.ここでの問題は,
20172 ボックスの正しい幅を見出すことです.もしボックスの幅が広すぎれば,
20173 ボックスを中央揃えにしたとしても,
20174 ボックスの左側が付いてしまうので中央揃えになりません.そこで,
20175 正しい幅を見出すまでは,
20176 若干試行錯誤しなくてはならないかもしれません.以下は,
20177 二つのハート形の段落です.一つ目は揃え指定がなく,
20178 二つ目は右揃えにしてあります.
20179 \end_layout
20180
20181 \begin_layout Standard
20182 \begin_inset Newpage newpage
20183 \end_inset
20184
20185
20186 \end_layout
20187
20188 \begin_layout Heart
20189 \noindent
20190
20191 \lang latin
20192 Lo\SpecialChar softhyphen
20193 rem ipsum dolor sit amet,
20194  consetetur sadipscing elitr,
20195  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
20196  sed diam voluptua.
20197  At vero eos et accusam et justo duo dolores et ea rebum.
20198  Stet clita kasd gubergren,
20199  no sea takimata sanctus est Lorem ipsum dolor sit amet.
20200 \end_layout
20201
20202 \begin_layout Standard
20203 \begin_inset VSpace bigskip
20204 \end_inset
20205
20206
20207 \end_layout
20208
20209 \begin_layout Standard
20210 \noindent
20211 \align right
20212 \begin_inset Box Frameless
20213 position "t"
20214 hor_pos "c"
20215 has_inner_box 1
20216 inner_pos "t"
20217 use_parbox 1
20218 use_makebox 0
20219 width "42col%"
20220 special "none"
20221 height "1in"
20222 height_special "totalheight"
20223 thickness "0.4pt"
20224 separation "3pt"
20225 shadowsize "4pt"
20226 framecolor "black"
20227 backgroundcolor "none"
20228 status open
20229
20230 \begin_layout Heart
20231 \noindent
20232
20233 \lang latin
20234 Lo\SpecialChar softhyphen
20235 rem ipsum dolor sit amet,
20236  consetetur sadipscing elitr,
20237  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
20238  sed diam voluptua.
20239  At vero eos et accusam et justo duo dolores et ea rebum.
20240  Stet clita kasd gubergren,
20241  no sea takimata sanctus est Lorem ipsum dolor sit amet.
20242 \end_layout
20243
20244 \end_inset
20245
20246
20247 \end_layout
20248
20249 \begin_layout Subsubsection
20250 任意の形
20251 \end_layout
20252
20253 \begin_layout Standard
20254 ユーザーは,
20255 どのような形であれ,
20256 定義することができます.これを手動で行うのは,
20257 全ての座標を指定しなくてはならないので,
20258 かなりの労力を必要とします.しかし,
20259 以下のように,
20260 コンピューターに座標を計算させる方法もあります.
20261 \end_layout
20262
20263 \begin_layout Enumerate
20264 プログラム
20265 \begin_inset CommandInset href
20266 LatexCommand href
20267 name "Jpgfdraw"
20268 target "https://www.ctan.org/tex-archive/graphics/jpgfdraw"
20269 literal "false"
20270
20271 \end_inset
20272
20273 を導入します.
20274 \end_layout
20275
20276 \begin_layout Enumerate
20277
20278 \family sans
20279 Jpgfdraw
20280 \family default
20281 内で,
20282
20283 \family sans
20284 TeX/LaTeX\SpecialChar menuseparator
20285 Settings\SpecialChar menuseparator
20286 Set Normal Size
20287 \family default
20288
20289 \begin_inset space \thinspace{}
20290 \end_inset
20291
20292 メニューで文書中で使用しているフォント寸法を選択します.例えば,
20293 この文書は12
20294 \begin_inset space \thinspace{}
20295 \end_inset
20296
20297 ptを使用しています.
20298 \end_layout
20299
20300 \begin_layout Enumerate
20301 形を描きます.
20302 \end_layout
20303
20304 \begin_layout Enumerate
20305
20306 \family sans
20307 TeX/LaTeX\SpecialChar menuseparator
20308 Shapepar
20309 \family default
20310
20311 \begin_inset space \thinspace{}
20312 \end_inset
20313
20314 メニューを使用して,
20315 形の座標をエクスポートします.現れるダイアログで,
20316 形の外枠を座標に使うか,
20317 パス自体を使うかを指定します.
20318 \begin_inset Foot
20319 status collapsed
20320
20321 \begin_layout Plain Layout
20322 詳細については,
20323
20324 \begin_inset CommandInset href
20325 LatexCommand href
20326 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
20327 literal "false"
20328
20329 \end_inset
20330
20331 を参照してください.
20332 \end_layout
20333
20334 \end_inset
20335
20336
20337 \end_layout
20338
20339 \begin_layout Standard
20340 座標は\SpecialChar TeX
20341 ファイルに書き込まれます.これを\SpecialChar LyX
20342 文書で使用するには,
20343
20344 \end_layout
20345
20346 \begin_layout Enumerate
20347 段落の最初の文字の前(もしくは空の段落内)にカーソルを置きます.
20348 \end_layout
20349
20350 \begin_layout Enumerate
20351 \SpecialChar LyX
20352
20353 \begin_inset space \thinspace{}
20354 \end_inset
20355
20356
20357 \family sans
20358 挿入\SpecialChar menuseparator
20359 ファイル\SpecialChar menuseparator
20360 子文書
20361 \family default
20362
20363 \begin_inset space \thinspace{}
20364 \end_inset
20365
20366 メニューでファイルを選択し,
20367
20368 \family sans
20369 取り込みの型
20370 \family default
20371 として
20372 \family sans
20373 Input
20374 \family default
20375 を選択してください.
20376 \end_layout
20377
20378 \begin_layout Standard
20379 \begin_inset VSpace defskip
20380 \end_inset
20381
20382
20383 \end_layout
20384
20385 \begin_layout Standard
20386 \begin_inset Note Greyedout
20387 status open
20388
20389 \begin_layout Plain Layout
20390
20391 \series bold
20392 [註]
20393 \series default
20394 変更した形は,
20395 現在の段落にのみ適用されます.次の段落では全て通常に戻ります.したがって,
20396 段落定義ファイルは,
20397 形を変えたい段落全てで読み込まれなくてはなりません.
20398 \end_layout
20399
20400 \end_inset
20401
20402
20403 \end_layout
20404
20405 \begin_layout Standard
20406 \begin_inset VSpace bigskip
20407 \end_inset
20408
20409
20410 \end_layout
20411
20412 \begin_layout Standard
20413 以下の用例をご覧ください.
20414 \end_layout
20415
20416 \begin_layout Standard
20417 \begin_inset VSpace bigskip
20418 \end_inset
20419
20420
20421 \end_layout
20422
20423 \begin_layout Standard
20424 \begin_inset CommandInset include
20425 LatexCommand input
20426 filename "../SpecialParagraphShape.tex"
20427 literal "true"
20428
20429 \end_inset
20430
20431
20432 \lang latin
20433 Lorem ipsum dolor sit amet,
20434  consetetur sadipscing elitr,
20435  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
20436  sed diam voluptua.
20437  At vero eos et accusam et justo duo dolores et ea rebum.
20438  Stet clita kasd gubergren,
20439  no sea takimata sanctus est Lorem ipsum dolor sit amet.
20440  Lorem ipsum dolor sit amet,
20441  consetetur sadipscing elitr,
20442  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
20443  sed diam voluptua.
20444 \end_layout
20445
20446 \begin_layout Standard
20447 \begin_inset VSpace bigskip
20448 \end_inset
20449
20450
20451 \end_layout
20452
20453 \begin_layout Standard
20454
20455 \series bold
20456 【ヒント】
20457 \family sans
20458 \series default
20459 Jpgfdraw
20460 \family default
20461 で複雑な形を描く場合,
20462 まず形を好きなプログラムで描き,
20463 出来上がった画像を
20464 \family sans
20465 Jpgfdraw
20466 \family default
20467 に読み込む方法があります.この場合,
20468 画像の外枠に沿って,
20469 直線またはスプラインを描くだけですみます.
20470 \end_layout
20471
20472 \begin_layout Standard
20473 \begin_inset VSpace bigskip
20474 \end_inset
20475
20476
20477 \end_layout
20478
20479 \begin_layout Standard
20480
20481 \family sans
20482 \series bold
20483 任意の段落形
20484 \family default
20485 \series default
20486 モジュールは,
20487
20488 \family sans
20489 shapepar
20490 \family default
20491
20492 \family sans
20493 Shapepar
20494 \family default
20495 の二つのコマンドも提供していて,
20496 任意の形を座標毎に定義するのに使用することができます.
20497 \begin_inset Foot
20498 status collapsed
20499
20500 \begin_layout Plain Layout
20501 これらのコマンドは,
20502 上述の全ての形で内部的に使用されています.
20503 \end_layout
20504
20505 \end_inset
20506
20507 これらのスタイルがどのように使われていて,
20508 どのような設定ができるのかについての詳しい情報は,
20509
20510 \begin_inset Flex Code
20511 status collapsed
20512
20513 \begin_layout Plain Layout
20514 shapepar
20515 \end_layout
20516
20517 \end_inset
20518
20519 パッケージの
20520 \begin_inset CommandInset href
20521 LatexCommand href
20522 name "解説文書"
20523 target "https://www.ctan.org/tex-archive/macros/latex/contrib/shapepar/shapepar.pdf"
20524 literal "false"
20525
20526 \end_inset
20527
20528 をご覧ください.
20529 \end_layout
20530
20531 \begin_layout Subsection
20532 ぶら下げ段落
20533 \end_layout
20534
20535 \begin_layout Hanging
20536 このモジュールは,
20537
20538 \family sans
20539 \series bold
20540 ぶら下げ
20541 \family default
20542 \series default
20543 段落様式,
20544 すなわち段落の第1行以外はすべて字下げする段落様式を追加します.これは,
20545 \SpecialChar LyX
20546 文書中には反映しない可能性もありますが,
20547 出力には反映されます.
20548 \end_layout
20549
20550 \begin_layout Subsection
20551 頭文字(ドロップキャップ)
20552 \begin_inset CommandInset label
20553 LatexCommand label
20554 name "subsec:頭文字"
20555
20556 \end_inset
20557
20558
20559 \end_layout
20560
20561 \begin_layout Initial
20562 \begin_inset Argument 2
20563 status open
20564
20565 \begin_layout Plain Layout
20566
20567 \end_layout
20568
20569 \end_inset
20570
20571
20572 \begin_inset Argument 3
20573 status open
20574
20575 \begin_layout Plain Layout
20576
20577 \end_layout
20578
20579 \end_inset
20580
20581 モジュールは,
20582 ドロップキャピタル段落様式である
20583 \family sans
20584 頭文字
20585 \family default
20586 段落環境を追加します.これを用いれば,
20587 望む場所をドロップキャピタルにすることができます.すると,
20588
20589 \family sans
20590 挿入
20591 \family default
20592 メニューに以下の3つの項目が追加されます.
20593 \end_layout
20594
20595 \begin_layout Description
20596
20597 \family sans
20598 \series bold
20599 頭文字
20600 \family default
20601 \series default
20602  ドロップキャピタル用の差込枠
20603 \end_layout
20604
20605 \begin_layout Description
20606
20607 \family sans
20608 \series bold
20609 頭文字の残り
20610 \family default
20611 \series default
20612  ドロップキャピタル化する単語の残り部分
20613 \end_layout
20614
20615 \begin_layout Description
20616
20617 \family sans
20618 \series bold
20619 オプション
20620 \family default
20621 \series default
20622  ドロップキャピタルの整形オプション
20623 \end_layout
20624
20625 \begin_layout Standard
20626 様式の見た目を調整するには,
20627
20628 \family sans
20629 ヘルプ\SpecialChar menuseparator
20630 埋込オブジェクト篇\SpecialChar menuseparator
20631 本文回り込みオブジェクト\SpecialChar menuseparator
20632 頭文字
20633 \family default
20634
20635 \begin_inset space \thinspace{}
20636 \end_inset
20637
20638 を参照してください.
20639 \end_layout
20640
20641 \begin_layout Section
20642 テキストマークアップ
20643 \end_layout
20644
20645 \begin_layout Subsection
20646 ハイフネート可能なテキストマークアップ(Soul)
20647 \end_layout
20648
20649 \begin_layout Standard
20650 このモジュールは,
20651
20652 \family sans
20653 soul
20654 \family default
20655 パッケージを使って,
20656 ハイライトしたり均等配置したり,
20657 打消線や下線を引いたり,
20658 大文字化/スモールキャップ化したりするための文辞様式を定義します.
20659 \end_layout
20660
20661 \begin_layout Standard
20662 文辞特性ダイアログで提供されるマークアップと違い,
20663
20664 \family sans
20665 soul
20666 \family default
20667 でマークアップされる単語はハイフネートされます.
20668 \begin_inset CommandInset href
20669 LatexCommand href
20670 name "soul 解説文書"
20671 target "http://mirrors.ctan.org/macros/generic/soul/soul.pdf"
20672 literal "false"
20673
20674 \end_inset
20675
20676 を参照してください.
20677 \end_layout
20678
20679 \begin_layout Subsection
20680 論理マークアップ
20681 \end_layout
20682
20683 \begin_layout Standard
20684 このモジュールは,
20685 論理マークアップ用にいくつかの文字様式(
20686 \begin_inset Flex Noun
20687 status collapsed
20688
20689 \begin_layout Plain Layout
20690 名詞
20691 \end_layout
20692
20693 \end_inset
20694
20695
20696 \begin_inset Flex Emph
20697 status collapsed
20698
20699 \begin_layout Plain Layout
20700 強調
20701 \end_layout
20702
20703 \end_inset
20704
20705
20706 \begin_inset Flex Strong
20707 status collapsed
20708
20709 \begin_layout Plain Layout
20710 ストロング
20711 \end_layout
20712
20713 \end_inset
20714
20715
20716 \begin_inset Flex Code
20717 status collapsed
20718
20719 \begin_layout Plain Layout
20720 コード
20721 \end_layout
20722
20723 \end_inset
20724
20725 )を定義します.これらは,
20726
20727 \family sans
20728 編集\SpecialChar menuseparator
20729 特別文辞様式
20730 \family default
20731
20732 \begin_inset space \thinspace{}
20733 \end_inset
20734
20735 でアクセスできます.
20736 \end_layout
20737
20738 \begin_layout Chapter
20739 書誌情報
20740 \end_layout
20741
20742 \begin_layout Standard
20743 Bib\SpecialChar TeX
20744 あるいは
20745 \family sans
20746 Biblatex
20747 \family default
20748 の基本的な使用法は,
20749 『ユーザーの手引き』の「文献データベース」の節に説明があります.以下の各小節では,
20750 \SpecialChar LyX
20751 でサポートされている書誌情報の特別な機能について説明することとします.
20752 \end_layout
20753
20754 \begin_layout Section
20755 他の引用様式
20756 \end_layout
20757
20758 \begin_layout Standard
20759 標準のBib\SpecialChar TeX
20760 は,
20761 引用された著作を参照するのに,
20762 ([12]のように)数字を使用します.しかし,
20763 多くの科学分野で,
20764 これとは異なる引用様式が用いられています.もっともよく見られるのは,
20765 著者-出版年様式(例:
20766 Knuth 1984a)です.\SpecialChar LyX
20767 は,
20768 この様式を提供する3つのパッケージ
20769 \begin_inset Flex Code
20770 status collapsed
20771
20772 \begin_layout Plain Layout
20773 biblatex
20774 \end_layout
20775
20776 \end_inset
20777
20778
20779 \begin_inset Flex Code
20780 status collapsed
20781
20782 \begin_layout Plain Layout
20783 natbib
20784 \end_layout
20785
20786 \end_inset
20787
20788
20789 \begin_inset Flex Code
20790 status collapsed
20791
20792 \begin_layout Plain Layout
20793 jurabib
20794 \end_layout
20795
20796 \end_inset
20797
20798 をサポートしています.これらのパッケージには,
20799 それぞれ長所短所がありますが,
20800 ここでは詳細に立ち入る紙幅がありません.単純な著者-出版年様式(あるいは著者-番号)様式が欲しい場合や,
20801 無数にある
20802 \begin_inset Flex Code
20803 status collapsed
20804
20805 \begin_layout Plain Layout
20806 natbib
20807 \end_layout
20808
20809 \end_inset
20810
20811 用スタイルファイルのうちどれかを使用したい場合には,
20812 定評のある
20813 \begin_inset Flex Code
20814 status collapsed
20815
20816 \begin_layout Plain Layout
20817 natbib
20818 \end_layout
20819
20820 \end_inset
20821
20822 パッケージがおそらくよい選択でしょう.法学でよく用いられる引用様式を探している場合には,
20823
20824 \begin_inset Flex Code
20825 status collapsed
20826
20827 \begin_layout Plain Layout
20828 jurabib
20829 \end_layout
20830
20831 \end_inset
20832
20833 パッケージの利用を考えるとよいかもしれません.整形を完全に制御したい場合や,
20834 ibidem・脚註引用・タイトル全引用・400 BCなどの)複雑な日時形式・英語以外への完全な現地語化のような複雑な機能を使用したい場合には,
20835 機能面で他のパッケージを凌駕している
20836 \begin_inset Flex Code
20837 status collapsed
20838
20839 \begin_layout Plain Layout
20840 biblatex
20841 \end_layout
20842
20843 \end_inset
20844
20845 をぜひとも考えるべきでしょう.ただし,
20846 同時に
20847 \begin_inset Flex Code
20848 status collapsed
20849
20850 \begin_layout Plain Layout
20851 biblatex
20852 \end_layout
20853
20854 \end_inset
20855
20856 はたいへん重く,
20857 リソース消費量も多いことに注意してください.
20858 \end_layout
20859
20860 \begin_layout Standard
20861 \SpecialChar LyX
20862 での各パッケージの取扱い方は,
20863 ほぼ同じです.
20864 \family sans
20865 文書\SpecialChar menuseparator
20866 設定
20867 \family default
20868
20869 \begin_inset space \thinspace{}
20870 \end_inset
20871
20872 メニューを開き,
20873
20874 \family sans
20875 書誌情報
20876 \family default
20877
20878 \begin_inset space \thinspace{}
20879 \end_inset
20880
20881 項目の
20882 \family sans
20883 様式整形子
20884 \family default
20885 において
20886 \family sans
20887 基本 (BibTeX)
20888 \family default
20889
20890 \family sans
20891 Biblatex
20892 \family default
20893
20894 \family sans
20895 Biblatex (Natbibモード)
20896 \family default
20897
20898 \family sans
20899 Natbib (BibTeX)
20900 \family default
20901
20902 \family sans
20903 Jurabib (BibTeX)
20904 \family default
20905 のいずれかを選択してください(各選択肢についての詳細は,
20906 ユーザーの手引きの第6.5.3節を参照のこと).これらのパッケージによって,
20907 引用ダイアログに機能が追加され,
20908 参照の様式が選択できるようになります(「Knuth 1984」,
20909 「Knuth (1984)」,
20910 「Knuth,
20911  1984」,
20912 「1984」など).各パッケージは,
20913 専用にデザインされたスタイルファイルを必要とすることに注意してください.これらは全てそれ自身のスタイルファイルを同梱していますが,
20914 他にもたくさんの追加されたスタイルファイルがありますし,
20915
20916 \begin_inset Flex Code
20917 status collapsed
20918
20919 \begin_layout Plain Layout
20920 natbib
20921 \end_layout
20922
20923 \end_inset
20924
20925 に至っては,
20926 対話的なスタイルファイルビルダーさえ存在します
20927 \begin_inset Foot
20928 status collapsed
20929
20930 \begin_layout Plain Layout
20931 \begin_inset Flex URL
20932 status open
20933
20934 \begin_layout Plain Layout
20935
20936 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
20937 \end_layout
20938
20939 \end_inset
20940
20941 をご参照ください.
20942 \end_layout
20943
20944 \end_inset
20945
20946
20947 \end_layout
20948
20949 \begin_layout Section
20950 区分された書誌情報
20951 \end_layout
20952
20953 \begin_layout Standard
20954 場合によっては,
20955 書誌情報をいくつかの節に分ける必要があることがあります.たとえば,
20956 あなたが歴史家であるとすれば,
20957 出典と学術文献を分ける機能は,
20958 おそらく「必需品」でさえあります.残念ながら,
20959 Bib\SpecialChar TeX
20960 自身ではこのようなことができません.しかし,
20961 適切な\SpecialChar LaTeX
20962 パッケージの助けを借りると,
20963 Bib\SpecialChar TeX
20964 をこのような必要性を満たすように拡張することができます.
20965 \end_layout
20966
20967 \begin_layout Standard
20968 \SpecialChar LyX
20969 は,
20970 このようなパッケージの一つである
20971 \begin_inset Flex Code
20972 status collapsed
20973
20974 \begin_layout Plain Layout
20975 bibtopic
20976 \end_layout
20977
20978 \end_inset
20979
20980
20981 \begin_inset Foot
20982 status collapsed
20983
20984 \begin_layout Plain Layout
20985 \begin_inset Flex URL
20986 status open
20987
20988 \begin_layout Plain Layout
20989
20990 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
20991 \end_layout
20992
20993 \end_inset
20994
20995 から入手可能です.
20996 \end_layout
20997
20998 \end_inset
20999
21000 をそのままでサポートします.このパッケージの長所は,
21001
21002 \begin_inset Flex Code
21003 status collapsed
21004
21005 \begin_layout Plain Layout
21006 multibib
21007 \end_layout
21008
21009 \end_inset
21010
21011 のような他のパッケージと比較すると)新規の引用コマンドを定義する必要がないことです.そのかわりに,
21012 書誌情報の違う節には,
21013 その節向けの項目を収録した別の文献データベースを用意する必要があります.たとえば,
21014 書誌情報を「出典」の節と「学術文献」の節に分けたい場合には,
21015 それぞれの文献データベース,
21016 たとえば
21017 \begin_inset Flex Code
21018 status collapsed
21019
21020 \begin_layout Plain Layout
21021 souces.bib
21022 \end_layout
21023
21024 \end_inset
21025
21026
21027 \begin_inset Flex Code
21028 status collapsed
21029
21030 \begin_layout Plain Layout
21031 scientific.bib
21032 \end_layout
21033
21034 \end_inset
21035
21036 とを作成する必要があります.
21037 \end_layout
21038
21039 \begin_layout Standard
21040
21041 \family sans
21042 文書\SpecialChar menuseparator
21043 設定
21044 \family default
21045
21046 \begin_inset space \thinspace{}
21047 \end_inset
21048
21049 を開いて
21050 \family sans
21051 書誌情報
21052 \family default
21053 の下の
21054 \family sans
21055 区分された書誌情報
21056 \family default
21057 をチェックしてください.すると,
21058 書誌情報の各節に一つずつ,
21059 複数の書誌情報を挿入することができます.上記の例では,
21060 Bib\SpecialChar TeX
21061 書誌情報
21062 \begin_inset Flex Code
21063 status collapsed
21064
21065 \begin_layout Plain Layout
21066 sources.bib
21067 \end_layout
21068
21069 \end_inset
21070
21071 と二つめの文献データベース
21072 \begin_inset Flex Code
21073 status collapsed
21074
21075 \begin_layout Plain Layout
21076 scientific.bib
21077 \end_layout
21078
21079 \end_inset
21080
21081 を挿入します.各節に同じスタイルを用いるか異なるスタイルを用いるかは自由です.くわえて,
21082 書誌情報の節に,
21083 指定したデータベースの「引用されたすべての参照」を載せる(これが既定です)か,
21084 「引用されなかったすべての参照」を載せるか,
21085 あるいは「すべての参照」を載せるかを選択することができます.これは,
21086 もし書誌情報を「本文に引用された出典」・「本文に引用されていない出典」・「学術文献」の三つの節に分割したい場合に,
21087 便利でありましょう.各節の見出しは,
21088 通常の節や小節として入れることができます.
21089 \begin_inset Flex Code
21090 status collapsed
21091
21092 \begin_layout Plain Layout
21093 bibtopic
21094 \end_layout
21095
21096 \end_inset
21097
21098 は,
21099 書誌情報用の見出しを取り除いてしまいますので,
21100 手動でこれを追加しなくてはなりません(たとえば章*や節*などをお使いください).
21101 \end_layout
21102
21103 \begin_layout Standard
21104
21105 \family sans
21106 Biblatex
21107 \family default
21108 の場合には,
21109 手順が多少異なります.
21110 \family typewriter
21111 bibtopic
21112 \family default
21113
21114 \family sans
21115 Biblatex
21116 \family default
21117 では動作しませんので,
21118
21119 \family sans
21120 Biblatex
21121 \family default
21122 使用中は前述の
21123 \begin_inset Flex Noun
21124 status collapsed
21125
21126 \begin_layout Plain Layout
21127 区分された書誌情報
21128 \end_layout
21129
21130 \end_inset
21131
21132 オプションは無効になります.しかしながら,
21133
21134 \family sans
21135 Biblatex
21136 \family default
21137 は区分された書誌情報を生成する独自の方法を提供しています.書誌情報項目の
21138 \begin_inset Flex Code
21139 status collapsed
21140
21141 \begin_layout Plain Layout
21142 keywords
21143 \end_layout
21144
21145 \end_inset
21146
21147 項目オプションにキーワードを書き込み,
21148 書誌情報セクションをキーワードでフィルターに掛けることもできますし(
21149 \begin_inset Flex Noun
21150 status collapsed
21151
21152 \begin_layout Plain Layout
21153 Biblatexが生成した書誌情報
21154 \end_layout
21155
21156 \end_inset
21157
21158 ボタンを右クリックすると開くダイアログで,
21159
21160 \begin_inset Flex Noun
21161 status collapsed
21162
21163 \begin_layout Plain Layout
21164 オプション
21165 \end_layout
21166
21167 \end_inset
21168
21169 フィールドに
21170 \begin_inset Flex Code
21171 status collapsed
21172
21173 \begin_layout Plain Layout
21174 keyword=指定キーワード
21175 \end_layout
21176
21177 \end_inset
21178
21179 と書き込みます),
21180 あるいは,
21181 上述の
21182 \begin_inset Flex Noun
21183 status collapsed
21184
21185 \begin_layout Plain Layout
21186 オプション
21187 \end_layout
21188
21189 \end_inset
21190
21191 フィールドに,
21192 例えば
21193 \begin_inset Flex Code
21194 status collapsed
21195
21196 \begin_layout Plain Layout
21197 type=book
21198 \end_layout
21199
21200 \end_inset
21201
21202
21203 \begin_inset Flex Code
21204 status collapsed
21205
21206 \begin_layout Plain Layout
21207 nottype=collection
21208 \end_layout
21209
21210 \end_inset
21211
21212 と入力することで,
21213
21214 \emph on
21215 book
21216 \emph default
21217
21218 \emph on
21219 article
21220 \emph default
21221 などの)項目型によりフィルターを掛けることもできます.あるいは,
21222 各項目を割り当てるための,
21223 いわゆる「書誌情報カテゴリ」を作ることもできます.詳細については,
21224 Biblatex取扱説明書の「区分された書誌情報」の節をご参照ください.
21225 \end_layout
21226
21227 \begin_layout Section
21228 複数の書誌情報
21229 \begin_inset CommandInset label
21230 LatexCommand label
21231 name "subsec:複数の書誌情報"
21232
21233 \end_inset
21234
21235
21236 \end_layout
21237
21238 \begin_layout Standard
21239 各部・章・節・小節・子文書ごとの書誌情報など,
21240 複数の書誌情報も\SpecialChar LyX
21241 ではサポートされています.これを有効にするためには,
21242
21243 \family sans
21244 文書\SpecialChar menuseparator
21245 設定\SpecialChar menuseparator
21246 書誌情報
21247 \family default
21248
21249 \begin_inset space \thinspace{}
21250 \end_inset
21251
21252 を開き,
21253
21254 \begin_inset Flex Noun
21255 status collapsed
21256
21257 \begin_layout Plain Layout
21258 複数の書誌情報
21259 \end_layout
21260
21261 \end_inset
21262
21263 コンボボックスで必要な単位(「節毎」など)を選択してください.それから,
21264 執筆中文書の(節などの)各単位に,
21265 Bib(la)\SpecialChar TeX
21266 書誌情報を加えてください.出力時に,
21267 現在の単位に含まれる文献参照のみが含まれた,
21268 分割された書誌情報が生成されます.
21269 \end_layout
21270
21271 \begin_layout Standard
21272 Bib\SpecialChar TeX
21273 を使用する場合には,
21274 複数の書誌情報を生成するのに,
21275
21276 \begin_inset Flex Code
21277 status collapsed
21278
21279 \begin_layout Plain Layout
21280 chapterbib
21281 \end_layout
21282
21283 \end_inset
21284
21285 パッケージか
21286 \begin_inset Flex Code
21287 status collapsed
21288
21289 \begin_layout Plain Layout
21290 bibtopic
21291 \end_layout
21292
21293 \end_inset
21294
21295 パッケージが使用されます.「子文書毎」を選択し,
21296
21297 \begin_inset Flex Noun
21298 status collapsed
21299
21300 \begin_layout Plain Layout
21301 区分された書誌情報
21302 \end_layout
21303
21304 \end_inset
21305
21306 にチェックを入れ
21307 \emph on
21308 ない
21309 \emph default
21310 場合には,
21311 前者のパッケージが使用されますが,
21312 その他の場合には,
21313 すべて
21314 \begin_inset Flex Code
21315 status collapsed
21316
21317 \begin_layout Plain Layout
21318 bibtopic
21319 \end_layout
21320
21321 \end_inset
21322
21323 パッケージが使用されます
21324 \begin_inset Foot
21325 status collapsed
21326
21327 \begin_layout Plain Layout
21328 別のアプローチとして,
21329 もし
21330 \begin_inset Flex Noun
21331 status collapsed
21332
21333 \begin_layout Plain Layout
21334 \SpecialChar TeX
21335 コード
21336 \end_layout
21337
21338 \end_inset
21339
21340 を使っても良いという気があるならば(第
21341 \begin_inset CommandInset ref
21342 LatexCommand ref
21343 reference "sec:TeXコードを挿入する"
21344 plural "false"
21345 caps "false"
21346 noprefix "false"
21347 nolink "false"
21348
21349 \end_inset
21350
21351 節参照),
21352
21353 \begin_inset Flex Code
21354 status collapsed
21355
21356 \begin_layout Plain Layout
21357 bibunits
21358 \end_layout
21359
21360 \end_inset
21361
21362 パッケージを使用する方法があります.
21363 \end_layout
21364
21365 \end_inset
21366
21367
21368 \begin_inset Flex Code
21369 status collapsed
21370
21371 \begin_layout Plain Layout
21372 bibtopic
21373 \end_layout
21374
21375 \end_inset
21376
21377 パッケージが使用される場合,
21378 \SpecialChar LyX
21379 は特定の単位を生成するために,
21380 その単位を
21381 \begin_inset Flex Code
21382 status collapsed
21383
21384 \begin_layout Plain Layout
21385 bibtopic
21386 \end_layout
21387
21388 \end_inset
21389
21390
21391 \begin_inset Flex Code
21392 status collapsed
21393
21394 \begin_layout Plain Layout
21395
21396 \backslash
21397 begin{btUnit}
21398 \end_layout
21399
21400 \end_inset
21401
21402
21403 \begin_inset Flex Code
21404 status collapsed
21405
21406 \begin_layout Plain Layout
21407
21408 \backslash
21409 end{btUnit}
21410 \end_layout
21411
21412 \end_inset
21413
21414 で囲みます.このアプローチには,
21415 いくつかの制限があることに注意してください.まず,
21416 全ての文献参照はいずれかの
21417 \begin_inset Flex Code
21418 status collapsed
21419
21420 \begin_layout Plain Layout
21421 btUnit
21422 \end_layout
21423
21424 \end_inset
21425
21426 の中になくてはなりません.そのため,
21427 定義された単位の外にある引用(たとえば「節毎」を使用した場合の,
21428 第1節の前)は,
21429 「???」と表示されてしまいます.(このような制限を回避するなどのため)
21430 \begin_inset Flex Code
21431 status collapsed
21432
21433 \begin_layout Plain Layout
21434
21435 \backslash
21436 begin{btUnit}
21437 \end_layout
21438
21439 \end_inset
21440
21441
21442 \begin_inset Flex Code
21443 status collapsed
21444
21445 \begin_layout Plain Layout
21446
21447 \backslash
21448 end{btUnit}
21449 \end_layout
21450
21451 \end_inset
21452
21453 を\SpecialChar TeX
21454 コードで入力して,
21455 自前の単位を生成することもできます.ただし,
21456
21457 \begin_inset Flex Code
21458 status collapsed
21459
21460 \begin_layout Plain Layout
21461 btUnit
21462 \end_layout
21463
21464 \end_inset
21465
21466 は入れ子にすることができないことに注意してください.第二の制限は,
21467
21468 \begin_inset Flex Code
21469 status collapsed
21470
21471 \begin_layout Plain Layout
21472 bibtopic
21473 \end_layout
21474
21475 \end_inset
21476
21477 は,
21478 引用のないものも含めて,
21479 つねに書誌情報データベースの参照すべてを保持してしまうということです.これにより奇妙なラベルが付されることがあります(例えば,
21480 データベース中にMillerという著者の2014年の著作が2つあり,
21481 その1つだけが引用されている場合,
21482 ラベルは「Miller 2014b」などとなってしまいます).
21483 \end_layout
21484
21485 \begin_layout Standard
21486
21487 \family sans
21488 Biblatex
21489 \family default
21490 を使用する場合には,
21491
21492 \begin_inset Flex Code
21493 status collapsed
21494
21495 \begin_layout Plain Layout
21496 refsection
21497 \end_layout
21498
21499 \end_inset
21500
21501 オプションが代わりに使用されます.特定の単位が必要な時には,
21502 それらの開始時に\SpecialChar TeX
21503 コードで
21504 \begin_inset Flex Code
21505 status collapsed
21506
21507 \begin_layout Plain Layout
21508
21509 \backslash
21510 newrefsection
21511 \end_layout
21512
21513 \end_inset
21514
21515 または
21516 \begin_inset Flex Code
21517 status collapsed
21518
21519 \begin_layout Plain Layout
21520
21521 \backslash
21522 newrefsegment
21523 \end_layout
21524
21525 \end_inset
21526
21527 と書きます.単位の終了箇所も制御したい場合には,
21528 代わりに
21529 \begin_inset Flex Code
21530 status collapsed
21531
21532 \begin_layout Plain Layout
21533
21534 \backslash
21535 begin{refsection}
21536 \end_layout
21537
21538 \end_inset
21539
21540  \SpecialChar ldots
21541  
21542 \begin_inset Flex Code
21543 status collapsed
21544
21545 \begin_layout Plain Layout
21546
21547 \backslash
21548 end{refsection}
21549 \end_layout
21550
21551 \end_inset
21552
21553 環境を使ってください.ただし,
21554
21555 \begin_inset Flex Code
21556 status collapsed
21557
21558 \begin_layout Plain Layout
21559 refsection
21560 \end_layout
21561
21562 \end_inset
21563
21564 関連は入れ子にできないことに注意してください.現行単位毎の書誌情報に加えて,
21565
21566 \family sans
21567 Biblatex
21568 \family default
21569 はすべての書誌情報を,
21570 後で一箇所(例えば文末)に出力する簡単な方法も提供しています.そのためには,
21571 Bib(la)TeX差込枠ダイアログの内容コンボボックスで「文献参照単位全て」を選択してください.この話題についての詳細は,
21572
21573 \family sans
21574 Biblatex
21575 \family default
21576 の取扱説明書を参照してください.
21577 \end_layout
21578
21579 \begin_layout Chapter
21580 ブリット
21581 \begin_inset CommandInset label
21582 LatexCommand label
21583 name "chap:ブリット"
21584
21585 \end_inset
21586
21587
21588 \end_layout
21589
21590 \begin_layout Standard
21591
21592 \noun on
21593 Allan Rae文
21594 \end_layout
21595
21596 \begin_layout Section
21597 はじめに
21598 \end_layout
21599
21600 \begin_layout Standard
21601 \SpecialChar LyX
21602 には,
21603 ブリットの形が216個準備されていて,
21604 簡単なダイアログから呼び出すことができます.このダイアログを使えば,
21605 箇条書き(記号)の各階層で使うブリットの形を変更することができます.この設定は文書全体に共通なので,
21606 段落ごとに別のブリットを指定することはできません
21607 \begin_inset Foot
21608 status collapsed
21609
21610 \begin_layout Plain Layout
21611 正確には可能ですが,
21612 手動で行う必要があります.
21613 \end_layout
21614
21615 \end_inset
21616
21617
21618 \end_layout
21619
21620 \begin_layout Section
21621 外見
21622 \end_layout
21623
21624 \begin_layout Standard
21625 メニュー項目の
21626 \begin_inset space \thinspace{}
21627 \end_inset
21628
21629
21630 \family sans
21631 文書\SpecialChar menuseparator
21632 設定
21633 \family default
21634
21635 \begin_inset space \thinspace{}
21636 \end_inset
21637
21638 を選択してダイアログを開き,
21639
21640 \series bold
21641 ブリット
21642 \series default
21643 タブを選択してください.
21644 \end_layout
21645
21646 \begin_layout Standard
21647 このダイアログは,
21648 ブリット形の一覧表を提示します.表左のボタン列で,
21649 6つの各ブリット形パネルを切り替えることができます.上部のボタン列では,
21650 変更するブリット階層を選択できます.
21651 \end_layout
21652
21653 \begin_layout Standard
21654
21655 \family sans
21656 任意のブリット
21657 \family default
21658 を選択すると,
21659 表下のテキスト入力欄が有効となり,
21660 そこにブリットの形の\SpecialChar LaTeX
21661 表記を入力することができます.このテキストを変更すると,
21662 同時に,
21663 必要となるパッケージを\SpecialChar LaTeX
21664 プリアンブルで指定する必要があります.
21665 \end_layout
21666
21667 \begin_layout Standard
21668 6つのパネルは,
21669 それぞれが必要とするパッケージによって分類されています.下記は,
21670 フォント名と\SpecialChar LaTeX
21671 パッケージの対応表です.
21672 \end_layout
21673
21674 \begin_layout Standard
21675 \align center
21676 \begin_inset Tabular
21677 <lyxtabular version="3" rows="7" columns="2">
21678 <features tabularvalignment="middle">
21679 <column alignment="center" valignment="top" width="0pt">
21680 <column alignment="center" valignment="top" width="0pt">
21681 <row>
21682 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21683 \begin_inset Text
21684
21685 \begin_layout Plain Layout
21686 フォント
21687 \end_layout
21688
21689 \end_inset
21690 </cell>
21691 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21692 \begin_inset Text
21693
21694 \begin_layout Plain Layout
21695
21696 \family roman
21697 \series medium
21698 \shape up
21699 \size normal
21700 \emph off
21701 \bar no
21702 \noun off
21703 \color none
21704 必要とするパッケージ
21705 \end_layout
21706
21707 \end_inset
21708 </cell>
21709 </row>
21710 <row>
21711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21712 \begin_inset Text
21713
21714 \begin_layout Plain Layout
21715
21716 \family sans
21717 標準
21718 \end_layout
21719
21720 \end_inset
21721 </cell>
21722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21723 \begin_inset Text
21724
21725 \begin_layout Plain Layout
21726
21727 \series medium
21728 \shape up
21729 \size normal
21730 \emph off
21731 \bar no
21732 \noun off
21733 \color none
21734 \SpecialChar LaTeX
21735
21736 \family roman
21737 本体
21738 \end_layout
21739
21740 \end_inset
21741 </cell>
21742 </row>
21743 <row>
21744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21745 \begin_inset Text
21746
21747 \begin_layout Plain Layout
21748
21749 \family sans
21750 \series medium
21751 \shape up
21752 \size normal
21753 \emph off
21754 \bar no
21755 \noun off
21756 \color none
21757 数式
21758 \end_layout
21759
21760 \end_inset
21761 </cell>
21762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21763 \begin_inset Text
21764
21765 \begin_layout Plain Layout
21766
21767 \family typewriter
21768 \series medium
21769 \shape up
21770 \size normal
21771 \emph off
21772 \bar no
21773 \noun off
21774 \color none
21775 amssymb.sty
21776 \end_layout
21777
21778 \end_inset
21779 </cell>
21780 </row>
21781 <row>
21782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21783 \begin_inset Text
21784
21785 \begin_layout Plain Layout
21786
21787 \family sans
21788 \series medium
21789 \shape up
21790 \size normal
21791 \emph off
21792 \bar no
21793 \noun off
21794 \color none
21795 絵文字1
21796 \end_layout
21797
21798 \end_inset
21799 </cell>
21800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21801 \begin_inset Text
21802
21803 \begin_layout Plain Layout
21804
21805 \family typewriter
21806 \series medium
21807 \shape up
21808 \size normal
21809 \emph off
21810 \bar no
21811 \noun off
21812 \color none
21813 pifont.sty
21814 \end_layout
21815
21816 \end_inset
21817 </cell>
21818 </row>
21819 <row>
21820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21821 \begin_inset Text
21822
21823 \begin_layout Plain Layout
21824
21825 \family sans
21826 \series medium
21827 \shape up
21828 \size normal
21829 \emph off
21830 \bar no
21831 \noun off
21832 \color none
21833 絵文字2
21834 \end_layout
21835
21836 \end_inset
21837 </cell>
21838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21839 \begin_inset Text
21840
21841 \begin_layout Plain Layout
21842
21843 \family typewriter
21844 \series medium
21845 \shape up
21846 \size normal
21847 \emph off
21848 \bar no
21849 \noun off
21850 \color none
21851 pifont.sty
21852 \end_layout
21853
21854 \end_inset
21855 </cell>
21856 </row>
21857 <row>
21858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21859 \begin_inset Text
21860
21861 \begin_layout Plain Layout
21862
21863 \family sans
21864 \series medium
21865 \shape up
21866 \size normal
21867 \emph off
21868 \bar no
21869 \noun off
21870 \color none
21871 絵文字3
21872 \end_layout
21873
21874 \end_inset
21875 </cell>
21876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21877 \begin_inset Text
21878
21879 \begin_layout Plain Layout
21880
21881 \family typewriter
21882 \series medium
21883 \shape up
21884 \size normal
21885 \emph off
21886 \bar no
21887 \noun off
21888 \color none
21889 pifont.sty
21890 \end_layout
21891
21892 \end_inset
21893 </cell>
21894 </row>
21895 <row>
21896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21897 \begin_inset Text
21898
21899 \begin_layout Plain Layout
21900
21901 \family sans
21902 \series medium
21903 \shape up
21904 \size normal
21905 \emph off
21906 \bar no
21907 \noun off
21908 \color none
21909 絵文字4
21910 \end_layout
21911
21912 \end_inset
21913 </cell>
21914 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21915 \begin_inset Text
21916
21917 \begin_layout Plain Layout
21918
21919 \family typewriter
21920 \series medium
21921 \shape up
21922 \size normal
21923 \emph off
21924 \bar no
21925 \noun off
21926 \color none
21927 pifont.sty
21928 \end_layout
21929
21930 \end_inset
21931 </cell>
21932 </row>
21933 </lyxtabular>
21934
21935 \end_inset
21936
21937
21938 \end_layout
21939
21940 \begin_layout Standard
21941 \SpecialChar LyX
21942 は,
21943 ユーザーが導入されていないパッケージのブリットを使用したとしても,
21944 警告を発しません.ファイルを閲覧したり印刷したりしようとしたときに\SpecialChar LaTeX
21945 エラーが出るようならば,
21946 パッケージが導入されていない可能性が大です
21947 \begin_inset Foot
21948 status collapsed
21949
21950 \begin_layout Plain Layout
21951 \SpecialChar LyX
21952 が,
21953 パッケージがなくてもブリットを使用することを許すのは,
21954 編集をここで行ったとしても,
21955 別のところへエクスポートする可能性があるからです.
21956 \end_layout
21957
21958 \end_inset
21959
21960
21961 \end_layout
21962
21963 \begin_layout Section
21964 使用法
21965 \begin_inset CommandInset label
21966 LatexCommand label
21967 name "sec:使用法"
21968
21969 \end_inset
21970
21971
21972 \end_layout
21973
21974 \begin_layout Standard
21975 変更したいブリット階層を選んで,
21976 ブリット形と寸法を選択してください.何らかの変更を加えたとしても,
21977 \SpecialChar LyX
21978 上には反映されませんが,
21979 文書の表示を行えば確認されます.
21980 \end_layout
21981
21982 \begin_layout Standard
21983 ブリット形は,
21984 適切な階層のブリットボタンをマウスで右クリックすれば,
21985 簡単に既定値に初期化することができます.
21986 \end_layout
21987
21988 \begin_layout Standard
21989 もし
21990 \begin_inset Flex 圏点
21991 status open
21992
21993 \begin_layout Plain Layout
21994 本当に
21995 \end_layout
21996
21997 \end_inset
21998
21999 段落ごとに異なるブリットの形を使いたいならば,
22000 \SpecialChar TeX
22001 コードを使って少し手を汚す必要があります.この場合も,
22002 ブリット選択ダイアログを使えば,
22003 さまざまな形のLaTeXコードを確認することができるので手助けとなるでしょう.任意に設定した段落をつくるには,
22004 以下のような選択肢があります.
22005 \end_layout
22006
22007 \begin_layout Standard
22008 \begin_inset ERT
22009 status open
22010
22011 \begin_layout Plain Layout
22012
22013
22014 \backslash
22015 let
22016 \backslash
22017 savelabelitemi=
22018 \backslash
22019 labelitemi
22020 \end_layout
22021
22022 \end_inset
22023
22024
22025 \end_layout
22026
22027 \begin_layout Standard
22028 \begin_inset ERT
22029 status open
22030
22031 \begin_layout Plain Layout
22032
22033
22034 \backslash
22035 renewcommand
22036 \backslash
22037 labelitemi[0]{
22038 \backslash
22039 small
22040 \backslash
22041 (
22042 \backslash
22043 sharp
22044 \backslash
22045 )}
22046 \end_layout
22047
22048 \end_inset
22049
22050
22051 \end_layout
22052
22053 \begin_layout Itemize
22054 特定の階層の新しいブリット形を指定するには,
22055 \SpecialChar LaTeX
22056 コマンド
22057 \begin_inset Flex Code
22058 status collapsed
22059
22060 \begin_layout Plain Layout
22061
22062 \family typewriter
22063
22064 \backslash
22065 renewcommand{}{}
22066 \end_layout
22067
22068 \end_inset
22069
22070 を使用します.あとで現在のブリット形に戻すことができるように,
22071 現在のブリット形を保存しておく必要もあります.ここで使っている箇条書きでは,
22072 第1階層のブリットを変更するために,
22073 以下の\SpecialChar LaTeX
22074 コードが使用されています.
22075 \end_layout
22076
22077 \begin_deeper
22078 \begin_layout LyX-Code
22079
22080 \family typewriter
22081
22082 \backslash
22083 let
22084 \backslash
22085 savelabelitemi=
22086 \backslash
22087 labelitemi
22088 \end_layout
22089
22090 \begin_layout LyX-Code
22091
22092 \family typewriter
22093
22094 \backslash
22095 renewcommand
22096 \backslash
22097 labelitemi[0]{
22098 \backslash
22099 small
22100 \backslash
22101 (
22102 \backslash
22103 sharp
22104 \backslash
22105 )}
22106 \end_layout
22107
22108 \end_deeper
22109 \begin_layout Itemize
22110 箇条書き(記号)の階層は,
22111
22112 \begin_inset Flex Code
22113 status collapsed
22114
22115 \begin_layout Plain Layout
22116
22117 \backslash
22118 labelitem
22119 \end_layout
22120
22121 \end_inset
22122
22123 コマンドの一部にローマ数字で指定されていることに注意してください.
22124 \end_layout
22125
22126 \begin_layout Itemize
22127 \begin_inset Argument item:1
22128 status open
22129
22130 \begin_layout Plain Layout
22131 \begin_inset ERT
22132 status open
22133
22134 \begin_layout Plain Layout
22135
22136
22137 \backslash
22138 (
22139 \backslash
22140 star
22141 \backslash
22142 )
22143 \end_layout
22144
22145 \end_inset
22146
22147
22148 \end_layout
22149
22150 \end_inset
22151
22152 各項目のブリットを指定するには,
22153
22154 \begin_inset Flex Code
22155 status collapsed
22156
22157 \begin_layout Plain Layout
22158 \SpecialChar TeX
22159 コード
22160 \end_layout
22161
22162 \end_inset
22163
22164 として入力したブリット形を,
22165 行頭に「ユーザ設定」項目差込枠(挿入\SpecialChar menuseparator
22166 ユーザ設定項目)に入れて挿入してください.たとえば,
22167 この項目の行頭には
22168 \family typewriter
22169
22170
22171 \begin_inset Flex Code
22172 status collapsed
22173
22174 \begin_layout Plain Layout
22175
22176 \family typewriter
22177
22178 \backslash
22179 (
22180 \backslash
22181 star
22182 \backslash
22183 )
22184 \end_layout
22185
22186 \end_inset
22187
22188
22189 \family default
22190 が指定されています.
22191 \end_layout
22192
22193 \begin_layout Standard
22194 \begin_inset ERT
22195 status open
22196
22197 \begin_layout Plain Layout
22198
22199
22200 \backslash
22201 renewcommand
22202 \backslash
22203 labelitemi[0]{
22204 \backslash
22205 savelabelitemi}
22206 \end_layout
22207
22208 \end_inset
22209
22210
22211 \end_layout
22212
22213 \begin_layout Standard
22214 文書全体で使用するブリット形が有効であるようにするために,
22215 labelitemを元の設定に戻す必要があります.そのためには,
22216 以下のようにします.
22217 \end_layout
22218
22219 \begin_layout LyX-Code
22220
22221 \family typewriter
22222
22223 \backslash
22224 renewcommand
22225 \backslash
22226 labelitemi[0]{
22227 \backslash
22228 savelabelitemi}
22229 \end_layout
22230
22231 \begin_layout Chapter
22232 補完ツール
22233 \end_layout
22234
22235 \begin_layout Section
22236 複合文書
22237 \end_layout
22238
22239 \begin_layout Subsection
22240 一般的な操作
22241 \end_layout
22242
22243 \begin_layout Standard
22244 たくさんの節を含んだ大きなファイルで作業をする場合,
22245 文書をいくつかのファイルに分割した方が往々にして便利ですし,
22246 場合によっては,
22247 表部分にはしょっちゅう変更が加えられるけれども,
22248 その前の文章はつねに同じであるようなケースもあるでしょう.このような場合には,
22249 複合文書を利用することを,
22250 まずご検討ください.たとえば,
22251 科学論文は通常,
22252 導入部・所見・結果・議論・結論の五つの節から成ります.これら各節を別々の\SpecialChar LyX
22253 ファイルにして,
22254 タイトル・著者・概要・書誌情報等と,
22255 これら五つのインクルード
22256 \begin_inset Foot
22257 status collapsed
22258
22259 \begin_layout Plain Layout
22260
22261 \series bold
22262 (訳註)
22263 \series default
22264 「取り込む」の意です.原語「include」に対する訳語として,
22265 プログラミング用語の「インクルードする」以外に適語がないので,
22266 ここではプログラミング用語をそのまま使用します.
22267 \end_layout
22268
22269 \end_inset
22270
22271 ファイルを持つ,
22272 もう一つ別の「マスター」ファイルを作成するようにすることができます.これらの各ファイルは,
22273 単にマスターファイルにインクルードされるだけでなく,
22274 単独でも出力したり印刷したりすることのできる完全な\SpecialChar LyX
22275 ファイルであるように注意することが重要です.しかも,
22276 これらの各ファイルは,
22277 同じ文書クラスでなくてはなりません.articleクラスとbookクラスを混在させるようなことはなさらないでください.\SpecialChar LaTeX
22278 ファイルをインクルードすることもできますが,
22279 このファイルにはプリアンブルがあってはなりません(
22280 \begin_inset Flex Code
22281 status collapsed
22282
22283 \begin_layout Plain Layout
22284
22285 \backslash
22286 begin{document}
22287 \end_layout
22288
22289 \end_inset
22290
22291 行とその前のすべて,
22292 および
22293 \begin_inset Flex Code
22294 status collapsed
22295
22296 \begin_layout Plain Layout
22297
22298 \backslash
22299 end{document}行
22300 \end_layout
22301
22302 \end_inset
22303
22304 は削除しておかなければなりません).さもないと,
22305 DVIファイルを作成する際にエラーが発生するでしょう.
22306 \end_layout
22307
22308 \begin_layout Standard
22309 \SpecialChar LyX
22310 では,
22311
22312 \family sans
22313 挿入\SpecialChar menuseparator
22314 ファイル\SpecialChar menuseparator
22315 子文書
22316 \family default
22317
22318 \begin_inset space \thinspace{}
22319 \end_inset
22320
22321 で簡単にファイルをインクルードすることができます.このメニューを選んでクリックすると,
22322 カーソルの現在位置に小さな枠が挿入されます.この枠をクリックすると,
22323 ダイアログが現れるので,
22324 そこでインクルードするファイルとインクルード方法を選択することができます.
22325 \end_layout
22326
22327 \begin_layout Standard
22328 ファイル選択ボックスは,
22329 いまや自明でしょう.インクルード方法には,
22330 「include」・「input」・「verbatim」の三つがあります.「include」と「input」は多くの点で類似していますが,
22331 いくつかの大きな違いがあります.
22332 \end_layout
22333
22334 \begin_layout Enumerate
22335 「include」されたファイルは新規頁から組版されるのに対し,
22336 「input」されたファイルは現在のページから組版されます.
22337 \end_layout
22338
22339 \begin_layout Enumerate
22340 「include」されたファイルは,
22341 それら自身がさらに他のファイル(「孫ファイル」)を「include」することはできません.一方で,
22342 「input」は無限に下層inputを持つことができます.
22343 \end_layout
22344
22345 \begin_layout Enumerate
22346 「include」は選ばれた「include」ファイルの出力しか許しませんが,
22347 実際の(ページ割りなどの)カウンタや参照は保持されます(詳細については埋込オブジェクト説明書の子文書の節を参照のこと).したがって,
22348 子文書にアウトソースされた章については「include」が好まれる方式ですが,
22349 任意のファイル継承がある場合には「input」の方が良いでしょう.
22350 \end_layout
22351
22352 \begin_layout Standard
22353 「verbatim」インクルードファイルでは,
22354 ファイルの内容がそのまま(つまり「
22355 \begin_inset Flex Code
22356 status collapsed
22357
22358 \begin_layout Plain Layout
22359 verbatim
22360 \end_layout
22361
22362 \end_inset
22363
22364 」モードで)固定幅タイプライタフォントで組版されます.通常,
22365 このファイルの空白は,
22366 通常の\SpecialChar LyX
22367 での空白の取扱いとは違って,
22368 連続した複数の空白がそのまま出力されるものの,
22369 単なる見えない空白です.ただし,
22370
22371 \family sans
22372 出力の空白に印付けをする
22373 \family default
22374 チェックボックスを有効にすると,
22375 空白が存在することを明確にするために空白の印が出力されます.
22376 \end_layout
22377
22378 \begin_layout Standard
22379 一般的に,
22380 親ファイルは,
22381 組版前に完全な\SpecialChar LaTeX
22382 ファイルに変換されますが,
22383 インクルードされるファイルはプリアンブル情報を全く持たない\SpecialChar LaTeX
22384 ファイルに変換されます.
22385 \end_layout
22386
22387 \begin_layout Subsection
22388 ファイル間の相互参照
22389 \end_layout
22390
22391 \begin_layout Standard
22392 \begin_inset Box Shadowbox
22393 position "t"
22394 hor_pos "c"
22395 has_inner_box 1
22396 inner_pos "t"
22397 use_parbox 0
22398 use_makebox 0
22399 width "100col%"
22400 special "none"
22401 height "1in"
22402 height_special "totalheight"
22403 thickness "0.4pt"
22404 separation "3pt"
22405 shadowsize "4pt"
22406 framecolor "black"
22407 backgroundcolor "none"
22408 status open
22409
22410 \begin_layout Plain Layout
22411 この節の内容は,
22412 すでに古くなっています.既定のマスター文書についてと,
22413 マスターが開いているときに子文書をどう開くかについて記述する必要があります.[[要修正]]
22414 \end_layout
22415
22416 \end_inset
22417
22418
22419 \end_layout
22420
22421 \begin_layout Standard
22422 異なるファイル間に相互参照を設定することも可能です.まず,
22423 すべての関係するファイルを開いてください.例として,
22424 2つのファイルを扱う場合を考え,
22425 各ファイルをA・Bと呼びます.BがAにインクルードされるファイルだとします.Aにラベルを入れて,
22426 Bで参照したいとしましょう.文書Bで相互参照ダイアログを開いて,
22427 使用する「バッファ」を選んでください.
22428 \end_layout
22429
22430 \begin_layout Subsection
22431 すべての子文書での書誌情報
22432 \end_layout
22433
22434 \begin_layout Standard
22435 子文書を使って作業する場合,
22436 全体の書誌情報を文末に一つだけ置きたいのだけれども,
22437 子文書単独で出力する時に限り,
22438 子文書分を抽出した書誌情報が付けられるようにしたいことがあります.以下にその方法を説明します.
22439 \end_layout
22440
22441 \begin_layout Standard
22442 親文書には,
22443 全体の書誌情報が出力されるべき場所(親ファイルでも子ファイルでも)に,
22444 書誌情報差込枠を挿入するだけです.書誌情報差込枠を親ファイルに置いた場合,
22445 文献参照はすべての子文書に継承されるので,
22446 各子文書の引用ダイアログで使用できるようになります.
22447 \end_layout
22448
22449 \begin_layout Standard
22450 子文書限定の書誌情報については,
22451 子文書内の,
22452 子文書が独立にコンパイルされた時に書誌情報が出力されるべき場所に,
22453 書誌情報差込枠を挿入します.その際,
22454 この差込枠を,
22455 たとえば「子文書のみ」などと名付けた派生枝の中に置く(
22456 \family sans
22457 挿入\SpecialChar menuseparator
22458 派生枝\SpecialChar menuseparator
22459 新規派生枝を挿入...
22460 \family default
22461 )のが肝要です.そして,
22462 子文書の中でこの派生枝を有効にし(
22463 \family sans
22464 文書\SpecialChar menuseparator
22465 設定...\SpecialChar menuseparator
22466 派生枝
22467 \family default
22468 )親文書で無効にします(
22469 \family sans
22470 文書\SpecialChar menuseparator
22471 設定...\SpecialChar menuseparator
22472 派生枝
22473 \family default
22474 ).こうすることで,
22475 子文書中の書誌情報は,
22476 親文書中では無視され,
22477 子文書中では有効になります.
22478 \end_layout
22479
22480 \begin_layout Standard
22481 複数の書誌情報が必要な場合(親文書中でも子文書ごとに書誌情報を出力するなど)は,
22482
22483 \begin_inset CommandInset ref
22484 LatexCommand ref
22485 reference "subsec:複数の書誌情報"
22486 plural "false"
22487 caps "false"
22488 noprefix "false"
22489 nolink "false"
22490
22491 \end_inset
22492
22493 節を参照してください.
22494 \end_layout
22495
22496 \begin_layout Section
22497 \SpecialChar LyX
22498 書庫
22499 \end_layout
22500
22501 \begin_layout Standard
22502 しばしばユーザーは,
22503 出版社に送ったり,
22504 共著者とやりとりするために,
22505 \SpecialChar LyX
22506 ファイルを,
22507 その依存する全画像(及び他のファイル)と「同梱」する必要に迫られることがあります.\SpecialChar LyX
22508 には,
22509 この過程を自動化するPythonスクリプト(
22510 \begin_inset Flex Code
22511 status collapsed
22512
22513 \begin_layout Plain Layout
22514 lyxpak.py
22515 \end_layout
22516
22517 \end_inset
22518
22519 )が含まれています.これを使うには,
22520
22521 \begin_inset Flex Code
22522 status collapsed
22523
22524 \begin_layout Plain Layout
22525 zipfile
22526 \end_layout
22527
22528 \end_inset
22529
22530  pythonモジュールまたは
22531 \begin_inset Flex Code
22532 status collapsed
22533
22534 \begin_layout Plain Layout
22535 tarfile
22536 \end_layout
22537
22538 \end_inset
22539
22540  pythonモジュールが,
22541 システムに導入済みであることが必要です.既定設定では,
22542 Unix系システムでは,
22543
22544 \begin_inset Flex Code
22545 status collapsed
22546
22547 \begin_layout Plain Layout
22548 gzip
22549 \end_layout
22550
22551 \end_inset
22552
22553 圧縮
22554 \begin_inset Flex Code
22555 status collapsed
22556
22557 \begin_layout Plain Layout
22558 tar
22559 \end_layout
22560
22561 \end_inset
22562
22563 ファイル形式が優先され,
22564 Windowsでは
22565 \begin_inset Flex Code
22566 status collapsed
22567
22568 \begin_layout Plain Layout
22569 zip
22570 \end_layout
22571
22572 \end_inset
22573
22574 形式が優先されます.
22575 \end_layout
22576
22577 \begin_layout Standard
22578 \SpecialChar LyX
22579 の環境構成時には,
22580 「\SpecialChar LyX
22581 書庫」を書き出すことができるようにスクリプトが準備され,
22582
22583 \family sans
22584 ファイル\SpecialChar menuseparator
22585 書き出し
22586 \family default
22587
22588 \begin_inset space \thinspace{}
22589 \end_inset
22590
22591 の下で利用可能となります.
22592 \end_layout
22593
22594 \begin_layout Standard
22595
22596 \family sans
22597 ツール\SpecialChar menuseparator
22598 設定\SpecialChar menuseparator
22599 ファイル処理\SpecialChar menuseparator
22600 変換子
22601 \family default
22602
22603 \begin_inset space \thinspace{}
22604 \end_inset
22605
22606
22607 \begin_inset space \thinspace{}
22608 \end_inset
22609
22610
22611 \family sans
22612 \SpecialChar LyX
22613 ->\SpecialChar LyX
22614 書庫
22615 \family default
22616
22617 \begin_inset space \thinspace{}
22618 \end_inset
22619
22620 変換子に,
22621
22622 \begin_inset Flex Code
22623 status collapsed
22624
22625 \begin_layout Plain Layout
22626 -t
22627 \end_layout
22628
22629 \end_inset
22630
22631 スイッチや
22632 \begin_inset Flex Code
22633 status collapsed
22634
22635 \begin_layout Plain Layout
22636 -z
22637 \end_layout
22638
22639 \end_inset
22640
22641 スイッチを加えることで,
22642 プラットホームとは独立に,
22643
22644 \begin_inset Flex Code
22645 status collapsed
22646
22647 \begin_layout Plain Layout
22648 tar
22649 \end_layout
22650
22651 \end_inset
22652
22653 形式や
22654 \begin_inset Flex Code
22655 status collapsed
22656
22657 \begin_layout Plain Layout
22658 zip
22659 \end_layout
22660
22661 \end_inset
22662
22663 形式を強制することができます(スイッチは,
22664 スクリプト名の前ではなく,
22665 後ろに加えてください).
22666 \end_layout
22667
22668 \begin_layout Chapter
22669 \SpecialChar LyX
22670 とインターネット網
22671 \end_layout
22672
22673 \begin_layout Standard
22674 \SpecialChar LyX
22675 は,
22676 これまでも長い間,
22677 HTMLを始めとするウェブフレンドリーな文書諸形式への書き出しをサポートしてきました.しかしながら,
22678 第2.0版以前では,
22679 HTMLへの書き出しは,
22680 常に外部変換子を用いることで実現されていました
22681 \begin_inset Foot
22682 status collapsed
22683
22684 \begin_layout Plain Layout
22685 \SpecialChar LyX
22686 で外部変換子を使うことについての詳細は,
22687 取扱説明書『カスタマイズ篇』の「変換子」の節をご覧ください.
22688 \end_layout
22689
22690 \end_inset
22691
22692 .これらは2つのグループに大別できます.1つは,
22693
22694 \begin_inset Flex Code
22695 status collapsed
22696
22697 \begin_layout Plain Layout
22698 htlatex
22699 \end_layout
22700
22701 \end_inset
22702
22703
22704 \begin_inset Flex Code
22705 status collapsed
22706
22707 \begin_layout Plain Layout
22708 html2latex
22709 \end_layout
22710
22711 \end_inset
22712
22713
22714 \begin_inset Flex Code
22715 status collapsed
22716
22717 \begin_layout Plain Layout
22718 plastex
22719 \end_layout
22720
22721 \end_inset
22722
22723 のように,
22724 \SpecialChar LaTeX
22725 を中間形式として用い,
22726 その\SpecialChar LaTeX
22727 を生成するのに\SpecialChar LyX
22728 を用いるもの.2つめは,
22729
22730 \begin_inset Flex Code
22731 status collapsed
22732
22733 \begin_layout Plain Layout
22734 e\SpecialChar LyX
22735 er
22736 \end_layout
22737
22738 \end_inset
22739
22740 のように,
22741 直接\SpecialChar LyX
22742 ファイルに働きかける変換子です.これらは,
22743 それぞれに長所・短所を有しています.
22744 \end_layout
22745
22746 \begin_layout Standard
22747 \SpecialChar LaTeX
22748 ベースの変換子は,
22749 原則として,
22750 \SpecialChar LaTeX
22751 が書きだす文書についてのすべてを知っているという長所があります.この種の変換子は,
22752 例えば,
22753 特定のコードのくだりが,
22754 \SpecialChar LyX
22755 によって生成されたのか,
22756 \SpecialChar TeX
22757 コードで書かれたのかについては気にしません.これらの変換子は,
22758
22759 \begin_inset Flex Code
22760 status collapsed
22761
22762 \begin_layout Plain Layout
22763 aux
22764 \end_layout
22765
22766 \end_inset
22767
22768 ファイルやカウンタや参照を取り扱うことができ,
22769 Bib\SpecialChar TeX
22770 が生成する
22771 \begin_inset Flex Code
22772 status collapsed
22773
22774 \begin_layout Plain Layout
22775 bbl
22776 \end_layout
22777
22778 \end_inset
22779
22780 ファイルも利用することがよくあります.一方で,
22781 \SpecialChar LaTeX
22782 は解析の非常に難しい言語であり—
22783 \SpecialChar TeX
22784 自身だけが\SpecialChar TeX
22785 を理解することができると言われたりすることがあります—
22786
22787 \SpecialChar LaTeX
22788 ベースの変換子は,
22789 非常に簡単な文法に見えるものでさえ飲み込めず,
22790 複雑なものになると全く歯が立たないこともあります.例えば,
22791 この現行を書いている時点では,
22792 取扱説明書『埋込オブジェクト篇』は,
22793 他の変換子では書き出しができるのに,
22794
22795 \begin_inset Flex Code
22796 status collapsed
22797
22798 \begin_layout Plain Layout
22799 htlatex
22800 \end_layout
22801
22802 \end_inset
22803
22804 では行うことができません.他には,
22805 数式をどう取り扱うかという問題があります.これらの変換子の典型的なものは,
22806 数式を小さな画像に変換して,
22807 HTML文書からこれらの画像へのリンクを張ります.これらの画像は,
22808 実は\SpecialChar LaTeX
22809 によって生成されているので,
22810 正確です.しかしながら,
22811 これらはうまく伸縮できないので,
22812 実際の文書の中で表現されるように—
22813 フォント寸が凡そ正しくなるように—
22814 見せようとすると,
22815 大変な苦労を伴います.
22816 \end_layout
22817
22818 \begin_layout Standard
22819 Alex Fernandezの
22820 \begin_inset Flex Code
22821 status collapsed
22822
22823 \begin_layout Plain Layout
22824 e\SpecialChar LyX
22825 er
22826 \end_layout
22827
22828 \end_inset
22829
22830
22831 \begin_inset CommandInset href
22832 LatexCommand href
22833 name "http://pinchito.es/elyxer/"
22834 target "http://pinchito.es/elyxer/"
22835 literal "false"
22836
22837 \end_inset
22838
22839 )は,
22840 これらの問題の一部を解決します.特に,
22841 これは数式を画像に変換するのではなく,
22842 HTMLとCSSを組み合わせて数式を生成するので,
22843 生成される数式は完璧な大きさに伸縮されて表示されます.しかしながら,
22844 ちょっとだけ複雑な数式でさえ,
22845
22846 \begin_inset Flex Code
22847 status collapsed
22848
22849 \begin_layout Plain Layout
22850 htlatex
22851 \end_layout
22852
22853 \end_inset
22854
22855 よりも質が落ちます.これはHTMLの限界を示しています
22856 \begin_inset Foot
22857 status collapsed
22858
22859 \begin_layout Plain Layout
22860 とはいえ,
22861
22862 \begin_inset Flex Code
22863 status collapsed
22864
22865 \begin_layout Plain Layout
22866 e\SpecialChar LyX
22867 er
22868 \end_layout
22869
22870 \end_inset
22871
22872 では,
22873 数式用にjsMathとMathJaxを使用することもできます.ただし,
22874 この設定はグローバルにしか設定することができず,
22875 バックエンドで実行させるサーバへのアクセスが利用できる必要があります.
22876 \end_layout
22877
22878 \end_inset
22879
22880 .さらに重要なことは(少なくとも第1.1.1版においては),
22881
22882 \begin_inset Flex Code
22883 status collapsed
22884
22885 \begin_layout Plain Layout
22886 e\SpecialChar LyX
22887 er
22888 \end_layout
22889
22890 \end_inset
22891
22892 は数式マクロを一部しかサポートしておらず,
22893 ユーザ定義の段落様式や文字様式をサポートしていません.これらの制約によって,
22894 \SpecialChar LyX
22895 ユーザが生成する文書の多くにとっては,
22896
22897 \begin_inset Flex Code
22898 status collapsed
22899
22900 \begin_layout Plain Layout
22901 e\SpecialChar LyX
22902 er
22903 \end_layout
22904
22905 \end_inset
22906
22907 は不向きなものになっています.もちろん,
22908 原理的に,
22909 これらの問題を解決することもできたのですが,
22910 \SpecialChar LyX
22911 開発陣は別の方法を採ることとし,
22912 \SpecialChar LyX
22913 が\SpecialChar LaTeX
22914 やDocBook,
22915 平文を書き出すことができるのと同様に,
22916 \SpecialChar LyX
22917 自身にXHTMLを書きだす能力を身につけさせることとしたのです.
22918 \end_layout
22919
22920 \begin_layout Standard
22921 この原稿執筆時点では,
22922 XHTML出力は開発途上であり,
22923 おそらく「実験的」機能として解されるべきでしょう
22924 \begin_inset Foot
22925 status collapsed
22926
22927 \begin_layout Plain Layout
22928 \SpecialChar LyX
22929 ソースツリーもしくは
22930 \begin_inset CommandInset href
22931 LatexCommand href
22932 name "オンラインでのアクセス"
22933 target "https://www.lyx.org/trac/browser/lyx-devel/trunk/development/HTML/HTML.notes"
22934 literal "false"
22935
22936 \end_inset
22937
22938 にある
22939 \begin_inset Flex Code
22940 status collapsed
22941
22942 \begin_layout Plain Layout
22943 development/HTML/HTML.notes
22944 \end_layout
22945
22946 \end_inset
22947
22948 ファイルには,
22949 通常,
22950 XHTML出力の現状についての最新の情報が収録されています.
22951 \begin_inset CommandInset href
22952 LatexCommand href
22953 name "バグ追跡ページ"
22954 target "https://www.lyx.org/trac/query?status=reopened&status=assigned&status=new&max=0&component=xhtml+export&order=id&col=id&col=summary&col=reporter&col=keywords&keywords=%21%7Efixedintrunk&desc=1"
22955 literal "false"
22956
22957 \end_inset
22958
22959 にあるXHTML関連バグ一覧も参照のこと.
22960 \end_layout
22961
22962 \end_inset
22963
22964 .それでもこのアプローチは,
22965 他の2つの方法よりも,
22966 潜在的な利点がいくつもあるので,
22967 開発陣はこの方法を選択したのです.
22968 \end_layout
22969
22970 \begin_layout Standard
22971 これらの利点は,
22972 主に,
22973 XHTML出力ルーチンが\SpecialChar LyX
22974 の一部となっているため,
22975 \SpecialChar LyX
22976 が出力する文書について\SpecialChar LyX
22977 が関知しているところのものは,
22978 すべて知り得るというところから来ています
22979 \begin_inset Foot
22980 status collapsed
22981
22982 \begin_layout Plain Layout
22983 他には,
22984 これらのルーチンが\SpecialChar LyX
22985 内部にあるため,
22986 \SpecialChar LyX
22987 ファイル形式や既存の差込枠の文法に変更があっても,
22988 影響を受けずに済むという利点もあります.
22989 \end_layout
22990
22991 \end_inset
22992
22993 .つまり,
22994 XHTML出力ルーチンは,
22995 (文書構造に表示されるような形での)目次や,
22996 それぞれの段落様式に関連付けられたカウンタや,
22997 ユーザ定義の様式についても知っているのです.XHTML出力ルーチンは,
22998 国際化について\SpecialChar LyX
22999 が関知しているものも知っているので,
23000 ちょうどその時に有効になっている言語に依存して,
23001 「Chapter 1」と出力されたり,
23002 「Kapitel 1」と出力されたりするのです.
23003 \end_layout
23004
23005 \begin_layout Standard
23006 汎く一般的に,
23007 出力ルーチンは,
23008 \SpecialChar LyX
23009 が文書レイアウトについて関知しているものは知っており,
23010 したがって,
23011 文書が画面上にどのように描画されるかも知っています.文書をXHTMLに出力するときには,
23012 この情報を利用します.特に,
23013 \SpecialChar LyX
23014 は,
23015 文書を画面上に描画するときに使用するレイアウト情報に対応したCSSスタイル情報を
23016 \emph on
23017 自動的に
23018 \emph default
23019 生成します.もし節見出しが,
23020 \SpecialChar LyX
23021 中でサンセリフ体かつボールド体であるとすると,
23022 (既定では)ウェブブラウザに表示した時にも,
23023 サンセリフでボールドになります.これは,
23024 節のような定義済み様式だけでなく,
23025 ユーザ定義のものも含めて,
23026 すべての様式でそうです.実際,
23027 XHTML出力ルーチンは,
23028 ユーザ定義の段落・文字様式と,
23029 \SpecialChar LyX
23030 自身の定義済み様式とを区別しません.どちらの場合も,
23031 \SpecialChar LyX
23032 が様式について関知しているところのものは,
23033 全てレイアウトファイルに含まれています.これは,
23034 脚注のような定義済み差込枠や,
23035 各種ユーザ設定差込枠でもそうです.
23036 \end_layout
23037
23038 \begin_layout Standard
23039 結果として,
23040 XHTML出力は,
23041 レイアウトファイルやモジュールを通して,
23042 \SpecialChar LaTeX
23043 出力と全く同じように,
23044 ユーザが設定したり拡張したりすることができるのです.詳細については,
23045 取扱説明書『カスタマイズ篇』の第5章をごらんください.
23046 \end_layout
23047
23048 \begin_layout Standard
23049 本章の残りでは,
23050 XHTML出力についての,
23051 さらに詳細な情報について取り扱い,
23052 その制約や,
23053 制約の回避の仕方を取り扱います.
23054 \end_layout
23055
23056 \begin_layout Section
23057 XHTMLにおける数式出力
23058 \end_layout
23059
23060 \begin_layout Standard
23061 \SpecialChar LyX
23062 では,
23063 数式描画に4つの方法を選択できます.以下に示すように,
23064 それぞれに利点と欠点があります.
23065 \end_layout
23066
23067 \begin_layout Itemize
23068 MathML
23069 \begin_inset Newline newline
23070 \end_inset
23071
23072 MathMLは,
23073 ウェブ上で数学を用いるために,
23074 特にデザインされたXMLの一方言であり,
23075 これをサポートするブラウザ上では,
23076 通常,
23077 特に美しい表現が得られます.欠点は,
23078 すべてのブラウザがMathMLをサポートしているわけではないという事と,
23079 FirefoxのようなGeckoベースのブラウザでも,
23080 サポートが完璧ではないという事です.
23081 \begin_inset Newline newline
23082 \end_inset
23083
23084 例えば,
23085 数式が
23086 \begin_inset Flex Code
23087 status collapsed
23088
23089 \begin_layout Plain Layout
23090 xymatrix
23091 \end_layout
23092
23093 \end_inset
23094
23095 パッケージを使用していたり,
23096 \SpecialChar TeX
23097 コードを使用しているなどで,
23098 もし\SpecialChar LyX
23099 が数式をMathMLとして描画できないとすると,
23100 \SpecialChar LyX
23101 は数式を代わりに画像として出力します. 
23102 \end_layout
23103
23104 \begin_layout Itemize
23105 HTML
23106 \begin_inset Newline newline
23107 \end_inset
23108
23109 前述のとおり,
23110
23111 \begin_inset Flex Code
23112 status collapsed
23113
23114 \begin_layout Plain Layout
23115 elyxer
23116 \end_layout
23117
23118 \end_inset
23119
23120 は,
23121 数式をCSSで装飾したHTMLとして出力します
23122 \begin_inset Foot
23123 status collapsed
23124
23125 \begin_layout Plain Layout
23126 \SpecialChar LyX
23127 は,
23128
23129 \begin_inset Flex Code
23130 status collapsed
23131
23132 \begin_layout Plain Layout
23133 elyxer
23134 \end_layout
23135
23136 \end_inset
23137
23138 からのHTML出力のために,
23139 CSSの一部を拝借しています.
23140 \end_layout
23141
23142 \end_inset
23143
23144 .簡単な数式では,
23145 これは非常にうまく行きますが,
23146 少し複雑な数式になると,
23147
23148 \begin_inset Flex Code
23149 status collapsed
23150
23151 \begin_layout Plain Layout
23152 elyxer
23153 \end_layout
23154
23155 \end_inset
23156
23157 は歯が立たなくなります.それでも,
23158 この方法は非常に広くサポートされているという利点があり,
23159 かなり簡単な数式を少しだけ含んでいるような文書に適しているでしょう.
23160 \begin_inset Newline newline
23161 \end_inset
23162
23163 例えば,
23164 数式が
23165 \begin_inset Flex Code
23166 status collapsed
23167
23168 \begin_layout Plain Layout
23169 xymatrix
23170 \end_layout
23171
23172 \end_inset
23173
23174 パッケージを使用していたり,
23175 \SpecialChar TeX
23176 コードを使用しているなどで,
23177 もし\SpecialChar LyX
23178 が数式をHTMLとして描画できないとすると,
23179 \SpecialChar LyX
23180 は数式を代わりに画像として出力します. 
23181 \end_layout
23182
23183 \begin_layout Itemize
23184 画像
23185 \begin_inset Newline newline
23186 \end_inset
23187
23188
23189 \begin_inset Flex Code
23190 status collapsed
23191
23192 \begin_layout Plain Layout
23193 htlatex
23194 \end_layout
23195
23196 \end_inset
23197
23198 のように,
23199 \SpecialChar LyX
23200 は数式を画像としても出力できます.この画像は,
23201 実は,
23202 自動プレビューで使用されているものと全く同じです
23203 \begin_inset Foot
23204 status collapsed
23205
23206 \begin_layout Plain Layout
23207 ただし,
23208 画像を出力に使うために,
23209 自動プレビューを入にしておく必要は
23210 \emph on
23211 ありません
23212 \emph default
23213
23214 \end_layout
23215
23216 \end_inset
23217
23218 .この方法の利点は,
23219 画像が他ならぬ\SpecialChar LaTeX
23220 によって生成されているので,
23221 非常に正確であることです.欠点は,
23222 前述したとおり,
23223 画像がビットマップなので,
23224 伸縮が全くうまく行かなかったり,
23225 コピーが出来なかったりといったことがあります.
23226 \begin_inset Newline newline
23227 \end_inset
23228
23229 画像の寸法は,
23230
23231 \family sans
23232 文書\SpecialChar menuseparator
23233 設定\SpecialChar menuseparator
23234 形式
23235 \family default
23236
23237 \begin_inset space \thinspace{}
23238 \end_inset
23239
23240 の「数式画像の伸縮」パラメータを変更することで制御できます
23241 \begin_inset Foot
23242 status collapsed
23243
23244 \begin_layout Plain Layout
23245 必要な方のために述べておくと,
23246 これは,
23247 画像の解像度をdpi(1インチあたりドット数)で制御するためのもので,
23248 75dpiを基準としています.
23249 \end_layout
23250
23251 \end_inset
23252
23253
23254 \begin_inset Newline newline
23255 \end_inset
23256
23257 もし\SpecialChar LyX
23258 が,
23259 何らかの理由によって数式の画像を生成できない(例えば,
23260 必要な\SpecialChar LaTeX
23261 パッケージが導入済みでないなど)ときは,
23262 回避策として,
23263 生の\SpecialChar LaTeX
23264 を出力します.
23265 \end_layout
23266
23267 \begin_layout Itemize
23268 \SpecialChar LaTeX
23269
23270 \begin_inset Newline newline
23271 \end_inset
23272
23273 最後に,
23274 \SpecialChar LyX
23275 は,
23276 数式を\SpecialChar LaTeX
23277 としても出力することができます.この方法は,
23278 最終手段としての出力方法である一方で,
23279 HTML文書に埋め込まれた\SpecialChar LaTeX
23280 を描画するのにJavaScriptを使用する,
23281
23282 \begin_inset CommandInset href
23283 LatexCommand href
23284 name "jsMath"
23285 target "http://www.math.union.edu/~dpvc/jsMath/"
23286 literal "false"
23287
23288 \end_inset
23289
23290 のようなツールとともに使用することもできます.\SpecialChar LyX
23291 は,
23292 jsMathで必要とされているのと同じように,
23293 \SpecialChar LaTeX
23294 部分を,
23295
23296 \begin_inset Flex Code
23297 status collapsed
23298
23299 \begin_layout Plain Layout
23300 span
23301 \end_layout
23302
23303 \end_inset
23304
23305 (行内数式用)または
23306 \begin_inset Flex Code
23307 status collapsed
23308
23309 \begin_layout Plain Layout
23310 div
23311 \end_layout
23312
23313 \end_inset
23314
23315 (別行立て数式用)に
23316 \begin_inset Flex Code
23317 status collapsed
23318
23319 \begin_layout Plain Layout
23320 class='math'
23321 \end_layout
23322
23323 \end_inset
23324
23325 を指定したもので,
23326 包んで出力します.
23327 \end_layout
23328
23329 \begin_layout Standard
23330 これらの出力方法のいずれかを
23331 \begin_inset space \thinspace{}
23332 \end_inset
23333
23334
23335 \family sans
23336 文書\SpecialChar menuseparator
23337 設定\SpecialChar menuseparator
23338 形式
23339 \family default
23340
23341 \begin_inset space \thinspace{}
23342 \end_inset
23343
23344 で選択しなくてはなりません.既定では,
23345 \SpecialChar LyX
23346 はMathMLで出力を行います.これは,
23347 文書全体に適用される設定となります.
23348 \end_layout
23349
23350 \begin_layout Standard
23351 最後に,
23352 \SpecialChar LyX
23353 では,
23354 例えば,
23355 MathMLではあまりうまく出力されないような差込枠に対して,
23356 別の出力方法を選択できる選択肢が用意されています
23357 \begin_inset Foot
23358 status collapsed
23359
23360 \begin_layout Plain Layout
23361 その他にも,
23362 \SpecialChar LyX
23363 は,
23364 差込枠に\SpecialChar TeX
23365 コードが含まれていると画像出力に回帰するので,
23366 数式中に
23367 \begin_inset Formula $a=b\relax$
23368 \end_inset
23369
23370 のような無害な\SpecialChar TeX
23371 コードを挿入することによって,
23372 画像出力を強制することができます.
23373 \end_layout
23374
23375 \end_inset
23376
23377
23378 \end_layout
23379
23380 \begin_layout Section
23381 書誌情報と引用
23382 \end_layout
23383
23384 \begin_layout Standard
23385 XHTML出力は,
23386 書誌情報と引用を完全にサポートしています.
23387 \end_layout
23388
23389 \begin_layout Standard
23390 引用ラベルは,
23391 \SpecialChar LyX
23392 画面上のラベルを生成するのと同じ機構で生成されているので,
23393 出力中のラベルは,
23394 \SpecialChar LyX
23395 中の外見と同質またはそれよりも上質な仕上がりとなっています.連番引用を使用している場合には,
23396 \SpecialChar LyX
23397 は,
23398 画面上で表示されるような各カッコに囲まれた引用キーを単純に表示するのではなく,
23399 [1]や[17]などの連番ラベルを出力します.著者-出版年形式の引用を使用している場合で,
23400 同じ著者-出版年の組み合わせが複数ある場合,
23401 \SpecialChar LyX
23402 は,
23403 Bib\SpecialChar TeX
23404 が行うように出版年に小文字を付します.ラベルは,
23405 書誌情報項目とともに印字されます.現在のところ,
23406 角括弧を丸括弧に変更するなど,
23407 ラベルの外見を変更する手段はありませんのでご注意ください.
23408 \end_layout
23409
23410 \begin_layout Standard
23411 書誌情報出力は,
23412 引用ダイアログで文献情報表示を取り扱うのと同じ機構で取り扱われているので,
23413 XHTML出力は,
23414 引用ダイアログで特定の文献項目を表示させた時のものに非常によく似ています.整形の仕方は,
23415 レイアウトファイルや望ましくはモジュールでカスタマイズすることができます.詳細については,
23416 取扱説明書『カスタマイズ篇』をご覧ください.
23417 \end_layout
23418
23419 \begin_layout Standard
23420 現在のところ,
23421 主だった瑕疵は,
23422 相互参照された情報が,
23423 関連した項目の全てに印字されてしまうことです.つまり,
23424 以下のような表示が為されます.
23425 \end_layout
23426
23427 \begin_layout Quote
23428 Jason Stanley,
23429  
23430 \begin_inset Quotes eld
23431 \end_inset
23432
23433 Context and Logical Form
23434 \begin_inset Quotes erd
23435 \end_inset
23436
23437 ,
23438  in 
23439 \emph on
23440 Language in Context:
23441  Selected Essays
23442 \emph default
23443  (Oxford:
23444  Oxford University Press,
23445  2007),
23446  pp.
23447  30–68.
23448 \end_layout
23449
23450 \begin_layout Quote
23451 Jason Stanley,
23452  
23453 \begin_inset Quotes eld
23454 \end_inset
23455
23456 Semantics in Context
23457 \begin_inset Quotes erd
23458 \end_inset
23459
23460 ,
23461  in 
23462 \emph on
23463 Language in Context:
23464  Selected Essays
23465 \emph default
23466  (Oxford:
23467  Oxford University Press,
23468  2007),
23469  pp.
23470  201–30.
23471 \end_layout
23472
23473 \begin_layout Standard
23474 これは,
23475 遠くないうちに修正されるでしょう.
23476 \end_layout
23477
23478 \begin_layout Standard
23479 現在のところ,
23480 節ごとの書誌情報出力はサポートされていません.複数の書誌情報がある場合には,
23481 \SpecialChar LyX
23482 は同じ情報を繰り返し出力してしまいます.
23483 \end_layout
23484
23485 \begin_layout Section
23486 索引
23487 \end_layout
23488
23489 \begin_layout Standard
23490 \SpecialChar LyX
23491 は,
23492 索引をXHTMLとして書きだすことができますが,
23493 現在のところ,
23494 若干の制約があります.
23495 \end_layout
23496
23497 \begin_layout Standard
23498 索引の書き出しは,
23499 ユーザーの手引きの索引の節に書かれているような手の込んだ方法を使おうとしないほうが,
23500 信頼性が保てます
23501 \begin_inset Foot
23502 status collapsed
23503
23504 \begin_layout Plain Layout
23505 ここでの主な問題は,
23506 これらの操作の際に,
23507 \SpecialChar LyX
23508 自身は何もしていないという点です.つまり,
23509 生の\SpecialChar LaTeX
23510 で入力しなくてはならないようなものをそのまま入力しているのです.
23511 \end_layout
23512
23513 \end_inset
23514
23515 .当該節の小節見出しに沿って,
23516 それらがどう処理されるかを説明しましょう.
23517 \end_layout
23518
23519 \begin_layout Itemize
23520 索引項目のグループ化(下層項目):
23521  \SpecialChar LyX
23522 はこれらをサポートしようと努めていますが,
23523 項目は「 !
23524  」(感嘆符の周りに空白)で分離しなくてはなりません.これは,
23525 そうしないと数式などで使われているエスケープされた感嘆符をチェックするのが非常に難しくなるからです.
23526 \end_layout
23527
23528 \begin_layout Itemize
23529 ページ範囲:
23530  ページ範囲については,
23531 XHTMLでは意味がないので,
23532 全くサポートされません.その代わりに,
23533 引用項目のはじめと終わりの頁それぞれに,
23534 2つの索引項目が得られるだけです.
23535 \end_layout
23536
23537 \begin_layout Itemize
23538 相互参照:
23539  相互参照のサポートはありません.\SpecialChar LyX
23540 が「|see\SpecialChar ldots
23541 」という下だりを持つ項目を検出すると,
23542 その部分はただ無視されて,
23543 残りの部分が通常の索引項目だとみなされます.
23544 \end_layout
23545
23546 \begin_layout Itemize
23547 索引項目の整序:
23548  \SpecialChar LyX
23549 は整序順の変更をサポートします.\SpecialChar LyX
23550 は,
23551 最初に検出した「@」の前の部分を取り出して,
23552 それを整序に用い,
23553 最初の「@」の後の部分を実際の項目として取り出します.現在のところ,
23554 \SpecialChar LyX
23555 はエスケープされた「@」を取り扱わないので,
23556 電子メールアドレスを索引に使わないでください.
23557 \end_layout
23558
23559 \begin_layout Itemize
23560 索引項目のレイアウト:
23561  項目は,
23562 テキスト様式ダイアログを使うなり,
23563 \SpecialChar LyX
23564 内で使用可能な方法を用いることで,
23565 索引項目を成形することができます.「項目|textbf」のような文法はサポートされません.\SpecialChar LyX
23566 は,
23567 項目内にパイプ記号「|」を検出すると,
23568 パイプ記号とその後に続くものすべてを削除してしまいます.
23569 \end_layout
23570
23571 \begin_layout Itemize
23572 複数の索引:
23573  複数の索引はサポートされていません.すべての項目は,
23574 ひとつの大きな索引として印字されます.索引が何度も印字されることを防ぐため,
23575 中心となる索引だけを印字しますので,
23576 その索引は必ず置くようにしてください.
23577 \end_layout
23578
23579 \begin_layout Section
23580 記号一覧および用語集
23581 \end_layout
23582
23583 \begin_layout Standard
23584 現在のところ,
23585 用語集のサポートはありません.この機能の追加は,
23586 比較的容易だと思われますので,
23587 あなたの貢献をお待ちしております.
23588 \end_layout
23589
23590 \begin_layout Chapter
23591 DocBook出力
23592 \end_layout
23593
23594 \begin_layout Standard
23595 \SpecialChar LyX
23596 は,
23597 HTML以外にDocBook XMLで書かれた文書を生成することができます.第2.3版以前では,
23598 DocBook文書(第4版のみ)を生成するのに限られたひな型しか使えませんでした.\SpecialChar LyX
23599 第2.4版からは,
23600 ほとんどの\SpecialChar LyX
23601 レイアウトが,
23602 有効なDocBook文書(第5版のみ)を生成することができます.この機能は\SpecialChar LyX
23603 に組み込まれ,
23604 外部ツールを使用する必要はありません.
23605 \end_layout
23606
23607 \begin_layout Standard
23608 結果として,
23609 DocBook出力は,
23610 レイアウトファイルとモジュールを通じて,
23611 \SpecialChar LaTeX
23612 出力とまったく同じように調整し拡張することができます.詳細については,
23613 取扱説明書『カスタマイズ篇』第5章を参照してください.
23614 \end_layout
23615
23616 \begin_layout Standard
23617 数式出力のような,
23618 ほとんどの\SpecialChar LyX
23619 の機能はDocBookでサポートされています.
23620 \end_layout
23621
23622 \begin_layout Itemize
23623 数式出力は,
23624 ほとんどMathMLで処理されます(主要な例外には\SpecialChar LyX
23625 でサポートされない構成物,
23626 すなわちERTがあります).すべての数式はraw \SpecialChar TeX
23627 としてDocBook出力に渡し,
23628 さらなる処理に回すこともできます.
23629 \end_layout
23630
23631 \begin_layout Itemize
23632 書誌情報と引用は,
23633 外部BibTeXファイルの使用を含めて実装されています.文献項目は,
23634 詳細な情報がわかるとき表示はされませんが,
23635 標準的なDocBook構成物として出力はされます.項目の表示は,
23636 外部DocBookプロセッサが行うものと想定されています.
23637 \end_layout
23638
23639 \begin_layout Itemize
23640 索引は,
23641 複数索引を含めてサポートされています.グループ化(
23642 \family typewriter
23643 !
23644 \family default
23645 使用)・ページ範囲・相互参照(
23646 \family typewriter
23647 |see
23648 \family default
23649 )は,
23650 エスケープすることも含めてサポートされています.項目順序(
23651 \family typewriter
23652 @
23653 \family default
23654 )やレイアウト(
23655 \family typewriter
23656 |mathbf
23657 \family default
23658 )はサポートされていません.索引項目のエスケープはサポートされていません.
23659 \end_layout
23660
23661 \begin_layout Itemize
23662 用語集は実装されています.
23663 \end_layout
23664
23665 \begin_layout Standard
23666 以下の2つの主要パラメーターを文書レベルで設定することができます.
23667 \end_layout
23668
23669 \begin_layout Itemize
23670 表の形式:
23671 \SpecialChar LyX
23672 は,
23673 ユーザーの要請に応じて,
23674 表をHTML(既定値)もしくはCALSとして生成することができます.ほとんどのDocBookプロセッサは,
23675 両方の形式を受け付けます.
23676 \end_layout
23677
23678 \begin_layout Itemize
23679 MathMLプレフィックス:
23680 DocBookでは,
23681 HTMLと違って,
23682 MathMLが自身のネームスペース内に包摂されています.すなわち,
23683 MathML標準に従うタグを示さなくてはならないということです.以下の3つの選択肢が提供されています.
23684 \end_layout
23685
23686 \begin_deeper
23687 \begin_layout Itemize
23688 インライン:
23689 MathMLネームスペースは(各数式の
23690 \family sans
23691 xmlns
23692 \family default
23693 属性を使用して)各数式用に定義されます
23694 \end_layout
23695
23696 \begin_layout Itemize
23697
23698 \family sans
23699 m
23700 \family default
23701 プレフィックス使用(既定値):
23702 MathMLネームスペースは(ルート要素で
23703 \family sans
23704 xmlns:m
23705 \family default
23706 属性を使用して)文書レベルで定義されます.各MathMLは
23707 \family sans
23708 m:math
23709 \family default
23710 のように
23711 \family sans
23712 m
23713 \family default
23714 プレフィックスを使用します.
23715 \end_layout
23716
23717 \begin_layout Itemize
23718
23719 \family sans
23720 mml
23721 \family default
23722 プレフィックス使用:
23723
23724 \family sans
23725 m
23726 \family default
23727 オプションに類似ですが
23728 \family sans
23729 mml
23730 \family default
23731 を使用します
23732 \end_layout
23733
23734 \begin_layout Standard
23735 このオプションは,
23736 \SpecialChar LyX
23737 を個人的なスタイルに合わせたい場合や,
23738 MathML用に一つのプレフィックスしか受け付けないバグ付きソフトウェアを使用する際に,
23739 とくに役に立ちます.
23740 \end_layout
23741
23742 \end_deeper
23743 \begin_layout Chapter
23744 \SpecialChar LyX
23745 サーバー
23746 \end_layout
23747
23748 \begin_layout Section
23749 はじめに
23750 \end_layout
23751
23752 \begin_layout Standard
23753 「\SpecialChar LyX
23754 サーバー」を使用すると,
23755 他のプログラムが,
23756 \SpecialChar LyX
23757 と通信したり,
23758 \SpecialChar LyX
23759 コマンドを実行させたり,
23760 \SpecialChar LyX
23761 の内部状態に関する情報を取得したりすることができるようになります.これは熟練したユーザー向けの機能ですが,
23762 便利なはずです.たとえば,
23763 \SpecialChar LyX
23764 サーバーに書き込むことによって,
23765 JabRefのような書誌情報管理ソフトが,
23766 LyXに文献引用を「押し込む」ことが可能となります.
23767 \end_layout
23768
23769 \begin_layout Section
23770 \SpecialChar LyX
23771 サーバーを開始するには
23772 \begin_inset CommandInset label
23773 LatexCommand label
23774 name "sec:サーバーを開始するには"
23775
23776 \end_inset
23777
23778
23779 \end_layout
23780
23781 \begin_layout Standard
23782 \SpecialChar LyX
23783 サーバーは,
23784 名前をつけたパイプの対を利用することで機能します.パイプは,
23785 通常
23786 \begin_inset Flex Code
23787 status collapsed
23788
23789 \begin_layout Plain Layout
23790 UserDir
23791 \end_layout
23792
23793 \end_inset
23794
23795 の下に作られ(Windowsを除く.Windowsでは,
23796 名前を付けた
23797 \begin_inset Flex 圏点
23798 status open
23799
23800 \begin_layout Plain Layout
23801 ローカルの
23802 \end_layout
23803
23804 \end_inset
23805
23806 パイプは
23807 \begin_inset Flex Code
23808 status collapsed
23809
23810 \begin_layout Plain Layout
23811
23812 \backslash
23813
23814 \backslash
23815 .
23816 \backslash
23817 pipe
23818 \end_layout
23819
23820 \end_inset
23821
23822 に特別なオブジェクトとして置かれます),
23823
23824 \begin_inset Flex Code
23825 status collapsed
23826
23827 \begin_layout Plain Layout
23828 .lyxpipe.in
23829 \end_layout
23830
23831 \end_inset
23832
23833 」および「
23834 \begin_inset Flex Code
23835 status collapsed
23836
23837 \begin_layout Plain Layout
23838 .lyxpipe.out
23839 \end_layout
23840
23841 \end_inset
23842
23843 」という名前がついています.外部プログラムは,
23844
23845 \begin_inset Flex Code
23846 status collapsed
23847
23848 \begin_layout Plain Layout
23849 .lyxpipe.in
23850 \end_layout
23851
23852 \end_inset
23853
23854 に書き込みを行い,
23855 戻りデータを
23856 \begin_inset Flex Code
23857 status collapsed
23858
23859 \begin_layout Plain Layout
23860 .lyxpipe.out
23861 \end_layout
23862
23863 \end_inset
23864
23865 から読み出します.パイプ名の語幹は,
23866
23867 \family sans
23868 ツール\SpecialChar menuseparator
23869 設定
23870 \family default
23871
23872 \begin_inset space \thinspace{}
23873 \end_inset
23874
23875 から,
23876 たとえば「
23877 \begin_inset Flex Code
23878 status collapsed
23879
23880 \begin_layout Plain Layout
23881 /home/myhome/lyxpipe
23882 \end_layout
23883
23884 \end_inset
23885
23886 」あるいはWindowsでは「
23887 \begin_inset Flex Code
23888 status collapsed
23889
23890 \begin_layout Plain Layout
23891
23892 \backslash
23893
23894 \backslash
23895 .
23896 \backslash
23897 pipe
23898 \backslash
23899 lyxpipe
23900 \end_layout
23901
23902 \end_inset
23903
23904 」などに設定することができます(ここで,
23905 lyxpipe以外の任意のファイルパス,
23906 例えば
23907 \begin_inset Flex Code
23908 status collapsed
23909
23910 \begin_layout Plain Layout
23911 "
23912 \backslash
23913
23914 \backslash
23915 .
23916 \backslash
23917 pipe
23918 \backslash
23919 my
23920 \backslash
23921 lyx
23922 \backslash
23923 pipe"
23924 \end_layout
23925
23926 \end_inset
23927
23928 なども使用できます).サーバーを開始するためには,
23929 これを
23930 \begin_inset Flex 圏点
23931 status open
23932
23933 \begin_layout Plain Layout
23934 手動で設定しなくてはなりません
23935 \end_layout
23936
23937 \end_inset
23938
23939
23940 \end_layout
23941
23942 \begin_layout Standard
23943 \SpecialChar LyX
23944 は,
23945 パイプを生成するに際して,
23946
23947 \begin_inset Flex Code
23948 status collapsed
23949
23950 \begin_layout Plain Layout
23951 .in
23952 \end_layout
23953
23954 \end_inset
23955
23956 」および「
23957 \begin_inset Flex Code
23958 status collapsed
23959
23960 \begin_layout Plain Layout
23961 .out
23962 \end_layout
23963
23964 \end_inset
23965
23966 」を付け加えます.パイプがすでに存在していれば,
23967 \SpecialChar LyX
23968 は他の\SpecialChar LyX
23969 プロセスがすでに実行中であると判断して,
23970 サーバーを開始しません.POSIX(Unix型)システムでは,
23971 なんらかの理由で,
23972 \SpecialChar LyX
23973 が終了する際に使用されていない「古い」パイプが削除されずに残ったりすると,
23974 \SpecialChar LyX
23975 はこれを削除しようとします.何らかの理由でこれが失敗した場合,
23976 手動でパイプを削除したのちに,
23977 \SpecialChar LyX
23978 を再起動する必要があります.Windowsでは,
23979 プログラムが終了したりクラッシュしたりすると,
23980 OSがパイプを削除するので,
23981 「古い」パイプが残ることはありません.
23982 \end_layout
23983
23984 \begin_layout Standard
23985 サーバーを使用する\SpecialChar LyX
23986 プロセスを複数起動するには,
23987 それぞれのプロセスに,
23988 別のユーザーディレクトリを使用させたり,
23989 別々の
23990 \begin_inset Flex Code
23991 status collapsed
23992
23993 \begin_layout Plain Layout
23994 preferences
23995 \end_layout
23996
23997 \end_inset
23998
23999 ファイルを使用させるなど,
24000 別々の設定を使用する必要があります.
24001 \end_layout
24002
24003 \begin_layout Standard
24004 クライアントプログラムを開発しようとされているのであれば,
24005 \SpecialChar LyX
24006 サーバーからのデバッグ情報を有効にすると便利かもしれません.そのためには,
24007 Lyxを
24008 \begin_inset Flex Code
24009 status collapsed
24010
24011 \begin_layout Plain Layout
24012 lyx -dbg lyxserver
24013 \end_layout
24014
24015 \end_inset
24016
24017 として起動してください.
24018 \end_layout
24019
24020 \begin_layout Standard
24021 C++言語で書かれた完全なサンプルクライアントが,
24022 ソース頒布版の
24023 \begin_inset Newline newline
24024 \end_inset
24025
24026
24027 \begin_inset Flex Code
24028 status collapsed
24029
24030 \begin_layout Plain Layout
24031 development/lyxserver/server_monitor.cpp
24032 \end_layout
24033
24034 \end_inset
24035
24036 にあります.
24037 \end_layout
24038
24039 \begin_layout Standard
24040 もう一つの便利なツールとして,
24041
24042 \begin_inset Flex Code
24043 status collapsed
24044
24045 \begin_layout Plain Layout
24046 src/client/lyxclient
24047 \end_layout
24048
24049 \end_inset
24050
24051 にあるコマンドラインベースのクライアントがあります.
24052 \end_layout
24053
24054 \begin_layout Section
24055 通常の通信
24056 \end_layout
24057
24058 \begin_layout Standard
24059 \SpecialChar LyX
24060 コールを発行するには,
24061 クライアントはASCIIテキスト行を入力パイプに書き込みまなくてはなりません.この行は,
24062 以下の書式を持ちます.
24063 \end_layout
24064
24065 \begin_layout Quote
24066 LYXCMD:
24067 \emph on
24068 クライアント名
24069 \emph default
24070 :
24071 \emph on
24072 関数
24073 \emph default
24074 :
24075 \emph on
24076 引数
24077 \end_layout
24078
24079 \begin_layout Description
24080 クライアント名 は,
24081 クライアントが自由に選べる名前です.これが用いられるのは,
24082 クライアントが他の要求クライアントから結果を見分けることができるように,
24083 \SpecialChar LyX
24084 が返答をする際,
24085 クライアント名をエコーするときだけです.
24086 \end_layout
24087
24088 \begin_layout Description
24089 関数 は,
24090 \SpecialChar LyX
24091 に実行させたい関数です.これは,
24092 ミニバッファで使用するコマンドと同じです.
24093 \end_layout
24094
24095 \begin_layout Description
24096 引数 は,
24097 一部の関数のみに効力を持つオプションの引数です(たとえば,
24098 「自己挿入」LFUNは,
24099 現在のカーソル位置に引数を文章として挿入します).
24100 \end_layout
24101
24102 \begin_layout Standard
24103 \SpecialChar LyX
24104 からの返答は,
24105 出力パイプに送り出され,
24106
24107 \end_layout
24108
24109 \begin_layout Quote
24110 INFO:
24111 \emph on
24112 クライアント名
24113 \emph default
24114 :
24115 \emph on
24116 関数
24117 \emph default
24118 :
24119 \emph on
24120 データ
24121 \end_layout
24122
24123 \begin_layout Standard
24124 の書式をしています.ここで
24125 \emph on
24126 クライアント名
24127 \emph default
24128
24129 \emph on
24130 関数
24131 \emph default
24132 は,
24133 コマンド要求からそのままエコーされますが,
24134
24135 \emph on
24136 データ
24137 \emph default
24138 はコマンド実行の結果に依存した,
24139 多少なりとも有用な情報です.「font-state」のような一部のコマンドは,
24140 \SpecialChar LyX
24141 の内部状態に関する情報を返しますが,
24142 空のデータ応答を返すものもあります.空のデータ返答は,
24143 コマンド実行が無事終わったことを意味します.
24144 \end_layout
24145
24146 \begin_layout Standard
24147 エラーが発生した場合の\SpecialChar LyX
24148 の返答は
24149 \end_layout
24150
24151 \begin_layout Quote
24152 ERROR:
24153 \emph on
24154 クライアント名
24155 \emph default
24156 :
24157 \emph on
24158 関数
24159 \emph default
24160 :
24161 \emph on
24162 エラーメッセージ
24163 \end_layout
24164
24165 \begin_layout Standard
24166 の書式をしており,
24167
24168 \emph on
24169 エラーメッセージ
24170 \emph default
24171 には,
24172 なぜコマンドが失敗したかの説明が入っているはずです.
24173 \end_layout
24174
24175 \begin_layout Standard
24176 (例)
24177 \end_layout
24178
24179 \begin_layout LyX-Code
24180 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
24181 \begin_inset Newline newline
24182 \end_inset
24183
24184 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
24185 \begin_inset Newline newline
24186 \end_inset
24187
24188 read a <~/.lyxpipe.out
24189 \begin_inset Newline newline
24190 \end_inset
24191
24192 echo $a
24193 \end_layout
24194
24195 \begin_layout Subsection
24196 AppleScript (Mac OS X)
24197 \end_layout
24198
24199 \begin_layout Standard
24200 \SpecialChar LyX
24201  2.1以降,
24202 \SpecialChar LyX
24203 は,
24204 コマンド実行を通じた通常のコミュニケーションのために,
24205 AppleScriptを使った基本的なやりとりをサポートしています.このコマンドは,
24206 直接引数(実行する
24207 \series bold
24208 function)
24209 \series default
24210 とオプション引数を取ります.これは,
24211 関数の出力を返すか,
24212 エラーをトリガーして,
24213 エラーメッセージとコードを表示します.
24214 \end_layout
24215
24216 \begin_layout Standard
24217 以下は例です.
24218 \end_layout
24219
24220 \begin_layout LyX-Code
24221 tell application "\SpecialChar LyX
24222 "
24223 \end_layout
24224
24225 \begin_layout LyX-Code
24226   try
24227 \end_layout
24228
24229 \begin_layout LyX-Code
24230     -- Stores the current file name into f
24231 \end_layout
24232
24233 \begin_layout LyX-Code
24234     set f to (run "server-get-filename" with argument "")
24235 \end_layout
24236
24237 \begin_layout LyX-Code
24238     on error the error_message number the error_number
24239 \end_layout
24240
24241 \begin_layout LyX-Code
24242       display dialog "Error:
24243  " & the error_number & ".
24244  " ¬
24245 \end_layout
24246
24247 \begin_layout LyX-Code
24248               & the error_message buttons {"OK"} default button 1
24249 \end_layout
24250
24251 \begin_layout LyX-Code
24252   end try
24253 \end_layout
24254
24255 \begin_layout LyX-Code
24256 end tell
24257 \end_layout
24258
24259 \begin_layout Section
24260 通知
24261 \end_layout
24262
24263 \begin_layout Standard
24264 \SpecialChar LyX
24265 は,
24266 発生しているイベントを,
24267 非同期的にクライアントに通知することができます.いまのところ,
24268 ユーザーがあるキー列を関数「notify」に割り当てているときのみ,
24269 \SpecialChar LyX
24270 はこの通知を行います.\SpecialChar LyX
24271 が送る文字列の書式は
24272 \end_layout
24273
24274 \begin_layout Quote
24275 \begin_inset Flex Code
24276 status collapsed
24277
24278 \begin_layout Plain Layout
24279 NOTIFY:
24280 \end_layout
24281
24282 \end_inset
24283
24284
24285 \emph on
24286 キー列
24287 \end_layout
24288
24289 \begin_layout Standard
24290 となっていて,
24291
24292 \emph on
24293 キー列
24294 \emph default
24295 は,
24296 ユーザーが実際に打鍵したキー列の印字表現になります.
24297 \end_layout
24298
24299 \begin_layout Standard
24300 この機構は,
24301 \SpecialChar LyX
24302 のコマンド群を拡張してマクロを実装するのに使用することができます.なんらかのキー列を「notify」に割り当ててください.それから出力パイプで待機するクライアントを起動し,
24303 キー列に応じたコマンドを読み込み,
24304 一つないし複数の\SpecialChar LyX
24305 コマンドを発行する\SpecialChar LyX
24306 要求と\SpecialChar LyX
24307 コールを使用する関数を開始するのです.
24308 \end_layout
24309
24310 \begin_layout Section
24311 単純な\SpecialChar LyX
24312 サーバープロトコル
24313 \end_layout
24314
24315 \begin_layout Standard
24316 \SpecialChar LyX
24317 は,
24318 セッション管理に使用することができる単純なプロトコルを実装しています.メッセージは,
24319 すべて
24320 \end_layout
24321
24322 \begin_layout Quote
24323 LYXSRV:
24324 \emph on
24325 クライアント名
24326 \emph default
24327 :
24328 \emph on
24329 プロトコルメッセージ
24330 \end_layout
24331
24332 \begin_layout Standard
24333 の書式をしており,
24334
24335 \emph on
24336 プロトコルメッセージ
24337 \emph default
24338 は「hello」ないし「bye」です.クライアントから「hello」を受け取ると,
24339 \SpecialChar LyX
24340 はメッセージを聴いていることをクライアントに伝えるために返答をし,
24341 \SpecialChar LyX
24342 が終了することをクライアントに伝えるのには,
24343 \SpecialChar LyX
24344 が「bye」を送信します.
24345 \end_layout
24346
24347 \begin_layout Section
24348 DVIとPDFの原文検索
24349 \end_layout
24350
24351 \begin_layout Standard
24352 DVI/PDFビューア
24353 \begin_inset Foot
24354 status collapsed
24355
24356 \begin_layout Plain Layout
24357 PDFの原文検索機能を提供しているビューアには,
24358 KDE/Linux上のOkularと
24359 \lang english
24360 Qpdfview on Unix
24361 \lang japanese
24362 とMac OS X上のSkim,
24363 Windows上のSumatraPDFがあります.
24364 \end_layout
24365
24366 \end_inset
24367
24368 には,
24369 原文検索(reverse searchないしinverse searchと呼ばれます)機能を提供しているものがあります.これを使えば,
24370 DVI/PDF出力の特定の場所をクリックすることによって,
24371 \SpecialChar LyX
24372 の文書中で対応する行にカーソルを移動させることができます.これを実現するためには,
24373 ビューアは\SpecialChar LyX
24374 と情報交換を行う必要があります.これは,
24375 命名パイプ(
24376 \emph on
24377 lyxpipe
24378 \emph default
24379 )を使用するか,
24380 \SpecialChar LyX
24381 が作業ディレクトリに生成するUNIXドメインソケット(
24382 \emph on
24383 lyxsocket
24384 \emph default
24385 )を使用する(これは
24386 \begin_inset Flex Code
24387 status collapsed
24388
24389 \begin_layout Plain Layout
24390 lyxclient
24391 \end_layout
24392
24393 \end_inset
24394
24395 プログラムが\SpecialChar LyX
24396 と通信するのに使用している方法です)ことで,
24397 \SpecialChar LyX
24398 サーバを経由して実現することができます.場合によっては,
24399 ビューアと\SpecialChar LyX
24400 を橋渡しする補助スクリプトを必要とすることがあるかもしれませんが,
24401 それ以外は,
24402 ビューアは\SpecialChar LyX
24403 と直接通信することができます.これは,
24404 選んだビューアと基本ソフトに依存します.また,
24405 必要とされるビューアの設定法と原文検索が実際に行われる方法とにも依存します.したがって,
24406 下記では個々のビューア毎の原文検索の設定の仕方を説明することとします.その前に,
24407 DVI/PDF出力で原文検索を有効にするためには,
24408 一般に何が必要とされるかを説明します.
24409 \end_layout
24410
24411 \begin_layout Subsection
24412 \begin_inset CommandInset label
24413 LatexCommand label
24414 name "subsec:原文検索"
24415
24416 \end_inset
24417
24418 自動有効化
24419 \end_layout
24420
24421 \begin_layout Standard
24422 ツールバーで
24423 \begin_inset Info
24424 type  "icon"
24425 arg   "buffer-toggle-output-sync"
24426 \end_inset
24427
24428 ボタンを押せば,
24429 ほとんどの場合,
24430 \SpecialChar LyX
24431 がすべてをうまくこなしてくれます.あるいは,
24432
24433 \family sans
24434 文書\SpecialChar menuseparator
24435 設定\SpecialChar menuseparator
24436 形式
24437 \family default
24438
24439 \begin_inset space \thinspace{}
24440 \end_inset
24441
24442 メニューで
24443 \family sans
24444 出力と同期
24445 \family default
24446 にチェックを入れることで有効にすることもできます.その場合,
24447 \SpecialChar LyX
24448 は,
24449 自動的に,
24450 必要なSync\SpecialChar TeX
24451 マクロ(PDFの場合)や,
24452 srcltxパッケージ(DVIの場合)を挿入してくれます.このオプションは,
24453
24454 \family sans
24455 表示/更新
24456 \family default
24457 ツールバーからも容易にアクセスすることができます.
24458 \end_layout
24459
24460 \begin_layout Standard
24461 もし,
24462 これとは別の設定が必要な場合には,
24463
24464 \family sans
24465 文書\SpecialChar menuseparator
24466 設定\SpecialChar menuseparator
24467 出力\SpecialChar menuseparator
24468 出力と同期
24469 \family default
24470
24471 \begin_inset space \thinspace{}
24472 \end_inset
24473
24474 の直下にあるドロップダウンボックスから,
24475 自製マクロを選択ないし入力することができます.
24476 \end_layout
24477
24478 \begin_layout Standard
24479 方式として
24480 \begin_inset Flex Code
24481 status collapsed
24482
24483 \begin_layout Plain Layout
24484
24485 \backslash
24486 synctex=1
24487 \end_layout
24488
24489 \end_inset
24490
24491 を用いると,
24492 gzip圧縮が有効となることに注意してください.使用しているビューアがgzip圧縮をサポートしていない場合には,
24493 代わりに
24494 \begin_inset Flex Code
24495 status collapsed
24496
24497 \begin_layout Plain Layout
24498
24499 \backslash
24500 synctex=-1
24501 \end_layout
24502
24503 \end_inset
24504
24505 を指定してください.
24506 \end_layout
24507
24508 \begin_layout Standard
24509 また,
24510
24511 \begin_inset Flex Code
24512 status collapsed
24513
24514 \begin_layout Plain Layout
24515 srcltx
24516 \end_layout
24517
24518 \end_inset
24519
24520 パッケージや
24521 \begin_inset Flex Code
24522 status collapsed
24523
24524 \begin_layout Plain Layout
24525 src-specials
24526 \end_layout
24527
24528 \end_inset
24529
24530 を取り込むと,
24531 組版上,
24532 不具合が生じることがあるのでご注意ください.したがって,
24533
24534 \begin_inset Flex Code
24535 status collapsed
24536
24537 \begin_layout Plain Layout
24538 srcltx
24539 \end_layout
24540
24541 \end_inset
24542
24543 パッケージや
24544 \begin_inset Flex Code
24545 status collapsed
24546
24547 \begin_layout Plain Layout
24548 src-specials
24549 \end_layout
24550
24551 \end_inset
24552
24553 を使用している場合には,
24554 最終版を組版する際には,
24555 出力同期を無効にするべきです.
24556 \end_layout
24557
24558 \begin_layout Standard
24559 自動設定でカバーされている範囲よりも,
24560 さらに特殊なものが必要な場合には,
24561 出力同期を手動で設定する仕方を述べた次節をお読みください.自動設定で事足りる場合には,
24562 自動設定・手動設定ともに必要となるビューア上の設定を述べた,
24563
24564 \begin_inset CommandInset ref
24565 LatexCommand ref
24566 reference "subsec:特定のビューアを設定して使うには"
24567 nolink "false"
24568
24569 \end_inset
24570
24571 節に進むことができます.
24572 \end_layout
24573
24574 \begin_layout Subsection
24575 手動有効化
24576 \end_layout
24577
24578 \begin_layout Standard
24579 \SpecialChar LaTeX
24580 は,
24581 原文検索のために複数の方法を提供しています.ある方法は
24582 \begin_inset Flex Code
24583 status collapsed
24584
24585 \begin_layout Plain Layout
24586 latex/pdflatex
24587 \end_layout
24588
24589 \end_inset
24590
24591 プログラムに組み込まれており,
24592 他の方法は外部パッケージとして提供されています.どちらを選択するかは,
24593 お使いの\SpecialChar LaTeX
24594 頒布版が既に特定の方法を提供しているか(組み込みによる方法は比較的新しいものです)と,
24595 お使いのビューアがそれに対応しているかに依存します.使用可能な方法を以下に述べます.
24596 \end_layout
24597
24598 \begin_layout Subsubsection*
24599 src-special経由のDVI組み込み検索(DVIのみ)
24600 \end_layout
24601
24602 \begin_layout Standard
24603 この方法は,
24604 DVIファイルに原文検索に必要な情報を追加するものです.これは,
24605 かなり前の\SpecialChar LaTeX
24606 から利用可能となっており(比較的最近の\SpecialChar LaTeX
24607 頒布版はすべて対応しています),
24608 安定して動作します.これを有効にするには,
24609
24610 \family sans
24611 設定\SpecialChar menuseparator
24612 ファイル処理\SpecialChar menuseparator
24613 変換子
24614 \family default
24615
24616 \begin_inset space \thinspace{}
24617 \end_inset
24618
24619
24620 \family sans
24621 LaTeX (plain)->DVI
24622 \family default
24623 ないし
24624 \family sans
24625 LaTeX (plain)->DraftDVI
24626 \family default
24627 変換子を
24628 \begin_inset Flex Code
24629 status collapsed
24630
24631 \begin_layout Plain Layout
24632 latex -src-specials $$i
24633 \end_layout
24634
24635 \end_inset
24636
24637 に変更します.もしこれが動作しないときは,
24638 お使いの\SpecialChar LaTeX
24639 エンジンが違うオプションを必要としていないか確認してください(頒布版によっては文法の異なることがあります).
24640 \end_layout
24641
24642 \begin_layout Subsubsection*
24643 外部パッケージ(PDFSyncおよびsrcltx)
24644 \end_layout
24645
24646 \begin_layout Standard
24647
24648 \emph on
24649 pdfsync
24650 \emph default
24651 および
24652 \emph on
24653 srcltx
24654 \emph default
24655 パッケージは,
24656 PDF出力(pdflatex経由)およびDVI出力での原文検索を提供します.これを有効にするには,
24657 \SpecialChar LyX
24658 プリアンブルで以下のようにパッケージを読み込んでください.
24659 \end_layout
24660
24661 \begin_layout Itemize
24662 PDFの原文検索には
24663 \begin_inset Flex Code
24664 status collapsed
24665
24666 \begin_layout Plain Layout
24667
24668 \backslash
24669 usepackage{pdfsync}
24670 \end_layout
24671
24672 \end_inset
24673
24674
24675 \end_layout
24676
24677 \begin_layout Itemize
24678 DVIの原文検索には
24679 \begin_inset Flex Code
24680 status collapsed
24681
24682 \begin_layout Plain Layout
24683
24684 \backslash
24685 usepackage[active]{srcltx}
24686 \end_layout
24687
24688 \end_inset
24689
24690
24691 \end_layout
24692
24693 \begin_layout Standard
24694 と書きます.DVIとPDFの両方の原文検索を実行できるようにするためには,
24695 プリアンブルに以下の行を挿入する方法があります.
24696 \end_layout
24697
24698 \begin_layout LyX-Code
24699
24700 \backslash
24701 usepackage{ifpdf}
24702 \begin_inset Newline newline
24703 \end_inset
24704
24705
24706 \backslash
24707 ifpdf
24708 \begin_inset Newline newline
24709 \end_inset
24710
24711   
24712 \backslash
24713 usepackage{pdfsync}
24714 \begin_inset Newline newline
24715 \end_inset
24716
24717
24718 \backslash
24719 else
24720 \begin_inset Newline newline
24721 \end_inset
24722
24723   
24724 \backslash
24725 usepackage[active]{srcltx}
24726 \begin_inset Newline newline
24727 \end_inset
24728
24729
24730 \backslash
24731 fi
24732 \end_layout
24733
24734 \begin_layout Standard
24735 このようにすれば,
24736 DVIでもPDF(pdflatex)でも正しいパッケージを使いながら,
24737 ファイルを閲覧することができます.
24738 \end_layout
24739
24740 \begin_layout Standard
24741 なお,
24742 PDFSyncは,
24743 文書の出力レイアウトに干渉する可能性があるので注意してください.したがって,
24744 仕上がり文書ではPDFSyncを無効にすることをお勧めします.
24745 \end_layout
24746
24747 \begin_layout Subsubsection*
24748 Sync\SpecialChar TeX
24749 を使った組み込み原文検索(DVIおよびPDF)
24750 \end_layout
24751
24752 \begin_layout Standard
24753 \begin_inset Flex Code
24754 status collapsed
24755
24756 \begin_layout Plain Layout
24757 (pdf)latex
24758 \end_layout
24759
24760 \end_inset
24761
24762 の最近のバージョンは,
24763 PDFおよびDVI両方の原文検索を組み込みでサポートしています.このいわゆる
24764 \emph on
24765 Sync\SpecialChar TeX
24766
24767 \emph default
24768 機能は,
24769 主に,
24770 PDFSyncパッケージをpdftexプログラムへ統合したことと,
24771 それをsrc-specialsアプローチへ取り込んだことの成果です.これを使用するためには,
24772 少なくとも\SpecialChar TeX
24773 Live 2008か最近のMik\SpecialChar TeX
24774 頒布版が必要です.また,
24775 既にSync\SpecialChar TeX
24776 サポートを提供しているPDFビューアは少ししかありません(UNIX上のOkularとQpdfview,
24777 Mac上のSkim,
24778 及びWindows上のSumatraPDFなど.詳細は次節を参照のこと).
24779 \end_layout
24780
24781 \begin_layout Standard
24782 DVI出力でSync\SpecialChar TeX
24783 を有効にするには,
24784
24785 \family sans
24786 設定\SpecialChar menuseparator
24787 ファイル処理\SpecialChar menuseparator
24788 変換子
24789 \family default
24790
24791 \begin_inset space \thinspace{}
24792 \end_inset
24793
24794
24795 \begin_inset Flex Noun
24796 status collapsed
24797
24798 \begin_layout Plain Layout
24799 LaTeX (plain) -> DVI
24800 \end_layout
24801
24802 \end_inset
24803
24804 ないし
24805 \begin_inset Flex Noun
24806 status collapsed
24807
24808 \begin_layout Plain Layout
24809 LaTeX (plain) -> DraftDVI
24810 \end_layout
24811
24812 \end_inset
24813
24814 変換子を
24815 \begin_inset Flex Code
24816 status collapsed
24817
24818 \begin_layout Plain Layout
24819 latex -synctex=1 $$i
24820 \end_layout
24821
24822 \end_inset
24823
24824 に変更します.PDF出力用には,
24825
24826 \begin_inset Flex Noun
24827 status collapsed
24828
24829 \begin_layout Plain Layout
24830 LaTeX (pdflatex) -> PDF (pdflatex)
24831 \end_layout
24832
24833 \end_inset
24834
24835 変換子を
24836 \begin_inset Flex Code
24837 status collapsed
24838
24839 \begin_layout Plain Layout
24840 pdflatex -synctex=1 $$i
24841 \end_layout
24842
24843 \end_inset
24844
24845 に変更してください.お使いのビューアが下記に記述されていない場合や,
24846 万一うまくいかない場合にはまた,
24847 ビューアをSync\SpecialChar TeX
24848 で使うのに設定を行う必要があるかどうか,
24849 お使いのビューアの取扱説明書をご確認ください.
24850 \begin_inset Foot
24851 status collapsed
24852
24853 \begin_layout Plain Layout
24854 \begin_inset Flex Code
24855 status collapsed
24856
24857 \begin_layout Plain Layout
24858 -synctex=1
24859 \end_layout
24860
24861 \end_inset
24862
24863 オプションは,
24864 gzip圧縮を有効にします.お使いのビューアがgzip圧縮をサポートしていない場合には,
24865 代わりに
24866 \begin_inset Flex Code
24867 status collapsed
24868
24869 \begin_layout Plain Layout
24870 -synctex=-1
24871 \end_layout
24872
24873 \end_inset
24874
24875 を使用してください.
24876 \end_layout
24877
24878 \end_inset
24879
24880
24881 \end_layout
24882
24883 \begin_layout Subsection
24884 特定のビューアを設定して使うには
24885 \begin_inset CommandInset label
24886 LatexCommand label
24887 name "subsec:特定のビューアを設定して使うには"
24888
24889 \end_inset
24890
24891
24892 \end_layout
24893
24894 \begin_layout Subsubsection*
24895 Xdvi(全プラットフォーム)
24896 \end_layout
24897
24898 \begin_layout Standard
24899 \SpecialChar LyX
24900 は,
24901
24902 \begin_inset Flex Code
24903 status collapsed
24904
24905 \begin_layout Plain Layout
24906 lyxclient
24907 \end_layout
24908
24909 \end_inset
24910
24911 プログラムを自動的に使うのに必要なフックを,
24912 既に提供しているので,
24913
24914 \begin_inset Flex Code
24915 status collapsed
24916
24917 \begin_layout Plain Layout
24918 xdvi
24919 \end_layout
24920
24921 \end_inset
24922
24923 を使用する場合には,
24924 DVI原文検索を実行するのに他にするべきことはありません.使用中の文書を上記で述べたように設定するだけです(原文検索は,
24925 Ctrl-クリックか,
24926 Mac OS X上ではAlt-クリックで始動します).
24927 \end_layout
24928
24929 \begin_layout Standard
24930 しかし,
24931 何らかの理由で,
24932 \SpecialChar LyX
24933 と通信するのにソケットではなく命名パイプを使用したい場合には,
24934
24935 \family sans
24936 設定\SpecialChar menuseparator
24937 ファイル処理\SpecialChar menuseparator
24938 ファイル形式
24939 \family default
24940
24941 \begin_inset space \thinspace{}
24942 \end_inset
24943
24944 のDVIビューアを
24945 \begin_inset Flex Code
24946 status collapsed
24947
24948 \begin_layout Plain Layout
24949 xdvi -editor "lyxeditor.sh %f %l"
24950 \end_layout
24951
24952 \end_inset
24953
24954
24955 \begin_inset Flex Code
24956 status collapsed
24957
24958 \begin_layout Plain Layout
24959 lyxeditor.sh
24960 \end_layout
24961
24962 \end_inset
24963
24964 は適切なスクリプト名)に変更してください
24965 \begin_inset Foot
24966 status collapsed
24967
24968 \begin_layout Plain Layout
24969 Mac OS X上では,
24970
24971 \begin_inset Flex Code
24972 status collapsed
24973
24974 \begin_layout Plain Layout
24975 DISPLAY=:0.0 xdvi -editor "lyxeditor.sh %f %l"
24976 \end_layout
24977
24978 \end_inset
24979
24980 としなくてはなりません.
24981 \end_layout
24982
24983 \end_inset
24984
24985 .たとえば,
24986 最低限のシェルスクリプトは
24987 \end_layout
24988
24989 \begin_layout LyX-Code
24990 #!/bin/sh
24991 \begin_inset Newline newline
24992 \end_inset
24993
24994 LYXPIPE="/path/to/lyxpipe"
24995 \begin_inset Newline newline
24996 \end_inset
24997
24998 COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
24999 \begin_inset Newline newline
25000 \end_inset
25001
25002 echo "$COMMAND" > "${LYXPIPE}".in || exit
25003 \begin_inset Newline newline
25004 \end_inset
25005
25006 read TMP < "${LYXPIPE}".out || exit
25007 \end_layout
25008
25009 \begin_layout Standard
25010 のようになります.ここで
25011 \begin_inset Flex Code
25012 status collapsed
25013
25014 \begin_layout Plain Layout
25015 /path/to/lyxpipe
25016 \end_layout
25017
25018 \end_inset
25019
25020 は,
25021
25022 \family sans
25023 設定\SpecialChar menuseparator
25024 パス
25025 \family default
25026
25027 \begin_inset space \thinspace{}
25028 \end_inset
25029
25030 で指定したLyXServerパイプのパスを指定してください.
25031 \begin_inset Foot
25032 status collapsed
25033
25034 \begin_layout Plain Layout
25035 ソース頒布版の
25036 \begin_inset Flex Code
25037 status collapsed
25038
25039 \begin_layout Plain Layout
25040 development/tools
25041 \end_layout
25042
25043 \end_inset
25044
25045 フォルダには,
25046 ユーザが設定した
25047 \emph on
25048 lyxpipe
25049 \emph default
25050 を探し出す
25051 \begin_inset Flex Code
25052 status collapsed
25053
25054 \begin_layout Plain Layout
25055 lyxeditor
25056 \end_layout
25057
25058 \end_inset
25059
25060 スクリプトがあります.
25061 \end_layout
25062
25063 \end_inset
25064
25065
25066 \end_layout
25067
25068 \begin_layout Subsubsection*
25069 MacDviX(Mac OS X)
25070 \end_layout
25071
25072 \begin_layout Standard
25073 \begin_inset Flex Code
25074 status collapsed
25075
25076 \begin_layout Plain Layout
25077 /Applications/MacDviX_Folder/calleditor.script
25078 \end_layout
25079
25080 \end_inset
25081
25082 の終わりに
25083 \end_layout
25084
25085 \begin_layout LyX-Code
25086 /Applications/LyX.app/Contents/MacOS/lyxeditor "$2" $1
25087 \begin_inset Newline newline
25088 \end_inset
25089
25090 exit 1
25091 \end_layout
25092
25093 \begin_layout Standard
25094 という行を付け加えてください.Applicationsフォルダ以外の場所に\SpecialChar LyX
25095 を導入した場合には,
25096 それに従って上記の行を修正してください.
25097 \end_layout
25098
25099 \begin_layout Standard
25100 原文検索は,
25101 Alt-クリック(OPTION-クリック)で始動します.
25102 \end_layout
25103
25104 \begin_layout Subsubsection*
25105 Skim(Mac OS X)
25106 \end_layout
25107
25108 \begin_layout Standard
25109
25110 \family sans
25111 設定\SpecialChar menuseparator
25112 ファイル処理\SpecialChar menuseparator
25113 ファイル書式\SpecialChar menuseparator
25114 PDF (pdflatex)
25115 \family default
25116
25117 \begin_inset space \thinspace{}
25118 \end_inset
25119
25120 のビューア設定に
25121 \begin_inset Flex Code
25122 status collapsed
25123
25124 \begin_layout Plain Layout
25125 open -a Skim.app $$i
25126 \end_layout
25127
25128 \end_inset
25129
25130 と入力し,
25131
25132 \family sans
25133 Skim\SpecialChar menuseparator
25134
25135 \series bold
25136 設定
25137 \series default
25138 \SpecialChar menuseparator
25139 Sync
25140 \family default
25141
25142 \begin_inset space \thinspace{}
25143 \end_inset
25144
25145 でLyXを選択してください.
25146 \end_layout
25147
25148 \begin_layout Standard
25149 原文検索は,
25150 COMMAND-SHIFT-クリックで始動します.
25151 \end_layout
25152
25153 \begin_layout Subsubsection*
25154 Evince(GNOME)
25155 \end_layout
25156
25157 \begin_layout Standard
25158 Evinceでは原文検索はそのままでは動きませんが,
25159 サードパーティのヘルパースクリプトを使用すれば,
25160 利用可能になります.詳細については,
25161
25162 \begin_inset CommandInset href
25163 LatexCommand href
25164 target "https://wiki.lyx.org/LyX/SyncTeX"
25165 literal "false"
25166
25167 \end_inset
25168
25169 を参照してください.
25170 \end_layout
25171
25172 \begin_layout Subsubsection*
25173 Okular(KDE)
25174 \end_layout
25175
25176 \begin_layout Standard
25177
25178 \family sans
25179 設定\SpecialChar menuseparator
25180 Okularを設定\SpecialChar menuseparator
25181 エディタ
25182 \family default
25183
25184 \begin_inset space \thinspace{}
25185 \end_inset
25186
25187 で「Lyxクライアント」をエディタとして選択してください.これによって適切なコマンド(
25188 \begin_inset Flex Code
25189 status collapsed
25190
25191 \begin_layout Plain Layout
25192 lyxclient -g %f %l
25193 \end_layout
25194
25195 \end_inset
25196
25197 )が挿入されます.
25198 \end_layout
25199
25200 \begin_layout Standard
25201 原文検索は,
25202 SHIFT-クリックで始動します.これは,
25203 Okularが「ブラウズ」モード(すなわち手のマークをクリックしたとき)にあるときのみ動作することに注意してください.
25204 \end_layout
25205
25206 \begin_layout Subsubsection*
25207 Qpdfview(UNIX)
25208 \end_layout
25209
25210 \begin_layout Standard
25211 Qpdfviewは,
25212 第0.3.5版以降,
25213 Sync\SpecialChar TeX
25214 をサポートしています.
25215 \family sans
25216 Edit\SpecialChar menuseparator
25217 Settings\SpecialChar menuseparator
25218 Behavior
25219 \family default
25220
25221 \begin_inset space \thinspace{}
25222 \end_inset
25223
25224 を開いて「Source editor」項目の入力フィールドをクリックし,
25225
25226 \begin_inset Flex Code
25227 status collapsed
25228
25229 \begin_layout Plain Layout
25230 lyxclient -g %1 %2
25231 \end_layout
25232
25233 \end_inset
25234
25235 というコマンドを入力してください.
25236 \end_layout
25237
25238 \begin_layout Standard
25239 原文検索は,
25240 ダブルクリックで始動します.
25241 \end_layout
25242
25243 \begin_layout Subsubsection*
25244 YAP(Windows)
25245 \end_layout
25246
25247 \begin_layout Standard
25248 yapを起動し,
25249
25250 \family sans
25251 View\SpecialChar menuseparator
25252 Options
25253 \family default
25254
25255 \begin_inset space \thinspace{}
25256 \end_inset
25257
25258 メニューを選択し,
25259 「Inverse DVI Search」タブを選択します.「New\SpecialChar ldots
25260 」ボタンをクリックして開くウィンドウの「Name:」フィールドに「\SpecialChar LyX
25261  Editor」(または自分の好きな名称)と入力してください.「\SpecialChar ldots
25262 」というラベルのボタンをクリックしてファイルダイアログを開き,
25263 バッチファイル
25264 \begin_inset Flex Code
25265 status collapsed
25266
25267 \begin_layout Plain Layout
25268 lyxeditor.bat
25269 \end_layout
25270
25271 \end_inset
25272
25273 (以下参照)のあるディレクトリを見つけます.
25274 \begin_inset Flex Code
25275 status collapsed
25276
25277 \begin_layout Plain Layout
25278 lyxeditor.bat
25279 \end_layout
25280
25281 \end_inset
25282
25283 を選択してプログラムの引数を
25284 \begin_inset Flex Code
25285 status collapsed
25286
25287 \begin_layout Plain Layout
25288 %f %l
25289 \end_layout
25290
25291 \end_inset
25292
25293 と指定してください.
25294 \begin_inset Flex Code
25295 status collapsed
25296
25297 \begin_layout Plain Layout
25298 lyxeditor.bat
25299 \end_layout
25300
25301 \end_inset
25302
25303 は,
25304
25305 \emph on
25306 lyxpipe
25307 \emph default
25308 を通じて\SpecialChar LyX
25309 と通信するためのラッパとして使用され,
25310 以下のようになっています.
25311 \end_layout
25312
25313 \begin_layout LyX-Code
25314 @echo off
25315 \begin_inset Newline newline
25316 \end_inset
25317
25318 echo LYXCMD:revdvi:server-goto-file-row:%~1 %2> 
25319 \backslash
25320
25321 \backslash
25322 .
25323 \backslash
25324 pipe
25325 \backslash
25326 lyxpipe.in
25327 \begin_inset Newline newline
25328 \end_inset
25329
25330 type 
25331 \backslash
25332
25333 \backslash
25334 .
25335 \backslash
25336 pipe
25337 \backslash
25338 lyxpipe.out
25339 \end_layout
25340
25341 \begin_layout Standard
25342 \SpecialChar LyX
25343 で指定した\SpecialChar LyX
25344 Serverパイプパスが,
25345
25346 \begin_inset Flex Code
25347 status collapsed
25348
25349 \begin_layout Plain Layout
25350
25351 \backslash
25352
25353 \backslash
25354 .
25355 \backslash
25356 pipe
25357 \backslash
25358 lyxpipe
25359 \end_layout
25360
25361 \end_inset
25362
25363 となっていることを確認するか,
25364
25365 \begin_inset Flex Code
25366 status collapsed
25367
25368 \begin_layout Plain Layout
25369 lyxeditor.bat
25370 \end_layout
25371
25372 \end_inset
25373
25374 ラッパの方を適切に修正してください.
25375 \end_layout
25376
25377 \begin_layout Standard
25378 yapでは,
25379 原文検索はダブルクリックで始動します.
25380 \end_layout
25381
25382 \begin_layout Subsubsection*
25383 SumatraPDF(Windows)
25384 \end_layout
25385
25386 \begin_layout Standard
25387 SumatraPDFを原文検索で使用するためには,
25388
25389 \family sans
25390 設定\SpecialChar menuseparator
25391 ファイル処理\SpecialChar menuseparator
25392 ファイル書式\SpecialChar menuseparator
25393 PDF (pdflatex)
25394 \family default
25395
25396 \begin_inset space \thinspace{}
25397 \end_inset
25398
25399 のビューア設定で
25400 \begin_inset Flex Code
25401 status collapsed
25402
25403 \begin_layout Plain Layout
25404 SumatraPDF -inverse-search "lyxeditor.bat "%f" %l"
25405 \end_layout
25406
25407 \end_inset
25408
25409
25410 \begin_inset Flex Code
25411 status collapsed
25412
25413 \begin_layout Plain Layout
25414 lyxeditor.bat
25415 \end_layout
25416
25417 \end_inset
25418
25419 は上記のラッパ)と入力してください.SumatraPDF.exeがコマンドPATHにない場合,
25420 フルファイル名を使用してください.
25421 \end_layout
25422
25423 \begin_layout Standard
25424 原文検索はダブルクリックで始動します.
25425 \end_layout
25426
25427 \begin_layout Subsubsection*
25428 YAP(Cygwin)
25429 \end_layout
25430
25431 \begin_layout Standard
25432 まずはじめに,
25433 yapがWindows環境での既定のDVIビューアになっていることを確認してから,
25434 yapを起動し,
25435
25436 \family sans
25437 View\SpecialChar menuseparator
25438 Options
25439 \family default
25440
25441 \begin_inset space \thinspace{}
25442 \end_inset
25443
25444 メニューを選択し,
25445 「Inverse DVI Search」タブを選択します.「New\SpecialChar ldots
25446 」ボタンをクリックして開くウィンドウの「Name:」フィールドに「\SpecialChar LyX
25447  Editor」(または自分の好きな名称)と入力してください.「\SpecialChar ldots
25448 」というラベルのボタンをクリックしてファイルダイアログを開き,
25449 バッチファイル
25450 \begin_inset Flex Code
25451 status collapsed
25452
25453 \begin_layout Plain Layout
25454 lyxeditor.exe
25455 \end_layout
25456
25457 \end_inset
25458
25459 プログラム(これは,
25460 Cygwinでは既定で\SpecialChar LyX
25461 実行ファイルとともに導入されます)のあるディレクトリを見つけます.
25462 \begin_inset Flex Code
25463 status collapsed
25464
25465 \begin_layout Plain Layout
25466 lyxeditor.exe
25467 \end_layout
25468
25469 \end_inset
25470
25471 を選択してプログラムの引数を
25472 \begin_inset Flex Code
25473 status collapsed
25474
25475 \begin_layout Plain Layout
25476 -g %f %l
25477 \end_layout
25478
25479 \end_inset
25480
25481 と指定してください.これによって,
25482 \SpecialChar LyX
25483 との通信に
25484 \emph on
25485 lyxsocket
25486 \emph default
25487 が使用されるようになります.何らかの理由で
25488 \emph on
25489 lyxpipe
25490 \emph default
25491 を使用したい場合には,
25492
25493 \begin_inset Flex Code
25494 status collapsed
25495
25496 \begin_layout Plain Layout
25497 -g
25498 \end_layout
25499
25500 \end_inset
25501
25502 オプションを削除して,
25503 \SpecialChar LyX
25504 設定で\SpecialChar LyX
25505 Serverパイプパスを指定することを忘れないでください.
25506 \end_layout
25507
25508 \begin_layout Standard
25509 yapでは,
25510 原文検索はダブルクリックで始動します.
25511 \end_layout
25512
25513 \begin_layout Subsubsection*
25514 SumatraPDF(Cygwin)
25515 \end_layout
25516
25517 \begin_layout Standard
25518 SumatraPDFを原文検索で使用するためには,
25519
25520 \family sans
25521 設定\SpecialChar menuseparator
25522 ファイル処理\SpecialChar menuseparator
25523 ファイル書式\SpecialChar menuseparator
25524 PDF (pdflatex)
25525 \family default
25526
25527 \begin_inset space \thinspace{}
25528 \end_inset
25529
25530 のビューア設定で
25531 \begin_inset Flex Code
25532 status collapsed
25533
25534 \begin_layout Plain Layout
25535 SumatraPDF.sh
25536 \end_layout
25537
25538 \end_inset
25539
25540 と入力してください.ここで
25541 \begin_inset Flex Code
25542 status collapsed
25543
25544 \begin_layout Plain Layout
25545 SumatraPDF.sh
25546 \end_layout
25547
25548 \end_inset
25549
25550 は以下のようなスクリプトです(お使いのコマンドパスに置きます.
25551 \begin_inset Flex Code
25552 status collapsed
25553
25554 \begin_layout Plain Layout
25555 /usr/local/bin
25556 \end_layout
25557
25558 \end_inset
25559
25560 がもっとも良い選択肢でしょう).
25561 \end_layout
25562
25563 \begin_layout LyX-Code
25564 #!/bin/bash
25565 \begin_inset Newline newline
25566 \end_inset
25567
25568 cd $(dirname $1)
25569 \begin_inset Newline newline
25570 \end_inset
25571
25572 SumatraPDF -inverse-search "lyxeditor -g %f %l" $(basename $1)
25573 \end_layout
25574
25575 \begin_layout Standard
25576 SumatraPDFは,
25577 Windowsネイティブのアプリケーションであり,
25578 \SpecialChar LyX
25579 のCygwin版が使用するPOSIXパスを理解しないので,
25580 このラッパスクリプトが必要となります.SumatraPDF.exeがお使いのコマンドパスにない場合は,
25581 上記のスクリプトでPOSIXのフルパスを使用してください.
25582 \begin_inset Flex Code
25583 status collapsed
25584
25585 \begin_layout Plain Layout
25586 -g
25587 \end_layout
25588
25589 \end_inset
25590
25591
25592 \emph on
25593 lyxsocket
25594 \emph default
25595 経由の通信を有効にします.ここでも,
25596
25597 \emph on
25598 lyxpipe
25599 \emph default
25600 を使用したい場合には,
25601
25602 \begin_inset Flex Code
25603 status collapsed
25604
25605 \begin_layout Plain Layout
25606 -g
25607 \end_layout
25608
25609 \end_inset
25610
25611 オプションを削除して,
25612 \SpecialChar LyX
25613 設定で\SpecialChar LyX
25614 Serverパイプパスを指定することを忘れないでください.
25615 \end_layout
25616
25617 \begin_layout Standard
25618 原文検索はダブルクリックで始動します.
25619 \end_layout
25620
25621 \begin_layout Section
25622 出力検索
25623 \end_layout
25624
25625 \begin_layout Standard
25626 出力検索(forward search)とは,
25627 英文名が示すとおり,
25628 いわば原文検索(reverse search)の「逆」を意味します.すなわち,
25629 \SpecialChar LyX
25630 内部から,
25631 ビューアに特定の箇所を表示させることを可能にします.(以下に説明するように)もし出力検索の準備ができていれば,
25632 カーソルを\SpecialChar LyX
25633 文書の好きなところに置いて,
25634
25635 \family sans
25636 移動\SpecialChar menuseparator
25637 出力検索
25638 \family default
25639
25640 \begin_inset space \thinspace{}
25641 \end_inset
25642
25643 を選択すると(あるいはマウスの右クリックで表示される文脈依存メニューから
25644 \family sans
25645 出力検索
25646 \family default
25647 を選択してもよい),
25648 ビューアも同じ箇所に移動します.もちろん,
25649 使用しているビューアが,
25650 この機能をサポートしていなくてはなりません.
25651 \end_layout
25652
25653 \begin_layout Standard
25654 出力検索を有効にするためには,
25655 生成されたPDF/DVI出力ファイルに,
25656 \SpecialChar TeX
25657 ソースに関する情報を追加する必要があります.これは,
25658
25659 \begin_inset CommandInset ref
25660 LatexCommand ref
25661 reference "subsec:原文検索"
25662 nolink "false"
25663
25664 \end_inset
25665
25666 節に述べられている方法で実行することができます.
25667 \end_layout
25668
25669 \begin_layout Standard
25670 次に,
25671
25672 \family sans
25673 ツール\SpecialChar menuseparator
25674 設定\SpecialChar menuseparator
25675 出力\SpecialChar menuseparator
25676 一般
25677 \family default
25678
25679 \begin_inset space \thinspace{}
25680 \end_inset
25681
25682 で自分の使うビューアを利用するように,
25683 \SpecialChar LyX
25684 を設定する必要があります.いくつかのビューアについては,
25685 試験済みの設定が前もって準備されており,
25686 ドロップダウンリストから選択することができます.これらの設定の何れも意にそぐわない場合には,
25687 ご自身で適切な設定を見つけ出して入力しなくてはなりません.定義文法は,
25688 以下の変数を使用します.
25689 \end_layout
25690
25691 \begin_layout Itemize
25692 \begin_inset Flex Code
25693 status collapsed
25694
25695 \begin_layout Plain Layout
25696 $$n
25697 \end_layout
25698
25699 \end_inset
25700
25701 :行番号
25702 \end_layout
25703
25704 \begin_layout Itemize
25705 \begin_inset Flex Code
25706 status collapsed
25707
25708 \begin_layout Plain Layout
25709 $$t
25710 \end_layout
25711
25712 \end_inset
25713
25714 :書き出された(一時).texファイル名(パスを除く)
25715 \end_layout
25716
25717 \begin_layout Itemize
25718 \begin_inset Flex Code
25719 status collapsed
25720
25721 \begin_layout Plain Layout
25722 $$f
25723 \end_layout
25724
25725 \end_inset
25726
25727 :書き出された(一時).texファイル名(パスを含む)
25728 \end_layout
25729
25730 \begin_layout Itemize
25731 \begin_inset Flex Code
25732 status collapsed
25733
25734 \begin_layout Plain Layout
25735 $$o
25736 \end_layout
25737
25738 \end_inset
25739
25740 :書き出された出力ファイル名(どちらが一時ディレクトリに存在するかに依存して,
25741 dviあるいはpdf).
25742 \end_layout
25743
25744 \begin_layout Standard
25745 yap・xdvi・okular
25746 \begin_inset Foot
25747 status collapsed
25748
25749 \begin_layout Plain Layout
25750 \begin_inset Flex Noun
25751 status collapsed
25752
25753 \begin_layout Plain Layout
25754 ツール\SpecialChar menuseparator
25755 設定\SpecialChar menuseparator
25756 ファイル処理\SpecialChar menuseparator
25757 ファイル形式
25758 \end_layout
25759
25760 \end_inset
25761
25762
25763 \begin_inset Flex Code
25764 status collapsed
25765
25766 \begin_layout Plain Layout
25767 okular --unique
25768 \end_layout
25769
25770 \end_inset
25771
25772 と設定すると良いでしょう.
25773 \end_layout
25774
25775 \end_inset
25776
25777 ・qpdfview・Sumatra PDF
25778 \begin_inset Foot
25779 status collapsed
25780
25781 \begin_layout Plain Layout
25782 SumatraPDFは,
25783 外部プログラムCMCDDE(
25784 \begin_inset CommandInset href
25785 LatexCommand href
25786 target "http://www.istri.fr/spip/zip/CMCDDE.zip"
25787 literal "false"
25788
25789 \end_inset
25790
25791 からダウンロード可能)を通じてDDEコマンドを使用することもできます.
25792 \end_layout
25793
25794 \end_inset
25795
25796 など,
25797 一部のビューアでしか,
25798 完全な出力検索機能は提供されていないことに注意してください
25799 \begin_inset Foot
25800 status collapsed
25801
25802 \begin_layout Plain Layout
25803 SumatraPDFも,
25804 外部プログラムCMCDDEを通じて,
25805 DDEコマンドを使用することができます.CMCDDEは,
25806
25807 \begin_inset CommandInset href
25808 LatexCommand href
25809 target "http://www.istri.fr/spip/zip/CMCDDE.zip"
25810 literal "false"
25811
25812 \end_inset
25813
25814 からダウンロードすることができます.
25815 \end_layout
25816
25817 \end_inset
25818
25819 .Evince
25820 \begin_inset Foot
25821 status collapsed
25822
25823 \begin_layout Plain Layout
25824 Evinceでの出力検索は,
25825 サードパーティのヘルパースクリプトを使用すれば,
25826 利用可能になります.詳細については,
25827
25828 \begin_inset CommandInset href
25829 LatexCommand href
25830 target "https://wiki.lyx.org/LyX/SyncTeX"
25831 literal "false"
25832
25833 \end_inset
25834
25835 を参照してください.
25836 \end_layout
25837
25838 \end_inset
25839
25840 など他のビューアには,
25841 出力検索を使用するのに,
25842 追加のツールを必要とするものもあります.広く使われているPDFビューアの多く(特にAdobe Reader)は,
25843 出力検索を全く提供していませんが,
25844 他の一部のビューア(たとえばxpdf)では,
25845 少なくとも,
25846 文書を読み込み直したり,
25847 ファイルの特定ページに移動することはできますので,
25848 少なくとも「近く」には移動することができます.この後者の機能は,
25849 synctexの外部コールで提供されています(事前に用意されている用例をご覧ください).
25850 \end_layout
25851
25852 \begin_layout Standard
25853 出力検索は,
25854 DVI出力とPDF出力の双方で動作します.\SpecialChar LyX
25855 は,
25856 過去にあなたが使用したプレビュー形式をチェックして(つまり,
25857 一時ディレクトリにどちらの形式が存在するかをチェックして),
25858 その形式に適切な設定を選択します.
25859 \end_layout
25860
25861 \begin_layout Chapter
25862 ソフトウェアを追加する必要がある \SpecialChar LyX
25863 機能
25864 \end_layout
25865
25866 \begin_layout Section
25867 \SpecialChar TeX
25868 のチェック
25869 \end_layout
25870
25871 \begin_layout Standard
25872
25873 \noun on
25874 Asger Alstrup
25875 \noun default
25876
25877 \end_layout
25878
25879 \begin_layout Subsection
25880 はじめに
25881 \end_layout
25882
25883 \begin_layout Standard
25884
25885 \family typewriter
25886 chktex
25887 \family default
25888 プログラムが導入されていると
25889 \begin_inset Foot
25890 status collapsed
25891
25892 \begin_layout Plain Layout
25893 \SpecialChar LaTeX
25894 頒布版としてMiK\SpecialChar TeX
25895 を使用している場合には,
25896
25897 \family typewriter
25898 chktex
25899 \family default
25900 はまだ利用可能ではありません.
25901 \end_layout
25902
25903 \end_inset
25904
25905
25906
25907 \family sans
25908 ツール
25909 \family default
25910 メニューの下に,
25911
25912 \family sans
25913 \SpecialChar TeX
25914 構文チェック
25915 \family default
25916 という項目が表示されます.
25917 \family typewriter
25918 chktex
25919 \family default
25920 は,
25921 CTAN
25922 \begin_inset Newline newline
25923 \end_inset
25924
25925
25926 \begin_inset CommandInset href
25927 LatexCommand href
25928 target "https://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
25929 literal "false"
25930
25931 \end_inset
25932
25933 から入手することができます.
25934 \end_layout
25935
25936 \begin_layout Standard
25937
25938 \family sans
25939 Chk\SpecialChar TeX
25940
25941 \family default
25942 パッケージは,
25943 \SpecialChar LaTeX
25944 の構成物には直感的でないものもあり,
25945 すぐ忘れてしまいがちであるのに不満を感じた
25946 \begin_inset Flex Noun
25947 status collapsed
25948
25949 \begin_layout Plain Layout
25950 Jens T.
25951  Berger Thielemann
25952 \end_layout
25953
25954 \end_inset
25955
25956 が書いたプログラムです.このプログラムは,
25957 \SpecialChar LaTeX
25958 ファイルを走査して,
25959 ファイルの整合性をチェックし,
25960 犯しがちな誤りを見つけ出します.別の技術用語では,
25961 LaTeXにおける
25962 \family typewriter
25963 lint
25964 \family default
25965 であるとも言えます.
25966 \end_layout
25967
25968 \begin_layout Standard
25969 さて,
25970 \SpecialChar LyX
25971 はつねに正しい\SpecialChar LaTeX
25972 ファイルを生成するはずなのに,
25973 文法チェッカーは\SpecialChar LyX
25974 で何をするというのでしょうか.答えは簡単です.
25975 \family typewriter
25976 lint
25977 \family default
25978 がC言語プログラムの
25979 \begin_inset Flex 圏点
25980 status open
25981
25982 \begin_layout Plain Layout
25983 文法
25984 \end_layout
25985
25986 \end_inset
25987
25988 をチェックするだけでなく,
25989 打ち間違いによる
25990 \begin_inset Flex 圏点
25991 status open
25992
25993 \begin_layout Plain Layout
25994 意味上の
25995 \end_layout
25996
25997 \end_inset
25998
25999 チェックも行うように,
26000
26001 \family sans
26002 Chk\SpecialChar TeX
26003
26004 \family default
26005 は,
26006 文法エラーの他に犯しがちな
26007 \begin_inset Flex 圏点
26008 status open
26009
26010 \begin_layout Plain Layout
26011 写植上の
26012 \end_layout
26013
26014 \end_inset
26015
26016 誤りも検出してくれるからです.
26017 \family sans
26018 Chk\SpecialChar TeX
26019
26020 \family default
26021 は,
26022 以下のような誤りを検出することができます.
26023 \end_layout
26024
26025 \begin_layout Itemize
26026 省略記号の検出:
26027
26028 \begin_inset Newline newline
26029 \end_inset
26030
26031 ...ではなく\SpecialChar ldots
26032 を使わなくてはなりません
26033 \end_layout
26034
26035 \begin_layout Itemize
26036 括弧の前後にスペースを置かない:
26037
26038 \begin_inset Newline newline
26039 \end_inset
26040
26041 ( wrong spacing ):
26042 誤った空白
26043 \end_layout
26044
26045 \begin_layout Itemize
26046 よく使われる省略形の後ろは通常スペースにする:
26047
26048 \begin_inset Newline newline
26049 \end_inset
26050
26051 e.
26052 \begin_inset space \thinspace{}
26053 \end_inset
26054
26055 g.
26056 \begin_inset space \space{}
26057 \end_inset
26058
26059 is too wide spacing.:
26060 広すぎる空白
26061 \end_layout
26062
26063 \begin_layout Itemize
26064 直前の文章が大文字で終わっているときに,
26065 文末スペースに直す:
26066
26067 \begin_inset Newline newline
26068 \end_inset
26069
26070 This is a TEST.
26071  And this is wrong spacing.:
26072 誤った空白
26073 \end_layout
26074
26075 \begin_layout Itemize
26076 ラベルや類似コマンドの前のスペース:
26077
26078 \begin_inset Newline newline
26079 \end_inset
26080
26081 ラベルが別のページに行ってしまわないように,
26082 ラベルは文章に接していなくてはなりません. 
26083 \begin_inset CommandInset label
26084 LatexCommand label
26085 name "sec:chktex"
26086
26087 \end_inset
26088
26089  
26090 \begin_inset Foot
26091 status collapsed
26092
26093 \begin_layout Plain Layout
26094 この脚注は,
26095 正しくないページに行ってしまう恐れがあります.
26096 \end_layout
26097
26098 \end_inset
26099
26100  このラベルは離れすぎです.
26101 \end_layout
26102
26103 \begin_layout Itemize
26104 参照の前にハードスペースではなくスペース:
26105
26106 \begin_inset Newline newline
26107 \end_inset
26108
26109 運が悪ければ,
26110 参照文字列と参照番号のあいだでちょうど改行されてしまい,
26111 残念な結果となります.第
26112 \begin_inset CommandInset ref
26113 LatexCommand ref
26114 reference "sec:chktex"
26115 nolink "false"
26116
26117 \end_inset
26118
26119 節をご覧ください.
26120 \end_layout
26121
26122 \begin_layout Itemize
26123 数字のあいだで
26124 \begin_inset Formula $\times$
26125 \end_inset
26126
26127 ではなく「x」が使われている:
26128
26129 \begin_inset Newline newline
26130 \end_inset
26131
26132 2x2は,
26133
26134 \begin_inset Formula $2\times2$
26135 \end_inset
26136
26137 よりも安っぽく見えます.
26138 \end_layout
26139
26140 \begin_layout Standard
26141 などなど\SpecialChar ldots
26142
26143 \family sans
26144 Chk\SpecialChar TeX
26145
26146 \family default
26147 は,
26148 印刷する前に文書を「仕上げる」上で,
26149 たいへん価値のあるツールです.必須のスペルチェックを終えた直後,
26150 組版の微調整をする前には,
26151 これを実行するべきです.
26152 \end_layout
26153
26154 \begin_layout Subsection
26155 使いかた
26156 \end_layout
26157
26158 \begin_layout Standard
26159 このプログラムを導入したならば,
26160 使うのは
26161 \family sans
26162 ツール\SpecialChar menuseparator
26163 \SpecialChar TeX
26164 構文チェック
26165 \family default
26166 を選択するだけなので簡単です.こうすると,
26167 \SpecialChar LyX
26168 は使用中の文書の\SpecialChar LaTeX
26169 ファイルを生成して,
26170
26171 \family sans
26172 Chk\SpecialChar TeX
26173
26174 \family default
26175 を起動し,
26176 当該ファイルを検査しますが,
26177
26178 \family sans
26179 Chk\SpecialChar TeX
26180
26181 \family default
26182 から警告があった場合には,
26183 それを含んだ「エラーボックス」を\SpecialChar LyX
26184 中に挿入します.警告は,
26185 誤りのある箇所のそばに置かれるので,
26186 メニュー項目の
26187 \family sans
26188
26189 \begin_inset space \thinspace{}
26190 \end_inset
26191
26192 移動\SpecialChar menuseparator
26193 エラー
26194 \family default
26195
26196 \begin_inset space \thinspace{}
26197 \end_inset
26198
26199 を選択するか,
26200 既定の
26201 \family typewriter
26202 cua
26203 \family default
26204 キー設定ファイルならばショートカットキー
26205 \family sans
26206 C-g
26207 \family default
26208 を押せば,
26209 簡単に警告の箇所を見出すことができます.エラーボックスを開けるには,
26210 マウスでボックスをクリックするか,
26211
26212 \family typewriter
26213 cua
26214 \family default
26215 キー設定の場合にはショートカットキー
26216 \family sans
26217 C-i
26218 \family default
26219
26220
26221 \family typewriter
26222 emacs
26223 \family default
26224 キー設定の場合はショートカットキー
26225 \family sans
26226 C-o
26227 \family default
26228 を押します.警告を読み,
26229 それが誤りを示していれば修正します.警告が何を意味しているか理解しにくい場合には,
26230 無視しても問題はありません.画面上の文書と,
26231
26232 \family sans
26233 Chk\SpecialChar TeX
26234
26235 \family default
26236 を起動する際に行なわれる実際の技術的な操作のあいだには,
26237 隠された層があり,
26238 この隔たりのせいで,
26239 一部の警告が不可解なものになったり,
26240 明らかに馬鹿げたものになる場合があるのです.
26241 \end_layout
26242
26243 \begin_layout Standard
26244 本文書自体,
26245 この機能を確認する良い材料になりますので,
26246 実行してみてください.すると,
26247 かなりの量の警告が出るはずです.これはコンピュータが敏感すぎるせいですので,
26248 警告のほとんどは実際には警告に値しません.
26249 \end_layout
26250
26251 \begin_layout Subsection
26252 微調整のしかた
26253 \end_layout
26254
26255 \begin_layout Standard
26256 場合によっては,
26257
26258 \family sans
26259 Chk\SpecialChar TeX
26260
26261 \family default
26262 は,
26263 あなたが望むよりも煩すぎると思うかもしれません.そのような場合には,
26264 必要と思うまで
26265 \family sans
26266 Chk\SpecialChar TeX
26267
26268 \family default
26269 を無効にするか,
26270 あなたにもう少し合うように
26271 \family sans
26272 Chk\SpecialChar TeX
26273
26274 \family default
26275 を調整することができます.
26276 \end_layout
26277
26278 \begin_layout Standard
26279
26280 \family sans
26281 Chk\SpecialChar TeX
26282
26283 \family default
26284 は調整や拡張がひじょうに柔軟なのですが,
26285 \SpecialChar LyX
26286 における
26287 \family sans
26288 Chk\SpecialChar TeX
26289
26290 \family default
26291 関連の問題が,
26292 それですべて解決すると思うべきではありません.\SpecialChar LyX
26293 は,
26294
26295 \family sans
26296 Chk\SpecialChar TeX
26297
26298 \family default
26299 出力
26300 \begin_inset Foot
26301 status collapsed
26302
26303 \begin_layout Plain Layout
26304
26305 \family sans
26306 chktex
26307 \family default
26308 の実際の出力は,
26309
26310 \family sans
26311 chktex
26312 \family default
26313 を実行した直後に
26314 \family sans
26315
26316 \begin_inset space \thinspace{}
26317 \end_inset
26318
26319
26320 \series bold
26321 文書
26322 \series default
26323 \SpecialChar menuseparator
26324 \SpecialChar LaTeX
26325
26326 \series bold
26327 ログ
26328 \family default
26329 \series default
26330
26331 \begin_inset space \thinspace{}
26332 \end_inset
26333
26334 を使えば見ることができます.
26335 \end_layout
26336
26337 \end_inset
26338
26339 から得た行番号と内部構造を一致させるため,
26340 やや特殊な\SpecialChar LaTeX
26341 ファイルを生成しなくてはならないので,
26342 警告の一部は正しく表示されていないように見えるでしょう.これに対処するためには,
26343 以下の2つの方法があります.
26344 \end_layout
26345
26346 \begin_layout Itemize
26347
26348 \family sans
26349 ツール\SpecialChar menuseparator
26350 設定\SpecialChar menuseparator
26351 出力\SpecialChar menuseparator
26352 \SpecialChar LaTeX
26353 \SpecialChar menuseparator
26354 Check\SpecialChar TeX
26355 コマンド
26356 \family default
26357
26358 \begin_inset space \thinspace{}
26359 \end_inset
26360
26361 中の
26362 \family sans
26363 Chk\SpecialChar TeX
26364
26365 \family default
26366 起動コマンドラインを調整するか,
26367 グローバルな
26368 \family sans
26369 Chk\SpecialChar TeX
26370
26371 \family default
26372 の設定ファイル(通常は
26373 \begin_inset Flex Code
26374 status collapsed
26375
26376 \begin_layout Plain Layout
26377 chktexrc
26378 \end_layout
26379
26380 \end_inset
26381
26382 ファイル)を調整します.コマンドラインからどの警告を有効・無効にできるかは以下をご覧ください.
26383 \end_layout
26384
26385 \begin_layout Itemize
26386
26387 \family sans
26388 ファイル\SpecialChar menuseparator
26389 書き出し\SpecialChar menuseparator
26390 \SpecialChar LaTeX
26391
26392 \family default
26393
26394 \begin_inset space \thinspace{}
26395 \end_inset
26396
26397 を使って文書を\SpecialChar LaTeX
26398 ファイルに変換し,
26399 そのファイルに対して
26400 \family typewriter
26401 chktex
26402 \family default
26403 を手動で実行します.このようにすると,
26404 \SpecialChar LyX
26405 文書中の対応箇所を見つけるのがやや面倒ですが,
26406 少し我慢すれば見つけることができます.
26407 \end_layout
26408
26409 \begin_layout Standard
26410 以下は,
26411
26412 \family sans
26413 設定
26414 \family default
26415 で有効化・無効化できる警告メッセージです.警告を無効にするには
26416 \family typewriter
26417 -n#
26418 \family default
26419
26420 有効にするには
26421 \family typewriter
26422 -w#
26423 \family default
26424 を用います.イタリック表示の項目は,
26425 既定で無効となっています.既定値は "
26426 \family typewriter
26427 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
26428 \family default
26429 "です.
26430 \end_layout
26431
26432 \begin_layout Standard
26433 \SpecialChar LyX
26434 は,
26435
26436 \family typewriter
26437 chktex
26438 \family default
26439 と通信するために,
26440 他のコマンドラインパラメータを特定の方法で使用しているため,
26441 メッセージを有効化・無効化する以外のオプションを使うべきではありません.
26442 \end_layout
26443
26444 \begin_layout Enumerate
26445
26446 \size small
26447 \emph on
26448 Command terminated with space.
26449 \end_layout
26450
26451 \begin_layout Enumerate
26452
26453 \size small
26454 Non-breaking space (
26455 \begin_inset Quotes eld
26456 \end_inset
26457
26458
26459 \family typewriter
26460 ~
26461 \family default
26462
26463 \begin_inset Quotes erd
26464 \end_inset
26465
26466 ) should have been used.
26467 \end_layout
26468
26469 \begin_layout Enumerate
26470
26471 \size small
26472 \emph on
26473 You should enclose the previous parenthesis with 
26474 \begin_inset Quotes eld
26475 \end_inset
26476
26477
26478 \family typewriter
26479 {}
26480 \family default
26481
26482 \begin_inset Quotes erd
26483 \end_inset
26484
26485 .
26486 \end_layout
26487
26488 \begin_layout Enumerate
26489
26490 \size small
26491 Italic correction (
26492 \begin_inset Quotes eld
26493 \end_inset
26494
26495
26496 \family typewriter
26497
26498 \backslash
26499 /
26500 \family default
26501
26502 \begin_inset Quotes erd
26503 \end_inset
26504
26505 ) found in non-italic buffer.
26506 \end_layout
26507
26508 \begin_layout Enumerate
26509
26510 \size small
26511 Italic correction (
26512 \begin_inset Quotes eld
26513 \end_inset
26514
26515
26516 \family typewriter
26517
26518 \backslash
26519 /
26520 \family default
26521
26522 \begin_inset Quotes erd
26523 \end_inset
26524
26525 ) found more than once.
26526 \end_layout
26527
26528 \begin_layout Enumerate
26529
26530 \size small
26531 \emph on
26532 No italic correction (
26533 \begin_inset Quotes eld
26534 \end_inset
26535
26536
26537 \family typewriter
26538
26539 \backslash
26540 /
26541 \family default
26542
26543 \begin_inset Quotes erd
26544 \end_inset
26545
26546 ) found.
26547 \end_layout
26548
26549 \begin_layout Enumerate
26550
26551 \size small
26552 Accent command 
26553 \begin_inset Quotes eld
26554 \end_inset
26555
26556
26557 \family typewriter
26558 cmd
26559 \family default
26560
26561 \begin_inset Quotes erd
26562 \end_inset
26563
26564  needs use of 
26565 \begin_inset Quotes eld
26566 \end_inset
26567
26568
26569 \family typewriter
26570 cmd
26571 \family default
26572
26573 \begin_inset Quotes erd
26574 \end_inset
26575
26576 .
26577 \end_layout
26578
26579 \begin_layout Enumerate
26580
26581 \size small
26582 Wrong length of dash may have been used.
26583 \end_layout
26584
26585 \begin_layout Enumerate
26586
26587 \size small
26588 \emph on
26589 \begin_inset Quotes eld
26590 \end_inset
26591
26592
26593 \family typewriter
26594 %s
26595 \family default
26596
26597 \begin_inset Quotes erd
26598 \end_inset
26599
26600  expected,
26601  found 
26602 \begin_inset Quotes eld
26603 \end_inset
26604
26605
26606 \family typewriter
26607 %s
26608 \family default
26609
26610 \begin_inset Quotes erd
26611 \end_inset
26612
26613 .
26614 \end_layout
26615
26616 \begin_layout Enumerate
26617
26618 \size small
26619 Solo 
26620 \begin_inset Quotes eld
26621 \end_inset
26622
26623
26624 \family typewriter
26625 %s
26626 \family default
26627
26628 \begin_inset Quotes erd
26629 \end_inset
26630
26631  found.
26632 \end_layout
26633
26634 \begin_layout Enumerate
26635
26636 \size small
26637 You should use 
26638 \begin_inset Quotes eld
26639 \end_inset
26640
26641
26642 \family typewriter
26643 %s
26644 \family default
26645
26646 \begin_inset Quotes erd
26647 \end_inset
26648
26649  to achieve an ellipsis.
26650 \end_layout
26651
26652 \begin_layout Enumerate
26653
26654 \size small
26655 Inter-word spacing (
26656 \begin_inset Quotes eld
26657 \end_inset
26658
26659
26660 \family typewriter
26661
26662 \backslash
26663
26664 \family default
26665  
26666 \begin_inset Quotes eld
26667 \end_inset
26668
26669 ) should perhaps be used.
26670 \end_layout
26671
26672 \begin_layout Enumerate
26673
26674 \size small
26675 Inter-sentence spacing (
26676 \begin_inset Quotes eld
26677 \end_inset
26678
26679
26680 \family typewriter
26681
26682 \backslash
26683 @
26684 \family default
26685
26686 \begin_inset Quotes erd
26687 \end_inset
26688
26689 ) should perhaps be used.
26690 \end_layout
26691
26692 \begin_layout Enumerate
26693
26694 \size small
26695 Could not find argument for command.
26696 \end_layout
26697
26698 \begin_layout Enumerate
26699
26700 \size small
26701 No match found for 
26702 \begin_inset Quotes eld
26703 \end_inset
26704
26705
26706 \family typewriter
26707 %s
26708 \family default
26709
26710 \begin_inset Quotes erd
26711 \end_inset
26712
26713 .
26714 \end_layout
26715
26716 \begin_layout Enumerate
26717
26718 \size small
26719 Math mode still on at end of \SpecialChar LaTeX
26720  file.
26721 \end_layout
26722
26723 \begin_layout Enumerate
26724
26725 \size small
26726 Number of 
26727 \begin_inset Quotes eld
26728 \end_inset
26729
26730
26731 \family typewriter
26732 char
26733 \family default
26734
26735 \begin_inset Quotes erd
26736 \end_inset
26737
26738  doesn't match the number of 
26739 \begin_inset Quotes eld
26740 \end_inset
26741
26742
26743 \family typewriter
26744 char
26745 \family default
26746
26747 \begin_inset Quotes erd
26748 \end_inset
26749
26750 .
26751 \end_layout
26752
26753 \begin_layout Enumerate
26754
26755 \size small
26756 You should use either 
26757 \family typewriter
26758
26759 \begin_inset Quotes eld
26760 \end_inset
26761
26762
26763 \family default
26764  or 
26765 \family typewriter
26766
26767 \begin_inset Quotes erd
26768 \end_inset
26769
26770
26771 \family default
26772  as an alternative to 
26773 \begin_inset Quotes eld
26774 \end_inset
26775
26776
26777 \family typewriter
26778 "
26779 \family default
26780
26781 \begin_inset Quotes erd
26782 \end_inset
26783
26784 .
26785 \end_layout
26786
26787 \begin_layout Enumerate
26788
26789 \size small
26790 You should use "
26791 \family typewriter
26792 '
26793 \family default
26794 " (ASCII 39) instead of "" (ASCII 180).
26795 \end_layout
26796
26797 \begin_layout Enumerate
26798
26799 \size small
26800 User-specified pattern found.
26801 \end_layout
26802
26803 \begin_layout Enumerate
26804
26805 \size small
26806 This command might not be intended.
26807 \end_layout
26808
26809 \begin_layout Enumerate
26810
26811 \size small
26812 \emph on
26813 Comment displayed.
26814 \end_layout
26815
26816 \begin_layout Enumerate
26817
26818 \size small
26819 Either 
26820 \family typewriter
26821 ''
26822 \backslash
26823 ,'
26824 \family default
26825  or 
26826 \family typewriter
26827 '
26828 \backslash
26829 ,''
26830 \family default
26831  will look better.
26832 \end_layout
26833
26834 \begin_layout Enumerate
26835
26836 \size small
26837 Delete this space to maintain correct page references.
26838 \end_layout
26839
26840 \begin_layout Enumerate
26841
26842 \size small
26843 \emph on
26844 You might wish to put this between a pair of 
26845 \begin_inset Quotes eld
26846 \end_inset
26847
26848
26849 \family typewriter
26850 {}
26851 \family default
26852
26853 \begin_inset Quotes erd
26854 \end_inset
26855
26856 .
26857 \end_layout
26858
26859 \begin_layout Enumerate
26860
26861 \size small
26862 You ought to remove spaces in front of punctuation.
26863 \end_layout
26864
26865 \begin_layout Enumerate
26866
26867 \size small
26868 Could not execute \SpecialChar LaTeX
26869  command.
26870 \end_layout
26871
26872 \begin_layout Enumerate
26873
26874 \size small
26875 Don't use 
26876 \family typewriter
26877
26878 \backslash
26879 /
26880 \family default
26881  in front of small punctuation.
26882 \end_layout
26883
26884 \begin_layout Enumerate
26885
26886 \family typewriter
26887 \size small
26888 $
26889 \backslash
26890 times$
26891 \family default
26892  may look prettier here.
26893 \end_layout
26894
26895 \begin_layout Enumerate
26896
26897 \size small
26898 \emph on
26899 Multiple spaces detected in output.
26900 \end_layout
26901
26902 \begin_layout Enumerate
26903
26904 \size small
26905 This text may be ignored.
26906 \end_layout
26907
26908 \begin_layout Enumerate
26909
26910 \size small
26911 Use 
26912 \family typewriter
26913
26914 \begin_inset Quotes eld
26915 \end_inset
26916
26917
26918 \family default
26919  to begin quotation,
26920  not 
26921 \family typewriter
26922 '
26923 \family default
26924 .
26925 \end_layout
26926
26927 \begin_layout Enumerate
26928
26929 \size small
26930 Use 
26931 \family typewriter
26932 '
26933 \family default
26934  to end quotation,
26935  not 
26936 \family typewriter
26937
26938 \begin_inset Quotes eld
26939 \end_inset
26940
26941
26942 \family default
26943 .
26944 \end_layout
26945
26946 \begin_layout Enumerate
26947
26948 \size small
26949 Don't mix quotes.
26950 \end_layout
26951
26952 \begin_layout Enumerate
26953
26954 \size small
26955 You should perhaps use 
26956 \begin_inset Quotes eld
26957 \end_inset
26958
26959
26960 \family typewriter
26961 cmd
26962 \family default
26963
26964 \begin_inset Quotes erd
26965 \end_inset
26966
26967  instead.
26968 \end_layout
26969
26970 \begin_layout Enumerate
26971
26972 \size small
26973 You should put a space in front of/after parenthesis.
26974 \end_layout
26975
26976 \begin_layout Enumerate
26977
26978 \size small
26979 You should avoid spaces in front of/after parenthesis.
26980 \end_layout
26981
26982 \begin_layout Enumerate
26983
26984 \size small
26985 \emph on
26986 You should not use punctuation in front of/after quotes.
26987 \end_layout
26988
26989 \begin_layout Enumerate
26990
26991 \size small
26992 Double space found.
26993 \end_layout
26994
26995 \begin_layout Enumerate
26996
26997 \size small
26998 You should put punctuation outside inner/inside display math mode.
26999 \end_layout
27000
27001 \begin_layout Enumerate
27002
27003 \size small
27004 You ought to not use primitive \SpecialChar TeX
27005  in \SpecialChar LaTeX
27006  code.
27007 \end_layout
27008
27009 \begin_layout Enumerate
27010
27011 \size small
27012 You should remove spaces in front of 
27013 \begin_inset Quotes eld
27014 \end_inset
27015
27016
27017 \family typewriter
27018 %s
27019 \family default
27020
27021 \begin_inset Quotes erd
27022 \end_inset
27023
27024
27025 \end_layout
27026
27027 \begin_layout Enumerate
27028
27029 \size small
27030 \begin_inset Quotes eld
27031 \end_inset
27032
27033
27034 \family typewriter
27035 %s
27036 \family default
27037
27038 \begin_inset Quotes erd
27039 \end_inset
27040
27041  is normally not followed by 
27042 \begin_inset Quotes eld
27043 \end_inset
27044
27045
27046 \family typewriter
27047 %c
27048 \family default
27049
27050 \begin_inset Quotes erd
27051 \end_inset
27052
27053 .
27054 \end_layout
27055
27056 \begin_layout Standard
27057 \SpecialChar LyX
27058 の将来の版では,
27059 このツール(およびその縮小版
27060 \family typewriter
27061 lacheck
27062 \family default
27063 )の力を最大限引き出すように,
27064 より完備したインターフェイスを提供できればと考えています.しかし,
27065 現状でも十分に役立つものとなっています.ある程度長さがある既存文書に使用してみていただければ,
27066 きっと驚かれることでしょう.
27067 \end_layout
27068
27069 \begin_layout Section
27070 \SpecialChar LyX
27071 でのバージョン管理
27072 \end_layout
27073
27074 \begin_layout Standard
27075
27076 \noun on
27077 Lars Bullik Bjønnes
27078 \noun default
27079 および
27080 \noun on
27081 Pavel Sanda
27082 \noun default
27083
27084 \end_layout
27085
27086 \begin_layout Subsection
27087 はじめに
27088 \end_layout
27089
27090 \begin_layout Standard
27091 \SpecialChar LyX
27092 は,
27093 今ではもっとも基本的なRCS/CVS/SVN/GITコマンドをサポートしています.もしもっと洗練されたことを行いたい場合には,
27094 ターミナル上から手動で行う必要があります.
27095 \end_layout
27096
27097 \begin_layout Standard
27098 また,
27099 CVSのサポートは,
27100 subversionのサポートほど良くないので,
27101 CVSよりもSVNを使うことをお勧めします.Subversionを学び始めるには,
27102 SVN Book
27103 \begin_inset Foot
27104 status collapsed
27105
27106 \begin_layout Plain Layout
27107 \begin_inset CommandInset href
27108 LatexCommand href
27109 target "http://svnbook.red-bean.com/"
27110 literal "false"
27111
27112 \end_inset
27113
27114
27115 \end_layout
27116
27117 \end_inset
27118
27119 が良いでしょう.RCSの場合は,
27120 「rsintro」をお読みください(これはmanファイルです.
27121 \family typewriter
27122 man rcsintro
27123 \family default
27124 で読めます).このファイルは,
27125 RCSの基本機能のすべてを説明しています.特に,
27126 RCSディレクトリに関するコメントと,
27127 マスターRCSファイル(
27128 \family typewriter
27129 ,v
27130 \family default
27131 で終わるファイルです)の概念に注意を払ってください.
27132 \end_layout
27133
27134 \begin_layout Standard
27135 \SpecialChar LyX
27136 で実際にバージョン管理機能を使い始める前に,
27137 RCS/CVS/SVN/GITの使用法に習熟しておかなくてはなりません.\SpecialChar LyX
27138 で\SpecialChar LyX
27139 への実装においては,
27140 GNU RCSまたはCVS/SVNパッケージの最新版を仮定しています.旧版への保証はありません.ログメッセージのほとんどは,
27141 現在のところ操作後には表示されません.確認したい場合には,
27142 メッセージ面で確かめてください.バージョン管理を常用するユーザーには,
27143 VCツールバーが便利でしょう.これは
27144 \family sans
27145 表示\SpecialChar menuseparator
27146 ツールバー\SpecialChar menuseparator
27147 バージョン管理
27148 \family default
27149 で有効にできます.
27150 \end_layout
27151
27152 \begin_layout Standard
27153 自製の外部コマンドを導入したい場合には,
27154 取扱説明書『\SpecialChar LyX
27155 関数』の
27156 \begin_inset Flex Code
27157 status collapsed
27158
27159 \begin_layout Plain Layout
27160 vc-command
27161 \end_layout
27162
27163 \end_inset
27164
27165 を確認してください.
27166 \end_layout
27167
27168 \begin_layout Standard
27169 バージョン管理機能を使用している場合には,
27170 文書を非圧縮形式で保存をすることを強く推奨します(
27171 \family sans
27172 文書\SpecialChar menuseparator
27173 圧縮
27174 \family default
27175
27176 \begin_inset space \thinspace{}
27177 \end_inset
27178
27179 にチェックが入っていれば外してください).非圧縮LyX文書はテキストファイルであるため,
27180 バージョン管理システムが,
27181 二つのバージョンをマージすることができます.一方,
27182 圧縮LyXファイルはバイナリファイルであるため,
27183 バージョン管理システムはマージすることができません.
27184 \end_layout
27185
27186 \begin_layout Subsection
27187 \SpecialChar LyX
27188 におけるRCSコマンド
27189 \end_layout
27190
27191 \begin_layout Standard
27192 以下の節では\SpecialChar LyX
27193 でサポートされているRCSコマンドを説明します.それらのコマンドは
27194 \family sans
27195 ファイル\SpecialChar menuseparator
27196 バージョン管理
27197 \family default
27198 のサブメニューにあります.\SpecialChar LyX
27199 は,
27200 RCS 5.7/5.8に対して試験されています.
27201 \end_layout
27202
27203 \begin_layout Subsubsection
27204
27205 \family sans
27206 登録
27207 \end_layout
27208
27209 \begin_layout Standard
27210 文書がバージョン管理の下にない場合には,
27211 これがメニューにあらわれる唯一の項目です.文書がバージョン管理下にあれば,
27212 項目
27213 \family sans
27214 登録
27215 \family default
27216 は不可視になります.
27217 \end_layout
27218
27219 \begin_layout Standard
27220 このコマンドは,
27221 文書をRCSに登録します(CVSが管理しているディレクトリ下にない場合).すると対話的に,
27222 文書の最初の説明を入力するように尋ねられます.すると文書は読み込み専用モードになるので,
27223 変更を加えるためには
27224 \family sans
27225 チェックアウトして編集
27226 \family default
27227 を実行する必要があります.バージョン管理下にある文書は,
27228 ミニバッファのファイル名の後ろに「 [RCS:<バージョン> <ロック>]」という項目が表示されます.
27229 \end_layout
27230
27231 \begin_layout Standard
27232 実行されるRCSコマンドは:
27233
27234 \end_layout
27235
27236 \begin_layout LyX-Code
27237
27238 \family typewriter
27239 ci -q -u -i -t-"<初期説明文>" <ファイル名>
27240 \end_layout
27241
27242 \begin_layout Standard
27243 スイッチについて知りたい場合は,
27244
27245 \family typewriter
27246 man ci
27247 \family default
27248 を読んでください.
27249 \end_layout
27250
27251 \begin_layout Subsubsection
27252
27253 \family sans
27254 変更をチェックインする
27255 \end_layout
27256
27257 \begin_layout Standard
27258 ファイルの編集が終わると,
27259 その変更をチェックインします.このとき,
27260 変更についての説明文を求められます.これは履歴ログに記録されます.バージョン番号は繰り上がり,
27261 変更がマスターRCSファイルに適用され,
27262 文書がアンロックされて読み込み専用モードになります.
27263 \end_layout
27264
27265 \begin_layout Itemize
27266 RCSコマンド:
27267
27268 \family typewriter
27269 ci -q -u -m"<説明文>" <ファイル名>
27270 \end_layout
27271
27272 \begin_layout Subsubsection
27273
27274 \family sans
27275 チェックアウトして編集
27276 \end_layout
27277
27278 \begin_layout Standard
27279 これは,
27280 文書をロックして編集できるようにします.そしてあなただけが文書を読み書きできるようにします.通常は,
27281 しばらくの間,
27282 文書を編集し,
27283 それが終わると変更をチェックインします.あなたがファイルをロックしたことを反映して,
27284 ステータスラインが変わります.
27285 \end_layout
27286
27287 \begin_layout Itemize
27288 RCSコマンド:
27289
27290 \family typewriter
27291 co -q -l <ファイル名>
27292 \end_layout
27293
27294 \begin_layout Subsubsection
27295
27296 \family sans
27297 リポジトリのバージョンに戻す
27298 \end_layout
27299
27300 \begin_layout Standard
27301 これは,
27302 最終チェックイン以降,
27303 文書に加えられた変更をすべて破棄します.変更が破棄される前に,
27304 警告が発せられます.
27305 \end_layout
27306
27307 \begin_layout Itemize
27308 RCSコマンド:
27309
27310 \family typewriter
27311 co -f -u<バージョン> <ファイル名>
27312 \end_layout
27313
27314 \begin_layout Subsubsection
27315
27316 \family sans
27317 コピー
27318 \end_layout
27319
27320 \begin_layout Standard
27321 これは,
27322 現行文書のコピーを生成します.RCSは,
27323 コピー操作を自前ではサポートしませんので,
27324 バージョン履歴には保存されず,
27325 新コピーは新規ファイルとして追加されます.最後のチェックイン以降,
27326 変更が加えられていないサラの文書であることが要求されます.ファイル名とコピー操作の説明を入力するように促され,
27327 その後,
27328 新コピーがローカルとリポジトリの両方に生成されます.コピーされた文書と元の文書の親ディレクトリが異なる場合には,
27329 コピーにインクルードされたファイルの相対パスは,
27330
27331 \family sans
27332 ファイル\SpecialChar menuseparator
27333 名前をつけて保存\SpecialChar ldots
27334
27335 \family default
27336 と同様に)全て調整されます.最後に,
27337 元の文書の代わりに,
27338 コピーされたファイルが読み込まれます.
27339 \end_layout
27340
27341 \begin_layout Labeling
27342 \labelwidthstring 00.00.0000
27343 RCSコマンド:
27344  
27345 \begin_inset space ~
27346 \end_inset
27347
27348
27349 \begin_inset Newline newline
27350 \end_inset
27351
27352
27353 \begin_inset Flex Code
27354 status collapsed
27355
27356 \begin_layout Plain Layout
27357 "ファイル名"
27358 \end_layout
27359
27360 \end_inset
27361
27362
27363 \begin_inset Flex Code
27364 status collapsed
27365
27366 \begin_layout Plain Layout
27367 "新ファイル名"
27368 \end_layout
27369
27370 \end_inset
27371
27372 にコピーする場合
27373 \begin_inset Newline newline
27374 \end_inset
27375
27376
27377 \begin_inset Flex Code
27378 status collapsed
27379
27380 \begin_layout Plain Layout
27381 ci -q -u -i "<新ファイル名>"
27382 \end_layout
27383
27384 \end_inset
27385
27386
27387 \end_layout
27388
27389 \begin_layout Subsubsection
27390
27391 \family sans
27392 最後のチェックインを取り消す
27393 \end_layout
27394
27395 \begin_layout Standard
27396 これは,
27397 最後のチェックインがあたかも為されなかったかのようにします.\SpecialChar LyX
27398 に読み込まれた文書に変更は加えられませんが,
27399 マスターRCSファイルから最後のバージョンが削除されます.
27400 \end_layout
27401
27402 \begin_layout Itemize
27403 RCSコマンド:
27404
27405 \family typewriter
27406 rcs -o<バージョン> <ファイル名>
27407 \end_layout
27408
27409 \begin_layout Subsubsection
27410
27411 \family sans
27412 履歴を表示
27413 \end_layout
27414
27415 \begin_layout Standard
27416 RCS文書の完全な履歴を表示します.ブラウザ中に,
27417
27418 \family typewriter
27419 rlog <ファイル名>
27420 \family default
27421 の出力が表示されます.詳細は
27422 \family typewriter
27423 man rlog
27424 \family default
27425 をご覧ください.
27426 \end_layout
27427
27428 \begin_layout Subsubsection
27429 改訂情報
27430 \end_layout
27431
27432 \begin_layout Standard
27433 \SpecialChar LyX
27434 は,
27435 RCSバージョン番号情報(のみ)をサポートしています.詳細については,
27436
27437 \begin_inset CommandInset ref
27438 LatexCommand ref
27439 reference "subsec:VCS改訂情報"
27440 nolink "false"
27441
27442 \end_inset
27443
27444 を参照.
27445 \end_layout
27446
27447 \begin_layout Subsection
27448 \SpecialChar LyX
27449 におけるCVSコマンド
27450 \end_layout
27451
27452 \begin_layout Standard
27453 \SpecialChar LyX
27454 は,
27455 現在CVSを一部サポートしています.そのコマンドは,
27456
27457 \family sans
27458 ファイル\SpecialChar menuseparator
27459 バージョン管理
27460 \family default
27461 サブメニューにあります.バージョン管理システムSVNの方が強力なので,
27462 可能ならばCVSではなく,
27463 SVNを使用してください.
27464 \end_layout
27465
27466 \begin_layout Subsubsection
27467 CVSの一般的な利用法
27468 \end_layout
27469
27470 \begin_layout Standard
27471 CVSを初めて使いたい場合には,
27472 外部ツールを使用して自分のレポジトリを作成し,
27473 作業コピーをチェックアウトする必要があります.クライアント=サーバーモデルを使用している場合には,
27474 最初のレポジトリチェックアウトを行う前にログインする必要があるかもしれません.
27475 \end_layout
27476
27477 \begin_layout Standard
27478 改訂管理下にある文書のレポジトリを他人も利用している場合に,
27479 同一文書の同一箇所に別々の変更を加えてしまうと問題が発生します.標準的なCVSレポジトリは,
27480 ファイルロッキング機構を有しません.これは驚くべきことかもしれませんが,
27481 コンフリクトは,
27482 文書の同じ箇所の特定の内容について,
27483 人々が意見を異にしている場合にのみ発生します.したがって,
27484 共著者同士がコンスタントにコミュニケーションを交わしていれば,
27485 このようなコンフリクトは滅多に発生しません.もしコミュニケーションがなければ,
27486 いずれにしても根本的な問題があるわけです.それにもかかわらず,
27487 いわゆる「予備付きチェックアウト」を使用したいと思う人々もいます.この場合,
27488 最初にチェックアウトした際に,
27489 全ファイルの作業コピーは読み込み専用にされ,
27490 ユーザーは,
27491 作業コピーを書き込み可能にする特別なコマンドを使用した後,
27492 編集を開始することになります.変更をチェックインすると,
27493 作業コピーは読み込み専用状態に戻ります.\SpecialChar LyX
27494 で予備付きチェックアウトを利用したい場合には,
27495
27496 \begin_inset Flex Code
27497 status collapsed
27498
27499 \begin_layout Plain Layout
27500 .cvsrc
27501 \end_layout
27502
27503 \end_inset
27504
27505 ファイルを編集して,
27506
27507 \begin_inset Flex Code
27508 status collapsed
27509
27510 \begin_layout Plain Layout
27511 cvs -r
27512 \end_layout
27513
27514 \end_inset
27515
27516 という行を書き加える必要があります.この方法の利点は,
27517 文書のうち,
27518 書き込み可能コピーを誰が使用しているかを見ることができることです.ただし,
27519 一人のユーザーだけがコピーを書き込み可能にしているとは限りません.
27520 \end_layout
27521
27522 \begin_layout Standard
27523 \SpecialChar LyX
27524 は,
27525 あなたが予備付きチェックアウトを使用しているか,
27526 予備なしチェックアウトを利用しているか,
27527 推測しようと試みます.使用中の作業コピーが読み込み専用になっているか,
27528 あるいはそれが書き込み可能であって,
27529 CVS/Baseサブディレクトリに使用中文書のコピーが存在している場合には,
27530 予備付きチェックアウトを使用しているものと仮定し,
27531 そうでない場合には予備なしチェックアウトを使用しているものと仮定します.予備付きチェックアウトが検出された場合には,
27532 作業コピーが読み込み専用の場合に書き込み可能にするためには,
27533
27534 \family sans
27535 チェックアウト
27536 \family default
27537 メニューを使用しなくてはなりません.その後,
27538
27539 \family sans
27540 チェックイン
27541 \family default
27542 メニューが利用可能になるので,
27543 自分が加えた変更をリポジトリに移した後,
27544 作業コピーを再び読み込み専用にする際には,
27545 これを使用します.
27546 \end_layout
27547
27548 \begin_layout Standard
27549 CVSの詳細な情報は,
27550
27551 \begin_inset Flex URL
27552 status collapsed
27553
27554 \begin_layout Plain Layout
27555
27556 http://www.nongnu.org/cvs
27557 \end_layout
27558
27559 \end_inset
27560
27561
27562 \begin_inset Flex URL
27563 status collapsed
27564
27565 \begin_layout Plain Layout
27566
27567 http://ximbiot.com/cvs
27568 \end_layout
27569
27570 \end_inset
27571
27572 にあります.
27573 \end_layout
27574
27575 \begin_layout Standard
27576 以下に言及するサブコマンドとスイッチを理解するには,
27577
27578 \family typewriter
27579 man cvs
27580 \family default
27581 をお読みください.
27582 \end_layout
27583
27584 \begin_layout Subsubsection
27585 登録
27586 \end_layout
27587
27588 \begin_layout Standard
27589 お使いの文書が改訂管理下に置かれていなければ,
27590 メニューにはこの項目だけが表示されます.もし改訂管理が有効ならば,
27591
27592 \family sans
27593 登録
27594 \family default
27595 項目は表示されません.
27596 \end_layout
27597
27598 \begin_layout Standard
27599 本コマンドは,
27600 既に文書ディレクトリをCVS管理下に置いている場合に
27601 \series bold
27602 \emph on
27603 のみ
27604 \series default
27605 \emph default
27606 (すなわち
27607 \begin_inset Flex Code
27608 status collapsed
27609
27610 \begin_layout Plain Layout
27611 CVS/Entries
27612 \end_layout
27613
27614 \end_inset
27615
27616 ファイルが存在する場合にのみ),
27617 お使いの文書をCVSに登録します.つまり,
27618 外部ツールを使用して,
27619 アーカイブを自分で作成ないしチェックアウトしなくてはならないことを意味します(このステップを忘れてしまうと,
27620 \SpecialChar LyX
27621 は文書をRCSに登録します).
27622 \end_layout
27623
27624 \begin_layout Standard
27625 すると,
27626 文書の最初の説明文を入力するように促されます.登録したファイルは,
27627 まだチェックインされたわけではないことに注意してください.
27628 \end_layout
27629
27630 \begin_layout Standard
27631 実行されるCVSコマンドは,
27632
27633 \family typewriter
27634 cvs -q add -m"<入力した説明文>" "<ファイル名>"
27635 \family default
27636  です.
27637 \end_layout
27638
27639 \begin_layout Standard
27640 上記および他のすべてのCVSコマンドにおける
27641 \family typewriter
27642 "<ファイル名>"
27643 \family default
27644 は,
27645 「カレント作業ディレクトリをファイルの場所に移動し,
27646 パスコンポーネントを除いたファイル名を引数として使用する」という意味になります.
27647 \end_layout
27648
27649 \begin_layout Subsubsection
27650 変更のチェックイン
27651 \end_layout
27652
27653 \begin_layout Standard
27654 ファイルの編集を終えたら,
27655 変更をコミットします.このとき,
27656 文書に変更が加えられていれば,
27657 変更の説明文を入れるよう促されます.その後,
27658 変更がレポジトリに書き込まれます.文書を変更せず,
27659 予備付きチェックアウトが検出された場合,
27660
27661 \family sans
27662 チェックアウト
27663 \family default
27664 で作られた予備は取り消されます.
27665 \end_layout
27666
27667 \begin_layout Labeling
27668 \labelwidthstring 00.00.0000
27669 CVSコマンド:
27670  
27671 \begin_inset space ~
27672 \end_inset
27673
27674
27675 \begin_inset Newline newline
27676 \end_inset
27677
27678
27679 \begin_inset Flex Code
27680 status collapsed
27681
27682 \begin_layout Plain Layout
27683 cvs -q commit -m"<入力した説明文>" "<ファイル名>"
27684 \end_layout
27685
27686 \end_inset
27687
27688 あるいは
27689 \begin_inset Newline newline
27690 \end_inset
27691
27692
27693 \begin_inset Flex Code
27694 status collapsed
27695
27696 \begin_layout Plain Layout
27697 cvs -q unedit "<ファイル名>"
27698 \end_layout
27699
27700 \end_inset
27701
27702
27703 \end_layout
27704
27705 \begin_layout Subsubsection
27706 変更のチェックアウト
27707 \end_layout
27708
27709 \begin_layout Standard
27710 レポジトリを他人と共有している場合,
27711 他人の加えた変更を自らの作業コピーに取り込まなくてはならないことがあります.
27712 \end_layout
27713
27714 \begin_layout Standard
27715 CVSコマンド:
27716
27717 \family typewriter
27718 cvs -q update "<ファイル名>"
27719 \end_layout
27720
27721 \begin_layout Standard
27722 読み込み専用チェックアウトが検出された場合,
27723 作業コピーを書き込み可能にし予備を作成します.
27724 \end_layout
27725
27726 \begin_layout Standard
27727 CVSコマンド:
27728
27729 \family typewriter
27730 cvs -q edit "<ファイル名>"
27731 \end_layout
27732
27733 \begin_layout Subsubsection
27734 レポジトリ版に戻す
27735 \end_layout
27736
27737 \begin_layout Standard
27738 これは,
27739 最後のチェックイン以降,
27740 文書に加えられた変更をすべて廃棄します.変更が廃棄される前に警告が表示されます.最初にファイルが削除され,
27741 次にCVS更新コマンドが実行されます.
27742 \end_layout
27743
27744 \begin_layout Standard
27745 CVSコマンド:
27746
27747 \family typewriter
27748 cvs -q update "<ファイル名>"
27749 \end_layout
27750
27751 \begin_layout Standard
27752 予備付きチェックアウトが検出され,
27753 作業コピーに変更がない場合,
27754 予備のみが取り消されます.
27755 \end_layout
27756
27757 \begin_layout Standard
27758 CVSコマンド:
27759
27760 \family typewriter
27761 cvs -q unedit "<ファイル名>"
27762 \end_layout
27763
27764 \begin_layout Subsubsection
27765
27766 \family sans
27767 コピー
27768 \end_layout
27769
27770 \begin_layout Standard
27771 これは,
27772 現行文書のコピーを生成します.CVSは,
27773 コピー操作を自前ではサポートしませんので,
27774 バージョン履歴には保存されず,
27775 新コピーは新規ファイルとして追加されます.最後のチェックイン以降,
27776 変更が加えられていないサラの文書であることが要求されます.ファイル名とコピー操作の説明を入力するように促され,
27777 その後,
27778 新コピーがローカルとリポジトリの両方に生成されます.コピーされた文書と元の文書の親ディレクトリが異なる場合には,
27779 コピーにインクルードされたファイルの相対パスは,
27780
27781 \family sans
27782 ファイル\SpecialChar menuseparator
27783 名前をつけて保存\SpecialChar ldots
27784
27785 \family default
27786 と同様に)全て調整されます.最後に,
27787 元の文書の代わりに,
27788 コピーされたファイルが読み込まれます.
27789 \end_layout
27790
27791 \begin_layout Labeling
27792 \labelwidthstring 00.00.0000
27793 CVSコマンド:
27794  
27795 \begin_inset space ~
27796 \end_inset
27797
27798
27799 \begin_inset Newline newline
27800 \end_inset
27801
27802
27803 \begin_inset Flex Code
27804 status collapsed
27805
27806 \begin_layout Plain Layout
27807 "<ファイル名>"
27808 \end_layout
27809
27810 \end_inset
27811
27812
27813 \begin_inset Flex Code
27814 status collapsed
27815
27816 \begin_layout Plain Layout
27817 "<新ファイル名>"
27818 \end_layout
27819
27820 \end_inset
27821
27822 にコピーする場合
27823 \begin_inset Newline newline
27824 \end_inset
27825
27826
27827 \begin_inset Flex Code
27828 status collapsed
27829
27830 \begin_layout Plain Layout
27831 cvs -q add "<新ファイル名>"
27832 \end_layout
27833
27834 \end_inset
27835
27836
27837 \end_layout
27838
27839 \begin_layout Subsubsection
27840 ファイル名変更
27841 \end_layout
27842
27843 \begin_layout Standard
27844 これは,
27845 現行文書のファイル名を変更します.CVSは,
27846 ファイル名変更操作を自前ではサポートしませんので,
27847 バージョン履歴には保存されず,
27848 名称変更後のファイルは,
27849 新規ファイルとして追加されます.最後のチェックイン以降,
27850 変更が加えられていないサラの文書であることが要求されます.ファイル名とコピー操作の説明を入力するように促され,
27851 その後,
27852 ローカルとリポジトリの両方でファイル名が変更されます.新旧ファイル名の文書の親ディレクトリが異なる場合には,
27853 コピーにインクルードされたファイルの相対パスは,
27854
27855 \family sans
27856 ファイル\SpecialChar menuseparator
27857 名前をつけて保存\SpecialChar ldots
27858
27859 \family default
27860 と同様に)全て調整されます.最後に,
27861 新ファイル名を使ってファイルが再度読み込まれます.
27862 \end_layout
27863
27864 \begin_layout Labeling
27865 \labelwidthstring 00.00.0000
27866 CVSコマンド:
27867  
27868 \begin_inset space ~
27869 \end_inset
27870
27871
27872 \begin_inset Newline newline
27873 \end_inset
27874
27875
27876 \begin_inset Flex Code
27877 status collapsed
27878
27879 \begin_layout Plain Layout
27880 "<ファイル名>"
27881 \end_layout
27882
27883 \end_inset
27884
27885
27886 \begin_inset Flex Code
27887 status collapsed
27888
27889 \begin_layout Plain Layout
27890 "<新ファイル名>"
27891 \end_layout
27892
27893 \end_inset
27894
27895 に変更する場合 
27896 \begin_inset space ~
27897 \end_inset
27898
27899
27900 \begin_inset Newline newline
27901 \end_inset
27902
27903
27904 \begin_inset Flex Code
27905 status collapsed
27906
27907 \begin_layout Plain Layout
27908 cvs -q add "<新ファイル名>"
27909 \end_layout
27910
27911 \end_inset
27912
27913  
27914 \begin_inset space ~
27915 \end_inset
27916
27917
27918 \begin_inset Newline newline
27919 \end_inset
27920
27921
27922 \begin_inset Flex Code
27923 status collapsed
27924
27925 \begin_layout Plain Layout
27926 cvs -q remove "<ファイル名>"
27927 \end_layout
27928
27929 \end_inset
27930
27931
27932 \end_layout
27933
27934 \begin_layout Subsubsection
27935 ローカルディレクトリチェックアウトのレポジトリからの更新
27936 \end_layout
27937
27938 \begin_layout Standard
27939 子文書や図を含んだり,
27940 外部
27941 \begin_inset Flex Code
27942 status collapsed
27943
27944 \begin_layout Plain Layout
27945 .tex
27946 \end_layout
27947
27948 \end_inset
27949
27950 ファイルを取り込むなど,
27951 文書が複雑になるにつれ,
27952 バージョン管理の利用は複雑になります.\SpecialChar LyX
27953 は,
27954 文書が存在するツリー全体の更新をサポートします.これは,
27955 CVSの使用法について詳しい知識のない人々や,
27956 レポジトリに追加素材をコミットする野望のない人々と共同作業をするような場合に,
27957 特に便利です.ファイル構造は,
27958 すべての外部ファイルが,
27959 文書と同じディレクトリかそのサブディレクトリに来るように組織する必要があります.いずれにしても,
27960 複合文書を新しいディレクトリを建てて収容するのは,
27961 望ましい習慣です.
27962 \end_layout
27963
27964 \begin_layout Standard
27965 コマンド
27966 \begin_inset Flex Code
27967 status collapsed
27968
27969 \begin_layout Plain Layout
27970 レポジトリを使ってローカル辞書を更新
27971 \end_layout
27972
27973 \end_inset
27974
27975 は,
27976 ディレクトリ全体を更新します.ローカルの変更が検出された場合には,
27977 更新を開始する前にユーザーに警告が発せられます.マージコンフリクトが発生した場合には,
27978 コンフリクトを起こしている部分の新旧バージョンが,
27979 両方とも最終文書に置かれますので,
27980 マージの結果を見直し,
27981 修正する必要があります.コンフリクトは,
27982
27983 \begin_inset Flex Code
27984 status collapsed
27985
27986 \begin_layout Plain Layout
27987 <<<<<<<
27988 \end_layout
27989
27990 \end_inset
27991
27992
27993 \begin_inset Flex Code
27994 status collapsed
27995
27996 \begin_layout Plain Layout
27997 >>>>>>>
27998 \end_layout
27999
28000 \end_inset
28001
28002 の対に囲まれ,
28003
28004 \begin_inset Flex Code
28005 status collapsed
28006
28007 \begin_layout Plain Layout
28008 =======
28009 \end_layout
28010
28011 \end_inset
28012
28013 で区切られて表示されます.最初の部分は,
28014 文書名に続いて,
28015 更新操作前のバージョンが置かれています.第2の部分は,
28016
28017 \begin_inset Flex Code
28018 status collapsed
28019
28020 \begin_layout Plain Layout
28021 >
28022 \end_layout
28023
28024 \end_inset
28025
28026 記号列の後にバージョン番号に続いて,
28027 レポジトリ版が置かれます.
28028 \end_layout
28029
28030 \begin_layout Labeling
28031 \labelwidthstring 00.00.0000
28032 CVSコマンド:
28033  
28034 \begin_inset space ~
28035 \end_inset
28036
28037
28038 \begin_inset Newline newline
28039 \end_inset
28040
28041
28042 \begin_inset Flex Code
28043 status collapsed
28044
28045 \begin_layout Plain Layout
28046 cd $path;
28047  cvs diff "."
28048 \end_layout
28049
28050 \end_inset
28051
28052 (変更が検出された場合には知らせる)
28053 \begin_inset Newline newline
28054 \end_inset
28055
28056
28057 \begin_inset Flex Code
28058 status collapsed
28059
28060 \begin_layout Plain Layout
28061 cd $path;
28062  cvs -q update "."
28063 \end_layout
28064
28065 \end_inset
28066
28067
28068 \end_layout
28069
28070 \begin_layout Standard
28071 ここで
28072 \begin_inset Flex Code
28073 status collapsed
28074
28075 \begin_layout Plain Layout
28076 $path
28077 \end_layout
28078
28079 \end_inset
28080
28081 は文書パスを表します.
28082 \end_layout
28083
28084 \begin_layout Subsubsection
28085 履歴を表示
28086 \end_layout
28087
28088 \begin_layout Standard
28089 これは,
28090 CVS文書の全履歴を表示します.
28091 \begin_inset Flex Code
28092 status collapsed
28093
28094 \begin_layout Plain Layout
28095 cvs log 
28096 \begin_inset Quotes eld
28097 \end_inset
28098
28099 <ファイル名>
28100 \begin_inset Quotes erd
28101 \end_inset
28102
28103
28104 \end_layout
28105
28106 \end_inset
28107
28108 の出力がブラウザに表示されます.
28109 \end_layout
28110
28111 \begin_layout Subsubsection
28112 改訂情報
28113 \end_layout
28114
28115 \begin_layout Standard
28116 \SpecialChar LyX
28117 は,
28118 CVS版数・著者名・最終コミットの日時をサポートします.これらの情報は,
28119 すべて
28120 \family typewriter
28121 cvs log -r <ファイル名>
28122 \family default
28123 によって抽出されます.詳細については,
28124
28125 \begin_inset CommandInset ref
28126 LatexCommand ref
28127 reference "subsec:VCS改訂情報"
28128 nolink "false"
28129
28130 \end_inset
28131
28132 節を参照してください.
28133 \end_layout
28134
28135 \begin_layout Subsection
28136 \SpecialChar LyX
28137 におけるSVNコマンド
28138 \end_layout
28139
28140 \begin_layout Standard
28141 \SpecialChar LyX
28142 は,
28143 現在SVNを一部サポートしています.そのコマンドは,
28144
28145 \family sans
28146 ファイル\SpecialChar menuseparator
28147 バージョン管理
28148 \family default
28149 メニューにあります.レポジトリへのアクセスに,
28150 ssh経由のパスワード保護アクセスを使用している場合には,
28151 端末ウィンドウでの入力を促されます.\SpecialChar LyX
28152 は,
28153 SVN 1.5・1.6・1.7・1.8に対して試験されています
28154 \begin_inset Foot
28155 status collapsed
28156
28157 \begin_layout Plain Layout
28158 ほとんどのコマンドは,
28159 1.4でも動作します.
28160 \begin_inset CommandInset ref
28161 LatexCommand ref
28162 reference "subsec:レポジトリからSVN同期"
28163 plural "false"
28164 caps "false"
28165 noprefix "false"
28166 nolink "false"
28167
28168 \end_inset
28169
28170 を参照してください.SVN 1.8では,
28171 ファイルがロックされている時にパーミッション変更点を戻してしまうという現時点では未解決の問題が存在しています.
28172 \end_layout
28173
28174 \end_inset
28175
28176
28177 \end_layout
28178
28179 \begin_layout Subsubsection
28180 登録
28181 \end_layout
28182
28183 \begin_layout Standard
28184 お使いの文書が改訂管理下に置かれていなければ,
28185 メニューにはこの項目だけが表示されます.もし改訂管理が有効ならば,
28186
28187 \family sans
28188 登録
28189 \family default
28190 項目は表示されません.
28191 \end_layout
28192
28193 \begin_layout Standard
28194 本コマンドは,
28195 既に文書のあるディレクトリをSVN管理下に置いている場合に
28196 \emph on
28197 のみ
28198 \emph default
28199 (すなわち
28200 \begin_inset Flex Code
28201 status collapsed
28202
28203 \begin_layout Plain Layout
28204 .svn/entries
28205 \end_layout
28206
28207 \end_inset
28208
28209 ファイルが存在する場合にのみ),
28210 お使いの文書をSVNに登録します.つまり,
28211 アーカイブはご自分でチェックアウトしなくてはなりません.
28212 \end_layout
28213
28214 \begin_layout Standard
28215 すると,
28216 文書の最初の説明文を入力するように促されます.登録したファイルは,
28217 まだコミットされたわけではないことに注意してください.
28218 \end_layout
28219
28220 \begin_layout Standard
28221 実行されるSVNコマンドは,
28222
28223 \begin_inset Flex Code
28224 status collapsed
28225
28226 \begin_layout Plain Layout
28227 svn add -q 
28228 \begin_inset Quotes qld
28229 \end_inset
28230
28231 <ファイル名>
28232 \begin_inset Quotes qld
28233 \end_inset
28234
28235
28236 \end_layout
28237
28238 \end_inset
28239
28240 です.
28241 \end_layout
28242
28243 \begin_layout Standard
28244 スイッチの説明は
28245 \begin_inset Flex Code
28246 status collapsed
28247
28248 \begin_layout Plain Layout
28249 man svn
28250 \end_layout
28251
28252 \end_inset
28253
28254 をお読みください.
28255 \end_layout
28256
28257 \begin_layout Subsubsection
28258 変更をチェックイン
28259 \end_layout
28260
28261 \begin_layout Standard
28262 ファイルの編集を終えたら,
28263 変更をコミットします.このとき,
28264 変更の説明文を入れるよう促されます.その後,
28265 変更がコミットされます.
28266 \end_layout
28267
28268 \begin_layout Standard
28269 SVNコマンド
28270 \begin_inset Foot
28271 status collapsed
28272
28273 \begin_layout Plain Layout
28274 ロックが有効になっていない場合です.第
28275 \begin_inset CommandInset ref
28276 LatexCommand ref
28277 reference "subsec:SVNファイルロック"
28278 nolink "false"
28279
28280 \end_inset
28281
28282 節をご覧ください.
28283 \end_layout
28284
28285 \end_inset
28286
28287
28288
28289 \begin_inset Flex Code
28290 status collapsed
28291
28292 \begin_layout Plain Layout
28293 svn commit -q -m"<入力した説明文>" "<ファイル名>"
28294 \end_layout
28295
28296 \end_inset
28297
28298
28299 \end_layout
28300
28301 \begin_layout Subsubsection
28302 チェックアウトして編集
28303 \end_layout
28304
28305 \begin_layout Standard
28306 このファイルの変更点をレポジトリから取得して更新します.すべての干渉点は,
28307 手動で解決しなくてはならないので,
28308 この機能を使う前にSVNのマージ法と干渉解決法を理解しておくようにしてください.
28309 \end_layout
28310
28311 \begin_layout Standard
28312 SVNコマンド
28313 \begin_inset Foot
28314 status collapsed
28315
28316 \begin_layout Plain Layout
28317 同上.
28318 \end_layout
28319
28320 \end_inset
28321
28322
28323
28324 \begin_inset Flex Code
28325 status collapsed
28326
28327 \begin_layout Plain Layout
28328 svn update --non-interactive 
28329 \begin_inset Quotes qld
28330 \end_inset
28331
28332 <ファイル名>
28333 \begin_inset Quotes qld
28334 \end_inset
28335
28336
28337 \end_layout
28338
28339 \end_inset
28340
28341
28342 \end_layout
28343
28344 \begin_layout Subsubsection
28345 リポジトリ版に戻す
28346 \end_layout
28347
28348 \begin_layout Standard
28349 これは,
28350 最後のチェックイン以降,
28351 文書に加えられた変更をすべて廃棄します.変更が廃棄される前に警告が表示されます.
28352 \end_layout
28353
28354 \begin_layout Standard
28355 SVNコマンド:
28356
28357 \begin_inset Flex Code
28358 status collapsed
28359
28360 \begin_layout Plain Layout
28361 svn revert -q 
28362 \begin_inset Quotes qld
28363 \end_inset
28364
28365 <ファイル名>
28366 \begin_inset Quotes qld
28367 \end_inset
28368
28369
28370 \end_layout
28371
28372 \end_inset
28373
28374
28375 \end_layout
28376
28377 \begin_layout Subsubsection
28378
28379 \family sans
28380 コピー
28381 \end_layout
28382
28383 \begin_layout Standard
28384 これは,
28385 現行文書のコピーを生成します.最後のチェックイン以降,
28386 変更が加えられていないサラの文書であることが要求されます.ファイル名とコピー操作の説明を入力するように促され,
28387 その後,
28388 新コピーがローカルとリポジトリの両方に生成されます.コピーされた文書と元の文書の親ディレクトリが異なる場合には,
28389 コピーにインクルードされたファイルの相対パスは,
28390
28391 \family sans
28392 ファイル\SpecialChar menuseparator
28393 名前をつけて保存\SpecialChar ldots
28394
28395 \family default
28396 と同様に)全て調整されます.最後に,
28397 元の文書の代わりに,
28398 コピーされたファイルが読み込まれます.
28399 \end_layout
28400
28401 \begin_layout Labeling
28402 \labelwidthstring 00.00.0000
28403 SVNコマンド:
28404  
28405 \begin_inset space ~
28406 \end_inset
28407
28408
28409 \begin_inset Newline newline
28410 \end_inset
28411
28412
28413 \begin_inset Flex Code
28414 status collapsed
28415
28416 \begin_layout Plain Layout
28417 svn copy -q "<ファイル名>" "<新ファイル名>"
28418 \end_layout
28419
28420 \end_inset
28421
28422
28423 \begin_inset space ~
28424 \end_inset
28425
28426
28427 \begin_inset Newline newline
28428 \end_inset
28429
28430
28431 \begin_inset Flex Code
28432 status collapsed
28433
28434 \begin_layout Plain Layout
28435 svn commit
28436 \end_layout
28437
28438 \end_inset
28439
28440
28441 \end_layout
28442
28443 \begin_layout Subsubsection
28444 ファイル名変更
28445 \end_layout
28446
28447 \begin_layout Standard
28448 これは,
28449 現行文書のファイル名を変更します.最後のチェックイン以降,
28450 変更が加えられていないサラの文書であることが要求されます.ファイル名とコピー操作の説明を入力するように促され,
28451 その後,
28452 ローカルとリポジトリの両方でファイル名が変更されます.新旧ファイル名の文書の親ディレクトリが異なる場合には,
28453 コピーにインクルードされたファイルの相対パスは,
28454
28455 \family sans
28456 ファイル\SpecialChar menuseparator
28457 名前をつけて保存\SpecialChar ldots
28458
28459 \family default
28460 と同様に)全て調整されます.最後に,
28461 新ファイル名を使ってファイルが再度読み込まれます.
28462 \end_layout
28463
28464 \begin_layout Labeling
28465 \labelwidthstring 00.00.0000
28466 SVNコマンド:
28467  
28468 \begin_inset space ~
28469 \end_inset
28470
28471
28472 \begin_inset Newline newline
28473 \end_inset
28474
28475
28476 \begin_inset Flex Code
28477 status collapsed
28478
28479 \begin_layout Plain Layout
28480 svn move -q add "<ファイル名>" "<新ファイル名>"
28481 \end_layout
28482
28483 \end_inset
28484
28485
28486 \begin_inset Newline newline
28487 \end_inset
28488
28489
28490 \begin_inset Flex Code
28491 status collapsed
28492
28493 \begin_layout Plain Layout
28494 svn commit
28495 \end_layout
28496
28497 \end_inset
28498
28499
28500 \end_layout
28501
28502 \begin_layout Subsubsection
28503 \begin_inset CommandInset label
28504 LatexCommand label
28505 name "subsec:レポジトリからSVN同期"
28506
28507 \end_inset
28508
28509 レポジトリを使ったローカルディレクトリの同期
28510 \begin_inset Foot
28511 status collapsed
28512
28513 \begin_layout Plain Layout
28514 このコマンドは,
28515 subversion 
28516 \begin_inset Formula $\geqq1.5$
28517 \end_inset
28518
28519 でのみ動作することに注意してください.
28520 \end_layout
28521
28522 \end_inset
28523
28524
28525 \end_layout
28526
28527 \begin_layout Standard
28528 上記の各コマンドはすべて,
28529 共通の短所を持っています.すなわち,
28530 これらのコマンドは現在の文書しか取り扱わないのです.もし,
28531 作業中の文書に図を含めたり,
28532 外部
28533 \begin_inset Flex Code
28534 status collapsed
28535
28536 \begin_layout Plain Layout
28537 .tex
28538 \end_layout
28539
28540 \end_inset
28541
28542 ファイルを取り込んだりすれば,
28543 管理はずっと複雑になります.そこで\SpecialChar LyX
28544 は,
28545 文書のおいてあるツリー全体の更新をサポートします
28546 \begin_inset Foot
28547 status collapsed
28548
28549 \begin_layout Plain Layout
28550 すべての外部ファイルが,
28551 文書と同じディレクトリかそれ以下のサブディレクトリに来るようにファイル構造を構成する必要があります.
28552 \end_layout
28553
28554 \end_inset
28555
28556 .これは,
28557 subversion管理を知らなかったりレポジトリに新しい素材をコミットする勇気のない人たちと共同作業をする羽目になったときに,
28558 ひじょうに役に立ちます.
28559 \end_layout
28560
28561 \begin_layout Standard
28562 \begin_inset Flex Code
28563 status collapsed
28564
28565 \begin_layout Plain Layout
28566 ローカル辞書をレポジトリを使って更新
28567 \end_layout
28568
28569 \end_inset
28570
28571 コマンドは,
28572 ディレクトリ全体を更新し,
28573 マージに衝突が発生した場合には,
28574 ローカル版は保存されるので,
28575 意図しないデータロスが発生しません.ローカルな変更が発見された場合には,
28576 更新が開始される前にユーザに警告が与えられます.
28577 \end_layout
28578
28579 \begin_layout Labeling
28580 \labelwidthstring 00.00.0000
28581 SVNコマンド:
28582  
28583 \begin_inset space ~
28584 \end_inset
28585
28586
28587 \begin_inset Newline newline
28588 \end_inset
28589
28590
28591 \begin_inset Flex Code
28592 status collapsed
28593
28594 \begin_layout Plain Layout
28595 svn diff $path(変更が発見された場合には通知します)
28596 \begin_inset Newline newline
28597 \end_inset
28598
28599 svn update --accept mine-full $path
28600 \end_layout
28601
28602 \end_inset
28603
28604
28605 \end_layout
28606
28607 \begin_layout Standard
28608 ここで
28609 \begin_inset Flex Code
28610 status collapsed
28611
28612 \begin_layout Plain Layout
28613 $path
28614 \end_layout
28615
28616 \end_inset
28617
28618 は文書のパスを示します.
28619 \end_layout
28620
28621 \begin_layout Subsubsection
28622 履歴を表示
28623 \end_layout
28624
28625 \begin_layout Standard
28626 これは,
28627 SVN文書の全履歴を表示します.
28628 \begin_inset Flex Code
28629 status collapsed
28630
28631 \begin_layout Plain Layout
28632 svn log 
28633 \begin_inset Quotes qld
28634 \end_inset
28635
28636 <ファイル名>
28637 \begin_inset Quotes qld
28638 \end_inset
28639
28640
28641 \end_layout
28642
28643 \end_inset
28644
28645 の出力がブラウザに表示されます.
28646 \end_layout
28647
28648 \begin_layout Subsubsection
28649 ファイルロック
28650 \begin_inset CommandInset label
28651 LatexCommand label
28652 name "subsec:SVNファイルロック"
28653
28654 \end_inset
28655
28656
28657 \end_layout
28658
28659 \begin_layout Standard
28660 別々の改訂管理システム間でファイルを交換しようとすると,
28661 二人のユーザが同じ文書(の一部)を編集している場合,
28662 マージが衝突する問題を引き起こします.そのような衝突が発生した場合,
28663 手動で解決しなくてはならなくなりますが,
28664 その合理的な解決法としては,
28665 与えられた時間に一人のユーザだけがファイルを編集することが許されるように保証するための,
28666 何らかのロック機構を導入することが考えられます.
28667 \end_layout
28668
28669 \begin_layout Standard
28670 SVNには,
28671 このように相互に排他的なファイルアクセスを提供する機構が二つあります.ロックと,
28672
28673 \begin_inset Flex Code
28674 status collapsed
28675
28676 \begin_layout Plain Layout
28677 svn:needs-lock
28678 \end_layout
28679
28680 \end_inset
28681
28682 svnファイル特性に依拠した書き込み権限の自動設定(第
28683 \begin_inset CommandInset ref
28684 LatexCommand ref
28685 reference "subsec:自動ロック特性"
28686 nolink "false"
28687
28688 \end_inset
28689
28690 節を参照)です
28691 \begin_inset Foot
28692 status collapsed
28693
28694 \begin_layout Plain Layout
28695 \begin_inset Flex URL
28696 status open
28697
28698 \begin_layout Plain Layout
28699
28700 http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html
28701 \end_layout
28702
28703 \end_inset
28704
28705
28706 \end_layout
28707
28708 \end_inset
28709
28710 .ある文書について,
28711 この特性が検出されたときには,
28712 \SpecialChar LyX
28713 は自動的に文書編集にSVNロックを使用するようになり,
28714 チェックイン・チェックアウト機構はRCSと同じ枠組みに切り替わります.これは特に,
28715 \SpecialChar LyX
28716 でのファイルの使われ方に以下の二つのモードがあることを意味します.
28717 \end_layout
28718
28719 \begin_layout Itemize
28720 非ロック状態.読み込まれたファイルは,
28721 読み込み専用モードになります.編集するためには,
28722 チェックアウトする必要があります.
28723 \emph on
28724 チェックアウト
28725 \emph default
28726 を行うと,
28727 レポジトリからの更新と,
28728 書き込みロックの獲得が行われます.ロックの獲得ができないと,
28729 非ロック状態から出ることができません.
28730 \end_layout
28731
28732 \begin_layout Itemize
28733 ロック状態.読み込まれたファイルは,
28734 「通常の」編集モードになります.他のユーザには,
28735 このファイルを編集する許可が与えられません.
28736 \emph on
28737 チェックイン
28738 \emph default
28739 を行うと,
28740 変更のコミットと書き込みロックの解放が行われます.文書に変更が加えられなかった場合には,
28741 コミットは実行されず
28742 \begin_inset Foot
28743 status collapsed
28744
28745 \begin_layout Plain Layout
28746 コミットは実行されないのに,
28747 コミットメッセージを入力するよう促されますが,
28748 驚かないでください.
28749 \end_layout
28750
28751 \end_inset
28752
28753
28754 書き込みロックの解放のみが行われます.
28755 \end_layout
28756
28757 \begin_layout Standard
28758 SVNコマンド:
28759
28760 \end_layout
28761
28762 \begin_layout Labeling
28763 \labelwidthstring 00.00.0000
28764 チェックイン:
28765  
28766 \begin_inset Flex Code
28767 status collapsed
28768
28769 \begin_layout Plain Layout
28770 svn commit -q -m
28771 \begin_inset Quotes erd
28772 \end_inset
28773
28774 <説明>
28775 \begin_inset Quotes erd
28776 \end_inset
28777
28778  
28779 \begin_inset Quotes eld
28780 \end_inset
28781
28782 <ファイル名>
28783 \begin_inset Quotes erd
28784 \end_inset
28785
28786
28787 \end_layout
28788
28789 \end_inset
28790
28791
28792 \begin_inset Newline newline
28793 \end_inset
28794
28795
28796 \begin_inset Flex Code
28797 status collapsed
28798
28799 \begin_layout Plain Layout
28800 svn unlock 
28801 \begin_inset Quotes eld
28802 \end_inset
28803
28804 <ファイル名>
28805 \begin_inset Quotes erd
28806 \end_inset
28807
28808
28809 \end_layout
28810
28811 \end_inset
28812
28813
28814 \end_layout
28815
28816 \begin_layout Labeling
28817 \labelwidthstring 00.00.0000
28818 チェックアウト:
28819  
28820 \begin_inset Flex Code
28821 status collapsed
28822
28823 \begin_layout Plain Layout
28824 svn update 
28825 \begin_inset Quotes eld
28826 \end_inset
28827
28828 <ファイル名>
28829 \begin_inset Quotes erd
28830 \end_inset
28831
28832
28833 \end_layout
28834
28835 \end_inset
28836
28837
28838 \begin_inset Newline newline
28839 \end_inset
28840
28841
28842 \begin_inset Flex Code
28843 status collapsed
28844
28845 \begin_layout Plain Layout
28846 svn unlock 
28847 \begin_inset Quotes eld
28848 \end_inset
28849
28850 <ファイル名>
28851 \begin_inset Quotes erd
28852 \end_inset
28853
28854
28855 \end_layout
28856
28857 \end_inset
28858
28859
28860 \end_layout
28861
28862 \begin_layout Subsubsection
28863 自動ロック特性
28864 \begin_inset CommandInset label
28865 LatexCommand label
28866 name "subsec:自動ロック特性"
28867
28868 \end_inset
28869
28870
28871 \end_layout
28872
28873 \begin_layout Standard
28874 上述したような
28875 \begin_inset Flex Code
28876 status collapsed
28877
28878 \begin_layout Plain Layout
28879 .lyx
28880 \end_layout
28881
28882 \end_inset
28883
28884 ファイルに対する書き込み権限の自動設定は,
28885
28886 \family sans
28887 ファイル\SpecialChar menuseparator
28888 バージョン管理\SpecialChar menuseparator
28889 ロック特性を使用
28890 \family default
28891
28892 \begin_inset space \thinspace{}
28893 \end_inset
28894
28895 で行うことができます.このコマンドは,
28896 SVNサーバでファイルがロックされていないときのみ使用可能状態になります(つまり,
28897 使用するにはチェックアウトが必要です).
28898 \end_layout
28899
28900 \begin_layout Standard
28901 SVNコマンド:
28902
28903 \end_layout
28904
28905 \begin_layout Labeling
28906 \labelwidthstring 00.00.0000
28907 チェックイン:
28908  
28909 \begin_inset Flex Code
28910 status collapsed
28911
28912 \begin_layout Plain Layout
28913 svn propset svn:needs-lock ON 
28914 \begin_inset Quotes eld
28915 \end_inset
28916
28917 <ファイル名>
28918 \begin_inset Quotes erd
28919 \end_inset
28920
28921
28922 \end_layout
28923
28924 \end_inset
28925
28926
28927 \end_layout
28928
28929 \begin_layout Labeling
28930 \labelwidthstring 00.00.0000
28931 チェックアウト:
28932  
28933 \begin_inset Flex Code
28934 status collapsed
28935
28936 \begin_layout Plain Layout
28937 svn propdel svn:needs-lock 
28938 \begin_inset Quotes eld
28939 \end_inset
28940
28941 <ファイル名>
28942 \begin_inset Quotes erd
28943 \end_inset
28944
28945
28946 \end_layout
28947
28948 \end_inset
28949
28950
28951 \end_layout
28952
28953 \begin_layout Subsubsection
28954 \begin_inset CommandInset label
28955 LatexCommand label
28956 name "subsec:VCS改訂情報"
28957
28958 \end_inset
28959
28960 文書の改訂情報
28961 \end_layout
28962
28963 \begin_layout Standard
28964 文書中で改訂情報を有効化するにはいくつかの方法があります.
28965 \end_layout
28966
28967 \begin_layout Itemize
28968 \SpecialChar LyX
28969 による直接サポート
28970 \end_layout
28971
28972 \begin_deeper
28973 \begin_layout Itemize
28974 ツリー改訂情報(
28975 \begin_inset Flex Code
28976 status collapsed
28977
28978 \begin_layout Plain Layout
28979 vcs-tree-revision
28980 \end_layout
28981
28982 \end_inset
28983
28984 ).
28985 \begin_inset Flex Code
28986 status collapsed
28987
28988 \begin_layout Plain Layout
28989 svnversion
28990 \end_layout
28991
28992 \end_inset
28993
28994 コマンドの出力を返します.下記の表が,
28995 結果の読み方のヒントを与えるでしょう.
28996 \end_layout
28997
28998 \begin_layout Standard
28999 \align center
29000 \begin_inset Tabular
29001 <lyxtabular version="3" rows="6" columns="2">
29002 <features tabularvalignment="middle">
29003 <column alignment="center" valignment="top">
29004 <column alignment="center" valignment="top">
29005 <row>
29006 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29007 \begin_inset Text
29008
29009 \begin_layout Plain Layout
29010 出力
29011 \end_layout
29012
29013 \end_inset
29014 </cell>
29015 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29016 \begin_inset Text
29017
29018 \begin_layout Plain Layout
29019 意味
29020 \end_layout
29021
29022 \end_inset
29023 </cell>
29024 </row>
29025 <row>
29026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29027 \begin_inset Text
29028
29029 \begin_layout Plain Layout
29030 4123:4168
29031 \end_layout
29032
29033 \end_inset
29034 </cell>
29035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29036 \begin_inset Text
29037
29038 \begin_layout Plain Layout
29039 改訂版の混合した作業コピー
29040 \end_layout
29041
29042 \end_inset
29043 </cell>
29044 </row>
29045 <row>
29046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29047 \begin_inset Text
29048
29049 \begin_layout Plain Layout
29050 4168M
29051 \end_layout
29052
29053 \end_inset
29054 </cell>
29055 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29056 \begin_inset Text
29057
29058 \begin_layout Plain Layout
29059 修正された作業コピー
29060 \end_layout
29061
29062 \end_inset
29063 </cell>
29064 </row>
29065 <row>
29066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29067 \begin_inset Text
29068
29069 \begin_layout Plain Layout
29070 4123S
29071 \end_layout
29072
29073 \end_inset
29074 </cell>
29075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29076 \begin_inset Text
29077
29078 \begin_layout Plain Layout
29079 スイッチされた作業コピー
29080 \end_layout
29081
29082 \end_inset
29083 </cell>
29084 </row>
29085 <row>
29086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29087 \begin_inset Text
29088
29089 \begin_layout Plain Layout
29090 4123P
29091 \end_layout
29092
29093 \end_inset
29094 </cell>
29095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29096 \begin_inset Text
29097
29098 \begin_layout Plain Layout
29099 チェックアウト頻度が低かったことによる不完全な作業コピー
29100 \end_layout
29101
29102 \end_inset
29103 </cell>
29104 </row>
29105 <row>
29106 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29107 \begin_inset Text
29108
29109 \begin_layout Plain Layout
29110 4123:4168MS
29111 \end_layout
29112
29113 \end_inset
29114 </cell>
29115 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29116 \begin_inset Text
29117
29118 \begin_layout Plain Layout
29119 改訂版が混合し,
29120 修正され,
29121 スイッチされた作業コピー
29122 \end_layout
29123
29124 \end_inset
29125 </cell>
29126 </row>
29127 </lyxtabular>
29128
29129 \end_inset
29130
29131
29132 \end_layout
29133
29134 \begin_layout Itemize
29135 ファイル改訂情報.
29136 \begin_inset Flex Code
29137 status collapsed
29138
29139 \begin_layout Plain Layout
29140 svn
29141 \begin_inset space ~
29142 \end_inset
29143
29144 info
29145 \begin_inset space ~
29146 \end_inset
29147
29148 --xml
29149 \begin_inset space ~
29150 \end_inset
29151
29152 file.lyx
29153 \end_layout
29154
29155 \end_inset
29156
29157 の出力を解析したものが返されます.サポートされるフラグは
29158 \end_layout
29159
29160 \begin_deeper
29161 \begin_layout Itemize
29162 最終コミットのバージョン番号(
29163 \begin_inset Flex Code
29164 status collapsed
29165
29166 \begin_layout Plain Layout
29167 vcs-revision
29168 \end_layout
29169
29170 \end_inset
29171
29172
29173 \end_layout
29174
29175 \begin_layout Itemize
29176 最終コミットの著者(
29177 \begin_inset Flex Code
29178 status collapsed
29179
29180 \begin_layout Plain Layout
29181 vcs-author
29182 \end_layout
29183
29184 \end_inset
29185
29186
29187 \end_layout
29188
29189 \begin_layout Itemize
29190 最終コミットの日付(
29191 \begin_inset Flex Code
29192 status collapsed
29193
29194 \begin_layout Plain Layout
29195 vcs-date
29196 \end_layout
29197
29198 \end_inset
29199
29200
29201 \end_layout
29202
29203 \begin_layout Itemize
29204 最終コミットの時間(
29205 \begin_inset Flex Code
29206 status collapsed
29207
29208 \begin_layout Plain Layout
29209 vcs-time
29210 \end_layout
29211
29212 \end_inset
29213
29214
29215 \end_layout
29216
29217 \end_deeper
29218 \begin_layout Standard
29219 これらの情報は,
29220 情報差込枠で得ることができます(b).これらの情報は,
29221 ファイルをsvn管理下に置いたときのみ(すなわち使用中文書の
29222 \begin_inset Flex Code
29223 status collapsed
29224
29225 \begin_layout Plain Layout
29226 .svn
29227 \end_layout
29228
29229 \end_inset
29230
29231 ディレクトリがあるときのみ)利用可能です.
29232 \end_layout
29233
29234 \end_deeper
29235 \begin_layout Itemize
29236 もう一つの—
29237 ハッカー的な—
29238 方法は,
29239 SVNキーワードを使用する方法です
29240 \begin_inset Foot
29241 status collapsed
29242
29243 \begin_layout Plain Layout
29244 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
29245 \end_layout
29246
29247 \end_inset
29248
29249 .簡単に言えば,
29250 ファイルキーワード特性を設定して(例:
29251
29252 \family sans
29253 svn propset svn:keywords 'Rev' file.lyx
29254 \family default
29255 ),
29256 文書中にキーワード\SpecialChar TeX
29257 コード
29258 \begin_inset Foot
29259 status collapsed
29260
29261 \begin_layout Plain Layout
29262 これは,
29263 \SpecialChar LyX
29264 がキーワードタグの途中で改行してしまわないことを確実にするための,
29265 簡単な方法です.
29266 \end_layout
29267
29268 \end_inset
29269
29270 タグ(例:
29271
29272 \begin_inset Flex Code
29273 status collapsed
29274
29275 \begin_layout Plain Layout
29276 $Rev$
29277 \end_layout
29278
29279 \end_inset
29280
29281 )を貼り付けるのです.このようにして,
29282 SVNクライアントは,
29283 各更新やコミットの後に自動的に改訂番号を代入することができるのです(例:
29284
29285 \begin_inset Flex Code
29286 status collapsed
29287
29288 \begin_layout Plain Layout
29289 $Rev:
29290  59 $
29291 \end_layout
29292
29293 \end_inset
29294
29295 ).このアプローチにはいくつか問題があります.第一に,
29296 \SpecialChar TeX
29297 の世界では「$」文字は数式を表すのに使われるので,
29298 \SpecialChar LyX
29299 中の
29300 \begin_inset Formula $Rev$
29301 \end_inset
29302
29303 という数式表現が,
29304 すべて
29305 \begin_inset Formula $Rev:59$
29306 \end_inset
29307
29308 になってしまいます.その他のId・Date・Authorなどといったキーワードも同様です.第二に,
29309 SVN出力は使用中のロケールに依存するので,
29310 Dateが用いられると,
29311 SVNは,
29312 問題を引き起こすような文字列を容易に生成してしまいます.第三に,
29313 文書中には,
29314 番号だけでなく「Rev:
29315  59」という文字列全体が表示されてしまいます.Subversionがユーザ定義のキーワードを実装するまでは,
29316 このアプローチを信頼性を持って使用したり,
29317 \SpecialChar LyX
29318 がこれを直接サポートすることは,
29319 難しそうです.
29320 \end_layout
29321
29322 \begin_layout Subsection
29323 SVNとWindows環境
29324 \end_layout
29325
29326 \begin_layout Quote
29327 ユーザが,
29328 かなり早いうちに自分自身でコマンドライン操作を理解できないのであれば,
29329 TortoiseSVNを使った方が賢明でしょう.—
29330 P.
29331  A.
29332  ルービン
29333 \end_layout
29334
29335 \begin_layout Subsubsection
29336 準備
29337 \end_layout
29338
29339 \begin_layout Standard
29340 \SpecialChar LyX
29341 を導入して,
29342 Subversionレポジトリへのアクセス権を持っている他に,
29343 ユーザはSubversionクライアントプログラムを導入する必要があります.クライアントプログラムのWindows用インストーラは
29344 \begin_inset CommandInset href
29345 LatexCommand href
29346 name "CollabNet"
29347 target "http://www.collab.net/nonav/downloads/subversion/"
29348 literal "false"
29349
29350 \end_inset
29351
29352 にあります.ユーザは
29353 \begin_inset CommandInset href
29354 LatexCommand href
29355 name "TortoiseSVN"
29356 target "http://tortoisesvn.tigris.org/"
29357 literal "false"
29358
29359 \end_inset
29360
29361 も導入することを考えるでしょう.これはSubversionの操作をWindows Explorerのコンテクスト(右クリック)メニューに統合します.\SpecialChar LyX
29362 外部で行う操作は,
29363 一般的にExplorerコンテクストメニューを使った方が便利です.TortoiseSVNは,
29364 \SpecialChar LyX
29365 自身が使用するクライアントプログラムの代わりとは成りませんので,
29366 注意してください.
29367 \end_layout
29368
29369 \begin_layout Subsubsection
29370 文書をSubversion管理下に置くには
29371 \end_layout
29372
29373 \begin_layout Standard
29374 \SpecialChar LyX
29375 文書をSubversionのバージョン管理下に置く前に,
29376 その親ディレクトリをバージョン管理下に置かなくてはなりません.文書を,
29377 既にレポジトリに存在するプロジェクトに追加する際には,
29378 新規文書が置かれることになるディレクトリへ,
29379 プロジェクトをチェックアウトすることによって実現します.プロジェクト自体がバージョン管理下にない場合(たとえばこの文書が新規プロジェクトの最初のファイルである場合)には,
29380 このディレクトリをレポジトリにインポートしなくてはなりません.これは,
29381 \SpecialChar LyX
29382 の外部で行います.インポートもチェックアウトも共に,
29383 TortoiseSVNを使えば,
29384 Explorerのコンテクストメニューから簡単に終えることができます.あるいは,
29385 DOSプロンプトでコマンドライン・クライアントを使って成し遂げることもできます.TortoiseSVNを使ったプロジェクトのインポート手続きを下記で説明します.レポジトリは既に存在し,
29386 新規プロジェクトを
29387 \begin_inset Flex Code
29388 status collapsed
29389
29390 \begin_layout Plain Layout
29391 C:
29392 \backslash
29393 new project
29394 \end_layout
29395
29396 \end_inset
29397
29398 で開始するものとします.Subversionクライアントプログラムを使うための情報を得るには,
29399 DOSシェルで
29400 \begin_inset Flex Code
29401 status collapsed
29402
29403 \begin_layout Plain Layout
29404 svn --help
29405 \end_layout
29406
29407 \end_inset
29408
29409 を実行してください.
29410 \end_layout
29411
29412 \begin_layout Enumerate
29413 Windows Explorerで
29414 \begin_inset Flex Code
29415 status collapsed
29416
29417 \begin_layout Plain Layout
29418 C:
29419 \backslash
29420 new project
29421 \end_layout
29422
29423 \end_inset
29424
29425 を見つけ出して右クリックし,
29426
29427 \family sans
29428 TortoiseSVN\SpecialChar menuseparator
29429 Repo-browser
29430 \family default
29431 を選択してください.必要であれば,
29432 レポジトリのURLを調整し,
29433 OKをクリックしてください.
29434 \end_layout
29435
29436 \begin_layout Enumerate
29437 新規プロジェクトフォルダを置くレポジトリレベル(多くの場合最上位レベル)を右クリックし,
29438
29439 \family sans
29440 Create folder\SpecialChar ldots
29441
29442 \family default
29443 をクリックしてください.プロジェクトフォルダの名称を入力してOKをクリックしてください.必要であればログファイル用のメッセージを入力し,
29444 再びOKをクリックしてください.新規プロジェクトフォルダがレポジトリに現れるはずです.最後にOKを再度クリックして,
29445 レポジトリブラウザを終了してください.
29446 \end_layout
29447
29448 \begin_layout Enumerate
29449 再度
29450 \begin_inset Flex Code
29451 status collapsed
29452
29453 \begin_layout Plain Layout
29454 C:
29455 \backslash
29456 new project
29457 \end_layout
29458
29459 \end_inset
29460
29461 を右クリックし,
29462 今度は
29463 \family sans
29464 SVN Checkout\SpecialChar ldots
29465
29466 \family default
29467 を選択してください.レポジトリにたった今作成した,
29468 プロジェクトフォルダのURLを選択し,
29469 チェックアウトディレクトリを
29470 \begin_inset Flex Code
29471 status collapsed
29472
29473 \begin_layout Plain Layout
29474 C:
29475 \backslash
29476 new project
29477 \end_layout
29478
29479 \end_inset
29480
29481 に設定してから,
29482 OKをクリックしてください.フォルダが空でないことを警告されますが,
29483 OKをクリックして進んでください.すると,
29484
29485 \begin_inset Flex Code
29486 status collapsed
29487
29488 \begin_layout Plain Layout
29489 C:
29490 \backslash
29491 new project
29492 \end_layout
29493
29494 \end_inset
29495
29496 の下に
29497 \begin_inset Flex Code
29498 status collapsed
29499
29500 \begin_layout Plain Layout
29501 .svn
29502 \end_layout
29503
29504 \end_inset
29505
29506 ディレクトリが作成されます.
29507 \end_layout
29508
29509 \begin_layout Enumerate
29510 \SpecialChar LyX
29511 で文書を新規作成するか開くかして,
29512
29513 \family sans
29514 ファイル\SpecialChar menuseparator
29515 バージョン管理\SpecialChar menuseparator
29516 登録
29517 \family default
29518 をクリックします.ログメッセージを入力してOKをクリックし,
29519 文書をバージョン管理にコミットしてください.
29520 \end_layout
29521
29522 \begin_layout Standard
29523 爾後,
29524
29525 \family sans
29526 ファイル\SpecialChar menuseparator
29527 バージョン管理
29528 \family default
29529 メニューのすべての機能が使用できるようになります.Windows ExplorerのTortoiseSVNコンテクストメニューか,
29530 コマンドプロンプトでのSubversionクライアントプログラムを使用して,
29531 文書をチェックイン・チェックアウトしたり,
29532 履歴を見たりといったことができるようになります.
29533 \end_layout
29534
29535 \begin_layout Subsubsection
29536 Windows下でSVNと共にSSHトンネルを使うには
29537 \end_layout
29538
29539 \begin_layout Standard
29540 Linuxに較べて,
29541 WindowsでSVNクライアントをSSH経由で通信するようにさせるのは,
29542 かなり厄介な仕事です.どのようにクライアント側を設定すればよいか,
29543 少なくとも幾分かのヒントをお示しするつもりですが,
29544 sshとWindowsコマンドラインの知識が前もって必要であり,
29545 それと共にかなりの量のフラストレーションが溜まることを覚悟しておいてください.
29546 \end_layout
29547
29548 \begin_layout Enumerate
29549 前節で述べたように,
29550 Windows用のSVNクライアントを入手してください.これが新規の導入である場合には,
29551 何らかのSVNコマンド(たとえば
29552 \begin_inset Flex Code
29553 status collapsed
29554
29555 \begin_layout Plain Layout
29556 svn --version
29557 \end_layout
29558
29559 \end_inset
29560
29561 )を実行して,
29562 configファイル群を生成させてください.これらは後で変更を加える必要があります.
29563 \end_layout
29564
29565 \begin_layout Enumerate
29566 Windows用のsshクライアントを選んでください.選択肢はたくさんありますが,
29567 ここではPutty tools
29568 \begin_inset Foot
29569 status open
29570
29571 \begin_layout Plain Layout
29572 \begin_inset Flex URL
29573 status collapsed
29574
29575 \begin_layout Plain Layout
29576
29577 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
29578 \end_layout
29579
29580 \end_inset
29581
29582
29583 \end_layout
29584
29585 \end_inset
29586
29587 のものを使用することとしましょう.クライアントが接続の度にパスワードを訊いてこないように,
29588 接続を自動化する必要があります.簡単にするために,
29589 追加的なパスワード保護などを加えないキーのみを使用することとします.
29590 \end_layout
29591
29592 \begin_deeper
29593 \begin_layout Enumerate
29594 \begin_inset Flex Code
29595 status collapsed
29596
29597 \begin_layout Plain Layout
29598 puttygen
29599 \end_layout
29600
29601 \end_inset
29602
29603 を使ってキーを生成します..ppkプライベートキーファイルを保存し,
29604 パブリックキーファイルはサーバ側に置きます.SVNサーバがLinuxで走っている場合,
29605 このパブリックキーの書式はLinuxのopensshと互換性がないために,
29606 「Public key for pasting into OpenSSH authorized_keys file:」編集フィールドから,
29607 直接サーバの
29608 \begin_inset Flex Code
29609 status collapsed
29610
29611 \begin_layout Plain Layout
29612 ~/.ssh/authorized_keys
29613 \end_layout
29614
29615 \end_inset
29616
29617 または
29618 \begin_inset Flex Code
29619 status collapsed
29620
29621 \begin_layout Plain Layout
29622 authorized_keys2
29623 \end_layout
29624
29625 \end_inset
29626
29627 ファイルにコピー&ペーストを行わなくてはならないことに注意してください.
29628 \end_layout
29629
29630 \begin_layout Enumerate
29631 Puttyのplinkを入手してください.SVNのconfigファイル
29632 \begin_inset Foot
29633 status collapsed
29634
29635 \begin_layout Plain Layout
29636 正確なパスはWindowsのバージョンに依りますが,
29637 通常は
29638 \begin_inset Flex Code
29639 status collapsed
29640
29641 \begin_layout Plain Layout
29642 c:
29643 \backslash
29644 Documents and Settings
29645 \backslash
29646 user
29647 \backslash
29648 Application Data
29649 \backslash
29650 Subversion
29651 \backslash
29652 config
29653 \end_layout
29654
29655 \end_inset
29656
29657
29658 \begin_inset Flex Code
29659 status collapsed
29660
29661 \begin_layout Plain Layout
29662 AppData
29663 \backslash
29664 Roaming
29665 \backslash
29666 Subversion
29667 \end_layout
29668
29669 \end_inset
29670
29671 辺りにあります.
29672 \end_layout
29673
29674 \end_inset
29675
29676 中の
29677 \begin_inset Flex Code
29678 status collapsed
29679
29680 \begin_layout Plain Layout
29681 [tunnels]
29682 \end_layout
29683
29684 \end_inset
29685
29686 セクションにsshコマンドを設定してください.例:
29687
29688 \begin_inset Flex Code
29689 status collapsed
29690
29691 \begin_layout Plain Layout
29692 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
29693 \end_layout
29694
29695 \end_inset
29696
29697
29698 \begin_inset Foot
29699 status collapsed
29700
29701 \begin_layout Plain Layout
29702 通常,
29703 正確なコマンドを機能させるには長い時間がかかり,
29704 それは多くの物事に依存します.たとえば,
29705 リモートサーバがPuttyなどの既定セッションとして保存されないようにしてください.うまく行かない場合には,
29706 まずSVNなしでplink経由の接続を試してください.
29707 \end_layout
29708
29709 \end_inset
29710
29711
29712 \end_layout
29713
29714 \end_deeper
29715 \begin_layout Enumerate
29716 SVNアーカイブをチェックアウトしてください.例:
29717
29718 \begin_inset Newline newline
29719 \end_inset
29720
29721
29722 \begin_inset Flex Code
29723 status collapsed
29724
29725 \begin_layout Plain Layout
29726 svn co svn+ssh://user@server/repository_path
29727 \end_layout
29728
29729 \end_inset
29730
29731
29732 \end_layout
29733
29734 \begin_layout Subsubsection
29735 行末変換
29736 \end_layout
29737
29738 \begin_layout Standard
29739 共著者同士がLinuxとWindowsを混在させているとき,
29740 \SpecialChar LyX
29741 は.lyxファイル中で異なった行末記号を使用することになります.これは,
29742 \SpecialChar LyX
29743 の機能に関する限り問題になりませんが,
29744 コミット差分は巨大になり,
29745 マージではコンフリクトを引き起こしがちです.幸いにして,
29746 SVNは,
29747 .lyxファイルを
29748 \begin_inset Flex Code
29749 status collapsed
29750
29751 \begin_layout Plain Layout
29752 native
29753 \end_layout
29754
29755 \end_inset
29756
29757 モードに切り替える際
29758 \begin_inset Foot
29759 status collapsed
29760
29761 \begin_layout Plain Layout
29762 手短には
29763 \begin_inset Flex Code
29764 status collapsed
29765
29766 \begin_layout Plain Layout
29767 svn propset svn:eol-style native FILE_NAME
29768 \end_layout
29769
29770 \end_inset
29771
29772
29773 \end_layout
29774
29775 \end_inset
29776
29777
29778 CR/LF問題をどのように取り扱えばいいかを知っているので大丈夫です
29779 \begin_inset Foot
29780 status collapsed
29781
29782 \begin_layout Plain Layout
29783 \begin_inset Flex URL
29784 status collapsed
29785
29786 \begin_layout Plain Layout
29787
29788 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
29789 \end_layout
29790
29791 \end_inset
29792
29793
29794 \end_layout
29795
29796 \end_inset
29797
29798
29799 \end_layout
29800
29801 \begin_layout Subsection
29802 \SpecialChar LyX
29803 におけるGITコマンド
29804 \end_layout
29805
29806 \begin_layout Standard
29807 \SpecialChar LyX
29808 で,
29809 最小限のGITコマンドがサポートされるようになりました.これらのコマンドは,
29810
29811 \family sans
29812 ファイル\SpecialChar menuseparator
29813 バージョン管理
29814 \family default
29815
29816 \begin_inset space \thinspace{}
29817 \end_inset
29818
29819 にあります.リポジトリのアクセスに,
29820 パスワード保護されたsshを使用している場合には,
29821 ターミナルウィンドウでの操作をするように促されます.\SpecialChar LyX
29822 は,
29823 GIT 1.7に対して試験を行っています
29824 \begin_inset Foot
29825 status collapsed
29826
29827 \begin_layout Plain Layout
29828 Windowsユーザーはgitにパスが通っていることを確認する必要があります.これは,
29829 \SpecialChar LyX
29830 中から
29831 \family sans
29832 ツール\SpecialChar menuseparator
29833 設定\SpecialChar menuseparator
29834 パス\SpecialChar menuseparator
29835 PATH接頭辞
29836 \family default
29837 で設定できます.
29838 \end_layout
29839
29840 \end_inset
29841
29842
29843 \end_layout
29844
29845 \begin_layout Standard
29846 GITと他のバージョン管理システムとの大きな相違点は,
29847 GITの配布形態にあります.伝統的なバージョン管理システムでは,
29848 リポジトリをホストする,
29849 中心となるサーバーがあります.ユーザーは変更点をサーバーにコミットし,
29850 他のユーザーが行った更新分をサーバーから受け取ります.一方,
29851 GITでは,
29852 ユーザーは,
29853 ローカルのリポジトリにコミットを行います.ローカルリポジトリは,
29854 GITコマンドの
29855 \begin_inset Flex Code
29856 status collapsed
29857
29858 \begin_layout Plain Layout
29859 pull
29860 \end_layout
29861
29862 \end_inset
29863
29864 または
29865 \begin_inset Flex Code
29866 status collapsed
29867
29868 \begin_layout Plain Layout
29869 push
29870 \end_layout
29871
29872 \end_inset
29873
29874 を使って,
29875 1つ以上のリモートリポジトリと同期されます.\SpecialChar LyX
29876 は,
29877 リモートのGITリポジトリとは,
29878 一切関わりません.CVSやSVNの集権的リポジトリに対して行うのと同じことを,
29879 ローカルのリポジトリに対してのみ行います.リモートのGITリポジトリを使用している場合には,
29880 お好みのGITクライアントを使用して,
29881
29882 \begin_inset Flex Code
29883 status collapsed
29884
29885 \begin_layout Plain Layout
29886 pull
29887 \end_layout
29888
29889 \end_inset
29890
29891 または
29892 \begin_inset Flex Code
29893 status collapsed
29894
29895 \begin_layout Plain Layout
29896 push
29897 \end_layout
29898
29899 \end_inset
29900
29901 の操作を行う必要があります.
29902 \end_layout
29903
29904 \begin_layout Subsubsection
29905 登録
29906 \end_layout
29907
29908 \begin_layout Standard
29909 お使いの文書が改訂管理下に置かれていなければ,
29910 メニューにはこの項目だけが表示されます.もし改訂管理が有効ならば,
29911
29912 \family sans
29913 登録
29914 \family default
29915 項目は表示されません.
29916 \end_layout
29917
29918 \begin_layout Standard
29919 本コマンドは,
29920 既に文書のあるディレクトリをGIT管理下に置いている場合に
29921 \emph on
29922 のみ
29923 \emph default
29924 (すなわち
29925 \begin_inset Flex Code
29926 status collapsed
29927
29928 \begin_layout Plain Layout
29929 .git/index
29930 \end_layout
29931
29932 \end_inset
29933
29934 ファイルが存在する場合にのみ),
29935 お使いの文書をGITに登録します.つまり,
29936 アーカイブはご自分でチェックアウトしなくてはなりません.
29937 \end_layout
29938
29939 \begin_layout Standard
29940 すると,
29941 文書の最初の説明文を入力するように促されます.登録したファイルは,
29942 まだコミットされたわけではないことに注意してください.
29943 \end_layout
29944
29945 \begin_layout Standard
29946 実行されるGITコマンドは,
29947
29948 \begin_inset Flex Code
29949 status collapsed
29950
29951 \begin_layout Plain Layout
29952 git add "<ファイル名>"
29953 \end_layout
29954
29955 \end_inset
29956
29957 です.
29958 \end_layout
29959
29960 \begin_layout Standard
29961 スイッチの説明は
29962 \begin_inset Flex Code
29963 status collapsed
29964
29965 \begin_layout Plain Layout
29966 man git
29967 \end_layout
29968
29969 \end_inset
29970
29971 をお読みください.
29972 \end_layout
29973
29974 \begin_layout Subsubsection
29975 変更をチェックイン
29976 \end_layout
29977
29978 \begin_layout Standard
29979 ファイルの編集を終えたら,
29980 変更をコミットします.このとき,
29981 変更の説明文を入れるよう促されます.その後,
29982 変更がコミットされます.
29983 \end_layout
29984
29985 \begin_layout Standard
29986 GITコマンド:
29987
29988 \begin_inset Flex Code
29989 status collapsed
29990
29991 \begin_layout Plain Layout
29992 git commit -q -m
29993 \begin_inset Quotes erd
29994 \end_inset
29995
29996 <入力した説明文>
29997 \begin_inset Quotes erd
29998 \end_inset
29999
30000  "<ファイル名>"
30001 \end_layout
30002
30003 \end_inset
30004
30005
30006 \end_layout
30007
30008 \begin_layout Subsubsection
30009 リポジトリ版に戻す
30010 \end_layout
30011
30012 \begin_layout Standard
30013 これは,
30014 最後のチェックイン以降,
30015 文書に加えられた変更をすべて廃棄します.変更が廃棄される前に警告が表示されます.
30016 \end_layout
30017
30018 \begin_layout Standard
30019 GITコマンド:
30020
30021 \begin_inset Flex Code
30022 status collapsed
30023
30024 \begin_layout Plain Layout
30025 git checkout -q 
30026 \begin_inset Quotes qld
30027 \end_inset
30028
30029 <ファイル名>
30030 \begin_inset Quotes qld
30031 \end_inset
30032
30033
30034 \end_layout
30035
30036 \end_inset
30037
30038
30039 \end_layout
30040
30041 \begin_layout Subsubsection
30042 ファイル名変更
30043 \end_layout
30044
30045 \begin_layout Standard
30046 これは,
30047 現行文書のファイル名を変更します.最後のチェックイン以降,
30048 変更が加えられていないサラの文書であることが要求されます.ファイル名とコピー操作の説明を入力するように促され,
30049 その後,
30050 ローカルとリポジトリの両方でファイル名が変更されます.新旧ファイル名の文書の親ディレクトリが異なる場合には,
30051 コピーにインクルードされたファイルの相対パスは,
30052
30053 \family sans
30054 ファイル\SpecialChar menuseparator
30055 名前をつけて保存\SpecialChar ldots
30056
30057 \family default
30058 と同様に)全て調整されます.最後に,
30059 新ファイル名を使ってファイルが再度読み込まれます.
30060 \end_layout
30061
30062 \begin_layout Labeling
30063 \labelwidthstring 00.00.0000
30064 GITコマンド:
30065  
30066 \begin_inset space ~
30067 \end_inset
30068
30069
30070 \begin_inset Newline newline
30071 \end_inset
30072
30073
30074 \begin_inset Flex Code
30075 status collapsed
30076
30077 \begin_layout Plain Layout
30078 git mv "<ファイル名>" "<新ファイル名>"
30079 \end_layout
30080
30081 \end_inset
30082
30083
30084 \begin_inset Newline newline
30085 \end_inset
30086
30087
30088 \begin_inset Flex Code
30089 status collapsed
30090
30091 \begin_layout Plain Layout
30092 git commit
30093 \end_layout
30094
30095 \end_inset
30096
30097
30098 \end_layout
30099
30100 \begin_layout Subsubsection
30101 履歴を表示
30102 \end_layout
30103
30104 \begin_layout Standard
30105 これは,
30106 GIT文書の全履歴を表示します.
30107 \begin_inset Flex Code
30108 status collapsed
30109
30110 \begin_layout Plain Layout
30111 git log 
30112 \begin_inset Quotes qld
30113 \end_inset
30114
30115 <ファイル名>
30116 \begin_inset Quotes qld
30117 \end_inset
30118
30119
30120 \end_layout
30121
30122 \end_inset
30123
30124 の出力がブラウザに表示されます.
30125 \end_layout
30126
30127 \begin_layout Subsubsection
30128 改訂情報
30129 \end_layout
30130
30131 \begin_layout Standard
30132 \SpecialChar LyX
30133 は,
30134 ファイルの最終コミットのGITハッシュ番号・その短縮形・著者名・最終コミットの日時をサポートします.これらの情報は,
30135 すべて
30136 \begin_inset Flex Code
30137 status collapsed
30138
30139 \begin_layout Plain Layout
30140 git log -n 1 --pretty=format:%H%n%h%n%an%n%ai
30141 \end_layout
30142
30143 \end_inset
30144
30145 によって抽出されます.ツリーバージョン情報は,
30146
30147 \begin_inset Flex Code
30148 status collapsed
30149
30150 \begin_layout Plain Layout
30151 git describe --abbrev --dirty --long
30152 \end_layout
30153
30154 \end_inset
30155
30156 で取得されます.詳細については,
30157
30158 \begin_inset CommandInset ref
30159 LatexCommand ref
30160 reference "subsec:VCS改訂情報"
30161 nolink "false"
30162
30163 \end_inset
30164
30165 節を参照してください.
30166 \end_layout
30167
30168 \begin_layout Subsection
30169 さらなる調整
30170 \end_layout
30171
30172 \begin_layout Standard
30173 最近になって
30174 \begin_inset Flex Code
30175 status collapsed
30176
30177 \begin_layout Plain Layout
30178 vc-command
30179 \end_layout
30180
30181 \end_inset
30182
30183 機構が付け加えられたおかげで,
30184 \SpecialChar LyX
30185 のパワーユーザは,
30186 改訂管理のための自製コマンドを作ることができるようになりました.
30187 \end_layout
30188
30189 \begin_layout Standard
30190 たとえば,
30191 以下のようにして,
30192 二つのTortoiseSVNコマンドを直接統合することができます.
30193 \end_layout
30194
30195 \begin_layout Description
30196 コミット:
30197  
30198 \begin_inset Flex Code
30199 status collapsed
30200
30201 \begin_layout Plain Layout
30202 vc-command DR "." "TortoiseProc /command:commit /path:$$p"
30203 \end_layout
30204
30205 \end_inset
30206
30207
30208 \end_layout
30209
30210 \begin_layout Description
30211 元に戻す:
30212  
30213 \begin_inset Flex Code
30214 status collapsed
30215
30216 \begin_layout Plain Layout
30217 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
30218 \end_layout
30219
30220 \end_inset
30221
30222
30223 \end_layout
30224
30225 \begin_layout Subsection
30226 バージョン管理と文書比較
30227 \end_layout
30228
30229 \begin_layout Standard
30230 バージョン管理は,
30231 通常
30232 \begin_inset Flex Code
30233 status collapsed
30234
30235 \begin_layout Plain Layout
30236 diff
30237 \end_layout
30238
30239 \end_inset
30240
30241 ダンプを生成することによって,
30242 改訂版の間の変更点を検査するのが,
30243 典型的な使用法です.これは平文ファイルには有効なのですが,
30244 複雑な構造を持つ\SpecialChar LyX
30245 ファイルの場合には,
30246 あまり便利ではありません.そこで,
30247 \SpecialChar LyX
30248 は独自の文書比較機能を提供しています.この機能を呼び出すには2つの方法があります.1つは,
30249 \SpecialChar LyX
30250
30251 \begin_inset Flex Code
30252 status collapsed
30253
30254 \begin_layout Plain Layout
30255 vc-compare
30256 \end_layout
30257
30258 \end_inset
30259
30260 関数を直接呼び出す方法であり(詳細は\SpecialChar LyX
30261 関数説明書を参照),
30262 もう1つはツールバーアイコン
30263 \begin_inset Info
30264 type  "icon"
30265 arg   "vc-compare"
30266 \end_inset
30267
30268 による方法,
30269 さらにはメニュー項目
30270 \begin_inset Info
30271 type  "menu"
30272 arg   "vc-compare"
30273 \end_inset
30274
30275 を使用する方法です.当該文書のうち,
30276 任意の2つの改訂版を比較することもできますし,
30277 編集中の現行版を古い改訂版と比較することもできます(このとき改訂版遡及数「
30278 \family sans
30279 0
30280 \family default
30281 」は,
30282 編集中のファイルと最後にコミットした改訂版との比較を意味します).
30283 \end_layout
30284
30285 \begin_layout Standard
30286 この機能は,
30287 SVNとRCSでサポートされていますが,
30288 RCSは,
30289 より複雑なバージョン付けスキームを持っているため,
30290 制約があります.ダイアログ中で改訂版を指定する際の数字は,
30291 つねにRCS改訂番号の最後の数を指し示します(例:
30292 「1.2.35」版のときには「35」).現在のところ,
30293 改訂のGIT表記はサポートされておらず,
30294
30295 \begin_inset Flex Code
30296 status collapsed
30297
30298 \begin_layout Plain Layout
30299 HEAD~X
30300 \end_layout
30301
30302 \end_inset
30303
30304
30305 \lang english
30306 .
30307 \lang japanese
30308 の形で表記されるXステップ前の改訂版を,
30309 編集中文書と比較することのみが可能です.
30310 \end_layout
30311
30312 \begin_layout Section
30313 文芸プログラミング
30314 \begin_inset CommandInset label
30315 LatexCommand label
30316 name "sec:文芸プログラミング"
30317
30318 \end_inset
30319
30320
30321 \end_layout
30322
30323 \begin_layout Standard
30324
30325 \noun on
30326 Kayvan Sylvan
30327 \noun default
30328 (kayvan@sylvan.com)改訂 
30329 \noun on
30330 Edmar Wienskoski Jr.
30331 \noun default
30332 (edmar-w-jr@technologist.com)原文
30333 \end_layout
30334
30335 \begin_layout Subsection
30336 はじめに
30337 \end_layout
30338
30339 \begin_layout Standard
30340 この節の主な目的は,
30341 文芸的プログラミング(literate programming)のために,
30342 \SpecialChar LyX
30343 をどう使えばよいかをお見せすることです.ここでは,
30344 あなたがこのプログラミング技術をよくご存じで,
30345 「tangling」や「weaving」の意味するところを知っているものとして説明します.そうでない場合には,
30346 以下の各節にあるウェブリンクをたどってください.そこには,
30347 かつての開発の歴史から最新のツールチップまで,
30348 たくさんの良質なドキュメンテーションがあります.
30349 \end_layout
30350
30351 \begin_layout Standard
30352 また,
30353 あなたが,
30354 \SpecialChar LyX
30355 の設定を変更することを厭わない程度まで\SpecialChar LyX
30356 に習熟しており,
30357 Xリソースファイルにも親しんでいることを前提にしています.そうでない場合は,
30358 あなたの必要とするトピックを扱っている,
30359 \SpecialChar LyX
30360 の他の説明書で調べてください.
30361 \end_layout
30362
30363 \begin_layout Subsection
30364 文芸プログラミング
30365 \end_layout
30366
30367 \begin_layout Standard
30368 以下は,
30369 文芸プログラミング FAQからの抜粋です.
30370 \end_layout
30371
30372 \begin_layout Quotation
30373 文芸プログラミングは,
30374 人間が読むのに適した形でのドキュメンテーションとソースの組合わせです.実際,
30375 文芸的プログラムは楽しい読み物であるべきであり,
30376 さらには参加したいとさえ思わせるべきなのです!
30377 (ボブ,
30378 ごめん.言わずにはいれなかった.)一般的に,
30379 文芸プログラムは,
30380 ソースとドキュメンテーションを同一ファイル上に結合したものです.そして,
30381 文芸プログラミングツールは,
30382 ファイルを解析して,
30383 読むことのできるドキュメンテーションか,
30384 あるいはコンパイル可能なソースを生成します.文芸プログラミングのWEBスタイルは,
30385 D.
30386 \begin_inset space \thinspace{}
30387 \end_inset
30388
30389 E.
30390  Knuthが,
30391 \SpecialChar TeX
30392 組版ソフトウエアを開発中に作り出したものです.
30393 \end_layout
30394
30395 \begin_layout Standard
30396 他のエキスパートの発言です.
30397 \end_layout
30398
30399 \begin_layout Quotation
30400
30401 \emph on
30402 文芸プログラミングは,
30403 冗長なコメント付けと何が違いますか?
30404 \end_layout
30405
30406 \begin_layout Quotation
30407 3つの際立った特徴があります.重要な順に列挙すれば,
30408
30409 \end_layout
30410
30411 \begin_deeper
30412 \begin_layout Itemize
30413 推敲の順序が柔軟
30414 \end_layout
30415
30416 \begin_layout Itemize
30417 ブラウジングの自動サポート
30418 \end_layout
30419
30420 \begin_layout Itemize
30421 特に図式と数式を含んだドキュメンテーションの組版
30422 \end_layout
30423
30424 \end_deeper
30425 \begin_layout Quotation
30426 などがあります.
30427 \end_layout
30428
30429 \begin_layout Standard
30430 あなたの興味に火を付けたところで書誌情報を見てみましょう.
30431 \end_layout
30432
30433 \begin_layout Subsubsection
30434 書誌情報
30435 \end_layout
30436
30437 \begin_layout Standard
30438 完全な文芸プログラミング FAQは
30439 \end_layout
30440
30441 \begin_layout Quote
30442 Literate Programming FAQ 
30443 \begin_inset Flex URL
30444 status open
30445
30446 \begin_layout Plain Layout
30447
30448 http://www.literateprogramming.com/lpfaq.pdf
30449 \end_layout
30450
30451 \end_inset
30452
30453
30454 \end_layout
30455
30456 \begin_layout Standard
30457 にあります.
30458 \end_layout
30459
30460 \begin_layout Standard
30461 このFAQには,
30462 23(二十三です!)の文芸プログラミング用ツールが列挙されています.一部のツールは,
30463 特定のプログラミング言語用に特化したものですが,
30464 一般的な対象を持つものもあります.私は自分で使うのに,
30465 いくつかの理由から
30466 \noun on
30467 Noweb
30468 \noun default
30469 を選びました.
30470 \end_layout
30471
30472 \begin_layout Itemize
30473 説明文書を\SpecialChar LaTeX
30474 でもHTMLでも出力できる.
30475 \end_layout
30476
30477 \begin_layout Itemize
30478 オープンアーキテクチャを持っているので,
30479 新しいフィルタをプラグインとして加えたり
30480 \begin_inset Foot
30481 status collapsed
30482
30483 \begin_layout Plain Layout
30484
30485 \emph on
30486 フィルタ
30487 \emph default
30488 は,
30489 与えられたデータストリームを読み込み,
30490 操作されたデータストリームを出力するプログラムです.このようにして,
30491 (文芸コードを含んだ)WEBファイルを,
30492 Cプログラムコードや\SpecialChar LaTeX
30493 コードのみを含むファイルに変換することができます.
30494 \end_layout
30495
30496 \end_inset
30497
30498
30499 自分が必要な特別な処理を実行することが容易である.
30500 \end_layout
30501
30502 \begin_layout Itemize
30503 すでに利用可能となっているフィルタの良質なコレクションがある(HTMLはその一つです).
30504 \end_layout
30505
30506 \begin_layout Itemize
30507 無料である.
30508 \end_layout
30509
30510 \begin_layout Standard
30511 Nowebのウェブページは
30512 \end_layout
30513
30514 \begin_layout Quote
30515 Nowebホームページ 
30516 \begin_inset Flex URL
30517 status collapsed
30518
30519 \begin_layout Plain Layout
30520
30521 https://www.cs.tufts.edu/~nr/noweb/
30522 \end_layout
30523
30524 \end_inset
30525
30526
30527 \end_layout
30528
30529 \begin_layout Standard
30530 にあります.ここから始めれば,
30531 たくさんの興味深いリンクや,
30532 文芸プログラミングの用例にたどり着くことができます.
30533 \end_layout
30534
30535 \begin_layout Subsection
30536 \SpecialChar LyX
30537 とNowebを使った文芸プログラミング
30538 \end_layout
30539
30540 \begin_layout Standard
30541 \SpecialChar LyX
30542 における文芸プログラミングのサポートは,
30543 \SpecialChar LyX
30544 の汎用変換機構を使用して実現しています.このサポートは「Noweb非依存」的な方法で提供されているので,
30545 LyXの設定を変更するだけで,
30546 自分の好きな他の文芸プログラミングツールを使って,
30547 この新しい\SpecialChar LyX
30548 の機能を利用することができます.
30549 \end_layout
30550
30551 \begin_layout Subsubsection
30552 ドキュメントとコードの生成(weavingおよびtangling)
30553 \end_layout
30554
30555 \begin_layout Paragraph
30556 nowebモジュールの使用
30557 \end_layout
30558
30559 \begin_layout Standard
30560 Nowebと\SpecialChar LyX
30561 の導入に成功したならば,
30562 新規文書を開いたときにはいつも,
30563 文書クラスを選択した後,
30564
30565 \family sans
30566 文書\SpecialChar menuseparator
30567 設定
30568 \family default
30569
30570 \begin_inset space \thinspace{}
30571 \end_inset
30572
30573 メニューで「noweb」モジュールを追加するようにしてください.Nowebが正しく導入されていれば,
30574 「モジュール」リンクをクリックした際,
30575 利用可能リストに「noweb」モジュールが表示され,
30576 文書に追加できるようになっています.
30577 \end_layout
30578
30579 \begin_layout Paragraph
30580 コードの入力
30581 \end_layout
30582
30583 \begin_layout Standard
30584 \SpecialChar LyX
30585 では,
30586
30587 \begin_inset Flex Noun
30588 status collapsed
30589
30590 \begin_layout Plain Layout
30591 Chunk
30592 \end_layout
30593
30594 \end_inset
30595
30596 という名前の特別差込枠を使えば,
30597 コードを入力することができます.Nowebは次のようにchunks を区切ります.
30598 \end_layout
30599
30600 \begin_layout LyX-Code
30601 <<My code>>=
30602 \end_layout
30603
30604 \begin_layout LyX-Code
30605   code
30606 \end_layout
30607
30608 \begin_layout LyX-Code
30609   more code
30610 \end_layout
30611
30612 \begin_layout LyX-Code
30613   even more code
30614 \end_layout
30615
30616 \begin_layout LyX-Code
30617   @
30618 \end_layout
30619
30620 \begin_layout Standard
30621 問題は<<と@の間にあるものを完全にそのままの形で扱わなければならないことです.つまり,
30622 \SpecialChar LyX
30623 は,
30624 この間に書かれたものを特別に解釈することは決してあってはなりません.これも
30625 \begin_inset Flex Noun
30626 status collapsed
30627
30628 \begin_layout Plain Layout
30629 Chunk
30630 \end_layout
30631
30632 \end_inset
30633
30634 によって取り扱われ,
30635 通常のテキスト差込枠のように見えますが,
30636 自由に空白を入れることができます.
30637 \end_layout
30638
30639 \begin_layout Standard
30640 特殊な注釈として,
30641 chunk内でNowebの「%def」を使えば,
30642 Nowebのidentifierの相互参照に項目を加えることができます.次の例を見てください.
30643 \end_layout
30644
30645 \begin_layout LyX-Code
30646 <<My chunk>>=
30647 \end_layout
30648
30649 \begin_layout LyX-Code
30650 def some_function(args):
30651 \end_layout
30652
30653 \begin_layout LyX-Code
30654    "This is the doc string for this function."
30655 \end_layout
30656
30657 \begin_layout LyX-Code
30658    print "My args:
30659  ",
30660  args
30661 \end_layout
30662
30663 \begin_layout LyX-Code
30664 @ %def some_function
30665 \end_layout
30666
30667 \begin_layout Standard
30668 これをどのように使って,
30669 その結果相互参照がどうなるかは
30670 \emph on
30671 LIBDIR/examples/listerrors.lyx
30672 \emph default
30673 の中の文芸pythonプログラムを見るとよくわかります.
30674 \end_layout
30675
30676 \begin_layout Paragraph
30677 説明文書の生成
30678 \end_layout
30679
30680 \begin_layout Standard
30681 この時点で,
30682 適切な文書クラスを持ち,
30683 いくつかのコードとテキストが入った新規文書ファイルが作成されているはずです.これをどうやって印刷したらいいのでしょう.答えは簡単で,
30684 通常の文書で行うように
30685 \family sans
30686
30687 \begin_inset space \thinspace{}
30688 \end_inset
30689
30690 文書\SpecialChar menuseparator
30691 表示
30692 \begin_inset space \thinspace{}
30693 \end_inset
30694
30695
30696 \family default
30697 等を選ぶだけです.特別な手続きは必要ありません.
30698 \end_layout
30699
30700 \begin_layout Standard
30701 理解を助けるために,
30702 \SpecialChar LyX
30703 の内部で何が起っているかを説明しておきましょう.
30704 \end_layout
30705
30706 \begin_layout Enumerate
30707
30708 \family sans
30709 文書\SpecialChar menuseparator
30710 更新
30711 \begin_inset space \thinspace{}
30712 \end_inset
30713
30714
30715 \family default
30716 が選択されると,
30717 \SpecialChar LaTeX
30718 ファイルがつくられます.
30719 \end_layout
30720
30721 \begin_deeper
30722 \begin_layout Standard
30723 文書が文芸プログラミング用のクラスであった場合には,
30724 拡張子に(
30725 \family sans
30726 設定
30727 \family default
30728 パネルで設定した)文芸プログラム用のものがつけられます.それ以外は .texが拡張子に使われます.
30729 \end_layout
30730
30731 \end_deeper
30732 \begin_layout Enumerate
30733 違いがファイル名だけなのに注意してください.\SpecialChar LyX
30734 による特別な処理は必要ありません.
30735 \begin_inset Flex Noun
30736 status collapsed
30737
30738 \begin_layout Plain Layout
30739 Chunk
30740 \end_layout
30741
30742 \end_inset
30743
30744 差込枠でコードを入力するのだけがポイントです.
30745 \end_layout
30746
30747 \begin_layout Enumerate
30748 文書が何らかの文芸プログラムクラスなら,
30749 \SpecialChar LyX
30750 は,
30751 \SpecialChar LyX
30752 からNowebへの内部変換子を用い,
30753 それからNowebから\SpecialChar LaTeX
30754 への変換子
30755 \begin_inset Foot
30756 status collapsed
30757
30758 \begin_layout Plain Layout
30759 これらの変換子は,
30760
30761 \family sans
30762 ツール\SpecialChar menuseparator
30763 設定
30764 \family default
30765 パネルの変換子タブに定義されています.変換子の一般的な情報については,
30766 取扱説明書『カスタマイズ篇』の「変換子」の節をご覧ください.
30767 \end_layout
30768
30769 \end_inset
30770
30771 を使って\SpecialChar LaTeX
30772 ファイルを生成します.
30773 \end_layout
30774
30775 \begin_deeper
30776 \begin_layout Standard
30777 それ以外の場合はこのステップを飛ばします.
30778 \end_layout
30779
30780 \end_deeper
30781 \begin_layout Enumerate
30782 最後に\SpecialChar LaTeX
30783 が実行され,
30784 通常の文書と同じ後処理が行われます.
30785 \end_layout
30786
30787 \begin_layout Standard
30788 様々な変換子が実行するコマンドを変更すれば,
30789 簡単に,
30790 特定の「文芸プログラムツール」から変更することができます.
30791 \end_layout
30792
30793 \begin_layout Paragraph
30794 コードの生成
30795 \end_layout
30796
30797 \begin_layout Standard
30798 ビルドメニューが選ばれた場合や,
30799 それに対応するツールバーのボタンが押された場合,
30800 上のステップ1と同様に\SpecialChar LaTeX
30801 ファイルが生成されます.それから\SpecialChar LyX
30802
30803 \family typewriter
30804 Noweb->Program
30805 \family default
30806 のコンバータを起動します.通常は,
30807 このコンバータは(他のコンバータと同じように)2つの部分からできています.
30808 \end_layout
30809
30810 \begin_layout Enumerate
30811 変換プログラム.このプログラムは,
30812 一つのフォーマットから他のフォーマットへの変換を行います(この場合は,
30813 Nowebフォーマットからプログラムの疑似フォーマットへ変換します).
30814 \end_layout
30815
30816 \begin_layout Enumerate
30817 エラーログ解析子.これはエラーメッセージを\SpecialChar LyX
30818 が理解できる形へ書き直します.これによって,
30819 \SpecialChar LyX
30820 はファイルバッファの正しい位置へエラーボックスを配置することができます.
30821 \end_layout
30822
30823 \begin_layout Standard
30824 冒頭部,
30825 「変換子」設定は
30826 \end_layout
30827
30828 \begin_layout LyX-Code
30829
30830 \family typewriter
30831 build-script $$i $$r
30832 \end_layout
30833
30834 \begin_layout Standard
30835 と指定します.これは基本的に,
30836 \SpecialChar LyX
30837
30838 \begin_inset Quotes erd
30839 \end_inset
30840
30841
30842 \family typewriter
30843 build-script
30844 \family default
30845
30846 \begin_inset Quotes erd
30847 \end_inset
30848
30849 (プログラムかスクリプト名)を(一般には\SpecialChar LyX
30850 の一時ファイル用のディレクトリにつくられる),
30851 Nowebファイルの名前と元の\SpecialChar LyX
30852 ファイルのディレクトリパスを使って呼び出すことを意味しています.
30853 \end_layout
30854
30855 \begin_layout Standard
30856 以下に「build-script」の一例を書いておきます.パスが通っているディレクトリに置いて使います.
30857 \end_layout
30858
30859 \begin_layout LyX-Code
30860
30861 \family sans
30862 #!/bin/sh
30863 \end_layout
30864
30865 \begin_layout LyX-Code
30866
30867 \family sans
30868 #
30869 \end_layout
30870
30871 \begin_layout LyX-Code
30872
30873 \family sans
30874 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
30875 \end_layout
30876
30877 \begin_layout Standard
30878 変換子設定の次の部分は「フラグ」で,
30879 これは
30880 \end_layout
30881
30882 \begin_layout LyX-Code
30883
30884 \family typewriter
30885 parselog=$$s/scripts/listerrors
30886 \end_layout
30887
30888 \begin_layout Standard
30889 に設定されます.
30890 \begin_inset Newline newline
30891 \end_inset
30892
30893 これは,
30894
30895 \begin_inset Quotes erd
30896 \end_inset
30897
30898 build-script
30899 \begin_inset Quotes erd
30900 \end_inset
30901
30902 プロセスが生成したエラーを
30903 \begin_inset Quotes erd
30904 \end_inset
30905
30906 listerrors
30907 \begin_inset Quotes erd
30908 \end_inset
30909
30910 プログラムを介して処理するものです.
30911 \end_layout
30912
30913 \begin_layout Standard
30914 ビルドは,
30915 通常\SpecialChar LyX
30916 の一時ディレクトリで行われるので,
30917 変換によって生成されたファイルはそのディレクトリに置かれます.\SpecialChar LyX
30918 は,
30919 主要ファイルとみなされるものをコピーして取り出しますが,
30920
30921 \family typewriter
30922 Noweb→プログラム
30923 \family default
30924 変換は複数のファイルを生成することがあるので,
30925 \SpecialChar LyX
30926 を閉じる際に大半が削除される可能性があります.これが,
30927 NOWEB_OUTPUT_DIR環境変数を渡して,
30928 build-script chunkが生成したファイルをその場所に置かれるようにする理由です.
30929 \end_layout
30930
30931 \begin_layout Paragraph
30932 文章中でのプログラムの構築操作の説明
30933 \end_layout
30934
30935 \begin_layout Standard
30936 \SpecialChar LyX
30937 とNowebの統合の最後の部分は,
30938
30939 \begin_inset Quotes eld
30940 \end_inset
30941
30942 build-script
30943 \begin_inset Quotes erd
30944 \end_inset
30945
30946  chunkです.一般に,
30947 あなたのプログラムの構築操作の説明それ自身をchunkに入れて文章中に含めなければなりません.上の例のnoweb用のbuild-scriptでは,
30948 chunkを見つけるのにnotangleコマンドを使い,
30949 shを使って起動します.
30950 \end_layout
30951
30952 \begin_layout Standard
30953 以下に典型的なchunkがどのようなものかを書いておきます.
30954 \end_layout
30955
30956 \begin_layout LyX-Code
30957 <<build-script>>=
30958 \begin_inset Newline newline
30959 \end_inset
30960
30961
30962 \end_layout
30963
30964 \begin_layout LyX-Code
30965 #!/bin/sh
30966 \begin_inset Newline newline
30967 \end_inset
30968
30969
30970 \begin_inset Newline newline
30971 \end_inset
30972
30973 if [ -z "${NOWEB_SOURCE}" ]
30974 \begin_inset Newline newline
30975 \end_inset
30976
30977 then
30978 \end_layout
30979
30980 \begin_layout LyX-Code
30981 NOWEB_SOURCE=myfile.nw
30982 \begin_inset Newline newline
30983 \end_inset
30984
30985 fi
30986 \begin_inset Newline newline
30987 \end_inset
30988
30989 [...
30990  code to extract files ...
30991  use NOWEB_OUTPUT_DIR here ...]
30992 \begin_inset Newline newline
30993 \end_inset
30994
30995 [...
30996  code to compile files ...]
30997 \begin_inset Newline newline
30998 \end_inset
30999
31000 @
31001 \end_layout
31002
31003 \begin_layout Standard
31004
31005 \family sans
31006 ファイル\SpecialChar menuseparator
31007 用例を開く\SpecialChar menuseparator
31008 モジュール\SpecialChar menuseparator
31009 Noweb
31010 \begin_inset space \space{}
31011 \end_inset
31012
31013 Listerrors
31014 \family default
31015
31016 \begin_inset space \thinspace{}
31017 \end_inset
31018
31019 または
31020 \family sans
31021 ファイル\SpecialChar menuseparator
31022 用例を開く\SpecialChar menuseparator
31023 モジュール\SpecialChar menuseparator
31024 Noweb2LyX
31025 \family default
31026
31027 \begin_inset space \thinspace{}
31028 \end_inset
31029
31030 をご覧ください.このファイルには異なる実装の「listerrors」プログラムが含まれていて,
31031 これまで説明してきた各々の部分が全体としてどのようになるかをわかってもらうための例です.面白いことに,
31032 これらのファイルには,
31033 PythonとPerlが各々使われていて,
31034 \SpecialChar LyX
31035 の文芸プログラミングのサポートがプログラム言語に依存しないことを示しています.
31036 \end_layout
31037
31038 \begin_layout Subsubsection
31039 \SpecialChar LyX
31040 の設定
31041 \end_layout
31042
31043 \begin_layout Standard
31044 すべての文芸プログラムのための設定は,
31045
31046 \family sans
31047 ツール\SpecialChar menuseparator
31048 設定
31049 \family default
31050 パネルの「ファイル処理」タブですることができます.重要な部分を見ておきましょう.
31051 \end_layout
31052
31053 \begin_layout Description
31054 「NoWeb」形式 ファイル形式タブで設定します.ここで,
31055 Noweb特有の設定を行います.
31056 \family sans
31057 GUI名
31058 \family default
31059
31060 \family typewriter
31061 NoWeb
31062 \family default
31063 に,
31064 拡張子を
31065 \family typewriter
31066 .nw
31067 \family default
31068 に設定してください.これによって,
31069 \SpecialChar LyX
31070 に変換プロセスの第一段階でつくられるファイルに
31071 \family typewriter
31072 .nw
31073 \family default
31074 という拡張子をつけることを指示します.
31075 \end_layout
31076
31077 \begin_layout Description
31078 プログラム形式 これは,
31079 変換の終着点を示すためだけの,
31080 空の形式です(これがあることで,
31081 変換子を作ることができます).
31082 \end_layout
31083
31084 \begin_layout Description
31085
31086 \family sans
31087 NoWeb
31088 \family default
31089 ->
31090 \family sans
31091 \SpecialChar LaTeX
31092
31093 \family default
31094  この変換子は,
31095 文芸的文書の「weaving」を行います.Nowebの場合,
31096
31097 \family typewriter
31098 noweave -delay -index $$i > $$o
31099 \family default
31100 」に設定されます.
31101 \end_layout
31102
31103 \begin_layout Description
31104
31105 \family sans
31106 NoWeb
31107 \family default
31108 ->
31109 \family sans
31110 Program
31111 \family default
31112  これは「tangling」を行います.上述のように,
31113 変換子は「
31114 \family typewriter
31115 build-script $$i $$r
31116 \family default
31117 」,
31118 フラグは「
31119 \family typewriter
31120 parselog=$$s/scripts/listerrors
31121 \family default
31122 」となります.
31123 \end_layout
31124
31125 \begin_layout Subsubsection
31126 デバッグ機能拡張
31127 \end_layout
31128
31129 \begin_layout Standard
31130 ddd/gdbまたは他のデバッガで使える「server-goto-file-row」関数が新たに\SpecialChar LyX
31131 サーバに実装されました.
31132 \end_layout
31133
31134 \begin_layout Standard
31135 ddd/gdbでデバッグしているとき,
31136 一つのキーストロークで現在実行している位置でテキストエディタを起動できます.既定のdddの設定ではShift-Ctrl-Vになっています.この設定はdddで
31137 \family sans
31138 ツール\SpecialChar menuseparator
31139 設定\SpecialChar menuseparator
31140 ファイル書式
31141 \family default
31142 ウインドウを表示して,
31143
31144 \family sans
31145 編集プログラム
31146 \family default
31147 エントリを変えると変えることができます.
31148 \end_layout
31149
31150 \begin_layout Standard
31151 新しい\SpecialChar LyX
31152 サーバの関数と,
31153 このdddの機能を使うために
31154 \family sans
31155 編集プログラム
31156 \family default
31157 を次のように設定してください.
31158 \end_layout
31159
31160 \begin_layout LyX-Code
31161
31162 \family sans
31163 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
31164 \end_layout
31165
31166 \begin_layout Standard
31167 こうしておくとdddを使っていてプログラムの編集したい場所があったとき,
31168 (dddのウインドウで)Shift-Ctrl-Vを押すだけでdddは\SpecialChar LyX
31169 サーバに情報を送り,
31170 \SpecialChar LyX
31171 は同じファイルを表示し,
31172 カーソルはdddが示した場所へあらわれます.これでもうデバッグの最中に推測しながらスクロールして場所を探す必要がなくなります.
31173 \end_layout
31174
31175 \begin_layout Standard
31176 この機能が動くには\SpecialChar LyX
31177 サーバが利用可能でなければなりません(既定では\SpecialChar LyX
31178 サーバーは使えないようになっています).
31179 \end_layout
31180
31181 \begin_layout Standard
31182
31183 \begin_inset CommandInset ref
31184 LatexCommand ref
31185 reference "sec:サーバーを開始するには"
31186 nolink "false"
31187
31188 \end_inset
31189
31190 節にその方法が説明されています.
31191 \end_layout
31192
31193 \begin_layout Subsubsection
31194 ツールバー拡張
31195 \end_layout
31196
31197 \begin_layout Standard
31198 ツールバーに加えることのできる6つの新しいボタンがあります.そのうちの4つのボタンは
31199 \family sans
31200 標準
31201 \family default
31202
31203 \family sans
31204
31205 \family default
31206
31207 \family sans
31208 \SpecialChar LaTeX
31209
31210 \family default
31211
31212 \family sans
31213 \SpecialChar LyX
31214 コード
31215 \family default
31216 の段落環境へのショートカットであり,
31217 1つは特別差込枠
31218 \family sans
31219 Chunk
31220 \family default
31221 へのショートカットです.最後の一つはファイルメニュー項目の「Build Program」へのショートカットです.
31222 \end_layout
31223
31224 \begin_layout Standard
31225 \SpecialChar LyX
31226 はツールバーで使うためのいくつものボタンを用意しています.私のツールバーはこの6つのショートカットに
31227 \begin_inset space \thinspace{}
31228 \end_inset
31229
31230
31231 \family sans
31232 文書\SpecialChar menuseparator
31233 更新\SpecialChar menuseparator
31234 DVI
31235 \family default
31236
31237 \begin_inset space \thinspace{}
31238 \end_inset
31239
31240
31241 \begin_inset space \thinspace{}
31242 \end_inset
31243
31244
31245 \family sans
31246 文書\SpecialChar menuseparator
31247 表示\SpecialChar menuseparator
31248 DVI
31249 \family default
31250
31251 \begin_inset space \thinspace{}
31252 \end_inset
31253
31254 を組み合わせたものになっています.
31255 \end_layout
31256
31257 \begin_layout LyX-Code
31258 Toolbar
31259 \end_layout
31260
31261 \begin_layout LyX-Code
31262   Layouts
31263 \end_layout
31264
31265 \begin_layout LyX-Code
31266   Icon "layout Standard"
31267 \end_layout
31268
31269 \begin_layout LyX-Code
31270   Icon "layout Section"
31271 \end_layout
31272
31273 \begin_layout LyX-Code
31274   Icon "layout latex"
31275 \end_layout
31276
31277 \begin_layout LyX-Code
31278   Icon "layout \SpecialChar LyX
31279 -Code"
31280 \end_layout
31281
31282 \begin_layout LyX-Code
31283   Icon "flex.insert Chunk"
31284 \end_layout
31285
31286 \begin_layout LyX-Code
31287   Separator
31288 \end_layout
31289
31290 \begin_layout LyX-Code
31291   Icon "buffer-view"
31292 \end_layout
31293
31294 \begin_layout LyX-Code
31295   Icon "buffer-typeset"
31296 \end_layout
31297
31298 \begin_layout LyX-Code
31299   Icon "build-program"
31300 \end_layout
31301
31302 \begin_layout LyX-Code
31303   Separator
31304 \end_layout
31305
31306 \begin_layout LyX-Code
31307 .
31308 \end_layout
31309
31310 \begin_layout LyX-Code
31311 .
31312 \end_layout
31313
31314 \begin_layout LyX-Code
31315 .
31316 \end_layout
31317
31318 \begin_layout LyX-Code
31319 End
31320 \end_layout
31321
31322 \begin_layout Subsubsection
31323 色の変更
31324 \end_layout
31325
31326 \begin_layout Standard
31327 \SpecialChar LyX
31328 ではいくつもの色を
31329 \family sans
31330 \series bold
31331 設定
31332 \family default
31333 \series default
31334 で変えることができます.人々が困りがちなのは,
31335 \SpecialChar LaTeX
31336 フォント色でしょう.これは,
31337 既定では赤になっていますが,
31338 chunkは\SpecialChar LaTeX
31339 フォントを使うことになっていて,
31340 文芸プログラミング文書には多くのchunkが現れるために,
31341 すべて赤で見ていると疲れてしまうかもしれません.これは,
31342
31343 \family sans
31344 操作性\SpecialChar menuseparator
31345
31346 \family default
31347 タブで変更することができます.
31348 \end_layout
31349
31350 \begin_layout Standard
31351 もう一つは,
31352 改行文字が画面に表示されていることでしょう.改行文字の色を背景の色と同じにすることで改行文字を見えなくできます.私は改行文字を背景の色に似ているが少し違う色にすることを勧めます.こうすると,
31353 改行文字があるのはわかりますが,
31354 じゃまにならないでしょう.
31355 \end_layout
31356
31357 \begin_layout Subsection
31358 \SpecialChar LyX
31359 とknitr/Sweave
31360 \end_layout
31361
31362 \begin_layout Standard
31363 knitrとSweaveへのサポートについては,
31364
31365 \family sans
31366 ヘルプ\SpecialChar menuseparator
31367 用途別説明書\SpecialChar menuseparator
31368 Knitr
31369 \family default
31370 および
31371 \family sans
31372 ファイル\SpecialChar menuseparator
31373 用例を開く\SpecialChar menuseparator
31374 モジュール\SpecialChar menuseparator
31375 Rnw
31376 \begin_inset space \space{}
31377 \end_inset
31378
31379 (knitr)
31380 \family default
31381
31382
31383 \family sans
31384 ヘルプ\SpecialChar menuseparator
31385 用途別説明書\SpecialChar menuseparator
31386 Sweave
31387 \family default
31388 および
31389 \family sans
31390 ファイル\SpecialChar menuseparator
31391 用例を開く\SpecialChar menuseparator
31392 モジュール\SpecialChar menuseparator
31393 Sweave
31394 \family default
31395 に説明があります.
31396 \end_layout
31397
31398 \begin_layout Standard
31399 \begin_inset CommandInset index_print
31400 LatexCommand printindex
31401 type "idx"
31402 name "索引"
31403
31404 \end_inset
31405
31406
31407 \end_layout
31408
31409 \end_body
31410 \end_document