文本对齐不正确

文本对齐不正确

我怎样才能使我的裁判员的名字位置排列在同一行?

在下图中,我想让右侧的“人名”与左侧的“人名”很好地对齐。

请注意,我需要为一个人输入多行地址,我无法更改我拥有的行数。

我的 LaTeX 代码如下

在此处输入图片描述

\documentclass[10pt]{article}
\usepackage{array, xcolor, lipsum, bibentry}
\usepackage[margin=3cm]{geometry}
\usepackage{scrbase,scrpage2}
\pagestyle{scrheadings} % pagestyle with page number
\lohead{My Name}



\definecolor{lightgray}{gray}{0.8}
\newcolumntype{L}{>{\raggedleft}p{0.14\textwidth}}
\newcolumntype{R}{p{0.8\textwidth}}
\newcommand\VRule{\color{lightgray}\vrule width 0.5pt}


\begin{document}
\thispagestyle{empty}
\begin{center}\bfseries\Huge John Doe \end{center}
\vspace{1em}
\begin{minipage}[ht]{0.70\textwidth}
Address Line 1\\
Address Line 2\\
Address Line 3\\
Address Line 4\\
Address Line 5
\end{minipage}
\begin{minipage}[ht]{0.48\textwidth}
Mobile: 123-456789\\
Email: [email protected]\\
Date of Birth: 01/01/2012\\
Citizenship: My citizenship
\end{minipage}
\vspace{2pt}

\section*{Referees}
\begin{minipage}[ht]{0.70\textwidth}
\textbf{Name of person}\\
\textit{Position}\\
Address 1\\
Address 1\\
Address 1\\
Address 1\\
Contact no. :+123-1234567
\end{minipage}
\begin{minipage}[ht]{0.48\textwidth}
\textbf{Name of person}\\
\textit{Position}\\
Address 1\\
Address 1\\
Address 1\\
Address 1\\
Address 1\\
Address 1\\
Contact no. :+123-1234567
\end{minipage}

\end{document} 

答案1

minipage没有[ht]选项(你需要[t]))

相关内容