Re: Re: Re: StylePrint and 2D strings
- To: mathgroup at smc.vnet.net
- Subject: [mg69413] Re: [mg67849] Re: [mg67818] Re: StylePrint and 2D strings
- From: "Chris Chiasson" <chris at chiasson.name>
- Date: Mon, 11 Sep 2006 05:39:13 -0400 (EDT)
- References: <e8ipv6$rkh$1@smc.vnet.net> <200607090850.EAA24660@smc.vnet.net> <200607101038.GAA01667@smc.vnet.net>
I am guessing you might need to use CellPrint or NotebookWrite your own cell to the active notebook. On 7/10/06, Chris Chiasson <chris at chiasson.name> wrote: > I don't know much about the escaped string form for box expressions. > However, if you are willing to write your expressions using RowBox, > FractionBox, etc, you may then use DisplayForm on them to get > pretty-printed forms that you can send to Text. > > On 7/9/06, bghiggins at ucdavis.edu <bghiggins at ucdavis.edu> wrote: > > 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 > > > > > > > -- > http://chris.chiasson.name/ > > -- http://chris.chiasson.name/