MathGroup Archive 2010

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

Search the Archive

Re: Upright \[Micro] in AxesLabel

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107374] Re: [mg107349] Upright \[Micro] in AxesLabel
  • From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
  • Date: Thu, 11 Feb 2010 05:17:44 -0500 (EST)
  • References: <201002100835.DAA21244@smc.vnet.net>

Hi,

the approach is really simple but due to the lack of documentation maybe
not so easy to find:

Just take the font you want. In your case the mu of the Symbol font:

xlabel = Style["Time [d]", 20, FontFamily -> "Times"];
ylabel = Row[{Style["Height [", 20, FontFamily -> "Times"], 
    Style["\[Mu]", 20, FontFamily -> "Symbol"], 
    Style["m]", 20, FontFamily -> "Times"]}];
Plot[x^2, {x, 0, 9}, AxesLabel -> {xlabel, ylabel}]

This looks quite perfect on my OSX but *not so good* (to put it mildly)
on my Linuxbox. Anyway, it works and I think on a Windoze it will look
as good as on OSX.

By the way: On my OSX it seems I can use all TrueType (I tried only
these) fonts inside Mathematica. There you can do cool stuff like

Style["Hello world!",50, FontFamily->"Handwriting - Dakota"]

Cheers
Patrick

On Wed, 2010-02-10 at 03:35 -0500, Ulf-Dietrich Braumann wrote:
> Hello, how can I get an upright \[Micro] within AxesLabel?
> 
> E.g.
> Plot[x^2,{x,0,9},AxesLabel->{"Time [d]","Height [\[Micro]m]"},LabelStyle->{FontSize->20,FontSlant->Plain}]
> should demonstrate the problem. Just \[Micro] remains slanted.
> 
> However, turning on bold typeface (this is not what I need)
> Plot[x^2,{x,0,9},AxesLabel->{"Time [d]","Height [\[Micro]m]"},LabelStyle->{FontSize->20,FontSlant->Plain,FontWeight->Bold}]
> the \[Micro] appears upright
> 
> Any idea how to obtain this for Fontweight->Plain ?
> 
> Regards - Ulf-Dietrich
> 



  • Prev by Date: Re: Re: Bug? Analytical integration of cosines gets the
  • Next by Date: Re: A question about Graphics3D
  • Previous by thread: Re: Upright \[Micro] in AxesLabel
  • Next by thread: Re: Re: Upright \[Micro] in AxesLabel