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.

Close

Fastest way to input an environment?

2012-09-30
2012-10-17
  • 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
    function.

    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.
    Thanks.

     
  • 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

    or

    Ctrl+E, Ctrl+Left

    On 09/30/2012 07:05 PM, SourceForge.net wrote: