
タイトル ページの右上隅にロゴを配置しようとしています。タイトル ページ環境を使用してみましたが、画像は常に中央に配置されます。1) 画像を右上隅に配置し、2) テキストを垂直方向に好きなだけ配置する方法はありますか? 画像が中央に配置されていても、テキストを垂直方向に移動しようとすると無駄です。
例を以下に示します。
\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}
よろしくお願いします。
答え1
\hfill
私は単に\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}
答え2
このようなもの?
間違いなくやりすぎです:
\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}