
Estoy intentando colocar un logotipo en la esquina superior derecha de mi página de título. Intenté usar el entorno de la página de título, sin embargo, centra continuamente la imagen. ¿Hay alguna manera de 1) colocar la imagen en la esquina superior derecha y 2) poder espaciar mi texto verticalmente tanto como desee? Incluso cuando la imagen está centrada, intentar mover el texto verticalmente es inútil.
A continuación se muestra un ejemplo:
\documentclass{article}
\usepackage[demo]{graphicx}
\begin{document}
\begin{titlepage}
\includegraphics[width=0.3\linewidth]{logo}
\centering
\vfill
{\bfseries\Large
\vspace{3cm}
Performance Report
Blah blah blah
\vskip2cm
First Last
}
\vfill
\vfill
\vfill
\end{titlepage}
\end{document}
Gracias de antemano.
Respuesta1
Simplemente agregaría un \hfill
antes del\includegraphics
\documentclass{article}
\usepackage[demo]{graphicx}
\begin{document}
\begin{titlepage}
\hfill \includegraphics[width=0.3\linewidth]{example-image-a}
\centering
\vfill
{\bfseries\Large
\vspace{3cm}
Performance Report
Blah blah blah
\vskip2cm
First Last
}
\vfill
\vfill
\vfill
\end{titlepage}
\end{document}
Respuesta2
¿Algo como esto?
Exagerado, definitivamente:
\documentclass{article}
\usepackage{tikz,tikzpagenodes}
\begin{document}
\begin{titlepage}
\tikz[overlay, remember picture]{%
\node [anchor=north east, inner sep=0pt] at (current page text area.north east) {\includegraphics[width=0.3\linewidth]{example-image-a}};
}%
\centering
\vfill
{\bfseries\Large
\vspace{3cm}
Performance Report
Blah blah blah
\vskip2cm
First Last
}
\vfill
\vfill
\vfill
\end{titlepage}
\end{document}