Search found 76 matches

by user49915
Wed May 13, 2020 2:47 pm
Forum: XeTeX
Topic: How to get text-mode \checkmark in xelatex or lualatex?
Replies: 0
Views: 171

How to get text-mode \checkmark in xelatex or lualatex?

Feeding the code \documentclass{standalone} %\usepackage{amssymb}%%% Useless here. \usepackage{unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Termes}%%% we need Times or a Times clone. \setsansfont{TeX Gyre Heros}[Scale=0.88]%%% Somewhat ok. \setmonofont{TeX Gyre Cursor}%%% No explicit turning o...
by user49915
Mon Apr 06, 2020 10:15 pm
Forum: XeTeX
Topic: Where to get an upright sans-serif math capital Greek without changing the rest?
Replies: 0
Views: 301

Where to get an upright sans-serif math capital Greek without changing the rest?

Feeding the code \documentclass{article} \usepackage[ngerman]{babel} \usepackage{mathtools}%%% loads amsmath internally \mathtoolsset{mathic=true} %%% See http://tex.stackexchange.com/a/3496 \usepackage[math-style=ISO]{unicode-math}%%% In general, we wish to have ISO style. \setmainfont[Ligatures=Te...
by user49915
Wed Apr 01, 2020 2:49 pm
Forum: Fonts & Character Sets
Topic: Give me my fancy math X from mathptmx back!
Replies: 4
Views: 294

Give me my fancy math X from mathptmx back!

samcarter wrote:It is trivial to size scale it automatically if one uses a unit relative to the font size, e.g. em

I correct myself: I find it difficult... Probably, you mean ex rather than em, to match the height of the font.
Anyway, even if it's solved, the problem of how to get X into the PDF text layer remains.
by user49915
Wed Apr 01, 2020 11:42 am
Forum: Fonts & Character Sets
Topic: Give me my fancy math X from mathptmx back!
Replies: 4
Views: 294

Give me my fancy math X from mathptmx back!

A picture of X wouldn't result in X in the text layer of the PDF file generated. Moreover, I find it difficult to size-scale it automatically if needed.
by user49915
Wed Apr 01, 2020 1:29 am
Forum: Fonts & Character Sets
Topic: Give me my fancy math X from mathptmx back!
Replies: 4
Views: 294

Give me my fancy math X from mathptmx back!

In the old times of mathptmx , we wrote stuff such as \documentclass{article} \pagestyle{empty} \usepackage{mathptmx} \begin{document} Let \(\mathcal{X}=\{X_1,\ldots,X_n\}\). \end{document} and got from pdflatex a fancy calligraphic math X, which was sufficiently fancy to be visibly distinct...
by user49915
Fri Mar 27, 2020 8:57 pm
Forum: Fonts & Character Sets
Topic: \bigparallel as variable-size prefix operator symbol in [xe|lua]latex
Replies: 0
Views: 209

\bigparallel as variable-size prefix operator symbol in [xe|lua]latex

What is the proper™ way to obtain a variable-size parallel operator to be used in the prefix position? If I see it right, stmaryrd 's \bigparallel already does the job for pdflatex , but how about [xe|lua]latex ? My attempts so far are cumbersome: \RequirePackage{ifxetex,ifluatex} \newif\ifxetexorlu...
by user49915
Wed Mar 25, 2020 8:35 pm
Forum: MakeIndex, Nomenclature, Glossaries and Acronyms
Topic: Makeindex: group extra sorted subentries that have |see
Replies: 2
Views: 453

Makeindex: group extra sorted subentries that have |see

Let us create a source file mwe.tex containing \documentclass{article} \pagestyle{empty} \usepackage[USenglish,ngerman]{babel} \usepackage{makeidx} \makeindex \newcommand{\indexUSeWithSubsubentryAsGer}[4]{\index{000#1 #2 #3@\foreignlanguage{USenglish}{#1}!\foreignlanguage{USenglish}{#2}!\foreignlang...
by user49915
Tue Mar 17, 2020 2:13 pm
Forum: Math & Science
Topic: \mathup vs. \mathrm
Replies: 2
Views: 569

\mathup vs. \mathrm

\mathup [... is ...] only defined in unicode-math , and appears to be defined there merely as an alias for \mathrm . Presumably, the user could re-define it [...] I saw the definition, which uses LaTeX3 : \__um_keys_choices:nn {mathup} { {sym} { \bool_gset_false:N \g__um_mathrm_text_bool } {text} {...
by user49915
Fri Mar 13, 2020 5:35 pm
Forum: Text Formatting
Topic: (soul or soulutf8) + microtype = ☇
Replies: 0
Views: 277

(soul or soulutf8) + microtype = ☇

Continuing https://github.com/latex3/babel/issues/53#issuecomment-598474037 and https://github.com/latex3/babel/issues/53#issuecomment-598530361 here (as the issue is unrelated to babel), consider feeding \documentclass{article} \usepackage{microtype} \usepackage{soul} % this is the default for text...
by user49915
Fri Mar 13, 2020 5:24 pm
Forum: Math & Science
Topic: \mathup vs. \mathrm
Replies: 2
Views: 569

\mathup vs. \mathrm

unicode-math says: "\mathup and \mathrm are aliases of each other and cannot be configured separately." However, https://tex.stackexchange.com/a/482988 says: "The default upright font for mathematics, which might or might not be Roman ,[...]". This would make a difference if the ...

Go to advanced search