Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When I am writing in LaTeX sometimes it happens that I have to use a single word like neutrino and it may come several times in my report. Can you suggest me any package which, if I write say ne then from memory it will suggest me that it means "neutrino" like in Microsoft office.

share|improve this question
    
If you are using Emacs you may try the predictive mode emacswiki.org/emacs/PredictiveMode –  Ludovic C. Aug 20 '13 at 10:34
    
This depends on the editor's facilities; no LaTeX package can influence the way you type the document. –  egreg Aug 20 '13 at 11:09
add comment

1 Answer

You can always set up a macro and then use it to recall the whole word. For example:

\newcommand{\ne}{neutrino}

and then every time you type \ne{} you'll get the word neutrino in your output.

Or, as mentioned by daleif, you can also use the xspace package and then write:

\newcommand{\ne}{neutrino\xspace}

so you just need to type \ne to get neutrino with the proper spacing without the need of the {} after \ne

share|improve this answer
    
add xspace and \xspace that helps. Though I'd rather that the OP wrote newtrino having short cuts all over the source makes it a lot harder to read. –  daleif Aug 20 '13 at 10:41
    
Thanks for the recommendation @daleif, it's actually very helpful –  Mario S. E. Aug 20 '13 at 10:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.