Add citepalias and citetalias (#18272)

GitOrigin-RevId: 60716cd30141f3079e9402140a5e40665bbe685f
This commit is contained in:
Alf Eaton 2024-05-16 09:28:16 +01:00 committed by Copybot
parent 97add91248
commit 9d6754f546
2 changed files with 4 additions and 0 deletions

View file

@ -574,11 +574,13 @@ const citeStarredCommands = new Set([
'\\Citeauthor',
'\\citedate',
'\\citep',
'\\citepalias',
'\\Citep',
'\\citetitle',
'\\citeyear',
'\\parencite',
'\\citet',
'\\citetalias',
'\\autocite',
'\\Autocite',
])

View file

@ -21,6 +21,8 @@ const commandSuggestions = [
['\\Box', { name: 'amssymb', command: '\\usepackage{amssymb}' }],
['\\citep', { name: 'natbib', command: '\\usepackage{natbib}' }],
['\\citet', { name: 'natbib', command: '\\usepackage{natbib}' }],
['\\citepalias', { name: 'natbib', command: '\\usepackage{natbib}' }],
['\\citetalias', { name: 'natbib', command: '\\usepackage{natbib}' }],
['\\url', { name: 'url', command: '\\usepackage{url}' }],
['\\href', { name: 'hyperref', command: '\\usepackage{hyperref}' }],
['\\texorpdfstring', { name: 'hyperref', command: '\\usepackage{hyperref}' }],