Tell me more ×
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.

I am interested in saving a Latex template (that I wrote) so that I can use it via the "create new from template" file option. Can anyone tell me where I need to save this template in order to do this?

I am using a Mac OSX with Lion installed.

share|improve this question
1  
Welcome to TeX.SE. Depends on which editor you are using: TeXShop/\TeXworks, something else? The place is ~/Library/... rest depends on the editor. – Peter Grill Nov 15 '12 at 2:25

2 Answers

up vote 3 down vote accepted

For TeXworks to access a template via File → New from Templates place it under:

Library/TeXworks/templates/

For TeXShop, to access the files from File → New from Stationary, place the file under:

TeXShop/Stationery/
share|improve this answer
This worked perfectly (I am using TexWorks). Thank you very much! – david Nov 16 '12 at 3:37
Hi @Peter Grill, I tried this but my file does not appear in the Select Source window that pops up after I choose File->New From Stationary. Do I have to save the file as a special format or something first? I'm on OSX Lion, using TeXShop v. 3.11. – ruya Feb 10 at 19:14

For TexMaker, create your template and save it in a convenient folder or directory. Now you just load it with File → New by Copying an Existing File menu selection. You now have a copy of the template which you now save with an appropriate file name in the proper location for this new file.

share|improve this answer
You must have a new version, as I don't see a File-New by Copying and Existing File option. I am using TeXworks 4.4. Did you perhaps mean File-Open? – Peter Grill Nov 15 '12 at 3:09
1  
@doncherry: Opppsss, deleting comments shortly... I blame David Carlise for this, he taught me that reading documentation is evil, and I extended it to questions and answers without realizing it. :-) – Peter Grill Nov 15 '12 at 4:08
I was trying to find out where to save the file...a "convenient folder" wasn't very clear :) – david Nov 16 '12 at 3:38

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.