Como colocar o título onde eu quiser

Como colocar o título onde eu quiser

Estou tentando me aprimorar no látex, mas também quero criar um arquivo padrão para fazer revisões.

Então, estou tentando fazer algo bem compacto, mas bonito.

Consegui um resultado muito bom, mas agora adoraria fazer algo com o título fora do centro, com uma imagem do outro lado.

Estou usando article para a documentclass e não encontrei uma substituição para \maketitle que me permita fazer o que quero. Também tentei o comando de renovação com resultados ruins, sem saber realmente o que estava fazendo.

Obrigado pela ajuda!

Uma imagem é melhor que mil mundos

Responder1

Sugiro que você dê uma olhada no titlingpacote, que possui diversas ferramentas para customizar títulos.

Aqui está uma demonstração:

\documentclass[11pt, svgnames]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{garamondx}
\usepackage{geometry} 
\usepackage{verse}
\usepackage{titling, xcolor}
 \author{Edward Lear}
 \title{The Quangle Wangle’s Hat}
 \date{(n.\,d.)}

\pretitle{\LARGE\color{IndianRed}}
\posttitle{\hfill\raisebox{-0.4\height}{ \includegraphics[scale =0.35]{Quangle_Wangle_Hat}}\null}

\begin{document}

\maketitle

\settowidth{\versewidth}{For his Hat was a hundred and two feet wide,}
\begin{verse}[\versewidth]
\begin{altverse}
  On the top of the Crumpetty Tree\\
      The Quangle Wangle sat,\\
But his face you could not see,\\
      On account of his Beaver Hat.\\
For his Hat was a hundred and two feet wide,\\
With ribbons and bibbons on every side\\
And bells, and buttons, and loops, and lace,\\
So that nobody ever could see the face\\
            Of the Quangle Wangle Quee.
\end{altverse}
\end{verse}

\end{document} 

insira a descrição da imagem aqui

Responder2

eu

\documentclass{article}
\usepackage{graphicx}
\usepackage[export]{adjustbox}% http://ctan.org/pkg/adjustbox
\usepackage[margin=2cm]{geometry} 
\usepackage{xcolor}
\usepackage{lipsum} % for dummy text

\makeatletter         
\def\mytitle#1{
\noindent\begin{minipage}[t]{.65\linewidth}\raggedright
{\Huge\bfseries\sffamily\color{red}\@title}\par\bigskip 
{\bfseries\@author}\par\medskip \@date
\end{minipage}\hfill%
\includegraphics[width=.25\linewidth,valign=t]{#1}
 \par\bigskip}
\makeatother

\title{My nice very long and impressive title}
\author{Arnaud Vivi}
\date{\today}

\begin{document}
\mytitle{example-image-duck}
\section{Lore ipsum}  \lipsum[1]
\end{document}

informação relacionada