TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am lazy to type the following



every time I want to start drawing with PSTricks.

I am using TeXnicCenter and it provides its own templates. Shortly speaking, can I install my own templates such that they are available from TeXnicCenter?

share|improve this question
This isn't really an answer to your question (I'm not sure TeXnicCenter can do what you ask) but why don't you keep this template of yours somewhere safe (in a dedicated directory) and use it as a basis for producing a new document? Wouldn't that be enough? – Jubobs Oct 6 '13 at 16:39
@Jubobs: It is what I usually do everyday. I made the template read only so I have to save the copy of it with another name before start drawing. But I want a smarter way. :-) – kiss my armpit Oct 6 '13 at 16:40
Have you checked this: texniccenter.sourceforge.net/doctemplates.html – papabravo Oct 6 '13 at 16:41
Do you use Linux? You can create a script to open the editor with the template. I did one and just type on terminal fastex and then it opens TeXstudio with the same file to make tests. – Sigur Oct 6 '13 at 18:28
@Sigur: I am a Windows user. – kiss my armpit Oct 6 '13 at 18:32
up vote 5 down vote accepted

Yes, this can certainly be done.

Step 1

Create a directory anywhere you like that will contain your templates. In theory you could probably use the TeXnicCenter default directory (in Program Files) but this may get overwritten when you update, so I would therefore recommend something like


Within this directory, you must create sub-directories that will give TeXnicCenter the details to create a tab when you go to insert the templates. I have used


in the below, but you could use what you like. Now you can put your templates (mypstrickstemplate.tex, mytikztemplate.tex, etc) file in this directory.

Step 2

Go to Tools->Options->Directories and click Add under the Document template directories


Using the template

When you want to use the template, simply go to File-> New-> File from template

enter image description here


share|improve this answer

Your Answer


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.