포함된 이미지와 평행한 미니페이지

포함된 이미지와 평행한 미니페이지

봉쥬르!

\itemize두 가지 다른 환경에서 사용하는 정보로 두 개의 열을 만들었습니다 \minipage. 이제 나는 이 두 '열'에 평행한 이미지를 포함하고 싶습니다. 미니페이지 안팎에 (포장된) 그림을 포함시키려고 했지만 지금까지는 서로 나란히 작동하지 않으므로 이미지가 미니페이지 아래에 표시됩니다. 어쩌면 환경과 관련이 있을 수도 있습니다 adjust width. 두 개는 정보가 있고 세 번째는 그림이 있는 세 개의 '열'을 서로 옆에 만드는 것에 대한 제안은 무엇입니까?

\documentclass{article}
\reversemarginpar

\usepackage{changepage}
\usepackage[]{geometry}
\usepackage{color}
\usepackage[nochapters]{classicthesis} % Use the classicthesis style for the style of the document
\usepackage[LabelsAligned]{currvita} % Use the currvita style for the layout of the document
\usepackage{color}
\usepackage{changepage}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{graphicx,wrapfig}
\hypersetup{colorlinks, breaklinks, urlcolor=Maroon, linkcolor=Maroon} 
\begin{document}

\begin{adjustwidth}{7.75em}{0em}
{\color{Maroon}\noindent\footnotesize\spacedallcaps{Personal Information}}\vspace{1.5pc} 
\end{adjustwidth}

\begin{adjustwidth}{-7.25em}{9em}

\begin{minipage}{0.25\textwidth}
\begin{itemize}
\setlength\itemsep{0.15em}
  \item[] \it{Nationality}
  \item[] \it{Date of Birth}
  \item[] \it{Adress}
  \item[] \it{Mail / website}
  \item[] \it{Phone}
\end{itemize}
\end{minipage}%
\hfill
\begin{minipage}{0.575\textwidth}
\begin{itemize}
\setlength\itemsep{0.15em}
  \item[] French
  \item[] 1 august 1981, Paris (FR)
  \item[] Teststreet 1, 75013 Paris
  \item[] \href{mailto:[email protected]}{[email protected]} / \href{http://www.test.com}{www.test.com}
  \item[] 0000 00 000 000
\end{itemize}
\end{minipage}
\end{adjustwidth}

\end{document}

답변1

이것이 효과가 있었습니다!

\documentclass{article}
\reversemarginpar

\usepackage{changepage}
\usepackage[]{geometry}
\usepackage{color}
\usepackage[nochapters]{classicthesis} % Use the classicthesis style for the style of the document
\usepackage[LabelsAligned]{currvita} % Use the currvita style for the layout of the document
\usepackage{color}
\usepackage{changepage}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{graphicx,wrapfig}
\hypersetup{colorlinks, breaklinks, urlcolor=Maroon, linkcolor=Maroon} 
\begin{document}

    \begin{adjustwidth}{7.75em}{0em}
{\color{Maroon}\noindent\footnotesize\spacedallcaps{Personal Information}}\vspace{1pc} 
\end{adjustwidth}

\begin{adjustwidth}{-7.75em}{-7.75em}

\begin{minipage}{0.25\textwidth}
\begin{itemize}
\setlength\itemsep{0.15em}
  \item[] \it{Nationality}
  \item[] \it{Date of Birth}
  \item[] \it{Adress}
  \item[] \it{Mail / website}
  \item[] \it{Phone}
\end{itemize}
\end{minipage}%
\hfill
\begin{minipage}{0.65\textwidth}
\begin{itemize}
\setlength\itemsep{0.15em}
  \item[] \hspace{3.5em} French
  \item[] \hspace{3.5em} 1 august 1981, Paris (FR)
  \item[] \hspace{3.5em} Teststreet 1, 75013 Paris
  \item[] \hspace{3.5em} \href{mailto:[email protected]}{[email protected]} / \href{http://www.test.com}{www.test.com}
  \item[] \hspace{3.5em} +000 0000 0000
\end{itemize}
\end{minipage}
\hfill
\begin{minipage}{0.5\textwidth}
\vspace{-6em}
\hspace{5em}
\includegraphics[width=0.8\textwidth, height=0.2\textheight]{../Pictures/test.png}
\end{minipage}
\end{adjustwidth}
\end{document}

답변2

다음을 사용해야 합니다 tabular.

\documentclass{article}

\usepackage[nochapters]{classicthesis} % Use the classicthesis style for the style of the document
\usepackage[LabelsAligned]{currvita} % Use the currvita style for the layout of the document
\usepackage{color,graphicx}

\begin{document}

\noindent\makebox[\textwidth]{%
  \hspace{-3cm}%
  \begin{tabular}{@{}l@{\hspace{3.5em}}l@{}}
  \multicolumn{2}{c}{\color{Maroon}\footnotesize\spacedallcaps{Personal Information}} \\[1pc]
  \textit{Nationality} & French \\[1ex]
  \textit{Date of Birth} & 1 august 1981, Paris (FR) \\[1ex]
  \textit{Address} & Teststreet 1, 75013 Paris \\[1ex]
  \textit{Mail} / \textit{website} &
    \href{mailto:[email protected]}{[email protected]} / \href{http://www.test.com}{www.test.com} \\[1ex]
  \textit{Phone} & +000 0000 0000
  \end{tabular}%
  \hfill
  \begin{tabular}{@{}c@{}}% for vertical centering
  \includegraphics[width=0.8\textwidth, height=0.2\textheight]{example-image}
  \end{tabular}%
  \hspace{-3cm}%
}

\end{document}

여기에 이미지 설명을 입력하세요

관련 정보