Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: Re: PlotLabel - SubscriptBox - Vers. 6: FontColor not

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83775] Re: [mg83743] Re: PlotLabel - SubscriptBox - Vers. 6: FontColor not
  • From: Thomas BOHL <Thomas.Bohl at cern.ch>
  • Date: Fri, 30 Nov 2007 05:20:20 -0500 (EST)
  • References: <figuaf$fhv$1@smc.vnet.net> <200711291134.GAA27623@smc.vnet.net>

Hi Helen,

thanks for your mail.

As I have said on Thu, 29 Nov 2007 11:34:54 +0000 (UTC) the quotation 
marks were not in the Mathematica expression but were introduced by the 
copy and paste process from Mathematica to the e-mail.

The FontColor problem was solved by removing my local copy of Default.nb 
(which dated from Mathematica Version 5.2). This explains why the 
FontColor did not work under Linux but under Windows. Under Windows a 
different Default.nb is used.


Thank you very much and kind regards,
Thomas.



Helen Read wrote:
> Thomas BOHL wrote:
>> Dear all,
>>
>> switching over to Mathematica Version 6 (6.0.1.0) on Linux x86 (SLC4) I 
>> have a number of problems which I did not have with previous versions of 
>> Mathematica. One is the following:
>>
>> ListPlot[Table[Random[], {10}],
>> AxesLabel -> {Style["Subscript[f, RF]", \
>> FontSlant->Plain, FontColor->Red],Style[ \
>> "y-axis", FontColor->Red]} ]
>>
>> ... does not produce an x axis label as expected. What I would expect is
>> a label with a the FontSlant as indicated and of FontColor as indicated.
>>
>> However, the label is written with "f" in italic, the subscript in plain
>> and both in a colour of light grey.
>>
>> The y axis label (no Subscript) is as expected.
>>
>>
>> With the same code on Windows XP at least the FontColor is as specified,
>> the FontSlant is also here not as specified (but I could live with that
>> if I have to).
>>
>> In summary there are two problems for me with Subscript (on Linux):
>> - the FontSlant specification is not working
>> - the FontColor specification is not working
>>
>>
>> Could somebody please give me hint how to get at least FontColor working
>> on Linux?
> 
> For one thing, there should be no quotes around Subscript[f,RF]. It 
> should be Style[Subscript[f, RF], not Style["Subscript[f, RF]". To get 
> rid of the single-letter italics, try StandardForm.
> 
> ListPlot[Table[Random[], {10}],
>   AxesLabel -> {Style[StandardForm[Subscript[f, RF]],
>      FontColor -> Red], Style["y-axis", FontColor -> Red]}]
> 
> I don't know what the issue is with the color; it works for me (WinXP).
> 


  • Prev by Date: Re: A problem with FindRoot
  • Next by Date: Using ReadList to read a string
  • Previous by thread: Re: PlotLabel - SubscriptBox - Vers. 6: FontColor not working?
  • Next by thread: Re: PlotLabel - SubscriptBox - Vers. 6: FontColor not working?