Выравнивание объектов

Выравнивание объектов

Я пишу свой первый официальный документ спецификации и у меня возникают проблемы с выравниванием текста по левому краю, а таблицы — по правому.

Спасибо.

    \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}

Связанный контент