Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
mathlive-tera
Advanced tools
#@
fracLine.width = Math.max(numerBox.width, denomBox.width);
in genfrac.ts filethis.width = rows.reduce((acc, row) => Math.max(acc, row.width), 0)
in v-box.ts filemf.current!.macros = {
...mf.current!.macros,
conversion: {
args: 1,
def: '\\mathbf{#1}',
isImplicitArg: true,
argsMapping: {
value: 'newValueToDisplay'
}
},
};
executeCommand(['scroll', distance])
or executeCommand(['scrollTo', {left: 10, behavior: 'smooth'}])
focus(options: FocusOptions | undefined = {preventScroll: true})
0.97.0 2023-11-20
Context Menu Right-clicking on a mathfield or clicking the menu icon next to the virtual keyboard icon will bring up a context menu.
The keyboard shortcut <kbd>ALT</kbd>+<kbd>SPACE</kbd> will also bring up the context menu. This keyboard shortcut previously toggled the virtual keyboard. This keyboard shortcut to toggle the virtual keyboard is now <kbd>ALT</kbd>+<kbd>SHIFT</kbd>+<kbd>SPACE</kbd>.
The menu includes commands to:
The content of the menu may change in future versions, and feedback is welcome.
The menu can be customized by setting the mf.menuItems
property of the
mathfield. The value of this property is an array of menu items. See
the documentation for details.
\pmod5
is now correctly parsed as \pmod{5}
. Macros that
used an argument that was not a literal group were not parsed correctly.FAQs
A web component for math input
The npm package mathlive-tera receives a total of 9,137 weekly downloads. As such, mathlive-tera popularity was classified as popular.
We found that mathlive-tera demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.