MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: StylePrint and 2D strings

  • To: mathgroup at smc.vnet.net
  • Subject: [mg67818] Re: StylePrint and 2D strings
  • From: bghiggins at ucdavis.edu
  • Date: Sun, 9 Jul 2006 04:50:35 -0400 (EDT)
  • References: <e8ipv6$rkh$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Use

Print[StyleForm[myText, "Section"]]

This forces Mathematica to wrap myText in a StyleBox

Cheers,

Brian

kalymereau at yahoo.fr wrote:
> Hi Group
> I have problems with two-dimensional strings. Consider for example:
>
> myText = "blabla (\!\(x\&_\),\!\(y\&_\))"
>
> The output of Print[myText] is nice. However with
> StylePrint[myText,"Section"] the bars over the characters are not at
> the right place. How can I use StylePrint[ ,"Section"] with such
> strings ?
> 
> Thanks


  • Prev by Date: Re: ReplacePart in an If[] construct?
  • Next by Date: Re: ReplacePart in an If[] construct?
  • Previous by thread: Re: StylePrint and 2D strings
  • Next by thread: Re: Re: StylePrint and 2D strings