Skip to content
README.md 3.1 KiB
Newer Older
Dirk Brömmel's avatar
Dirk Brömmel committed
[![pipeline status](https://repository.prace-ri.eu/git/latex-templates/prace-whitepaper/badges/master/pipeline.svg)](https://repository.prace-ri.eu/git/latex-templates/prace-whitepaper/-/commits/master) (compiling the example)
Dirk Brömmel's avatar
Dirk Brömmel committed

Dirk Brömmel's avatar
Dirk Brömmel committed
# LaTeX package for a PRACE white paper
Dirk Brömmel's avatar
Dirk Brömmel committed
(c) CSC - IT Center for Science Ltd.  
Dirk Brömmel's avatar
Dirk Brömmel committed
    original author: Martti Louhivuori (martti.louhivuori@csc.fi)  
(c) JSC/PRACE  
    Dirk Broemmel (prace-pmo@fz-juelich.de)

Please report any problems with this template to `prace-pmo@fz-juelich.de` or contribute directly to this repository.
Dirk Brömmel's avatar
Dirk Brömmel committed
The latest version of the required files is available as download: [PRACE-Whitepaper.tar.gz](https://repository.prace-ri.eu/git/latex-templates/prace-whitepaper/-/jobs/artifacts/master/raw/PRACE-Whitepaper.tar.gz?job=build-example).
Dirk Brömmel's avatar
Dirk Brömmel committed

Dirk Brömmel's avatar
Dirk Brömmel committed
## PURPOSE
Dirk Brömmel's avatar
Dirk Brömmel committed
Enable the writing of a PRACE project report in LaTeX with minimal typographical effort. Uses a pre-defined document class 'prace' that automatically sets the correct document style and layout as well as provides custom macros for the ease-of-use of the writer.
Dirk Brömmel's avatar
Dirk Brömmel committed
## FILES
Dirk Brömmel's avatar
Dirk Brömmel committed
`prace.cls`      : LaTeX document class  
Dirk Brömmel's avatar
Dirk Brömmel committed
`template.tex`   : PRACE white paper template  
Dirk Brömmel's avatar
Dirk Brömmel committed
`prace-logo.[pdf|eps|png]` : logo of PRACE (used by prace.cls)  
Dirk Brömmel's avatar
Dirk Brömmel committed
 
Dirk Brömmel's avatar
Dirk Brömmel committed
The `example` directory contains a full example:  
Dirk Brömmel's avatar
Dirk Brömmel committed
`example.tex` : example of a filled-in template  
Dirk Brömmel's avatar
Dirk Brömmel committed
`example.pdf` : example PRACE white paper  
`example.[eps|png]` : figure used in the example white paper  
Dirk Brömmel's avatar
Dirk Brömmel committed

## REQUIREMENTS
Some LaTeX packages are assumed to be present for this class to work: e.g. `siunitx` (for properly formatted numbers+units), `booktabs`, `iftex`, and `fancyhdr` (which should be updated at some point).  
To have fonts closely following Times New Roman, `pdflatex` requires `mathptmx` whereas `lualatex` or `xelatex` use `FreeSerif` via the `fontspec` package. 
Dirk Brömmel's avatar
Dirk Brömmel committed

## QUICK HOW-TO
1) copy `template.tex` to `yourname_yourproject.tex`
2) fill in all the required information in `yourname_yourproject.tex` using your favorite text editor
3) convert `.tex` to `.pdf`, e.g. `pdflatex yourname_yourproject`
4) send the resulting PDF to PRACE

Dirk Brömmel's avatar
Dirk Brömmel committed
## MACROS
```tex
\author[<affiliation>]{<name of the author>}
Dirk Brömmel's avatar
Dirk Brömmel committed
```
Defines the name and affiliation(s) of an author. The affiliation(s) should be given as a comma-separated list of integers corresponding to the order of \affiliation definitions.
Dirk Brömmel's avatar
Dirk Brömmel committed
```tex
\corresponding
Dirk Brömmel's avatar
Dirk Brömmel committed
```
Flags the following \author definition as the corresponding author.
Dirk Brömmel's avatar
Dirk Brömmel committed
```tex
\affiliation{<name and address>}
Dirk Brömmel's avatar
Dirk Brömmel committed
```
Defines the name and address of an affiliation. The syntax should be 'Name, Street, Postcode and City, Country'.
Dirk Brömmel's avatar
Dirk Brömmel committed
```tex
\email{<e-mail address>}
Dirk Brömmel's avatar
Dirk Brömmel committed
```
Defines the e-mail address of the corresponding author.
Dirk Brömmel's avatar
Dirk Brömmel committed
```tex
\doi{DOI}
```
Defines an already reserved DOI prior to producing the final version.

Dirk Brömmel's avatar
Dirk Brömmel committed
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 white paper.