Proper kerning in case the symbol with a subscript is a glossary term and a superscript is another glossary term The 2019 Stack Overflow Developer Survey Results Are InHow to get glossary terms to properly typeset subscripts/superscripts?Bug in svindd.ist?LaTeX fonts with proper kerning for characters with diacriticsHow to get proper kerning with XeTeX and special characters?Take the kerning of a font to make it the kerning of another oneText and scripts overlapped if subscript and superscript used at the same timeSymbol with overline and subscript leads to wrong kerningKerning between $uptau$ and subscript?Kerning issue between the letters “f” and “i”Which controls the kerning and position of superscript/subscript, LaTeX or font itself?Horizontal alignment of subscript and superscript - xetexKerning with `realscripts` and LuaLaTex
Why not take a picture of a closer black hole?
How to charge AirPods to keep battery healthy?
Computing the expectation of the number of balls in a box
I am an eight letter word. What am I?
Why “相同意思的词” is called “同义词” instead of "同意词"?
Can withdrawing asylum be illegal?
Is it correct to say the Neural Networks are an alternative way of performing Maximum Likelihood Estimation? if not, why?
Is it safe to harvest rainwater that fell on solar panels?
Get name of standard action overriden in Visualforce contorller
Output the Arecibo Message
Mathematics of imaging the black hole
What do these terms in Caesar's Gallic wars mean?
Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?
Keeping a retro style to sci-fi spaceships?
Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?
The phrase "to the numbers born"?
What is this business jet?
What is the most efficient way to store a numeric range?
Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?
How to support a colleague who finds meetings extremely tiring?
APIPA and LAN Broadcast Domain
Is it possible for absolutely everyone to attain enlightenment?
Why are there uneven bright areas in this photo of black hole?
How to notate time signature switching consistently every measure
Proper kerning in case the symbol with a subscript is a glossary term and a superscript is another glossary term
The 2019 Stack Overflow Developer Survey Results Are InHow to get glossary terms to properly typeset subscripts/superscripts?Bug in svindd.ist?LaTeX fonts with proper kerning for characters with diacriticsHow to get proper kerning with XeTeX and special characters?Take the kerning of a font to make it the kerning of another oneText and scripts overlapped if subscript and superscript used at the same timeSymbol with overline and subscript leads to wrong kerningKerning between $uptau$ and subscript?Kerning issue between the letters “f” and “i”Which controls the kerning and position of superscript/subscript, LaTeX or font itself?Horizontal alignment of subscript and superscript - xetexKerning with `realscripts` and LuaLaTex
Continuing How to get glossary terms to properly typeset subscripts/superscripts?, let's consider the following input:
documentclassbook
usepackagefontspec
usepackage[ngerman]babel
usepackagemathtoolsmathtoolssetmathic=true %%% See http://tex.stackexchange.com/a/3496/
usepackageamssymb
usepackageunicode-math
setmainfont[Ligatures=TeX]TeX Gyre Termes
setsansfontTeX Gyre Heros[Scale=0.88]
setmonofontTeX Gyre Cursor
setmathfont[Ligatures=TeX]TeX Gyre Termes Math
setmathfont[Ligatures=TeX,range=setminus]Asana Math
setmathfont[Ligatures=TeX,Extension=.otf,range="2A3E,BoldFont=XITSMath-Bold]XITSMath-Regular%%% The fat semicolon
usepackage[unicode,hidelinks]hyperref
usepackage[makeindex,toc,nogroupskip,nomain]glossaries-extra %%% glossaries-extra internally loads glossaries, and glossaries according to its documentation should be loaded after hyperref.
%%% The next hack improves how hyperref jives with svindd.ist, see https://tex.stackexchange.com/a/429446
makeatletter
def@commahyperpage#1@@commahyperpage#1,,,\
def@@commahyperpage#1,,#2,#3\%
ifx\#2\%
HyInd@pagelink#1%
else
HyInd@pagelink#1,,HyInd@pagelink#2%
fi
makeatother
setglossarystylelong3colrenewcommandglspagelistwidth10em
GlsSetQuote+ %%% Hack to work with makeindex
usepackage[babel=true,verbose=errors]microtype
newcommandNNZglsnot:nonnegativeNat% ℕ_
newcommandNNPglsnot:positiveNat
newcommandfiniteWordsSet[1]#1^glsnot:finiteWordsSymbol %%% Sequences
newglossary[nlg]notationnotntnSymbolverzeichnis
makeglossaries
newglossaryentrynot:positiveNattype=notation, name=(ℕ_mkern-2mu>0), text=ℕ_mkern-1mu>0, sort=Nplus, description=Die Menge positiver ganzer Zahlen.
newglossaryentrynot:nonnegativeNattype=notation, name=(ℕ_mkern-2muge 0), text=ℕ_mkern-1muge 0, sort=N0, description=Die Menge nichtnegativer ganzer Zahlen.
newglossaryentrynot:finiteWordsSymboltype=notation, name=(cdot^*), text=*, sort=*finiteWordsSymbol, description=Gegeben eine beliebige Menge (Z), bezeichnen wir mit (Z^*) die Menge aller endlichen Wörter (also, endlichen Sequenzen) über (Z).
begindocument
What we typeset is:
[finiteWordsSetNNZ finiteWordsSetNNP]
(finiteWordsSetNNZ finiteWordsSetNNP)
bigskip
However, the visual appearence leaves much to be desired. The star should better be closer to the double-struck capital N and a little bit higher, such as in
[ℕ^raisebox.1ex$scriptstyle *$_mkern-2mu>0 ℕ_mkern-2muge 0^raisebox.1ex$scriptstyle *$]
(ℕ_mkern-2mu>0^raisebox.1ex$scriptstyle *$ ℕ_mkern-2muge 0^raisebox.1ex$scriptstyle *$)\
and all the symbols should be still properly linked to the glossary.
printglossary
enddocument
Compiling with xelatex file && makeindex -g -s file.ist -t file.nlg -o file.not file.ntn && xelatex file gives us this:

How to adapt the code in such a way that the macro calls finiteWordsSetNNZ and finiteWordsSetNNP produce a visually pleasant output without losing the links to the glossary and perform as before for the other actual arguments? If that's too difficult, I'd even appreciate single macros finiteWordsOverNaturalsZ and finiteWordsOverNaturalsP that would produce the visually pleasant representation of the notation for sequences of naturals with/without zero?
xetex hyperref kerning makeindex glossaries-extra
add a comment |
Continuing How to get glossary terms to properly typeset subscripts/superscripts?, let's consider the following input:
documentclassbook
usepackagefontspec
usepackage[ngerman]babel
usepackagemathtoolsmathtoolssetmathic=true %%% See http://tex.stackexchange.com/a/3496/
usepackageamssymb
usepackageunicode-math
setmainfont[Ligatures=TeX]TeX Gyre Termes
setsansfontTeX Gyre Heros[Scale=0.88]
setmonofontTeX Gyre Cursor
setmathfont[Ligatures=TeX]TeX Gyre Termes Math
setmathfont[Ligatures=TeX,range=setminus]Asana Math
setmathfont[Ligatures=TeX,Extension=.otf,range="2A3E,BoldFont=XITSMath-Bold]XITSMath-Regular%%% The fat semicolon
usepackage[unicode,hidelinks]hyperref
usepackage[makeindex,toc,nogroupskip,nomain]glossaries-extra %%% glossaries-extra internally loads glossaries, and glossaries according to its documentation should be loaded after hyperref.
%%% The next hack improves how hyperref jives with svindd.ist, see https://tex.stackexchange.com/a/429446
makeatletter
def@commahyperpage#1@@commahyperpage#1,,,\
def@@commahyperpage#1,,#2,#3\%
ifx\#2\%
HyInd@pagelink#1%
else
HyInd@pagelink#1,,HyInd@pagelink#2%
fi
makeatother
setglossarystylelong3colrenewcommandglspagelistwidth10em
GlsSetQuote+ %%% Hack to work with makeindex
usepackage[babel=true,verbose=errors]microtype
newcommandNNZglsnot:nonnegativeNat% ℕ_
newcommandNNPglsnot:positiveNat
newcommandfiniteWordsSet[1]#1^glsnot:finiteWordsSymbol %%% Sequences
newglossary[nlg]notationnotntnSymbolverzeichnis
makeglossaries
newglossaryentrynot:positiveNattype=notation, name=(ℕ_mkern-2mu>0), text=ℕ_mkern-1mu>0, sort=Nplus, description=Die Menge positiver ganzer Zahlen.
newglossaryentrynot:nonnegativeNattype=notation, name=(ℕ_mkern-2muge 0), text=ℕ_mkern-1muge 0, sort=N0, description=Die Menge nichtnegativer ganzer Zahlen.
newglossaryentrynot:finiteWordsSymboltype=notation, name=(cdot^*), text=*, sort=*finiteWordsSymbol, description=Gegeben eine beliebige Menge (Z), bezeichnen wir mit (Z^*) die Menge aller endlichen Wörter (also, endlichen Sequenzen) über (Z).
begindocument
What we typeset is:
[finiteWordsSetNNZ finiteWordsSetNNP]
(finiteWordsSetNNZ finiteWordsSetNNP)
bigskip
However, the visual appearence leaves much to be desired. The star should better be closer to the double-struck capital N and a little bit higher, such as in
[ℕ^raisebox.1ex$scriptstyle *$_mkern-2mu>0 ℕ_mkern-2muge 0^raisebox.1ex$scriptstyle *$]
(ℕ_mkern-2mu>0^raisebox.1ex$scriptstyle *$ ℕ_mkern-2muge 0^raisebox.1ex$scriptstyle *$)\
and all the symbols should be still properly linked to the glossary.
printglossary
enddocument
Compiling with xelatex file && makeindex -g -s file.ist -t file.nlg -o file.not file.ntn && xelatex file gives us this:

How to adapt the code in such a way that the macro calls finiteWordsSetNNZ and finiteWordsSetNNP produce a visually pleasant output without losing the links to the glossary and perform as before for the other actual arguments? If that's too difficult, I'd even appreciate single macros finiteWordsOverNaturalsZ and finiteWordsOverNaturalsP that would produce the visually pleasant representation of the notation for sequences of naturals with/without zero?
xetex hyperref kerning makeindex glossaries-extra
add a comment |
Continuing How to get glossary terms to properly typeset subscripts/superscripts?, let's consider the following input:
documentclassbook
usepackagefontspec
usepackage[ngerman]babel
usepackagemathtoolsmathtoolssetmathic=true %%% See http://tex.stackexchange.com/a/3496/
usepackageamssymb
usepackageunicode-math
setmainfont[Ligatures=TeX]TeX Gyre Termes
setsansfontTeX Gyre Heros[Scale=0.88]
setmonofontTeX Gyre Cursor
setmathfont[Ligatures=TeX]TeX Gyre Termes Math
setmathfont[Ligatures=TeX,range=setminus]Asana Math
setmathfont[Ligatures=TeX,Extension=.otf,range="2A3E,BoldFont=XITSMath-Bold]XITSMath-Regular%%% The fat semicolon
usepackage[unicode,hidelinks]hyperref
usepackage[makeindex,toc,nogroupskip,nomain]glossaries-extra %%% glossaries-extra internally loads glossaries, and glossaries according to its documentation should be loaded after hyperref.
%%% The next hack improves how hyperref jives with svindd.ist, see https://tex.stackexchange.com/a/429446
makeatletter
def@commahyperpage#1@@commahyperpage#1,,,\
def@@commahyperpage#1,,#2,#3\%
ifx\#2\%
HyInd@pagelink#1%
else
HyInd@pagelink#1,,HyInd@pagelink#2%
fi
makeatother
setglossarystylelong3colrenewcommandglspagelistwidth10em
GlsSetQuote+ %%% Hack to work with makeindex
usepackage[babel=true,verbose=errors]microtype
newcommandNNZglsnot:nonnegativeNat% ℕ_
newcommandNNPglsnot:positiveNat
newcommandfiniteWordsSet[1]#1^glsnot:finiteWordsSymbol %%% Sequences
newglossary[nlg]notationnotntnSymbolverzeichnis
makeglossaries
newglossaryentrynot:positiveNattype=notation, name=(ℕ_mkern-2mu>0), text=ℕ_mkern-1mu>0, sort=Nplus, description=Die Menge positiver ganzer Zahlen.
newglossaryentrynot:nonnegativeNattype=notation, name=(ℕ_mkern-2muge 0), text=ℕ_mkern-1muge 0, sort=N0, description=Die Menge nichtnegativer ganzer Zahlen.
newglossaryentrynot:finiteWordsSymboltype=notation, name=(cdot^*), text=*, sort=*finiteWordsSymbol, description=Gegeben eine beliebige Menge (Z), bezeichnen wir mit (Z^*) die Menge aller endlichen Wörter (also, endlichen Sequenzen) über (Z).
begindocument
What we typeset is:
[finiteWordsSetNNZ finiteWordsSetNNP]
(finiteWordsSetNNZ finiteWordsSetNNP)
bigskip
However, the visual appearence leaves much to be desired. The star should better be closer to the double-struck capital N and a little bit higher, such as in
[ℕ^raisebox.1ex$scriptstyle *$_mkern-2mu>0 ℕ_mkern-2muge 0^raisebox.1ex$scriptstyle *$]
(ℕ_mkern-2mu>0^raisebox.1ex$scriptstyle *$ ℕ_mkern-2muge 0^raisebox.1ex$scriptstyle *$)\
and all the symbols should be still properly linked to the glossary.
printglossary
enddocument
Compiling with xelatex file && makeindex -g -s file.ist -t file.nlg -o file.not file.ntn && xelatex file gives us this:

How to adapt the code in such a way that the macro calls finiteWordsSetNNZ and finiteWordsSetNNP produce a visually pleasant output without losing the links to the glossary and perform as before for the other actual arguments? If that's too difficult, I'd even appreciate single macros finiteWordsOverNaturalsZ and finiteWordsOverNaturalsP that would produce the visually pleasant representation of the notation for sequences of naturals with/without zero?
xetex hyperref kerning makeindex glossaries-extra
Continuing How to get glossary terms to properly typeset subscripts/superscripts?, let's consider the following input:
documentclassbook
usepackagefontspec
usepackage[ngerman]babel
usepackagemathtoolsmathtoolssetmathic=true %%% See http://tex.stackexchange.com/a/3496/
usepackageamssymb
usepackageunicode-math
setmainfont[Ligatures=TeX]TeX Gyre Termes
setsansfontTeX Gyre Heros[Scale=0.88]
setmonofontTeX Gyre Cursor
setmathfont[Ligatures=TeX]TeX Gyre Termes Math
setmathfont[Ligatures=TeX,range=setminus]Asana Math
setmathfont[Ligatures=TeX,Extension=.otf,range="2A3E,BoldFont=XITSMath-Bold]XITSMath-Regular%%% The fat semicolon
usepackage[unicode,hidelinks]hyperref
usepackage[makeindex,toc,nogroupskip,nomain]glossaries-extra %%% glossaries-extra internally loads glossaries, and glossaries according to its documentation should be loaded after hyperref.
%%% The next hack improves how hyperref jives with svindd.ist, see https://tex.stackexchange.com/a/429446
makeatletter
def@commahyperpage#1@@commahyperpage#1,,,\
def@@commahyperpage#1,,#2,#3\%
ifx\#2\%
HyInd@pagelink#1%
else
HyInd@pagelink#1,,HyInd@pagelink#2%
fi
makeatother
setglossarystylelong3colrenewcommandglspagelistwidth10em
GlsSetQuote+ %%% Hack to work with makeindex
usepackage[babel=true,verbose=errors]microtype
newcommandNNZglsnot:nonnegativeNat% ℕ_
newcommandNNPglsnot:positiveNat
newcommandfiniteWordsSet[1]#1^glsnot:finiteWordsSymbol %%% Sequences
newglossary[nlg]notationnotntnSymbolverzeichnis
makeglossaries
newglossaryentrynot:positiveNattype=notation, name=(ℕ_mkern-2mu>0), text=ℕ_mkern-1mu>0, sort=Nplus, description=Die Menge positiver ganzer Zahlen.
newglossaryentrynot:nonnegativeNattype=notation, name=(ℕ_mkern-2muge 0), text=ℕ_mkern-1muge 0, sort=N0, description=Die Menge nichtnegativer ganzer Zahlen.
newglossaryentrynot:finiteWordsSymboltype=notation, name=(cdot^*), text=*, sort=*finiteWordsSymbol, description=Gegeben eine beliebige Menge (Z), bezeichnen wir mit (Z^*) die Menge aller endlichen Wörter (also, endlichen Sequenzen) über (Z).
begindocument
What we typeset is:
[finiteWordsSetNNZ finiteWordsSetNNP]
(finiteWordsSetNNZ finiteWordsSetNNP)
bigskip
However, the visual appearence leaves much to be desired. The star should better be closer to the double-struck capital N and a little bit higher, such as in
[ℕ^raisebox.1ex$scriptstyle *$_mkern-2mu>0 ℕ_mkern-2muge 0^raisebox.1ex$scriptstyle *$]
(ℕ_mkern-2mu>0^raisebox.1ex$scriptstyle *$ ℕ_mkern-2muge 0^raisebox.1ex$scriptstyle *$)\
and all the symbols should be still properly linked to the glossary.
printglossary
enddocument
Compiling with xelatex file && makeindex -g -s file.ist -t file.nlg -o file.not file.ntn && xelatex file gives us this:

How to adapt the code in such a way that the macro calls finiteWordsSetNNZ and finiteWordsSetNNP produce a visually pleasant output without losing the links to the glossary and perform as before for the other actual arguments? If that's too difficult, I'd even appreciate single macros finiteWordsOverNaturalsZ and finiteWordsOverNaturalsP that would produce the visually pleasant representation of the notation for sequences of naturals with/without zero?
xetex hyperref kerning makeindex glossaries-extra
xetex hyperref kerning makeindex glossaries-extra
asked 4 mins ago
user49915user49915
761122
761122
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484419%2fproper-kerning-in-case-the-symbol-with-a-subscript-is-a-glossary-term-and-a-supe%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484419%2fproper-kerning-in-case-the-symbol-with-a-subscript-is-a-glossary-term-and-a-supe%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown