Word To Latex Converter

Convert Word (DocX) tables, equations and figures to LaTeX online for Free.

I need to find a way to quickly convert a latex document into a Microsoft Word 2003 document.

I'm using Kile to edit latex documents on Ubuntu at present.

I can do it the following way:

then I have to open the resulting filename.odt document in OpenOffice and save as a Word Document.

Is there anyway I do this in a single step?

I can write a program to run the initial three lines, I'm more interested in the conversion from odt to doc without using openoffice.

  1. This video will guide you how you can easily convert a word document to LaTeX.
  2. Feb 15, 2019  Docx2tex is a free converter prepared for Word 2007, but I don't know if it only converts word documents into LaTeX or also works the other way round. A google search for 'latex to word' might provide you more useful links.

It would be even better if I could find a way to convert straight from filename.tex to filename.doc

joshuascottonLatexjoshuascotton
3351 gold badge3 silver badges10 bronze badges

closed as off topic by Oleg V. Volkov, Mark, pilsetnieks, Chuck Le Butt, PhonicUKMay 1 '13 at 10:55

Questions on Stack Overflow are expected to relate to programming within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.

8 Answers

All programs that allegedly convert a document from LaTeX to some word-processing format will lose some information that was there in the original, but apparently you're willing to live with that.

Here's one trick that may or may not be suitable for your purposes: if latex2rtf does a good enough conversion (I have no idea how it compares to the converter you are using), just rename its output from whatever.rtf to whatever.doc, and Word will open it just fine. Now if the recipient of the document wants to edit it, she may notice that it is actually not in the usual Word format, but, hey, Word behaves strangely all the time anyway.

Another trick is to convert the output of TeX into images of pages and embed them in a Word document one by one - this preserves the exact layout from TeX and will obviously be useless for anything other than printing (and the print quality will likely be worse than you get by just printing the original), but technically it is a Word document.

Jouni K. SeppänenJouni K. Seppänen
29.2k4 gold badges63 silver badges92 bronze badges

What is you open it in OpenOffice (with OOoLaTex) and saves as .doc?

As Tormod said, it would be nice with one step: may using OOo from command line like here.

bojboj
7,7234 gold badges30 silver badges46 bronze badges

I haven't used it, so I cannot comment on it, but this looks somewhat like what you're looking for: tex2word and LaTeX-to-Word (the latter one looks better).

nealmcb
6,2253 gold badges36 silver badges68 bronze badges
RookRook
40.6k38 gold badges144 silver badges218 bronze badges

I'm using tex4ht to produce an HTML file. I open the resulting .html in Word. Afterwords, I save it as .docx. Gives good results.

Based on that, there is the latex2docx project.

kopporkoppor
10.4k4 gold badges68 silver badges115 bronze badges

I tried many free solutions, but my LaTeX document was too complicated. In the end, commercially available GrindEQ did the best job by far. If you only need to do this once, you can use the demo version.

ChinasaurChinasaur
1,2772 gold badges10 silver badges17 bronze badges

Lyx bundles away some of the command-line stuff so that you can export straight to the ODT file (assuming you have tex4ht installed on the path), so that might save you a few keystrokes. I'd be surprised if Kile doesn't have similar output helpers.

ChinasaurChinasaur
1,2772 gold badges10 silver badges17 bronze badges

I've just installed GrindEQ. And it didn't convert any of my figures. I suspect that it ignores graphicspath . latex2rtf doesn't like autoref .

oolatex (tex4ht) failed to convert jpg images for me, though they work fine with both latex and pdflatex under MikTeX 2.9. Other images are not centered as requested by centering.

oolatex and GrindEQ flatten marginpar by embeding it in the main text with slightly different font. latex2rtf simply ignores marginpar.

