Parcourir la source

Title in header

Horea Christian il y a 4 mois
Parent
commit
b4c2a851f5
2 fichiers modifiés avec 5 ajouts et 2 suppressions
  1. 3 0
      publishing/article-frontiers.tex
  2. 2 2
      publishing/article/header.tex

+ 3 - 0
publishing/article-frontiers.tex

@@ -10,6 +10,9 @@
         \textsuperscript{1}\institution{Center for Open Neuroscience, Department of Psychological and Brain Sciences, Dartmouth College}
 }
 \date{}
+\makeatletter
+\let\mytitle\@title
+\makeatother
 \begin{document}
 \linenumbers
 \maketitle

+ 2 - 2
publishing/article/header.tex

@@ -37,7 +37,6 @@
 %VARIABLES
 %set up a more stable buffers (the normal ones gets blanked after the titlepage is invoked)
 \makeatletter
-%\let\mytitle\@title
 \let\myauthor\@author
 \let\mydate\@date
 \makeatother
@@ -52,7 +51,8 @@
 	\lhead{}
 	%\chead{\small\textsf{\textcolor{Gray}{\mytitle}}}
 	%\chead{\small\textsf{\textcolor{Gray}{LALA}}}
-	\chead{\small\textsf{\textcolor{Gray}{\thetitle}}}
+	%\chead{\small\textsf{\textcolor{Gray}{\thetitle}}}
+	\chead{\small\textsf{\textcolor{Gray}{\mytitle}}}
 	\rhead{}
 
 	\lfoot{}