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