## LaTeX forum ⇒ Templates, Wizards & Tools ⇒ Diffference between documents, files, & projects

Information and discussion about TeXnicCenter document/project templates and wizards and other tools and extensions for TeXnicCenter
steven_nevets
Posts: 9
Joined: Wed Mar 02, 2011 11:51 pm

### Diffference between documents, files, & projects

From the File tab in the menu, one can open a 'File' or 'Project'. In the folder C:\Program Files\TeXnicCenter\Templates, one finds two folders: 'Documents' and 'Projects'. What is the difference between files, documents, and projects in TeXnicCenter? In particular, I don't understand the function of a TeXnicCenter 'Project'. Thanks for any clarification.

mbirgen
Posts: 1
Joined: Wed Mar 11, 2015 10:16 pm
I can help with your last question:
In particular, I don't understand the function of a TeXnicCenter 'Project'.

A project consists of a main file with a bunch of other, related files. What makes it special is that, after working with them, you get the impression that TeXnicCenter would really rather you make things projects. For example, I have a project called CalculusExams. The main file for this project includes the information on document class, formatting, etc., as well as the stuff I want on the first page of every Calculus Exam. Then, I have other files called Exam1.tex, Exam2.tex, . . . I then import these into the main document using either \input{} or \include{}.

For example the project may have a main file CalculusExams.tex
\documentclass{article}\usepackage{amsmath} \begin{document}First Exam \hfill Name: \hspace{2in} \include{Exam1}\end{document}

and then exam1.tex might be something like
\begin{enumerate}\item Pat your head and rub your tummy. \end{enumerate}

Both CalculusExams.tex and Exam1.tex are files, but the project is all of the package.

What makes Projects special is that I can be happily working on making Exam2.tex more comprehensive and then ask for everything to be compiled. The reason I know we should be working in projects is because F7 compiles the project, while CTRL F7 compiles the file that is currently open.

Stefan Kottwitz
Posts: 9104
Joined: Mon Mar 10, 2008 9:44 pm
Hi mbirgen,

welcome to the forum!

Thank you for the explanation. I used projects in a similar way with Kile, now I do all with TeXworks.

Stefan