4

I am unable to reproduce the following font/style in a tikz picture:

enter image description here

This is my code

\documentclass{standalone}
\usepackage{tikz}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{newtxtext, newtxmath}
\usepackage[mathcal]{euscript}

\begin{document}
\tikzstyle{block} = [draw, rectangle, 
    minimum height=3em, minimum width=3em]
\centering
\begin{tikzpicture}
\node [block] (A) {$\mathbf{G}_{\mathcal{IP}}+\mathbf{u}_{\mathcal{F}}\mathbf{G}_{\mathcal{FP}}$};
\end{tikzpicture}
\end{document}

which generates

enter image description here

How to fix this?


Update: without euscript:

enter image description here

  • Get rid of \usepackage[mathcal]{euscript} or at least get rid of [mathcal] – Steven B. Segletes Feb 11 '17 at 0:26
  • 2
    It changes the font but still different from the one in the question. I could not upload the image due to the reputation limit. – user125098 Feb 11 '17 at 0:32
  • The subscripts look like Zapf Chancery – David Carlisle Feb 11 '17 at 0:51
  • Thanks @DavidCarlisle I noticed that as well. But how to change it? – user125098 Feb 11 '17 at 0:57
2

the subscripts look like Zapf Chancery, there are several clones of that available with TeX setup, perhaps

enter image description here

\documentclass{standalone}
\usepackage{tikz}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{newtxtext, newtxmath}
\usepackage{urwchancal}

\begin{document}
\tikzstyle{block} = [draw, rectangle, 
    minimum height=3em, minimum width=3em]
\centering
\begin{tikzpicture}
\node [block] (A) {$\mathbf{G}_{\mathcal{IP}}+\mathbf{u}_{\mathcal{F}}\mathbf{G}_{\mathcal{FP}}$};
\end{tikzpicture}
\end{document}
0

Replaced euscript with \usepackage[cal=zapfc]{mathalfa}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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