Path: ...!3.eu.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: HenHanna Newsgroups: comp.text.tex Subject: Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} Date: Fri, 19 Jul 2024 17:45:17 -0700 Organization: A noiseless patient Spider Lines: 26 Message-ID: References: <34fe0d85-8b87-4aa1-a2e6-b2057064299c@pakin.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 20 Jul 2024 02:45:20 +0200 (CEST) Injection-Info: dont-email.me; posting-host="9361bcee7ce5db1c712fcc58c6fdf329"; logging-data="3387610"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pP0NcgzN2URK+vZb/nUHWyduoczna+n4=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:ossIO/3aaNm6Pm91eJLuZtGkOC8= Content-Language: en-US In-Reply-To: <34fe0d85-8b87-4aa1-a2e6-b2057064299c@pakin.org> Bytes: 1851 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.