Article View: comp.sys.next.programmer
Article #86Re: Another new V3.0 feature - Edit keyword completion
From: Robert D. Nicholson
Date: Sat, 31 Oct 1992 22:14
Date: Sat, 31 Oct 1992 22:14
304 lines
11417 bytes
11417 bytes
hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy)) writes:
>Is this an implementation of gnu-emacs' abbrev-mode (or M-Tab
>completion for known commands)?
>Someone should indeed make a list of hidden features available for
>those of us who can't get to the documentation.
>
>--
>Hardy
>-----
>Meinhard E. Mayer, Department of Physics, UC Irvine
>e-mail: hardy@golem.ps.uci.edu (preferred) or MMAYER@UCI.BITNET
Edit Word completion, this is a file by derek Beaty.
Stick this in ~/.editdict and you are away
abstract \\begin{abstract}\
+the abstract;\
\\end{abstract}
addcontentsline \\addcontentsline{+toc,lof,lot;}{+figure,table,section,etc.;}{+entry;}
address \\address{+return address; \\\\ \
+for a letter;}
addtocontents \\addtocontents{+toc,lof,lot;}{+text or commands;}
addtocounter \\addtocounter{+counter;}{+increment;}
addtolength \\addtolength{+length name;}{+delta;}
addvspace \\addvspace{+len;}
alph \\alph{+counter;}
annotate \\begin{annotation}\
+annotated text;\
\\end{annotation}
appendix \\appendix % Remaining sections are appendices.
arabic \\arabic{+counter;}
array \\begin{array}+[t,b];{+rcl;}\
+col 1; & +col 2; & +col 3; \\\\ \
\\end{array}
author \\author{+authors of the document;}
axiom \\begin{axiom}+[common name];\
+text of axiom;\
\\end{axiom}
begin \\begin{+environment;}\
+contents;\
\\end{+environment;}
bf {\\bf +text;}
bibitem \\bibitem+[label];{+citation key;} +bib item;
bibliography \\bibliography{+bib,files,for,bibtex;}
bibliographystyle \\bibliographystyle{+plain,unsrt,alpha,abbrv;} % This should not be in the preamble.
bigskip \\bigskip
cal {\\cal +caps only;}
caption \\caption+[list entry];{+text;}
center \\begin{center}\
+centered lines;\
\\end{center}
centering \\centering
changebar \\chgbarbegin\
+new lines;\
\\chgbarend
chapter \\chapter{+title of a chapter;}
cite \\cite+[notes];{+citation,keys,with,no,space;}
cleardoublepage \\cleardoublepage % Flush floats and go to new right page.
clearpage \\clearpage % Flush all floats and go to a new page.
closing \\closing{+Best regards,;}
conjecture \\begin{conjecture}+[common name];\
+something thought to be true;\
\\end{conjecture}
corollary \\begin{corollary}+[common name];\
+something true because of something else;\
\\end{corollary}
date \\date{+date to put on title page;}
defn \\begin{defn}+[common name];\
+definition;\
\\end{defn}
description \\begin{description}\
\\item[+name;] +descr;\
\\end{description}
displaymath \\begin{displaymath}\
+displayed equation, not numbered;\
\\end{displaymath}
document \\begin{document}\
+text;\
end{document}
documentstyle \\documentstyle[+11pt,fleqn,leqno,openbib,titlepage,twoside,twocolumn,etc;]{+article,report,letter,etc;}
dotfill \\dotfill
em {\\em +emphasized text;\\/}
end \\end{+environment;}
enumerate \\begin{enumerate}\
\\item +part of a numbered list;\
\\end{item}
epsffile \\begin{figure}[htbp]\
\\begin{center}\
\\leavevmode\\epsffile{+eps picture's filename;}\
\\caption{+the caption;\\label{fig:+filename;}}\
\\end{center}\
\\end{figure}
eqnarray \\begin{eqnarray}\
+\\lefteqn{left-aligned first line} \\\\; \
+left; & +center; & +right; \\\\ \
\\end{array}
equation \\begin{equation}\
+displayed equation, numbered;\
end{equation}
fbox \\fbox{+stuff to draw a box around;}
figure \\begin{figure}[htbp]\
\\begin{center}\
+insert eps or other figure here;\
\\caption{+the caption;\\label{fig:+filename;}}\
\\end{center}\
\\end{figure}
fill \\fill
flushbottom \\flushbottom % Stretch all pages to same length.
flushleft \\begin{flushleft}\
+flush left lines;\
\\end{flushleft}
flushright \\begin{flushright}\
+flush right lines;\
end{flushright}
fnsymbol \\fnsymbol{+counter;}
footnote \\footnote+[num];{+note;}
footnotemark \\footnotemark+[num];
footnotesize {\\footnotesize +text;}
footnotetext \\footnotetext+[num];{+text;}
frac \\frac{+numerator;}{+denominator;}
framebox \\framebox+[width][l,r];{+contents;}
fussy \\fussy % Be careful about page breaks.
glossary \\glossary{+str;}
hfill \\hfill
hrulefill \\hrulefill
hspace \\hspace{+length;}
huge {\\+huge,Huge; +text;}
hyphenation \\hyphenation{+patterns;} % Should be in preamble.
include \\include{+file name (omit extension);}
includeonly \\includeonly{+list,of,file,without,spaces;}
index \\index{+word;}
indexentry \\indexentry{+word;}{+page;} % You might want \\index instead!
input \\input{+file name; omit extension if .tex;}
it {\\it +italicized text;\\/}
item \\item+[tag];
itemize \\begin{itemize}\
\\item +text;\
\\end{itemize}
label \\label{+key to refer to elsewhere;}
large {\\+large,Large,LARGE; +text;}
lemma \\begin{lemma}+[common name];\
+something needed by another proof;\
\\end{lemma}
letter \\begin{letter}{+recipient name;\\\\ \
+address line; \\\\ \
+address line; }\
\\opening{Dear +whomever;:}\
+body of letter;\
\\closing{+Sincerely,;}\
\\cc{+other; \\\\ +recipients;}\
\\encl{+enclosed; \\\\ +documents;}\
\\end{letter}
linebreak \\linebreak+[0-4];
list \\begin{list}{+default label;}{+formatting declarations;}\
\\item +stuff;\
\\end{list}
listoffigures \\listoffigures % LaTeX puts the list of figures here.
listoftables \\listoftables % LaTeX puts the list of tables here.
makebox \\makebox+[width][l,r];{+contents;}
makeglossary \\makeglossary % Write glossary entries to .glo file.
makeindex \\makeindex % Write index entries to .idx file.
makelabels \\makelabels % This should be in the preamble
maketitle \\maketitle % LaTeX puts the title or title page here.
marginpar \\marginpar+[version for left margin];{+text to put in the margin;}
markboth \\markboth{+left page headings;}{+right page headings;}
markright \\markright{+right page headings;}
math \\begin{math}\
+in-line equation;\
\\end{math}
mbox \\mbox{+something not to break;}
medskip \\medskip
minipage \\begin{minipage}+[t,b];{+width;}\
+text;\
\\end{minipage}
newcommand \\newcommand{\\+cmd name;}+[arg cnt];{+body;}
newcounter \\newcounter{+name;}
newenvironment \\newenvironment{+env name;}+[arg cnt];{+begin text;}{+end text;}
newfont \\newfont{+name;}{+font info;}
newlength \\newlength{\\+name;}
newline \\\\+[len];
newpage \\newpage
newsavebox \\newsavebox{\\+name;}
newtheorem \\newtheorem{+name;}+[numbered like];{+label;}+[within];
nocite \\nocite{+citation keys;}
nofiles \\nofiles % Prevents writing of aux,glo,idx,lof,lot,toc
nolinebreak \\nolinebreak+[0-4];
nonumber \\nonumber % Don't number this equation.
nopagebreak \\nopagebreak+[0-4];
normalmarginpar \\normalmarginpar % Marginal notes have normal placement.
normalsize {\\normalsize +text;}
onecolumn \\onecolumn % Clear page and begin single-column text.
overline \\overline{+text;}
pagebreak \\pagebreak+[0-4];
pagenumbering \\pagenumbering{+arabic,roman;} % Start page numbers at 1.
pageref \\pageref{+key, from some \\label command;}
pagestyle \\pagestyle{+plain,empty,headings,myheadings;}
paragraph \\paragraph+[toc entry];{+title of a paragraph;}
parbox \\parbox+[t,b];{+width;}{+text;}
part \\part+[toc entry];{+title of a main division;}
proof \\begin{proof}\
+text of proof;\
\\end{proof}
prop \\begin{prop}+[common name];\
+something true, neither obvious nor significant;\
\\end{prop}
psfig \\begin{figure}[htbp]\
\\begin{center}\
\\leavevmode\\psfig{figure=+eps picture's filename;}\
\\caption{+the caption;\\label{fig:+filename;}}\
\\end{center}\
\\end{figure}
quotation \\begin{quotation}\
+extended quotation;\
\\end{quotation}
quote \\begin{quote}\
+short quotation, or series of them;\
\\end{quote}
raggedbottom \\raggedbottom % Let page height vary page-to-page.
raggedleft \\raggedleft
raggedright \\raggedright
raisebox \\raisebox{+raise;}+[above][below];{+text;}
ref \\ref{+key appearing in a \\label command somewhere;}
renewcommand \\renewcommand{\\+cmd name;}+[arg cnt];{+body;}
renewenvironment \\renewenvironment{+env name;}+[arg cnt];{+begin text;}{+end text;}
reversemarginpar \\reversemarginpar % Marginal notes get flipped.
roman \\roman{+counter;}
rule \\rule+[raise];{+width;}{+height;}
samepage \\samepage % Inhibit page breaks.
savebox \\savebox{\\+name;}+[width][l,r];{+text;}
sbox \\sbox{+name;}{+text;}
sc {\\sc +text to set in small CAPS;}
scriptsize {\\scriptsize +text;}
section \\section+[toc entry];{+title of a section;}
setcounter \\setcounter{+counter;}{+value;}
setlength \\setlength{\\+length name;}{+length;}
settowidth \\settowidth{\\+length name;}{+text to measure;}
sf {\\sf +text to set sans-serif;}
signature \\signature{+signature of; \\\\ +a letter;}
sl {\\sl +text to slant;\\/}
sloppy \\sloppy % Format paragraphs loosely
sloppypar \\begin{sloppypar}\
+paragraph to format loosely;\
end{sloppypar}
small {\\small +text to put in small letters;}
smallskip \\smallskip
stepcounter \\stepcounter{+counter;}
stretch \\stretch{+stretchability factor;}
subitem \\subitem +sub-item, for index;
subparagraph \\subparagraph+[toc entry];{+title of a sub-paragraph;}
subsection \\subsection+[toc entry];{+title of a sub-section;}
subsubitem \\subitem +sub- sub-item, for index;
subsubsection \\subsubsection+[toc entry];{+title of a sub- sub-section;}
tabbing \\begin{tabbing}\
+line \\= to \\= set \\= the \\= tabs \\kill\
+line \\> with \\> tabs \\\\;\
\\end{tabbing}
table \\begin{table}[htbp]\
+floating stuff;\
caption{+the caption;\\label{tab:+identification;}}\
\\end{table}
tableofcontents \\tableofcontents % LaTeX puts the table of contents here.
tabular \\begin{tabular}+[t,b];{+rcl;}\
+col 1; & +col 2; & +col 3; \\\\ \
\\end{tabular}
thanks \\thanks{+acknowledgements;}
thebibliography \\begin{thebibliography}\
\\bibitem+[label];{+citation key;} +bib item;\
\\end{thebibliography}
theindex \\begin{theindex}\
\\item +index item;\
\\subitem +index sub-item;\
\\subsubitem +index sub- sub-item;\
\\end{theindex}
thispagestyle \\thispagestyle{+plain,empty,headings,myheadings;}
thm \\begin{thm}+[common name];\
+something true and significant but not obvious;\
\\end{thm}
tiny {\\tiny +text;}
title \\title{+title of the document;}
titlepage \\begin{titlepage}\
+the title page;\
\\end{titlepage}
trivlist \\begin{trivlist}\
item[] +stuff;\
end{trivlist}
tt {\\tt +text to set in typewriter face;}
twocolumn \\twocolumn+[double col text]; % Begin double-column text on new page.
typein \\typein[\\+name to insert input;]{+message to print to get a line from the terminal;}
typeout \\typeout{+stuff to print when running LaTeX;}
underline \\underline{+text;}
usebox \\usebox{\\+name;}
value \\value{+counter;}
verb \\verb+|lit stuff|;
verbatim \\begin{verbatim}\
+literal text;\
\\end{verbatim}
verse \\begin{verse}\
+poetry;\
\\end{verse}
vfill \\vfill
vspace \\vspace{+length;}
Technical Details
Message-ID:
<1992Oct31.221454.7169@monu6.cc.monash.edu.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!swrinde!sgiblab!munnari.oz.au!bruce.cs.monash.edu.au!monu6!ede978eReferences:
<1992Oct29.172503.332@afs.com> <1992Oct30.181839.1378@nevada.edu> <61675@mimsy.umd.edu> <HARDY.92Oct30224423@golem.ps.uci.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!swrinde!sgiblab!munnari.oz.au!bruce.cs.monash.edu.au!monu6!ede978e From: ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson) Subject: Re: Another new V3.0 feature - Edit keyword completion Message-ID: <1992Oct31.221454.7169@monu6.cc.monash.edu.au> Organization: Monash University, Caulfield Campus References: <1992Oct29.172503.332@afs.com> <1992Oct30.181839.1378@nevada.edu> <61675@mimsy.umd.edu> <HARDY.92Oct30224423@golem.ps.uci.edu> Date: Sat, 31 Oct 1992 22:14:54 GMT Lines: 305