comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: dot above a letter
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: dot above a letter [message #41232] Fri, 15 October 2004 08:05
Ben Panter is currently offline  Ben Panter
Messages: 102
Registered: July 2003
Senior Member
Evelien Vanhollebeke wrote:

> I "speak" rather well latex and the package you proposed is indeed very
> handy for the greek symbols! I will be using it quite a lot in the
> future, but unfortunately what I do in latex \dot{M} can't be translated
> to idl symbols by the package.

That's a pity... I would have really liked to have a neat way to write
\dot{\rho} in a title! I'll just stick with the off centre point.

*sigh*

Ben

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Panter, Garching, Germany
email via www.benpanter.co.uk
Re: dot above a letter [message #41234 is a reply to message #41232] Fri, 15 October 2004 04:46 Go to previous message
Ben Panter is currently offline  Ben Panter
Messages: 102
Registered: July 2003
Senior Member
> I wonder how I could get a dot above a letter on e.g. the title of an
> axis (like Mdot). I've searched the archive of this newsgroup and found
> two posts about this subject (which actually asked the same question),
> but none had an answer.

I use direct graphics (like plot, x, y) for you it may be different:

plot, x, xtitle='!sm!r!20!A7!n!x', charsize=4

In this example,

!s saves the current position
m draws the m character
!r restores the position (moving back to the start of m)
!20 changes the font to special math
!A moves up
7 draws the dot
!n moves back down to the normal level (and normal size)
!X changes back to whatever font you were before

For fuller details see the help section on "Embedded Font Selection
Commands" and "Positioning Commands" in the online help, or page 4434 in
the pdf reference manual (v6.1). "Formatting Command Examples" is pretty
useful.

The unfortunate side of this is that the dot is not centred. I don't
know how to do that - sorry!

The other alternative, if you speak tex/latex is to use tex2idl and tex
commands, found at:

http://physweb.mnstate.edu/mcraig/TeXtoIDL/

Ben

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Panter, Garching, Germany
email via www.benpanter.co.uk
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: DataMiner?
Next Topic: Re: Tagging DXF entiries/facets with refractive index

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:35:46 PDT 2025

Total time taken to generate the page: 0.87787 seconds