diff --git a/docs/qanda.eng b/docs/qanda.eng index ea16bf2..43e68c5 100644 --- a/docs/qanda.eng +++ b/docs/qanda.eng @@ -318,7 +318,7 @@ To: yatex-control@jaist.ac.jp Subject: append ----- - Hi! See any birds fly by? + Hi! My name is yuuji. See any birds fly by? and you're in. The text will be used as your profile. (you can change it later) Once you're in, you'll get a reply with lists diff --git a/docs/yatexe.tex b/docs/yatexe.tex index 1506780..9c56de3 100644 --- a/docs/yatexe.tex +++ b/docs/yatexe.tex @@ -14,7 +14,7 @@ @subtitle Yet Another tex-mode for emacs @title Wild Bird @subtitle // YaTeX // -@author @copyright{} 1991-1994 by HIROSE, Yuuji [yuuji@@ae.keio.ac.jp] +@author @copyright{} 1991-1996 by HIROSE, Yuuji [yuuji@@ae.keio.ac.jp] @end titlepage @node Top, What is YaTeX?, (dir), (dir) @@ -37,7 +37,7 @@ * Changing and Deleting:: Changing/deleting certain unit of text * Filling:: Filling an item or paragraph * Updation of includeonly:: Free from maintaining includeonly -* What column?:: Guidance to tabular column +* What column:: Check what table-column the cursor belong * Intelligent newline:: Guess requisites of new line * Online help:: On-line documentation of LaTeX * Browsing file hierarchy:: Walking through file hierarchy @@ -133,7 +133,8 @@ (@kbd{C-c b}, @kbd{C-c s}, @kbd{C-c l}, @kbd{C-c m}) @item Enclosing text into La@TeX{} environments or commands (@kbd{C-u} @var{AboveKeyStrokes}) -@item Displaying the structure of text at entering sectioning delimiters +@item Displaying the structure of text at entering sectioning commands +@item Lump shifting of sectioning commands (@ref{view-sectioning}) @item Learning unknown/new La@TeX{} commands for the next completion @item Argument reading with a guide for complicated La@TeX{} commands @item Generating argument-readers for new/unsupported commands(@file{yatexgen}) @@ -1045,6 +1046,7 @@ @itemize @bullet @item @code{\begin@{@}} <-> @code{\end@{@}} @item @code{%#BEGIN} <-> @code{%#END} +@item On the image-including line -> corresponding viewer or drawing tool @item @code{\label@{@}} <-> @code{\ref@{@}} @item @code{\include(\input)} -> included file @item @code{\bibitem@{@}} <-> @code{\cite@{@}} @@ -1070,6 +1072,36 @@ Note that this function doesn't work on @code{begin/end}, @code{%#BEGIN/%#END} pairs because it is meaningless. +@section{Invoking image processor} +@cindex{Drawing tool invocation} + +`image-including line' described above means such lines as +@code{\epsfile@{file=foo.ps@}}. If you type @kbd{[prefix] g} on that +line, YaTeX automatically searches source of `foo.ps' and invokes image +viewer or drawing tool correspoinding to it. For example; if you draw +an image foo.obj with Tgif and enclose its product named foo.eps by +@code{\epsfile} command. Typing @kbd{[prefix] g} on @code{\epsfile} line +make YaTeX invoke @code{tgif foo.obj}. How a processor is choosen is as +follows. + +@enumerate +@item +If there is an expression matching with one of the pattern +defined in @code{YaTeX-processed-file-regexp-alist}, extract file name +from regexp group surrounded by \\(\\). (Which group corresponds is +written in the cdr part of each list.) If no matches were found, do +nothing. +@item +If there is a pattern as `%PROCESSOR' which is defined in the variable +@code{YaTeX-file-processor-alist}, call that processor giving the +file name with corresponding extension. +@item +If not, check the existence of each file which is supplied the +extension in the cdr part of each list of +@code{YaTeX-file-processor-alist}. If any, call the corresponding +image viewer or drawing tool. +@end enumerate + @section Jump to main file Typing @@ -1250,7 +1282,7 @@ character on a line changes the fill-prefix temporarily to the depth of the line. -@node Updation of includeonly, What column?, Filling, Top +@node Updation of includeonly, What column, Filling, Top @comment node-name, next, previous, up @chapter Updation of @code{\includeonly} @cindex includeonly @@ -1282,7 +1314,7 @@ by the current file, and type @kbd{%} to comment out the @code{\includeonly} line. -@node What column?, Intelligent newline, Updation of includeonly, Top +@node What column, Intelligent newline, Updation of includeonly, Top @comment node-name, next, previous, up @chapter What column? @cindex what column @@ -1320,7 +1352,7 @@ virtual column headers by putting them in the first line and commenting that line with @code{%}. -@node Intelligent newline, Online help, What column?, Top +@node Intelligent newline, Online help, What column, Top @comment node-name, next, previous, up @chapter Intelligent newline @cindex Intelligent newline diff --git a/docs/yatexj.tex b/docs/yatexj.tex index a6a3e1d..43d1e8b 100644 --- a/docs/yatexj.tex +++ b/docs/yatexj.tex @@ -14,7 +14,7 @@ @subtitle Yet Another tex-mode for emacs @title �w�쒹�x @subtitle // YaTeX // -@author @copyright{} 1991-1994 by HIROSE, Yuuji [yuuji@@ae.keio.ac.jp] +@author @copyright{} 1991-1996 by HIROSE, Yuuji [yuuji@@ae.keio.ac.jp] @end titlepage @node Top, Intro, (dir), (dir) @@ -22,7 +22,7 @@ @menu * Intro:: �͂��߂� -* Termnology:: �}�j���A���Q�Ə�̒��� +* Terminology:: �}�j���A���Q�Ə�̒��� * Main features:: ��ȋ@�\ * Installation:: �C���X�g�[�� * Invocation:: �v���Z�X�N�� @@ -98,7 +98,7 @@ * Hook file:: hook�p�t�@�C�� @end menu -@node Intro, Termnology, Top, Top +@node Intro, Terminology, Top, Top @comment node-name, next, previous, up @chapter �͂��߂� @cindex Demacs @@ -114,7 +114,7 @@ English manual @xref{Top, , , yatexe,YaTeX English info} -@node Termnology, Main features, Intro, Top +@node Terminology, Main features, Intro, Top @comment node-name, next, previous, up @chapter �{�}�j���A���Q�Ə�̒��� @@ -152,7 +152,7 @@ �����\�L�́A@kbd{C-c} �Ɠǂ݊����Ă��������B @end itemize -@node Main features, Installation, Termnology, Top +@node Main features, Installation, Terminology, Top @comment node-name, next, previous, up @chapter ��ȋ@�\ @@ -167,6 +167,7 @@ @item ���ɓ��͂����e�L�X�g���‹���R�}���h�����̒��Ɏ�荞�ފ���⊮ (@kbd{C-u} +�ʏ�⊮�L�[) @item �Z�N�V������؂���͎��̕����\���A�E�g���C���\�� +@item �Z�N�V�����R�}���h�̈ꊇ�V�t�g (@ref{view-sectioning}) @item �⊮�����̊w�K @item La@TeX{} �̊‹���R�}���h�ɉ������K�C�h�t���������� @item �쒹�ɂȂ��K�C�h�t���������͊֐��̎�������(@file{yatexgen.el}) @@ -279,7 +280,7 @@ * Print out:: �v�����g�A�E�g�p�R�}���h�̋N�� @end menu -@node Calling typesetter, Print out, Invocation, Invocation +@node Calling typesetter, Calling previewer, Invocation, Invocation @comment node-name, next, previous, up @section �^�C�v�Z�b�^�N�� @cindex �^�C�v�Z�b�^�N�� @@ -329,7 +330,7 @@ @code{ftp://ftp.ae.keio.ac.jp/pub/text/xdvi/xdvi-remote} �Ȃǂ�����肷�邱�Ƃ��ł��܂��B -@node Print out, , Calling typesetter, Invocation +@node Print out, , Calling previewer, Invocation @comment node-name, next, previous, up @section �v�����g�A�E�g @@ -752,7 +753,7 @@ * view-sectioning:: �Z�N�V������؂�̃A�E�g���C���\�� @end menu -@node 2�ˆȏ�̈������Ƃ� section�^�R�}���h, Recursive completion, section�^�⊮, section�^�⊮ +@node 2�ˆȏ�̈������Ƃ� section�^�R�}���h, Enclose section-type command, section�^�⊮, section�^�⊮ @comment node-name, next, previous, up @subsection 2�ˆȏ�̈������Ƃ� section�^�R�}���h @cindex ����[�Ђ�����] @@ -793,7 +794,7 @@ �܂��A�N���R�}���h��@kbd{s}��啶���ɕς��ċN������ƁA���炩���ߏ� �������͂� section �^�R�}���h�̑������Ƃ��Ċ���܂��B -@node Recursive completion, view-sectioning, 2�ˆȏ�̈������Ƃ� section�^�R�}���h, section�^�⊮ +@node Recursive completion, view-sectioning, Enclose section-type command, section�^�⊮ @comment node-name, next, previous, up @subsection �ċA�⊮ @cindex �ċA�⊮[�������ق���] @@ -1193,11 +1194,12 @@ ���܂��B�Ή��֌W�����݂���Ɖ��߂����R�}���h�ɂ͈ȉ��̂��̂�����܂��B @itemize @bullet -@item @code{\begin@{@}}����@code{\end@{@}} -@item @code{%#BEGIN}����@code{%#END} -@item @code{\label@{@}}����@code{\ref@{@}} -@item @code{\include(\input)}���Ή�����t�@�C�� -@item @code{\bibitem@{@}}����@code{\cite@{@}} +@item @code{\begin@{@}} ���� @code{\end@{@}} +@item @code{%#BEGIN} ���� @code{%#END} +@item �摜�t�@�C���̎�荞�݃}�N�� �� �Ή�����viewer/���G�����c�[���N�� +@item @code{\label@{@}} ���� @code{\ref@{@}} +@item @code{\include(\input)} �� �Ή�����t�@�C�� +@item @code{\bibitem@{@}} ���� @code{\cite@{@}} @end itemize @code{\begin@{@}} �� @code{\end@{@}} �̍s��@kbd{[prefix] g}���������Ƃ� @@ -1221,6 +1223,40 @@ ���̋@�\�� @code{begin/end}, @code{%#BEGIN/%#END} �Ԃ̃W�����v�ɑ΂��Ă� (�Ӗ����Ȃ��Ǝv����̂�)�@�\���Ȃ��̂Œ��ӂ��Ă��������B +@section{���G�`���c�[���N��} +@cindex ���G�`���c�[���N��[���������[�邫�Ƃ�] + +��L�́u�摜�t�@�C���̎�荞�݃}�N���v�Ƃ́A�Ⴆ�� +@code{\epsfile@{file=foo@}} �̂悤�ȑ}�G��荞�݃R�}���h�̂��ƂŁA���̍s�� +�J�[�\�������킹��@kbd{[prefix] g}�������Ƃ��̉摜�t�@�C���̌��ƂȂ����t�@ +�C����Ή����邨�G�`���c�[�����N�����ăI�[�v�����܂��B�N������c�[���̔��� +�͈ȉ��̂悤�ɂȂ���܂��B + +@enumerate +@item +�J�����g�s���ϐ� @code{YaTeX-processed-file-regexp-alist} �ɒ�`�� +��Ă��鐳�K�\���̂����ꂩ�ƃ}�b�`������A�t�@�C�����ɑ������镔���� +\\(\\)���甲���o���Ċo���Ă���(���Ԗڂ�\\(\\)���͕ϐ��̊e���X�g�� cdr ���� +����Ă���)�B�}�b�`���Ȃ���Ή������Ȃ��B +@item +�s���ɁA�ϐ� @code{YaTeX-file-processor-alist} �ɓo�^����Ă���R�}���h�� +�u%�R�}���h�v �̂悤�ɏ����Ă���΋����I�Ɂu�R�}���h �t�@�C����.�g���q�v�� +�N���B +@item +�Ȃ���΁A�ϐ� @code{YaTeX-file-processor-alist} �̊e���X�g��cdr���ɓ����� +����g���q���u�t�@�C�����v�̌��ɑ������t�@�C�������݂��邩�������ׂāA�� +�݂����ꍇcar���ɓ����Ă���R�}���h���N������B +@item +�ȏ�ǂꂩ�Ƀ}�b�`���Ȃ���΂�����B +@end enumerate + + +�ϐ� @code{YaTeX-file-processor-alist} �ƕϐ� +@code{YaTeX-file-processor-alist} �̐ݒ���@�ɂ‚��Ă͂��ꂼ��̕ϐ��ɂ‚� +�� describe-variable ���Đ�����ǂ�ʼn������B���܂��ݒ肷��ƁA�摜�t�@�C +���ɂ����炸�A�C�ӂ̌`���̃t�@�C����C�ӂ̃v���Z�b�T�ŏ�������R�}���h���� +�P�ɌĂяo�����Ƃ��ł��܂��B + @section ���C���t�@�C���ւ̃W�����v @file{chap1.tex}�̂悤�ȃT�u�t�@�C���ŁA @@ -1562,7 +1598,7 @@ @code{nil}�ɃZ�b�g���A�쒹�������[�h���蓮�Ő؂�ւ���Ɨǂ��ł��傤�B -@node Online help, Cooperation with other packages, Changing mode of YaTeX, Top +@node Online help, Inclusion hierarchy browser, Changing mode of YaTeX, Top @comment node-name, next, previous, up @chapter �I�����C���w���v @cindex �I�����C���w���v[����炢��ւ��] @@ -1609,7 +1645,7 @@ �΂���������������Ȃ�΂��Ў��܂ł��̐����������艺�����B����̔z�z�Ɋ܂� �����Ǝv���܂��B -@node Inclusion hierarchy browser +@node Inclusion hierarchy browser, Cooperation with other packages, Online help, Top @comment node-name, next, previous, up @chapter �C���N���[�h�\���u���E�U @cindex �C���N���[�h�\��[���񂭂邤�Ƃ�������] @@ -1676,7 +1712,7 @@ �������A�ׂ̃E�B���h�E�̃t�@�C���̓��e��\������@�\�Ɋւ��ẮA�Ή����� �t�@�C�����N���[�Y���Ă��܂��Ƃ��܂������܂���̂ł����ӂ��������B -@node Cooperation with other packages, Customizations, Online help, Top +@node Cooperation with other packages, Customizations, Inclusion hierarchy browser, Top @comment node-name, next, previous, up @chapter ���p�b�P�[�W�Ƃ̘A�g @cindex ���p�b�P�[�W�Ƃ̘A�g[���͂‚������Ƃ̂�񂯂�] diff --git a/help/YATEXHLP.jp b/help/YATEXHLP.jp index bc62b26..3c6f407 100644 --- a/help/YATEXHLP.jp +++ b/help/YATEXHLP.jp @@ -1,1400 +1,1401 @@ -textfloatsep -\addtolength{\textfloatsep}{����} -�y�[�W�擪��float�܂��́A�y�[�W�ʼn�����float�ƃe�L�X�g�Ƃ̊Ԋu�B - -floatsep -\addtolength{\floatsep}{����} -float��float�̊Ԋu�B - -oddsidemargin -\setlength{\oddsidemargin}{����} -�E�y�[�W�̍��[����1�C���`(2.54cm)�̐��Ɩ{���̋��� - -pagestyle -\pagestyle{�X�^�C��} -�o�̓y�[�W�̃w�b�_�ƃt�b�^�̃X�^�C�������߂�B�X�^�C���ɂ͈ȉ��̂��̂�����: -plain �W���X�^�C��. �t�b�^�Ƀy�[�W�ԍ������‚���. -empty �w�b�_�ɂ��t�b�^�ɂ������o�͂��Ȃ�. -headings �w�b�_�ɃZ�N�V�����ɉ��������o���ƃy�[�W�ԍ����‚� - �t�b�^�ɂ͉����o�͂��Ȃ�. -myheadings headings�̃X�^�C���ŁA�w�b�_�̏��� \markbpth �� - \markright �Ŏw��ł���. - -thispagestyle -\thispagestyle{�X�^�C��} -���݂̃y�[�W�����̃X�^�C�������肷��B - -pagenumbering -\pagenumbering{�X�^�C��} -�y�[�W�ԍ��̃X�^�C�������߂�B�X�^�C���ɂ͈ȉ��̂��̂�����: -arabic �A���r�A���� -alph �������̉p�� -Alph �啶���̉p�� -roman �������̃��[�}���� -Roman �啶���̃��[�}���� - -shortstack -\shortstack[�ꏊ]{�d�˂�\\�\������\\���e} -{}���̓��e��\\�ŋ�؂�ꂽ�P�ʖ��ɐςݏd�˂ĕ\������B -[�ꏊ]�́Al(����)�Ac(�Z���^�����O)�Ar(�E��)�̂����ꂩ�B - -newlength -\newlength{NAME} -NAME�Ƃ��������R�}���h��V���ɐ錾����B - -addtolength -\addtolength{�����R�}���h}{���l} -��1�����̒������2�Ɉ����̐��l�𑫂��B -��\�I�ȃX�^�C���p�����[�^�ɂ‚��Ă� \setlength �̍����Q�Ƃ���B - -setlength -\setlength{�����R�}���h}{���l} -��1�����̒������2�Ɉ����̐��l�ɐݒ肷��B -��\�I�ȃX�^�C���p�����[�^�͈ȉ��̒ʂ�: -(�X�^�C���p�����[�^�̕ύX�̓v���A���u���ōs������) -\evensidemargin \footheight \footskip \headheight -\headsep \marginparsep \marginparwidth \oddsidemargin -\textheight \textwidth \topmargin \topskip -\parindent \baselineskip \baselinestretch \parskip -\columnsep \columnseprule \mathindent - -settowidth{\NAME}{TEXT} -\hbox{TEXT}�̏o�͌��ʂƓ������ɒ���\NAME ���Z�b�g����B - -evensidemargin -\setlength{\evensidemargin}{����} -���y�[�W�̍��[����1�C���`(2.54cm)�̐��Ɩ{���̋��� - -footheight -\setlength{\footheight}{����} -�t�b�^�̍��� - -footskip -\setlength{\footskip}{����} -�{���̔��̉��[�ƃt�b�^�̋��� - -headheight -\addtolength{\headheight}{����} -�w�b�_�̍��� - -headsep -\setlength{\headsep}{����} -�w�b�_�Ɩ{���̊Ԋu - -marginparsep -\addtolength{\marginparsep}{����} -�T���Ɩ{���̊Ԋu - -marginparwidth -\addtolength{\marginparwidth}{����} -�T���̕� - -oddsidemargin -\addtolength{\oddsidemargin}{����} -�E�y�[�W�̍��[����1�C���`(2.54cm)�̐��Ɩ{���̋��� - -textheight -\addtolength{\textheight}{����} -�{���̍��� - -textwidth -\addtolength{\textwidth}{����} -�{���̕� - -topmargin -\addtolength{\topmargin}{����} -�y�[�W��[����1�C���`�̐��ƃw�b�_�̋��� - -topskip -\addtolength{\topskip}{����} -�{���̔��̏�[�ƈ�s�ڂ̃e�L�X�g�Ƃ̊Ԋu - -parindent -\setlength{\parindent}{����} -\parindent �i���̐擪�̎�������. - -linewidth -\addtolength{\linewidth}{����} -\linewidth �s�̕�. - -baselineskip -\addtolength{baselineskip}{����} -\baselineskip �s�̃x�[�X���C���Ԃ̍Œ���̍���. - -baselinestretch -\renewcommand{baselinestretch}{1.5} -\baselinestretch \baselineskip �ɏ悸��W��. (default=1) -(* \setlength�Ȃǂł͂Ȃ��A\renewcommand�ōĒ�`����B) - -parskip -\addtolength{\parskip}{����} -\parskip �i���O�̐����X�y�[�X. - -columnsep -\addtolength{\columnsep}{����} -\columnsep 2�i�g�݂̎��̒i�Ԃ̕�. - -columnseprule -\addtolength{\columnseprule}{����} -��i�g�̎��̒i�Ԃ̌r���̑���. (default=0pt) - -columnwidth -\addtolength{\columnwidth}{����} -��i�g�̎��ɂ� (\textwidth - \columnsep)/2 -�����łȂ����́A\textwidth - -mathindent -\addtolength{mathindent}{����} -\mathindent �X�^�C���I�v�V������ fleqn ���w�肵���ꍇ�́A - ���}�[�W������̐����̎�������. - -LaTeX -\LaTeX -\LaTeX �̃��S��\���B\LaTeX �̒�`�͈ȉ��̒ʂ�B -\def\LaTeX{{\rm L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em - T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}} - -fragile -** LaTeX�p�� ** -�����ɂ���ēW�J���ʂ��ς��悤�ȃR�}���h�������B -���̋t�� robust �ȃR�}���h�B - -robust -** LaTeX�p�� ** -�W�J���ʂ���ɕς��Ȃ��悤�ȃR�}���h�������B -�t�H���g/�T�C�Y�w��q�A�����R�}���h�A�������[�h���Ɏg�������̃R�}���h�� -robust�ȃR�}���h�B -(maketitle�^�R�}���h�̂����I�v�V����������S���Ƃ�Ȃ����̂ƍl���ėǂ�) - -protect -\protect�ufragile�ȃR�}���h�v -�����ɂ���Č��ʂ��ς��悤�ȃR�}���h���ufragile�ȃR�}���h�v�ƌ����B -����A���������낢��ȉӏ��ŎQ�Ƃ����R�}���h���u�������������R�}���h -�ƌ����B����� chapter �� caption �Ȃǖڎ��Ȃǂ���Q�Ƃ����������Ƃ�� -�̂�Atabular/array �‹��� @ �\�����Y������B - -���āA�����́u�������������R�}���h�v�̈����Ɂufragile�ȃR�}���h�v�� -�^���鎞��(fragile�ȃR�}���h�̒��O��)�g���̂� \protect �ł���B�ȉ��͓T -�^�I�ȗ��p��ł���B - -\newcommand{\thissystem}[1]{YaTeX version #1} -\chapter{\protect \thissystem{1.50}�ɂ‚���} - -newcommand -\newcommand{\�R�}���h��}[�����̐�]{��`} -�u�R�}���h���v���u�����̐��v�‚̈��������u��`�v�ł���}�N���Ƃ��Ē�` -����B��`����n�Ԗڂ̈����� #n �Ƃ��ĎQ�Ƃ���B - \newcommand{\foo}[1]{\underline{#1}} -�Ƃ���� \foo{bar} �� \underline{bar} �ƓW�J�����B���������ăt�H���g�w -��q���܂ޏꍇnewcommand��{}�ɂ‚��āA - \newcommand{\foo}[1]{\bf #1} -�Ƃ���� \foo{bar} ���e�L�X�g���� \bf bar �ƓW�J����Ă��܂��̂ŁA - \newcommand{\foo}[1]{{\bf #1}} -�Ƃ��Ȃ���΂Ȃ�Ȃ��B - - �u�R�}���h���v�̃}�N�������ɒ�`����Ă���ꍇ�̓G���[�ƂȂ�B�Ē�`�� -��ꍇ�́A\renewcommand���g���B - -renewcommand -\renewcommand{\�R�}���h��}[�����̐�]{��`} -���ɒ�`����Ă���R�}���h��ʂ̓��e�ōĒ�`����B -�ȉ��� \newcommand �̐����B - - -newenvironment -\newenvironment{�‹���}[�����̐�]{��`1}{��`2} -�V���Ȋ‹����`����B -\begin{�‹���}�̎��̓W�J���e���u��`1�v��\end{�‹���}�̎��̓W�J���e�� -�u��`2�v�ɋL�q����B - \newcommand{\�‹���}{��`1} \def{\end�‹���}{��`2} -�Ɠ��l�B - -renewenvironment -\renewenvironment{�‹���}[�����̐�]{��`1}{��`2} -���ɒ�`����Ă���u�‹����v��ʂ̓��e�ōĒ�`����B -�ȉ��́A\newenvironment�̐����B - - - -typeout -\typeout{���b�Z�[�W} -�^�C�v�Z�b�g���Ɂu���b�Z�[�W�v��[���ɏo�͂���B - -typein -\typein{���b�Z�[�W} \typein[\�}�N��]{���b�Z�[�W} -�^�C�v�Z�b�g���Ɂu���b�Z�[�W�v���v�����v�g�ɏo���A���͂������ʂ����s����B -���̏����ł́A�u\�}�N���v����͂������̂ɒ�`����B - -par -\par -�i���̋�؂�̖���������B��s�Ɠ����B - -everypar -\everypar -RTFM - -nopagebreak -\nopagebreak[i] (i = 0,1,2,3,4) -���ł�����i�ŗ}������([i]���ȗ������4)�B - -pagebreak -\pagebreak[i] (i = 0,1,2,3,4) -���ł�����i�ő���([i]���ȗ������4)�B - -linebreak -\linebreak[i] (i = 0,1,2,3,4) -���s������i�ő���([i]���ȗ������4)�B - -nolinebreak -\nolinebreak[i] (i = 0,1,2,3,4) -���s������i�ŗ}������([i]���ȗ������4)�B - -samepage -\samepage -���ł��֎~����B -RTFM - -obeycr -\obeycr - �� \\. �ɒ�`����B��\restorecr - -restorecr -\restorecr -\obeycr�ŕύX�����̒�`�����ɖ߂��B - -\ -\\ \\[����] -(�C�ӂ̏ꏊ��)���s����B�i�����ł́A\newline �Ɠ����B -�I�v�V����������[����]���w�肷��ƁA���̍s�Ƃ̊Ԋu�� -\vspace{����}�ɂ���Ċm�ۂ���B - -addvspace -\addvspace{�X�L�b�v} -�c�����̊Ԋu�Ɂu�X�L�b�v�v�̒l�𑫂��B������ -\addvspace{S1} \addvspace{S2} �ƕ����̒l�𓯎��Ɏw�肵�Ă� -\addvspace{S1,S2�̂����傫���ق�} �Ɠ��l�ɂȂ�B - -vspace -\vspace{�Ԋu} \vspace*{�Ԋu} -���������Ɂu�Ԋu�v�Ԃ�̃X�y�[�X�𑫂��B -\vspace* �͂ǂ�ȏꏊ�ł��X�y�[�X�𑫂����A\vspace �̓y�[�W�̐擪�� -�����ł͂͂��炩�Ȃ��B - -vspace* -\vspace{�Ԋu} \vspace*{�Ԋu} -���������Ɂu�Ԋu�v�Ԃ�̃X�y�[�X�𑫂��B -\vspace* �͂ǂ�ȏꏊ�ł��X�y�[�X�𑫂����A\vspace �̓y�[�W�̐擪�� -�����ł͂͂��炩�Ȃ��B - -hspace -\hspace{�Ԋu} \hspace*{�Ԋu} -���������Ɂu�Ԋu�v�Ԃ�̃X�y�[�X�𑫂��B -\hspace* �͂ǂ�ȏꏊ�ł��X�y�[�X�𑫂����A\hspace �͍s�̐擪�▖���ł� -�͂��炩�Ȃ��B - -hspace* -\hspace{�Ԋu} \hspace*{�Ԋu} -���������Ɂu�Ԋu�v�Ԃ�̃X�y�[�X�𑫂��B -\hspace* �͂ǂ�ȏꏊ�ł��X�y�[�X�𑫂����A\hspace �͍s�̐擪�▖���ł� -�͂��炩�Ȃ��B - -smallskip -\smallskip -���������ɏ����ȊԊu���󂯂�B -\def\smallskip{\vspace\smallskipamount} - -medskip -\medskip -���������ɒ����炢�̊Ԋu���󂯂�B -\def\medskip{\vspace\medskipamount} - -bigskip -\bigskip -���������ɑ傫�ȊԊu���󂯂�B -\def\bigskip{\vspace\bigskipamount} - -, -\, -�����X�y�[�X���󂯂�B�i�����[�h�ALR���[�h�A�������[�h������ł����p�B -�N�H�[�g�̒��ɃN�H�[�g�������Ƃ��Ȃǂɗp����B -��: ``\,`Foo', he said.'' -�������[�h�Ŏg����X�y�[�X�ɂ͈ȉ��̂��̂�����: - \: �����L�� - \! ���ŋ��� - \; �L�� - -: -$\:$ -�����L���X�y�[�X�B�������[�h�̂݁B - -! -$\!$ -�������̃X�y�[�X�B�������[�h�̂݁B - -; -$\;$ -�L���X�y�[�X�B�������[�h�̂݁B - -@whilenum -\@whilenum TEST \do {BODY} -���̕ӂ��Ƃ� - -whiledo{TEST}{BODY} -TEST���^�̊�BODY���J��Ԃ��B - - -nofiles -\nofiles -�v���A���u���Ő錾����ƁA.aux, .idx, .lof, .lot, .toc �t�@�C���̍쐬�� -�}�������B - -includeonly -\includeonly{sub1} \includeonly{sub1,sub3} -\include{}�œǂݍ��ރt�@�C���̂����A���ۂɓǂݍ��ݏ���������̂��w�肷��B -(.tex�͏ȗ���) -\includeonly�̈������X�g�ɂȂ��t�@�C���͂܂�������������Ȃ��A�܂��͑O�� -�ȑO�ɏ�������Ă���ꍇ��������S���ύX���Ȃ����̂Ƃ��Ĉ�����B - -include -\include{FILE} -\clearpage \input{FILE} \clearpage -�Ɠ����͂��炫������B - -input -\input{FILE} -FILE.tex �������ɂ��邩�̂悤�ɏ����𑱂���B - -setcounter -\setcounter{FOO}{VAL} -�J�E���^FOO�̒l��VAL�ɐݒ肷��B - -addtocounter -\addtocounter{FOO}{VAL} -�J�E���^FOO�̒l��VAL��������B - -newcounter -\newcounter{COUNTER}[OLDCTR] -�V�����J�E���^COUNTER��ݒ肷��B -�I�v�V��������[OLDCTR]���w�肷��ƁA�����̃J�E���^OLDCTR�̒l�� -\stepcounter �������� \addtocounter �ŕύX����邽�т�COUNTER�̒l�����Z�b -�g�����B - -value -\value{COUNTER} -COUNTER�̒l��Ԃ��B\protect ��O�u���Ă͂Ȃ�Ȃ��B - -stepcounter -\stepcounter{FOO} -�J�E���^FOO�̒l���C���N�������g����BFOO�ɏ]���J�E���^������΂������� -�Z�b�g����B - -refstepcounter -\refstepcounter{FOO} -�J�E���^FOO�̒l���C���N�������g����BFOO�ɏ]���J�E���^������΂������� -�Z�b�g����B\stepcounter�Ƃ̈Ⴂ�́A\refstepcounter{FOO} �̒���� -\label{hoge} ���������ꍇ�ɁA\ref{hoge} �̒l�� \value{FOO} �����‚悤�� -�u\ref�l�v��ݒ肷�邱�Ƃł���B - -arabic -\arabic{COUNTER} -�A���r�A������COUNTER�̒l���o�́B - -roman -\roman{COUNTER} -�������̃��[�}������COUNTER�̒l���o�́B - -Roman -\Roman{COUNTER} -�啶���̃��[�}������COUNTER�̒l���o�́B - -alph -\alph{COUNTER} -�������̉p����COUNTER�̒l���o�́B - -Alph -\Alph{COUNTER} -�啶���̉p����COUNTER�̒l���o�́B - -fnsymbol -\fnsymbol{COUNTER} -�r���V���{��(1 = *, 2 = \dagger, ...) ��COUNTER�̒l���o�́B�������[�h�̂݁B - -label -\label{LABEL} -���x��LABEL�̒l�����̎��́u\ref�l�v�ɐݒ肷��B -���̒l�́A\ref{LABEL}�ɂ���ĎQ�Ƃ����B�܂�\pageref{LABEL}�ɂ�� -\label{LABEL}�̑��݂���y�[�W�ԍ����Q�Ƃ����B -�u\ref�l�v�Ƃ� \section �Ȃǂ̃Z�N�V�����R�}���h�Aenumerate�‹��ł� -\item �R�}���h�Atheorem�‹��Ȃǂɂ���Đݒ肳���l�ł���B�Ⴆ�΁A -enumerate�‹����� \item �̒���ł͂���item�̔ԍ����u\ref�l�v�ƂȂ�A -�����ɂ��� \label{LABEL} ��item�̔ԍ���LABEL�ɃZ�b�g����B - -ref -\ref{LABEL} -\label{LABEL}�Őݒ肵��LABEL�̒l���Q�Ƃ���B -�{�����Őݒ肳�ꂽ���x���ɂ������Ă̓y�[�W�ԍ����A -�}�\���Őݒ肳�ꂽ���x���͐}�\�ԍ����A -enumerate���ꂽitem�Őݒ肳�ꂽ���x���ɂ������ẮAitem�ԍ����Ԃ����B - -pageref -pageref{LABEL} -\label{LABEL}�̑��݂���y�[�W�ԍ����Q�Ƃ���B - -( -\( ���� \) -����������g�ށB -\begin{math} ���� \end{math} -�Ɠ��l�B\( ����� \)�� fragile. - -) -\( x^2 = 4 \) -����������g�ށB -\begin{math} ���� \end{math} -�Ɠ��l�B\( ����� \)�� fragile. - -[ -�f�B�X�v���C������g�ށB -\[ ���� \] -\begin{displaymath} ���� \end{displaymath} -�Ɠ��l�B\[ ����� \]�� fragile. - -) -\[ ���� \] -�f�B�X�v���C������g�ށB -\begin{displaymath} ���� \end{displaymath} -�Ɠ��l�B\[ ����� \]�� fragile. - -equation -\begin{equation} ���� \end{equation} -�ԍ��‚��̐�����displaymath�‹��őg�ށB - -eqnarray -\begin{eqnarray} �������̕��� \end{eqnarray} -�������̕��т�3�‚̌��ɐ������ďo�͂���B3�‚̌���&�L���ɂ���āA -�u���� & ���s���� & �E�Ӂv�̂悤�ɋ�؂���B�Ⴆ�Έȉ��̂悤�ɂ���B -\begin{eqnarray} - 3x + 2y & = & 4 \\ - x - 4y & = & -5 -\end{eqnarray} -eqnarray* �‹��͐����ԍ����o�͂��Ȃ��ق���eqnarray�‹��Ɠ����ł���B - -eqnarray* -\begin{eqnarray*} �������̕��� \end{eqnarray*} -�����ԍ����o�͂��Ȃ��ق���eqnarray�‹��Ɠ����ł���B - -frac -\frac{���q}{����} - ���q ------- �̂悤�ȕ����`����g�ށB{���q \over ����} �Ɠ����B - ���� - -sqrt -\sqrt[N]{��} -�u���v��N�捪������킷�����B[N]���ȗ�����ƕ������B - -lefteqn -\lefteqn{��} -�f�B�X�v���C�������[�h�ɂ����āA�u���v�����[���ł���Ƃ݂Ȃ��āA���񂹂� -��B���Ƃ���eqnarray�‹��ɂ����āA���ӂ������Ȃ��Ă��܂��ꍇ�ɁA�s�� -�܂��ނ��߂ɗ��p����B -\begin{eqnarray} - \lefteqn{a_1 + a_2 + \cdots + a_n =} \\ - & & a_1 + b_1 + \cdots + z_1 + \\ - & & b_2 + c+2 + \cdost + z_2 -\end{eqnarray} - -center -\begin{center} ���e \end{center} -�u���e�v�𒆉��񂹂���B�e�s��\\�ɂ���ĉ��s�ʒu���w�肷��B -�� \centering - -flushright -\begin{flushright} ���e \end{flushright} -�u���e�v���E�񂹂���B�e�s��\\�ɂ���ĉ��s�ʒu���w�肷��B -�� \raggedright - -flushleft -\begin{flushleft} ���e \end{flushleft} -�u���e�v�����񂹂���B�e�s��\\�ɂ���ĉ��s�ʒu���w�肷��Ƃ��̈ʒu�ʼn��s -���邪�A�w�肵�Ȃ��ƓK���ȍs���̂Ƃ���ʼn��s���Ă����B -�� \raggedleft - -centering -\centering -�i�����Z���^�����O���đg�ł���B -���Ƃ��� table�‹��Afigura�‹��̐擪�Ő錾����Ɗ‹��̏I��܂ł��Z���^�� -���O���đg�ށB - -raggedright -\raggedright -�i���̉E�[��s�����ɂ��đg�ŁB -���ʂƂ��č��񂹂ɂȂ�B - -raggedleft -\raggedleft -�i���̍��[��s�����ɂ��đg�ŁB -���ʂƂ��ĉE�񂹂ɂȂ�B - -raggedbottom -\raggedbottom -�g�ł��鎞�Ɋe�y�[�W�̍����ɑ����̂��ꂪ�����Ă����e����B -�v���A���u���Ŏw�肷��B -��\flushbottom - -flushbottom -\flushbottom -�g�ł��鎞�Ɋe�y�[�W�̍����𐳊m�ɂ��낦��B -�v���A���u���Ŏw�肷��B -��\raggedbottom - -sloppy -\sloppy -\sloppy ���w�肷��ƁA�e�s��K���E�}�[�W���Ő܂�Ԃ�����ɁA -�P��Ԃ̋󔒂��ڂɌ���B -��\fussy - -fussy -\fussy -�ʏ�̑g�ŋK���ɖ߂�B -��\sloppy - -sloppypar -\begin{sloppypar} �i�� \end{sloppypar} -�i���� \sloppy �őg�ށB -��\sloppy - -verbatim -\begin{verbatim} ���e \end{verbatim} -�u���e�v���Œ蕝�t�H���g�̃^�C�v���C�^���̂ŕ\�����A���ׂĂ̕�����(TeX�� -�V�[�P���X�Ƃ��Ăł͂Ȃ�)���̂܂܉��߂���B - -#�u�΁[�΂��ށv����Ȃ��āu�΁[�ׂ����ށv��! - -verbatim* -\begin{verbatim*} ���e \end{verbatim*} -�ʏ��verbatim�‹��ɂ����āA�X�y�[�X�������󔒂ł͂Ȃ��ATeXbook �ɍڂ��� -����X�y�[�X�����̂悤�Ɉ󎚂���B - -(��)�������������� |_| - (�ꂵ���c) - -list -\begin{list}{�f�t�H���g���x��}{���`�p�����[�^} ... \end{list} -���X�g�‹��ɓ���B���X�g�‹��ł� \item �Ŏw�肳�ꂽ�e���ڂ����̎����� -�ŗ񋓂���B��1�����ɂ� \item �̃I�v�V���������̃��x�����ȗ����ꂽ���̃f -�t�H���g���x�����w�肵�A��2�����ɂ͊eitem��u�����ɏ��������p�����[�^ -���w�肷��B -��: -\begin{list}% - {$\diamond$} - {\addtolength{\leftmargin}{4em}} - \item ��1�����ɂ�\verb|\item| �ɃI�v�V�����������‚��Ȃ��������ɂӂ�A - �f�t�H���g�̃��x����^����B - \item ��2�����ɂ͊eitem��u�����ɏ��������p�����[�^��^����B - \item[*] �̂悤�ɃI�v�V�����������‚���Ƃ��ꂪ���x���ƂȂ�B -\end{list} - - list�‹��̑̍ق𐧌䂷��ϐ��ɂ͈ȉ��̂��̂�����(���ʓ��͊���l)�B -��������: - - -list�‹��̑̍ق𐧌䂷��ϐ� -\labelwidth item�̃��x���̕� -\labelsep ���x���̉E�[�ƍŏ��̃A�C�e���̃e�L�X�g�Ƃ̊Ԋu -\leftmargin list�‹����ł̍��}�[�W�� -\rightmargin ���E�}�[�W�� (0pt) -\itemindent item�̒��O�ɉ�������C���f���g�� (0pt) -\linewidth ��s�̕� -\listparindent �e�p���O���t�̐擪�̃C���f���g(������\item�̕t���Ă���� - ���̃p���O���t������)(0pt) - -��������: -\topsep list�‹��ɓ���O�̃p���O���t�ƍŏ���item�Ƃ̊Ԋu -\partopsep list�‹��ŐV�����p���O���t���͂��߂鎞��\topsep�ɉ����� - ���t���I�ȊԊu -\itemsep �A������item�ǂ����̊Ԋu -\parsep ��‚�item���ł̃p���O���t�ǂ����̊Ԋu - - -itemize -\begin{itemize} \item �A�C�e��1 ... \item �A�C�e��n \end{itemize} -���ڂ�񋓂��邽�߂̊‹��B -�ő�4�‚܂Ńl�X�g�ł���B -�e���x����item�̓��ɂ‚��L���́A\labelitemi, \labelitemii, -\labelitemiii, \labelitemiv �Ő��䂳���B - -itemize�‹��̑̍ق𐧌䂷��ϐ��ɂ͈ȉ��̂��̂�����B - - - -enumerate -\begin{enumerate} \item �A�C�e��1 ... \item �A�C�e��n \end{enumerate} -���ڂ�ԍ��‚��ŗ񋓂��邽�߂̊‹��B -�ő�4�‚܂Ńl�X�g�ł���B -�e���x����item�̓��ɂ‚��ԍ��́Aenumi, enumii, enumiii, enumiv -���ێ����Ă��āA�eitem�̃��x���́A\labelenumi, ..., \labelenumiv -�Ő��������B�܂��A\p@enumN\theenumN �� \ref�l��ݒ肷��B -(N�̓��x���̐[���B\ref�l�ɂ‚��Ă�\ref�̐������Q�Ƃ���) -���Ƃ��� -\def\theenumii{\alph{enumii}} -\def\p@enumii{\theenumi\theenumii} -\def\labelenumii{(\theenumii)} -�Ƃ���� \ref�l�� 3a �Ȃǂ̂悤�ɐݒ肳���B - -enumerate�‹��̑̍ق𐧌䂷��ϐ��ɂ͈ȉ��̂��̂�����B - - -item -\item \item[LABEL] -itemize, enumerate, description �‹��Ȃǂō��ڂ��J�n����B -[LABEL]���w�肷��ƃ��x���Ƃ���LABEL���o�͂���B - -description -\begin{description} \item[���o���P��] ���� ... \end{description} -[���o���P��]�����o���Ƃ��� - - -subitem -\subitem ���� -�T�u�A�C�e�����`�B - -subsubitem -\subsubitem ���� -�T�u�T�u�A�C�e�����`�B - -makebox -\makebox[WID][POS]{�I�u�W�F�N�g} \makebox(X,Y)[POS]{�I�u�W�F�N�g} -��1�̏����ł́A�I�u�W�F�N�g��WID�Ŏw�肵�����Ƃ��āA\hbox ���� -POS�Ŏw�肵���ꏊ�ɔz�u����BPOS��l���w�肷��ƍ��񂹁Ar���w�肷��ƉE�񂹁A -�����w�肵�Ȃ��ƃZ���^�����O�����B -��2�̏����ł́Apicuture�‹��ő傫��(X,Y)��(\unitlength����Ƃ���) -\hbox �ɃI�u�W�F�N�g��z�u����B�z�u�ʒuPOS�͑�1�̏����Ɠ��l�B - -mbox -\mbox{�I�u�W�F�N�g} -\makebox{�I�u�W�F�N�g}�Ɠ����B - -newsavebox -\newsavebox{\CMD} -�V�K�̃{�b�N�X�ۑ��p�R�}���h���`����B\CMD�� \savebox �R�}���h�� -�{�b�N�X��ۑ����邽�߂Ɏg���B\newsavebox�Ő錾�����R�}���h���� -��ɃO���[�o���ƂȂ�B - -savebox -\savebox{\CMD}{�e�L�X�g} -�{�b�N�X��g�ޓ��e�ł���u�e�L�X�g�v�̌��ʂ�\CMD�ɕۑ�����B -�u�e�L�X�g�v�� \makebox �ւ̈����ƑS�������ł��邪�A�u�e�L�X�g�v�� -�����������ʂ͂��̏�ɕ\���͂��Ȃ��B\usebox{\CMD}�ɂ�菈�������{�b�N�X -���u�����B - -sbox -\sbox{\CMD}{�e�L�X�g} -\savebox�Ɠ����Bsbox��robust, savebox��fragile - -framebox -\framebox{�I�u�W�F�N�g} -�u�I�u�W�F�N�g�v�ɘg���‚���\makebox�Ɠ��l�̏���������B -�g�̐��̑����� \framerule�A�I�u�W�F�N�g�Ƃ̊Ԋu�� \framesep �Ō��܂�B�� -����picture�‹��� \framebox(X,Y){�I�u�W�F�N�g}�Ƃ����ꍇ�́Apicture�‹� -�p�̐��̑����ɏ]���A�O�g�ƃI�u�W�F�N�g�Ƃ̊Ԋu�͋󂯂��Ȃ��B - -fbox -\fbox{�I�u�W�F�N�g} -\framebox{�I�u�W�F�N�g}�Ɠ����B -\fbox��robust, \framebox��fragile - -parbox -\parbox[POS]{WIDTH}{TEXT} -TEXT��WIDTh�̕��őg��Ń{�b�N�X���쐬����B�{�b�N�X�̈ʒu��POS�ɂ���� -c : �Z���^�����O(�f�t�H���g) -b : �{�b�N�X�̈�ԉ��̐������e�L�X�g�̃��C���ɍ��� -t : �{�b�N�X�̈�ԏ�̐������e�L�X�g�̃��C���ɍ��� -�̂悤�Ɍ��߂���B\parbox�ł̓p�����[�^���ȉ��̂悤�Ƀ��Z�b�g�����B - -\parskip = 0pt -\linewidth = \hsize -\@totalleftmargin = 0pt -\leftskip = 0pt -\rightskip = 0pt -\@rightskip = 0pt -\parfillskip = 0pt plus 1fil -\lineskip = \normallineskip -\baselineskip = \normalbaselineskip - -minipage -\begin{minipage}[pos]{WIDTH} TEXT \end{minipage} -\parbox �Ƃقړ��lWIDTH�̕���TEXT���{�b�N�X�Ƃ��đg�ށB�{�b�N�X�̈ʒu�� -POS�ɂ���� -c : �Z���^�����O(�f�t�H���g) -b : �{�b�N�X�̈�ԉ��̐������e�L�X�g�̃��C���ɍ��� -t : �{�b�N�X�̈�ԏ�̐������e�L�X�g�̃��C���ɍ��� -�̂悤�Ɍ��߂���B -parbox�ƈႢ�ATEXT�͒ʏ�̃p���O���t�Ƃ��đg�܂��B - -rule -\rule[RAISED]{WIDTH}{HEIGHT} -�� WIDTH x ���� HEIGHT �̌r�������BRAISED���w�肳�ꂽ�ꍇ�A���̕����� -��ɏグ����B - -underline -\underline{TEXT} -TEXT�ɉ������‚��ĕ\���B - -raisebox -\raisebox{DISTANCE}[HEIGHT][DEPTH]{BOX} -BOX��DISTANCE�����グ�đg�ށB -HEIGHT, DEPTH ���w�肷��ƁATeX���猩��BOX�́u�����v�Ɓu�[���v -(��:�����̗p��ɂ‚��Ă�TeXBook�Ȃǂ��Q�Ƃ̂���) -�� HEIGHT, DEPTH �Ɏw�肷��B - -tabbing -\begin{tabbing} \= text1.1 \= text1.2 \\ \> text2.1 \> text2.2 \end{tabbing} -���������s���‹������(����q�s��)�B�Ⴆ�΁A -\begin{tabbing} - \= ����1 \hspace*{2em} \= ����2 \hspace*{3em} \= ����3 \\ - \> ����� \> �ɂق� \> �Ƃ��� \+ \\ - \> �ʂ�� \> �킩�� \\ - \> ���ꂻ \- \\ - \> �‚˂� \> ��ނ� \> ��̂� -\end{tabbing} -���tabbing�‹��͈ȉ��̂悤��3�‚̃^�u�ʒu�őg�܂��B - (1�Ԗ�) (2�Ԗ�) (3�Ԗ�) - ����� �ɂق� �Ƃ��� - �ʂ�� ������ - ���ꂻ - �‚˂� ��ނ� ��̂� - \2em/ \3em/ -tabbing�‹��ɂ�����^�u�ʒu����R�}���h�͈ȉ��̒ʂ�(n��1����): -\= n�Ԗڂ̃^�u�ʒu�����݈ʒu�ɐݒ肵�^�u�J�E���^(n)��1�i�߂� -\\ ���s���ă^�u�J�E���^�����Z�b�g����(n=1) -\> �ʒu��n�Ԗڂ̃^�u�ʒu�ɐݒ肵�A�J�E���^��1�i�߂� -\+ ���̍s�̃^�u�J�E���^�̏����l��1������ \+ \\ �Ƃ���Ǝ��̍s�̍ŏ� - �� \> ��2�Ԗڂ̃^�u�ʒu������. \+ �𕡐������Ƃ��̐������^�u�J�E - ���^�̏����l�������� -\- \+�Ƃ͋t�ɁA���̍s�̃^�u�J�E���^�̏����l����1���� -\< ��‘O�̃^�u�J�E���^�ɖ߂��Ă��̃^�u�ʒu���Z�b�g. �s���̂� -\' \'�ȍ~��ʏ�̃^�u�ʒu��� \tabbingsep �������E�񂹂��ďo�� -\` \`�ȍ~�̃e�L�X�g�����ׂĉE�񂹂��ďo�� -\pushtabs ����܂ŗp���Ă����^�u�X�g�b�v�ʒu��S��push -\poptabs ����܂ŗp���Ă����^�u�X�g�b�v�ʒu��S��pop. \pushtabs �� - \poptabs �͕K���΂ɂȂ��Ă��Ȃ���΂Ȃ�Ȃ�. ����q�� -\aX X�� = �� ' �� ` tabbing�‹��łȂ��ʏ�̃A�N�Z���g�� - \a= \a' \a` �ŕ\�킷 -\kill ���ݍs�̃e�L�X�g�͏o�͂����^�u�ݒ肾�����߂��� - -array -\begin{array}{�v���A���u��} C1 & C2 & .. & Cn \\ D1 ... \end{array} -(�����Ȃǂɂ��)�z����쐬����B�s��Ȃǂ� array �‹��ō쐬����B -�ڂ��������� tabular �‹����Q�ƁB - -tabular -\begin{tabular}[OPT]{�v���A���u��} C1 & C2 & .. & Cn \\ D1 ... \end{tabular} -�\���쐬����B -�y[OPT]�z(�ȗ���) -[t] �\�̏�[�����݂̍s�ɍ��킹�� -[b] �\�̉��[�����݂̍s�ɍ��킹�� -�y�v���A���u���z -c �J��������Žw�肵�A���̃J�������Z���^�����O -l �J��������Žw�肵�A���̃J���������� -r �J��������Žw�肵�A���̃J�������E�� -@{�\��} �u�\���v���J�������ɑ}������B������w�肷��� - \arraycolsep �� \tabcolsep �̃X�y�[�V���O�͗}������� -*{N}{PRE} PRE�� N �񏑂����̂Ɠ��l�̍�p -p{LEN} ���̃J������LEN�̒�����parbox�G���g���Ƃ��č쐬���� - -�yarray, tabular �‹��Ŏg����R�}���h�z -\multicolumn - -\vline - -\hline - -\cline{i-j} - -\extracolsep{W} - - - -�ȉ��̗���Q�Ƃ���B - -\LaTeX �\�L ����`�� -\begin{array}{ccr} - x+y+z & a_1 & 1 \\ x+y+z a1 1 - x+z & a_2 & 21 \\ x+z a2 21 - y & a_3 & 321 y a3 321 -\end{array} - -\[ \left( - \begin{array}{cccc} - a_{11} & a_{12} & \dots & a_{1n} \\ / a11 a12 ... a1n \ - a_{21} & a_{22} & \dots & a_{2n} \\ | a21 a22 ... a2n | - \vdots & \vdots & \ddots& \vdots \\ | : : \. : | - a_{n1} & a_{n2} & \dots & a_{nn} \ an1 an2 ..: ann / - \end{array} -\right)\] - -array�‹��� \right( \left) �ň͂ނƔz�񎩑̂�傫�Ȋ��ʂŊ���B���l�ɁA -\right\{ \left\} �Ŕz��𒆊��ʂŁA\right[ \left] �Ŕz���劇�ʂŁA -\right| \left| �Ŕz����m�����L��(��Βl�L��)�Ŋ��邱�Ƃ��ł���B -\right �̐��� \left �̐��͕K�������łȂ���΂Ȃ�Ȃ����A\right( \left] -�̂悤�Ɋ��ʂ̎�ނ͈���Ă��悢�B\right. �̂悤�� . ���‚���ƌ����Ȃ� -���ʂ��o�͂����B - -\[ �� \cdots \left\{ / - \begin{array}{ccc} | x = 5 - x & = & 5 \\ �� ... < - y & = & 3 | y = 3 - \end{array} \right. \] \ - -array�‹��𐧌䂷��ϐ��ɂ͈ȉ��̂��̂�����: -\arraycolsep : array�‹��̊e�J�����Ԃ̊Ԋu�̔��� -\tabcolsep : tabular�‹��̊e�J�����Ԃ̊Ԋu�̔��� -\arrayrulewidth : �r���̕� -\doublerulesep : array, tabular�‹��ł̗אڂ����r��(��d�r��?)�Ԃ̊Ԋu -\arraystretch : \baselinestretch �Ɠ��l�s�ԃX�y�[�X�̔䗦�����߂� - \renewcommand�ōĒ�`���� - -tabular�‹��́A�y�[�W���ׂ邱�Ƃ��ł��Ȃ��B������”\�ɂ���X�^�C���t�@ -�C���Ƃ��āAsupertab.sty������B - -tabular* -\begin{tabular*}{��}{�v���A���u��} ... \end{tabular*} -�����w�肵��tabular�‹����쐬�B -���̕����[�U���邾���̃X�y�[�X���v���A���u���� \extracolsep{} �R�}���h�� -�m�ۂ���B -\begin{tabular*}{10em}[b]{|c@{\extracolsep{\fill}}|c|c|} - \hline - a & b & c \\ \hline - 1 & 2 & 3 -\end{tabular*} -tabular�‹��̐������Q�Ƃ̂��ƁB - -multicolumn -\multicolumn{N}{FORMAT}{ITEM} - tabular�‹��Ō��݂̃J�������܂�N���̃J������FORMAT�ɏ]���� - ITEM�Ŗ��߂�BFORMAT��l,r,c�̂���(�ő�)�ЂƂ� - -vline -\vline - tabular�‹��ł��̃J�����ɏc��������. �c���̈ʒu�͂��̃J������ - �w�肳��Ă��� l, r, c �ɂ���Č��܂� - -hline -\hline - tabular�‹��ŁA�s�Ԃɐ�����������. �‹��̍ŏ��̃G���g���̒��O�A - �������� \\ �̒���ɗ��Ȃ���΂Ȃ�Ȃ�. ���� \hline �𑱂��� - �w�肷���\doublerulesep ���̋󔒂��󂯂���(�W���ł͌r���� - �����̂���������Ă��܂�) - -cline -\cline{i-j} - tabular�‹����Ai�Ԗڂ���j�Ԗڂ̃J�����ɉ���������. \hline�Ɠ��l - -extracolsep -\extracolsep{W} - tabular�‹���@�\���̒��ŗp����ƁA��W�̃X�y�[�X������ȍ~�� - �S�ẴJ�����̍����ɉ����� - -picture -\begin{picture}(WIDTH,HEIGHT)(X,Y) ..contents.. \end{picture} -��WIDTH, ����HEIGHT �̕`��{�b�N�X���쐬�B���̃{�b�N�X�̍����̍��W�� -(X,Y) �ƂȂ�(�ȗ������(0,0))�B�����̈����̐��l���܂߁Apicuture�‹��� -���l�� \unitlength �ɑ΂��鑊�Βl�ł���킳���B\unitlength �̊���l�� -1pt. -����picture�‹�����Ȃ��Ǝv���̂ŗp�@���������Ȃ���[��B - -�y�R�}���h�z -\put(X���W,Y���W){�`��I�u�W�F�N�g} -\multiput(X���W,Y���W)(X�̑���,Y�̑���){�J��Ԃ���}{�`��I�u�W�F�N�g} -�y�`��I�u�W�F�N�g�z -\makebox(X���W,Y���W)[POS]{�e�L�X�g} (��) -\framebox(X���W,Y���W)[POS]{�e�L�X�g} (�g�t���̔�) -\dashbox(X���W,Y���W)[POS]{�e�L�X�g} (�j���g�t���̔�) -(�ȏ�POS = l, r, b, t) -\line(��X,��Y){���������̒���} (����) -\vector(��X,��Y){���������̒���} (���) -(��X,��Y = �}1, �}2, ..., �}6 �Ōݑf, ���ꂼ���͎n�_) -\shortstack[POS]{��s\\��s\\�O�s} -\circle{���a} (�~) -\circle*{���a} (�h��ׂ����~) -(���ꂼ���͉~�̒��S, �ő咼�a��40pt, 15pt) -\oval(���aX,���aY)[POS] (�ȉ~�� POS = l, r, t, b) -\frame{�`��I�u�W�F�N�g} -\thinlines, \thicklines (��,������I��) -\linethickness{����} - -newtheorem -\newtheorem{NAME}{TEXT}[COUNTER] \newtheorem{NAME}[OLDNAME]{TEXT} -�藝�^�̐V�����‹��uNAME�v���`����B -TEXT �藝�ԍ��̃L���v�V�����Ƃ��ďo����镶���� -COUNTER NAME�̃J�E���^�̐e�ƂȂ�J�E���^��. �ʏ�section. -��2�̌`���ł� OLDNAME �Ɠ����J�E���^�`�����g�����Ƃ��w������B -NAME�‹��̃J�E���^�`���� \theNAME �R�}���h���Ē�`����B����̃f�t�H���g�� -\theCOUNTER.\arabic{NAME} - -title -\title{�^�C�g��} -\maketitle�R�}���h�ŏo�͂���^�C�g������ݒ肷��B - -author -\author{���Җ�} -\maketitle�R�}���h�ŏo�͂��钘�҂�ݒ肷��B -�����̒��҂������Ƃ��� \and �ŋ�؂��Ė��O�������B - -date -\date{���t} -\maketitle�R�}���h�ŏo�͂�����t��ݒ肷��B -\date ���ȗ�����ƃ^�C�v�Z�b�g�������̓��t���o�͂����B - -thanks -\thanks{�r��} -�^�C�g����(\title, \author, \date)�ł̋r��(�ӎ���Z���Ȃ�)�̏o�͂��s���B - -maketitle -\maketitle -�^�C�g�����o�͂���Bdocument�‹����Ő錾����Ȃ���΂Ȃ�Ȃ��B -�^�C�g�����\�����鍀�ڂ͈ȉ��̃R�}���h�Œ�`����B -\title{�^�C�g��} -\author{���Җ�} -\date{���t} (�ȗ�����ƃ^�C�v�Z�b�g�������̓��t) -\thanks{�r��} (�ӎ��⏊�����Ȃǂ��r���`���ŏo�����߂ɗp����) - -part -\part{��?���̃^�C�g��} - - -chapter -\chapter{�͂̃^�C�g��} -������؂�R�}���h�ꗗ: -\part ��?�� -\chapter ?�� (article�ɂ͂Ȃ�) -\section ?�� -\subsection ?.?�� -\subsubsection ?.?.?�� -\paragraph �i�� -\subparagraph ���i�� - -section -\section{�Z�N�V������} -�������̃Z�N�V�������ŃZ�N�V�����̋�؂��ݒ�B - - -subsection -\subsection{�T�u�Z�N�V������} -�������̖��O�ŃT�u�Z�N�V�����̋�؂��ݒ�B - - -subsubsection -\subsubsection{�T�u�T�u�Z�N�V������} -�������̖��O�ŃT�u�T�u�Z�N�V�����̋�؂��ݒ�B - - -paragraph -\paragraph{�p���O���t��} -�������̖��O�Ńp���O���t�̋�؂��ݒ�B - - -subparagraph -\subparagraph{�T�u�p���O���t��} -�������̖��O�ŃT�u�p���O���t�̋�؂��ݒ�B - - -appendix -\appendix -�t�^���ɓ���錾�B -�Z�N�V�����R�}���h�̔ԍ��̕�����t�^�p�ɕς���B - -contentsline -\contentsline{TYPE}{ENTRY}{PAGE} -\contentsline{subsection}{\makebox{30pt}[r]{1.4.3} Gnats and Gnus}{22} -�Ƃ���� .toc �t�@�C���� ENTRY ��f���o���B -TYPE�̓Z�N�V�����R�}���h�̂ǂꂩ�B - -addcontentsline -\addcontentsline{TABLE}{TYPE}{ENTRY} -TABLE�Ŏw�肵���t�@�C��(toc, lof, lot �̂ǂꂩ)��ENTRY�Ƃ����G���g�����o -�͂���BTYPE��TABLE�̒l�ɂ���ĕς��A - toc: �Z�N�V�����R�}���h�̂ǂꂩ - lof: figure - lot: table -�ł���B - -addtocontents -\addtocontents{TABLE}{TEXT} -TEXT��TABLE�Ŏw�肵���e�[�u���t�@�C��(toc, lof, lot �̂ǂꂩ)�ɏo�͂���B - -index -\index{INDEX} -�����̃G���g�����`����B - --------------------------------------------------------------------- - - -glossary -\glossary{STRING} -�p��W�̃G���g�����`����B - -makeindex -\makeindex -\indexentry�œo�^����Ă��鍀�ڂ� .idx �t�@�C���ɏ������ށB -�v���A���u���Ŏw�肷��B - --------------------------------------------------------------------- - - -makeglossary -\makeglossary -\glossaryentry�œo�^����Ă��鍀�ڂ� .glo �t�@�C���ɏ������ށB -�v���A���u���Ŏw�肷��B - -�����̍��� - -(1)\documentstyle��makeidx�I�v�V������^���A�v���A���u���� \makeindex - �������A�����𐶐�����ꏊ�� \printindex �������B -(2)�{���� \index{�����ƂȂ�P��} �𖄂ߍ��ށB -(3)��x(�܂��͓�x)�^�C�v�Z�b�g����B -(4).idx�t�@�C�����ł���̂ł��̃t�@�C���� makeindex �ɂ�����B -(5).ind�t�@�C�����ł���̂ł�����x�^�C�v�Z�b�g���ďo���オ��B - -** \index�̋L�@ ** -���{������̂܂� \index{����} �Ɠ��ꂽ�̂ł͂������������Ƀ\�[�g����Ȃ��B -�����ŁA�ǂ݂�@�ŋ�؂��� \index{����@����} �̂悤�ɓ����B - -bibliography -\bibliography{FILE1,FILE2, ... ,FILEn} -BibTeX�œǂݍ��ރt�@�C�����w�肷��B - -bibliographystyle -\bibliographystyle{�X�^�C��} -plain �ʏ� -unsrt �\�[�g���Ȃ� -alpha "Foo94" �̂悤�ȃ^�O���‚��� -abbrv ���҂̃t�@�[�X�g�l�[���A���s���A���Ж����ȗ������ - -thebibliography -\begin{thebibliography} \bibitem{�A�C�e��}�c \end{thebibliography} -�Q�l�����f�[�^�̓o�^�‹����J�n����B -�f�[�^�� \bibitem �R�}���h�ɂ���ēo�^����B -\bibitem �R�}���h�̗p�@�͈ȉ��̒ʂ�B - - -bibitem -\bibitem{NAME} \bibitem[LABEL]{NAME} -\bibitem{NAME}�̏����ł́ANAME�ŎQ�Ƃ���A[1],[2] �̂悤�Ȍ`�ň��p�L���� -�o�͂����A\bibitem[LABEL]{NAME}�̏����ł́A\cite{NAME}�ŎQ�Ƃ���A -[LABEL] �̂悤�Ȉ��p�L�����o�͂����B - -cite -\cite{NAME} \cite[LABEL]{NAME} -\cite{NAME}�̏����ł́ANAME�ŎQ�Ƃ���A[1],[2] �̂悤�Ȍ`�ň��p�L���� -�o�͂����A\cite[LABEL]{NAME}�̏����ł́A[1,LABEL] �̂悤�Ȉ��p�L�� -���o�͂����B - -footnote -\footnote{NOTE} -NOTE�Ƃ������e�̋r���𐶐�����B -\footnote[NUM]{NOTE} �Ƃ���ƁA�ԍ���NUM�Ŏw��ł���B -�r�������܂��o�͂���Ȃ��悤�ȏꏊ�ł� \footnotemark �� \footnotetext �� -�g�ݍ��킹�ďo�͂���B -fragile - -footnotemark -\footnotemark[NUM] -�r���ԍ��̂ݏo�͂��鎞�Ɏg���Btabbing�‹��̂悤�ɁA�r�����o�͂���Ȃ��� -����ŁA\footnotetext �Ƒg�ݍ��킹�Ďg���B[NUM]�͏ȗ��B - -footnotetext -\footnotetext[NUM]{TEXT} -�r���ԍ����o�͂����r���̂ݏo�͂���B -�ʏ� \footnotemark �Ƒg�ݍ��킹�Ďg���B - -footnotesize -\footnotesize -�����T�C�Y���r���p�̃T�C�Y�ɕύX����B - -footnotesep -\footnotesep -�e�r���̍ŏ��ɒu�����󔒂̍���(���l)�B - - -footnoterule -\footnoterule -�{���Ƌr���̂������Ɉ������r�����o�́B - -documentstyle -\documentstyle[OPTION1,OPTION2, ... ,OPTIONn]{STYLE} -�����X�^�C�����w�肷��B -[OPTION...] ���w�肷��ƁASTYLE.sty ��ǂ񂾌�ɁA -OPTIONn.sty �������ǂݍ��܂��B - -verb -\verb#���e# -\verb�̒���ɗ��镶���ƁA���ɂ�����铯�������Ƃ̂������ɋ��܂ꂽ���� -�� verbatim �ŕ\������B\verb|foo| �� \verb,foo, �͓������ʂ�������B - -styleparameter -�܂��󂵂Ă��Ȃ��X�^�C���p�����[�^�B -% \topfigrule : Command to place rule (or whatever) between floats -% at top of page and text. Executed in inner vertical -% mode right before the \textfloatsep skip separating -% the floats from the text. Must occupy zero vertical -% space. (See \footnoterule.) -botfigrule -\setlength{\botfigrule}{����} -Same as \topfigrule, but put after the \textfloatsep -skip separating text from the floats at bottom of page. - -intextsep -\setlength{\intextsep}{����} -�������t���[�g�̏㉺�Ɏc���ꂽ�󔒂̒��� - - -newpage -\newpage -���ł��s���B -\clearpage ���o�͂̐}�\������ΓƗ������}�\�p�ł��o�͂��Ă��� - ���ł��s���B -\cleardoublepage clearpage�Ɠ��������A ����ʃX�^�C��(book�Ȃ�)�� - �ꍇ�́A��ł���n�܂�悤�ɉ��ł���B -\newpage ��i�g�݂̎��͌��݂̒i���I������B - -clearpage -\clearpage - - -cleardoublepage -\cleardoublepage - - -���� - -�����Ɏg����P�ʂɂ͈ȉ��̂��̂�����B -cm �Z���` -em �啶��M�̕� -ex ������x�̍��� -in �C���`(��2.54cm) -mm �~�����[�g�� -pc �p�C�J(=12pt) -pt �|�C���g(72.27pt=1�C���`) -\fill ���R����0�����A�C�ӂ̒����ɐL�т邱�Ƃ̂ł���L�k�� -\stretch{X} \fill ��X�{ - -stretch -\stretch{X} - - -twocolumn -\twocolumn[STRING] -���ł������Ɠ�i�g�݂ł̑g�ł��J�n����B -[STRING]���w�肷��ƁASTRING���i�Ԃ������̃^�C�g���Ƃ��ďo�́B -��onecolumn - -onecolumn -\onecolumn -���ł������Ƃň�i�g�݂ł̑g�ł��J�n����B -��twocolumn - -topnewpage -\topnewpage{BOX} -�V�����y�[�W���J�n���A\textwidth��BOX��parbox�ō쐬����B -��i�g�݃y�[�W�łԂ������^�C�g�����쐬���鎞�ɗp����Ƃ悢�B - -LaiTeX -a Little Assistant Interface for TeX on Vz -�����炭���Ȃ����� Vz ��Ŏg���Ă��邱�̃��[�h�B -LaTeX�������I�Ɏg�����߂̑����̋@�\�𐷂荞��ł��܂��B - -�y�����ɂ‚��āz -laitex.def�Ȃǃv���O�������w�����́u�炢�Ă����v�A�V�X�e�����w�����́u�� -�����傤�v�Ɠǂ݂܂��B - -�y�⑫�z -�u�����v�̋����������́u�炢�Ă��v�������ł��B - -�y�ӎ��z -�ȉ��̕��X�̌䋦�͂𒸂��܂����B�����Ɋ��Ӑ\���グ�܂��B - -(���s��/��\���ڂ̂�) -���c��炳��(�}�c�_) - �]�ڂ��s���Ē����܂����B - -�k�ݗ��j����(�L���Z�p�Ȋw��) -���э��u����(�L����) -�ە�P�삳��(�����ّ�) -�������񂳂�(�É���) -���є�����(����H�Ƒ�) -��c�ꐶ����(niftyserve) -�R�ے��V����(niftyserve) -����m����(niftyserve) - �o�O�̎w�E��A�v�]�A��܂��̃��[���𒸂��܂����B - (�܂Ƃ߂Ăł��߂�Ȃ��� -- �j��) - -�ēc�݂䂫����(���s�\�t�g�E�F�A���T�[�`) - Software Design ���Ŗ{�\�t�g�����Љ�������܂����B - -�o�b�L�["�Ń��b�R"�g�~�U������(�}�g��) - �����ׂ̈Ƀm�[�g�p�\�R���𖳏��őݗ^���ĉ������܂����B - �ނ̂������ŁA�����͂͂΂������Ƃ��o���܂����B - -laitex -a Little Assistant Interface for TeX on Vz - - -YaTeX -(setq auto-mode-alist (cons '("\\.tex$" . yatex-mode) auto-mode-alist)) -�����炭���Ȃ����� Emacs �Ŏg���Ă��邱�̃��[�h�B -LaTeX�������I�Ɏg�����߂̑����̋@�\�𐷂荞��ł��܂��B - -�y�����ɂ‚��āz -yatex.el�Ȃǃv���O�������w�����́u��Ă����v�A�V�X�e�����w�����́u�₿�� -���v�Ɠǂ݂܂��B - -�y�ӎ��z -�ȉ��̕��X�̌䋦�͂𒸂��܂����B�����Ɋ��Ӑ\���グ�܂��B - -(���s��/��\���ڂ̂�) -���P������(��B��) - Bibtex�N���Atypeset process �� kill�A�G���[�ӏ��̐��������� - �̗v�]���̑��𒸂��܂����B - -�X���G������(�A�����c) - �^�C�v�Z�b�g�o�b�t�@�ł̎��s�p���Alpq, bibtex�N���A�̈�w��^�C - �v�Z�b�g��̃v���r���[�Ώۃt�@�C���̃f�t�H���g�l�̕ύX�A - describe-mode�A\verb �̕⊮�̗v�]�Averbatim�‹���\verb�̒��ɂ��� - \begin{}, \end{} �𐔂��Ȃ��悤�ɂ���v�]�A�Ȃǂ𒸂��܂����B - -�΍�T�B����(�x�m��) - YaTeX-get-error-file �̃o�O���|�[�g�Ȃǂ𒸂��܂����B - -Bayard����(asciinet) - min-out�Ƃ̘A�W�̕s��̕񍐂𒸂��܂����B - -�j���񂳂�(asciinet) - ms-dos�ŗL�̐ݒ�Ɋւ���o�O���|�[�g�𒸂��܂����B - -sa2c����(asciinet) - Mule�p�̃p�b�`�𒸂��܂����B - -�j�쒼�Ȃ���(�}�g��) - �����؂�Ȃ��o�O���|�[�g�Ɨv�]�𒸂��܂����B�܂�Vz�ւ̈ڐA�łł� - �� laitex(����) ���쐬����܂����B�܂��A�u����ȋ@�\�͂ǂ����낤?�v - �Ƒ��k����ƁA�u�����v�ƈ�R���A���΂炭�o���Ă���u����ς�~ - �����v�ƌ����ȂǁA�����̍������������Ă��������܂����B - -��˂�������(asciinet) - �肢�t�������ł��B - http://www.comp.ae.keio.ac.jp/~yuuji/lune/astrology/ - -���삳��(prc) - �e���Ŗ\��Ă��܂��B - http://www.prc.tsukuba.ac.jp/~katsura/ - -�O���P�Y����(�c���) - �J�����ʂ̓��͎��̏����̃��[�h�����̃A�C�f�A�𒸂��܂����B - -���됒����(�c���) - begin�^�⊮�̓����ɕ������������ꍇ�������C���f���g���Ăق��� - �Ƃ����v�]�𒸂��܂����B - -�c�������Y����(�c���) - �^�C�v�Z�b�g���ɖ��Z�[�u��Ԃ̊֘A�t�@�C�����Z�[�u���ė~�����Ƃ� - ���v�]�𒸂��܂����B - -bauer����(asciinet) - �A�N�Z���g�⊮�̗v�]�ƃA�N�Z���g�L���̋K���̏�񓙂𒸂��܂����B - -���X�؂��낤����(asciinet) - �����‹��̏����Ɋւ��鑽�l�ȃA�C�f�A�A�E�B���h�E�I�������Ɋւ��� - ���[�U�C���^�t�F�[�X�̑@�ׂȉ��P�ĂȂǂ𒸂��܂����B - -Deslar����(asciinet) - byte-compile�֌W�̃o�O�񍐂Ȃǂ𒸂��܂����B - -tadf����(asciinet) - Demacs�ł̃v���Z�X�N�����̃C���^�t�F�[�X�̕s��̕񍐂Ȃǂ𒸂� - �܂����B - -�ق�܂����邳��(asciinet) - �p���O���t���E��LaTeX�p�ɐݒ肵�Ȃ����v�]�Ȃǂ𒸂��܂����B - -TUSK����(asciinet) - Texinfo�h�L�������g(����)���쐬���Ē����A���łɊւ���R�����g - �ƓY������Ē����܂����B - -���c�a�炳��(asciinet) - dviout�N�����̍H�v�̈āA�~�j�o�b�t�@�œǂݍ��ނ��̂̃q�X�g���� - ����A�C�f�A�̂��������𒸂��A�w���v�t�@�C���̍��ڂ̒񋟂����Ē� - ���܂����B - -Nop.M����(asciinet) - �قȂ�‹��ł̐ݒ�̕s����̃��|�[�g�𐔑��������܂����B - -jaybird����(asciinet) - �p��ł̃w���v�t�@�C�����쐬���Ē����܂����B - -���R������(������w) - ���{����̓��[�h����֐��̃o�O�𒼂��p�b�`�Asection-view �̃o�O - �񍐁A* �t���Z�N�V�����R�}���h�Ή��̗v�]�A\right, \left �̃A�h�C - ���֐��쐬�Ɋւ���L�p�ȏ��Ȃǂ𒸂��܂����B - -�_����(niftyserve) - dviout�N���I�v�V�����Ɋւ���R�����g�A�w���v�t�@�C���̃o�O�񍐓� - �𒸂��܂����B - -���}�a�G����(JAIST) - �쒹/������ Mailing List ��ݗ����Ē����܂����B - -���{���F����(�����w�|��) - �}�j���A���̃o�O���w�E���Ē����܂����B - -���{�R�N�q����(������) - \item[] �Ȃǂ̕⊮�� [] �̒��ɃJ�[�\����u���v�]�𒸂��܂����B - -�|���_����(������) - M-q (YaTeX-fill-paragraph) �̃o�O��񍐂��Ē����܂����B - YaTeX-insert-amper ��contribute���Ē����܂����B - ��҂̐������̖}�~�X�𒚔J�ɏE���ĉ������܂����B - YaTeX-shift-section-undo �̎������@�������Ă��������܂����B - -�����\����(�c���) - �l�X�g���������itemize�‹��ł�indentation�̕s����w�E���Ē��� - �܂����B - -�ΐ�m���(�x�m��) - Mule2�ŎΑ̃t�H���g���g�p���邽�߂̎菇�Aauto-insert�̑��݂����� - �Ē����܂����B - -���_�ꂳ��(��B��w) - Mule�Ńt�H�[�}�b�g����info�t�@�C����Nemacs�p�ɃR���o�[�g������@ - �������Ē����܂����B - -�c����������(�c���) - font-lock �̎g�����𒲍�����Ƃ����āA�܂����������Ă���܂���B - �������Ă�������:-)�B - -�g�c���u����(�c���) - label/ref�⊮�ŁAlabel��ref�Ŏn�܂�P��S�Ă����ɂ���Ă��܂� - �o�O��񍐂��Ē����܂����B - -��c��������(�L���Z�ȑ�) - Emacs 19.29 �ȍ~�Ő�����YaTeX-indent-new-comment-line�̕s��� - �w�E���Ē����܂����B - -���{���V����(�x�R��w) - �u���߂Ďg��YaTeX�v�Ƃ���Cool��WWW�y�[�W���쐬���ĉ������܂����B - -�c���q����(�x�R��w) - AMS-LaTeX �ɑΉ����邽�߂̃p�b�`�𑗂��Ē����܂����B - -���V�K�i����(���k��w) -�c��������([��]�P�C�P���G���W�j�A�����O�V�X�e��) - begin�^�⊮�ł��܂������s�֐�������΁A�⊮���ɏ����G���g����} - ������Ƃ����A�C�f�A��񋟂��Ă��������܂����B - -�������l����(�c���) - YaTeX-default-pop-window-height �̌��Ă𒸂��܂����B - $ \% $ �̂悤�ȏꍇ�̐������[�h�I������̃~�X���w�E���Ē����܂����B -yatex -(setq auto-mode-alist (cons '("\\.tex$" . yatex-mode) auto-mode-alist)) - - +textfloatsep +\addtolength{\textfloatsep}{����} +�y�[�W�擪��float�܂��́A�y�[�W�ʼn�����float�ƃe�L�X�g�Ƃ̊Ԋu�B + +floatsep +\addtolength{\floatsep}{����} +float��float�̊Ԋu�B + +pagestyle +\pagestyle{�X�^�C��} +�o�̓y�[�W�̃w�b�_�ƃt�b�^�̃X�^�C�������߂�B�X�^�C���ɂ͈ȉ��̂��̂�����: +plain �W���X�^�C��. �t�b�^�Ƀy�[�W�ԍ������‚���. +empty �w�b�_�ɂ��t�b�^�ɂ������o�͂��Ȃ�. +headings �w�b�_�ɃZ�N�V�����ɉ��������o���ƃy�[�W�ԍ����‚� + �t�b�^�ɂ͉����o�͂��Ȃ�. +myheadings headings�̃X�^�C���ŁA�w�b�_�̏��� \markbpth �� + \markright �Ŏw��ł���. + +thispagestyle +\thispagestyle{�X�^�C��} +���݂̃y�[�W�����̃X�^�C�������肷��B + +pagenumbering +\pagenumbering{�X�^�C��} +�y�[�W�ԍ��̃X�^�C�������߂�B�X�^�C���ɂ͈ȉ��̂��̂�����: +arabic �A���r�A���� +alph �������̉p�� +Alph �啶���̉p�� +roman �������̃��[�}���� +Roman �啶���̃��[�}���� + +shortstack +\shortstack[�ꏊ]{�d�˂�\\�\������\\���e} +{}���̓��e��\\�ŋ�؂�ꂽ�P�ʖ��ɐςݏd�˂ĕ\������B +[�ꏊ]�́Al(����)�Ac(�Z���^�����O)�Ar(�E��)�̂����ꂩ�B + +newlength +\newlength{NAME} +NAME�Ƃ��������R�}���h��V���ɐ錾����B + +addtolength +\addtolength{�����R�}���h}{���l} +��1�����̒������2�Ɉ����̐��l�𑫂��B +��\�I�ȃX�^�C���p�����[�^�ɂ‚��Ă� \setlength �̍����Q�Ƃ���B + +setlength +\setlength{�����R�}���h}{���l} +��1�����̒������2�Ɉ����̐��l�ɐݒ肷��B +��\�I�ȃX�^�C���p�����[�^�͈ȉ��̒ʂ�: +(�X�^�C���p�����[�^�̕ύX�̓v���A���u���ōs������) +\evensidemargin \footheight \footskip \headheight +\headsep \marginparsep \marginparwidth \oddsidemargin +\textheight \textwidth \topmargin \topskip +\parindent \baselineskip \baselinestretch \parskip +\columnsep \columnseprule \mathindent + +settowidth{\NAME}{TEXT} +\hbox{TEXT}�̏o�͌��ʂƓ������ɒ���\NAME ���Z�b�g����B + +evensidemargin +\setlength{\evensidemargin}{����} +���y�[�W�̍��[����1�C���`(2.54cm)�̐��Ɩ{���̋��� + +footheight +\setlength{\footheight}{����} +�t�b�^�̍��� + +footskip +\setlength{\footskip}{����} +�{���̔��̉��[�ƃt�b�^�̋��� + +headheight +\addtolength{\headheight}{����} +�w�b�_�̍��� + +headsep +\setlength{\headsep}{����} +�w�b�_�Ɩ{���̊Ԋu + +marginparsep +\addtolength{\marginparsep}{����} +�T���Ɩ{���̊Ԋu + +marginparwidth +\addtolength{\marginparwidth}{����} +�T���̕� + +oddsidemargin +\addtolength{\oddsidemargin}{����} +�E�y�[�W�̍��[����1�C���`(2.54cm)�̐��Ɩ{���̋��� + +textheight +\addtolength{\textheight}{����} +�{���̍��� + +textwidth +\addtolength{\textwidth}{����} +�{���̕� + +topmargin +\addtolength{\topmargin}{����} +�y�[�W��[����1�C���`�̐��ƃw�b�_�̋��� + +topskip +\addtolength{\topskip}{����} +�{���̔��̏�[�ƈ�s�ڂ̃e�L�X�g�Ƃ̊Ԋu + +parindent +\setlength{\parindent}{����} +\parindent �i���̐擪�̎�������. + +linewidth +\addtolength{\linewidth}{����} +\linewidth �s�̕�. + +baselineskip +\addtolength{baselineskip}{����} +\baselineskip �s�̃x�[�X���C���Ԃ̍Œ���̍���. + +baselinestretch +\renewcommand{\baselinestretch}{1.5} +\baselinestretch \baselineskip �ɏ悸��W��. (default=1) +(* \setlength�Ȃǂł͂Ȃ��A\renewcommand�ōĒ�`����B) + +parskip +\addtolength{\parskip}{����} +\parskip �i���O�̐����X�y�[�X. + +columnsep +\addtolength{\columnsep}{����} +\columnsep 2�i�g�݂̎��̒i�Ԃ̕�. + +columnseprule +\addtolength{\columnseprule}{����} +��i�g�̎��̒i�Ԃ̌r���̑���. (default=0pt) + +columnwidth +\addtolength{\columnwidth}{����} +��i�g�̎��ɂ� (\textwidth - \columnsep)/2 +�����łȂ����́A\textwidth + +mathindent +\addtolength{mathindent}{����} +\mathindent �X�^�C���I�v�V������ fleqn ���w�肵���ꍇ�́A + ���}�[�W������̐����̎�������. + +LaTeX +\LaTeX +\LaTeX �̃��S��\���B\LaTeX �̒�`�͈ȉ��̒ʂ�B +\def\LaTeX{{\rm L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em + T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}} + +fragile +** LaTeX�p�� ** +�����ɂ���ēW�J���ʂ��ς��悤�ȃR�}���h�������B +���̋t�� robust �ȃR�}���h�B + +robust +** LaTeX�p�� ** +�W�J���ʂ���ɕς��Ȃ��悤�ȃR�}���h�������B +�t�H���g/�T�C�Y�w��q�A�����R�}���h�A�������[�h���Ɏg�������̃R�}���h�� +robust�ȃR�}���h�B +(maketitle�^�R�}���h�̂����I�v�V����������S���Ƃ�Ȃ����̂ƍl���ėǂ�) + +protect +\protect�ufragile�ȃR�}���h�v +�����ɂ���Č��ʂ��ς��悤�ȃR�}���h���ufragile�ȃR�}���h�v�ƌ����B +����A���������낢��ȉӏ��ŎQ�Ƃ����R�}���h���u�������������R�}���h +�ƌ����B����� chapter �� caption �Ȃǖڎ��Ȃǂ���Q�Ƃ����������Ƃ�� +�̂�Atabular/array �‹��� @ �\�����Y������B + +���āA�����́u�������������R�}���h�v�̈����Ɂufragile�ȃR�}���h�v�� +�^���鎞��(fragile�ȃR�}���h�̒��O��)�g���̂� \protect �ł���B�ȉ��͓T +�^�I�ȗ��p��ł���B + +\newcommand{\thissystem}[1]{YaTeX version #1} +\chapter{\protect \thissystem{1.50}�ɂ‚���} + +newcommand +\newcommand{\�R�}���h��}[�����̐�]{��`} +�u�R�}���h���v���u�����̐��v�‚̈��������u��`�v�ł���}�N���Ƃ��Ē�` +����B��`����n�Ԗڂ̈����� #n �Ƃ��ĎQ�Ƃ���B + \newcommand{\foo}[1]{\underline{#1}} +�Ƃ���� \foo{bar} �� \underline{bar} �ƓW�J�����B���������ăt�H���g�w +��q���܂ޏꍇnewcommand��{}�ɂ‚��āA + \newcommand{\foo}[1]{\bf #1} +�Ƃ���� \foo{bar} ���e�L�X�g���� \bf bar �ƓW�J����Ă��܂��̂ŁA + \newcommand{\foo}[1]{{\bf #1}} +�Ƃ��Ȃ���΂Ȃ�Ȃ��B + + �u�R�}���h���v�̃}�N�������ɒ�`����Ă���ꍇ�̓G���[�ƂȂ�B�Ē�`�� +��ꍇ�́A\renewcommand���g���B + +renewcommand +\renewcommand{\�R�}���h��}[�����̐�]{��`} +���ɒ�`����Ă���R�}���h��ʂ̓��e�ōĒ�`����B +�ȉ��� \newcommand �̐����B + + +newenvironment +\newenvironment{�‹���}[�����̐�]{��`1}{��`2} +�V���Ȋ‹����`����B +\begin{�‹���}�̎��̓W�J���e���u��`1�v��\end{�‹���}�̎��̓W�J���e�� +�u��`2�v�ɋL�q����B + \newcommand{\�‹���}{��`1} \def{\end�‹���}{��`2} +�Ɠ��l�B + +renewenvironment +\renewenvironment{�‹���}[�����̐�]{��`1}{��`2} +���ɒ�`����Ă���u�‹����v��ʂ̓��e�ōĒ�`����B +�ȉ��́A\newenvironment�̐����B + + + +typeout +\typeout{���b�Z�[�W} +�^�C�v�Z�b�g���Ɂu���b�Z�[�W�v��[���ɏo�͂���B + +typein +\typein{���b�Z�[�W} \typein[\�}�N��]{���b�Z�[�W} +�^�C�v�Z�b�g���Ɂu���b�Z�[�W�v���v�����v�g�ɏo���A���͂������ʂ����s����B +���̏����ł́A�u\�}�N���v����͂������̂ɒ�`����B + +par +\par +�i���̋�؂�̖���������B��s�Ɠ����B + +everypar +\everypar +RTFM + +nopagebreak +\nopagebreak[i] (i = 0,1,2,3,4) +���ł�����i�ŗ}������([i]���ȗ������4)�B + +pagebreak +\pagebreak[i] (i = 0,1,2,3,4) +���ł�����i�ő���([i]���ȗ������4)�B + +linebreak +\linebreak[i] (i = 0,1,2,3,4) +���s������i�ő���([i]���ȗ������4)�B + +nolinebreak +\nolinebreak[i] (i = 0,1,2,3,4) +���s������i�ŗ}������([i]���ȗ������4)�B + +samepage +\samepage +���ł��֎~����B +RTFM + +obeycr +\obeycr + �� \\. �ɒ�`����B��\restorecr + +restorecr +\restorecr +\obeycr�ŕύX�����̒�`�����ɖ߂��B + +\ +\\ \\[����] +(�C�ӂ̏ꏊ��)���s����B�i�����ł́A\newline �Ɠ����B +�I�v�V����������[����]���w�肷��ƁA���̍s�Ƃ̊Ԋu�� +\vspace{����}�ɂ���Ċm�ۂ���B + +addvspace +\addvspace{�X�L�b�v} +�c�����̊Ԋu�Ɂu�X�L�b�v�v�̒l�𑫂��B������ +\addvspace{S1} \addvspace{S2} �ƕ����̒l�𓯎��Ɏw�肵�Ă� +\addvspace{S1,S2�̂����傫���ق�} �Ɠ��l�ɂȂ�B + +vspace +\vspace{�Ԋu} \vspace*{�Ԋu} +���������Ɂu�Ԋu�v�Ԃ�̃X�y�[�X�𑫂��B +\vspace* �͂ǂ�ȏꏊ�ł��X�y�[�X�𑫂����A\vspace �̓y�[�W�̐擪�� +�����ł͂͂��炩�Ȃ��B + +vspace* +\vspace{�Ԋu} \vspace*{�Ԋu} +���������Ɂu�Ԋu�v�Ԃ�̃X�y�[�X�𑫂��B +\vspace* �͂ǂ�ȏꏊ�ł��X�y�[�X�𑫂����A\vspace �̓y�[�W�̐擪�� +�����ł͂͂��炩�Ȃ��B + +hspace +\hspace{�Ԋu} \hspace*{�Ԋu} +���������Ɂu�Ԋu�v�Ԃ�̃X�y�[�X�𑫂��B +\hspace* �͂ǂ�ȏꏊ�ł��X�y�[�X�𑫂����A\hspace �͍s�̐擪�▖���ł� +�͂��炩�Ȃ��B + +hspace* +\hspace{�Ԋu} \hspace*{�Ԋu} +���������Ɂu�Ԋu�v�Ԃ�̃X�y�[�X�𑫂��B +\hspace* �͂ǂ�ȏꏊ�ł��X�y�[�X�𑫂����A\hspace �͍s�̐擪�▖���ł� +�͂��炩�Ȃ��B + +smallskip +\smallskip +���������ɏ����ȊԊu���󂯂�B +\def\smallskip{\vspace\smallskipamount} + +medskip +\medskip +���������ɒ����炢�̊Ԋu���󂯂�B +\def\medskip{\vspace\medskipamount} + +bigskip +\bigskip +���������ɑ傫�ȊԊu���󂯂�B +\def\bigskip{\vspace\bigskipamount} + +, +\, +�����X�y�[�X���󂯂�B�i�����[�h�ALR���[�h�A�������[�h������ł����p�B +�N�H�[�g�̒��ɃN�H�[�g�������Ƃ��Ȃǂɗp����B +��: ``\,`Foo', he said.'' +�������[�h�Ŏg����X�y�[�X�ɂ͈ȉ��̂��̂�����: + \: �����L�� + \! ���ŋ��� + \; �L�� + +: +$\:$ +�����L���X�y�[�X�B�������[�h�̂݁B + +! +$\!$ +�������̃X�y�[�X�B�������[�h�̂݁B + +; +$\;$ +�L���X�y�[�X�B�������[�h�̂݁B + +@whilenum +\@whilenum TEST \do {BODY} +���̕ӂ��Ƃ� + +whiledo{TEST}{BODY} +TEST���^�̊�BODY���J��Ԃ��B + + +nofiles +\nofiles +�v���A���u���Ő錾����ƁA.aux, .idx, .lof, .lot, .toc �t�@�C���̍쐬�� +�}�������B + +includeonly +\includeonly{sub1} \includeonly{sub1,sub3} +\include{}�œǂݍ��ރt�@�C���̂����A���ۂɓǂݍ��ݏ���������̂��w�肷��B +(.tex�͏ȗ���) +\includeonly�̈������X�g�ɂȂ��t�@�C���͂܂�������������Ȃ��A�܂��͑O�� +�ȑO�ɏ�������Ă���ꍇ��������S���ύX���Ȃ����̂Ƃ��Ĉ�����B + +include +\include{FILE} +\clearpage \input{FILE} \clearpage +�Ɠ����͂��炫������B + +input +\input{FILE} +FILE.tex �������ɂ��邩�̂悤�ɏ����𑱂���B + +setcounter +\setcounter{FOO}{VAL} +�J�E���^FOO�̒l��VAL�ɐݒ肷��B + +addtocounter +\addtocounter{FOO}{VAL} +�J�E���^FOO�̒l��VAL��������B + +newcounter +\newcounter{COUNTER}[OLDCTR] +�V�����J�E���^COUNTER��ݒ肷��B +�I�v�V��������[OLDCTR]���w�肷��ƁA�����̃J�E���^OLDCTR�̒l�� +\stepcounter �������� \addtocounter �ŕύX����邽�т�COUNTER�̒l�����Z�b +�g�����B + +value +\value{COUNTER} +COUNTER�̒l��Ԃ��B\protect ��O�u���Ă͂Ȃ�Ȃ��B + +stepcounter +\stepcounter{FOO} +�J�E���^FOO�̒l���C���N�������g����BFOO�ɏ]���J�E���^������΂������� +�Z�b�g����B + +refstepcounter +\refstepcounter{FOO} +�J�E���^FOO�̒l���C���N�������g����BFOO�ɏ]���J�E���^������΂������� +�Z�b�g����B\stepcounter�Ƃ̈Ⴂ�́A\refstepcounter{FOO} �̒���� +\label{hoge} ���������ꍇ�ɁA\ref{hoge} �̒l�� \value{FOO} �����‚悤�� +�u\ref�l�v��ݒ肷�邱�Ƃł���B + +arabic +\arabic{COUNTER} +�A���r�A������COUNTER�̒l���o�́B + +roman +\roman{COUNTER} +�������̃��[�}������COUNTER�̒l���o�́B + +Roman +\Roman{COUNTER} +�啶���̃��[�}������COUNTER�̒l���o�́B + +alph +\alph{COUNTER} +�������̉p����COUNTER�̒l���o�́B + +Alph +\Alph{COUNTER} +�啶���̉p����COUNTER�̒l���o�́B + +fnsymbol +\fnsymbol{COUNTER} +�r���V���{��(1 = *, 2 = \dagger, ...) ��COUNTER�̒l���o�́B�������[�h�̂݁B + +label +\label{LABEL} +���x��LABEL�̒l�����̎��́u\ref�l�v�ɐݒ肷��B +���̒l�́A\ref{LABEL}�ɂ���ĎQ�Ƃ����B�܂�\pageref{LABEL}�ɂ�� +\label{LABEL}�̑��݂���y�[�W�ԍ����Q�Ƃ����B +�u\ref�l�v�Ƃ� \section �Ȃǂ̃Z�N�V�����R�}���h�Aenumerate�‹��ł� +\item �R�}���h�Atheorem�‹��Ȃǂɂ���Đݒ肳���l�ł���B�Ⴆ�΁A +enumerate�‹����� \item �̒���ł͂���item�̔ԍ����u\ref�l�v�ƂȂ�A +�����ɂ��� \label{LABEL} ��item�̔ԍ���LABEL�ɃZ�b�g����B + +ref +\ref{LABEL} +\label{LABEL}�Őݒ肵��LABEL�̒l���Q�Ƃ���B +�{�����Őݒ肳�ꂽ���x���ɂ������Ă̓y�[�W�ԍ����A +�}�\���Őݒ肳�ꂽ���x���͐}�\�ԍ����A +enumerate���ꂽitem�Őݒ肳�ꂽ���x���ɂ������ẮAitem�ԍ����Ԃ����B + +pageref +pageref{LABEL} +\label{LABEL}�̑��݂���y�[�W�ԍ����Q�Ƃ���B + +( +\( ���� \) +����������g�ށB +\begin{math} ���� \end{math} +�Ɠ��l�B\( ����� \)�� fragile. + +) +\( x^2 = 4 \) +����������g�ށB +\begin{math} ���� \end{math} +�Ɠ��l�B\( ����� \)�� fragile. + +[ +�f�B�X�v���C������g�ށB +\[ ���� \] +\begin{displaymath} ���� \end{displaymath} +�Ɠ��l�B\[ ����� \]�� fragile. + +] +\[ ���� \] +�f�B�X�v���C������g�ށB +\begin{displaymath} ���� \end{displaymath} +�Ɠ��l�B\[ ����� \]�� fragile. + +equation +\begin{equation} ���� \end{equation} +�ԍ��‚��̐�����displaymath�‹��őg�ށB + +eqnarray +\begin{eqnarray} �������̕��� \end{eqnarray} +�������̕��т�3�‚̌��ɐ������ďo�͂���B3�‚̌���&�L���ɂ���āA +�u���� & ���s���� & �E�Ӂv�̂悤�ɋ�؂���B�Ⴆ�Έȉ��̂悤�ɂ���B +\begin{eqnarray} + 3x + 2y & = & 4 \\ + x - 4y & = & -5 +\end{eqnarray} +eqnarray* �‹��͐����ԍ����o�͂��Ȃ��ق���eqnarray�‹��Ɠ����ł���B + +eqnarray* +\begin{eqnarray*} �������̕��� \end{eqnarray*} +�����ԍ����o�͂��Ȃ��ق���eqnarray�‹��Ɠ����ł���B + +frac +\frac{���q}{����} + ���q +------ �̂悤�ȕ����`����g�ށB{���q \over ����} �Ɠ����B + ���� + +sqrt +\sqrt[N]{��} +�u���v��N�捪������킷�����B[N]���ȗ�����ƕ������B + +lefteqn +\lefteqn{��} +�f�B�X�v���C�������[�h�ɂ����āA�u���v�����[���ł���Ƃ݂Ȃ��āA���񂹂� +��B���Ƃ���eqnarray�‹��ɂ����āA���ӂ������Ȃ��Ă��܂��ꍇ�ɁA�s�� +�܂��ނ��߂ɗ��p����B +\begin{eqnarray} + \lefteqn{a_1 + a_2 + \cdots + a_n =} \\ + & & a_1 + b_1 + \cdots + z_1 + \\ + & & b_2 + c+2 + \cdost + z_2 +\end{eqnarray} + +center +\begin{center} ���e \end{center} +�u���e�v�𒆉��񂹂���B�e�s��\\�ɂ���ĉ��s�ʒu���w�肷��B +�� \centering + +flushright +\begin{flushright} ���e \end{flushright} +�u���e�v���E�񂹂���B�e�s��\\�ɂ���ĉ��s�ʒu���w�肷��B +�� \raggedright + +flushleft +\begin{flushleft} ���e \end{flushleft} +�u���e�v�����񂹂���B�e�s��\\�ɂ���ĉ��s�ʒu���w�肷��Ƃ��̈ʒu�ʼn��s +���邪�A�w�肵�Ȃ��ƓK���ȍs���̂Ƃ���ʼn��s���Ă����B +�� \raggedleft + +centering +\centering +�i�����Z���^�����O���đg�ł���B +���Ƃ��� table�‹��Afigura�‹��̐擪�Ő錾����Ɗ‹��̏I��܂ł��Z���^�� +���O���đg�ށB + +raggedright +\raggedright +�i���̉E�[��s�����ɂ��đg�ŁB +���ʂƂ��č��񂹂ɂȂ�B + +raggedleft +\raggedleft +�i���̍��[��s�����ɂ��đg�ŁB +���ʂƂ��ĉE�񂹂ɂȂ�B + +raggedbottom +\raggedbottom +�g�ł��鎞�Ɋe�y�[�W�̍����ɑ����̂��ꂪ�����Ă����e����B +�v���A���u���Ŏw�肷��B +��\flushbottom + +flushbottom +\flushbottom +�g�ł��鎞�Ɋe�y�[�W�̍����𐳊m�ɂ��낦��B +�v���A���u���Ŏw�肷��B +��\raggedbottom + +sloppy +\sloppy +\sloppy ���w�肷��ƁA�e�s��K���E�}�[�W���Ő܂�Ԃ�����ɁA +�P��Ԃ̋󔒂��ڂɌ���B +��\fussy + +fussy +\fussy +�ʏ�̑g�ŋK���ɖ߂�B +��\sloppy + +sloppypar +\begin{sloppypar} �i�� \end{sloppypar} +�i���� \sloppy �őg�ށB +��\sloppy + +verbatim +\begin{verbatim} ���e \end{verbatim} +�u���e�v���Œ蕝�t�H���g�̃^�C�v���C�^���̂ŕ\�����A���ׂĂ̕�����(TeX�� +�V�[�P���X�Ƃ��Ăł͂Ȃ�)���̂܂܉��߂���B + +#�u�΁[�΂��ށv����Ȃ��āu�΁[�ׂ����ށv��! + +verbatim* +\begin{verbatim*} ���e \end{verbatim*} +�ʏ��verbatim�‹��ɂ����āA�X�y�[�X�������󔒂ł͂Ȃ��ATeXbook �ɍڂ��� +����X�y�[�X�����̂悤�Ɉ󎚂���B + +(��)�������������� |_| + (�ꂵ���c) + +list +\begin{list}{�f�t�H���g���x��}{���`�p�����[�^} ... \end{list} +���X�g�‹��ɓ���B���X�g�‹��ł� \item �Ŏw�肳�ꂽ�e���ڂ����̎����� +�ŗ񋓂���B��1�����ɂ� \item �̃I�v�V���������̃��x�����ȗ����ꂽ���̃f +�t�H���g���x�����w�肵�A��2�����ɂ͊eitem��u�����ɏ��������p�����[�^ +���w�肷��B +��: +\begin{list}% + {$\diamond$} + {\addtolength{\leftmargin}{4em}} + \item ��1�����ɂ�\verb|\item| �ɃI�v�V�����������‚��Ȃ��������ɂӂ�A + �f�t�H���g�̃��x����^����B + \item ��2�����ɂ͊eitem��u�����ɏ��������p�����[�^��^����B + \item[*] �̂悤�ɃI�v�V�����������‚���Ƃ��ꂪ���x���ƂȂ�B +\end{list} + + list�‹��̑̍ق𐧌䂷��ϐ��ɂ͈ȉ��̂��̂�����(���ʓ��͊���l)�B +��������: + + +list�‹��̑̍ق𐧌䂷��ϐ� +\labelwidth item�̃��x���̕� +\labelsep ���x���̉E�[�ƍŏ��̃A�C�e���̃e�L�X�g�Ƃ̊Ԋu +\leftmargin list�‹����ł̍��}�[�W�� +\rightmargin ���E�}�[�W�� (0pt) +\itemindent item�̒��O�ɉ�������C���f���g�� (0pt) +\linewidth ��s�̕� +\listparindent �e�p���O���t�̐擪�̃C���f���g(������\item�̕t���Ă���� + ���̃p���O���t������)(0pt) + +��������: +\topsep list�‹��ɓ���O�̃p���O���t�ƍŏ���item�Ƃ̊Ԋu +\partopsep list�‹��ŐV�����p���O���t���͂��߂鎞��\topsep�ɉ����� + ���t���I�ȊԊu +\itemsep �A������item�ǂ����̊Ԋu +\parsep ��‚�item���ł̃p���O���t�ǂ����̊Ԋu + + +itemize +\begin{itemize} \item �A�C�e��1 ... \item �A�C�e��n \end{itemize} +���ڂ�񋓂��邽�߂̊‹��B +�ő�4�‚܂Ńl�X�g�ł���B +�e���x����item�̓��ɂ‚��L���́A\labelitemi, \labelitemii, +\labelitemiii, \labelitemiv �Ő��䂳���B + +itemize�‹��̑̍ق𐧌䂷��ϐ��ɂ͈ȉ��̂��̂�����B + + + +enumerate +\begin{enumerate} \item �A�C�e��1 ... \item �A�C�e��n \end{enumerate} +���ڂ�ԍ��‚��ŗ񋓂��邽�߂̊‹��B +�ő�4�‚܂Ńl�X�g�ł���B +�e���x����item�̓��ɂ‚��ԍ��́Aenumi, enumii, enumiii, enumiv +���ێ����Ă��āA�eitem�̃��x���́A\labelenumi, ..., \labelenumiv +�Ő��������B�܂��A\p@enumN\theenumN �� \ref�l��ݒ肷��B +(N�̓��x���̐[���B\ref�l�ɂ‚��Ă�\ref�̐������Q�Ƃ���) +���Ƃ��� +\def\theenumii{\alph{enumii}} +\def\p@enumii{\theenumi\theenumii} +\def\labelenumii{(\theenumii)} +�Ƃ���� \ref�l�� 3a �Ȃǂ̂悤�ɐݒ肳���B + +enumerate�‹��̑̍ق𐧌䂷��ϐ��ɂ͈ȉ��̂��̂�����B + + +item +\item \item[LABEL] +itemize, enumerate, description �‹��Ȃǂō��ڂ��J�n����B +[LABEL]���w�肷��ƃ��x���Ƃ���LABEL���o�͂���B + +description +\begin{description} \item[���o���P��] ���� ... \end{description} +[���o���P��]�����o���Ƃ��� + + +subitem +\subitem ���� +�T�u�A�C�e�����`�B + +subsubitem +\subsubitem ���� +�T�u�T�u�A�C�e�����`�B + +makebox +\makebox[WID][POS]{�I�u�W�F�N�g} \makebox(X,Y)[POS]{�I�u�W�F�N�g} +��1�̏����ł́A�I�u�W�F�N�g��WID�Ŏw�肵�����Ƃ��āA\hbox ���� +POS�Ŏw�肵���ꏊ�ɔz�u����BPOS��l���w�肷��ƍ��񂹁Ar���w�肷��ƉE�񂹁A +�����w�肵�Ȃ��ƃZ���^�����O�����B +��2�̏����ł́Apicuture�‹��ő傫��(X,Y)��(\unitlength����Ƃ���) +\hbox �ɃI�u�W�F�N�g��z�u����B�z�u�ʒuPOS�͑�1�̏����Ɠ��l�B + +mbox +\mbox{�I�u�W�F�N�g} +\makebox{�I�u�W�F�N�g}�Ɠ����B + +newsavebox +\newsavebox{\CMD} +�V�K�̃{�b�N�X�ۑ��p�R�}���h���`����B\CMD�� \savebox �R�}���h�� +�{�b�N�X��ۑ����邽�߂Ɏg���B\newsavebox�Ő錾�����R�}���h���� +��ɃO���[�o���ƂȂ�B + +savebox +\savebox{\CMD}{�e�L�X�g} +�{�b�N�X��g�ޓ��e�ł���u�e�L�X�g�v�̌��ʂ�\CMD�ɕۑ�����B +�u�e�L�X�g�v�� \makebox �ւ̈����ƑS�������ł��邪�A�u�e�L�X�g�v�� +�����������ʂ͂��̏�ɕ\���͂��Ȃ��B\usebox{\CMD}�ɂ�菈�������{�b�N�X +���u�����B + +sbox +\sbox{\CMD}{�e�L�X�g} +\savebox�Ɠ����Bsbox��robust, savebox��fragile + +framebox +\framebox{�I�u�W�F�N�g} +�u�I�u�W�F�N�g�v�ɘg���‚���\makebox�Ɠ��l�̏���������B +�g�̐��̑����� \framerule�A�I�u�W�F�N�g�Ƃ̊Ԋu�� \framesep �Ō��܂�B�� +����picture�‹��� \framebox(X,Y){�I�u�W�F�N�g}�Ƃ����ꍇ�́Apicture�‹� +�p�̐��̑����ɏ]���A�O�g�ƃI�u�W�F�N�g�Ƃ̊Ԋu�͋󂯂��Ȃ��B + +fbox +\fbox{�I�u�W�F�N�g} +\framebox{�I�u�W�F�N�g}�Ɠ����B +\fbox��robust, \framebox��fragile + +parbox +\parbox[POS]{WIDTH}{TEXT} +TEXT��WIDTh�̕��őg��Ń{�b�N�X���쐬����B�{�b�N�X�̈ʒu��POS�ɂ���� +c : �Z���^�����O(�f�t�H���g) +b : �{�b�N�X�̈�ԉ��̐������e�L�X�g�̃��C���ɍ��� +t : �{�b�N�X�̈�ԏ�̐������e�L�X�g�̃��C���ɍ��� +�̂悤�Ɍ��߂���B\parbox�ł̓p�����[�^���ȉ��̂悤�Ƀ��Z�b�g�����B + +\parskip = 0pt +\linewidth = \hsize +\@totalleftmargin = 0pt +\leftskip = 0pt +\rightskip = 0pt +\@rightskip = 0pt +\parfillskip = 0pt plus 1fil +\lineskip = \normallineskip +\baselineskip = \normalbaselineskip + +minipage +\begin{minipage}[pos]{WIDTH} TEXT \end{minipage} +\parbox �Ƃقړ��lWIDTH�̕���TEXT���{�b�N�X�Ƃ��đg�ށB�{�b�N�X�̈ʒu�� +POS�ɂ���� +c : �Z���^�����O(�f�t�H���g) +b : �{�b�N�X�̈�ԉ��̐������e�L�X�g�̃��C���ɍ��� +t : �{�b�N�X�̈�ԏ�̐������e�L�X�g�̃��C���ɍ��� +�̂悤�Ɍ��߂���B +parbox�ƈႢ�ATEXT�͒ʏ�̃p���O���t�Ƃ��đg�܂��B + +rule +\rule[RAISED]{WIDTH}{HEIGHT} +�� WIDTH x ���� HEIGHT �̌r�������BRAISED���w�肳�ꂽ�ꍇ�A���̕����� +��ɏグ����B + +underline +\underline{TEXT} +TEXT�ɉ������‚��ĕ\���B + +raisebox +\raisebox{DISTANCE}[HEIGHT][DEPTH]{BOX} +BOX��DISTANCE�����グ�đg�ށB +HEIGHT, DEPTH ���w�肷��ƁATeX���猩��BOX�́u�����v�Ɓu�[���v +(��:�����̗p��ɂ‚��Ă�TeXBook�Ȃǂ��Q�Ƃ̂���) +�� HEIGHT, DEPTH �Ɏw�肷��B + +tabbing +\begin{tabbing} \= text1.1 \= text1.2 \\ \> text2.1 \> text2.2 \end{tabbing} +���������s���‹������(����q�s��)�B�Ⴆ�΁A +\begin{tabbing} + \= ����1 \hspace*{2em} \= ����2 \hspace*{3em} \= ����3 \\ + \> ����� \> �ɂق� \> �Ƃ��� \+ \\ + \> �ʂ�� \> �킩�� \\ + \> ���ꂻ \- \\ + \> �‚˂� \> ��ނ� \> ��̂� +\end{tabbing} +���tabbing�‹��͈ȉ��̂悤��3�‚̃^�u�ʒu�őg�܂��B + (1�Ԗ�) (2�Ԗ�) (3�Ԗ�) + ����� �ɂق� �Ƃ��� + �ʂ�� ������ + ���ꂻ + �‚˂� ��ނ� ��̂� + \2em/ \3em/ +tabbing�‹��ɂ�����^�u�ʒu����R�}���h�͈ȉ��̒ʂ�(n��1����): +\= n�Ԗڂ̃^�u�ʒu�����݈ʒu�ɐݒ肵�^�u�J�E���^(n)��1�i�߂� +\\ ���s���ă^�u�J�E���^�����Z�b�g����(n=1) +\> �ʒu��n�Ԗڂ̃^�u�ʒu�ɐݒ肵�A�J�E���^��1�i�߂� +\+ ���̍s�̃^�u�J�E���^�̏����l��1������ \+ \\ �Ƃ���Ǝ��̍s�̍ŏ� + �� \> ��2�Ԗڂ̃^�u�ʒu������. \+ �𕡐������Ƃ��̐������^�u�J�E + ���^�̏����l�������� +\- \+�Ƃ͋t�ɁA���̍s�̃^�u�J�E���^�̏����l����1���� +\< ��‘O�̃^�u�J�E���^�ɖ߂��Ă��̃^�u�ʒu���Z�b�g. �s���̂� +\' \'�ȍ~��ʏ�̃^�u�ʒu��� \tabbingsep �������E�񂹂��ďo�� +\` \`�ȍ~�̃e�L�X�g�����ׂĉE�񂹂��ďo�� +\pushtabs ����܂ŗp���Ă����^�u�X�g�b�v�ʒu��S��push +\poptabs ����܂ŗp���Ă����^�u�X�g�b�v�ʒu��S��pop. \pushtabs �� + \poptabs �͕K���΂ɂȂ��Ă��Ȃ���΂Ȃ�Ȃ�. ����q�� +\aX X�� = �� ' �� ` tabbing�‹��łȂ��ʏ�̃A�N�Z���g�� + \a= \a' \a` �ŕ\�킷 +\kill ���ݍs�̃e�L�X�g�͏o�͂����^�u�ݒ肾�����߂��� + +array +\begin{array}{�v���A���u��} C1 & C2 & .. & Cn \\ D1 ... \end{array} +(�����Ȃǂɂ��)�z����쐬����B�s��Ȃǂ� array �‹��ō쐬����B +�ڂ��������� tabular �‹����Q�ƁB + +tabular +\begin{tabular}[OPT]{�v���A���u��} C1 & C2 & .. & Cn \\ D1 ... \end{tabular} +�\���쐬����B +�y[OPT]�z(�ȗ���) +[t] �\�̏�[�����݂̍s�ɍ��킹�� +[b] �\�̉��[�����݂̍s�ɍ��킹�� +�y�v���A���u���z +c �J��������Žw�肵�A���̃J�������Z���^�����O +l �J��������Žw�肵�A���̃J���������� +r �J��������Žw�肵�A���̃J�������E�� +@{�\��} �u�\���v���J�������ɑ}������B������w�肷��� + \arraycolsep �� \tabcolsep �̃X�y�[�V���O�͗}������� +*{N}{PRE} PRE�� N �񏑂����̂Ɠ��l�̍�p +p{LEN} ���̃J������LEN�̒�����parbox�G���g���Ƃ��č쐬���� + +�yarray, tabular �‹��Ŏg����R�}���h�z +\multicolumn + +\vline + +\hline + +\cline{i-j} + +\extracolsep{W} + + + +�ȉ��̗���Q�Ƃ���B + +\LaTeX �\�L ����`�� +\begin{array}{ccr} + x+y+z & a_1 & 1 \\ x+y+z a1 1 + x+z & a_2 & 21 \\ x+z a2 21 + y & a_3 & 321 y a3 321 +\end{array} + +\[ \left( + \begin{array}{cccc} + a_{11} & a_{12} & \dots & a_{1n} \\ / a11 a12 ... a1n \ + a_{21} & a_{22} & \dots & a_{2n} \\ | a21 a22 ... a2n | + \vdots & \vdots & \ddots& \vdots \\ | : : \. : | + a_{n1} & a_{n2} & \dots & a_{nn} \ an1 an2 ..: ann / + \end{array} +\right)\] + +array�‹��� \right( \left) �ň͂ނƔz�񎩑̂�傫�Ȋ��ʂŊ���B���l�ɁA +\right\{ \left\} �Ŕz��𒆊��ʂŁA\right[ \left] �Ŕz���劇�ʂŁA +\right| \left| �Ŕz����m�����L��(��Βl�L��)�Ŋ��邱�Ƃ��ł���B +\right �̐��� \left �̐��͕K�������łȂ���΂Ȃ�Ȃ����A\right( \left] +�̂悤�Ɋ��ʂ̎�ނ͈���Ă��悢�B\right. �̂悤�� . ���‚���ƌ����Ȃ� +���ʂ��o�͂����B + +\[ �� \cdots \left\{ / + \begin{array}{ccc} | x = 5 + x & = & 5 \\ �� ... < + y & = & 3 | y = 3 + \end{array} \right. \] \ + +array�‹��𐧌䂷��ϐ��ɂ͈ȉ��̂��̂�����: +\arraycolsep : array�‹��̊e�J�����Ԃ̊Ԋu�̔��� +\tabcolsep : tabular�‹��̊e�J�����Ԃ̊Ԋu�̔��� +\arrayrulewidth : �r���̕� +\doublerulesep : array, tabular�‹��ł̗אڂ����r��(��d�r��?)�Ԃ̊Ԋu +\arraystretch : \baselinestretch �Ɠ��l�s�ԃX�y�[�X�̔䗦�����߂� + \renewcommand�ōĒ�`���� + +tabular�‹��́A�y�[�W���ׂ邱�Ƃ��ł��Ȃ��B������”\�ɂ���X�^�C���t�@ +�C���Ƃ��āAsupertab.sty������B + +tabular* +\begin{tabular*}{��}{�v���A���u��} ... \end{tabular*} +�����w�肵��tabular�‹����쐬�B +���̕����[�U���邾���̃X�y�[�X���v���A���u���� \extracolsep{} �R�}���h�� +�m�ۂ���B +\begin{tabular*}{10em}[b]{|c@{\extracolsep{\fill}}|c|c|} + \hline + a & b & c \\ \hline + 1 & 2 & 3 +\end{tabular*} +tabular�‹��̐������Q�Ƃ̂��ƁB + +multicolumn +\multicolumn{N}{FORMAT}{ITEM} + tabular�‹��Ō��݂̃J�������܂�N���̃J������FORMAT�ɏ]���� + ITEM�Ŗ��߂�BFORMAT��l,r,c�̂���(�ő�)�ЂƂ� + +vline +\vline + tabular�‹��ł��̃J�����ɏc��������. �c���̈ʒu�͂��̃J������ + �w�肳��Ă��� l, r, c �ɂ���Č��܂� + +hline +\hline + tabular�‹��ŁA�s�Ԃɐ�����������. �‹��̍ŏ��̃G���g���̒��O�A + �������� \\ �̒���ɗ��Ȃ���΂Ȃ�Ȃ�. ���� \hline �𑱂��� + �w�肷���\doublerulesep ���̋󔒂��󂯂���(�W���ł͌r���� + �����̂���������Ă��܂�) + +cline +\cline{i-j} + tabular�‹����Ai�Ԗڂ���j�Ԗڂ̃J�����ɉ���������. \hline�Ɠ��l + +extracolsep +\extracolsep{W} + tabular�‹���@�\���̒��ŗp����ƁA��W�̃X�y�[�X������ȍ~�� + �S�ẴJ�����̍����ɉ����� + +picture +\begin{picture}(WIDTH,HEIGHT)(X,Y) ..contents.. \end{picture} +��WIDTH, ����HEIGHT �̕`��{�b�N�X���쐬�B���̃{�b�N�X�̍����̍��W�� +(X,Y) �ƂȂ�(�ȗ������(0,0))�B�����̈����̐��l���܂߁Apicuture�‹��� +���l�� \unitlength �ɑ΂��鑊�Βl�ł���킳���B\unitlength �̊���l�� +1pt. +����picture�‹�����Ȃ��Ǝv���̂ŗp�@���������Ȃ���[��B + +�y�R�}���h�z +\put(X���W,Y���W){�`��I�u�W�F�N�g} +\multiput(X���W,Y���W)(X�̑���,Y�̑���){�J��Ԃ���}{�`��I�u�W�F�N�g} +�y�`��I�u�W�F�N�g�z +\makebox(X���W,Y���W)[POS]{�e�L�X�g} (��) +\framebox(X���W,Y���W)[POS]{�e�L�X�g} (�g�t���̔�) +\dashbox(X���W,Y���W)[POS]{�e�L�X�g} (�j���g�t���̔�) +(�ȏ�POS = l, r, b, t) +\line(��X,��Y){���������̒���} (����) +\vector(��X,��Y){���������̒���} (���) +(��X,��Y = �}1, �}2, ..., �}6 �Ōݑf, ���ꂼ���͎n�_) +\shortstack[POS]{��s\\��s\\�O�s} +\circle{���a} (�~) +\circle*{���a} (�h��ׂ����~) +(���ꂼ���͉~�̒��S, �ő咼�a��40pt, 15pt) +\oval(���aX,���aY)[POS] (�ȉ~�� POS = l, r, t, b) +\frame{�`��I�u�W�F�N�g} +\thinlines, \thicklines (��,������I��) +\linethickness{����} + +newtheorem +\newtheorem{NAME}{TEXT}[COUNTER] \newtheorem{NAME}[OLDNAME]{TEXT} +�藝�^�̐V�����‹��uNAME�v���`����B +TEXT �藝�ԍ��̃L���v�V�����Ƃ��ďo����镶���� +COUNTER NAME�̃J�E���^�̐e�ƂȂ�J�E���^��. �ʏ�section. +��2�̌`���ł� OLDNAME �Ɠ����J�E���^�`�����g�����Ƃ��w������B +NAME�‹��̃J�E���^�`���� \theNAME �R�}���h���Ē�`����B����̃f�t�H���g�� +\theCOUNTER.\arabic{NAME} + +title +\title{�^�C�g��} +\maketitle�R�}���h�ŏo�͂���^�C�g������ݒ肷��B + +author +\author{���Җ�} +\maketitle�R�}���h�ŏo�͂��钘�҂�ݒ肷��B +�����̒��҂������Ƃ��� \and �ŋ�؂��Ė��O�������B + +date +\date{���t} +\maketitle�R�}���h�ŏo�͂�����t��ݒ肷��B +\date ���ȗ�����ƃ^�C�v�Z�b�g�������̓��t���o�͂����B + +thanks +\thanks{�r��} +�^�C�g����(\title, \author, \date)�ł̋r��(�ӎ���Z���Ȃ�)�̏o�͂��s���B + +maketitle +\maketitle +�^�C�g�����o�͂���Bdocument�‹����Ő錾����Ȃ���΂Ȃ�Ȃ��B +�^�C�g�����\�����鍀�ڂ͈ȉ��̃R�}���h�Œ�`����B +\title{�^�C�g��} +\author{���Җ�} +\date{���t} (�ȗ�����ƃ^�C�v�Z�b�g�������̓��t) +\thanks{�r��} (�ӎ��⏊�����Ȃǂ��r���`���ŏo�����߂ɗp����) + +part +\part{��?���̃^�C�g��} + + +chapter +\chapter{�͂̃^�C�g��} +������؂�R�}���h�ꗗ: +\part ��?�� +\chapter ?�� (article�ɂ͂Ȃ�) +\section ?�� +\subsection ?.?�� +\subsubsection ?.?.?�� +\paragraph �i�� +\subparagraph ���i�� + +section +\section{�Z�N�V������} +�������̃Z�N�V�������ŃZ�N�V�����̋�؂��ݒ�B + + +subsection +\subsection{�T�u�Z�N�V������} +�������̖��O�ŃT�u�Z�N�V�����̋�؂��ݒ�B + + +subsubsection +\subsubsection{�T�u�T�u�Z�N�V������} +�������̖��O�ŃT�u�T�u�Z�N�V�����̋�؂��ݒ�B + + +paragraph +\paragraph{�p���O���t��} +�������̖��O�Ńp���O���t�̋�؂��ݒ�B + + +subparagraph +\subparagraph{�T�u�p���O���t��} +�������̖��O�ŃT�u�p���O���t�̋�؂��ݒ�B + + +appendix +\appendix +�t�^���ɓ���錾�B +�Z�N�V�����R�}���h�̔ԍ��̕�����t�^�p�ɕς���B + +contentsline +\contentsline{TYPE}{ENTRY}{PAGE} +\contentsline{subsection}{\makebox{30pt}[r]{1.4.3} Gnats and Gnus}{22} +�Ƃ���� .toc �t�@�C���� ENTRY ��f���o���B +TYPE�̓Z�N�V�����R�}���h�̂ǂꂩ�B + +addcontentsline +\addcontentsline{TABLE}{TYPE}{ENTRY} +TABLE�Ŏw�肵���t�@�C��(toc, lof, lot �̂ǂꂩ)��ENTRY�Ƃ����G���g�����o +�͂���BTYPE��TABLE�̒l�ɂ���ĕς��A + toc: �Z�N�V�����R�}���h�̂ǂꂩ + lof: figure + lot: table +�ł���B + +addtocontents +\addtocontents{TABLE}{TEXT} +TEXT��TABLE�Ŏw�肵���e�[�u���t�@�C��(toc, lof, lot �̂ǂꂩ)�ɏo�͂���B + +index +\index{INDEX} +�����̃G���g�����`����B + +-------------------------------------------------------------------- + + +glossary +\glossary{STRING} +�p��W�̃G���g�����`����B + +makeindex +\makeindex +\indexentry�œo�^����Ă��鍀�ڂ� .idx �t�@�C���ɏ������ށB +�v���A���u���Ŏw�肷��B + +-------------------------------------------------------------------- + + +makeglossary +\makeglossary +\glossaryentry�œo�^����Ă��鍀�ڂ� .glo �t�@�C���ɏ������ށB +�v���A���u���Ŏw�肷��B + +�����̍��� + +(1)\documentstyle��makeidx�I�v�V������^���A�v���A���u���� \makeindex + �������A�����𐶐�����ꏊ�� \printindex �������B +(2)�{���� \index{�����ƂȂ�P��} �𖄂ߍ��ށB +(3)��x(�܂��͓�x)�^�C�v�Z�b�g����B +(4).idx�t�@�C�����ł���̂ł��̃t�@�C���� makeindex �ɂ�����B +(5).ind�t�@�C�����ł���̂ł�����x�^�C�v�Z�b�g���ďo���オ��B + +** \index�̋L�@ ** +���{������̂܂� \index{����} �Ɠ��ꂽ�̂ł͂������������Ƀ\�[�g����Ȃ��B +�����ŁA�ǂ݂�@�ŋ�؂��� \index{����@����} �̂悤�ɓ����B + +bibliography +\bibliography{FILE1,FILE2, ... ,FILEn} +BibTeX�œǂݍ��ރt�@�C�����w�肷��B + +bibliographystyle +\bibliographystyle{�X�^�C��} +plain �ʏ� +unsrt �\�[�g���Ȃ� +alpha "Foo94" �̂悤�ȃ^�O���‚��� +abbrv ���҂̃t�@�[�X�g�l�[���A���s���A���Ж����ȗ������ + +thebibliography +\begin{thebibliography} \bibitem{�A�C�e��}�c \end{thebibliography} +�Q�l�����f�[�^�̓o�^�‹����J�n����B +�f�[�^�� \bibitem �R�}���h�ɂ���ēo�^����B +\bibitem �R�}���h�̗p�@�͈ȉ��̒ʂ�B + + +bibitem +\bibitem{NAME} \bibitem[LABEL]{NAME} +\bibitem{NAME}�̏����ł́ANAME�ŎQ�Ƃ���A[1],[2] �̂悤�Ȍ`�ň��p�L���� +�o�͂����A\bibitem[LABEL]{NAME}�̏����ł́A\cite{NAME}�ŎQ�Ƃ���A +[LABEL] �̂悤�Ȉ��p�L�����o�͂����B + +cite +\cite{NAME} \cite[LABEL]{NAME} +\cite{NAME}�̏����ł́ANAME�ŎQ�Ƃ���A[1],[2] �̂悤�Ȍ`�ň��p�L���� +�o�͂����A\cite[LABEL]{NAME}�̏����ł́A[1,LABEL] �̂悤�Ȉ��p�L�� +���o�͂����B + +footnote +\footnote{NOTE} +NOTE�Ƃ������e�̋r���𐶐�����B +\footnote[NUM]{NOTE} �Ƃ���ƁA�ԍ���NUM�Ŏw��ł���B +�r�������܂��o�͂���Ȃ��悤�ȏꏊ�ł� \footnotemark �� \footnotetext �� +�g�ݍ��킹�ďo�͂���B +fragile + +footnotemark +\footnotemark[NUM] +�r���ԍ��̂ݏo�͂��鎞�Ɏg���Btabbing�‹��̂悤�ɁA�r�����o�͂���Ȃ��� +����ŁA\footnotetext �Ƒg�ݍ��킹�Ďg���B[NUM]�͏ȗ��B + +footnotetext +\footnotetext[NUM]{TEXT} +�r���ԍ����o�͂����r���̂ݏo�͂���B +�ʏ� \footnotemark �Ƒg�ݍ��킹�Ďg���B + +footnotesize +\footnotesize +�����T�C�Y���r���p�̃T�C�Y�ɕύX����B + +footnotesep +\footnotesep +�e�r���̍ŏ��ɒu�����󔒂̍���(���l)�B + + +footnoterule +\footnoterule +�{���Ƌr���̂������Ɉ������r�����o�́B + +documentstyle +\documentstyle[OPTION1,OPTION2, ... ,OPTIONn]{STYLE} +�����X�^�C�����w�肷��B +[OPTION...] ���w�肷��ƁASTYLE.sty ��ǂ񂾌�ɁA +OPTIONn.sty �������ǂݍ��܂��B + +verb +\verb#���e# +\verb�̒���ɗ��镶���ƁA���ɂ�����铯�������Ƃ̂������ɋ��܂ꂽ���� +�� verbatim �ŕ\������B\verb|foo| �� \verb,foo, �͓������ʂ�������B + +styleparameter +�܂��󂵂Ă��Ȃ��X�^�C���p�����[�^�B +% \topfigrule : Command to place rule (or whatever) between floats +% at top of page and text. Executed in inner vertical +% mode right before the \textfloatsep skip separating +% the floats from the text. Must occupy zero vertical +% space. (See \footnoterule.) +botfigrule +\setlength{\botfigrule}{����} +Same as \topfigrule, but put after the \textfloatsep +skip separating text from the floats at bottom of page. + +intextsep +\setlength{\intextsep}{����} +�������t���[�g�̏㉺�Ɏc���ꂽ�󔒂̒��� + + +newpage +\newpage +���ł��s���B +\clearpage ���o�͂̐}�\������ΓƗ������}�\�p�ł��o�͂��Ă��� + ���ł��s���B +\cleardoublepage clearpage�Ɠ��������A ����ʃX�^�C��(book�Ȃ�)�� + �ꍇ�́A��ł���n�܂�悤�ɉ��ł���B +\newpage ��i�g�݂̎��͌��݂̒i���I������B + +clearpage +\clearpage + + +cleardoublepage +\cleardoublepage + + +���� + +�����Ɏg����P�ʂɂ͈ȉ��̂��̂�����B +cm �Z���` +em �啶��M�̕� +ex ������x�̍��� +in �C���`(��2.54cm) +mm �~�����[�g�� +pc �p�C�J(=12pt) +pt �|�C���g(72.27pt=1�C���`) +\fill ���R����0�����A�C�ӂ̒����ɐL�т邱�Ƃ̂ł���L�k�� +\stretch{X} \fill ��X�{ + +stretch +\stretch{X} + + +twocolumn +\twocolumn[STRING] +���ł������Ɠ�i�g�݂ł̑g�ł��J�n����B +[STRING]���w�肷��ƁASTRING���i�Ԃ������̃^�C�g���Ƃ��ďo�́B +��onecolumn + +onecolumn +\onecolumn +���ł������Ƃň�i�g�݂ł̑g�ł��J�n����B +��twocolumn + +topnewpage +\topnewpage{BOX} +�V�����y�[�W���J�n���A\textwidth��BOX��parbox�ō쐬����B +��i�g�݃y�[�W�łԂ������^�C�g�����쐬���鎞�ɗp����Ƃ悢�B + +LaiTeX +a Little Assistant Interface for TeX on Vz +�����炭���Ȃ����� Vz ��Ŏg���Ă��邱�̃��[�h�B +LaTeX�������I�Ɏg�����߂̑����̋@�\�𐷂荞��ł��܂��B + +�y�����ɂ‚��āz +laitex.def�Ȃǃv���O�������w�����́u�炢�Ă����v�A�V�X�e�����w�����́u�� +�����傤�v�Ɠǂ݂܂��B + +�y�⑫�z +�u�����v�̋����������́u�炢�Ă��v�������ł��B + +�y�ӎ��z +�ȉ��̕��X�̌䋦�͂𒸂��܂����B�����Ɋ��Ӑ\���グ�܂��B + +(���s��/��\���ڂ̂�) +���c��炳��(�}�c�_) + �]�ڂ��s���Ē����܂����B + +�k�ݗ��j����(�L���Z�p�Ȋw��) +���э��u����(�L����) +�ە�P�삳��(�����ّ�) +�������񂳂�(�É���) +���є�����(����H�Ƒ�) +��c�ꐶ����(niftyserve) +�R�ے��V����(niftyserve) +����m����(niftyserve) + �o�O�̎w�E��A�v�]�A��܂��̃��[���𒸂��܂����B + (�܂Ƃ߂Ăł��߂�Ȃ��� -- �j��) + +�ēc�݂䂫����(���s�\�t�g�E�F�A���T�[�`) + Software Design ���Ŗ{�\�t�g�����Љ�������܂����B + +�o�b�L�["�Ń��b�R"�g�~�U������(�}�g��) + �����ׂ̈Ƀm�[�g�p�\�R���𖳏��őݗ^���ĉ������܂����B + �ނ̂������ŁA�����͂͂΂������Ƃ��o���܂����B + +laitex +a Little Assistant Interface for TeX on Vz + + +YaTeX +(setq auto-mode-alist (cons '("\\.tex$" . yatex-mode) auto-mode-alist)) +�����炭���Ȃ����� Emacs �Ŏg���Ă��邱�̃��[�h�B +LaTeX�������I�Ɏg�����߂̑����̋@�\�𐷂荞��ł��܂��B + +�y�����ɂ‚��āz +yatex.el�Ȃǃv���O�������w�����́u��Ă����v�A�V�X�e�����w�����́u�₿�� +���v�Ɠǂ݂܂��B + +�y�ӎ��z +�ȉ��̕��X�̌䋦�͂𒸂��܂����B�����Ɋ��Ӑ\���グ�܂��B + +(���s��/��\���ڂ̂�) +���P������(��B��) + Bibtex�N���Atypeset process �� kill�A�G���[�ӏ��̐��������� + �̗v�]���̑��𒸂��܂����B + +�X���G������(�A�����c) + �^�C�v�Z�b�g�o�b�t�@�ł̎��s�p���Alpq, bibtex�N���A�̈�w��^�C + �v�Z�b�g��̃v���r���[�Ώۃt�@�C���̃f�t�H���g�l�̕ύX�A + describe-mode�A\verb �̕⊮�̗v�]�Averbatim�‹���\verb�̒��ɂ��� + \begin{}, \end{} �𐔂��Ȃ��悤�ɂ���v�]�A�Ȃǂ𒸂��܂����B + +�΍�T�B����(�x�m��) + YaTeX-get-error-file �̃o�O���|�[�g�Ȃǂ𒸂��܂����B + +Bayard����(asciinet) + min-out�Ƃ̘A�W�̕s��̕񍐂𒸂��܂����B + +�j���񂳂�(asciinet) + ms-dos�ŗL�̐ݒ�Ɋւ���o�O���|�[�g�𒸂��܂����B + +sa2c����(asciinet) + Mule�p�̃p�b�`�𒸂��܂����B + +�j�쒼�Ȃ���(�}�g��) + �����؂�Ȃ��o�O���|�[�g�Ɨv�]�𒸂��܂����B�܂�Vz�ւ̈ڐA�łł� + �� laitex(����) ���쐬����܂����B�܂��A�u����ȋ@�\�͂ǂ����낤?�v + �Ƒ��k����ƁA�u�����v�ƈ�R���A���΂炭�o���Ă���u����ς�~ + �����v�ƌ����ȂǁA�����̍������������Ă��������܂����B + +��˂�������(asciinet) + �肢�t�������ł��B + http://www.comp.ae.keio.ac.jp/~yuuji/lune/astrology/ + +���삳��(prc) + �e���Ŗ\��Ă��܂��B + http://www.prc.tsukuba.ac.jp/~katsura/ + +�O���P�Y����(�c���) + �J�����ʂ̓��͎��̏����̃��[�h�����̃A�C�f�A�𒸂��܂����B + +���됒����(�c���) + begin�^�⊮�̓����ɕ������������ꍇ�������C���f���g���Ăق��� + �Ƃ����v�]�𒸂��܂����B + +�c�������Y����(�c���) + �^�C�v�Z�b�g���ɖ��Z�[�u��Ԃ̊֘A�t�@�C�����Z�[�u���ė~�����Ƃ� + ���v�]�𒸂��܂����B + +bauer����(asciinet) + �A�N�Z���g�⊮�̗v�]�ƃA�N�Z���g�L���̋K���̏�񓙂𒸂��܂����B + +���X�؂��낤����(asciinet) + �����‹��̏����Ɋւ��鑽�l�ȃA�C�f�A�A�E�B���h�E�I�������Ɋւ��� + ���[�U�C���^�t�F�[�X�̑@�ׂȉ��P�ĂȂǂ𒸂��܂����B + +Deslar����(asciinet) + byte-compile�֌W�̃o�O�񍐂Ȃǂ𒸂��܂����B + +tadf����(asciinet) + Demacs�ł̃v���Z�X�N�����̃C���^�t�F�[�X�̕s��̕񍐂Ȃǂ𒸂� + �܂����B + +�ق�܂����邳��(asciinet) + �p���O���t���E��LaTeX�p�ɐݒ肵�Ȃ����v�]�Ȃǂ𒸂��܂����B + +TUSK����(asciinet) + Texinfo�h�L�������g(����)���쐬���Ē����A���łɊւ���R�����g + �ƓY������Ē����܂����B + +���c�a�炳��(asciinet) + dviout�N�����̍H�v�̈āA�~�j�o�b�t�@�œǂݍ��ނ��̂̃q�X�g���� + ����A�C�f�A�̂��������𒸂��A�w���v�t�@�C���̍��ڂ̒񋟂����Ē� + ���܂����B + +Nop.M����(asciinet) + �قȂ�‹��ł̐ݒ�̕s����̃��|�[�g�𐔑��������܂����B + +jaybird����(asciinet) + �p��ł̃w���v�t�@�C�����쐬���Ē����܂����B + +���R������(������w) + ���{����̓��[�h����֐��̃o�O�𒼂��p�b�`�Asection-view �̃o�O + �񍐁A* �t���Z�N�V�����R�}���h�Ή��̗v�]�A\right, \left �̃A�h�C + ���֐��쐬�Ɋւ���L�p�ȏ��Ȃǂ𒸂��܂����B + +�_����(niftyserve) + dviout�N���I�v�V�����Ɋւ���R�����g�A�w���v�t�@�C���̃o�O�񍐓� + �𒸂��܂����B + +���}�a�G����(JAIST) + �쒹/������ Mailing List ��ݗ����Ē����܂����B + +���{���F����(�����w�|��) + �}�j���A���̃o�O���w�E���Ē����܂����B + +���{�R�N�q����(������) + \item[] �Ȃǂ̕⊮�� [] �̒��ɃJ�[�\����u���v�]�𒸂��܂����B + +�|���_����(������) + M-q (YaTeX-fill-paragraph) �̃o�O��񍐂��Ē����܂����B + YaTeX-insert-amper ��contribute���Ē����܂����B + ��҂̐������̖}�~�X�𒚔J�ɏE���ĉ������܂����B + YaTeX-shift-section-undo �̎������@�������Ă��������܂����B + +�����\����(�c���) + �l�X�g���������itemize�‹��ł�indentation�̕s����w�E���Ē��� + �܂����B + +�ΐ�m���(�x�m��) + Mule2�ŎΑ̃t�H���g���g�p���邽�߂̎菇�Aauto-insert�̑��݂����� + �Ē����܂����B + +���_�ꂳ��(��B��w) + Mule�Ńt�H�[�}�b�g����info�t�@�C����Nemacs�p�ɃR���o�[�g������@ + �������Ē����܂����B + +�c����������(�c���) + font-lock �̎g�����𒲍�����Ƃ����āA�܂����������Ă���܂���B + �������Ă�������:-)�B + +�g�c���u����(�c���) + label/ref�⊮�ŁAlabel��ref�Ŏn�܂�P��S�Ă����ɂ���Ă��܂� + �o�O��񍐂��Ē����܂����B + +��c��������(�L���Z�ȑ�) + Emacs 19.29 �ȍ~�Ő�����YaTeX-indent-new-comment-line�̕s��� + �w�E���Ē����܂����B + +���{���V����(�x�R��w) + �u���߂Ďg��YaTeX�v�Ƃ���Cool��WWW�y�[�W���쐬���ĉ������܂����B + +�c���q����(�x�R��w) + AMS-LaTeX �ɑΉ����邽�߂̃p�b�`�𑗂��Ē����܂����B + +���V�K�i����(���k��w) +�c��������([��]�P�C�P���G���W�j�A�����O�V�X�e��) + begin�^�⊮�ł��܂������s�֐�������΁A�⊮���ɏ����G���g����} + ������Ƃ����A�C�f�A��񋟂��Ă��������܂����B + +�������l����(�c���) + YaTeX-default-pop-window-height �̌��Ă𒸂��܂����B + $ \% $ �̂悤�ȏꍇ�̐������[�h�I������̃~�X���w�E���Ē����܂����B + +�������a(����H��) + �쒹���g��Tips���܂Ƃ߂��u���Ȃ����킽�����쒹�́c�v�Ƃ���WWW�y�[ + �W���쐬���ĉ������܂����B + +yatex +(setq auto-mode-alist (cons '("\\.tex$" . yatex-mode) auto-mode-alist)) + + diff --git a/yahtml.el b/yahtml.el index 20227b5..bab4567 100644 --- a/yahtml.el +++ b/yahtml.el @@ -1,6 +1,6 @@ ;;; -*- Emacs-Lisp -*- ;;; (c ) 1994 by HIROSE Yuuji [yuuji@ae.keio.ac.jp, pcs39334@asciinet.or.jp] -;;; Last modified Fri Feb 2 02:37:23 1996 on supra +;;; Last modified Tue Apr 23 23:13:12 1996 on inspire ;;; This package is no longer tentative. ;;; $Id$ @@ -28,6 +28,8 @@ ;;; normally requires closing tag ` ;;; ... is also classified into ;;; this group +;;; When input `href=...', you can complete file +;;; name or label(href="#foo") by typing TAB. ;;; * [prefix] s Complete declarative notations such as ;;; `' ;;; `' @@ -35,20 +37,26 @@ ;;; ` ... ' or ` ... ' ;;; * [prefix] m Complete single commands such as ;;; `
' or `
or
  • ...' +;;; * M-RET Intelligent newline; if current TAG is one of +;;; ul, ol, or dl. insert newline and
  • or +;;;
    or
    suitable for current condition. ;;; * menu-bar yahtml Complete all by selecting a menu item (Though I ;;; hate menu, this is most useful) ;;; * [prefix] g Goto corresponding Tag or HREF such as -;;;
    <->
    or href="xxx" +;;;
    <->
    or href="xxx". +;;; Or invoke image viewer if point is on . ;;; * [prefix] k Kill html tags on the point. If you provide ;;; universal-argument, kill surrounded contents too. ;;; * [prefix] c Change html tags on the point. +;;; When typeing [prefix] c on `href="xxx"', you can +;;; change the reference link with completion. ;;; * [prefix] t b View current html with WWW browser ;;; (To activate this, never fail to set the lisp ;;; variable yahtml-www-browser. Recommended value ;;; is "netscape") +;;; * [prefix] a YaTeX's accent mark's equivalent of yahtml. +;;; This function can input $lt, $gt or so. ;;; -;;; NOTE! This program is truly tentative. If you find some bright -;;; future with this, please send me a mail to drive me to maintain this :) (require 'yatex) @@ -128,6 +136,7 @@ (yahtml-define-begend-key "bh" "HTML" map) (yahtml-define-begend-key "bH" "HEAD" map) (yahtml-define-begend-key "bt" "TITLE" map) + (yahtml-define-begend-key "bT" "table" map) (yahtml-define-begend-key "bb" "BODY" map) (yahtml-define-begend-key "bd" "DL" map) (yahtml-define-begend-key "b1" "H1" map) @@ -146,13 +155,18 @@ (YaTeX-define-key "k" 'yahtml-kill-* map) (YaTeX-define-key "c" 'yahtml-change-* map) (YaTeX-define-key "t" 'yahtml-browse-menu map) + (YaTeX-define-key "a" 'yahtml-complete-mark map) ;;;;;(YaTeX-define-key "i" 'yahtml-fill-item map) ) ) +(defvar yahtml-paragraph-start + (concat + "^$\\|<[bh]r>\\|

    \\|^[ \t]*") + "*Regexp of html paragraph separater") (defvar yahtml-paragraph-separate (concat - "^$\\|<[bh]r>\\|

    \\|^[ \t]*") + "^$\\|<[bh]r>\\|

    \\|^[ \t]*") "*Regexp of html paragraph separater") (defvar yahtml-syntax-table nil "*Syntax table for typesetting buffer") @@ -162,6 +176,7 @@ (make-syntax-table (standard-syntax-table))) (modify-syntax-entry ?\< "(" yahtml-syntax-table) (modify-syntax-entry ?\> ")" yahtml-syntax-table) + (modify-syntax-entry ?\n " " yahtml-syntax-table) ) (defvar yahtml-command-regexp "[A-Za-z0-9]+" "Regexp of constituent of html commands.") @@ -174,9 +189,12 @@ (defvar yahtml-env-table '(("html") ("head") ("title") ("body") ("dl") ("a") ("form") ("select") + ("textarea") ("OrderedList" . "ol") ("UnorderedList" . "ul") ("DefinitionList" . "dl") + ("Preformatted" . "pre") + ("table") ("tr") ("th") ("td") ("h1") ("h2") ("h3") ("h4") ("h5") ("h6") ("ul"))) (defvar yahtml-itemizing-regexp @@ -224,7 +242,7 @@ yahtml-typeface-table)))) (defvar yahtml-struct-name-regexp - "\\<\\(h[1-6]\\|[uod]l\\|body\\|title\\|head\\|table\\|t[rhd]\\)") + "\\<\\(h[1-6]\\|[uod]l\\|body\\|title\\|head\\|table\\|t[rhd]\\|pre\\|a\\|form\\|select\\)\\b") (defun yahtml-mode () @@ -240,20 +258,23 @@ (setq major-mode 'yahtml-mode mode-name "yahtml") (make-local-variable 'YaTeX-ec) (setq YaTeX-ec "") - (make-local-variable 'YaTeX-struct-begin) (setq YaTeX-struct-begin "<%1%2>") + (make-local-variable 'YaTeX-struct-begin) + (setq YaTeX-struct-begin "<%1%2>") (make-local-variable 'YaTeX-struct-end) (setq YaTeX-struct-end "") (make-local-variable 'YaTeX-struct-name-regexp) (setq YaTeX-struct-name-regexp yahtml-struct-name-regexp) (make-local-variable 'YaTeX-prefix-map) (make-local-variable 'YaTeX-command-token-regexp) (setq YaTeX-command-token-regexp yahtml-command-regexp) + (make-local-variable 'YaTeX-comment-prefix) + (setq YaTeX-comment-prefix "") @@ -452,6 +473,7 @@ (save-excursion (insert (format "" form)))) (if (search-backward "\"\"" p t) (forward-char 1)))) +;;; ---------- Add-in ---------- (defun yahtml-addin (form) "Check add-in function's existence and call it if exists." (let ((addin (concat "yahtml:" (downcase form))) s) @@ -461,6 +483,26 @@ (concat " " s) ""))) + +(defvar yahtml-completing-buffer nil) +(defun yahtml-collect-labels (&optional file) + "Collect current buffers label (). +If optional argument FILE is specified collect labels in FILE." + (let (list) + (save-excursion + (set-buffer yahtml-completing-buffer) + (if file (set-buffer (find-file-noselect file))) + (save-excursion + (goto-char (point-min)) + (while (re-search-forward "]+\\)\"?>") + (setq list (cons + (list (concat "#" (YaTeX-match-string 1))) + list)))) + list))) + ) + (defvar yahtml-url-completion-map nil "Key map used in URL completion buffer") (if yahtml-url-completion-map nil (setq yahtml-url-completion-map @@ -472,7 +514,7 @@ (defun yahtml-complete-url () "Complete external URL from history or local file name." (interactive) - (let (initial cmpl path dir file listfunc beg (p (point))) + (let (initial i2 cmpl path dir file listfunc beg labels (p (point))) (setq initial (buffer-string)) (cond ((string-match "^http:" initial) @@ -480,6 +522,19 @@ listfunc (list 'lambda nil (list 'all-completions initial 'yahtml-urls)) beg (point-min))) + ((setq beg (string-match "#" initial)) + (or (equal beg 0) ;begin with # + (progn + (setq path (substring initial 0 beg)) + (if (string-match "^/" path) + (setq path (yahtml-url-to-path path))))) + (setq initial (substring initial beg)) + (setq labels (yahtml-collect-labels path) + cmpl (try-completion initial labels) + listfunc (list 'lambda () + (list 'all-completions + initial (list 'quote labels))) + beg (+ (point-min) beg))) (t (setq path (if (string-match "^/" initial) (yahtml-url-to-path initial) @@ -514,24 +569,28 @@ (defun yahtml:a () "Add-in function for " (or yahtml-urls (yahtml-collect-url-history)) + (setq yahtml-completing-buffer (current-buffer)) ; (concat "href=\"" ; (completing-read "href: " yahtml-urls) ; "\"") (message "(H)ref (N)ame?") (cond - ((string-match "[hH]" (char-to-string (read-char))) + ((string-match "[nN]" (char-to-string (read-char))) + (concat "name=\"" (read-string "name: ") "\"")) + (t (concat "href=\"" (read-from-minibuffer "href: " "" yahtml-url-completion-map) - "\"")) - (t (concat "name=\"" (read-string "name: ") "\"")))) + "\"")))) (defun yahtml:img () "Add-in function for " (or yahtml-urls (yahtml-collect-url-history)) (let ((src (read-file-name "src: " "" nil nil "")) - (alg (completing-read "align: " '(("top") ("middle") ("bottom"))))) + (alg (completing-read "align: " '(("top") ("middle") ("bottom")))) + (alt (read-string "alt: "))) (concat "src=\"" src "\"" - (if (string< "" alg) (concat " align=\"" alg "\""))))) + (if (string< "" alg) (concat " align=\"" alg "\"")) + (if (string< "" alt) (concat " alt=\"" alt "\""))))) (defun yahtml:form () "Add-in function `form' input format" @@ -576,7 +635,24 @@ (if (string< "" size) (concat " size=\"" size "\"")) (if (string< "" maxlength) (concat " maxlength=\"" maxlength "\"")) ))) - + +(defun yahtml:textarea () + "Add-in function for `textarea'" + (interactive) + (let (name rows cols) + (setq name (read-string "Name: ") + cols (read-string "Columns: " + rows (read-string "Rows: "))) + (concat + (concat (if yahtml-prefer-upcases "NAME=" "name=") + "\"" name "\"") + (if (string< "" cols) + (concat " " (if yahtml-prefer-upcases "COLS" "cols") "=" cols)) + (if (string< "" rows) + (concat " " (if yahtml-prefer-upcases "ROWS" "rows") "=" rows))))) + + +;;; ---------- Simple tag ---------- (defun yahtml-insert-tag (region-mode &optional tag) "Insert and put cursor inside of them." (interactive "P") @@ -769,7 +845,7 @@ (string-match "img" tag) (save-excursion (re-search-backward "<\\s *img" nil t) - (re-search-forward "src=\"?\\([^\"> ]+\\)\"?>") + (re-search-forward "src=\"?\\([^\"> ]+\\)\"?") (match-beginning 1) (setq image (buffer-substring (match-beginning 1) (match-end 1))))) @@ -833,8 +909,28 @@ (default (append yahtml-env-table yahtml-typeface-table)) (user (append yahtml-user-env-table yahtml-user-typeface-table)) (tmp (append yahtml-tmp-env-table yahtml-tmp-typeface-table)) - ) - (if tag + href b1 e1) + (cond + (tag + (cond + ((and (equal tag "a") + (save-excursion + (and + (re-search-backward "= p (point)) + (looking-at "href\\s *=\\s *\"?\\([^\"> \t\n]+\\)\"?") + (< p (match-end 0))))) + (setq b1 (match-beginning 1) e1 (match-end 1) + href (read-from-minibuffer + "Change href to: " "" yahtml-url-completion-map)) + (if (string< "" href) + (progn + (delete-region b1 e1) + (goto-char b1) + (insert href)))) + (t (save-excursion (if (= (aref tag 0) ?/) (setq tag (substring tag 1))) (or (= (char-after (point)) ?<) (skip-chars-backward "^<")) @@ -861,7 +957,7 @@ (insert (format "%s%s" tag (yahtml-addin tag))) (goto-char q) (delete-region (point) (progn (skip-chars-forward "^>") (point))) - (insert tag))))) + (insert tag)))))))) (defun yahtml-change-* () "Change current position's HTML tag (set)." @@ -903,8 +999,8 @@ (defvar yahtml-hate-too-deep-indentation nil) (defun yahtml-indent-line () (interactive) - (let ((envs "[uod]l\\|table\\|t[rhd]") - (itms "<\\(dt\\|dd\\|li\\|t[rdh]\\)>") + (let ((envs "[uod]l\\|table\\|t[rhd]\\|select\\|a\\b") + (itms "<\\(dt\\|dd\\|li\\|t[rdh]\\|option\\)>") inenv p col peol (case-fold-search t)) (save-excursion (beginning-of-line) @@ -1018,17 +1114,20 @@ (cond ((string-match "^/" file) (while list - (if (string-match (concat "^" (regexp-quote (car (car list)))) basedir) + (if (file-directory-p (car (car list))) (progn (setq url (cdr (car list))) (if (string-match "\\(http://[^/]*\\)/" url) (setq docroot (substring url (match-end 1))) (setq docroot url)) - (if (string-match (regexp-quote docroot) file) + (if (string-match (concat "^" (regexp-quote docroot)) file) (setq realpath (expand-file-name (substring - file (min (1+ (match-end 0)) (length file))) + file + (if (= (aref file (1- (match-end 0))) ?/) + (match-end 0) ; "/foo" + (min (1+ (match-end 0)) (length file)))) ; "/~foo" (car (car list))))) (if realpath (progn (setq list nil) @@ -1099,6 +1198,11 @@ (insert (if yahtml-prefer-upcases "

    " "
    "))) (yahtml-indent-line))) +(defun yahtml-intelligent-newline-select () + (interactive) + (insert "<" (if yahtml-prefer-upcases "OPTION" "option") "> ") + (yahtml-indent-line)) + ;;; ---------- Marking ---------- (defun yahtml-mark-begend () "Mark current tag" @@ -1113,7 +1217,20 @@ (forward-list 1) (if (eolp) (forward-char 1))) -;;; ---------- ---------- +;;; ---------- complete marks ---------- +(defun yahtml-complete-mark () + "Complete >, <, &asterisk, and "e." + (interactive) + (message "1:< 2:> 3:& 4:\"") + (let ((c (read-char))) + (setq c (if (or (< c ?0) (> c ?5)) + (string-match (regexp-quote (char-to-string c)) "<>&\"") + (- c ?1))) + (if (or (< c 0) (> c 4)) + nil + (insert (format "&%s;" (nth c '("lt" "gt" "amp" "quot"))))))) + + ;;; ---------- ---------- ;;; ---------- ---------- diff --git a/yatex.el b/yatex.el index ddb74b1..403b7f3 100644 --- a/yatex.el +++ b/yatex.el @@ -1,8 +1,8 @@ ;;; -*- Emacs-Lisp -*- ;;; Yet Another tex-mode for emacs. -;;; yatex.el rev. 1.61 +;;; yatex.el rev. 1.62 ;;; (c )1991-1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] -;;; Last modified Fri Feb 2 03:47:10 1996 on supra +;;; Last modified Thu May 2 00:13:21 1996 on supra ;;; $Id$ ;; This program is free software; you can redistribute it and/or modify @@ -20,7 +20,7 @@ ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. (require 'comment) -(defconst YaTeX-revision-number "1.61" +(defconst YaTeX-revision-number "1.62" "Revision number of running yatex.el" ) @@ -33,7 +33,7 @@ ;; ** for your site, if needed. ** ;;; (defvar YaTeX-prefix "\C-c" - "*Prefix key to trigger YaTeX functions. + "*Prefix key to call YaTeX functions. You can select favorite prefix key by setq in your ~/.emacs." ) (defvar YaTeX-environment-indent 1 @@ -152,9 +152,10 @@ "*LaTeX sectioning commands regexp." ) (defvar YaTeX-paragraph-start - (concat "^[ \t]*%\\|^[ \t]*$\\|^\C-l\\|\\\\\\\\$\\|^[ \t]*\\\\\\(" + (concat "^[ \t]*%\\|^[ \t]*$\\|\\'\\|^\C-l\\|\\\\\\\\$\\|^[ \t]*\\\\\\(" YaTeX-sectioning-regexp ;sectioning commands "\\|[A-z]*item\\|begin{\\|end{" ;special declaration + "\\|newpage\\b\\|vspace\\b" "\\)") "*Paragraph starting regexp of common LaTeX source. Use this value for YaTeX-uncomment-paragraph." @@ -163,6 +164,7 @@ (concat "^[ \t]*%\\|^[ \t]*$\\|^\C-l\\|\\\\\\\\$\\|^[ \t]*\\\\\\(" YaTeX-sectioning-regexp ;sectioning commands "\\|begin{\\|end{" ;special declaration + "\\|newpage\\b\\|vspace\\b" "\\)") "*Paragraph delimiter regexp of common LaTeX source. Use this value for YaTeX-uncomment-paragraph." @@ -298,7 +300,7 @@ ;;("rightarrow") ("Rightarrow") ("leftarrow") ("Leftarrow") ("pagebreak") ("newpage") ("clearpage") ("cleardoublepage") ("footnotemark") ("verb") ("verb*") - ("linebreak") ("pagebreak") + ("linebreak") ("pagebreak") ("noindent") ("indent") ("left") ("right") ) (if YaTeX-greek-by-maketitle-completion @@ -691,6 +693,7 @@ "Visit main other window." t) (autoload 'YaTeX-main-file-p "yatexprc" "Check if the file is main." t) (autoload 'YaTeX-get-builtin "yatexprc" "Get %# built-in." t) +(autoload 'YaTeX-system "yatexprc" "Call system command" t) ;;autoload from yatexmth.el (autoload 'YaTeX-math-insert-sequence "yatexmth" "Image input." t) @@ -808,7 +811,9 @@ (let*((nest 0) (beg (YaTeX-replace-format-args (regexp-quote YaTeX-struct-begin) - YaTeX-struct-name-regexp "" "")) + YaTeX-struct-name-regexp + (if (eq major-mode 'yahtml-mode) "\\s *.*" "") + "")) (end (YaTeX-replace-format-args (regexp-quote YaTeX-struct-end) YaTeX-struct-name-regexp "" "")) @@ -817,7 +822,7 @@ (open (concat "^" (or (cdr (assq major-mode '((yahtml-mode . "<")))) "{"))) (close - (concat "^" (or (cdr (assq major-mode '((yahtml-mode . ">")))) "}")))) + (concat "^" (or (cdr(assq major-mode '((yahtml-mode . " >")))) "}")))) (save-excursion (if quick (setq bound @@ -1184,7 +1189,8 @@ ((YaTeX-jmode) (YaTeX-self-insert arg)) ((not (YaTeX-closable-p)) (YaTeX-self-insert arg)) ((save-excursion - (and (> (- (point) (point-min)) 6) (forward-char -6)) + (and (> (- (point) (point-min)) 6) + (condition-case () (forward-char -6) (error nil))) (looking-at "\\\\left\\\\")) (insert "{\\right\\}") (forward-char -8)) @@ -1212,6 +1218,16 @@ (and (boundp 'egg:*mode-on*) egg:*mode-on* egg:*input-mode*)) ) +(defun YaTeX-jmode-off () + (cond + ((and (boundp 'canna:*japanese-mode*) canna:*japanese-mode*) + (canna-toggle-japanese-mode)) + ((and (boundp 'egg:*mode-on*) egg:*mode-on* egg:*input-mode*) + (egg:toggle-egg-mode-on-off)) + ((and (fboundp 'skk-mode)) (skk-mode -1)) + ((and (fboundp 'fep-force-off) (fep-force-off)))) +) + (defun YaTeX-self-insert (arg) (call-interactively (global-key-binding (char-to-string last-command-char)))) @@ -1285,6 +1301,7 @@ (insert "$") (insert "$$") (forward-char -1) + (YaTeX-jmode-off) (or YaTeX-auto-math-mode YaTeX-math-mode (YaTeX-toggle-math-mode 1))) ) @@ -1319,7 +1336,7 @@ (interactive "P") (message (concat "J)latex R)egion B)ibtex mk(I)ndex " - (or YaTeX-dos "K)ill-latex ") + (if (not YaTeX-dos) "K)ill-latex ") "P)review " (and (boundp 'window-system) window-system "S)earch ") "V)iewerr L)pr")) @@ -1539,28 +1556,28 @@ nil))))) ) -(defun YaTeX-goto-corresponding-file (&optional other) - "Visit or switch buffer of corresponding file, -looking at \\input or \\include or \includeonly on current line." - (if (not (YaTeX-on-includes-p)) nil - (let ((parent buffer-file-name) input-file) - (save-excursion - (if (search-forward "{" (point-end-of-line) t) - nil - (skip-chars-backward "^,{")) - (setq input-file - (buffer-substring - (point) (progn (skip-chars-forward "^ ,}") (point)))) - (if (not (string-match "\\.\\(tex\\|sty\\)$" input-file)) - (setq input-file (concat input-file ".tex")))) - (cond - (other (YaTeX-switch-to-buffer-other-window input-file)) - ((get-file-buffer input-file) (goto-buffer-window input-file)) - (t (YaTeX-switch-to-buffer input-file))) - (or (YaTeX-get-builtin "!") - YaTeX-parent-file - (setq YaTeX-parent-file parent)))) -) +;(defun YaTeX-goto-corresponding-file (&optional other) +; "Visit or switch buffer of corresponding file, +;looking at \\input or \\include or \includeonly on current line." +; (if (not (YaTeX-on-includes-p)) nil +; (let ((parent buffer-file-name) input-file) +; (save-excursion +; (if (search-forward "{" (point-end-of-line) t) +; nil +; (skip-chars-backward "^,{")) +; (setq input-file +; (buffer-substring +; (point) (progn (skip-chars-forward "^ ,}") (point)))) +; (if (not (string-match "\\.\\(tex\\|sty\\)$" input-file)) +; (setq input-file (concat input-file ".tex")))) +; (cond +; (other (YaTeX-switch-to-buffer-other-window input-file)) +; ((get-file-buffer input-file) (goto-buffer-window input-file)) +; (t (YaTeX-switch-to-buffer input-file))) +; (or (YaTeX-get-builtin "!") +; YaTeX-parent-file +; (setq YaTeX-parent-file parent)))) +;) (defun YaTeX-goto-corresponding-BEGIN-END () (if (not (YaTeX-on-BEGIN-END-p)) nil @@ -1574,6 +1591,121 @@ t) ) +(defvar YaTeX-processed-file-regexp-alist nil + "Alist of regexp of processed file regexp vs. its file name part; +For example, if you include image file with `\\epsfile{file=FILE}' where +`FILE' is processed file. You might want to view FILE with other previewer +such as ghostview, or want to preview its source which was drawn with +other drawing tool, tgif for example. Then you should set entire regexp +of including expression and enclose its file name part with \\\\( and \\\\). + + Ex. (\"\\\\\\\\epsfile{[^}]*file=\\\\([^,} ]+\\\\)\\\\(\\\\.e?ps\\\\)?[^}]*}\" 1) + +Where the first group surrounded by \\\\( and \\\\) is the file name part +of expression. So you should set 1 to second element. And the first +matching group is sent to (image) processor defined by the variable +YaTeX-file-processor-alist. See also the documentation of +YaTeX-file-processor-alist. + +������ǂ��킩��Ȃ����ˁB�Ⴆ�� tgif hoge.obj ���� hoge.eps �� +\\epsfile{file=hoge.eps} �ŃC���N���[�h���Ă���Ƃ��悤�B���̍s�� +\[prefix\] g ������������ tgif ���N�����ė~����������A�܂���̂悤�� +���K�\����ݒ肷��B\\\\(��\\\\)�ň͂񂾂Ƃ��낪�t�@�C�����ɂȂ�悤�� +���ӂ���B�Ńt�@�C�������������Ԗڂ�\\\\(\\\\)�ɂȂ邩�����X�g��2�Ԗڂɏ����B +����ƁA���̕������ϐ� YaTeX-file-processor-alist �Œ�`���ꂽ +�����v���O�����ɓn�����B�Ƃ����킯�B +��`����ς�ނ��������ˁB������Ȃ����ׂ͗� Lisper �ɕ������A +fj�쒹�̉�ŕ�����! +") + +(defvar YaTeX-processed-file-regexp-alist-default + '(("\\\\epsfile{[^},]*file=\\([^,}. ]+\\)\\(\\.e?ps\\)?[^}]*}" 1) + ("\\\\epsfig{[^},]*fi\\(le\\|gure\\)=\\([^,}. ]+\\)\\(\\.e?ps\\)?[^}]*}" 2) + ("\\\\postscriptbox{[^}]*}{[^}]*}{\\([^} ]+\\)\\(\\.e?ps\\)?}" 1) + ("\\\\\\(epsfbox\\|includegraphics\\){\\([^} ]+\\)\\(\\.e?ps\\)?}" 2) + ("\\\\\\(include\\|input\\){\\([^},.]+\\)\\(\\.\\(tex\\|sty\\)\\)?}" 2 t) + ) + "See the documentation of YaTeX-processed-file-regexp-alist." +) + +(defvar YaTeX-file-processor-alist nil + "*Alist of files' processor vs. its extension; +See also the documentation of YaTeX-processed-file-regexp-alist." +) +(defvar YaTeX-file-processor-alist-default + '(("tgif" . ".obj") + ("ghostview" . ".ps") + ("ghostview" . ".eps") + (t . ".tex") + (t . ".sty") + (t . "")) + "See the documentation of YaTeX-file-processor-alist." +) + +(defun YaTeX-goto-corresponding-file-processor (&optional other) + "Execute corresponding file processor." + (save-excursion + (or (looking-at YaTeX-ec-regexp) + (skip-chars-backward (concat "^" YaTeX-ec) (point-beginning-of-line))) + (let ((list (append YaTeX-processed-file-regexp-alist + YaTeX-processed-file-regexp-alist-default)) + (p (point)) flist file + (peol (point-end-of-line))) + (setq flist (catch 'found + (while list + (goto-char p) + (if (re-search-forward (car (car list)) peol t) + (progn + (setq file (YaTeX-match-string + (car (cdr (car list))))) + (throw 'found (cdr (car list))))) + (setq list (cdr list))))) + (if flist ;if pattern and file name found + (let*((plist (append YaTeX-file-processor-alist + YaTeX-file-processor-alist-default)) + (plist0 plist) + ext cmd src buf (alt (car (cdr flist)))) + (if (and (re-search-forward + (concat YaTeX-comment-prefix "\\s *\\(.*\\)$") peol t) + (assoc (setq cmd (YaTeX-match-string 1)) + YaTeX-file-processor-alist)) + (setq src ;if processor is specified + (concat file + (cdr (assoc cmd YaTeX-file-processor-alist)))) + (while plist ;if processor is not specified + (setq ext (cdr (car plist))) + (if (file-exists-p (concat file ext)) + (setq cmd (car (car plist)) + src (concat file ext) plist nil)) + (setq plist (cdr plist))) + (if (and (null src) alt YaTeX-create-file-prefix-g) + (setq cmd alt + src (concat file (cdr (assoc alt plist0)))))) + (if src ;if processor and src file found + (cond + ((stringp cmd) + (let ((buf (concat "* " cmd " " src " *"))) + (YaTeX-system (concat cmd " " src) buf) + t)) + ((eq t cmd) + (let ((parent buffer-file-name)) + (funcall + (cond + (other 'YaTeX-switch-to-buffer-other-window) + ((get-file-buffer src) 'goto-buffer-window) + (t 'YaTeX-switch-to-buffer)) + src) + (or (YaTeX-get-builtin "!") + YaTeX-parent-file + (setq YaTeX-parent-file parent)) + t)) + ((symbolp cmd) + (cond + ((symbol-function cmd) + (funcall cmd src))) + t))))))) +) + (defun YaTeX-on-section-command-p (command) "Check if point is on the LaTeX command: COMMAND(regexp). Return nil if point is not on it. Otherwise return the @@ -1681,7 +1813,8 @@ (cond ((YaTeX-goto-corresponding-label arg)) ((YaTeX-goto-corresponding-environment)) - ((YaTeX-goto-corresponding-file)) + ((YaTeX-goto-corresponding-file-processor arg)) + ;;((YaTeX-goto-corresponding-file)) ((YaTeX-goto-corresponding-BEGIN-END)) ((and (string-match YaTeX-equation-env-regexp ;to delay loading @@ -2172,7 +2305,8 @@ (save-excursion (and point (goto-char point)) (or (YaTeX-in-verb-p (point)) - (YaTeX-quick-in-environment-p YaTeX-verbatim-environments))))) + (and (not (looking-at "\\\\end{verb")) + (YaTeX-quick-in-environment-p YaTeX-verbatim-environments)))))) ) (defun YaTeX-in-environment-p (env) @@ -2375,6 +2509,11 @@ (goto-char (point-min)) (forward-word 1) (beginning-of-line) + (while (re-search-forward "\\\\\\(\\(page\\)?ref\\|cite\\){" nil t) + (if (< (point-end-of-line) + (save-excursion (forward-char -1) (forward-list 1) (point))) + (progn (end-of-line) (insert YaTeX-comment-prefix)))) + (goto-char (point-min)) (if (and NTT-jTeX (looking-at "[ \t]")) (progn (goto-char (point-min)) @@ -2384,7 +2523,7 @@ (save-excursion (backward-word 1) (looking-at "\\sw+")) ;is not japanese string - (progn (setq p (point)) (insert ?%))) + (progn (setq p (point)) (insert YaTeX-comment-prefix))) (forward-line 1)) (goto-char p) (delete-char 1) ;remove last inserted `%' @@ -2560,8 +2699,21 @@ (setq depth (current-column)) (YaTeX-goto-corresponding-environment) (YaTeX-reindent depth))) - (if (and NTT-jTeX - (save-excursion (beginning-of-line) (looking-at "[ \t]"))) + (if (or + (and NTT-jTeX + (save-excursion (beginning-of-line) (looking-at "[ \t]"))) + (save-excursion + (beginning-of-line) + (backward-char 1) + (and + (re-search-backward + "\\\\\\(\\(page\\)?ref\\|cite\\){" (point-beginning-of-line) t) + (goto-char (1- (match-end 0))) + (> (save-excursion + (condition-case () + (progn (forward-list 1) (point)) + (error (point-max)))) + (point-end-of-line))))) (save-excursion (end-of-line) (let ((p (point))) diff --git a/yatex.new b/yatex.new index 27a6893..e75da2c 100644 --- a/yatex.new +++ b/yatex.new @@ -1,5 +1,14 @@ What's new in YaTeX - �쒹 - �e�o�[�W�����̕ύX�_�ɂ‚��� + �쒹/yahtml - �e�o�[�W�����̕ύX�_�ɂ‚��� + +1.62 \ref �̈�������s�ɓn�鎞�s����%��t����悤�ɂ��� + yahtml�ł��܂������s���s�K�v�ɋN������̂��C�� + href �̕⊮������� # ���܂܂�鎞�� name ��⊮ + \epsfile{file=foo.eps} �Ȃǂ� [prefix] g �����ꍇ�Afoo.eps�̌��G + ��ҏW���Ă��邨�G�����\�t�g���N������悤�ɂ��� + yahtml�� [prefix] a �� < �Ȃǂ�����悤�ɂ��� + verbatim�‹��� [prefix] g �����܂���΂Ȃ������̂��C�� + section�̃I�v�V�����������‚������̐F�Â��������������̂��C�� 1.61 AMS-LaTeX �Ή� xdvi -remote �ɂ��T�[�`�ɑΉ� [prefix] t s diff --git a/yatex19.el b/yatex19.el index 64641cf..e7d0353 100644 --- a/yatex19.el +++ b/yatex19.el @@ -1,7 +1,7 @@ ;;; -*- Emacs-Lisp -*- ;;; YaTeX facilities for Emacs 19 ;;; (c )1994-1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] -;;; Last modified Wed Dec 20 22:32:21 1995 on supra +;;; Last modified Thu Mar 14 10:51:00 1996 on supra ;;; $Id$ ;;; �Ƃ肠���� hilit19 ���g���Ă��鎞�ɐF���t���悤�ɂ��� @@ -281,7 +281,7 @@ (YaTeX-19-region-section-type "\\\\\\(title\\|author\\|date\\|thanks\\){" define) - ("\\\\documentstyle\\(\\[.*\\]\\)?{" "}" decl) + ("\\\\document\\(style\\|class\\)\\(\\[.*\\]\\)?{" "}" decl) ("\\\\\\(begin\\|end\\|nofiles\\|includeonly\\){" "}" decl) ("\\\\\\(raggedright\\|makeindex\\|makeglossary\\|maketitle\\)\\b" 0 decl) ("\\\\\\(pagestyle\\|thispagestyle\\|pagenumbering\\){" "}" decl) @@ -368,7 +368,8 @@ lm YaTeX-sectioning-max-level list YaTeX-sectioning-level) (while list - (setq pat (concat YaTeX-ec-regexp (car (car list)) "\\*?{") + (setq pat (concat YaTeX-ec-regexp (car (car list)) + "\\*?\\(\\[[^]]*\\]\\)?{") level (cdr (car list)) fg (format "hex-%02x%02x%02x" (- fR (/ (* level fR fmin) lm 100)) diff --git a/yatexadd.el b/yatexadd.el index 5e8f551..63e87b2 100644 --- a/yatexadd.el +++ b/yatexadd.el @@ -2,7 +2,7 @@ ;;; YaTeX add-in functions. ;;; yatexadd.el rev.13 ;;; (c )1991-1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] -;;; Last modified Thu Dec 21 21:47:34 1995 on supra +;;; Last modified Sat Apr 27 21:38:36 1996 on NSR ;;; $Id$ ;;; @@ -119,11 +119,16 @@ ) (defun YaTeX:equation () + (YaTeX-jmode-off) (if (fboundp 'YaTeX-toggle-math-mode) (YaTeX-toggle-math-mode t)) ;force math-mode ON. ) -(fset 'YaTeX:eqnarray 'YaTeX:equation) -(fset 'YaTeX:displaymath 'YaTeX:equation) +(mapcar '(lambda (f) (fset f 'YaTeX:equation)) + '(YaTeX:eqnarray YaTeX:eqnarray* YaTeX:align YaTeX:align* + YaTeX:split YaTeX:multline YaTeX:multline* YaTeX:gather YaTeX:gather* + YaTeX:aligned* YaTeX:gathered YaTeX:gathered* + YaTeX:alignat YaTeX:alignat* YaTeX:xalignat YaTeX:xalignat* + YaTeX:xxalignat YaTeX:xxalignat*)) (defun YaTeX:list () "%\n{} %default label\n{} %formatting parameter" @@ -418,7 +423,7 @@ );with (goto-char p) (message "Collecting %s...Done" labelcmd) - (pop-to-buffer YaTeX-label-buffer) + (YaTeX-showup-buffer YaTeX-label-buffer nil t) (YaTeX::label-setup-key-map) (setq truncate-lines t) (setq buffer-read-only t) @@ -479,7 +484,7 @@ (buffer-name (car blist)))) (setq blist (cdr blist))) (princ (format "':{%s}" ff))) - (pop-to-buffer lbuf) + (YaTeX-showup-buffer lbuf nil t) (YaTeX::label-setup-key-map) (setq buffer-read-only t) (use-local-map YaTeX-label-select-map) diff --git a/yatexenv.el b/yatexenv.el index 54b909b..6ae8776 100644 --- a/yatexenv.el +++ b/yatexenv.el @@ -2,7 +2,7 @@ ;;; YaTeX environment-specific functions. ;;; yatexenv.el ;;; (c ) 1994, 1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] -;;; Last modified Fri Feb 2 03:47:14 1996 on supra +;;; Last modified Mon Apr 15 16:24:00 1996 on supra ;;; $Id$ ;;; @@ -47,6 +47,7 @@ -1))))) (message "%s" n) (goto-char (1- beg)) + (beginning-of-line) (setq j n) (while (> j 1) (or (re-search-forward andptn p nil) diff --git a/yatexgen.el b/yatexgen.el index f9df033..9653165 100644 --- a/yatexgen.el +++ b/yatexgen.el @@ -2,7 +2,7 @@ ;;; YaTeX add-in function generator. ;;; yatexgen.el rev.5 ;;; (c )1991-1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] -;;; Last modified Sun Jan 22 23:15:34 1995 on landcruiser +;;; Last modified Thu Feb 15 01:44:24 1996 on nsr ;;; $Id$ (require 'yatex) @@ -450,7 +450,7 @@ ((equal left "[") "]") ((equal left "(") ")") ((equal left "<") ">") - ((equal left "\\begin{" "}")) + ((equal left "\\begin{") "}") (t left)) ) (defun YaTeX-generate-create-read-string (&optional nth) diff --git a/yatexhlp.el b/yatexhlp.el index a37c422..3d10353 100644 --- a/yatexhlp.el +++ b/yatexhlp.el @@ -2,7 +2,7 @@ ;;; YaTeX helper with LaTeX commands and macros. ;;; yatexhlp.el ;;; (c )1994 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] -;;; Last modified Tue Dec 26 00:02:02 1995 on inspire +;;; Last modified Mon Apr 1 03:34:23 1996 on NSR ;;; $Id$ (let ((help-file (concat "YATEXHLP." @@ -10,7 +10,7 @@ (t "eng")))) (help-dir (cond - (YaTeX-emacs-19 (expand-file-name "../../site-lisp" exec-directory)) + (YaTeX-emacs-19 (expand-file-name "../../site-lisp" doc-directory)) (t exec-directory)))) (defvar YaTeX-help-file (expand-file-name help-file help-dir) @@ -134,8 +134,8 @@ (concat "^" (regexp-quote YaTeX-help-delimiter)) nil 1) (- (point) (length YaTeX-help-delimiter)))) (YaTeX-showup-buffer - hbuf (function (lambda (x) (nth 3 (window-edges x))))) - (pop-to-buffer hbuf) + hbuf (function (lambda (x) (nth 3 (window-edges x)))) t) + (set-buffer hbuf) (if append (goto-char (point-max)) (erase-buffer)) (insert YaTeX-help-synopsis "\n") (insert-buffer-substring hfbuf sb se) @@ -191,8 +191,7 @@ (let ((buf (get-buffer-create "**Description**")) (conf (current-window-configuration))) (YaTeX-showup-buffer - buf (function (lambda (x) (nth 3 (window-edges x))))) - (pop-to-buffer buf) + buf (function (lambda (x) (nth 3 (window-edges x)))) t) (make-local-variable 'YaTeX-help-file-current) (make-local-variable 'YaTeX-help-command-current) (make-local-variable 'YaTeX-help-saved-config) diff --git a/yatexlib.el b/yatexlib.el index db9b594..17f1a8b 100644 --- a/yatexlib.el +++ b/yatexlib.el @@ -2,7 +2,7 @@ ;;; YaTeX library of general functions. ;;; yatexlib.el ;;; (c )1994-1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] -;;; Last modified Thu Feb 1 22:34:57 1996 on nsr +;;; Last modified Fri Apr 5 17:56:43 1996 on supra ;;; $Id$ ;;;###autoload @@ -161,7 +161,9 @@ nil) ;if found in other frame (YaTeX-default-pop-window-height (split-window-calculate-height YaTeX-default-pop-window-height) - (pop-to-buffer buffer) + ;;(pop-to-buffer buffer) ;damn! emacs-19.30 + (select-window (next-window nil 1)) + (switch-to-buffer (get-buffer-create buffer)) (or select (select-window window))) (t nil))) ))) @@ -170,19 +172,19 @@ ;;;###autoload (defun split-window-calculate-height (height) "Split current window wight specified HEIGHT. -If HEIGHT is number, make new window that has HEIGHT lines. -If HEIGHT is string, make new window that occupy HEIGT % of screen height. +If HEIGHT is number, make a new window that has HEIGHT lines. +If HEIGHT is string, make a new window that occupies HEIGT % of screen height. Otherwise split window conventionally." - (if (one-window-p) + (if (one-window-p t) (split-window (selected-window) (max (min (- (screen-height) - (if (numberp YaTeX-default-pop-window-height) - (+ YaTeX-default-pop-window-height 2) + (if (numberp height) + (+ height 2) (/ (* (screen-height) - (string-to-int YaTeX-default-pop-window-height)) + (string-to-int height)) 100))) (- (screen-height) window-min-height 1)) window-min-height))) diff --git a/yatexmth.el b/yatexmth.el index a118b15..ae19979 100644 --- a/yatexmth.el +++ b/yatexmth.el @@ -2,7 +2,7 @@ ;;; YaTeX math-mode-specific functions. ;;; yatexmth.el rev.4 ;;; (c )1993-1995 by HIROSE Yuuji [yuuji@ae.keio.ac.jp] -;;; Last modified Thu Feb 1 13:04:16 1996 on supra +;;; Last modified Tue Apr 23 23:17:24 1996 on inspire ;;; $Id$ ;;; [Customization guide] @@ -254,7 +254,7 @@ ("6" "partial" (" -+\n+-+\n+-+" YaTeX-image-partial)) ("partial" "partial" (" -+\n+-+\n+-+" YaTeX-image-partial)) ("round" "partial" (" -+\n+-+\n+-+" YaTeX-image-partial)) - ("[]" "box" "[]") + ("[]" "Box" "[]") ("Diamond" "Diamond" "/\\\n\\/") ("3" "triangle" "/\\\n~~") ("C" "clubsuit" " o\no+o\n |") @@ -522,7 +522,7 @@ (defun YaTeX-math-show-menu (match-str) (save-window-excursion - (pop-to-buffer YaTeX-math-menu-buffer) + (YaTeX-showup-buffer YaTeX-math-menu-buffer nil t) (let ((maxcols (max 1 (/ (screen-width) YaTeX-math-sign-width))) (case-fold-search nil) (cols 0) (list alist) command) diff --git a/yatexprc.el b/yatexprc.el index 86cfb4b..4a3c1ff 100644 --- a/yatexprc.el +++ b/yatexprc.el @@ -2,7 +2,7 @@ ;;; YaTeX process handler. ;;; yatexprc.el ;;; (c )1993-1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] -;;; Last modified Fri Feb 2 02:09:57 1996 on supra +;;; Last modified Fri Mar 29 00:15:35 1996 on inspire ;;; $Id$ (require 'yatex) @@ -328,15 +328,23 @@ (save-excursion (YaTeX-showup-buffer buffer (function (lambda (x) (nth 3 (window-edges x))))) - (set-buffer (get-buffer-create buffer)) + (let ((df default-directory)) ;preserve current buf's pwd + (set-buffer (get-buffer-create buffer)) ;1.61.3 + (setq default-directory df) + (cd df)) (erase-buffer) (if YaTeX-dos (call-process shell-file-name nil buffer nil YaTeX-shell-command-option command) - (set-process-buffer - (start-process - "system" buffer shell-file-name YaTeX-shell-command-option command) - (get-buffer buffer)))) + (if (and (get-buffer-process buffer) + (eq (process-status (get-buffer-process buffer)) 'run) + (not + (y-or-n-p (format "Process %s is running. Continue?" buffer)))) + nil + (set-process-buffer + (start-process + "system" buffer shell-file-name YaTeX-shell-command-option command) + (get-buffer buffer))))) ) (defvar YaTeX-preview-command-history nil