# Texmaker : User Manual

## Contents:

- 1. Configure Texmaker
- 2. The LaTeX editor

- 2.1 The preamble
- 2.2 Structure of your document
- 2.3 Latex tags and Mathematical symbols

- 3. The LaTeX Shell

- 3.1 About the "log" file
- 3.2 The "Quick Build" command
- 3.3 About documents separated in several files

- 4. The "Convert to Html" command (for unix and macosx systems only)

# 1. Configure Texmaker

Before using texmaker, you should configure the program and set the paths to the latex commands (menu Options -> Configure Texmaker)
Warning : on windows, you must use '/' instead of the standard '\' for the paths !

# 2. The LaTeX editor

In addition to the usual commands of an editor, Texmaker proposes other commands in order to facilitate the edition of your source files.

## 2.1 The preamble

To define the preamble of the source file, you can use the "Quick start" wizard :

(You can add other options by clicking the "+" button)

## 2.2 Structure of your document

With the toolbar or the "LaTeX/Sectionning" menu, you can insert the title of a section or of a paragraph thanks to a dialog box.

Then, the "Structure" view is automatically updated. While clicking on one item in the "Structure" view, the cursor is placed on the corresponding line in the editor.

Note: for the file names, it is necessary to double-click. For a good work with Texmaker, all yours files must be located in the same directory than your main document.

## 2.3 Latex tags and Mathematical symbols

Texmaker enables you to directly insert the most current tags with the "Latex" and "Math" menus.

With a simple click on a mathematical symbol, Texmaker inserts the corresponding code.

The menu "User" is also at your disposal to insert your own source code extracts.
Note: if the code of the menu is "%environment", Texmaker will directly insert:

    \begin{environment }

    \end{environment }

For the "bib" files , the"Bibliography" menu enables you to directly insert the entries corresponding to the standard types of document. (Note: use the "Clean" command to delete the optional fields)

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 the environments of the "FontStyles" and "Math Font Styles" menus like for the "center", "flushleft", "flushright","tiny", "scriptsize"... environments)

The "Tabular", "Array" and "Tabbing" wizards are also at your disposal to help you insert the code corresponding to these environments.

# 3. The LaTeX Shell

The commands of the "Tools" menu enable you to directly launch the standard programs associated with LaTeX. To configure these tools, use the "Configure Texmaker" command of the "Options" menu.
Note : the commands can't be launched with an untitled document and all yours documents must have an extension (.tex,...).

## 3.1 About the "log" file

The "Next Latex Error"and "Previous LaTeX Error" commands allow to get to the errors detected during compilation. While clicking on the number of a line in the "log" file ,the cursor is placed on the corresponding line in the editor.

## 3.2 The "Quick Build" command

With this command, the compilation and the display of the document are automatically launched unless a LaTeX error is detected in the "log" file . (Note: only errors will stop the process, warnings are ignored)

## 3.3 About documents separated in several files

After having defined your "master" document (with the corresponding command of the "Options" menu), all the commands of the "Tools" menu will apply only to this document even when working on the "children" documents . (Note: you can even close the "master" document)

# 4. The "Convert to Html" command

This command (from the "Tools" menu ) produces a set of html pages from a LaTeX source file with one image for each html page. Each page in the slide presentation corresponds to one of the postscript pages you would obtain running LaTeX.

The command also produces an index page corresponding to the table of contents you would obtain with LaTeX. Each item of the index page includes a link to the corresponding html page.

Note : the Ghostscript, netpbm and psselect programs are required to use this command.

You can create links in the html pages by using the \ttwplink{}{} command in the tex file.
Synopsis :
\ttwplink{http://www.mylink.com}{my text} (external link)
\ttwplink{page3.html}{my text} (internal link)
\ttwplink{name_of_a_label}{my text} (internal link)
Warning : You can't use the \ttwplink command with the hyperref package.