# Greek alphabet not displayed correctly in tikzpicture mode

I'm using the package TikZ to make a timeline with arrows and text pointing to certain ticks. (\begin{tikzpicture}...)

The text I have inside the \addmilestone{...} environment contains the Greek letter lower case \xi which it displays as something that resembles a number "6". The \xi's in the rest of the document outside of TikZ environment display correctly.

Any ideas how I can fix this? Here is the code:

\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{timeline}
\begin{document}
\begin{tikzpicture}[timespan={}]
\timeline[custom interval=true]{, , , , , }
\begin{phases}
\phase{between week=1 and 2 in 0.7,involvement degree=2.125cm}
\end{phases}
\addmilestone{at=phase-1.270,direction=330:1cm,text={$\xi_j$, $F_{\xi_1,\xi_2}$, $F_{\eta}$},text options={below}}
\end{tikzpicture}
\end{document}


Thank you!

• Please, show us the code you are using. – Sigur Feb 22 at 1:04
• Welcome to TeX.SE! In its present form your question is unanswerable, and will be closed after some grace period. Please do what @Sigur is suggesting: provide us with a minimal example that shows the problem, i.e. a document that starts with \documentclass, ends with \end{document} and illustrates the issue. – user121799 Feb 22 at 1:42
• While you don’t give enough information to reproduce this bug, I note that, in the OML encoding, ξ is "18. In T1, You might be displaying the glyph in this slot from another 8-bit font, – Davislor Feb 23 at 23:21
• Probably, using \usetikzlibrary {babel} in the preamble solves the problem. But you still need to add MWE as @marmot points out. – ferahfeza Feb 23 at 23:21
• I've added the code - thank you! As you can see, $\eta$ displays properly but $\xi$ does not. I tried adding \usetikzlibrary {babel} to the preamble also. Same issue when I insert the code inside a document class of article. – wy6622 Feb 24 at 23:30

As I suspected, the code contains a bad part that affects \xi. Open tikzlibrarytimeline.code.tex and replace all occurrences of \xi with \tlxi.