Skip to content

Commit

Permalink
mathquill update, mathbb{d} support
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin committed Oct 8, 2024
1 parent be91d85 commit cfe8a60
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
10 changes: 6 additions & 4 deletions examples/example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,12 @@ export const Example = ({}: ExampleProps) => {
labelType: "raw",
onClick: () => alert("Clicked!"),
},
"S",
"equal",
"x",
"y",
"varnothing",
"naturals",
"integers",
"decimals",
"rationals",
"reals",
]}
/>
<p>Latex produced : {value3}</p>
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
"dependencies": {
"jquery": "^3.6.4",
"mathquill4keyboard": "^0.10.7",
"mathquill4keyboard": "^0.10.10",
"react-device-detect": "^2.2.3"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/keyboard/keys/setKeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ export const setKeysProps: KeyProps[] = [
},
{
id: "decimals",
label: "\\mathrm{D}",
label: "\\mathbb{D}",
labelType: "tex",

mathfieldInstructions: {
content: "\\mathrm{D}",
content: "\\mathbb{D}",
method: "write",
},
groups: ["sets"],
Expand Down

0 comments on commit cfe8a60

Please sign in to comment.