Re: Hanging indent in Print[] output?
- To: mathgroup at smc.vnet.net
- Subject: [mg111998] Re: Hanging indent in Print[] output?
- From: telefunkenvf14 <rgorka at gmail.com>
- Date: Tue, 24 Aug 2010 06:12:35 -0400 (EDT)
- References: <i4lnrn$7hf$1@smc.vnet.net>
On Aug 20, 6:10 am, AES <sieg... at stanford.edu> wrote: > After some months away from Mathematica, I'm finding > that when I execute a > > Print["Long string"] > > statement, with a string that's in fact several lines long, > the output prints (on screen, in the Output cell) with a > hanging indent such that all lines after the first are > indented by about two character widths (or is this > a "hanging outdent on the first line?). > > Don't remember this happening before. What might > be the cause, or what option do I need to fiddle with, > and where? I've experienced the same thing. The way around this (or at least one way around this) is to include a couple spaces (can't recall the exact number of spaces) at the beginning of the long string. And, although I've never done this, you should also be able to programmatically create these spaces and then concatenate the string before printing. -RG