Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


Fastest way to input an environment?

  • I have been trying to use Ctrl-E to make inputting environments faster,
    however it doesn't seem to work the way I hoped. Currently with Ctrl-E a
    \begin{environment-name} \end{environment-name} is inserted with the cursor
    inside the environment. Then I have to move the cursor into the \begin{}
    brackets, and change the name of the environment.

    The way I hoped Ctrl-E to work is for it to insert a pair of \begin{} and
    \end{}, with cursor inside the \begin{} brackets, with the "change environment
    name" function activated. I have not been able to find a way to simulate this

    My question is, is there a way to use the current functions of TXS to this
    effect? If not, let me put this forward as a suggestion for future updates.

  • You could write a macro to insert this, with a placeholder around the
    environment name

    Or use a double short cut like

    Ctrl+Alt+Space, Enter


    Ctrl+E, Ctrl+Left

    On 09/30/2012 07:05 PM, wrote: