Deutsch   English   Français   Italiano  
<lgbvvnFgtedU1@mid.individual.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Peter Flynn <peter@silmaril.ie>
Newsgroups: comp.text.tex,de.comp.text.pdf,de.comp.text.tex,comp.text.pdf,sci.lang
Subject: Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line}
Date: Wed, 24 Jul 2024 10:31:34 +0100
Organization: Usenet Labs Bozon Detector Facility
Lines: 17
Message-ID: <lgbvvnFgtedU1@mid.individual.net>
References: <v7ctni$2rpmu$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net e9bngZTEHWJJTaEuZU647g7IqoW9PEdj2YdOkRQfxniu9aCuxA
Cancel-Lock: sha1:T25mms5rFagO82RgB5Us8aM739w= sha256:9ijnnYWkTrdfV0/1jyiBUPLEg6vs/1pM1cp0PyjRH1A=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <v7ctni$2rpmu$1@dont-email.me>
Bytes: 1424

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