# Tag Archives: latex

## How to type Chinese characters in LaTex (on Mac, using TeXShop)

This is one of the easiest ways to type Chinese characters in LaTeX on Mac, using the default TeXShop editor. (If you know of an easier way, please let me know in the comments below!) I have tried for hours, … Continue reading

Posted in maths tuition | Tagged , | 1 Comment

## Drawing Chemistry Diagrams in LaTeX

The web application “mol2chemfig” is very amazing. (http://py-chemist.com/mol_2_chemfig). Especially the search function, where one can just type the name of the chemical and out comes the chemfig code where it can be pasted to LaTeX. The mol2chemfig package needs to … Continue reading

Posted in maths tuition | Tagged , | Leave a comment

## How to draw polygons with angles (LaTeX Tikz)

Just learnt some amazing angle-drawing techniques using LaTeX Tikz. Although cumbersome to code, the benefit of using LaTeX to draw diagrams is that it matches the font of your document, and is easier to customize and edit. Also, it is … Continue reading

Posted in maths tuition | Tagged , | Leave a comment

## How to do Proof by Cases in LaTeX

If one searches online, one will find many different methods to do “proof by cases” in LaTeX. The most simple and convenient method in my opinion is to use the description environment. Something like this: \begin{proof} Proceed by cases. \begin{description} … Continue reading

Posted in math | Tagged , | Leave a comment

## LaTeX Thesis Template

This site (https://www.sharelatex.com/blog/2013/08/09/thesis-series-pt5.html) has a guide on how to create your own template for a thesis. Quite nice and simple, and easily customizable. The actual Tex source code is found here: https://www.sharelatex.com/project/51fa85c3db89c3c351085071. I like it as the source code is neat … Continue reading

Posted in math | Tagged , , | Leave a comment

## Groups of order pq

In this post, we will classify groups of order pq, where p and q are primes with p<q. It turns out there are only two isomorphism classes of such groups, one being a cyclic group the other being a semidirect … Continue reading

Posted in math | Tagged , , | Leave a comment

## Updated LaTeX to WordPress Converter

WordPress is notorious for not accepting \begin{align} … \end{align} as it is not in math mode. I have updated the LaTeX to WordPress Converter to change \begin{align} … \end{align} to l atex\begin{aligned} … \end{aligned} which works in WordPress. Test Input: Let $h=\chi_{[0,1]}$, the characteristic … Continue reading

Posted in math | Tagged , | 2 Comments

## Updated LaTex Javascript Converter

I have updated the LaTeX to WordPress Converter to change  to $l atex\displaystyle and$ respectively. Note that $…$ is preferable over $$…$$. Test code: Input: If $(X,\Sigma,\mu)$ is a measure space, $f$ is a … Continue reading

Posted in math | Tagged , , | Leave a comment

## $$…$$ should not be used in LaTeX

Just learnt today that the popular command $$…$$ in LaTeX should not be used as it produces wrong spacing and is an obsolete command. The correct command should be $…$. Both have the same number of characters and … Continue reading

Just created a LaTeX to WordPress Converter: http://mathtuition88.blogspot.sg/2015/12/latex-to-wordpress-converter.html Currently it is a very basic converter, just changes “$abc$” to “$latex abc$”. To change back from WordPress to LaTeX, a simple text editor will do the job, with replace “$latex … Continue reading Posted in LaTeX | Tagged | 4 Comments ## How to type LaTeX in WordPress without using “$latex”

Currently, LaTeX is well supported in WordPress, however there is one practical issue when typing LaTeX in WordPress, the need to type “\$latex” for every single math expression! It gets pretty troublesome after a while. For those familiar with LaTeX, … Continue reading

Posted in LaTeX | Tagged | 1 Comment

## Math Formula in WordPress vs Blogspot

Refering to How to write Math Formulas on Blogspot / Blogger, Blogspot is also capable of rendering beautiful Math Equations based on LaTeX. Blogger uses MathJax for rendering the Math Formulas, which look like the ones shown above. Let’s try the … Continue reading

Posted in LaTeX | Tagged , , | 2 Comments

## Interactive Astronomy using 3D Computer Graphics

This is a school project on using 3D Computer Graphics. It explores a phenomenon whereby a sundial can actually go backwards in the tropics! Abstract: Understanding spherical astronomy requires good spatial visualization. Unfortunately, it is very hard to make good … Continue reading

Posted in astronomy, LaTeX | | 2 Comments