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 : HenHanna (at) *nospam* devnull.tb (HenHanna)
Groupes : comp.text.tex
Date : 20. Jul 2024, 01:45:17
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v7f1b0$37c6q$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 7/19/2024 5:23 PM, Scott Pakin wrote:
On 7/18/24 23: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}
 \mbox is for single-line text only.  How about using a tabular?
      \documentclass{article}
     \begin{document}
     \begin{tabular}[t]{@{}ll@{}}
       First Line \
       Second Line
     \end{tabular}
     \end{document}
 -- Scott
thank you....  (if and) When i get serious about
glueing  1stLine and 2ndLine together, i may end up using Minipage.

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