Redefining math symbols in `mathspec` The Next CEO of Stack OverflowBold math using mathspecXeTeX/mathspec punctuation issuemathspec selects the wrong math fontXeTeX/mathspec math environment fontmathbbm1 not working well with XeLaTeX/mathspecReplace all standard LaTeX fonts with [arbitrary fonts] for journal submissionHow does fontspec actually work with the no-math attribute?Subscript scaling with Latin Modern MathUnder mathspec, use text font punctuation symbols in math modeMathspec and Dollar Symbols in Math Mode
Is it OK to decorate a log book cover?
How can the PCs determine if an item is a phylactery?
Can you teleport closer to a creature you are Frightened of?
Is a distribution that is normal, but highly skewed, considered Gaussian?
Physiological effects of huge anime eyes
Is a bad practice make variations on power's tracks width in pcb?
Read/write a pipe-delimited file line by line with some simple text manipulation
Salesforce opportunity stages
How dangerous is XSS
How can I force the size of an int for debugging purposes?
Ising model simulation
Masking layers by a vector polygon layer in QGIS
What are the unusually-enlarged wing sections on this P-38 Lightning?
Creating a script with console commands
Is it possible to create a QR code using text?
Why does freezing point matter when picking cooler ice packs?
Fastest algorithm to decide whether a (always halting) TM accepts a general string
How to find if SQL server backup is encrypted with TDE without restoring the backup
Are British MPs missing the point, with these 'Indicative Votes'?
Is it a bad idea to plug the other end of ESD strap to wall ground?
Percent Dissociated from Titration Curve
Variance of Monte Carlo integration with importance sampling
Prodigo = pro + ago?
Is it possible to make a 9x9 table fit within the default margins?
Redefining math symbols in `mathspec`
The Next CEO of Stack OverflowBold math using mathspecXeTeX/mathspec punctuation issuemathspec selects the wrong math fontXeTeX/mathspec math environment fontmathbbm1 not working well with XeLaTeX/mathspecReplace all standard LaTeX fonts with [arbitrary fonts] for journal submissionHow does fontspec actually work with the no-math attribute?Subscript scaling with Latin Modern MathUnder mathspec, use text font punctuation symbols in math modeMathspec and Dollar Symbols in Math Mode
I'm using the Skolar font for a work and I'm experimenting with mathspec
just to match the fonts in regular and math text.
There's a latin character called "f with hook" (unicode 0192; ALT+131 on Windows) that I want instead of the italic f in math mode. The difference between the regular f, italic f and f with hook is shown in the next image.
I tried this
makeatlettter
DeclareMathSymbolfmathalphaeu@LatinLowercase@symfont`ƒ
makeatother
but prints nothing. I can write symbol"0192
and get ƒ in the pdf, so, I also tried
makeatlettter
DeclareMathSymbolfmathalphaeu@LatinLowercase@symfont"0192
makeatother
but does not print anything; and
makeatlettter
DeclareMathSymbolfmathalphaeu@LatinLowercase@symfontsymbol"0192
makeatother
crashes. In this site is pointed that the command DeclareMathSymbol
must be invoked like this
DeclareMathSymbol <symbol> <type> <sym-font> <slot>
and I think the problem is in the way I'm writing the <slot>
with a wrong format. So, my question is how I can solve this whithout defining f
as symbol"0192
cuz I will need to replace every single f (in a math environment) in my code by f
.
A MWE would be like this.
documentclassarticle
usepackagemathspec
defaultfontfeaturesLigatures=TeX
setmainfontTimes New Roman
setmathfont(Digits,Latin,Greek)Times New Roman
setmathrmTimes New Roman
begindocument
ftextitfsymbol"0192 $f(x)=f(x).$
enddocument
I don't know if Times New Roman is installed on Linux distributions but you can change Times New Roman
for Ubuntu
or anything else.
xetex mathspec
add a comment |
I'm using the Skolar font for a work and I'm experimenting with mathspec
just to match the fonts in regular and math text.
There's a latin character called "f with hook" (unicode 0192; ALT+131 on Windows) that I want instead of the italic f in math mode. The difference between the regular f, italic f and f with hook is shown in the next image.
I tried this
makeatlettter
DeclareMathSymbolfmathalphaeu@LatinLowercase@symfont`ƒ
makeatother
but prints nothing. I can write symbol"0192
and get ƒ in the pdf, so, I also tried
makeatlettter
DeclareMathSymbolfmathalphaeu@LatinLowercase@symfont"0192
makeatother
but does not print anything; and
makeatlettter
DeclareMathSymbolfmathalphaeu@LatinLowercase@symfontsymbol"0192
makeatother
crashes. In this site is pointed that the command DeclareMathSymbol
must be invoked like this
DeclareMathSymbol <symbol> <type> <sym-font> <slot>
and I think the problem is in the way I'm writing the <slot>
with a wrong format. So, my question is how I can solve this whithout defining f
as symbol"0192
cuz I will need to replace every single f (in a math environment) in my code by f
.
A MWE would be like this.
documentclassarticle
usepackagemathspec
defaultfontfeaturesLigatures=TeX
setmainfontTimes New Roman
setmathfont(Digits,Latin,Greek)Times New Roman
setmathrmTimes New Roman
begindocument
ftextitfsymbol"0192 $f(x)=f(x).$
enddocument
I don't know if Times New Roman is installed on Linux distributions but you can change Times New Roman
for Ubuntu
or anything else.
xetex mathspec
add a comment |
I'm using the Skolar font for a work and I'm experimenting with mathspec
just to match the fonts in regular and math text.
There's a latin character called "f with hook" (unicode 0192; ALT+131 on Windows) that I want instead of the italic f in math mode. The difference between the regular f, italic f and f with hook is shown in the next image.
I tried this
makeatlettter
DeclareMathSymbolfmathalphaeu@LatinLowercase@symfont`ƒ
makeatother
but prints nothing. I can write symbol"0192
and get ƒ in the pdf, so, I also tried
makeatlettter
DeclareMathSymbolfmathalphaeu@LatinLowercase@symfont"0192
makeatother
but does not print anything; and
makeatlettter
DeclareMathSymbolfmathalphaeu@LatinLowercase@symfontsymbol"0192
makeatother
crashes. In this site is pointed that the command DeclareMathSymbol
must be invoked like this
DeclareMathSymbol <symbol> <type> <sym-font> <slot>
and I think the problem is in the way I'm writing the <slot>
with a wrong format. So, my question is how I can solve this whithout defining f
as symbol"0192
cuz I will need to replace every single f (in a math environment) in my code by f
.
A MWE would be like this.
documentclassarticle
usepackagemathspec
defaultfontfeaturesLigatures=TeX
setmainfontTimes New Roman
setmathfont(Digits,Latin,Greek)Times New Roman
setmathrmTimes New Roman
begindocument
ftextitfsymbol"0192 $f(x)=f(x).$
enddocument
I don't know if Times New Roman is installed on Linux distributions but you can change Times New Roman
for Ubuntu
or anything else.
xetex mathspec
I'm using the Skolar font for a work and I'm experimenting with mathspec
just to match the fonts in regular and math text.
There's a latin character called "f with hook" (unicode 0192; ALT+131 on Windows) that I want instead of the italic f in math mode. The difference between the regular f, italic f and f with hook is shown in the next image.
I tried this
makeatlettter
DeclareMathSymbolfmathalphaeu@LatinLowercase@symfont`ƒ
makeatother
but prints nothing. I can write symbol"0192
and get ƒ in the pdf, so, I also tried
makeatlettter
DeclareMathSymbolfmathalphaeu@LatinLowercase@symfont"0192
makeatother
but does not print anything; and
makeatlettter
DeclareMathSymbolfmathalphaeu@LatinLowercase@symfontsymbol"0192
makeatother
crashes. In this site is pointed that the command DeclareMathSymbol
must be invoked like this
DeclareMathSymbol <symbol> <type> <sym-font> <slot>
and I think the problem is in the way I'm writing the <slot>
with a wrong format. So, my question is how I can solve this whithout defining f
as symbol"0192
cuz I will need to replace every single f (in a math environment) in my code by f
.
A MWE would be like this.
documentclassarticle
usepackagemathspec
defaultfontfeaturesLigatures=TeX
setmainfontTimes New Roman
setmathfont(Digits,Latin,Greek)Times New Roman
setmathrmTimes New Roman
begindocument
ftextitfsymbol"0192 $f(x)=f(x).$
enddocument
I don't know if Times New Roman is installed on Linux distributions but you can change Times New Roman
for Ubuntu
or anything else.
xetex mathspec
xetex mathspec
asked 5 mins ago


Diego D. R. RiveraDiego D. R. Rivera
175
175
add a comment |
add a comment |
0
active
oldest
votes
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f482655%2fredefining-math-symbols-in-mathspec%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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f482655%2fredefining-math-symbols-in-mathspec%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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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