6
votes
1answer
83 views

Automatic upright math when text is in italic

This is in a way a follow-up to this question about upright math. I would like to have upright math (essentially variable names) when I use a theorem-like environment with statement in italic. This ...
3
votes
1answer
106 views

Is there a bold italic \sigma and a sans serif bold italic \sigma?

And they look differently? I'm trying to typeset iso conform (vectors bold italic and tensors sans serif bold italic). Mechanical stress $\sigma$ is a tensor, but I also want to typeset the normal ...
1
vote
0answers
165 views

How to make bold and italic symbol inside an equation? [duplicate]

My problem is to make bold and italic symbol \widehat{abc}. According to Online LaTeX Equation Editor I should use \boldsymbol, but it seems not to work in TeXMaker. Also ...
2
votes
1answer
573 views

cursive letters inside equation

I want to use cursive font inside an equation. I have defined a macro \newenvironment{frcseries}{\fontfamily{frc}\selectfont}{} \newcommand{\textfrc}[1]{{\frcseries#1}} With this I get cursive ...
6
votes
1answer
541 views

Bold , italic (and sans-serif) math symbols

I would like to implement the suggestions in the TUGboat 30:3, 2009 about the upright/italic and bold/normal in scalars, vectors and tensors. All this is about math. I use this font: ...
5
votes
2answers
222 views

Can I set it so that math mode has uppercase letters not italicized?

Is there a way to set it so that math mode automatically stops italicizing upper-case letters? That is, so that $U$ produces the effect of what is now $\mathrm{U}$? I am using computer modern. I am ...
4
votes
1answer
105 views

If mathcode is used to typeset e and i upright, how to force it italics again?

I'm using \mathcode"69"69 in the preamble, as proposed in a comment in this question, to automatically typeset e and i upright in mathematical equations. The question is, is there a way to get an ...
4
votes
2answers
572 views

Why using \mathrm still gives italic text?

I'm writing an equation using the displaymath environment, and I'd like to have the units in non-italic. So I use \mathrm{}, and I write this: \begin{displaymath} P_{AVG}=19.5 + \frac{2180}{5 \cdot ...
5
votes
2answers
558 views

Bold italic math with unicode-math

How can I get the output I get without unicode-math using unicode-math, preferably (not necessarily) using the same code (\boldmath)? I would like the solution to work with at least the XITS and Latin ...
8
votes
2answers
785 views

Define particle names to use upright greek letters in math mode

Currently I have my electron neutrino & beta particle marco defined as \newcommand{\eneutrino}{\ensuremath{\nu_e}} \newcommand{\belectron}{\ensuremath{\beta^{-}}} ...
6
votes
2answers
2k views

How to get non-italic acute accent in math mode?

$\acute{e}$ makes an italic e with accent in math mode, how can I get the acute accent with a regular letter? I should mention that this is for annotating a plot with matplotlib, so common tricks in ...
13
votes
3answers
10k views

Is there a way to set math mode font non-italic?

I read many things about people wanting math mode in sans-serif font and doing crazy things with packages and options to get that, but I did not find anything that would simply make my math mode font ...
8
votes
2answers
4k views

Bold, italic math (\bm) and sansmath

I'm typesetting both text and math in Latin Modern, except for the figures, where I would like to use a sans serif font for both text and math. I need to follow the ISO recommendations for math ...
24
votes
4answers
2k views

Should subscripts in math mode be upright?

In one-letter subscripts, like $x_i$, the subscript is usually typeset italic. Is this the typographically right thing to do? Consider this case: The Boltzmann constant is often written as $k_B$, ...
3
votes
3answers
460 views

Italic letters are too loose in math mode

I want to type something like this page http://caml.inria.fr/pub/docs/manual-ocaml/expr.html. So I need to use \begin{align*} and \end{align*} which displays its contents math mode. Therefore italic ...
4
votes
1answer
419 views

blackboard italic font

I would like to make \mathbb{E} italic, i have tried \mathit{\mathbb{E}} and \mathbb{\mathit{E}}, both of them look like \mathbb{E}, I can not see the italic effect. Could anyone help? By the way, I ...
12
votes
2answers
3k views

Bold italic vectors

I am trying to display vectors as bold and italic. The command \mathbf sets the letters non-italic. I also googled a bit and stumbled upon \mathbf{\em y} or \mathbfit{y}, which all didn't work. I ...
3
votes
2answers
2k views

How do I change the math italic font in XeTeX/fontspec?

I have a document where the main font is Gotham Book. So in my preamble I have: \usepackage{fontspec} \setmainfont{Gotham Book} As the fontspec manual describes, this sets the math roman font to ...
9
votes
1answer
1k views

Italic in theorem environment

Consider the following theorem: \begin{theorem} If $x=0$, then $xy$ is equal to 0. \end{theorem} The first "0" will be typeset in upright typeface and the second one in italic. Including amsthm ...