-
-
Notifications
You must be signed in to change notification settings - Fork 89
Global settings
These settings can be found in File › Settings › Languages & Frameworks › TeXiFy
By default, when you type $
to start an inline math environment, the closing $
will be inserted automatically.
You can use this setting to disable this.
Note that if your cursor is right before the closing $
, so like $ <cursor>$
, you can type $
and IntelliJ will skip over the closing $
just like with closing braces.
By default, TeXiFy will automatically insert braces around multiple letters/numbers when they are directly after a _
or ^
without spaces inbetween.
This means that when you type $a_bc$
it will result in $a_{bc}$
, to ensure that both the b
and the c
appear as subscript.
You can disable this behaviour using this setting.
By default, when you press Enter when in an itemize or enumerate environment, TeXiFy will insert a new \item
for you.
For example, when in a situation like
\begin{itemize}
\item <cursor>
\end{itemize}
and you press Enter, it will result in
\begin{itemize}
\item
\item <cursor>
\end{itemize}
If you do not want to insert an \item
, press Shift+Enter instead.
You can disable the automatic insertion of \item
using this setting.
You can disable the automatic insertion of package dependencies. This also disables the inspection which checks for Missing imports. For more information, see Automagically import packages of common commands.
If you disable this, consider if TeXiFy should support your use case and please open an issue if so.
Since b0.6.8
Since b0.6.7
When enabled and you are typing in a math environment (for example inline math $..$
or display math \[ … \]
) then a preview window will pop up which will show how the math will look like. The same holds for tikzpicture
environments.
For more information about the preview and how to install dependencies, see Equation preview. For continuous compilation of the complete document, see Latexmk.
Since b0.6.10
When enabled, selecting a LaTeX command by for example double-clicking or using Ctrl+W will also include the backslash in the selection.
Since b0.7
When selected, included LaTeX packages will appear in the structure view. Because TeXiFy has to determine the location of every included package in order to show the file, this may take extra time to load the structure view after every reboot of IntelliJ.
Instead of writing opening and closing quotes like `quote'
and ``quote''
yourself, you can also let TeXiFy choose for you whether to insert opening or closing quotes, and of what type.
Typing \"
will still always work. In other cases, there are three options.
If you type single quotes, so you type 'quote'
, the opening single quote will be replaced by `
, so the result is `quote'
.
For double quotes, typing "quote"
will end up as ``quote''
.
Instead of using `
for opening and '
for closing, you can also use the commands \lq{}
and \rq{}
for left and right quotes.
These have exactly the same result.
Typing 'quote'
will result in \lq{}quote\rq{}
, and typing "quote"
will result in \lq\lq{}quote\rq\rq{}
.
Since b0.6.6
The csquotes (Context Sensitive quotes) package provides some improvements for typesetting quotes, using the \enquote
command.
For example, nested quotations work properly.
Typing 'quote'
will result in \enquote*{quote}
and typing "quote"
will result in \enquote{quote}
.
This also works for nested quotes, typing "nested "quotes""
results in \enquote{nested \enquote{quotes}}
.
Note that instead of typing the closing '
or "
you could also type the closing }
and IntelliJ will skip over it like usual.
Whenever the next character is not a closing brace, we assume you want opening quotes and insert the \enquote
command.
When set to \subsection
, the missing label inspection will trigger for \subsection
, \section
, \chapter
and \part
.
Similar for other settings.
Since b0.6.7
Note: As of b0.7.2 this setting has been moved to Choose pdf viewer
This documentation has moved to https://hannah-sten.github.io/TeXiFy-IDEA