Comment insérer une image au-dessus du titre d'un ouvrage ? Voici un ECM, qui place l'image sur la page précédant celle de titre : Ouvrir dans l'éditeur Overleaf
\documentclass[a4paper, 11pt, latin]{scrartcl} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage[light, largesmallcaps]{kpfonts} \usepackage{graphicx} \usepackage{mwe} \usepackage{lipsum} \usepackage{hyperref} \usepackage[latin]{babel} \author{Gonzalo Ivanisevitch Shah} \date{\today} \title{Culinaria poneret usus, de rebus conditum} \hypersetup{ pdfauthor={Gonzalo Ivanisevitch Shah}, pdftitle={Culinaria poneret usus, de rebus conditum}, pdfkeywords={}, pdfsubject={să gătesc}, pdfcreator={Emacs 26.1 (Org mode 9.1.9)}, pdflang={latin.withprosodicmarks}} \begin{document} \begin{center} \includegraphics[keepaspectratio=true, height = 2 cm]{example-image-a} \end{center} \maketitle \lipsum[1] \end{document} Posée 04 Nov '19, 17:20 Pathe ♦♦ |
On peut modifier temporairement la définition de Ouvrir dans l'éditeur Overleaf
\documentclass[a4paper, 11pt, latin]{scrartcl} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage[light, largesmallcaps]{kpfonts} \usepackage{graphicx} \usepackage{mwe} \usepackage{lipsum} \usepackage[latin]{babel} \usepackage{hyperref} \author{Gonzalo Ivanisevitch Shah} \date{\today} \title{Culinaria poneret usus, de rebus conditum} \hypersetup{ pdfauthor={Gonzalo Ivanisevitch Shah}, pdftitle={Culinaria poneret usus, de rebus conditum}, pdfkeywords={}, pdfsubject={să gătesc}, pdfcreator={Emacs 26.1 (Org mode 9.1.9)}, pdflang={latin.withprosodicmarks}} \begin{document} \begingroup \let\clearpage\relax \begin{center} \includegraphics[keepaspectratio=true, height = 2 cm]{example-image-duck} \end{center} \maketitle \endgroup \lipsum[1] \end{document} Une autre approche avec l'extension Ouvrir dans l'éditeur Overleaf
\documentclass[a4paper, 11pt, latin]{scrartcl} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage[light, largesmallcaps]{kpfonts} \usepackage{graphicx} \usepackage{mwe} \usepackage{lipsum} \usepackage[latin]{babel} \usepackage{titling} \renewcommand{\maketitlehooka}{% \begin{center} \includegraphics[keepaspectratio=true, height = 2 cm]{example-image-duck} \end{center} } \usepackage{hyperref} \author{Gonzalo Ivanisevitch Shah} \date{\today} \title{Culinaria poneret usus, de rebus conditum} \hypersetup{ pdfauthor={Gonzalo Ivanisevitch Shah}, pdftitle={Culinaria poneret usus, de rebus conditum}, pdfkeywords={}, pdfsubject={să gătesc}, pdfcreator={Emacs 26.1 (Org mode 9.1.9)}, pdflang={latin.withprosodicmarks}} \begin{document} \maketitle \lipsum[1] \end{document} Publiée 04 Nov '19, 17:46 samcarter |