Sujet : Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}
De : peter (at) *nospam* silmaril.ie (Peter Flynn)
Groupes : comp.text.tex de.comp.text.pdf de.comp.text.tex comp.text.pdf sci.langDate : 24. Jul 2024, 10:31:34
Autres entêtes
Organisation : Usenet Labs Bozon Detector Facility
Message-ID : <lgbvvnFgtedU1@mid.individual.net>
References : 1
User-Agent : Mozilla Thunderbird
On 19/07/2024 06:31, HenHanna wrote:
i want 2 lines to stay together... How do i do it?
This apparently doesn't work.
\mbox{ First Line \
Second Line}
That's because \ is for prematurely ending a line, not for combining them.
It's also used (differently) in tabular setting to signal the end of a row.
Can you explain what you want to do, with a worked example?
"want 2 lines to stay together" doesn't give enough information.
Peter