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

Philip Taylor P.Taylor at Hellenic-Institute.Uk
Sat Nov 28 08:46:00 CET 2020


Suresh Govindachar via texhax wrote:
>
> % 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?
All paragraphs protrude into the left margin if you do not close the 
groups before the paragraph ends, Suresh — see below.
To prevent them from so doing, uncomment the \everypar assignment.

/Philip Taylor/
--------
% 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 % \everypar = {\hangindent = 
\parindent \hangafter = 1}

\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/a1475305/attachment.html>


More information about the texhax mailing list.