Commit 5913eede authored by Dirk Brömmel's avatar Dirk Brömmel
Browse files

Update to latest WORD template

The update includes a change of font, page dimensions and some
affiliation options as well as a different footer.
parent a96bd1ee
......@@ -39,25 +39,10 @@ Flags the following \author definition as the corresponding author.
```
Defines the name and address of an affiliation. The syntax should be 'Name, Street, Postcode and City, Country'.
```tex
\project{<project ID>}
```
Defines the project code of the PRACE project.
```tex
\email{<e-mail address>}
```
Defines the e-mail address of the corresponding author.
```tex
\tel{<telephone number>}
```
Defines the telephone number of the corresponding author. The syntax should be '+0-000-000-0000'.
```tex
\fax{<fax number>}
```
Defines the fax number of the corresponding author. The syntax should be '+0-000-000-0000'.
All these macros should be used in the pre-amble of the document, so that all the required information is defined before calling `\maketitle`. In the main body of the document you can use default LaTeX commands for sections, figures etc., but you should refer to the comments in the `template.tex` for further information regarding the required structure, syntax and nomenclature in a PRACE whitepaper.
No preview for this file type
%%% Partnership for Advanced Computing in Europe
%%% www.prace-ri.eu
%%%
%%% LaTeX example for a PRACE-RI whitepaper.
%%% LaTeX template for a PRACE whitepaper.
%%%
%%% (c) CSC - IT Center for Science Ltd.
%%% author: Martti Louhivuori (martti.louhivuori@csc.fi)
%%% author: Martti Louhivuori (martti.louhivuori@csc.fi)
%%%
%%% PRACE GENERIC LAYOUT; DO NOT CHANGE %%%
\documentclass{prace}
......@@ -12,6 +12,7 @@
% TITLE
\title{Example project report}
\date{xx.yy.zzzz}
% AUTHORS
\author[1]{First Author}
......@@ -23,9 +24,6 @@
\affiliation{Institute for Advanced Examples, Factlane 11, Nosuchcity 12345,
Someland}
% PROJECT ID
\project{012345}
% CONTACT INFORMATION
\email{second.author@example.com}
......@@ -50,9 +48,9 @@ blandit sit amet tortor.
% MAIN BODY
\section{Introduction}
This is an introductory section where some earlier
works\cite{scholes-DiscussFaradaySoc-70, mazurin-Phase-Separation-in-Glass-84}
works \cite{scholes-DiscussFaradaySoc-70, mazurin-Phase-Separation-in-Glass-84}
are cited like the one from Dimitriev and
Kashchieva\cite{dimitriev-JMaterSci-75}. Also relevant
Kashchieva \cite{dimitriev-JMaterSci-75}. Also relevant
background information is given as well as the goals of the project.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum
......@@ -122,24 +120,26 @@ blandit sit amet tortor.
We also include a bullet-point list to outline the workflow of a
program:
\begin{itemize}
\item initialise
\item start main loop
\begin{enumerate}
\item calculate something
\item write results to disk
\item check whether we should terminate
\end{enumerate}
\item finalise
\item initialise
\item start main loop
\begin{enumerate}
\item calculate something
\item write results to disk
\item check whether we should terminate
\end{enumerate}
\item finalise
\end{itemize}
On top of that, we also have some schematic pictures to explain something
(Fig.~\ref{fig: example}).
\begin{figure}
\includegraphics[width=0.4\textwidth]{example}\hfill{}
\includegraphics[width=0.4\textwidth]{example}\hfill{}
\caption{(a) Example picture for the first time; (b) the same picture
side-by-side with the first one.}
\label{fig: example}
\begin{center}
\includegraphics[width=0.4\textwidth]{example.png}\hfill{}
\includegraphics[width=0.4\textwidth]{example.png}
\caption{(a) Example picture for the first time; (b) the same picture
side-by-side with the first one.}
\label{fig: example}
\end{center}
\end{figure}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum
......@@ -180,19 +180,21 @@ this example we don't care to do so, but we do include a nice summary of the
main results in Table~\ref{tab: results}.
\begin{table}
\caption{Example table of project results.}
\label{tab: results}
\begin{tabular}{llll}
\toprule
\multicolumn{2}{c}{sample} & {} \\
\cmidrule(lr){1-2}
entry & set & {} time (s) & temperature (K) \\
\midrule
example 1 & a & 1 & 2 \\
{} & z & 3 & 4 \\
example 2 & i & 5 & 6 \\
\bottomrule
\end{tabular}
\begin{center}
\caption{Example table of project results.}
\label{tab: results}
\begin{tabular}{llll}
\toprule
\multicolumn{2}{c}{sample} & {} \\
\cmidrule(lr){1-2}
entry & set & {} time (s) & temperature (K) \\
\midrule
example 1 & a & 1 & 2 \\
{} & z & 3 & 4 \\
example 2 & i & 5 & 6 \\
\bottomrule
\end{tabular}
\end{center}
\end{table}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum
......@@ -237,10 +239,11 @@ Duis nec mauris et velit mollis aliquam, nullam posuere. Mauris at turpis sit
amet dui imperdiet lobortis, proin eu felis.
\section*{Acknowledgements}
This work was financially supported by the PRACE project funded in part
by the EUs 7th Framework Programme (FP7/2007-2013) under grant agreement
no. RI-283493. The work was achieved using the PRACE Research Infrastructure
resources at the CURIE (GENCI), the FERMI (CINECA), and the SuperMUC (LRZ)
This work was financially supported by the PRACE project funded in part
by the EU’s Horizon 2020 Research and Innovation programme (2014-2020)
under grant agreement 823767.
The work was achieved using the PRACE Research Infrastructure resources at
the CURIE (GENCI), the FERMI (CINECA), and the SuperMUC (LRZ)
supercomputers.
% REFERENCE LIST
......
File added
%%% Partnership for Advanced Computing in Europe
%%% www.prace-ri.eu
%%%
%%% LaTeX document class for a PRACE-RI whitepaper.
%%% LaTeX document class for a PRACE whitepaper.
%%%
%%% (c) CSC - IT Center for Science Ltd.
%%% author: Martti Louhivuori (martti.louhivuori@csc.fi)
%%% author: Martti Louhivuori (martti.louhivuori@csc.fi)
%%% (c) JSC/PRACE
%%% author: Dirk Broemmel (prace-pmo@fz-juelich.de)
%%%
%%% Requires: LaTeX2e
%%% geometry, graphicx, ifthen, booktabs
%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{prace}[2013/03/26 PRACE-RI Whitepaper class]
\ProvidesClass{prace}[2021/06/29 PRACE Whitepaper class]
\DeclareOption{onecolumn}{\OptionNotUsed}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions\relax
\LoadClass[a4paper]{article}
% default font-size for main body text of the current template is 10pt
\LoadClass[a4paper,10pt]{article}
% A4: 210x297mm - 20mm margins
% A4: 210x297mm - 25mm margins top, left, right, 20mm on bottom
\RequirePackage{geometry}
\geometry{text={170mm,257mm}, centering}
\geometry{a4paper, total={165mm,247mm},
left=25mm, top=25mm, right=25mm, bottom=20mm,
footskip=8mm
}
% select a font close to Times New Roman (this will depend on the TeX interpreter, more to come)
\RequirePackage{mathptmx}
\RequirePackage{siunitx}
\RequirePackage{graphicx}
\RequirePackage{ifthen}
\RequirePackage{booktabs}
% page numbering
\pagenumbering{arabic}
%\pagestyle{empty}
% default font
\renewcommand{\normalsize}{\fontsize{10}{11}\selectfont}
% date on bottom right, page number in the middle
\RequirePackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[L,C,R]{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C]{\thepage}
\fancyfoot[R]{\@date}
% default values
\def\projectname{}
\def\authortel{+0-000-000-0000}
\def\authorfax{+0-000-000-0000}
\def\authoremail{author@example.com}
% internal counters
......@@ -48,11 +61,8 @@
\setcounter{pracetmp}{0}
\renewcommand\thepracetmp{\alph{pracetmp}}
% project ID & author contact details
\newcommand\project[1]{\renewcommand\projectname{#1}}
% author contact details
\newcommand{\email}[1]{\renewcommand\authoremail{#1}}
\newcommand{\tel}[1]{\renewcommand\authortel{#1}}
\newcommand{\fax}[1]{\renewcommand\authorfax{#1}}
% tag corresponding author
\newif\if@iscorresponding
......@@ -64,15 +74,12 @@
\long\def\authorfootnote{%
\def\thefootnote{\fnsymbol{footnote}}%
\csname c@\@mpfn\endcsname 1\relax%
\xdef\@thefnmark{\thempfn}%
\protected@xdef\@thefnmark{\thempfn}%
\@footnotetext}
% corresponding author contact detail footnote
\def\authorcontact{%
\authorfootnote{Corresponding author.\\%
\indent\hspace{1ex}
tel. \authortel{}\hspace{1ex}
fax. \authorfax{}\hspace{1ex}
e-mail. \authoremail{}}
\authorfootnote{Corresponding author, %
e-mail: \authoremail{}}
}
% tmp flag
......@@ -148,7 +155,7 @@
\noindent\begin{minipage}{3cm}
\includegraphics[width=3cm]{prace-logo}
\end{minipage}
\begin{minipage}{11cm}
\begin{minipage}{10.5cm}
\centering%
Available on-line at www.prace-ri.eu\\\vspace{1em}
{\large\bfseries Partnership for Advanced Computing in Europe}
......@@ -204,7 +211,7 @@
\small
\noindent{\bfseries \abstractname}
\quotation}%
{\vspace{1em}\\{\small Project ID: \projectname}\\
{\vspace{1em}\\
\noindent\rule{\textwidth}{0.1pt}}
% no indentation for quotations
\renewenvironment{quotation}%
......
%%% Partnership for Advanced Computing in Europe
%%% www.prace-ri.eu
%%%
%%% LaTeX template for a PRACE-RI whitepaper.
%%% LaTeX template for a PRACE whitepaper.
%%%
%%% (c) CSC - IT Center for Science Ltd.
%%% author: Martti Louhivuori (martti.louhivuori@csc.fi)
%%% author: Martti Louhivuori (martti.louhivuori@csc.fi)
%%%
%%% Generic instructions:
%%% - follow the point-by-point instructions
......@@ -13,7 +13,7 @@
%%% - do NOT touch the generic layout between the following tags:
%%% %%% PRACE GENERIC LAYOUT; DO NOT CHANGE %%%
%%% %%% END OF PRACE GENERIC LAYOUT %%%
%%% - the paper should be 3-6 pages long
%%% - check any guidelines for the expected length of the paper
%%% - refer to 'example.tex' and 'example.pdf' for a practical example
%%%
%%% PRACE GENERIC LAYOUT; DO NOT CHANGE %%%
......@@ -24,6 +24,7 @@
% - use the name of your project
% - capitalise the first letter
\title{}
\date{xx.yy.zzzz}
% AUTHORS
% - include all people involved in the effort
......@@ -53,10 +54,6 @@
% \affiliation{Second affiliation, Address, City and Postcode, Country}
\affiliation{}
% PROJECT ID
% - use the ID of your project
\project{}
% CONTACT INFORMATION
% - give the email address of the corresponding author
%
......@@ -77,9 +74,9 @@
% MAIN BODY
%
% Write the report in the style of a journal article (i.e. Introduction,
% Methods, Results, Conclusions). The appropriate length of the paper
% is 3-6 pages (although there is no upper limit).
% Consider write the report in the style of a journal article (i.e. Introduction,
% Methods, Results, Conclusions). The appropriate length of the paper depends on the
% white paper in question (it may vary for SHAPE projects or more technical reports)
%
% In the report please describe:
% - goals of the project
......@@ -88,7 +85,7 @@
% - work done in the project, including
% - technical and algorithmic methods and programming techniques employed
% - use of profiling tools when applicable
% - use of numerical libraries when applicable
% - use of numerical libraries when applicable
% - machine(s) used for the work
% - results obtained
% - give quantitative measurements of the achieved performance
......@@ -104,7 +101,8 @@
% - capitalise only the first letter of headings
% - symbols denoting vectors and matrices should be in bold type
% - scalar variables should be in italics, i.e. enclosed within $$ in text
% - weights and measures should be expressed in SI units
% - weights and measures should be expressed in SI units, mind the non-breaking
% space between number+unit, preferrably use siunitx package
% - avoid footnotes if at all possible
% - collate acknowledgements in a separate section at the end of the
% article; do NOT include them on the title page, as a footnote etc.
......@@ -127,7 +125,8 @@
% FIGURES
% - all photographs, schemas, graphs, and diagrams are to be referred to
% as figures
% - line drawings should be goo quality scans or true electronic ouput
% - line drawings should be good quality scans or true electronic ouput,
% perferrably vector format
% - low-quality scans are not acceptable
% - lettering and symbols should be clearly defined either in the caption
% or in a legend provided as part of the figure
......@@ -240,11 +239,11 @@
% - names of PRACE machines and the corresponding sites and countries
% should be inserted to end of the general PRACE acknowledgement
\section*{Acknowledgements}
This work was financially supported by the PRACE project funded in part
by the EUs 7th Framework Programme (FP7/2007-2013) under grant agreement
no. RI-283493. The work was achieved using the PRACE Research Infrastructure
resources at [insert here machine names and the corresponding sites and
countries].
This work was financially supported by the PRACE project funded in part
by the EUs Horizon 2020 Research and Innovation programme (2014-2020)
under grant agreement 823767.
The work was achieved using the PRACE Research Infrastructure resources at
[insert here machine names and the corresponding sites and countries].
% REFERENCE LIST
% - use \thebibliography and \bibitems to enter references, no separate .bib
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment