Hello,
another question regarding the LaTeX bundle: There have been requests for making footnotes collapsable in the past. I still find this highly desirable, but there does not seem to be an easy solution for this at the moment. (Background: I work with a document with a lot of footnotes, many of them being rather long. It would be much easier to read and edit the main text if the footnotes could be collapsed.)
I'd like to ask if another thing could be implemented more easily: It would already help a lot if the footnotes would appear in another color (or with another background color), so that it would be possible to see where a footnote starts and ends immediately.
Is this possible?
Thanks in advance, best regards
Matthias
Hi Matthias-
On Aug 3, 2006, at 10:56 AM, Matthias Damm wrote:
I'd like to ask if another thing could be implemented more easily: It would already help a lot if the footnotes would appear in another color (or with another background color), so that it would be possible to see where a footnote starts and ends immediately.
This is highly doable. You just need to define a context for meta.footnote.latex in the Fonts and Colors preference -- give it a foreground and background color that stand out nicely, and you should be all set.
-Alan
On 3/8/2006, at 19:56, Matthias Damm wrote:
[...] It would already help a lot if the footnotes would appear in another color (or with another background color), so that it would be possible to see where a footnote starts and ends immediately.
Is this possible?
Yes, you would need to add support for footnotes in the language grammar [1], e.g. scope them meta.footnote.latex, and then add a visual style for that in preferences [2].
[1] http://macromates.com/textmate/manual/language_grammars [2] http://macromates.com/textmate/manual/themes
Hi Matthias,
You can do this yourself pretty easily. The scope for footnotes is meta.footnote.latex (you can determine the scope of a position by placing the caret where you want it and pressing ctrl shift p). Open the preferences, select Fonts and Colors, add the scope meta.footnote.latex (if it is note already there) in your favorite theme and select whatever color you want.
All the best, Mark On 3 Aug 2006, at 18:56, Matthias Damm wrote:
Hello,
another question regarding the LaTeX bundle: There have been requests for making footnotes collapsable in the past. I still find this highly desirable, but there does not seem to be an easy solution for this at the moment. (Background: I work with a document with a lot of footnotes, many of them being rather long. It would be much easier to read and edit the main text if the footnotes could be collapsed.)
I'd like to ask if another thing could be implemented more easily: It would already help a lot if the footnotes would appear in another color (or with another background color), so that it would be possible to see where a footnote starts and ends immediately.
Is this possible?
Thanks in advance, best regards
Matthias
-- Matthias Damm mad@macpla.net PGP key: http://macpla.net/MatthiasDamm.asc PGP fingerprint: CED3 6074 7F7D 3148 C6F3 DFF2 05FF 3A0B 0D12 4D41
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Am 04.08.2006 um 19:08 schrieb Mark Eli Kalderon:
You can do this yourself pretty easily. The scope for footnotes is meta.footnote.latex (you can determine the scope of a position by placing the caret where you want it and pressing ctrl shift p). Open the preferences, select Fonts and Colors, add the scope meta.footnote.latex (if it is note already there) in your favorite theme and select whatever color you want.
Thanks to all of you, that was really easy!
Best regards, Matthias