TeXworksRecognize commands

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

Recognize commands

Post by ozzy91 »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Recognize commands

Post by Johannes_B »

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.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10311
Joined: Mon Mar 10, 2008 9:44 pm

Re: Recognize commands

Post by Stefan Kottwitz »

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
LaTeX.org admin
aj_
Posts: 2
Joined: Mon Nov 28, 2016 11:04 pm

Recognize commands

Post by aj_ »

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.
Post Reply