Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}

Liste des GroupesRevenir à ct tex 
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.lang
Date : 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

Date Sujet#  Auteur
19 Jul 24 * (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}13HenHanna
19 Jul 24 +- Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}1Ulrich D i e z
20 Jul 24 +* Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}2Scott Pakin
20 Jul 24 i`- Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}1HenHanna
20 Jul 24 +* Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}3Jeff Barnett
20 Jul 24 i`* Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}2Axel Berger
20 Jul 24 i `- Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}1Ulrich D i e z
24 Jul 24 +* Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}2Peter Flynn
24 Jul 24 i`- Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}1Antonio Marques
25 Jul 24 `* Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}4Eberhard W Lisse
25 Jul 24  `* Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}3HenHanna
25 Jul 24   `* Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}2Ulrich D i e z
19 Aug 24    `- Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}1Scott Pakin

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal