View Zhirong Zhao's profile on LinkedIn

Blogroll

My pages

Visitors

Powered by

UThinkrunning MT v.4.25

Header image of Hong Kong financial center courtesy of hleung on flickr.

Using TextExpander for LaTeX codes

TextExpander: Mac Typing Shortcut Utility Saves You Time!

I installed TextExpander a few months ago but didn’t realize its power until today when I use it to make customized abbreviations for LaTeX codes. I am sure it will save me countless keystrokes over time. More importantly, now I don’t have to remember all these codes!

Just two examples:

1. To insert a figure, I only need to type in “ffig” to get the following codes:

\begin{figure}[htbp]
\begin{center}

\caption{default}
\label{default}
\end{center}
\end{figure}

2. To insert a table, I type in “ttab” to get:

\begin{table}[htdp]
\caption{default}
\begin{center}
\begin{tabular}{|c|c|}

\end{tabular}
\end{center}
\label{default}
\end{table}%

Comments

Nice blog,
If you want to get free games you can visit Game Gratis

Post a comment

Hubert H. Humphrey Institute of Public Affairs