5
votes
1answer
96 views

Define certain letter in math-mode to be always non-italic

Imagine I have a 500 page book about complex numbers. But I always wrote just j in math-mode as the imaginary unit. But I should have written \mathrm{j}. Is there a command I could write into my ...
14
votes
2answers
709 views

Does italic math originate from TeX?

When I look in old mathematical textbooks from the seventies and before, mathematics is always upright. Their use of italic letters in other contexts, however, shows that this is not because of ...
2
votes
0answers
76 views

Upright math in italic lemma

I naively entered the following math-mode/text mix in a theorem environment, but the way LaTeX treats the parenthesis doesn't seem right. Especially upright math formulas in italic text parenthesis ...
6
votes
1answer
168 views

Typeset an upright ell

The $\ell$ character in math-mode is clearly slanted to match the usual slant of math-mode characters. Is there a way to typeset an upright version, that won't look slanted amid other ...
0
votes
0answers
33 views

How do I de-italicise text in maths mode? [duplicate]

$\widetilde{V}$ gives me an italicised V. Is there some way that I can de-italicise this V?
6
votes
1answer
130 views

Spacing between letters of multi-letter identifier changes randomly

I use multi-letter identifiers in my thesis, for which I wrote macros, for example: \newcommand{\spec}{\mathit{Spec}} In a text, I always refer to these identifiers as: some words $\spec$ even ...
7
votes
3answers
147 views

What is going on with kerning when comparing math italics to italics?

Consider this example: \documentclass{article} \begin{document} \begin{tabular}{ll} Math & $AUC$ \\ Italics & \textit{AUC} \\ \end{tabular} \end{document} In ...
3
votes
3answers
367 views

How to make a vector bold and italic inside an equation

I want all my equations to be in italics and the vectors to be bold as well. When I write the following LaTeX code it gives italic equations: \begin{equation} F = kx \end{equation} But when I ...
1
vote
0answers
151 views

make math symbol italic

I must admit that I don't really know my way around LaTeX, pretty much at all. Anyway, here's my problem: I want to include the symbols \flat and \sharp in my text. Unfortunately I only receive ...
2
votes
1answer
112 views

How do I slant variables when using eulervm?

Using fontspec and xetex, when in text mode I can define: \renewcommand{\textsl}[1]{{\fontspec[FakeSlant=0.2]{Neo Euler} #1}} and I get slanted characters using Neo Euler (to fake the missing ...
0
votes
0answers
35 views

Bold and italic text in mathematical expression in table heading [duplicate]

How can I have both bold and italic text in mathematical symbols and expressions which are in table heading?
1
vote
2answers
204 views

Avoiding italicization in math mode [duplicate]

I want to avoid text being italicized when it's inside dollar signs. For example I want the Gal part of $Gal(f)$ to show as plain text, without having to write Gal$(f)$. How do I do this? Thanks.
4
votes
1answer
498 views

How can I set uppercase greek letters as italic in math mode by default?

This is a follow up question to here. The recommended solution doesn't work for me. I therefore let all my mathematical packages in the MWE. The result is an upright Psi followed by an italic Psi. I ...
6
votes
1answer
284 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
386 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 ...
2
votes
0answers
168 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
1k 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 ...
9
votes
1answer
2k 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: ...
6
votes
2answers
331 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
131 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 ...
5
votes
2answers
2k 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 ...
8
votes
2answers
1k 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 ...
11
votes
3answers
1k 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^{-}}} ...
7
votes
2answers
4k 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 ...
26
votes
5answers
33k 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 ...
9
votes
2answers
9k 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 ...
30
votes
4answers
3k 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
525 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
653 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 ...
20
votes
4answers
8k 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 ...
6
votes
2answers
4k 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 ...
11
votes
2answers
2k 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 ...