mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-09 13:08:40 +00:00
Remove duplicate defineFunction invocation for \mathop. (#1701)
This commit is contained in:
committed by
Kevin Barabash
parent
7f7d063e73
commit
f71f469d4b
@@ -345,26 +345,6 @@ const singleCharIntegrals: {[string]: string} = {
|
|||||||
"\u2230": "\\oiiint",
|
"\u2230": "\\oiiint",
|
||||||
};
|
};
|
||||||
|
|
||||||
defineFunction({
|
|
||||||
type: "op",
|
|
||||||
names: ["\\mathop"],
|
|
||||||
props: {
|
|
||||||
numArgs: 1,
|
|
||||||
},
|
|
||||||
handler: ({parser}, args) => {
|
|
||||||
const body = args[0];
|
|
||||||
return {
|
|
||||||
type: "op",
|
|
||||||
mode: parser.mode,
|
|
||||||
limits: false,
|
|
||||||
symbol: false,
|
|
||||||
body: ordargument(body),
|
|
||||||
};
|
|
||||||
},
|
|
||||||
htmlBuilder,
|
|
||||||
mathmlBuilder,
|
|
||||||
});
|
|
||||||
|
|
||||||
// No limits, not symbols
|
// No limits, not symbols
|
||||||
defineFunction({
|
defineFunction({
|
||||||
type: "op",
|
type: "op",
|
||||||
|
Reference in New Issue
Block a user