Hi. I Started using TeXstudio instead of TeXmaker a couple of days ago, and I am not able to do one thing I used to.
When using TeXmaker, wherever there was a bunch of code I'd like to hide, I just added %\begin{ and %\end{ (yes, as comments) and I could expand and collapse it like I would normally do with sections, etc.
Hi. I Started using TeXstudio instead of TeXmaker a couple of days ago, and I am not able to do one thing I used to.
When using TeXmaker, wherever there was a bunch of code I'd like to hide, I just added %\begin{ and %\end{ (yes, as comments) and I could expand and collapse it like I would normally do with sections, etc.
¿Is there a way I can do that in TeXstudio?
Example:
%\begin{ Other
\newcommand{\jw}{\ensuremath{j\omega}}
\newcommand{\mat}[1]{\ensuremath{
\StrSubstitute{#1}{ }{&}[\temp]
\StrSubstitute{\temp}{;}{\tabularnewline}[\temp]
\left[\begin{matrix}\temp\end{matrix}\right]
}
}
%\end{
Note: "Other" was just a title for me to know what code was folded. I usually folded the preeamble.
Last edit: Pablo 2014-03-19
Nevermind, I found it. The way to do it is:
%BEGIN_FOLD
...
%END_FOLD