LaTeX forum ⇒ Templates, Wizards & ToolsDiffference between documents, files, & projects

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

Diffference between documents, files, & projects

Postby steven_nevets » Sun Mar 08, 2015 11:38 pm

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.

Posts: 1
Joined: Wed Mar 11, 2015 10:16 pm

Postby mbirgen » Wed Mar 11, 2015 10:32 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
  1. \documentclass{article}
  2. \usepackage{amsmath}
  4. \begin{document}
  5. First Exam \hfill Name: \hspace{2in}
  7. \include{Exam1}
  8. \end{document}

and then exam1.tex might be something like
  1. \begin{enumerate}
  2. \item Pat your head and rub your tummy.
  3. \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.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8596
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany

Postby Stefan Kottwitz » Thu Mar 12, 2015 12:22 am

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.

Site admin

Return to “Templates, Wizards & Tools”

Who is online

Users browsing this forum: No registered users and 1 guest