Qual é uma maneira rápida de alinhar texto?

Qual é uma maneira rápida de alinhar texto?

Muitas vezes escrevo declarações rápidas nas quais gostaria que as linhas seguintes continuassem abaixo do final da primeira.

Existe uma maneira rápida de fazer isso (requer matrizes?)

this is the first sentence:
                           continue here
                           and here too

Responder1

Você pode usar otabbingambiente.

\begin{tabbing}
this is the first sentence:\=\\
\>continue here\\
\>and here too\\
\end{tabbing}

Responder2

\documentclass{article}
\usepackage{stackengine}
\usepackage{lipsum}
\parskip 2em
\newcommand\parbrlap[2]{\brlap{\parbox[t]{#1}{#2}}}
\begin{document}


this is the first sentence\parbrlap{2in}{continue here\\and here}

this is the first sentence\brlap{continue just here}

\tllap{Top left}\bllap{Bottom left}A demonstration%
\tclap{Top center}\bclap{Bottom center} of lapping%
\trlap{Top right}\brlap{Bottom right}.

this is the first sentence\parbrlap{2in}{\tiny\lipsum[3]}
\end{document}

insira a descrição da imagem aqui

informação relacionada