## LaTeX forum ⇒ TeXworks ⇒ Recognize commands

Information and discussion about TeXworks, an integrated LaTeX environment for several platforms
ozzy91
Posts: 5
Joined: Sun Feb 21, 2016 2:27 pm

### Recognize commands

When i am using sharelatex.com for example if type
\sec then the system automatically recognize that i want to have a \section and if i press enter i get \section in my compiler.

When i am using Texworks this doesn't happen. For example if want the \section by typing \sec it doesn't recognize \section and therefor i have type the whole command.

It would be nice if this recognize function is also avaible in a offline latex compiler. Do you guys know if Texworks support this funtionality and how i could make use of it? Or is there a other compiler that supports this funtionality?
I have installed texworks with miktex 2.9

Johannes_B
Site Moderator
Posts: 3584
Joined: Thu Nov 01, 2012 4:08 pm
There are several editors that support that feature, but think a minute about it.

How long do you need to type `\sec<enter>` and how long to type `\section`. Now think about your average typing tempo of normal text. Usually i think, look out the window, start writing, pause, think again, .... And a few minutes later i have written a paragraph of text or only just one sentence. Wow, aut completion has saved me 1 second out of ten minutes. Yeah.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Stefan Kottwitz
Posts: 8529
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
I use TeXworks too, but I have seen this auto-completion feature in Kile and in TeXnicCenter. I don't worry about typing commands. The backslash is the hardest the command is quickly typed. I see a benefit in auto-completing braces and environments though.

Stefan

aj_
Posts: 2
Joined: Mon Nov 28, 2016 11:04 pm
Hi,

Texworks does Support Code completion.

For example:

http://tex.stackexchange.com/questions/ ... n-texworks

Just search for Code completion.

Sorry I'm in a hurry.