### Handwriting to LaTeX

Posted by & filed under Internet, LaTeX.

This site allows me to convert what I write to LaTeX or MathML codes. I think it’s conversion or translation is quite accurate after a quick test.

### Embed all fonts in a pdf file

Posted by & filed under LaTeX.

I recently had to embed all fonts in a pdf file for electronic submission of my dissertation. Embedding of fonts is usually required for publishing academic articles as well. I generate my pdf files mainly with LaTeX using the pdflatex command. This post shows how one can embed fonts generated by the tex file; this… Read more »

### background image in LaTeX Beamer presentation

Posted by & filed under LaTeX.

This post shows how one can change the background image in a Beamer presentation: %% all slides \usebackgroundtemplate{ \includegraphics[width=\paperwidth, height=\paperheight]{my_bg_image} } %% single slide { \usebackgroundtemplate{\includegraphics[width=\paperwidth]{my_bg_image}} \begin{frame} \frametitle{Frame with nice background} \begin{itemize} \item 1 \item 2 \item 3 \end{itemize} \end{frame} } The above method spans the image to cover the entire page size. To include… Read more »

### Vietnamese in LaTeX

Posted by & filed under LaTeX.

I recently had a need to create a Beamer presentation with Vietnamese characters. After many tries, the simple outline from this post works for me: \documentclass{report} \usepackage[T5]{fontenc} \usepackage[utf8]{inputenc} \usepackage[vietnam]{babel} \begin{document} Tiếng Việt \end{document}

### sideway or landscape table over multiple pages in LaTeX

Posted by & filed under LaTeX.

Most of my results table are huge. To get them situated in a document, the sidewaystable environment from the rotating is helpful in getting a wide table to fit on one page. To get a long table to span multiple pages (regular orientation), one can utilize the longtable environment; see this example. What if both… Read more »

### Web-based collaboration of LaTeX documents

Posted by & filed under Internet, LaTeX.

This post brought LaTeX Lab to my attention (again). It is a service based on the Google Docs platform for writing and collaborating LaTeX documents. I also became aware of ScribTeX, another similar service. I’m not sure how often I’ll use these services as I’m more (counter?) productive in emacs. Moreover, my interdisciplinary collaborators don’t… Read more »

### Some custom emacs keybindings for LaTeX to assist in the writing process

Posted by & filed under Emacs, LaTeX.

Here are some habits I think will assist in the writing of LaTeX documents: Always encapsulate your superscripts and subscripts with curly braces, even if they consist only of 1 characters. For example, it should x_{1} rather than x_1. The reason is that lot’s of time, I go back to changing my subscripts, and I… Read more »

### Modify spacings in listing (itemize/enumerate) environments for LaTeX Beamer

Posted by & filed under LaTeX.

I don’t usually worry about display options in LaTeX since it does a good job most of the time. However, when I write presentations using LaTeX Beamer, I make use of the itemize and enumerate environments quite often to list ideas, and the default setting in most of the templates lack generous spacing between items… Read more »

### Version control and collaborating with LaTeX files

Posted by & filed under LaTeX.

This post finally pushed me to explore ways to version control and collaborate with others using LaTeX files. I’m assuming the collaborators also use LaTeX, which is rare in itself when your primary collaborators are scientists that work mainly with WYSISWG editors, in particular, MS Word. I will outline how I collaborate with non-LaTeX users… Read more »

### Natbib reference sheet for citations

Posted by & filed under LaTeX.

I use natbib in conjunction with BibTeX for LaTeX documents to facilitate the citing of articles in text. This reference is quite useful in illustrating all the features of natbib in a concise matter (I only used cite, citet, and citep before).