Skip to content
Thomas Schouten edited this page May 1, 2022 · 202 revisions
Note
This is a work in progress. More features should be added, and each should link to its own page with documentation. Link to IJ docs where possible and useful

Searching through this wiki

You can search through this wiki by using the GitHub global search bar at the top of the page, and then selecting Wiki results.

Installation

Also see the installation guide.

Writing LaTeX

Reading

Running

External tools

BibTeX

If you are new to BibTeX, see the BibTeX introduction.

Managing LaTeX

  • Never press Ctrl+S again: saves while you type

  • Project management

  • Support for multiple content roots

Tools

Settings and preferences

Global settings

These settings can be found in File  Settings  Languages & Frameworks  TeXiFy and are global to your IntelliJ: they will be same for all projects.

Conventions

These settings can be found in File  Settings  Languages & Frameworks  TeXiFy  Conventions and allow you to configure Latex code conventions that apply either globally or for the current project.

Run configuration settings

See Run configurations settings for more info.

  • Choose compiler

  • Custom compiler path

  • Custom compiler arguments

  • Custom environment variables

  • (Windows) Choose a custom path to SumatraPDF

  • Choose pdf viewer

  • Custom pdf viewer

  • Choose LaTeX source file to compile

  • (MiKTeX only) Set a custom path for auxiliary files

  • Set a custom path for output files

  • Option to always compile documents twice

  • Choose output format

  • Choose LaTeX distribution

  • Choose BibTeX run configuration

  • Choose Makeindex run configuration

  • Other tasks to run before the run configuration, including other run configurations or external tools

Code style settings

These settings can be found in File  Settings  Editor  Code Style  LaTeX (or BibTeX).

Menu entries

If any shortcut is assigned to a menu entry, it will be shown next to it.

File  New  LaTeX File

Create a new LaTeX file of type Source (.tex), Bibliography(.bib), Package (.sty), Document class (.cls) or TikZ (.tikz)

File  Other Settings  Run configuration Templates for New Projects

Change the run configuration template

Edit  LaTeX  Sectioning

Insert sectioning commands like \part or \subsection. If any text is selected, it will be used as argument to the command.

Edit  LaTeX  Font Style

Insert font style commands like \textbf for bold face. If any text is selected, it will be used as argument to the command.

Edit  LaTeX  Insert Table…​

Displays a table creation wizard that generates a LaTeX table.

Edit  LaTeX  Insert Graphic…​

Displays a wizard that generates graphic inclusion LaTeX.

Edit  LaTeX  Toggle Star

Toggle the star of a command.

Edit  Fill Paragraph

Fill the paragraph that is currently under the cursor such that each line is filled until the right margin, but does not exceed it.

Code  Reformat File with Latexindent

Run Latexindent.pl on the LaTeX file the caret is in.

Code  Reformat File with bibtex-tidy

Run bibtex-tidy on the file the caret is in.

Analyze  LaTeX  Word Count

Word counting tool.

Tools  LaTeX  Equation Preview

Preview equations.

Tools  LaTeX  TikZ Preview

Preview TikZ pictures.

Tools  LaTeX  Clear Auxiliary Files

Clear the generated auxiliary files.

Tools  LaTeX  Clear Generated Files

Clear all generated files.

Tools  LaTeX  SumatraPDF

(Windows only) Forward search and configuration of inverse search

Context menu entries

Right-click on any file  New  LaTeX File

Create a new LaTeX file.

Right-click on LaTeX source file  Run 'filename'

Compiles the file.

Inspections

LaTeX

If you see a minor issue, like some missing metadata about commands or environments, you are encouraged to check if you can fix it yourself.

Typesetting issues

Issues which have influence on the typeset result.

Code style issues

Issues which do not have influence on the typeset result but improve maintainability.

Probable bugs

Issues which indicate probable unintended behaviour and often highlight possible compilation errors.

Discouraged use of TeX or obsolete LaTeX

Issues related to code maturity and use of deprecated constructs.

Intentions

LaTeX

See Intentions.

  • Add label

  • Toggle inline/display math mode

  • Insert comments to disable the formatter

  • Change to \left..\right

  • Convert to other math environment

  • Move section contents to separate file

  • Move selection contents to separate file

  • Split into multiple \usepackage commands

This documentation has moved to https://hannah-sten.github.io/TeXiFy-IDEA

Clone this wiki locally