Created
March 22, 2014 16:39
-
-
Save cheeming/9710060 to your computer and use it in GitHub Desktop.
Borang EA - Latex format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[a4paper,10pt]{article} | |
\usepackage[margin=1.2cm]{geometry} | |
\usepackage{graphicx} | |
\pagestyle{empty} | |
\renewcommand{\familydefault}{\sfdefault} | |
\usepackage{eso-pic} | |
\newcommand\BackgroundPic{% | |
\put(0,0){% | |
\parbox[b][\paperheight]{\paperwidth}{% | |
\vfill | |
\centering | |
\includegraphics[width=\paperwidth,height=\paperheight,% | |
keepaspectratio]{BorangEA.png}% | |
\vfill | |
}}} | |
\usepackage[absolute]{textpos} | |
\begin{document} | |
\AddToShipoutPicture*{\BackgroundPic} | |
\begin{textblock}{1}(2.1,1) | |
NOMBORMAJIKAN | |
\end{textblock} | |
\begin{textblock}{1}(9.4,1) | |
TAHUN | |
\end{textblock} | |
\begin{textblock}{1}(10.8,0.8) | |
CUKAIPENDAPATAN | |
\end{textblock} | |
\begin{textblock}{1}(6,2.3) | |
NAMAPENUH | |
\end{textblock} | |
\begin{textblock}{1}(3.3,2.5) | |
JAWATAN | |
\end{textblock} | |
\begin{textblock}{1}(10.9,2.52) | |
NOKAKITANGAN | |
\end{textblock} | |
\begin{textblock}{1}(3.3,2.75) | |
NOKADPENGENALAN | |
\end{textblock} | |
\begin{textblock}{1}(10.9,2.755) | |
PASPOT | |
\end{textblock} | |
\begin{textblock}{1}(3.3,2.955) | |
NOKWSP | |
\end{textblock} | |
\begin{textblock}{1}(4.8,3.45) | |
MULAKERJA | |
\end{textblock} | |
\begin{textblock}{1}(4.8,3.665) | |
HENTIKERJA | |
\end{textblock} | |
\begin{textblock}{2}(12.9,4.4) | |
\raggedleft | |
GAJI | |
\end{textblock} | |
\begin{textblock}{2}(12.9,10.38) | |
\raggedleft | |
JUMLAH | |
\end{textblock} | |
\begin{textblock}{2}(12.9,10.9) | |
\raggedleft | |
PCB | |
\end{textblock} | |
\begin{textblock}{5}(3.8,12.1) | |
KUMPULAN WANG SIMPANAN PEKERJA | |
\end{textblock} | |
\begin{textblock}{5}(8.8,12.355) | |
KWSPPEKERJA | |
\end{textblock} | |
\begin{textblock}{5}(2.1,14.95) | |
YYYY-MM-DD | |
\end{textblock} | |
\begin{textblock}{5}(8.8,14.3) | |
NAMAPEGAWAI | |
\end{textblock} | |
\begin{textblock}{5}(8.8,14.6) | |
JAWATAN | |
\end{textblock} | |
\begin{textblock}{3}(8.8,14.9) | |
ALAMATMAJIKAN1 | |
\end{textblock} | |
\begin{textblock}{3}(8.8,15.25) | |
ALAMATMAJIKAN2 | |
\end{textblock} | |
\end{document} |
And you probably need to install textpos.sty, I got a copy from here: http://sipc.eecs.berkeley.edu/postertemplate/textpos.sty
There might be some redundant Latex commands. I haven't gone back to clean it up yet.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This requires the BorangEA.png, which is generated from the PDF version of Borang EA from hasil.org.my at 450dpi converted with Preview in OSX, refs https://www.dropbox.com/s/yycca8mgfzgedga/BorangEA.png