1

Dear fellow LaTex experts, do you see any redundant or conflicting commands, or bad practices?

(E.g. wrt package loading order? Or, it should be possible to remove a4paper from geometry (since it is a global option), and setspace/setstretch{1} is not doing anything afaik..)

The template should meet guidelines described on pages 35-36 of this guide, particularly regarding margins and font sizes.

(Please note I'm fine with footnotes being 9pt instead of 8pt.)

\documentclass[a4paper,11pt,english]{article}
\usepackage{microtype}
\usepackage{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{eurosym}
\usepackage{lastpage}
\usepackage{xspace}
\usepackage[a4paper,
                margin=15mm,
                headsep=4mm,
                footskip=7mm]
                {geometry}
\usepackage{fancyhdr}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{array}
\usepackage[usenames,
                dvipsnames,
                table]
                {xcolor}
\usepackage{csquotes}
\usepackage{pgfgantt}
\usepackage[nohyperlinks,
                nolist]
                {acronym}
\usepackage[stable]{footmisc}
\usepackage[skip=\medskipamount]{parskip}
\usepackage{bookmark,pdfpages}
\usepackage[compact]{titlesec}
\usepackage[giveninits=true,
                doi=false,
                isbn=false,
                url=false,
                eprint=false,
                backend=bibtex,
                style=verbose-trad2]
                {biblatex}
\ExecuteBibliographyOptions[online]{eprint=true}
\renewcommand*{\multicitedelim}{\enskip\textbullet\enskip}
\bibliography{biblio}
\usepackage{hyperref}
\hypersetup{
    pdftitle={H2020-MSCA-IF-2020},    % title
    pdfauthor={},
    colorlinks=true,
    citecolor=black,
    linkcolor=black,
    urlcolor=black
  }
\usepackage{amsfonts,amsmath,amssymb}
\usepackage{soul} % for smarter (word-wrapping) underlining
\setul{1pt}{.4pt} % 1pt below contents
\usepackage{enumitem}
\usepackage{pifont}
\usepackage{cleveref}
\crefname{section}{§}{§§}
\Crefname{section}{§}{§§}
%\usepackage{helvet}
%\renewcommand{\familydefault}{\sfdefault}
\usepackage{etaremune}
\titleformat*{\section}{\large\bfseries}
\titleformat*{\subsection}{\normalsize\bfseries}
\titleformat*{\subsubsection}{\normalsize\itshape}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[C]{\small \ac{PropAcronym}\xspace\xspace - GF}
\fancyfoot{}
\fancyfoot[C]{\small Part B - Page \thepage~of \pageref*{LastPage}}
\renewcommand{\headrulewidth}{0pt}
\usepackage{setspace}
\setstretch{1}

\begin{acronym}
\acro{IF}{Individual Fellowship}
\acro{PropAcronym}[SHORT]{Long title}
\end{acronym}

\begin{document}
\acused{PropAcronym}

\include{doc1}
\include{doc2}

\end{document}
  • 1
    Regarding package loading order: hyperref should (with a few exceptions) be the last package in the preamble. – leandriis Sep 6 at 7:34
  • 1
    You should not need eurosym. The \texteuro command is now in the kernel, and the symbol is in the TS1 encoding. – Davislor Sep 6 at 9:01
  • I would use the modern toolchain, with fontspec and unicode-math in LuaLaTeX, when I can, and legacy 8-bit fonts when I have to. – Davislor Sep 6 at 9:03
  • 1
    You probably do not need amsfonts if you loaded amssymb. – Davislor Sep 6 at 9:03
  • 1
    \xspace\xspace xspace is doing nothing useful in such a context (and two consecutive \xspace never does anything useful) – David Carlisle Sep 6 at 9:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.