File based Document Templates

File based Document Templates are the most easiest to create document templates. Document templates of this type will be marked wit the following icon in the 'Project New' dialog:

A file based document template is a simple file with the extension ".tex" which is placed in one of the template directories, specified in the path options.

Such a file can contain an optional description, that will be displayed in the template description field of the 'Project New' dialog, when the template has been selected by the user. To create such a description, simply place a line beginning with the text %description: followed by a blank at the top of the template file.

When creating a project based on a file based document template, TeXnicCenter will copy the selected template file to the project's directory, rename it to the project's name, remove the description line (if there is one) and replace the line delimiters with the ones, specified in the 'Project New' dialog.

An Example:

A very simple example for a document template:

%description: An article with a title page

% Preamble
\documentclass{article}

\title{Insert the title here}
\author{Insert the author here}

% Document
\begin{document}
% create title page and toc
\maketitle\thispagestyle{empty}\clearpage
\tableofcontents\clearpage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% beginning of text

\end{document}