Path: ...!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Ulrich D i e z Newsgroups: de.comp.text.pdf,comp.text.pdf,sci.lang Subject: Re: (LaTeX) This doesn't work -- \mbox{ First Line \\ Second Line} Followup-To: comp.text.tex Date: Sat, 20 Jul 2024 14:42:04 +0200 Message-ID: References: <669B6921.5C7A8448@Berger-Odenthal.De> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Sat, 20 Jul 2024 12:40:30 -0000 (UTC) Injection-Info: solani.org; logging-data="122051"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cancel-Lock: sha1:ltmuerL4CMijsXFJ2U7wnwvKIHA= In-Reply-To: <669B6921.5C7A8448@Berger-Odenthal.De> Content-Language: de-DE X-User-ID: eJwFwYEBwCAIA7CXhkBx51Sw/59gkg5DVyARqdSQ5t+WuMrIy+NY6nHoWja2/mDqtE81oAc7XRJM Bytes: 1544 Lines: 16 [Followup-To: comp.text.tex] Axel Berger wrote: > Jeff Barnett wrote: >> Look up the environment minipage. > > Or in this case perhaps parbox In case you want the box with the first and the second line to have the natural width of the widest of the two lines, minipage-environment and \parbox-command, where you are to specify the desired width explicitly, might turn out cumbersome. Sincerely Ulrich