[TxMt] Re: Hide LaTeX package list

René Schwaiger sanssecours at f-m.fm
Mon May 4 14:23:06 UTC 2015


Hi Ross,

> On 04 May 2015, at 16:10 , Ross Ahmed <rossahmed at 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é


More information about the textmate mailing list