Longtable의 열거가 두 번째 열을 잘못 정렬함

Longtable의 열거가 두 번째 열을 잘못 정렬함

아래 이미지에서는 (a)를 Implications에 맞게 수평으로 정렬하는 방법을 알아보려고 합니다. 효과적으로 (a) xxx가 있는 곳에서 시작하도록 합니다. 내가 도대체 ​​뭘 잘못하고있는 겁니까?

정렬 불량

\begin{longtable}{p{2.5cm}p{12cm}}
    Statement: & These principles of information management apply to all organizations within the enterprise. \\
    Rationale: & The only way we can provide a consistent and measurable level of quality information to decision-makers is if all organizations abide by the principles. \\
    Implications: & xxx
        \begin{enumerate}[label={(\alph*)}]
            \setlength\itemsep{0.5em}
            \item Without this principle, exclusions, favoritism, and inconsistency would rapidly undermine the management of information
            \item Information management initiatives will not begin until they are examined for compliance with the principles
            \item A conflict with a principle will be resolved by changing the framework of the initiative
        \end{enumerate}
    \end{longtable}

답변1

패키지 enumitem는 간단합니다.

편집하다:enumerate지금까지 단어였던 목록에 별표를 표시 xxxx하고 첫 번째 열의 텍스트와 수직으로 정렬하려면 목록을 수직으로 이동해야 합니다. 예를 들어 minipage˛. One option, how to do this is useetoolbox 패키지 에 삽입하면 다음과 같습니다 .

\documentclass{article}
\usepackage{enumitem}         % <---
\AtBeginEnvironment{longtable}% <---
{
\setlist[enumerate]{label={(\alph*)}, 
                    align=left, 
                    leftmargin=*, 
                    itemsep=0ex,
                    after=\end{minipage},    % <---
                    before=\begin{minipage}[t]{\linewidth}\raggedright
                    }
}
\usepackage{longtable}

\begin{document}
\begin{longtable}{p{2.5cm}p{12cm}}
    Statement:      & These principles of information management apply to all organizations within the enterprise. \\
    Rationale:      & The only way we can provide a consistent and measurable level of quality information to decision-makers is if all organizations abide by the principles. \\
    Implications:   &   \begin{enumerate}
                    \item Without this principle, exclusions, favoritism, and inconsistency would rapidly undermine the management of information
                    \item Information management initiatives will not begin until they are examined for compliance with the principles
                    \item A conflict with a principle will be resolved by changing the framework of the initiative
                        \end{enumerate}
\end{longtable}
\end{document}

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

이게 당신이 노리는 겁니까?

관련 정보