Skip to content

Quiz: Who finds the nicest form of X_1^\prime?

6 messages · Peter Ehlers, Marius Hofert, David Winsemius

#
Dear expeRts,

I would like to create a plotmath-label of the form X_1^\prime. Here is how to *not* do it [not nicely aligned symbols]:

plot(0,0,main=expression(italic(X*minute[1])))
plot(0,0,main=expression(italic(X[1]*minute)))
plot(0,0,main=expression(italic(X)[1]*minute))

Any suggestions?

Cheers,

Marius
#
On 2011-04-06 14:14, Marius Hofert wrote:
Hmm ....; your subject line is a clue:

  expression(italic(X)[1]^minute)

Note the '^'.

Peter Ehlers
#
see inline;
On 2011-04-06 14:22, Peter Ehlers wrote:
and if you want a 'straight' prime:

    expression(italic(X)[1]^"\'")

Peter
#
On Apr 6, 2011, at 5:14 PM, Marius Hofert wrote:

            
Not all of us read LaTeX, so this is my initial guess at what you are  
requesting.  The "*" after the '1' is a non-space plotmath separator.

plot(0,0,main=expression(italic(X["`"*1])))
If you wanted the tick after the 1, then think of 'minute' as a  
constant rather than as a function:

plot(0,0,main=expression(italic(X[1*minute])))

Or:

plot(0,0,main=expression(italic(X[minute*1])))
Greater effort at explanation that does not depend on intuiting your  
goal from erroneous code.
#
Dear Peter, Dear David,

this is also what I tried: plot(0,0,main=expression(italic(X)[1]^minute)) [as suggested by Peter]. The problem is that the prime seems so small/short when used with "^". Is there a way to get a thicker/larger prime?

Cheers,

Marius
On 2011-04-06, at 23:22 , Peter Ehlers wrote:

            
#
On Apr 6, 2011, at 5:58 PM, Marius Hofert wrote:

            
This any better?

plot(0,0,main=expression(italic(X)[1]^bolditalic("'")))
David Winsemius, MD
West Hartford, CT