I offer two options for you (Option 2 is best if you aren't going to compile anymore):
Option 1
Download OpenOffice for free and download writer2latex, also free. It supports xelatex export too! It also does a nice job exporting tables.
Option 2
A project I worked on to make Word documents resemble LaTeX documents. You will need a Mac for this.
https://github.com/macmadness86/applescript
Note: You can edit the plist file to your liking.
- set margins
- set font sizes for various heading styles
- toggle bold or italics for various styles
Additional Scripts
This AppleScript handler sets the font for all styles. It can be expanded to set specific styles, but I have not finished it yet. I recommend using Latin Modern Roman, because it is the unicode font, which replaces CMU when working with XeLateX. Warning: There is a glitch in that when changing the name property of the font object of Word styles, a list template is applied to heading 1. I do not know why this happens. This is not a problem in the original script above, because of a complicated workaround using the find and replace command.
set fontChoice to text returned of (display dialog "Please select a font" default answer "Latin Modern Roman")
my setupfontObjectStyle___("all", fontChoice)
on setupfontObjectStyle___(styleName, newValue)
-- use styleName "all" if you need to
tell application "Microsoft Word"
tell active document
if styleName is equal to "all" then
set wordStylesList to Word styles
try
repeat with styleStep from 1 to count of wordStylesList
set name of font object of item styleStep of wordStylesList to newValue
end repeat
on error
display dialog "There was a problem with the script."
end try
end if
end tell
end tell
end setupfontObjectStyle___
This script zooms word perfectly to fit a styles menu panel on the right side of the program so that you can see the other "Word Styles Setup" in action. Designed for a 13-inch monitor. (tested on Macbook Air)
tell application "Microsoft Word"
activate
set width of active window to 1243
set height of active window to 820
set position of active window to {0, 76}
set percentage of zoom of view of active window to 196
get bounds of window 1
end tell
\cong
is a macro in traditional TeX, but a separate character in Unicode (U+2245). The CM fonts have only a few hundreds of math characters, Unicode has thousands. Unicode is not a character encoding. Computer Modern contains four pre-drawn glyphs for the opening parenthesis, Cambria Math has eight. I have already stated two enhancements: more font parameters, base–script kerning; another one is prescripts, which are complete unavailable in traditional TeX.