TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is perhaps a simple question, but I would like to print a capital I in my LaTeX document (beamer specifically) inside a $...$ construct. I would like my I to appear more substantial by having the horizontal lines at top and bottom, however this is not what I am getting.

Any suggestions?

share|improve this question

migrated from stackoverflow.com Mar 28 '13 at 14:51

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

Math fonts in beamer are set in serif by default. To change this, see How to get beamer math to look like article math (use the mathserif class option). On a case-by-case basis, you could use $...\mathrm{I}...$ to obtain a serif-style I:

enter image description here

\documentclass{beamer}% http://ctan.org/pkg/beamer
  I \quad $I$ \quad $\mathrm{I}$ \quad $\textrm{I}$

Of course, if you're using this "I" on a more frequent and contextual-specific basis, consider using a macro like

\newcommand{\upshapeI}[1]{\textrm{\upshape I}}

The above suggestions follows the principles in Consistent typography.

share|improve this answer

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.