{-# LANGUAGE QuasiQuotes #-} module Headfoot (latexhead ,latexfoot ,htmlhead ,htmlfoot) where import Data.String.Here latexhead :: [Char] latexhead = [here| \documentclass[11pt, a4paper, fleqn]{article} \usepackage[a4paper , hscale=0.75 , vscale=0.75 , vcentering , hcentering ]{geometry} \pagestyle{plain} \usepackage{metalogo} \usepackage{fontspec} \usepackage{textcomp} \setlength{\mathindent}{0 cm} \setlength{\parindent}{0 cm} \setlength{\parskip}{7pt plus 1pt minus 1pt} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[noorphans,font=itshape]{quoting} \usepackage{fancyvrb} \fvset{fontsize=\footnotesize,fontshape=b} \setmainfont{STIX Two Text} \usepackage{cprotect} \RequirePackage[hyphens]{url} \usepackage{hyperref} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} \thispagestyle{empty} |] ++ "\n\n" latexfoot :: [Char] latexfoot = [here| \end{document} |] htmlhead :: [Char] htmlhead = [here| ***TITLE***
|] ++ "\n\n" htmlfoot :: [Char] htmlfoot = "\n" ++ [here|
|]