Skip to content

Commit

Permalink
fix: fixed #2122
Browse files Browse the repository at this point in the history
  • Loading branch information
arnog committed Sep 1, 2023
1 parent ad6023c commit e7dcc74
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
- Improved virtual keyboard for integrals with more explicit template
- When removing the limit of an integral or a sum, do not delete the operator
itself.
- **#2122** On the Virtual Keyboard, the multiplication key now produces `\cdot` instead
of `\times`. Use shift to produce `\times`.

## 0.95.5 (2023-08-18)

Expand Down
14 changes: 7 additions & 7 deletions src/virtual-keyboard/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -764,14 +764,14 @@ const KEYCAP_SHORTCUTS: Record<string, Partial<VirtualKeyboardKeycap>> = {
label: '&divide;',
},
'[*]': {
variants: [{ latex: '\\prod_{#0}^{#0}', class: 'small' }, '\\otimes'],
latex: '\\times',
variants: [
{ latex: '\\prod_{#0}^{#0}', class: 'small' },
'\\otimes',
'\\cdot',
],
latex: '\\cdot',
label: '&times;',
shift: {
latex: '\\prod',
insert: '\\prod_{#?}^{#?}',
class: 'small',
},
shift: { latex: '\\times' },
class: 'big-op hide-shift',
},
'[=]': {
Expand Down

0 comments on commit e7dcc74

Please sign in to comment.