繁体   English   中英

乳胶中文本的垂直对齐

[英]vertical alignment of text in latex

我正在尝试创建一个标题页,我想包括一些这样的列表:

\begin{document}
 \centering
    {\Large \textbf{Entity 1:} \quad Some entity 1 \protect\\ 
    \textbf{Entity 2:} \quad Some entity 2 \protect\\ 
    \textbf{Slightly longer entity:} \quad Some slightly longer entity \protect\\
    \textbf{The last entity:} \quad Some entity 3 \par}
\end{document}

然而,这会产生整条线 center-aligned 而我的目标是让它看起来像titles right-aligned 和 text left-aligned 我不知道该怎么做。 任何帮助表示赞赏。

使用tabular

\documentclass{article}

\begin{document}
 \centering\Large
 \begin{tabular}{rl}
    \textbf{Entity 1:} & Some entity 1\\
    \textbf{Entity 2:} & Some entity 2 \\
    \textbf{Slightly longer entity:} & Some slightly longer entity\\
    \textbf{The last entity:} & Some entity 3\\
 \end{tabular}
 
\end{document}

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM