Plain TeX: Some paragraphs of an \item{}{} are butting into the left margin

David Carlisle d.p.carlisle at gmail.com
Sat Nov 28 20:15:37 CET 2020


It is probably easier to use \leftskip here, also you should not have
\noindent before \item (\item starts with \par so \noindent would not
affect the indentation of the item, just force a spurious empty paragarph)

\hsize = 6.5in
\vsize = 9in

\baselineskip=1.5\baselineskip

\vskip 20pt
\parskip=10pt
\parindent=0pt
\leftskip=30pt
\item{{\bf Topic:}} {This is the name of a topic.}

\item{{\bf Response:}}
{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque
blandit dapibus nunc, ac cursus orci gravida id. Morbi accumsan orci
placerat rhoncus

Why is this paragraph in the left region? Nullam posuere ligula a
ligula maximus, sit amet suscipit magna bibendum. Integer consequat
feugiat ex, et laoreet nisi scelerisque id.  Suspendisse sed velit
ut eros luctus feugiat.  Fusce turpis risus, porta vitae faucibus a,
varius non mauris. Aliquam euismod quam vitae magna ornare
fermentum. Nullam cursus elit tortor, vitae congue velit feugiat
sed.

Why is this paragraph in the left region? Donec nec ullamcorper
ligula. Nunc eu enim lacus. Vestibulum luctus ex mi, congue
vestibulum velit congue in.  Praesent pretium ante felis, sit amet
rhoncus felis pretium non. Donec tempus in ex id interdum. Aliquam
purus diam, aliquet sed elit ac, finibus feugiat nibh. Praesent
dignissim pellentesque

fringilla. Sed tristique sollicitudin nisl auctor auctor. Morbi
auctor euismod pellentesque. Morbi nec ex felis. Mauris sagittis
erat eu ultricies pellentesque. Nam sagittis egestas posuere. Proin
consequat ullamcorper convallis. Ut convallis elementum massa ac
facilisis. Vestibulum faucibus mi id libero lacinia pulvinar.}

\vskip 20pt
\item{{\bf Topic:}}
{This is another topic.}

\item{{\bf Response:}}
{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque
blandit dapibus nunc, ac cursus orci gravida id. Morbi accumsan orci
placerat rhoncus

Why is this paragraph in the left region? Nullam posuere ligula a
ligula maximus, sit amet suscipit magna bibendum. Integer consequat
feugiat ex, et laoreet nisi scelerisque id.  Suspendisse sed velit
ut eros luctus feugiat.  Fusce turpis risus, porta vitae faucibus a,
varius non mauris. Aliquam euismod quam vitae magna ornare
fermentum. Nullam cursus elit tortor, vitae congue velit feugiat
sed.

Donec nec ullamcorper ligula. Nunc eu enim lacus. Vestibulum luctus
ex mi, congue vestibulum velit congue in. Praesent pretium ante
felis, sit amet rhoncus felis pretium non. Donec tempus in ex id
interdum. Aliquam purus diam, aliquet sed elit ac, finibus feugiat
nibh. Praesent dignissim pellentesque}

\vfill\eject\par\vfill
\supereject
\end



On Sat, 28 Nov 2020 at 05:09, Suresh Govindachar via texhax <texhax at tug.org>
wrote:

> % Hello,
> %
> % Below are two plain TeX
> %   \item{{\bf Response:}}{multiple paragraphs here}
> %
> % Why do the second and third para of the first item and
> % the second para of the second item butt into the left margin?
> % And how to prevent this?
> %
> % Thanks.
>
>
> \hsize = 6.5in
> \vsize = 9in
>
> \baselineskip=1.5\baselineskip
>
> \vskip 20pt
> \parskip=10pt \parindent=30pt \noindent
> \item{{\bf Topic:}} {This is the name of a topic.}
>
> \parskip=10pt \parindent=30pt \noindent
> \item{{\bf Response:}}
> {Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque
> blandit dapibus nunc, ac cursus orci gravida id. Morbi accumsan orci
> placerat rhoncus
>
> Why is this paragraph in the left region? Nullam posuere ligula a
> ligula maximus, sit amet suscipit magna bibendum. Integer consequat
> feugiat ex, et laoreet nisi scelerisque id.  Suspendisse sed velit
> ut eros luctus feugiat.  Fusce turpis risus, porta vitae faucibus a,
> varius non mauris. Aliquam euismod quam vitae magna ornare
> fermentum. Nullam cursus elit tortor, vitae congue velit feugiat
> sed.
>
> Why is this paragraph in the left region? Donec nec ullamcorper
> ligula. Nunc eu enim lacus. Vestibulum luctus ex mi, congue
> vestibulum velit congue in.  Praesent pretium ante felis, sit amet
> rhoncus felis pretium non. Donec tempus in ex id interdum. Aliquam
> purus diam, aliquet sed elit ac, finibus feugiat nibh. Praesent
> dignissim pellentesque
>
> fringilla. Sed tristique sollicitudin nisl auctor auctor. Morbi
> auctor euismod pellentesque. Morbi nec ex felis. Mauris sagittis
> erat eu ultricies pellentesque. Nam sagittis egestas posuere. Proin
> consequat ullamcorper convallis. Ut convallis elementum massa ac
> facilisis. Vestibulum faucibus mi id libero lacinia pulvinar.}
>
> \vskip 20pt
> \parskip=10pt \parindent=30pt \noindent
> \item{{\bf Topic:}}
> {This is another topic.}
>
> \parskip=10pt \parindent=30pt \noindent
> \item{{\bf Response:}}
> {Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque
> blandit dapibus nunc, ac cursus orci gravida id. Morbi accumsan orci
> placerat rhoncus
>
> Why is this paragraph in the left region? Nullam posuere ligula a
> ligula maximus, sit amet suscipit magna bibendum. Integer consequat
> feugiat ex, et laoreet nisi scelerisque id.  Suspendisse sed velit
> ut eros luctus feugiat.  Fusce turpis risus, porta vitae faucibus a,
> varius non mauris. Aliquam euismod quam vitae magna ornare
> fermentum. Nullam cursus elit tortor, vitae congue velit feugiat
> sed.
>
> Donec nec ullamcorper ligula. Nunc eu enim lacus. Vestibulum luctus
> ex mi, congue vestibulum velit congue in. Praesent pretium ante
> felis, sit amet rhoncus felis pretium non. Donec tempus in ex id
> interdum. Aliquam purus diam, aliquet sed elit ac, finibus feugiat
> nibh. Praesent dignissim pellentesque}
>
> \vfill\eject\par\vfill
> \supereject
> \end
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20201128/c0f18019/attachment.html>


More information about the texhax mailing list.