1

I'm finding the section subsection highlighting is not enough for me and I can barely see it.

I think there is a way to customize things. You can see various entries in the repo for section.name and I think you just add these to the settings.json but am not quite clear what to add. Is there one example in the repo that is most illustrative?

6
  • Maybe you could link these github issues. I think you can easily write those customizations in your ˋsettings.jsonˋ
    – katexochen
    Apr 27 '20 at 6:58
  • 1
    The documentations of the latex-workshop says so: github.com/James-Yu/LaTeX-Workshop/wiki/Install#settings
    – katexochen
    Apr 27 '20 at 7:06
  • This is probably related to your color theme, not the extension itself. But you can hack the color theme code.visualstudio.com/docs/getstarted/themes
    – BambOo
    Apr 27 '20 at 7:10
  • 1
    @mathtick if you find any solution, please write it up as an answer to your own question. Apr 27 '20 at 7:11
  • 1
    @0xC0000022L I'm going to make the questions a bit more precise and I haven't quite solved it yet.
    – mathtick
    Apr 27 '20 at 7:14
1

Here is my color theme mimicking the Overleaf style.

"editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": [
                    "support.function.be.latex",
                    "support.function.general.tex",
                    "support.function.section.latex",
                    "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": [
                    "variable.parameter.function.latex",
                    "constant.other.reference.citation.latex"
                ],
                "settings": {
                    "foreground": "#67a4ad",

                }
            }
        ],

    }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.