% User guide: http://mirrors.ctan.org/macros/latex/contrib/bookcover/bookcover.pdf

\documentclass[
    coverwidth=175mm,
    coverheight=270mm,
    spinewidth=25mm,
    markcolor=black,
   %trimmed % Show only trimmed part!
    ]{bookcover}

%\bookcovertrimmedpart{front} % Trimmed part is the front cover
%\bookcovertrimmedpart{back} % Trimmed part is the back cover
%\bookcovertrimmedpart{spine} % Trimmed part is the spine

\usepackage[french]{babel}
\usepackage{lipsum,microtype}
\usepackage{boxedminipage}

\begin{document}

% ----------------------------------------------------------------------
% Outside cover
% ----------------------------------------------------------------------

\begin{bookcover}


% Title on the spine
\bookcovercomponent{center}{spine}{
  \rotatebox[origin=c]{+90}{\large\bfseries
    ACADÉMIE de LYON -- MÉMOIRES 4\ieme{} série, TOME 26 -- ANNÉE 2026
        }}

% Text and picture on the front cover
\bookcovercomponent{normal}{front}[22mm,20mm,22mm,40mm]{
    \centering
    {\huge\bfseries MÉMOIRES DE L'ACADÉMIE\\[8mm]}
    %{\Large\bfseries des}\\[8mm]
    {\Large\bfseries DES SCIENCES, BELLES-LETTRES ET ARTS}\\[8mm]
    {\Large\bfseries DE LYON}
    \vfill
    \begin{center}
      \begin{boxedminipage}{12.6cm}
        \includegraphics[width=\linewidth]{./figures/academie.jpg}
        %\includegraphics[width=\linewidth]{./figures/812.jpg}
      \end{boxedminipage}
    \end{center}
    \vfill
    {\Large\bfseries 4\ieme{} série}\\[3mm]
    {\Large\bfseries TOME 26}\\[3mm]
    {\Large\bfseries 2026}\\[3mm]
    }

% Text on the back cover
\bookcovercomponent{normal}{back}[22mm,10mm,22mm,30mm]
{
  \vspace*{3cm}
   
  \begin{boxedminipage}{\linewidth}
    \vspace*{3mm}
    \begin{center}
      \begin{minipage}{0.93\linewidth}
        \large\input{textear}
    \end{minipage}
  \end{center}
  \vspace*{0.4mm}
\end{boxedminipage}
\vspace*{2.5cm}
\begin{center}
  \begin{minipage}{5cm}
    \includegraphics[width=\linewidth]{./figures/athen.jpg}
  \end{minipage}
\end{center}

  \vfill
    \begin{flushright}
      \textsc{\Large ISSN 07678975\\[1.5mm]
      \large \textcopyright{} Académie des Sciences, Belles-Lettres et
      Arts de Lyon}
    \end{flushright}
  }
%  \bookcovercomponent{ruler}{front}{,upperleft,black}
\end{bookcover}

% ----------------------------------------------------------------------

\end{document}
