Search found 78 matches

by user49915
Fri Jul 03, 2020 12:38 pm
Forum: Text Formatting
Topic: double quotes in monospace with acm_proc_article-sp
Replies: 0
Views: 106

double quotes in monospace with acm_proc_article-sp

Consider the input \documentclass{acm_proc_article-sp} \begin{document} \texttt{``foo''} \end{document} using the most recent acm_proc_article-sp.cls , which I believe to be version 3.2 and which you can take, e.g., from https://raw.githubusercontent.com/tewalds/CMPUT663Survey/master/acm_pro...
by user49915
Wed Jun 17, 2020 5:55 pm
Forum: Text Formatting
Topic: Greek math letters are not printed in the list of todo notes
Replies: 0
Views: 257

Greek math letters are not printed in the list of todo notes

Feeding \documentclass{article} \pagestyle{empty} \usepackage[math-style=ISO]{unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Termes} \setsansfont{TeX Gyre Heros}[Scale=0.88] \setmonofont{TeX Gyre Cursor} \setmathfont[Ligatures=TeX]{TeX Gyre Termes Math} \usepackage{todonotes} %%% Simplified http...
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: 701

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: 462

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: 382

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: 382

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: 382

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: 286

\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: 573

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: 685

\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} {...

Go to advanced search