This example shows how to write in Thai in LaTeX using the thailatex package. It uses UTF-8 encoding so you can type Thai characters directly in the LaTeX source code.
It also shows how to mix Thai with English using the babel package.
This template can be used for typesetting solutions to homework assignments.
We define a document class that includes a number of useful packages, defines shorthand macros for commonly used constructs and makes it easy to typeset answers to exercises. The template default content demonstrates how various tasks can be achieved in LaTeX as well: mathematical notation and many symbols, typesetting a table, including a figure, et cetera.
This article aims to be a model LaTeX document while teaching you the basics of what it is and how to use it. It contains all of the basic constructs you are likely to encounter as you write your first papers and articles. This article will not go into detail about how to get started with a local installation of LaTeX.