1
0
pandoc-rendu/header/header.tex

43 lines
916 B
TeX

% Original work by Clément 'wxcafé' Hertling
%\documentclass[a4paper,12pt]{article}
\usepackage[french]{babel}
\usepackage[left=3cm, right=3cm, top=3cm, bottom=3cm]{geometry}
\usepackage{alltt,graphicx}
\usepackage{fancyhdr}
\usepackage[utf8]{inputenc}
\usepackage{multicol}
\author{\input{authors}}
\date{\today}
\newread\titleread
\openin\titleread=title
\read\titleread to \titlefirstline
\closein\titleread
\hypersetup{
colorlinks=true,
linkcolor=black,
citecolor=black,
filecolor=black,
urlcolor=black,
pdftitle=\titlefirstline,
pdfkeywords=https://git.wxcafe.net/wxcafe/pandoc-rendu,
}
\makeatletter
\let\theauthor\@author
\let\thedate\@date
\makeatother
\pagestyle{fancy}
\fancyhf{}
\lhead{\textsc\theauthor}
\rhead{\textsc My School | My Class}
\renewcommand{\headrulewidth}{.5pt}
\renewcommand{\footrulewidth}{.5pt}
\rfoot{\textbf{\thepage}}
\newcommand{\q}[1]{\textit{#1}\\}