hoelzer / dfg

A LaTeX template for a basic DFG (Deutsche Forschungsgemeinschaft, German Research Foundation) grant proposal.
GNU General Public License v3.0
69 stars 44 forks source link

change in paragraph environment remain after the work package sections #44

Open nise opened 1 year ago

nise commented 1 year ago

After adding the "WP" prefix to the \paragraph headings in dfg.tex the following \subsubsubsection also contain the prefix, because the \subsubsubsection definition is based on \paragraph. As a result I see, for instance, travel expenses with the "WP" prefix.

Definition in the proposal.sty:

\newcommand{\subsubsubsection}[1]{\paragraph{#1} \mbox{} \par}
\setcounter{secnumdepth}{5}

Before the work package section in dfg.tex: \renewcommand{\theparagraph}{WP\,\arabic{paragraph}}

After the work package section something like \renewcommand{\theparagraph}{\arabic{paragraph}} is missing. The letter code line adds numbering to the heading but only on the first level. If one needs section level 4 (e.g. 1.4.1.2 Foo Bar) another solution needs to be found.

hoelzer commented 1 year ago

Hey @nise , thanks for reporting! I can't promise when I will find time to look into that. If you find a solution, please feel free to send a PR. Thanks!