Skip to content

Instantly share code, notes, and snippets.

@CloudyPadmal
Created October 15, 2023 18:29
Show Gist options
  • Save CloudyPadmal/5944148644d66786998b8583030453e8 to your computer and use it in GitHub Desktop.
Save CloudyPadmal/5944148644d66786998b8583030453e8 to your computer and use it in GitHub Desktop.
Style sheet for LaTeX workshop -- Add this set to settings.json
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"support.function.general.tex",
"support.function.textit.latex",
"support.function.texttt.latex",
"support.function.textbf.latex",
"support.function.textsc.latex",
"support.function.url.latex",
"support.function.footnote.latex",
],
"settings": {
"foreground": "#0000FF"
}
},
{
"scope": [
"support.function.be.latex",
"support.function.section.latex",
],
"settings": {
"foreground": "#67a4ad",
"fontStyle": "bold"
}
},
{
"scope": [
"meta.math.block.latex",
],
"settings": {
"foreground": "#0000FF",
"fontStyle": "bold"
}
},
{
"scope": [
"entity.name.section",
"variable.parameter.function.latex",
],
"settings": {
"foreground": "#FF0000",
"fontStyle": "bold"
}
},
{
"scope": [
"keyword.control.cite.latex",
"keyword.control.ref.latex",
],
"settings": {
"foreground": "#ce3d69",
"fontStyle": "bold"
}
},
{
"scope": [
"support.function.key.bibtex",
],
"settings": {
"foreground": "#413f0386",
}
},
{
"scope": [
"keyword.other.entry-type.bibtex",
],
"settings": {
"foreground": "#ce3d69",
"fontStyle": "bold"
}
},
{
"scope": [
"constant.other.reference.citation.latex",
"constant.other.reference.label.latex"
],
"settings": {
"foreground": "#dc903d",
"fontStyle": "italic"
}
}
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment