[latexrefman] ‘Hef\-\linebreak feron’

Vincent Belaïche vincent.belaiche at gmail.com
Wed Aug 25 15:11:51 CEST 2021


OK, I just understood what confused me. The current text is :

The @code{\-} command only allows @LaTeX{} to break there, it does not
require that it break there.  You can insist on a split with something
like @code{Hef-\linebreak feron}.  Of course, if you later change the
text then this forced break may look very odd, so this approach requires
care.

I suggest to replace « insist on » by « force », because otherwise it
gives the confusiing impression that the split won't necessarilly occur,
just be more likely than with \-. Hence, I had the impression that there
could be corner cases where you would have « - » without the end-of-line
after it. This misunderstanding was increased by this that I had some
vague remembrance that \linebreak can do breaks optionally (but this is
only when you pass to it optional priority level 0 to 3, w/o optional
argument the break is forced isn't it ?)
  V.





Le mer. 25 août 2021 à 13:35, Hefferon, Jim S. <jhefferon at smcvt.edu> a écrit :
>
>
> Yes, the point is that this is the kind of adjustment people make when doing the final draft.  If something in the document changes so that no linebreak happens then an author needs to redo the thing.
>
> Jim
>
> ...........................................................
> Mathematicians usually work in comfortable offices.
>   --US Bureau of Labor Statistics
>   http://web.archive.org/web/20100410092206/https://www.bls.gov/oco/ocos043.htm
>
> ________________________________________
> From: Vincent Belaïche <vincent.belaiche at gmail.com>
> Sent: Wednesday, August 25, 2021 5:51
> To: Hefferon, Jim S.
> Cc: latexrefman
> Subject: Re: [latexrefman] ‘Hef\-\linebreak feron’
>
> ⚠ External Sender ⚠
>
>
> Sorry, to dwell on it, but as far as I can understand \linebreak only
> increase the likelyhood to have a line break at that point, it does
> not force the linebread as \newline would do. This is what (info
> "(latex2e) \linebreak & \nolinebreak") says in these terms: «
> Encourage or discourage a line break ».
>
> Therefore, having « - » instead of « \- » means that when the line
> break does not occur then you have Hef-feron in the same line, which
> is not what is desired.
>
> Am I wrong ?
>    V.
>
> Le mar. 24 août 2021 à 14:28, Hefferon, Jim S. <jhefferon at smcvt.edu> a écrit :
> >
> >
> >
> > > The \- command only allows LaTeX to break there, it does not require that it break there. You can insist on a split with something like Hef-\linebreak feron.
> >
> > Please do not do that.  The sentence is correct as it stands, since it is about insisting on a split, so \- is nto the right thing, as described inthe first sentence.
> >
> > ...........................................................
> > Mathematicians usually work in comfortable offices.
> >   --US Bureau of Labor Statistics
> >   http://web.archive.org/web/20100410092206/https://www.bls.gov/oco/ocos043.htm
> >
> > ________________________________________
> > From: latexrefman <latexrefman-bounces+jhefferon=smcvt.edu at tug.org> on behalf of Vincent Belaïche <vincent.belaiche at gmail.com>
> > Sent: Tuesday, August 24, 2021 1:17
> > To: latexrefman
> > Subject: [latexrefman] ‘Hef\-\linebreak feron’
> >
> > ⚠ External Sender ⚠
> >
> >
> > In node (info "(latex2e) \- (hyphenation)") shouldn't there be « \- »
> > not « - » in the example « Hef\-\linebreak feron » given in the last
> > paragraph ?
> >
> > If no objection this is something I am going to fix in my next commit.
> >
> >   V.
> >



More information about the latexrefman mailing list.