Technical Support
Forums and Mailing Lists
Search Mackichan Web

SWP & SW
Version 5/5.5

Installation
Word Processing
Computations
Typesetting
File Issues
Graphics
Exam Builder
Style Editor
Other
Technical Articles

Scientific Notebook
Support Information
Troubleshooting

TeXnology
BibDB

Document 320

## How to work with non-English documents

Version: 3.x, 4.x, & 5.x - Scientific WorkPlace & Scientific Word

If you're working in a different language, you may want to have certain LaTeX typeset objects translated. For example, if you're writing a document in French, you may want chapitre instead of chapter and exemple instead of example.

Follow these steps to have LaTeX display French for the different typeset objects and the theorem-like objects.

1. Use Babel to change Chapter, Table of Contents and other phrases used by the LaTeX typesetting style:

1. Inside SWP/SW, from the Typeset menu, choose Options and Packages.

2. Choose Package Options and then choose Add.

3. Select babel from the list of packages and then choose OK.

4. Make sure babel is selected in the Packages in Use list and choose Modify.

5. Select the French category on the left and the language option you want to use on the right.

6. Choose OK to close the open dialogs.

Babel may not work for all typesetting styles. If the author did not make accommodations for Babel when the style was created the English version will appear instead of the expected translation. Babel does not work with Style Editor styles; instead, modify the typesetting style using the Style Editor.

2. Modify the labels and numbering scheme used by the theorem-like environments defined in the document preamble:

1. From the Typeset menu, choose Preamble.

2. Replace the existing \newtheorem and \newenvironment macros with the macros shown below, and then choose OK. Not all of the theorem-like environments are defined for all typesetting styles.

• For common numbering of the theorem like environments use:

\newtheorem{theorem}{Th\'eor\eme}

\newtheorem{acknowledgement}[theorem]{Acknowledgement}

\newtheorem{algorithm}[theorem]{Algorithme}

\newtheorem{axiom}[theorem]{Axiome}

\newtheorem{case}[theorem]{Cas}

\newtheorem{claim}[theorem]{Objectif}

\newtheorem{conclusion}[theorem]{Conclusion}

\newtheorem{condition}[theorem]{Condition}

\newtheorem{conjecture}[theorem]{Conjecture}

\newtheorem{corollary}[theorem]{Corollaire}

\newtheorem{criterion}[theorem]{Crit\ere}

\newtheorem{definition}[theorem]{D\'efinition}

\newtheorem{example}[theorem]{Exemple}

\newtheorem{exercise}[theorem]{Exercice}

\newtheorem{lemma}[theorem]{Lemme}

\newtheorem{notation}[theorem]{Notation}

\newtheorem{problem}[theorem]{Probl\'eme}

\newtheorem{proposition}[theorem]{Proposition}

\newtheorem{remark}[theorem]{Remarque}

\newtheorem{solution}[theorem]{Solution}

\newtheorem{summary}[theorem]{R\'esum\'e}

\newenvironment{proof}[1][Preuve]{\noindent\textbf{#1.} }{\ \rule{0.5em}{0.5em}}

• For independent numbering of the theorem-like environments use:

\newtheorem{theorem}{Th\'eor\eme}

\newtheorem{acknowledgement}{Acknowledgement}

\newtheorem{algorithm}{Algorithme}

\newtheorem{axiom}{Axiome}

\newtheorem{case}{Cas}

\newtheorem{claim}{Objectif}

\newtheorem{conclusion}{Conclusion}

\newtheorem{condition}{Condition}

\newtheorem{conjecture}{Conjecture}

\newtheorem{corollary}{Corollaire}

\newtheorem{criterion}{Crit\ere}

\newtheorem{definition}{D\'efinition}

\newtheorem{example}{Exemple}

\newtheorem{exercise}{Exercice}

\newtheorem{lemma}{Lemme}

\newtheorem{notation}{Notation}

\newtheorem{problem}{Probl\'eme}

\newtheorem{proposition}{Proposition}

\newtheorem{remark}{Remarque}

\newtheorem{solution}{Solution}

\newtheorem{summary}{R\'esum\'e}

\newenvironment{proof}[1][Preuve]{\noindent\textbf{#1.} }{\ \rule{0.5em}{0.5em}}