Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

General--StyleBox inside two‐dimensional string input

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62442] General--StyleBox inside two‐dimensional string input
  • From: clfrench at email.com
  • Date: Thu, 24 Nov 2005 06:33:42 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

I am finding that an inner escape \* inside of string input "\!\( is not honored by some functions like StyleBox.


\* is honored by other functions like GridBox, for instance:

"\!\(x+\*GridBox[{{\"a\",\"b\"},{\(c\^2\),\(d\/\*GridBox[{{\"x\",\"y\"},{\"x\",\"y\"}}]\)}}]\)"


above workes as expected but this fails:

"cg\nt\!\(\*StyleBox[\(\*ToBoxes[\(\"aggg\n\ttca\"\)]\)
,FontColor->RGBColor[1,0,0],FontSize->18,FontWeight->\"Bold\"]\)\ntctac\ngcgc"

Also, I'm having trouble getting literal quotes \" to appear inside StyleBox fomatted text.

Cheers! ~chris french


Link to the forum page for this post:
http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp?pageName=Special:Forum_ViewTopic&pid=6263#p6263
Posted through http://www.mathematica-users.org [[postId=6263]]



  • Prev by Date: Re: Time needed for calculation
  • Next by Date: How to print on paper big matrixes ?
  • Previous by thread: Re: Mathematica, Linux and OpenMosix
  • Next by thread: International Mathematica Symposium 2006