I guess there is no perfect tool for somewhat complex document:(

mltmlt
1,0571 gold badge14 silver badges42 bronze badges

If you want to use this commands in one unique line of call, could write a single bash script for that:

  • Create a new file named tex2odt.sh
  • Write this lines in:

  • Make the file executable: chmod +x tex2odt.sh

  • call the script with the name of tex file without the extension: tex2odt.sh FiletoConvert
Word To Latex Converter

Hope this still helps

Namastê

Ademir Mazer Jr - NunoAdemir Mazer Jr - Nuno

Not the answer you're looking for? Browse other questions tagged latexopenoffice.org or ask your own question.

To insert an equation using the keyboard, press ALT+ =, and then type the equation.

You can insert equation symbols outside a math region by using Math AutoCorrect. For more information, see Use Math AutoCorrect rules outside of math regions check box.

You can also create math equations using on the keyboard using a combination of keywords and math autocorrect codes. New to Word for Office 365 subscribers is the ability to type math using the LaTeX syntax; details described below.

Type equations in linear format

Linear format is a representation of math on one line in documents. There are two linear formats for math that Word supports:.

  • Unicode math

  • LaTeX math

Depending on your preferred input format, you can create equations in Word in either one of UnicodeMath or LaTeX formats by selecting the format from the Equations tab.

Note: All the other Office applications support only UnicodeMath linear format.

Create fractions in linear formats

To create a fraction using these different formats with subscript,

  • Enter your equation using Alt + = on the keyboard.

  • Choose Convert and select professional to build your typed fractions to their Professional form into subscripts, or use Ctrl + =. You can similarly convert an equation back down to a linear format with Ctrl + Shift + =.

Examples

Note: Convert a professional format equation format to it's source format, change the convert tool to build a linear format by selecting the desired option from the Convert menu.

UnicodeMath editing examples

UnicodeMath resembles real mathematical notation the most in comparison to all of the math linear formats, and it is the most concise linear format, though some may prefer editing in the LaTeX input over UnicodeMath since that is widely used in academia.

You can type most equations in UnicodeMath quickly by using Math AutoCorrect codes. For example, to align an equation array, you can use @ and &, as in the following:

eqarray(x+1&=2@1+2+3+y&=z@3/x&=6)<space>

which resolves to:

Here are some other examples:

UnicodeMath format

Built-up format

Vectors

(abc)vec<space><space>

(abc)hat<space><space>

Boxed formula

rect(a/b)<space>

Brackets

(a+b/c)<space>

{a+b/c}<space>

Brackets with separators

{a/bvbar<space>x+yvbar<space>}<space>

Fractions

a/(b+c)<space>

LeftSubSup

_a^b<space>x<space>

Limit

lim_(n->infty)<space>n

Matrix

(matrix(a&b@&c&d))<space>

Nary

iint_(a=0)^infty<space><space>a

Over/Underbar

overbar(abc)<space>

overbrace(a+b)<space>

Radicals

sqrt(5&a^2)<space>

Note: When an example is followed by two consecutive spaces, the first space resolves the typed text into the equation, and the second space builds it up.

Microsoft Office uses the linear format described in Unicode Technical Note 28 to build up and display mathematical expressions. For more information, including how to quickly type up and build equations, see Unicode Nearly Plain-Text Encoding of Mathematics.

LaTeX equation editing examples

LaTeX equation editing supports most of the common LaTeX mathematical keywords. To create a 3x3 matrix equation in the LaTeX format, type the following into a math zone:

A={matrix{a&b&cd&e&fg&h&j}}

Word To Latex Converter 2.30 Crack

This will build into the following professional equation:

Here are some other examples of LaTeX expressions that can be built-up into a professional format.

Most LaTeX expressions are supported in this new feature to Word; a list of exceptions is provided below for LaTeX keywords that are not currently supported.

Some LaTeX expressions take a slightly different syntax than might be expected.

For example, LaTeX matrices are often created using the following syntax:

Word

Word To Latex Converter Download

begin{matrix} a & b c & d end{matrix}

However begin{} and end{} keywords are not supported in Word, so instead, a LaTeX matrix input takes simply matrix{} and would look like:

matrix{a & b c & d}

Automatically convert expressions to professional format

Office has Math AutoCorrect that can be used to make UnicodeMath format simpler by automatically recognizing expressions and symbols as they are input and converting them to a professional format as the equation is created. This setting can be enabled or disabled by checking the appropriate box in the Equation Options dialog.

Type one of the following codes followed by a delimiting term. For example, after you type a code, type a punctuation mark, or press SPACEBAR or ENTER.

To ensure that the Math AutoCorrect symbols appear the same in your document as they do in the AutoCorrect dialog box, on the Home tab, in the Font group, select Cambria Math.

To get

Type

above

aleph

alpha

Alpha

amalg

angle

approx

asmash

ast

asymp

atop

bar

Bar

begin

below

bet

beta

Beta

bot

bowtie

box

bra

breve

bullet

cap

cbrt

cdot

cdots

check

chi

Chi

circ

close

clubsuit

coint

cong

cup

dalet

dashv

dd

Dd

ddddot

dddot

ddot

ddots

degree

delta

Delta

diamond

diamondsuit

div

dot

doteq

dots

downarrow

Downarrow

dsmash

ee

ell

emptyset

end

epsilon

Epsilon

eqarray

equiv

eta

Eta

exists

forall

funcapply

gamma

Gamma

ge

geq

gets

gg

gimel

hat

hbar

heartsuit

hookleftarrow

hookrightarrow

hphantom

hvec

ii

iiint

iint

Im

in

inc

infty

int

iota

Iota

jj

kappa

Kappa

ket

lambda

Lambda

langle

lbrace

lbrack

lceil

ldivide

ldots

le

leftarrow

Leftarrow

leftharpoondown

leftharpoonup

leftrightarrow

Leftrightarrow

leq

lfloor

ll

mapsto

matrix

mid

models

mp

mu

Mu

nabla

naryand

ne

nearrow

neq

ni

norm

nu

Nu

nwarrow

o

O

odot

oiiint

oiint

oint

omega

Omega

ominus

open

oplus

otimes

over

overbar

overbrace

overparen

parallel

partial

phantom

phi

Phi

pi

Pi

pm

pppprime

ppprime

pprime

prec

preceq

prime

prod

propto

psi

Psi

qdrt

quadratic

rangle

ratio

rbrace

rbrack

rceil

rddots

Re

rect

rfloor

rho

Rho

rightarrow

Rightarrow

rightharpoondown

rightharpoonup

sdivide

searrow

setminus

sigma

Sigma

sim

simeq

slashedfrac

smash

spadesuit

sqcap

sqcup

sqrt

sqsubseteq

sqsuperseteq

star

subset

subseteq

succ

succeq

sum

superset

superseteq

swarrow

tau

Tau

theta

Theta

times

to

top

tvec

ubar

Ubar

underbar

underbrace

underparen

uparrow

Uparrow

updownarrow

Updownarrow

uplus

upsilon

Upsilon

varepsilon

varphi

varpi

varrho

varsigma

vartheta

vbar

vdash

vdots

vec

vee

vert

Vert

vphantom

wedge

wp

wr

xi

Xi

zeta

Zeta

(space with zero width)

zwsp

-+

+-

<-

<=

->

>=

Word To Latex Converter Mac

Note: For information on inserting a symbol that is not in the chart above, see Insert a check mark or other symbol.

Use Math AutoCorrect rules outside of an equation

  1. Click File > Options.

    (In Word 2007, click the Microsoft Office Button , and then click Word Options.)

  2. Click Proofing, and then click AutoCorrect Options.

  3. Click the Math AutoCorrect tab.

  4. Select the Use Math AutoCorrect rules outside of math regions check box.