Nice, really like the right click/fold option!

Ross Ahmed
Ecologist
--
07875533906
Twitter: @RossAhmed
LinkedIn: Ross Ahmed

On 4 May 2015, at 15:23, René Schwaiger <sanssecours@f-m.fm> wrote:

Hi Ross,

On 04 May 2015, at 16:10 , Ross Ahmed <rossahmed@googlemail.com> wrote:

In my .tex file, I have 60 lines of code between the start of the file and \begin{document}. Most of these lines are filled with \usepackage{}. Is there a way to hide this part of the .tex file in TextMate, by for example using code folding?

yes:

1. Select the lines you want to fold
2. Right click on the selection
3. Choose “Fold/Unfold”

If not, can these 60 lines be sourced from a different .tex file?

You can use the command `input` for that: http://www.ics.uci.edu/~pan/documents/latex/ltx-248.html

Ross Ahmed
Ecologist

07875533906
Twitter: @RossAhmed
LinkedIn: Ross Ahmed

Kind regards,
 René

_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate