Mathjax: use the parameter in the style Announcing the arrival of Valued Associate #679: Cesar...

One-one communication

Why weren't discrete x86 CPUs ever used in game hardware?

How many morphisms from 1 to 1+1 can there be?

What order were files/directories output in dir?

Most bit efficient text communication method?

Is multiple magic items in one inherently imbalanced?

An adverb for when you're not exaggerating

Sliceness of knots

Where is the Data Import Wizard Error Log

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?

AppleTVs create a chatty alternate WiFi network

What would you call this weird metallic apparatus that allows you to lift people?

Misunderstanding of Sylow theory

What does it mean that physics no longer uses mechanical models to describe phenomena?

macOS: Name for app shortcut screen found by pinching with thumb and three fingers

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Is it fair for a professor to grade us on the possession of past papers?

How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?

How does a spellshard spellbook work?

Do I really need to have a message in a novel to appeal to readers?

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

Does the Mueller report show a conspiracy between Russia and the Trump Campaign?

How do living politicians protect their readily obtainable signatures from misuse?

Why can't I install Tomboy in Ubuntu Mate 19.04?



Mathjax: use the parameter in the style



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern)Mathjax inline mode not rendering Creating mathjax-style documentsmathjax sqrt commandMathJax doesn't convert bfLaTeX/MathJax in Google sites helpCHTML MathJax sf fontAdding labels to matrix in MathJax?What is the difference between LaTeX and MathJax?use CancelColor in mathjaxHow to build table using MathJax?












0















Please tell us this is acceptable? I wrote the following sample:



<script type="text/x-mathjax-config">
MathJax.Hub.Config({
showProcessingMessages: true,
jax: ["input/TeX"],
tex2jax: {
inlineMath: [['$','$'], ['\(','\)']],
displayMath: [ ['$$','$$'], ['[',']'] ],
processEscapes: true
},
TeX: {
equationNumbers: { autoNumber: "AMS" } /*вкл. нум.*/,
Macros: {
klav: ["\bbox[1mm,black]{\textcolor{white}{\mbox{#1}}}",1],
st: ["\style{border: 1px solid #707070;}{#1}",1],
sty: ["\style{border: 1px solid #707070;}{example}"]
},
extensions: ["mediawiki-texvc.js", "color.js", "fast- preview.js", "HTML.js"]
}
})
</script>

<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script><strong></strong> $klav{Shift}$, $st{example}$, $sty$


The first command works, indicating the potential for use in macro mathjax with parameters. The second command does not work, what is questionable and style compatibility settings. And to control the third team wrote, it produces the expected result.









share























  • Sorry, but MathJax is off topic in this site.

    – Phelype Oleinik
    4 mins ago
















0















Please tell us this is acceptable? I wrote the following sample:



<script type="text/x-mathjax-config">
MathJax.Hub.Config({
showProcessingMessages: true,
jax: ["input/TeX"],
tex2jax: {
inlineMath: [['$','$'], ['\(','\)']],
displayMath: [ ['$$','$$'], ['[',']'] ],
processEscapes: true
},
TeX: {
equationNumbers: { autoNumber: "AMS" } /*вкл. нум.*/,
Macros: {
klav: ["\bbox[1mm,black]{\textcolor{white}{\mbox{#1}}}",1],
st: ["\style{border: 1px solid #707070;}{#1}",1],
sty: ["\style{border: 1px solid #707070;}{example}"]
},
extensions: ["mediawiki-texvc.js", "color.js", "fast- preview.js", "HTML.js"]
}
})
</script>

<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script><strong></strong> $klav{Shift}$, $st{example}$, $sty$


The first command works, indicating the potential for use in macro mathjax with parameters. The second command does not work, what is questionable and style compatibility settings. And to control the third team wrote, it produces the expected result.









share























  • Sorry, but MathJax is off topic in this site.

    – Phelype Oleinik
    4 mins ago














0












0








0








Please tell us this is acceptable? I wrote the following sample:



<script type="text/x-mathjax-config">
MathJax.Hub.Config({
showProcessingMessages: true,
jax: ["input/TeX"],
tex2jax: {
inlineMath: [['$','$'], ['\(','\)']],
displayMath: [ ['$$','$$'], ['[',']'] ],
processEscapes: true
},
TeX: {
equationNumbers: { autoNumber: "AMS" } /*вкл. нум.*/,
Macros: {
klav: ["\bbox[1mm,black]{\textcolor{white}{\mbox{#1}}}",1],
st: ["\style{border: 1px solid #707070;}{#1}",1],
sty: ["\style{border: 1px solid #707070;}{example}"]
},
extensions: ["mediawiki-texvc.js", "color.js", "fast- preview.js", "HTML.js"]
}
})
</script>

<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script><strong></strong> $klav{Shift}$, $st{example}$, $sty$


The first command works, indicating the potential for use in macro mathjax with parameters. The second command does not work, what is questionable and style compatibility settings. And to control the third team wrote, it produces the expected result.









share














Please tell us this is acceptable? I wrote the following sample:



<script type="text/x-mathjax-config">
MathJax.Hub.Config({
showProcessingMessages: true,
jax: ["input/TeX"],
tex2jax: {
inlineMath: [['$','$'], ['\(','\)']],
displayMath: [ ['$$','$$'], ['[',']'] ],
processEscapes: true
},
TeX: {
equationNumbers: { autoNumber: "AMS" } /*вкл. нум.*/,
Macros: {
klav: ["\bbox[1mm,black]{\textcolor{white}{\mbox{#1}}}",1],
st: ["\style{border: 1px solid #707070;}{#1}",1],
sty: ["\style{border: 1px solid #707070;}{example}"]
},
extensions: ["mediawiki-texvc.js", "color.js", "fast- preview.js", "HTML.js"]
}
})
</script>

<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script><strong></strong> $klav{Shift}$, $st{example}$, $sty$


The first command works, indicating the potential for use in macro mathjax with parameters. The second command does not work, what is questionable and style compatibility settings. And to control the third team wrote, it produces the expected result.







macros mathjax





share












share










share



share










asked 9 mins ago









D. SuhachevD. Suhachev

613




613













  • Sorry, but MathJax is off topic in this site.

    – Phelype Oleinik
    4 mins ago



















  • Sorry, but MathJax is off topic in this site.

    – Phelype Oleinik
    4 mins ago

















Sorry, but MathJax is off topic in this site.

– Phelype Oleinik
4 mins ago





Sorry, but MathJax is off topic in this site.

– Phelype Oleinik
4 mins 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%2f485674%2fmathjax-use-the-parameter-in-the-style%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%2f485674%2fmathjax-use-the-parameter-in-the-style%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

Installing LyX: “No textclass is found.”LyX installation error- text class not found- 'Reconfigure' or...

(1602) Indiana Índice Designación y nombre Características orbitales Véase...

Universidad Autónoma de Occidente Índice Historia Campus Facultades Programas Académicos Medios de...