Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*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 2002

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

Search the Archive

Re: Bad parentheses in exported eps

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37342] Re: [mg37318] Bad parentheses in exported eps
  • From: John Fultz <jfultz at wolfram.com>
  • Date: Thu, 24 Oct 2002 02:55:40 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

On Wed, 23 Oct 2002 02:56:54 -0400 (EDT), Will Todd G wrote:
>
>
>I have understood that parentheses "( )" are displayed as "HL" in
>exported postscript due to the fact that postscript viewers are not
>accessing the Mathematica Fonts that encode "( )".  I thought I
>could avoid this problem by specifying a different font, in this
>case Courier for the parentheses.  This didn't work.  Is there a
>related idea that will work?
>
>parenGraphic = Show[Graphics[{ Text[ StyleForm["(", FontFamily ->
>"Courier", FontWeight -> "Plain"] , {0, 0}]
>}]];
>
>Export["parenGraphic.eps", parenGraphic]
>
>
>Todd Will UW-LaCrosse

Try this instead...

parenGraphic = 
    Show[Graphics[{Text[
            StyleForm["(", 
              PrivateFontOptions -> {"OperatorSubstitution" -> False}],
			{0, 0}]}]];

(and actually you don't need to make a separate graphic out of this, you 
can just throw this in the TextStyle option for the whole graphic)

You can also set the "OperatorSubstitution" option to False at the global 
level using the Option Inspector, which would affect all uses of parens, 
brackets, etc., in Mathematica...in input and output cells as well as 
graphics.  Of course, you'll still need to include the Mathematica fonts 
for those characters which have no corresponding characters in the regular 
fonts, like Greek letters and radicals.

Sincerely,

John Fultz
jfultz at wolfram.com
User Interface Group
Wolfram Research, Inc.




  • Prev by Date: Re: how to avoid this evaluation?
  • Next by Date: Re: Poincare sections
  • Previous by thread: Bad parentheses in exported eps
  • Next by thread: Problems during the start of mathematica 4.0