Texmaker Manual
Texmaker Manual
Free cross-platform LaTeX editor since 2003 - Homesite of the authentic Texmaker
User manual
Contents :
1. Configuring Texmaker
o 1.1 Configuring the editor
o 1.2 Configuring the latex related commands
o 1.3 Configuring the spell checker
3. Compiling a document
o 3.1 Compiling
o 3.2 The log files
o 3.3 Synchronization source-pdf with Synctex
o 3.4 Using XeLaTeX
4. Other features
o 4.1 Folding/unfolding parts of the document
o 4.2 About documents separated in several files
o 4.3 Bibliography
o 4.4 Personals tags ans tools
o 4.5 Pstricks/Metapost/Tikz/Asymptote support
o 4.6 Change the interface language and appearance
o 4.7 The "Restore previous session" command
o 4.8 "Forward/Inverse search" with Texmaker
o 4.9 Synopsis of the Texmaker command
o 4.10 Keyboard shortcuts
o 4.11 The "Source Viewer" panel
o 4.12 Printing a pdf document with the built-in pdf viewer on windows
1. Configuring Texmaker
Before using Texmaker, you must configure the editor and latex related commands via the
"Configure Texmaker" command in the "Options" menu ("Preferences" under macosx).
This dialog allows you to set the main features of your document (class, paper size, encoding...).
Note : You can add other options by clicking the "+" buttons. All yours settings are recorded.
You can also type your own preamble model in the editor : with the "Copy/paste" or "Save As"
commands, you can use it for a new document.
2.3 Structure of a document
To define a new part (section,subsection...) in your document with Texmaker, just use this
combobox in the toolbar :
This will cause a dialog to pop up which allows you to define the style of the part
(section,subsection...).
Note : the "Structure View" is automatically updated.
The "Structure View" is automatically updated while typing. You can also use the "Refresh
Structure" ("Edit" menu) command at any moment.
For each file, three bookmarks can be used to speed up navigation : just click on a line number to
add or remove a bookmark. When you have already defined three bookmarks, you must remove
one of them to add a new bookmark. To jump to the line corresponding to a bookmark in the
editor, just click on the buttons in the status bar.
2.5 Formatting your text
You can quickly set the format of a part of your text with this :
Additional option: a selected text can be directly framed by certain environments. Example:
while clicking on the button "Bold" after having selected the word "Hello" , you will obtain the
code: \textbf{Hello}.
This option is available for all the environments indicated by "[selection]" in the "LaTeX" menu.
2.6 Spacings
The usual "spacing" commands are available in the "LaTeX" and "Math" menus. To insert
quickly the "new line" LaTeX command, you can use the corresponding command in the toolbar
(shortcut : Ctrl+Alt+return)
Additional option:for the \ref command, a dialog box allows you to select directly the label.
With the "symbols panels" in the structure view, you can insert the code of 400 mathematical
symbols and the \left and \right tags..(just click on the "symbols" buttons in the structure view)
Additional option: A "favorites symbols" (*) panel allows you to define your own "symbols
panel".
To add a symbol to the "favorites symbols panel", just right-click on a symbol in the
others "symbols panels" and select "Add to favorites" in the pop-up menu.
To remove a symbol in the "favorites symbols panel", just right-click on it and select
"Remove from favorites" in the pop-up menu.
You can also define the format of your mathematical text via the "Math" menu.
For the "array" environments, a wizard (like the "Tabular" wizard) is available in the "Wizard"
menu. With this wizard, you can select the environment : array, matrix, pmatrix.... The cells can
be directly completed.
3. Compiling a document
3.1 Compiling
The easiest way to compile a document is to use the "Quick Build" command . You can define
the sequence of commands used by the "Quick Build" command via the "Configure Texmaker"
dialog.
To launch a command from the toolbar : select first the command, then click on the "Run"
button.
You can also launch each command one by one (shortcuts : F2...F12 - see the "Tools" menu).
Note : the "Clean" command in the "Tools menu" allows you to erase the files (dvi, toc, aux...)
generated by a LaTeX compilation (except the ps and pdf files).
Warning : all yours files must have an extension and you can't compile an "untitled" file or
a file with a space in his name.
The "Next Latex Error"and "Previous LaTeX Error" commands allow to get to the errors
detected during compilation :
4. Other features
4.1 Folding/unfolding parts of the document
Texmaker allows you to fold/unfold all \part, \chapter, \section,.., \begin{foo} \end{foo} blocks
in your document. To do that, the cursor must be localized in the first line of a block ("contextual
code folding"). Then, you have just to click on the "-" icon to fold the corresponding block.
Note : you can also use the contextual menu to jump directly to the end of the block.
Then, you can define your "master document" with the "Options" menu. All the commands of
the "Tools" menu will apply only to this document even when working on the "children"
documents (you can even close the "master" document).
You can easily switch toggle between the master document and the current document via the
corresponding button (just above the "Bold" button).
Note : you can leave the "master" mode with the "Options" menu.
4.3 Bibliography
While opening a .tex document, the detected .bib files are parsed automatically and the
bibliography references are added to the auto-completion. The list of the bibkiography references
can be refreshed via the "Update Bibliography" option of the "Edit" menu.
For the "bib" files , the "Bibliography" menu enables you to directly insert the entries
corresponding to the standard types of document.
Note: the optional fields can be automatically deleted with the "Clean" command of the
"Bibliography" menu.
4.4 Personals tags ans tools
Texmaker allows you to insert your own tags (shortcuts : Shift+F1...Shift+F10). These tags are
defined with the "User - User Tags" menu.
Notes :
All the "@" characters in the code are automatically replaced by "•" place holders in the
editor and the cursor will jump directly to the first "•" field (if some text has been
selected in the editor before, the first "•" field will be replaced automatically by the
selected text).
You can also launch your own commands (shortcuts : Alt+Shift+F1...Alt+Shift+F5). These
commands are defined with the "User - User Commands" menu and can be launched via the
toolbar ("Run" button) .
"File" menu :
o New : Ctrl+N
o Open : Ctrl+O
o Save : Ctrl+S
o Close : Ctrl+W
o Exit : Ctrl+Q
"Edit" menu :
o Undo : Ctrl+Z
o Redo : Ctrl+Y
o Copy : Ctrl+C
o Cut : Ctrl+X
o Paste : Ctrl+V
o Select all : Ctrl+A
o Comment : Ctrl+T
o Uncomment : Ctrl+U
o Find : Ctrl+F
o Find next : Ctrl+M
o Replace : CTrl+R
o Goto line : Ctrl+G
o Check spelling (from cursor) : Ctrl+Shift+F7
"Tools" menu :
o Quick build : F1
o Latex : F2
o View dvi : F3
o Dvi->PS : F4
o View PS : F5
o Pdflatex : F6
o View Pdf : F7
o PS->Pdf : F8
o Dvi->Pdf : F9
o View log : F10
o Bibtex : F11
o Make index : F12
* "LaTeX" menu :
o * item : Ctrl+Shift+I
o * Italic : Ctrl+I
o * Slanted : Ctrl+Shift+S
o * Bold : Ctrl+O
o * Typewriter : Ctrl+Shift+T
o * Small caps : Ctrl+Shift+C
o * Emphasis : Ctrl+Shift+E
o * New line : Ctrl+Return
* "Math" menu :
o * Inline math mode : Ctrl+Shift+M
o * Display math mode : Alt+Shift+M
o * Numbered equations : Ctrl+Shift+N
o * Subscript : Ctrl+Shift+D
o * Superscript : CTrl+Shift+U
o * Frac : Alt+Shift+F
o * Dfrac : Ctrl+Shift+F
o * Sqrt : Ctrl+Shift+Q
o * Left : Ctrl+Shift+L
o * Right : Ctrl+Shift+R
"User" menu :
o User tags : Shift+F1...Shift+F10
o User commands : Shift+Alt+F1...Shift+Alt+F10
Latest version
o Version 3.1 : July 24 2011
Contact
o Click here to contact the author
o Issue tracker
Navigation
o Home
o Screenshots
o Download
o Documentation
o ChangeLog
o Translate
o French