I'm working with TeXworks. It has some auto completions but not enough. How can I add some auto completion to it. Is there any way to add them from TeXmaker to TeXworks.

  • 1
    Related: tex.stackexchange.com/questions/118038/texworks-auto-complete See also code.google.com/p/texworks/wiki/CodeCompletion I don't have time at the moment, but I (or anyone else who wants to) can write a better answer later. Nov 15, 2013 at 7:25
  • I read (tex.stack ... auto-complete). Then I went to D:\programs\texlive\texmf-config\texworks\completion and change the tw-latex.txt. I insert some codes for "bb" similar to "bf" everywhere then save and close it. But It doesn't work. Nov 15, 2013 at 8:52
  • What exactly did you insert? Was TeXworks open at the time? If so you need to restart it. Nov 15, 2013 at 8:59
  • mbb:=\mathbb{#INS#} before mbf:=\mathbf{#INS#} and \mathbb{#INS#}\mbb:=\mathbb{#INS#} before \mathbf{#INS#}\mbf:=\mathbf{#INS#} Nov 15, 2013 at 9:06
  • Hm, worked fine here, in Kubuntu. If you in TeXworks choose Scripts --> Scripting TeXworks --> Show Scripts Folder, do you get the folder D:\programs\texlive\texmf-config\texworks\scripts? Nov 15, 2013 at 9:19

2 Answers 2


I collocated these in my discussion with Torbjørn T and this answer to find my way:

  1. You should open your TeXworks, choose Scripts--> Scripting TeXworks --> Show Scripts Folder.
  2. Then you will achieve folder like "C:\Users\user\TeXworks\scripts". You should go to Folder "C:\Users\user\TeXworks\completion" instead.
  3. TeXworks stores the completion data in a series of files called "tw-<name>.txt" here. You can edit related file i.e. add your completion with Notepad or create a new one for your self.(The format of work and some more is detailed here.)
  4. Then save and close it, restart your TeXworks and enjoy new completions.

The problem with a build folder can be avoided by changing the Bib(la)tex option from bibtex % to bibtex build/%. This should also be done with all other output files in the fields dvisp, Dvipdfm etc. This worked for me at least.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .