aboutsummaryrefslogtreecommitdiff
path: root/_extensions/ruc-play/stylish-report/title.tex
blob: e7dcedfd1165ae59ee7a407a9746730396bba2bc (plain)
  1. $if(title)$
  2. \title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
  3. $endif$
  4. $if(subtitle)$
  5. \usepackage{etoolbox}
  6. \makeatletter
  7. \providecommand{\subtitle}[1]{% add subtitle to \maketitle
  8.   \apptocmd{\@title}{\par {\large #1 \par}}{}{}
  9. }
  10. \makeatother
  11. \subtitle{$subtitle$}
  12. $endif$
  13. $-- This supports Quarto's authors normalization
  14. \usepackage{marvosym}
  15. \usepackage{authblk,academicons}
  16. %\renewcommand*{\Authand}{ og }
  17. %\renewcommand*{\Authands}{ og }
  18. \renewcommand*{\Authsep}{\authorcr}
  19. \renewcommand*{\Authand}{\authorcr}
  20. \renewcommand*{\Authands}{\newline} %%new line after each author
  21. \renewcommand{\Affilfont}{\small}
  22. \newcommand*{\orcid}[1]{\href{https://orcid.org/#1}{\textcolor[HTML]{A6CE39}{\aiOrcid}}}
  23. \newcommand*{\rorid}[1]{\href{https://ror.org/#1}{\aiROR}}
  24. $for(by-author)$
  25. $if(it.metadata.credit.supervision)$
  26. $else$
  27. \author[$for(it.affiliations)$$it.number$$sep$,$endfor$$if(it.attributes.equal-contributor)$,\YinYang$endif$$if(it.attributes.corresponding)$,∗$endif$]{%
  28. $if(it.url)$%
  29. \href{$it.url$}{%
  30. $endif$%
  31. $it.name.literal$%
  32. $if(it.metadata.alternate)$%
  33. \ ($for(it.metadata.alternate)$$it$$sep$,$endfor$)%
  34. $endif$%
  35. $if(it.url)$%
  36. }%
  37. $endif$%
  38. $if(it.orcid)$%
  39. \,\orcid{$it.orcid$}%
  40. $endif$%
  41. }
  42. $endif$
  43. $endfor$
  44. $for(by-author)$
  45. $if(it.metadata.credit.supervision)$
  46. \author[$for(it.affiliations)$$it.number$$endfor$]{%
  47. \vspace{1em}
  48. Vejleder:
  49. $if(it.url)$%
  50. \href{$it.url$}{%
  51. $endif$%
  52. $it.name.literal$%
  53. $if(it.metadata.alternate)$%
  54. \ ($for(it.metadata.alternate)$$it$$sep$,$endfor$)%
  55. $endif$%
  56. $if(it.url)$%
  57. }%
  58. $endif$%
  59. $if(it.orcid)$%
  60. \,\orcid{$it.orcid$}%
  61. $endif$%
  62. }
  63. $endif$
  64. $endfor$
  65. $for(by-affiliation)$
  66. \affil[$it.number$]{%
  67. $it.name$%
  68. $if(it.department)$%
  69. \\$it.department$%
  70. $endif$%
  71. $if(it.ror)$%
  72. \,\rorid{$it.ror$}%
  73. $endif$%
  74. }
  75. $endfor$
  76. $if(some-author-has.attributes.equal-contributor)$
  77. \affil[\YinYang]{Disse forfattere bidrog ligeværdigt til dette arbejde.}
  78. $endif$
  79. $if(some-author-has.attributes.corresponding)$
  80. $for(by-author)$
  81. $if(it.attributes.corresponding)$%
  82. \affil[]{Korresponderende forfatter: \href{mailto:$it.email$}{$it.email$}}
  83. $endif$
  84. $endfor$
  85. $endif$
  86. \date{$date$}