Re: [Vim-latex-devel] update: rough draft, tutorial
Brought to you by:
srinathava,
tmaas
From: Mikolaj M. <mi...@wp...> - 2003-05-29 17:45:50
|
On Wed, May 28, 2003 at 11:34:29PM +0530, Animesh N Nerurkar wrote: > Hi Miko, Hmm ^_^. Mikolaj or eventually Nick. > ------- vls.txt -------- > Now, your first exercise is complete. > >>> > handwork > >>> > Congratulations. > ------- vls.txt -------- > Errr... awfully sorry mikko, but i don't understand what you're attempting to > convey here... could you explain plz. ? > ------- vls.txt -------- There was "handiwork" - mispell. > thanks miko for those inputs, plz keep them coming, it really helps improve > the quality of the tutorial. Let's try: Now we have to write something more difficult. We need for it package. Packages vastly improve possibilities of LaTeX and LaTeX-Suite has great system of supporting packages. Add eg. amsmath (it extends math editing) in our document. Go to the \documentclass line and press 'o'. It opens new line. Now go to the packages menu: TeX-Suite>Packages>Supported and check if amsmath is supported. It is. Choose. Now you have: % File: % Created: czw maj 29 07:00 2003 C % Last Change: czw maj 29 07:00 2003 C % \documentclass[a4paper]{article} \usepackage[|]{amsmath}<++> \begin{document} \end{document} << cursor at | >> Now you can add some options. Look again in TeX-Suite>Packages menu. At the end are two new items: amsmath Options and amsmath Commands. Look into Options and choose one: tbtags. It will be inserted with comma, delete comma and press <C-J>. Press <CR>, you want to add new package. Oops, it is not supported. But you don't have write whole command (\usepackage{asdf}) just asdf<F5>, LaTeX-Suite complete it. Of course you don't have always use menu to insert declaration amsmath package. After <F5> LaTeX-Suite will check if this package is supported, and if so it will make all magic (add menus, highlighting for new environments, functions specific for package and so on). Things to remember/know: <F5> shortcut In texrc you can move Packages menu to menu bar. m. |