Using the templates
org.openoffice.da.writer4latex.oxt/templates.xhp
Using the templates
The article template
Choose File - New - Templates and Documents
This template contains a number of styles that corresponds to LaTeX code.
If you use these styles and makes sure to use the configuration W4L: Article when you convert your document
(this is selected automatically) with Writer2LaTeX, you will get a result that resembles a handwritten LaTeX file.
Note that hard formatting and any other styles will be ignored. The available styles are summarized in the following tables.
The use of italics in these tables indicates styles that are predefined in %PRODUCTNAME Writer.
The names of these styles will be localized if you use a non-english version of %PRODUCTNAME.
Paragraph styles
%PRODUCTNAME Writer Style
LaTeX code
Title
\title{...}
author
\author{...}
date
\date{...}
abstract title
renews \abstractname
abstract
abstract environment
part
\part{...}
Heading 2
\section{...}
Heading 3
\subsection{...}
Heading 4
\subsubsection{...}
Heading 5
\paragraph{...}
Heading 6
\subparagraph{...}
flushleft
flushleft environment
flushright
flushright environment
center
center environment
verse
verse environment
quote
quote environment
quotation
quotation environment
Preformatted text
verbatim environment
theorem
theorem environment
itemize
itemize list
enumerate
enurerate list
List Heading
description list (item label)
List Contents
description list (item text)
Note that also \maketitle is added at the end of a sequence of Title, author and date.
For the verbatim environment, only characters available in the input encoding are accepted.
Other characters are converted to question marks and other content is discarded, eg. footnotes.
Text styles
verb
\verb|...|
Emphasis
\emph{...}
Strong Emphasis
\textbf{...}
textrm
\textrm{...}
textsf
\textsf{...}
texttt
\texttt{...}
textup
\textup{...}
textsl
\textsl{...}
textit
\textit{...}
textsc
\textsc{...}
textmd
\textmd{...}
textbf
\textbf{...}
tiny
{\tiny ...}
scriptsize
{\sciptsize ...}
footnotesize
{\footnotesize ...}
small
{\small ...}
normalsize
{\normalsize ...}
large
{\large ...}
Large
{\Large ...}
LARGE
{\LARGE ...}
huge
{\huge ...}
Huge
{\Huge ...}
For the \verb command, only characters available in the input encoding are accepted.
Other characters are converted to question marks and other content is discarded, eg. footnotes.