Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site prlb2.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!mcvax!prlb2!vauclair From: vauclair@prlb2.UUCP (Marc Vauclair) Newsgroups: net.text Subject: n/troff. backslashes in .B[1-2] envs. Message-ID: <493@prlb2.UUCP> Date: Fri, 22-Feb-85 06:34:11 EST Article-I.D.: prlb2.493 Posted: Fri Feb 22 06:34:11 1985 Date-Received: Wed, 27-Feb-85 02:39:26 EST Organization: Philips Research Laboratory Brussels Lines: 59 Does anyone know how I can get a \ in a boxed text ? Given a file named #t4 containing the following stuff : ------------------------------------------------------------------------ .PP THis is a test of a : \\ .sp 2 .B1 .sp 2 .PP THis is a test of a : \\ .sp 2 .B2 .sp 2 ------------------------------------------------------------------------- Using the command : 'nroff -ms #t4 | col' gives the following result : ========================================================================= THis is a test of a : \ _______________________________ | | | | | | | THis is a test of a : ( | | | |______________________________| ========================================================================= A possible cure is modifying the input code to the following form : ========================================================================= .PP THis is a test of a : \\ .sp 2 .B1 .sp 2 .PP .eo THis is a test of a : \\ .ec .sp 2 .B2 .sp 2 ========================================================================== It gives the following result : ========================================================================== THis is a test of a : \ ________________________________ | | | | | | | THis is a test of a : \ | | | |_______________________________| ========================================================================== But this solution works properly only if there are no other \ escape in the text on the concerned line. Marc Vauclair Philips Research Laboratory Brussels {mcvax,philabs}!prlb2!vauclair