wdGet()
wdTitle("Try a formula")
## note that \ has to be used instead of \
## note that the , the following lines
## must be pasted into the console and run there.
## running them from an Emacs/ESS buffer won't work
wdEqn("\alpha \over ( \beta +3 ) ")
wdEqn("\alpha \over (( \beta +3 ))")
wdEqn("\matrix(\alpha &0@0&1 ) ")
## note: the handling of parentheses "(" is a bit peculiar in Word
## also experiment with the handling of empty spaces
Run the code above in your browser using DataLab