[TxMt] Re: LaTeX bundle: Why emph instead of textit??

Jacob Rus jrus at hcs.harvard.edu
Sun Jan 14 19:09:19 UTC 2007


Christian Bogen wrote:
> why does the LaTeX bundle suddenly default to \emph instead of \textit 
> when I press command-i? This is a most unwelcome change as I often use 
> the scrartcl-class where \emph seems to be typeset as underlined text 
> instead of italic.

Because most people prefer to use \emph.

> Any chance for a *different* shortcut for emph in the default LaTeX 
> bundle? I don't like messing around in the default bundles myself for as 
> far as I understand TM will create a "local" copy and I can no longer 
> easily benefit from updates in the default bundles … :(

Don't worry, just make the changes.  Only the differences will be 
stored, so when the built-in things are updated, everything should stay 
working.  The way I would recommend to make this change so that it will 
best avoid conflicts is:

  1. duplicate the command/snippet which does the \emph, and
     move it to  your own personal bundle.  Then change it to
     do \textit instead of \emph
  2. remove the keyboard shortcut on the original command.

Now the difference that will be stored in the LaTeX bundle is just to 
turn off the keyboard shortcut, which should (hopefully) never run into 
any conflicts.




More information about the textmate mailing list