Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to make a figure using a font that has support for mathematics. The aim here is to enhance the visual appeal of the figure compared to what could be achieved with one of the plainer standard LaTeX fonts. After some experimentation I have chosen gfsartemisia-euler. I have the problem that the \dot{x} command is processed to give a result more like \underline{x}. Here's an example:


\usepackage{mathtools, color,tikz}







\begin{scope}[font=\large, color=black, ultra thick, node distance=19mm, text centered,text=black]

\node[text width=80mm]  (SE-PE) {$\displaystyle \frac{ \partial } { \partial t} A_{n r} = [B_{0}, A_{nr} ] + \sum_{\substack{s \neq r  \\ s=1}}^{M} \frac{ \dot{x}_{r} - \dot{x}_{s} } { x_{r} - x_{s} } [ A_{ns}, A_{nr}] $ \\[+5pt]  Schlesinger Equations/ Painlev\'e Equations};

\node[minimum height=47mm, minimum width=87mm, rounded rectangle, draw,red] at (SE-PE) {};




with result

numerator terms are underlined rather than having a dot above

I have looked at various pages on changing fonts in documents without success, but I don't often have to play with fonts so it appears that I'm missing some crucial piece of information on how to proceed. Suggestions will be appreciated.

share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

This has nothing to do with tikz. The font files for gfsartemisia-euler lack any commands for defining the math accents, and the accents are in non-standard places. To fix this issue an appropriate \DeclareMathAccent command as follows:




\( \dot x \dot A \)


Sample output

How do you get to the right math accent command? Well the log file, tells you the path to the package file for the font, namely .../gfsartemisia-euler.sty. In this file you find that there is only one symbol font defined, namely via the line


which tells us that artemisiauelernumbers is set up to be used as math symbols, and that it is really artemisiaeuler in the OT1 encoding. That font is loaded via the file ot1artemisiaeuler.fd, which lies in the same directory and contains the declaration

\DeclareFontShape{OT1}{artemisiaeuler}{m}{n}{<-> s * [0.98] artemisiarg8a}{}

telling us that the font used is artemisiarg8a Now you can get a table of the characters in the relevant font by using the fonttable package as follows:






The resulting table shows that the dot accent lies in position "01, and that is the argument we use in the math accent command. Now one should treat the other accents in a similar way...

share|improve this answer
thanks for the thorough and speedy response, this has fixed the problem (and most likely some potential future problems) very simply. –  Jason Whyte Oct 26 '12 at 0:43
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.