Search found 81 matches

by user49915
Tue Mar 08, 2022 5:39 pm
Forum: MakeIndex, Nomenclature, Glossaries and Acronyms
Topic: Superfluous comma in with \glsaddallunused
Replies: 2
Views: 52005

Superfluous comma in with \glsaddallunused

Thanks, Nicola! What I did in the end was saying \glsaddeach[format=glsignore]{…} instead of \glsaddallunused with the comma-separated list … of entries that are never referenced (hence, do not have page numbers) but still have to be present in the index. (In the given example, the list would have ...
by user49915
Tue May 25, 2021 6:14 pm
Forum: Graphics, Figures & Tables
Topic: Thickness of the text of nodes for crossing Bézier curves with bridge
Replies: 0
Views: 2658

Thickness of the text of nodes for crossing Bézier curves with bridge

Continuing http://tex.stackexchange.com/a/581548, consider the following code:

\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{intersections,angles,calc}
\newlength{\bridgeTunnelRadius}\setlength{\bridgeTunnelRadius}{.45ex}%%% when drawing two lines over each other that should not ...
by user49915
Tue Sep 08, 2020 7:38 pm
Forum: Math & Science
Topic: What do \mathaccentV and \Umathaccent do?
Replies: 0
Views: 2913

What do \mathaccentV and \Umathaccent do?

What do these two commands ( \mathaccentV for pdflatex and \Umathaccent for {xe|lua}latex ) do exactly and how to use them (or how are they used)? As an example, could anyone give an example of how to use them to construct right arrows above math symbols, such as, e.g., a⃗ (except that the small ...
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: 1507

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_proc ...
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: 1562

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 ...
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: 15154

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 ...
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: 13312

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 ...
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: 5481

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

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

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 ...