垂直居中问题

垂直居中问题

如何使标签垂直居中(A)如下图所示。我使用以下代码:

\begin{enumerate}[nosep,label=(\Alph*),font=\bfseries]
\item \textbf{Does the finite exchange property always imply the full exchange 
  property?}
\end{enumerate}

在此处输入图片描述

提前致谢。

答案1

你可以把它放在\parbox[c]

\documentclass{article}
\usepackage{enumitem}

\begin{document}
\begin{enumerate}[nosep,label=(\Alph*),font=\bfseries]
\item \parbox[c]{\linewidth}{\textbf{Does the finite exchange property always imply the full exchange 
  property?}}
\end{enumerate}

\end{document}

编辑:使用前选择您的空间

\documentclass{article}
\usepackage{enumitem}

\begin{document}
\def\myspace{1cm}
\begin{enumerate}[nosep,label=(\Alph*),font=\bfseries]
\item \hspace{\myspace}\parbox[c]{\dimexpr\linewidth-\myspace}{\textbf{Does the finite exchange property always imply the full exchange 
  property?}}
\end{enumerate}

\end{document}

相关内容