Math operator names in sans serif with accents using eulerpxDeclareSymbolFont undesired effectProblem with accents in math mode using eulerpx package

Is it possible to have a strip of cold climate in the middle of a planet?

Should spaces be used when writing foreign names in katakana?

Did US corporations pay demonstrators in the German demonstrations against article 13?

How to set Output path correctly for a Single Image render?

Can a significant change in incentives void an employment contract?

Do Legal Documents Require Signing In Standard Pen Colors?

What's the difference between 違法 and 不法?

Are sinusoidal travelling waves also normal modes of vibration?

Why does Async/Await work properly when the loop is inside the async function and not the other way around?

Should I install hardwood flooring or cabinets first?

Can the Supreme Court overturn an impeachment?

Python script not running correctly when launched with crontab

Hot bath for aluminium engine block and heads

How to decide convergence of Integrals

Is there an efficient solution to the travelling salesman problem with binary edge weights?

Is it improper etiquette to ask your opponent what his/her rating is before the game?

What (else) happened July 1st 1858 in London?

Drawing a topological "handle" with Tikz

Is a model fitted to data or is data fitted to a model?

Customize circled numbers

Is Asuka Langley-Soryu disgusted by Shinji?

Longest common substring in linear time

Should I stop contributing to retirement accounts?

How should I respond when I lied about my education and the company finds out through background check?



Math operator names in sans serif with accents using eulerpx


DeclareSymbolFont undesired effectProblem with accents in math mode using eulerpx package













0















This is a follow-up of a previous question I asked before.



I am using newpxtext and eulerpx packages, and I want to change the typesetting of operator names to use sans serif type. I implemented egreg's answer:



documentclassamsart
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagemathtools,newpxtext,eulerpx

% a new symbol font for names of operators
DeclareSymbolFontsfoperatorsOT1cmssmn
% don't waste a math group
DeclareSymbolFontAlphabetmathsfsfoperators
% tell LaTeX to use sfoperators for names of operators
makeatletter
renewcommandoperator@fontmathgroupsymsfoperators
makeatother


This works for already defined operator names (max,sin,etc.) and also for custom-defined operatornames (via DeclareMathOperator). The problem arises when I try to define a operatorname involving accents: concretely, I want to define the operatorname "máx" (which stands for "máximo", which means "maximum" in Portuguese). The following code



DeclareMathOperatorgraugrau
DeclareMathOperatormAxmáx

begindocument
$degquadgrauquadmaxquadmAx$
enddocument


has output



enter image description here



which, besides the fact that the accented "a" is not appearing in sans serif type, generates the warning



'Command ' invalid in math mode on input line ** ',



which is expected, because we must work in math mode instead of text mode. If I use



DeclareMathOperatormAxmacuteax


instead, the output has the same problem as in my previous question:



enter image description here



Trying to implement Davislor's solution



DeclareMathOperatormAxmacutemathsf ax


does not work, either: it has exactly the same output as before.



Finally, here is a brute-force alternative that works:



DeclareMathOperatormAxmmbox$acutemathsf a$x


enter image description here



(Obviously, I don't want to resort to this ugly method). Is there some way to solve this issue?









share






















  • Can someone please create the eulerpx tag? Thanks.

    – Matemáticos Chibchas
    40 secs ago















0















This is a follow-up of a previous question I asked before.



I am using newpxtext and eulerpx packages, and I want to change the typesetting of operator names to use sans serif type. I implemented egreg's answer:



documentclassamsart
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagemathtools,newpxtext,eulerpx

% a new symbol font for names of operators
DeclareSymbolFontsfoperatorsOT1cmssmn
% don't waste a math group
DeclareSymbolFontAlphabetmathsfsfoperators
% tell LaTeX to use sfoperators for names of operators
makeatletter
renewcommandoperator@fontmathgroupsymsfoperators
makeatother


This works for already defined operator names (max,sin,etc.) and also for custom-defined operatornames (via DeclareMathOperator). The problem arises when I try to define a operatorname involving accents: concretely, I want to define the operatorname "máx" (which stands for "máximo", which means "maximum" in Portuguese). The following code



DeclareMathOperatorgraugrau
DeclareMathOperatormAxmáx

begindocument
$degquadgrauquadmaxquadmAx$
enddocument


has output



enter image description here



which, besides the fact that the accented "a" is not appearing in sans serif type, generates the warning



'Command ' invalid in math mode on input line ** ',



which is expected, because we must work in math mode instead of text mode. If I use



DeclareMathOperatormAxmacuteax


instead, the output has the same problem as in my previous question:



enter image description here



Trying to implement Davislor's solution



DeclareMathOperatormAxmacutemathsf ax


does not work, either: it has exactly the same output as before.



Finally, here is a brute-force alternative that works:



DeclareMathOperatormAxmmbox$acutemathsf a$x


enter image description here



(Obviously, I don't want to resort to this ugly method). Is there some way to solve this issue?









share






















  • Can someone please create the eulerpx tag? Thanks.

    – Matemáticos Chibchas
    40 secs ago













0












0








0








This is a follow-up of a previous question I asked before.



I am using newpxtext and eulerpx packages, and I want to change the typesetting of operator names to use sans serif type. I implemented egreg's answer:



documentclassamsart
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagemathtools,newpxtext,eulerpx

% a new symbol font for names of operators
DeclareSymbolFontsfoperatorsOT1cmssmn
% don't waste a math group
DeclareSymbolFontAlphabetmathsfsfoperators
% tell LaTeX to use sfoperators for names of operators
makeatletter
renewcommandoperator@fontmathgroupsymsfoperators
makeatother


This works for already defined operator names (max,sin,etc.) and also for custom-defined operatornames (via DeclareMathOperator). The problem arises when I try to define a operatorname involving accents: concretely, I want to define the operatorname "máx" (which stands for "máximo", which means "maximum" in Portuguese). The following code



DeclareMathOperatorgraugrau
DeclareMathOperatormAxmáx

begindocument
$degquadgrauquadmaxquadmAx$
enddocument


has output



enter image description here



which, besides the fact that the accented "a" is not appearing in sans serif type, generates the warning



'Command ' invalid in math mode on input line ** ',



which is expected, because we must work in math mode instead of text mode. If I use



DeclareMathOperatormAxmacuteax


instead, the output has the same problem as in my previous question:



enter image description here



Trying to implement Davislor's solution



DeclareMathOperatormAxmacutemathsf ax


does not work, either: it has exactly the same output as before.



Finally, here is a brute-force alternative that works:



DeclareMathOperatormAxmmbox$acutemathsf a$x


enter image description here



(Obviously, I don't want to resort to this ugly method). Is there some way to solve this issue?









share














This is a follow-up of a previous question I asked before.



I am using newpxtext and eulerpx packages, and I want to change the typesetting of operator names to use sans serif type. I implemented egreg's answer:



documentclassamsart
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagemathtools,newpxtext,eulerpx

% a new symbol font for names of operators
DeclareSymbolFontsfoperatorsOT1cmssmn
% don't waste a math group
DeclareSymbolFontAlphabetmathsfsfoperators
% tell LaTeX to use sfoperators for names of operators
makeatletter
renewcommandoperator@fontmathgroupsymsfoperators
makeatother


This works for already defined operator names (max,sin,etc.) and also for custom-defined operatornames (via DeclareMathOperator). The problem arises when I try to define a operatorname involving accents: concretely, I want to define the operatorname "máx" (which stands for "máximo", which means "maximum" in Portuguese). The following code



DeclareMathOperatorgraugrau
DeclareMathOperatormAxmáx

begindocument
$degquadgrauquadmaxquadmAx$
enddocument


has output



enter image description here



which, besides the fact that the accented "a" is not appearing in sans serif type, generates the warning



'Command ' invalid in math mode on input line ** ',



which is expected, because we must work in math mode instead of text mode. If I use



DeclareMathOperatormAxmacuteax


instead, the output has the same problem as in my previous question:



enter image description here



Trying to implement Davislor's solution



DeclareMathOperatormAxmacutemathsf ax


does not work, either: it has exactly the same output as before.



Finally, here is a brute-force alternative that works:



DeclareMathOperatormAxmmbox$acutemathsf a$x


enter image description here



(Obviously, I don't want to resort to this ugly method). Is there some way to solve this issue?







accents sans-serif eulervm





share












share










share



share










asked 1 min ago









Matemáticos ChibchasMatemáticos Chibchas

22519




22519












  • Can someone please create the eulerpx tag? Thanks.

    – Matemáticos Chibchas
    40 secs ago

















  • Can someone please create the eulerpx tag? Thanks.

    – Matemáticos Chibchas
    40 secs ago
















Can someone please create the eulerpx tag? Thanks.

– Matemáticos Chibchas
40 secs ago





Can someone please create the eulerpx tag? Thanks.

– Matemáticos Chibchas
40 secs ago










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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481258%2fmath-operator-names-in-sans-serif-with-accents-using-eulerpx%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















draft saved

draft discarded
















































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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481258%2fmath-operator-names-in-sans-serif-with-accents-using-eulerpx%23new-answer', 'question_page');

);

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







Popular posts from this blog

Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

Join wedge with single bond in chemfigHow to make only one part of double bond bold with chemfig?Crossing bonds in chemfigjoining atoms in chemfig. Two adjacent molculesHow do I selectively change bond length in chemfig?Ugly bond joints in chemfigchemfig: reaction above arrowUsing the mhchem and chemfig packages in conjunctionBonding to specific element letter using chemfigResonance hybrids in chemfigScale chemfig molecule in beamer with tikzWhy does this chemfig bond with a hook start in the middle of the atom?

Should we avoid writing fiction about historical events without extensive research?How do we write a story about genocide committed by a fascist government without falling into the “Nazi Germany” cliché?Researching sensitive subjectsShould I avoid “lecturing” my readers?Archetypical/popular historical fictionHow to write a “strong” passage?Will what worked 'back then' work today? (Novels)Historical Fiction: using you and thouHow do you make characters relatable if they exist in a completely different moral context?How do I write a MODERN combat/violence scene without being dry?Fictionizing firsthand accounts from history?Is it possible to narrate a novel in a faux-historical style without alienating the reader?