hoelzer / dfg

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

Add DFG template version to header #37

Closed hoelzer closed 2 years ago

hoelzer commented 2 years ago

@gituser789 wrote: Does is make sense to add the template version DFG-Vordruck 53.01 - 03/22 to the latex-edition in the header? This is not present at the moment. But may useful? What do you think?

https://user-images.githubusercontent.com/62549000/186090134-ade88f27-f06a-467a-8f96-8cb2bb6b014e.png

hoelzer commented 2 years ago

Yeah, I think that makes sense. Then it would always be clear on which original DFG template version the LaTeX template is based on.

So far, I have documented the version in the README.md (https://github.com/hoelzer/dfg) but having it in the template would be even better and more clear.

It would be nice if this can be easily deactivated when the document is ready for submission. Maybe we can integrate it by getting the information in the header automatically deactivated when

https://github.com/hoelzer/dfg/blob/master/dfg.tex#L14

is set to true?

gituser789 commented 2 years ago

a solution is adding \ifthenelse{\boolean{finalcompile}}{\ihead*{DFG 53.01 - 03/22}}{} to the main-document dfg.tex and dfg-german.tex after the boolean finalcompile is set.

This solution has a disadvantage:

What do you guess?

hoelzer commented 2 years ago

Ah I see. Thanks for the suggestion. I think that's a pragmatic solution and I can live w/ having the definition outside of the proposal.sty.

hoelzer commented 2 years ago

@gituser789 can you please have a look here? https://github.com/hoelzer/dfg/pull/39