Tag Info

New answers tagged

2

I changed the font, but the problem's not font specific. The \showlists output shows that in the first case . is set to pull the . from \fam0 In a classic TeX set up \fam0 is used for the text Roman font as used for \log and friends, but with unicode-math the Roman characters come from the Roman alphabet in the upper plane of the Unicode font in \fam1 and ...


4

A number of commands in unicode-math are contained in \AtBeginDocument so are first run around the point when the processing gets to the \begin{document} command. You can use the same trick yourself to override a definition: \documentclass[a4paper,11pt,twoside,fleqn]{report} \usepackage{mathtools} \usepackage[bold-style=ISO]{unicode-math} ...


6

As can be seen in the answers to your other post, you have to define your symbols after the start of your document. % arara: lualatex \documentclass[a4paper]{article} \usepackage{unicode-math} \AtBeginDocument{% \let\phi\varphi \let\epsilon\varepsilon } \begin{document} \noindent varphi: $\varphi$ works!\\ phi: $\phi$ should look the ...


3

Use the proper family number for j: \documentclass{article} \usepackage{amsmath} \usepackage{fontspec} \usepackage{unicode-math} \setmainfont{Minion Pro} \setmathfont{MnSymbol} \setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{Minion Pro} % this is number 4 \setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{MinionPro-Bold} ...


5

\documentclass{article} \usepackage{amsmath} \usepackage{fontspec} \usepackage{unicode-math} \AtBeginDocument{\Umathcode`j="0"0"6A } \begin{document} \begin{equation} j ~~\text{is}~~ \mathrm{j} \end{equation} \end{document} I don't have MinionPro. but here is your extended version using Arial (you want 6) \documentclass{article} ...


3

I know this was a long time ago, but how about using Sam Buss's macro that is supposed to work for Gödel numbers. See http://www.logicmatters.net/latex-for-logicians/symbols/corner-quotes-for-godel-numbers/ \documentclass{article} \usepackage{amssymb} \newbox\gnBoxA \newdimen\gnCornerHgt \setbox\gnBoxA=\hbox{$\ulcorner$} \global\gnCornerHgt=\ht\gnBoxA ...


3

You should use neither \fontspec nor \providecommand: using \fontspec is not recommended, because very inefficient; \textdied already has a definition as a TS1 command when unicode-math is loaded, so `\providecommand does nothing \documentclass{article} \usepackage{fontspec} \usepackage{unicode-math} \newfontface{\drmfont}{drmsym10}[ ...


2

Here are unicode math macros I think I'll try to use: \documentclass{article} \usepackage{amsmath} \usepackage{unicode-math} \setmathfont{Asana Math} \usepackage{newunicodechar} % roots: \newunicodechar{√}{\sqrt} \newunicodechar{∛}{\sqrt[3]} \newunicodechar{∜}{\sqrt[4]} % full differential: \newunicodechar{d}{\,\mathrm{d}} % superscripts: ...


6

It's easy with newunicodechar \documentclass{article} \usepackage[intlimits]{amsmath} \usepackage{ifxetex} \ifxetex \usepackage{unicode-math} \removelimits{\int} \else \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \fi \usepackage{newunicodechar} \newunicodechar{√}{\sqrt} \ifxetex\else % these are already available with unicode-math ...


4

There is nothing specific about unicode here. You have tagged the question unicode-math and if you are using that package you can use U+222b character to access the character or \int which will make the same thing. The visual form of the integral sign, like the visual form of any character, depends on which font is being used, not the input convention. In ...



Top 50 recent answers are included