# Tag Info

## New answers tagged unicode-math

7

Since you're using LuaLaTeX, you could execute the command \everymath{\crampedtextstyle} This instruction tells TeX to use "cramped" style automatically whenever it's in inline math mode -- as is the case when \SI{...}{...} is processed. The command \crampedtextstyle, a "primitive" command, instructs LuaTeX to position first- and second-level ...

7

The character you're using is ɣ U+0263 LATIN SMALL LETTER GAMMA while the character you want is γ U+03B3 GREEK SMALL LETTER GAMMA They're different and should not be confused with each other. See http://en.wikipedia.org/wiki/Latin_gamma for some information about U+0263.

1

If you wish to have a character added to character code standards, contact the Unicode Consortium. Adding MATHEMATICAL SANS-SERIF CAPITAL THETA might be realistic, especially if you cite ISO 80000-1, but it would take time and effort. And it’s not really needed in order to get the symbol in your documents, in TeX or otherwise. You can simply use the normal ...

4

Not a lot goes wrong if you use text fonts for alphabetic symbols. This is just using the default latin modern setup which only seems to have theta (U+0398) not the theta symbol (U+03F4) in sans, other font sets may have both) \documentclass{article} \usepackage{fontspec} \usepackage{mathtools} \usepackage{unicode-math} \begin{document} aaa [Θ] [ϴ] ...

2

As you already figured out, by default √ is just printed as a usual symbol and not a mathematical object. Thus you must define it \documentclass{article} \usepackage{unicode-math} \usepackage{newunicodechar} \newunicodechar{√}{\sqrt} Now you want to put the argument in between an equation environment. To do that you need to define an auxiliary macro ...

1

as active character: \documentclass{scrartcl} \usepackage{unicode-math} \setmathfont{XITS Math} \begin{document} $√2+3$ \catcode`\√=13 \let√\sqrt $√{2+3}$ \end{document}

9

There are two choices; one is easier: \documentclass{article} \usepackage{unicode-math} \setmathfont{XITS Math} \newcommand{\bcirc}{\mathbin{\mdsmwhtcircle}} \begin{document} $f\bcirc g$ \end{document} The second one is more complicated: \documentclass{article} \usepackage{unicode-math} \setmathfont{XITS Math} \ExplSyntaxOn \AtBeginDocument { ...

7

It's a very unfortunate state of affairs. The problem is that unicode-math does most of its work during processing of \AtBeginDocument tokens, that is, when \begin{document} is scanned. Part of this is to define \question as a math symbol producing a question mark. So, when you define the question environment with \newtheorem, no error is raised. But ...

11

As I already wrote in the comments: unicode-math defines \question. So you can't use "question" as the name of your environment. Replace it by e.g. questionX: \documentclass{article} \usepackage{unicode-math} % This causes the question mark bug \newtheorem{theorem}{Theorem} \newtheorem{question}[theorem]{Question} \newtheorem{questionX}[theorem]{Question} ...

1

You can also do the following: Go into Command mode in vim by hitting ESC, so what you enter appears in a special command-line at the bottom of the screen. Search: Enter / directly followed by what you want to search for and hit enter to search in forward direction. To search in backwards direction, use ? instead of /. To repeat the search in forward ...

1

Sometimes you might want to use an actual no-break space. So turning them into normal spaces altogether might not be the best idea. In that case Adityas solution is a good start. But I don’t like my indentation displayed as ^I. The following colours the no-break spaces in gvim: hi NoBreakSpace guibg=LightGoldenrod1 guifg=black syn match NoBreakSpace / / ...

5

use \documentclass{beamer} \usefonttheme{serif} \usefonttheme{professionalfonts}% don't change fonts inside beamer \usepackage{unicode-math} \usepackage{libertine} \setmathfont{Asana Math} ...

Top 50 recent answers are included