[SVN] r6933 (Latex)

The bold/italic/typewriter commands now recognize if they are called inside a math environment, and insert mathbf/mathit/mathtt instead. (This probably won't work properly inside a \text{} inside a math environment. Hopefully it won't come up too often.)