Featured Post

We've moved to tex.my!

It’s been great writing on Blogger.com, but we’ve decided to move to a new platform, thanks to some valuable help from a great, great friend...

Thursday, March 25, 2010

Shameless Barcode Ads

\documentclass{article}

\usepackage{fancyhdr}
\usepackage{soul}
% Font für Code 39
\font\xlix=wlc39 scaled 1200
\newcommand{\barcode}[1]{{\xlix@#1@}}

\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.4pt}

\rhead{\begin{tabular}{ll|ll}
\multicolumn{2}{c|}{\barcode{0193870980}} & \multicolumn{2}{c}{\barcode{0361965666}} \\
\textsc{\textbf{\sc{{{\so{ Muhammad}}}}}} & \so{019$\;$3870980} & \textsc{\textbf{\sc{{{\so{Najmi}}}}}} &\so{03$\;$61965666}
\end{tabular}}

\begin{document}

\centering{\ul{Cheap}\so { \LaTeX{} trainer for hire, at risk}}\\
\centering{\texttt{\small{najmi.zabidi@gmail.com}}}
\end{document}



Code was modified from somebody else on the web, I don't remember the link. I invoke the soul package for space between characters.

Monday, March 22, 2010

LaTeX Documentation in Malay language

Hello,

I am gradually writing for a booklet for LaTeX in Malay language. If you also want to contribute, you're welcome. Lian and some other friends also had contributed on comments and others stuffs.

Feel free to download:

PDF

Note that I don't use version number for the PDF as of now, since I assume it's a BETA for every time I commit. But it's readable and hopefully beneficial.


Or, if you're cool enough, download the .tex files and the rest by yourselves and compile it. I have created a script called Make, just chmod +x and ./Make

hg clone https://latex-my-docs.googlecode.com/hg/ latex-my-docs

Thursday, March 18, 2010

Using the TeX FAQ

The (English language) TeX FAQ is a real treasure trove, maintained by the amazing Robin Fairbairns, who also co-maintains CTAN. (Yep, that repository of all contributed TeX & friends packages!!)

I would say 80% of the time, a LaTeX user can find a solution or pointers to a question in the FAQ, so the next time you're tempted to hack your own solution or is frustrated by all the old, obsolete advices churned up by Google, try searching in the TeX FAQ first.

In fact, you might even have a local copy on your LaTeX installation. Here's how to access them:
  • On TeXLive, run texdoc faq-en at the CLI.
  • On MiKTeX, run mthelp --view faq-en at a DOS prompt, or in the Windows Start → Run dialog.
Another alternative is via the Visual FAQ. Run texdoc visualfaq (or mthelp --view visualfaq). Browse through the PDF and click on an element which effect you're trying to replicate; you will be directed to the relevant entry in the online TeX FAQ.

Tuesday, March 9, 2010

Introductory Workshop to LaTeX at MMU Cyberjaya

I conducted an Introductory Workshop to LaTeX at MMU (Cyberjaya Campus) yesterday (8 March). If anyone's interested, the workshop materials (slides, worksheet, sample code, MiKTeX installation guide) are available here.

Saturday, March 6, 2010

Bibtex2html and Springerlink BibTeX converter

I found out these useful tools:

BibTeX2HTML : http://www.lri.fr/~filliatr/bibtex2html/doc/

Springerlink BibTeX converter; http://www.cs.usyd.edu.au/~niu/cgi-bin/springer.cgi

...and I wonder why on earth Springerlink did not put their BibTeX export format by default...? IEEE and ACM did that!

Tuesday, March 2, 2010

Latest version of geometry.sty breaks beamer

So if you updated all your packages in one go and finds that your beamer presentations don't compile anymore, this is why. Don't panic though (42), there's a workaround: put the following line before \documentclass{beamer}:

\makeatletter\let\ifGm@compatii\relax\makeatother
\documentclass{beamer}

Read this post for more information.