Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

highlight footnote text #109

Open
sdaza opened this issue Nov 23, 2016 · 7 comments
Open

highlight footnote text #109

sdaza opened this issue Nov 23, 2016 · 7 comments
Labels

Comments

@sdaza
Copy link

sdaza commented Nov 23, 2016

Hello,
Any ideas about how to highlight the text inside \footnote{}?
Thanks!

@yudai-nkt
Copy link
Collaborator

Texts inside \footnote{} is highlighted in default.
2017-08-07 21 23 34

What's the exact problem you are facing with?

@sdaza
Copy link
Author

sdaza commented Aug 7, 2017

On my text, I just want to distinguish between regular text from footnote text. It would good be nice if the text of footnotes has another color, or it is highlighted in some way.

@yudai-nkt
Copy link
Collaborator

Uh, I understand. I'll consider adding this feature, but unfortunately it's unlikely to happen because I guess there is no appropriate attributes in TextMate to distinguish those two.

@sdaza
Copy link
Author

sdaza commented Aug 7, 2017

Thanks!

@bendix3
Copy link

bendix3 commented Aug 14, 2017

@sdaza what works for me is adding

atom-text-editor.editor .syntax--meta.syntax--footnote.syntax--latex{ color: goldenrod }

to Atom's styles.less file. You can color all kinds of things that way.

@sdaza
Copy link
Author

sdaza commented Aug 24, 2017

@bendix3 great tip! It works perfectly!

@Aerijo
Copy link
Collaborator

Aerijo commented Dec 18, 2017

Perhaps footnotes can get the scope markup.other.footnote.latex? The TextMate rules are vague, but the Sublime Text 3 page for it suggests this scope for footnotes. I think it would make sense at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants