%
% delvierre-template.tex
% Copyright 2026 Szoke Mark-Andor
%
% This file is part of the delvierre bundle.
% It may be distributed and/or modified under the conditions of the
% LaTeX Project Public License, either version 1.3c of this license or
% (at your option) any later version. The latest version of this license
% is in https://www.latex-project.org/lppl.txt.
%
\documentclass{delvierre}
\usepackage{lipsum}

% Keep manuscript-facing styling only
\setfrontmattertitlesize{\normalsize}
\setfrontmattervshift{10pt}
\setaftertitlewidevshift{-5pt}
\setarticletitlefontsize{15}{18}
\setauthorfontstyle{\sffamily\normalsize}
\setaffilfontstyle{\sffamily\small}
\setsectiontitlestyle{\large\sffamily\bfseries}
\setsubsectiontitlestyle{\normalsize\sffamily\bfseries}
\setsubsubsectiontitlestyle{\small\sffamily\bfseries}
\setdelvierremargins{1cm}{1cm}{1.20cm}{1.20cm}
\setheadheight{18pt}
\setheadsep{8pt}
\setfootskip{1.20cm}
\setbodyfootskipextra{0pt}
\setpagenumbervshift{0pt}
\setlength{\stripsep}{15pt plus 1pt minus 1pt}
\setmanuscriptruleskip{0.60cm}
\sethighlightslistopts{label=\textbullet,leftmargin=1.2em,topsep=0pt,itemsep=0.4pt,parsep=0pt,partopsep=0pt}
\setfrontmatterwidths{0.30\textwidth}{0.04\textwidth}
\setgraphabsmaxheight{7cm}
\setfirstpagefootnotesize{\tiny}
\setfirstpagefootskip{1.20cm}
\setfirstpagefooterraise{0pt}
\setfirstpagefootercleargap{0cm}
\setfirstpagefooterreserve{28pt}

% Remove journal branding / editorial-production elements for author package
\publisherlogo{}
\journallogo{}
\crossmarklogo{}
\crossmarkdomain{}
\articledoi{}
\publishername{}
\journaltagline{}
\journalname{}
\journalhomepage{}
\journalissn{}
\repositorylink{}
\recommendedby{}
\setrunningauthor{}
\setjournalinfo{}
\shorttitle{}
\received{}
\revised{}
\accepted{}
\published{}
\correspondingauthor{Alice Example}
\correspondingemail{alice@example.org}
\license{}{}

\makeatletter
\renewcommand{\Delvierre@Masthead}{}
\renewcommand{\Delvierre@ContentsBlock}{}
\renewcommand{\Delvierre@TitleRightCrossmark}{}
\renewcommand{\Delvierre@FirstPageNoteText}{%
  \begingroup
  \DelvierreFirstPageNoteSize
  \setlength{\parindent}{0pt}%
  \setlength{\parskip}{1pt}%
  \raggedright
  \hspace*{2em}\textit{Corresponding author:}~\@corrauthor.\par
  \hspace*{2em}\textit{E-mail address:}~\href{mailto:\@corremail}{\nolinkurl{\@corremail}}.
  \endgroup
}
\renewcommand{\Delvierre@PlaceFirstPageFooterOverlay}{%
  \Delvierre@ComputeFirstPageFooterRaiseEffective
  \AddToShipoutPictureFG*{%
    \AtTextLowerLeft{%
      \raisebox{\dimexpr-\footskip+\DelvierreFirstPageFooterRaise\relax}[0pt][0pt]{%
        \Delvierre@FirstPageFooter%
      }%
    }%
  }%
}
\renewcommand{\Delvierre@FrontMatter}{%
  \noindent
  \begin{minipage}[t]{\DelvierreFMLeftWidth}
    \Delvierre@HighlightsBlock
  \end{minipage}%
  \hspace{\DelvierreFMGap}%
  \begin{minipage}[t]{\DelvierreFMRightWidth}
    \Delvierre@GraphicalAbstractBlock
  \end{minipage}%
  \par\vspace{0.35cm}%
  \noindent
  \begin{minipage}[t]{\DelvierreFMLeftWidth}
    \Delvierre@ArticleInfo
  \end{minipage}%
  \hspace{\DelvierreFMGap}%
  \begin{minipage}[t]{\DelvierreFMRightWidth}
    \Delvierre@AbstractBlock
  \end{minipage}%
  \Delvierre@ManuscriptRule
}
\makeatother

\title{Lorem Ipsum Template for Demonstrating Delvierre Journal Layout Controls}

\author[1]{Alice Example \orcid{0000-0002-1825-0097}}
\author[2]{Bruno Sample \orcid{0000-0001-5109-3700}}
\author[3]{Clara Placeholder \orcid{0000-0003-1415-9265}}
\affil[1]{Example Institute of Typesetting, Example City, Country}
\affil[2]{Department of Placeholder Studies, Sample University, Country}
\affil[3]{Center for Dummy Data, Fictional Research Lab, Country}

\keywords{lorem ipsum; placeholder text; layout testing; bibliography balancing; masthead design}

\begin{abstract}
\lipsum[1]
\end{abstract}

\begin{graphicalabstract}
  \IfFileExists{graphical-abstract.png}{\includegraphics{graphical-abstract.png}}{\fbox{graphical-abstract.png (missing)}}
\end{graphicalabstract}

\begin{highlights}
  \item Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  \item Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
  \item Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.
  \item Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.
\end{highlights}


\begin{document}
\maketitle
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C]{\sffamily\scriptsize\thepage}
\fancypagestyle{plain}{%
  \fancyhf{}
  \renewcommand{\headrulewidth}{0pt}
  \fancyfoot[C]{\sffamily\scriptsize\thepage}%
}
\thispagestyle{empty}

\section{Introduction}\label{sec:intro}
\lipsum[2]

\section{Methods}\label{sec:methods}
\lipsum[3-7]

\section{Results}\label{sec:results}
\lipsum[8-9]

\section{Conclusion}\label{sec:concl}
\lipsum[10-11]

\begin{thebibliography}{99}
\bibitem{ref1}
\DelvierreBibHref{https://example.org/ref1}{A.~Example and B.~Sample, ``Lorem ipsum dolor sit amet in template design,'' \textit{Journal of Placeholder Studies}, \textbf{1} (2020) 1--10.}

\bibitem{ref2}
\DelvierreBibHref{https://example.org/ref2}{C.~Placeholder, ``Consectetur adipiscing elit for document testing,'' \textit{Example Systems}, \textbf{2} (2021) 11--19.}

\bibitem{ref3}
\DelvierreBibHref{https://example.org/ref3}{D.~Fiction and E.~Dummy, ``Sed do eiusmod tempor incididunt ut labore,'' \textit{Layout Letters}, \textbf{3} (2021) 20--28.}

\bibitem{ref4}
\DelvierreBibHref{https://example.org/ref4}{F.~Author, G.~Writer and H.~Editor, ``Ut enim ad minim veniam in journal templates,'' \textit{Mock Data Engineering}, \textbf{4} (2022) 29--38.}

\bibitem{ref5}
\DelvierreBibHref{https://example.org/ref5}{I.~Researcher, ``Quis nostrud exercitation ullamco laboris nisi ut aliquip,'' \textit{Transactions on Sample Text}, \textbf{5} (2022) 39--47.}

\bibitem{ref6}
\DelvierreBibHref{https://example.org/ref6}{J.~Typesetter and K.~Proof, ``Duis aute irure dolor in reprehenderit,'' \textit{Bulletin of Example Formatting}, \textbf{6} (2022) 48--57.}

\bibitem{ref7}
\DelvierreBibHref{https://example.org/ref7}{L.~Format, M.~Column and N.~Balance, ``Excepteur sint occaecat cupidatat non proident,'' \textit{Two-Column Review}, \textbf{7} (2023) 58--67.}

\bibitem{ref8}
\DelvierreBibHref{https://example.org/ref8}{O.~Margin and P.~Header, ``Sunt in culpa qui officia deserunt mollit anim,'' \textit{Proceedings of Placeholder Layouts}, (2023) 68--76.}

\bibitem{ref9}
\DelvierreBibHref{https://example.org/ref9}{Q.~Footer, R.~Logo and S.~Template, ``Integer nec odio praesent libero sed cursus,'' \textit{Journal of Dummy Composition}, \textbf{8} (2023) 77--85.}

\bibitem{ref10}
\DelvierreBibHref{https://example.org/ref10}{T.~Sample, U.~Example and V.~Draft, ``Nam nec ante sed lacinia urna non tincidunt,'' \textit{Example Research Notes}, \textbf{9} (2024) 86--95.}
\end{thebibliography}

\end{document}
