첫 번째 공식 사양 문서를 작성 중인데 텍스트를 왼쪽에 정렬하고 표 형식의 테이블을 오른쪽에 정렬하는 데 문제가 있습니다.
감사해요.
\begin{flushleft}
A patient population includes an initially-empty set of patients(as identified as by their unique set as type $\mathbb{P})$. Each patient has some information about them of type $\mathbb{I})$
\end{flushleft}
\begin{flushright}
\begin{tabular}{|l| c |r|}
test\\
\hline
this is a test and this\\is a new line\\
\end{tabular}
\end{flushright}
답변1
이것은 해결책이지만아마또는 이와 유사하게 수행됩니다 wrapfig
(실제 사용 사례에 따라 다름).
\documentclass{article}
\begin{document}
\begin{minipage}[t]{.6\linewidth}
A patient population includes an initially-empty set of patients
(as identified as by their unique set as type $P$).
Each patient has some information about them of type $I$)
\end{minipage}
\hfill
\begin{tabular}[t]{|l| c |r|}
test\\
\hline
this is a test and this\\is a new line\\
\end{tabular}
\end{document}