このセクションの右側に CV 画像を追加したいです (画像を参照)。画像はデータ セクションにほぼ収まる必要があります。いろいろ試しましたが、どれもうまくいきません。どうすればいいか知っている人はいませんか?
%Section: Personal Data
\section{Personal Data}
\begin{tabular}{rl}
\textsc{Full Name:} & Rick \\
\textsc{Place and Date of Birth:} & place and birth \\
\textsc{Sex:} & Male\\
\textsc{Address:} & address \\
\textsc{Phone:} & +number\\
\textsc{email:} & \href{mailto:mail} {mail!}\\
\textsc{Skype:} & skype.name\\
\end{tabular}
答え1
TiKZ を使用すると、レイアウトの残りの部分を邪魔しないオーバーレイ イメージを作成できます。上記のスクリーンショットを作成するために使用したパッケージがわからないため、レイアウトを正確に再現することはできませんでした。これが、最小限の動作例 (MWE) を提供することにこだわる理由の 1 つです (上記のコメントを参照してください)。ただし、次の内容で開始できるはずです。
\documentclass{article}
\usepackage{fullpage}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{tikzpagenodes}
\begin{document}
\begin{tikzpicture}[overlay, remember picture]
\node[anchor=north east, inner sep=0pt] at (current page text area.north east)
{\includegraphics[height=4cm]{rick.jpg}};
\end{tikzpicture}
\begin{center}
\Huge \textbf{Rick}
\end{center}
\section{Personal Data}
\begin{tabular}{rl}
\textsc{Full Name:} & Rick \\
\textsc{Place and Date of Birth:} & place and birth \\
\textsc{Sex:} & Male\\
\textsc{Address:} & address \\
\textsc{Phone:} & +number\\
\textsc{email:} & \href{mailto:mail}{mail!}\\
\textsc{Skype:} & skype.name\\
\end{tabular}
\end{document}
多分私はあなたの質問を誤解しました。写真を載せたいのであれば内部個人データセクションでは、パッケージを使用してテーブル内の複数行セルを使用できますmultirow
。
\documentclass{article}
\usepackage{fullpage}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{multirow}
\begin{document}
\section{Personal Data}
\begin{tabular}{rp{8cm}r}
\textsc{Full Name:} & Rick & \multirow{7}{3cm}{\includegraphics[height=3cm]{rick.jpg}}\\
\textsc{Place and Date of Birth:} & place and birth \\
\textsc{Sex:} & Male\\
\textsc{Address:} & address \\
\textsc{Phone:} & +number\\
\textsc{email:} & \href{mailto:mail} {mail!}\\
\textsc{Skype:} & skype.name\\
\end{tabular}
\section{Education}
\end{document}