Fonts & Character Setscm-super with math mode

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
xiao
Posts: 1
Joined: Thu Jan 28, 2010 7:42 am

cm-super with math mode

Post by xiao »

Hello I'm new to latex and the forums

I use Miktex and I installed cm-super packages but it still uses the normal bluesky fonts in math-mode. I installed it with Miktex Package Manager. Are there extra steps to use it with math-mode?

I want this because I want to use computer modern math fonts with adobe illustrator for drawing diagrams. Adobe Illustrator does not display Computer Modern fonts correctly. After searching for an answer I think the cm-super package will solve the problem.

Thank You for the help

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

cm-super with math mode

Post by localghost »

You need to enable Cork Encoding by means of the fontenc package.

Code: Select all

\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}

\begin{document}
  \begin{equation}\label{eqn:einstein}
    E=mc^2
  \end{equation}
\end{document}
If necessary, load the lmodern package to get postscript Latin Modern fonts.


Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Post Reply