Groups | Search | Server Info | Login | Register
Groups > comp.text.tex > #190622
| 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 | 2024-07-24 10:31 +0100 |
| Organization | Usenet Labs Bozon Detector Facility |
| Message-ID | <lgbvvnFgtedU1@mid.individual.net> (permalink) |
| References | <v7ctni$2rpmu$1@dont-email.me> |
Cross-posted to 5 groups.
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
Back to comp.text.tex | Previous | Next — Previous in thread | Next in thread | Find similar
(LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} HenHanna <HenHanna@devnull.tb> - 2024-07-18 22:31 -0700
Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} Ulrich D i e z <ud.usenetcorrespondence@web.de> - 2024-07-19 15:02 +0200
Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} Scott Pakin <scott+ctt@pakin.org> - 2024-07-19 18:23 -0600
Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} HenHanna <HenHanna@devnull.tb> - 2024-07-19 17:45 -0700
Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} Jeff Barnett <jbb@notatt.com> - 2024-07-19 21:41 -0600
Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} Axel Berger <Spam@Berger-Odenthal.De> - 2024-07-20 09:37 +0200
Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} Ulrich D i e z <ud.usenetcorrespondence@web.de> - 2024-07-20 14:41 +0200
Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} Peter Flynn <peter@silmaril.ie> - 2024-07-24 10:31 +0100
Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} Antonio Marques <no_email@invalid.invalid> - 2024-07-24 14:02 +0000
Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} Eberhard W Lisse <nospam@lisse.NA> - 2024-07-25 17:37 +0200
Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} HenHanna <HenHanna@devnull.tb> - 2024-07-25 12:00 -0700
Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} Ulrich D i e z <ud.usenetcorrespondence@web.de> - 2024-07-25 22:51 +0200
Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} Scott Pakin <scott+ctt@pakin.org> - 2024-08-19 10:17 -0600
csiph-web