2023-08-31 11:22:52 -04:00
|
|
|
const commandSuggestions = [
|
2023-02-20 08:45:22 -05:00
|
|
|
[
|
|
|
|
'\\includegraphics',
|
|
|
|
{ name: 'graphicx', command: '\\usepackage{graphicx}' },
|
|
|
|
],
|
2023-08-31 11:22:52 -04:00
|
|
|
['\\toprule', { name: 'booktabs', command: '\\usepackage{booktabs}' }],
|
|
|
|
['\\midrule', { name: 'booktabs', command: '\\usepackage{booktabs}' }],
|
|
|
|
['\\bottomrule', { name: 'booktabs', command: '\\usepackage{booktabs}' }],
|
|
|
|
['\\cmidrule', { name: 'booktabs', command: '\\usepackage{booktabs}' }],
|
|
|
|
['\\multirow', { name: 'multirow', command: '\\usepackage{multirow}' }],
|
|
|
|
['\\justifying', { name: 'ragged2e', command: '\\usepackage{ragged2e}' }],
|
|
|
|
['\\tag', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['\\notag', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['\\text', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['\\boldsymbol', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['\\eqref', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['\\iint', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['\\iiint', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['\\nmid', { name: 'amssymb', command: '\\usepackage{amssymb}' }],
|
|
|
|
['\\varnothing', { name: 'amssymb', command: '\\usepackage{amssymb}' }],
|
|
|
|
['\\Box', { name: 'amssymb', command: '\\usepackage{amssymb}' }],
|
|
|
|
['\\citep', { name: 'natbib', command: '\\usepackage{natbib}' }],
|
|
|
|
['\\citet', { name: 'natbib', command: '\\usepackage{natbib}' }],
|
2024-05-16 04:28:16 -04:00
|
|
|
['\\citepalias', { name: 'natbib', command: '\\usepackage{natbib}' }],
|
|
|
|
['\\citetalias', { name: 'natbib', command: '\\usepackage{natbib}' }],
|
2023-08-31 11:22:52 -04:00
|
|
|
['\\url', { name: 'url', command: '\\usepackage{url}' }],
|
|
|
|
['\\href', { name: 'hyperref', command: '\\usepackage{hyperref}' }],
|
|
|
|
['\\texorpdfstring', { name: 'hyperref', command: '\\usepackage{hyperref}' }],
|
|
|
|
['\\phantomsection', { name: 'hyperref', command: '\\usepackage{hyperref}' }],
|
2023-12-18 05:55:11 -05:00
|
|
|
['\\arraybackslash', { name: 'array', command: '\\usepackage{array}' }],
|
2023-02-20 08:45:22 -05:00
|
|
|
]
|
2023-08-31 11:22:52 -04:00
|
|
|
|
|
|
|
const environmentSuggestions = [
|
|
|
|
['justify', { name: 'ragged2e', command: '\\usepackage{ragged2e}' }],
|
|
|
|
['align', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['align*', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['split', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['gather', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['cases', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['matrix', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['pmatrix', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['bmatrix', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
['subequations', { name: 'amsmath', command: '\\usepackage{amsmath}' }],
|
|
|
|
]
|
|
|
|
|
|
|
|
const packageSuggestionsForCommands = new Map(commandSuggestions)
|
|
|
|
const packageSuggestionsForEnvironments = new Map(environmentSuggestions)
|
|
|
|
|
|
|
|
export { packageSuggestionsForCommands, packageSuggestionsForEnvironments }
|