3

I want to use just a single character (the capital G) from the Euclid Math One font in a latex document. How can I do that without using Xe or LualaTeX? Here is the preamble:

\documentclass[sunil1]{sunil} %See documentation for other class options
\HeadingsChapterSection
\usepackage{fixltx2e,fix-cm}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{graphicx,wrapfig,lipsum}
\usepackage{subfigure}
\usepackage{makeidx}
\usepackage{multicol}
\usepackage{enumitem}
\usepackage{bm}
\usepackage{MnSymbol}
\setlength{\textfloatsep}{2pt plus 1pt minus 1pt}
\usepackage{gensymb}
\usepackage{comment}
\usepackage{placeins}
\setcounter{chapter}{+0}
\usepackage[export]{adjustbox}


\newcommand{\squeezeup}
 {\vspace{-1cm}}
\newcommand{\squeezedown}
 {\vspace{-3mm}}

On using @egreg solution mentioned below I get the error: Too many math alphabets used in version normal

9
  • 1
    Welcome to TeX.SE! For the benefit of the readers of this site who are not familiar with "EuclidTypeOne", would you mind providing a brief explanation as to what it is?
    – Mico
    Commented Dec 1, 2015 at 10:05
  • 1
    Do you mean this Roman G or this calligraphic G?
    – egreg
    Commented Dec 1, 2015 at 15:53
  • 1
    To get code to display as code, highlight the code with your mouse, and then click on the {} icon above the edit box. Commented Dec 1, 2015 at 17:24
  • 1
    Any clue for where to find sunil.cls? I found one at cyberaide.googlecode.com/svn/trunk/papers/11-greenit-bookch/… but when I add my code below I get no error.
    – egreg
    Commented Dec 1, 2015 at 17:43
  • 1
    @VishalMinhas Start with removing the call to MnSymbol.
    – egreg
    Commented Dec 1, 2015 at 17:49

1 Answer 1

5

The calligraphic G from the Euler fonts is easily available:

\documentclass{article}
\usepackage{amsmath}

\newcommand{\eulG}{\textnormal{\usefont{U}{eus}{m}{n}G}}

\begin{document}

$\eulG\ne\mathcal{G}$; let's try a subscript: $A_{\eulG}$.

\end{document}

enter image description here

2
  • On using your solution I am getting this error: Too many math alphabets used in version normal. Any help? Commented Dec 1, 2015 at 16:50
  • @VishalMinhas Since this macro doesn't define new math alphabets, I don't think it's the cause of the problem.
    – egreg
    Commented Dec 1, 2015 at 16:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .