Alinear objetos

Alinear objetos

Estoy escribiendo mi primer documento de especificación formal y tengo problemas al intentar alinear el texto a la izquierda y una tabla tabular a la derecha.

Gracias.

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

Respuesta1

Esta es una solución, pero deberíaprobablementehecho con wrapfigo similar (dependiendo de su caso de uso real).

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

información relacionada