tag:blogger.com,1999:blog-28840162166193846102024-03-06T15:43:30.861+08:00Malaysian LaTeX User Group0xffhttp://www.blogger.com/profile/11282323362186270236noreply@blogger.comBlogger138125tag:blogger.com,1999:blog-2884016216619384610.post-39586367408729183702016-03-23T08:33:00.000+08:002016-03-23T08:33:01.573+08:00We'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. (More shall be revealed about this kind soul – he’s a familiar/famous character in the TeX community!)<br />
<br />
Thank you for reading LaTeX-my.blogspot.com – if you’re interested in following our new posts, please go on to (and bookmark) <a href="http://tex.my/">TeX.my</a>. We’re still “moving in”, so there’ll likely be some re-decorations, but new posts (as well as all old posts and comments) will appear there from now on. Expect new layouts (automatic syntax highlighting wheee!); a new feature or two; and guest posts!<br />
<br />
See you there!Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-89987122881963711372016-03-03T20:41:00.001+08:002016-03-03T20:41:28.098+08:00USMThesis Updated (Again)<p>Following the most recent feedback from the Main Campus, <a href="http://liantze.penguinattack.org/latextypesetting.html#usmthesis">USMThesis</a> has been updated to v1.6.3 today. The changes this time are in <code>usmthesis.tex</code>, where the List of Publications is moved <em>after the appendices</em> (so now Main Campus and Engineering Campus are on the same page now!) <span style="font-size:smaller;">Pun unintended.</span></p>
<p>Looking at the ChangeLog, <code>usmthesis</code> v0.1 was Nov 2005 — so <em>it’s been 10 years!!</em> In fact if anyone wants to host a meetup/talk or something, ping me.</p>Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-73235881394184880372016-02-19T16:20:00.000+08:002016-03-03T20:49:51.066+08:00USMThesis Updated<p><a href="http://liantze.penguinattack.org/latextypesetting.html#usmthesis">USMThesis</a> has been updated to v1.6.2, following feedback from IPS that the page numbering of appendices should be turned off in the table of contents.</p>
<p>If you already have the template (v1.6.1) from September 2015 and don’t want to re-download the template again now, just add these lines before <code>\appendix</code> in your <code>thesis.tex</code>:</p>
<pre>\addtocontents{toc}{\protect\cftpagenumbersoff{part}}
\addtocontents{toc}{\protect\cftpagenumbersoff{chapter}}
</pre>
<p>Also, from recent feedback, it looks like Main Campus-IPS requires the List of Publications <em>before the abstracts</em>; while the Engineering Campus IPS requires the List of Publications <em>after the appendices</em>. So do check with IPS of your respective campuses before you print your entire thesis!</p>
<p>Another thing — when printing out the PDF, do remember to set paper size to <code>A4</code>, and Scaling to <code>100%</code> or <code>None</code> in the Print dialog. Many PDF viewer applications would set it to <code>92%</code> or <code>Fit on page</code> by default, and then the font sizes would come out too small and the page margins too wide!</p>Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-18104139979778883042016-02-11T21:21:00.003+08:002016-02-11T21:21:58.318+08:00Math Formula Code Generator for LaTeXI tried it, and it's pretty cool and useful, I guess.<br />
<br />
Click <a href="http://webdemo.myscript.com/#/demo/equation" target="_blank">here</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsYkso4E5VIzV8jPbAlRXpQhdMEIUxu5CzJ_XRu-WD-BH8VrsSqh7UNq-bMd8YNeRLnpdqcTopH0M_6m22BXTLYE-bZs9rHaha-Ny89mxHdRn-LR6-s0UrclxgbJH-5yczyc0oJmf2_g0X/s1600/math.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="513" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsYkso4E5VIzV8jPbAlRXpQhdMEIUxu5CzJ_XRu-WD-BH8VrsSqh7UNq-bMd8YNeRLnpdqcTopH0M_6m22BXTLYE-bZs9rHaha-Ny89mxHdRn-LR6-s0UrclxgbJH-5yczyc0oJmf2_g0X/s640/math.png" width="640" /></a></div>
<br />0xffhttp://www.blogger.com/profile/11282323362186270236noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-61115114133699266782015-12-30T20:13:00.000+08:002015-12-30T20:13:22.444+08:00Source code for "LaTeX: More than just academic papers & theses"<p>I’ve posted the source code for my presentation <a href="http://latex-my.blogspot.my/2011/06/l-t-e-x-more-than-just-academic-papers.html">LaTeX: More Than Just Academic Papers and Theses</a> as an <a href="https://www.overleaf.com/read/cyfvvyfrpmyn">example on Overleaf</a>.</p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://www.overleaf.com/read/cyfvvyfrpmyn" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://48ed35b78c1314685eae-5c768d3cc8f4223c2d92068bc1d68611.ssl.cf5.rackcdn.com/gallery-images/dca8f6243595e099aa6b89253467a66873b11661.jpeg" width="80%" /></a></div>
<p>Enjoy!</p>
Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-20659159089769362762015-12-26T23:27:00.000+08:002015-12-26T23:49:08.316+08:00LaTeX Cookbook and Beginner's Guide ebooks at $5 Each<p><a href="http://latex-community.org/forum/viewtopic.php?f=37&t=26994">Until January 6</a>, that is!</p>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.packtpub.com/latex-beginners-guide/book" imageanchor="1" style="margin-bottom: 1em; margin-right: 1em;"><img alt="LaTeX Beginner’s Guide by Stefan Kottwitz" border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw7lNFKy-aw-w9WFzDyvnT5ffha_8h0fA8_7Yga5kjXlV9arVTBmrjKIBe9aJG_7oL_Jfb-PRXnb2dA5SvNFCoYGEVeyKrS6q4W6onvIEQqZnhnf8h-x6LNBhpThRf89wq9XvW-nCHETtJ/s320/Kowittz-LaTeXbook.jpg" width="256" /> </a><a href="https://www.packtpub.com/hardware-and-creative/latex-cookbook" imageanchor="1" style="margin-bottom: 1em; margin-right: 1em;"><img alt="LaTeX Cookbook by Stefan Kottwitz" border="0" height="320" src="https://www.packtpub.com/sites/default/files/5148OS_LaTeX%20Cookbook.jpg" width="256" /></a></div>
<p>Both books are written by <a href="http://texblog.net/">Stefan Kottwitz</a>. The <a href="http://bit.ly/1V5iQ7L"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Beginner's Guide</a> came out in 2011, and I still consider it as a very valuable book to newcomers — e.g. a useful tome to assign your new research student as prerequisite research-skills reading. (You can read my <a href="http://latex-my.blogspot.my/2011/06/book-review-l-t-e-x-beginner-guide.html">review</a> of it here) <span style="font-size: smaller; font-style: italic;">(whoa where did I find the energy to write such long form back in the day?!)</span></p>
<p>The <a href="https://www.packtpub.com/hardware-and-creative/latex-cookbook"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Cookbook</a> is actually still quite new, having been published just a couple of months ago in October. <span style="font-size: smaller; font-style: italic;">(Which makes this deal even more amazing, especially with the currency situation in this part of the world right now…)</span> Anyway! amazing deal or no amazing deal, this book is another one in the “keeper’s” category. Kottwitz continues his style of accompanying lots of useful code with an equally illustrative amount of explanations and best-practice tips. You know how some cookbooks are all “You want to do this? OK take this code” without too much explanation? This isn't one of them. So in a pinch, you may be thinking “why can't I just slap this code in and get it done with” <span style="font-size: smaller; font-style: italic;">(well actually most code in this book will do that for you anyway)</span>, but trust me, you’ll learn much more about <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> if you spend a few minutes reading. It’s written in a very easy-to-ready way anyway.</p>
<p>This book doesn’t beat around the bush with introductory material much, but digs into all the interesting things that you’ve probably wanted to do after writing up that first paper with <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span>, or for writing up your own thesis or book — How do I change the fonts exactly the way I want? Can I draw my circuits/plots/chemical diagrams/flowcharts in <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> now? <span style="font-size: smaller; font-style: italic;">(Yes I enjoyed the chapter on Creating Graphics a lot — in fact you can download it as a <a href="http://latex-cookbook.net/articles/graphics/">sample chapter</a>!)</span> Mmmm you think your doc needs some pretty decorations, let’s see how we can spruce it up — Ah! Ornaments, coloured lettrines, images with rounded corners or badge-shaped, so designer-ish! <span style="font-size: smaller; font-style: italic;">(Come on, admit it, you know when those creative/productive procrastination mood hits…)</span></p>
<p>Another chapter worthy of mention is on how to ask a good question, and formulate a minimal working example (MWE), to make it easier for others to help you solve a problem. Having lectured students myself, I <i>cannot emphasise enough</i> how important this skill is. <span style="font-size: smaller; font-style: italic;">*meaningful nod*</span></p>
<p>So. Should you get <a href="http://bit.ly/1V5iQ7L">these</a> <a href="https://www.packtpub.com/hardware-and-creative/latex-cookbook">books</a>? You bet. $5 per book until 6 January 2016!</p>Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-80212875321843924952015-12-22T11:58:00.001+08:002016-02-19T15:59:04.168+08:00Quick reminder about bahasa-babel<p>Just a quick note to help people who might be confused: If you'd like to write your report/thesis etc in <a href="http://www.ethnologue.com/language/zsm">Bahasa Malaysia (Standard Malay)</a> (ISO-639 <code>zsm</code>), the correct language option to pass to <code>babel</code> is <code>bahasam</code>:<p>
<div class="code-snippet">
\usepackage[bahasam]{babel}
</div>
<p>The <code>babel</code> option <code>bahasa</code> is actually a synonym for <code>bahasai</code> and loads <a href="http://www.ethnologue.com/language/ind/18">Bahasa Indonesia</a> (ISO-639 <code>ind</code>).</p>
<p>(For the linguistically minded, both <code>zsm</code> Standard Malay and <code>ind</code> Bahasa Indonesian, as well as many other languages, are members of the <a href="http://www-01.sil.org/iso639-3/documentation.asp?id=msa">Malay macrolanguage</a> (ISO-639 <code>msa</code>).</p>
<p>In addition, if you'd like to change a <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> string <strong>when <code>babel</code> is loaded</strong>, you’ll have to use the <code>\addto\captionsXXX</code> method. For example, to re-define figure captions to be “Rajah 1” instead of “Gambar 1”, you’ need to write
<div class="code-snippet"><pre>
\addto\captionsbahasam{
\renewcommand{\figurename}{Rajah}
}
</pre></div>
Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-67274708227808080392015-11-10T00:42:00.000+08:002015-11-10T00:44:34.039+08:00UPNMThesis — LaTeX document class for Universiti Pertahanan Nasional Malaysia Theses<p>I’ve created a <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> document class and template, <a href="http://liantze.penguinattack.org/latextypesetting.html#upnmthesis"><code>upnmthesis</code></a>, for <a href="http://upnm.edu.my/">Universiti Pertahanan Nasional Malaysia (UPNM)</a>, as commissioned by the university’s <a href="http://www.upnm.edu.my/en/index.php?req=d5">Centre for Graduate Studies</a>.</p>
<div><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMRLon8rKuf-OmhAeAtBLytnt7R7tQrzHjjuWQ4kCtn_gIbjaEzyEqdpqIN53yassUNJsUxtbemMXvIUbxhyphenhyphen5yfeFgqqccClwrJj2ImVSUqz2_y9sZm2FtI5NrRPjW7qUmONS5L2IbFFam/s1600/upnmthesis-cover.png" style="border: solid 1px;" /></div>
<p>It’s also available on <a href="https://bitbucket.org/liantze/upnmthesis">Bitbucket</a>, as well as on <a href="https://www.overleaf.com/read/rcjsnsvymjqz">Overleaf</a>.</p>
<p>The user guide/manual is also my first attempt at using the <code>tufte-book</code> class, as well as <code>minted</code> for the code listings. I must say I like the look!</p>Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-20544991230917291432015-09-29T14:43:00.002+08:002015-09-29T15:02:35.027+08:00[Rant Warning] I don't want hyphenation in my document; what do I do?<p>In recent months, I’ve been getting this query/complaint about “broken words” at the end of lines in <span class="latex">L<sup>a</sup>T<sub>E</sub>X</span> documents. Some asked me whether this is allowed in thesis writing and documents at all, and could I fix this “serious bug“ in my <span class="latex">L<sup>a</sup>T<sub>E</sub>X</span> thesis templates ASAP.</p>
<hr/>
<p><strong>tl;dr:</strong> OK, a quick way to disable hyphenation is to put <code>\sloppy</code> just after your <code>\begin{document}</code>. There are other ways, but personally I think this is pretty simple. <code>;-)</code></p>
<hr/>
<p>Now — here’s the long explanation about the role of hyphenation in professional typesetting. It’s ranty and may be a bit incoherent in places — you’ve been warned.</p>
<p><code><RANT></code></p>
<p>Not only is hyphenation acceptable in thesis writing <span style="font-size:smaller">(unless your institution expressly forbids it, that is)</span>, it is essential in professional book design and publishing. Without hyphenation (like default setting in Microsoft Word), the space between words would be inconsistent, some narrow and some wide, resulting in “rivers” (publishing jargon). See <a href="http://www.thebookdesigner.com/2012/08/why-self-published-books-look-self-published/">this article on self-publishing</a>, under section “Hyphenation is nonexistent”.</p>
<p>If you look at professional text books published by large publishers (or books published in the 70’s before Microsoft Word became popular) you will notice that those which do not hyphenate words at the end of lines are all left-aligned (not justified) — so that spaces between words don’t have to be stretched. Professionally published books which justify their text, always hyphenate the words at the end of the lines if they do not fit nicely on the same line. See also journal papers published by IEEE and ACM — you will see the hyphenations in action (because they use <span class="latex">L<sup>a</sup>T<sub>E</sub>X</span> document classes).</p>
<p>Earlier versions of Microsoft Word could not hyphenate words. This is actually a shortcoming of Microsoft Word, not a feature. As comparison, professional desktop publishing software like Adobe InDesign, QuarkXpress, all support text hyphenation (some only recently). Unfortunately, since Microsoft Word was/is so popular <span style="font-size: smaller;">(no thanks to bootlegged copies of Microsoft Office)</span> during everyone's secondary school and undergraduate days <span style="font-size: smaller;">(in this part of the world anyway, back when copyright laws were not really enforced and intellectual property an unfamiliar concept)</span>, one whole generation grew up thinking that hyphenating words is a “bug” and a “defect” <span style="font-size: smaller;">(← one thesis examiner actually used these words)</span>.</p>
<p>Since <span class="latex">T<sub>E</sub>X</span> and <span class="latex">L<sup>a</sup>T<sub>E</sub>X</span> was developed to <a href="http://www.tex.ac.uk/faq/FAQ-whatTeX.html">create beautiful books</a>, the default behavior is to hyphenate words. A few papers doctoral theses (co-authored or supervised by Knuth) developed the algorithms to compute the optimum hyphenations, line-breaking and page-breaking, to maximise reading and visual aesthetics:<br />
<ul>
<li>Knuth, D. E., & Plass, M. F. (1981). <a href="http://www.eprg.org/G53DOC/pdfs/knuth-plass-breaking.pdf">Breaking paragraphs into lines</a>. <i>Software: Practice and Experience</i>, <i>11</i>(11), 1119-1184.</li>
<li>Plass, M. F. (1981). <i><a href="https://www.tug.org/docs/plass/plass-thesis.pdf">Optimal pagination techniques for automatic typesetting systems</a></i> (Vol. 870). Stanford University.</li>
<li>Liang, F. M. (1983). <a href="http://www.tug.org/docs/liang/"><i>Word Hy-phen-a-tion by Com-put-er</i></a> (Doctoral dissertation, Stanford University).</li>
<li>Brüggemann-Klein, A., Klein, R., & Wohlfeil, S. (1998). <a href="http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.61.5145&rep=rep1&type=pdf"><i>On the pagination of complex documents</i></a>. Fernuniv., Fachbereich Informatik.</li>
<li>Fine, J. (2000). <a href="http://www.tug.org/TUGboat/tb21-3/tb68fine.pdf">Line breaking and page breaking</a>. <i>TUGBoat</i>, <i>21(3)</i>, 210-221.</li>
</ul>
<p>More recently, there is now also efforts to get good hyphenation working on Web documents, first using JavaScript, and more recently with HTML5 and CSS3. Here are some links:</p>
<ul>
<li><a href="https://github.com/mnater/hyphenator">Hyphenator.js</a></li>
<li><a href="http://stackoverflow.com/questions/16886258/hyphenator-js-or-hypher">Hyphenator.js or Hypher?</a></li>
<li><a href="https://css-tricks.com/almanac/properties/h/hyphenate/">The CSS3 <code>hyphens</code> property</a> (not yet supported in all browsers: check <a href="http://caniuse.com/#feat=css-hyphens">here</a>)</li>
</ul>
<p>So is hyphenation a “defect”? <em>NO</em>. It may not always be what you want or suitable for the occasion (e.g. when the text width is narrow!), but it is most definitely <em>not a bug</em>.</p>
<p><code></RANT></code></p>
<p style="font-size:smaller;">(mmmm it’s good to get that rant out of my system)</p>Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-11579271301024988822015-06-23T23:23:00.000+08:002015-06-23T23:23:06.292+08:00A multilingual, customisable CD/floppy disk jewel case calendar with LaTeX<p><em>This post is also <a href="https://www.overleaf.com/blog/217-a-multilingual-customisable-cd-slash-floppy-disk-jewel-case-calendar-with-latex">published on the Overleaf blog</a>.</em></p>
<p><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span>'s versatility makes it a rather handy (and free!) tool for creating various goodies, including monthly calendars. So here's my stab at creating a <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> class and template for creating customisable, multilingual monthly calendars, that fit in CD or 3.5" disk jewel cases. Pictures and events can be added, and you can choose any month range for your calendar — it's not necessary that they begin on January and end on December.</p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG51hXdLZ2bFHnJNiqduIqaRj4sONL1XtOylYYinaB6JfmS3XfnucEPBUVkKIysWOSB7eFJOjy4MNVU14pJR5xwtjU-sEvKLaaw2H4ScrkGwfcUT8BCQO_JnvQkR57sbUoux3-6DPzyoF8/s1600/actual.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG51hXdLZ2bFHnJNiqduIqaRj4sONL1XtOylYYinaB6JfmS3XfnucEPBUVkKIysWOSB7eFJOjy4MNVU14pJR5xwtjU-sEvKLaaw2H4ScrkGwfcUT8BCQO_JnvQkR57sbUoux3-6DPzyoF8/s320/actual.jpg" /></a></div>
<p>
You can make them for personal use, gifts or memorabilia for special events e.g. anniversaries. They may also be used for publicity or merchandise if you happen to be running a club or society.</p>
<p>
For example, you could make a calendar showcasing birds frequenting your neighbourhood for your local birdwatching club. Work-wise, you might want to make a calendar for your journal paper reading group, highlighting important dates for assignments and conference submissions in your field in the coming semester.</p>
<h2>Getting the Templates</h2>
<p>You can <a href="https://bitbucket.org/liantze/cdcalendar/">clone the git repository</a> on Bitbucket, or <a href="https://bitbucket.org/liantze/cdcalendar/get/262984171501.zip">download a .zip file</a>. Alternatively, you can also open and edit a <a href="https://www.overleaf.com/latex/examples/desktop-calendar-fits-cd-jewel-case">CD-sized</a> or <a href="https://www.overleaf.com/latex/examples/desktop-calendar-fits-3-dot-5-floppy-disk-jewel-case">floppy disk-sized</a> calendar template on <a href="https://www.overleaf.com">Overleaf</a>.
<h2 id="the-monthly-calendars">
The Monthly Calendars</h2>
<p>
The <code>cdcalendar</code> class will set up the calendar size to fit in a CD jewel case, and lay them out on an A4-sized paper:</p>
<pre class="code-snippet">\documentclass[12pt]{cdcalendar}
\begin{document}
%% June 2015
\monthCalendar{2015}{06}
\clearpage
%% July 2015
\monthCalendar{2015}{07}
\end{document}</pre>
<p>
If you want to make a smaller calendar to fit in 3.5" floppy cases instead, pass the <code>small</code> option to the <code>cdcalendar</code> class:</p>
<pre><code>\documentclass[9pt,small]{cdcalendar}</code></pre>
<p>
For those who are interested in the technical details: the calendar is rendered with <code>tikz</code>, and the 2-up or 4-up layout is done with <code>pgfpages</code>.</p>
<h2 id="adding-illustrations">
Adding Illustrations</h2>
<p>
I've defined a <code>\illustration</code> command for adding graphics to each page of the calendar:</p>
<pre class="code-snippet">\usepackage{graphicx}
%% syntax: \illustration[caption]{width}{image-file-name}
\illustration[We had fun at the birthday party!]{8.5cm}{Party.jpg}</pre>
<p>
The image will be added at the top left of the current page. The original proportion will be preserved, so you do have to choose an illustration of appropriate proportions to fit the empty space.</p>
<h2 id="addingmarking-events">
Adding/marking events</h2>
<p>
You can mark events on each month using the <code>\event</code> command:</p>
<pre class="code-snippet">\event{2015-10-25}{Daylight saving time ends}</pre>
<p>
The event will be listed above the monthly calendar, and the date is circled in the calendar itself. Events must be given <em>after</em> the relevant <code>\monthCalendar</code> and on the same page.</p>
<p>
If your event spans over several days, you can give the duration (in days) as an option to <code>\event</code>:</p>
<pre class="code-snippet">\event[5]{2015-07-26}{ACL 2015, Beijing}</pre>
<p>
Alternatively, you can also give the <em>end date</em> as the option instead:</p>
<pre class="code-snippet">\event[2015-07-31]{2015-07-26}{ACL 2015, Beijing}</code></pre>
<p>
Both forms of the command will give the same output.</p>
<p>
If an event spans two months, e.g. <code>\event[9]{2015-06-27}{Summer Camp}</code>, you'll have to issue this command in both months i.e. once for June and once for July:</p>
<pre class="code-snippet">\monthCalendar{2015}{06}
\event[9]{2015-06-27}{Summer Camp}
\clearpage
\monthCalendar{2015}{07}
\event[9]{2015-06-27}{Summer Camp}
\clearpage</pre>
<h2 id="multilingual-calendars">
Multilingual Calendars</h2>
<p>
The dates, month names and weekday initials can be localised to languages that are supported by the <code>babel</code>, <code>translator</code> and <code>datetime2</code>.</p>
<p>
For example, to get a calendar with Spanish dates, just pass <code>spanish</code> as a class option:</p>
<pre class="code-snippet">\documentclass[12pt,spanish]{cdcalendar}</code></pre>
<p>
We've tested the following language options: <code>british, spanish, french, ngerman, italian, portuges, polish, croatian, greek</code>.</p>
<p>
Just remember to use LuaLaTeX to compile your project if it's in <code>french</code> -- it doesn't work well with PDFLaTeX, and XeLaTeX doesn't work well for this template.</p>
<h2 id="customising-styles">
Customising styles</h2>
<p>
The fonts and colours of most elements can be customised at any point in the calendar; take a look at the templates to see some examples. For convenience's sake, a <code>\makeCover</code> command (and the necessary metadata commands) is also provided.</p>
<p>
It's been a lot of fun creating this template, and I'm sure you'll find many more uses for this calendar. Enjoy!</p>
Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-9350767800069499152015-03-04T22:15:00.000+08:002015-03-04T22:15:01.841+08:00"LaTeX Beginner's Guide" by Stefan Kottwitz Available for Free Today (4 March 2015)The <a href="https://www.packtpub.com/hardware-and-creative/latex-beginners-guide">LaTeX Beginner's Guide</a> ebook by Stefan Kottwitz is <a href="http://latex-community.org/">available for <strong>free for 24 hours today (4 March 2015)</strong></a>! I've previously <a href="http://latex-my.blogspot.com/2011/06/book-review-l-t-e-x-beginner-guide.html">reviewed this book</a> on this blog, and here's <a href="http://latex-community.org/forum/viewtopic.php?f=37&t=25603">further information about the event</a>.<br />
<br />
<a href="https://d1ldz4te4covpm.cloudfront.net/sites/default/files/imagecache/ppv4_main_book_cover/9867_Latex%20cov.jpg" imageanchor="1" ><img border="0" src="https://d1ldz4te4covpm.cloudfront.net/sites/default/files/imagecache/ppv4_main_book_cover/9867_Latex%20cov.jpg" /></a><br />
<br />
This is a great book if you prefer a step-by-step tutorial approach to learning LaTeX. So if you're interested, go ahead and <a href="http://latex-community.org/">download it now</a>!Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-88915514132808914592015-02-27T15:48:00.001+08:002015-02-27T15:48:48.182+08:00LaTeX Class and Template for IIUM ThesisMoaaz Elhag Ali (email address in the .cls file) has created a LaTeX thesis class and template for the <a href="http://www.iium.edu.my/">International Islamic University Malaysia (IIUM)</a>, by modifying the UMalayaThesis class files. He has requested that I host the files here so that it may benefit IIUM students. <a href="http://liantze.penguinattack.org/latextypesetting.html#iiumthesis">iiumthesis.cls and template files can be downloaded here.</a>Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-1002965059450812372015-01-29T23:46:00.000+08:002015-01-29T23:46:18.515+08:00UnimasThesis — LaTeX document class for Universiti Malaysia Sarawak ThesesI’m happy to announce <a href="http://liantze.penguinattack.org/latextypesetting.html#UnimasThesis">UnimasThesis</a>, a <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> class for authoring <a href="http://www.unimas.my/">Universiti Malaysia Sarawak theses</a>. <br />
<br />
<div><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgENUTRBVUtKRSI_LGz9KN8JMWB_9bbtt237s4Ee-Eb4wu64SdJI3kXJmATfPJy1wn7nte0O8u2BgmiWL6bfGnKzfgpehvZm2OCoE3aves_Om565hY35NiA6WCebEnlKLxfBKUZx1x7YyL4/s320/UnimasThesis-cover.png" style="border: solid 1px;" /></div><br />
It’s also available on <a href="https://bitbucket.org/liantze/unimasthesis">Bitbucket</a>, as well as on <a href="https://www.overleaf.com/latex/templates/universiti-malaysia-sarawak-thesis-template/ssnjvnzzpgxf">Overleaf</a>.<br />
<br />
(BTW — Kuching is a beautiful city!)Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-16461247122352072492014-12-29T14:30:00.001+08:002016-02-20T16:18:30.990+08:00Malaysian University Thesis Templates on Overleaf There, I’ve gone and published my thesis document classes and templates on <a href="http://www.overleaf.com/">Overleaf</a> <a href="https://www.overleaf.com/blog/190-writelatex-is-continued-overleaf">(previously writeLaTeX)</a>. <br />
<br />
<ul><li><a href="https://www.overleaf.com/latex/templates/universiti-sains-malaysia-thesis-template/vqkthbpcqmsw">Universiti Sains Malaysia thesis template</a></li>
<li><a href="https://www.overleaf.com/latex/templates/universiti-malaya-thesis-template/kbdmvkbnjchb">Universiti Malaya thesis template</a></li>
<li><a href="https://www.overleaf.com/latex/templates/multimedia-university-thesis-template/tjnqkdxhbpwd">Multimedia University thesis template</a></li>
<li><a href="https://www.overleaf.com/latex/templates/universiti-utara-malaysia-thesis-template/mmbxstxyxfkk">Universiti Utara Malaysia thesis template</a></li>
<li><a href="https://www.overleaf.com/latex/templates/universiti-kebangsaan-malaysia-thesis-template-english/sphnmtsmmngt#.VKDyxsAAI">University Kebangsaan Malaysia thesis template (English)</a></li>
<li><a href="https://www.overleaf.com/latex/templates/templat-tesis-universiti-kebangsaan-malaysia-bahasa-malaysia/bbdgkjjpxskw">University Kebangsaan Malaysia thesis template (Malay)</a></li>
</ul><br />
At some point I’ll probably get round to uploading the university-themed beamer templates, too. :-)<br />
<br />
(A little more information about Overleaf after the divider and disclaimer)<br />
<br />
<hr/><br />
<em>(Disclaimer: I provide <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span>-related community support for Overleaf — so you probably won’t want to just take my word for the following; go try it out yourself! :-)</em><br />
<br />
Overleaf provides an online collaborative environment for authoring and publishing research using <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span>. One nice thing about Overleaf is the <a href="https://www.overleaf.com/blog/81-having-a-hard-time-convincing-your-coauthors-to-learn-latex-with-our-rich-text-mode-you-no-longer-need-to-dot-dot-dot">rich text mode</a> — which hides most <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> stuff from collaborators who are not familiar with it. <br />
<br />
<img src="https://www.overleaf.com/assets/benefits/rich-text-edited-2eedac57b46175db4d7b0022b62a6ae3.gif" /><br />
<br />
Another nice thing is the <a href="https://www.overleaf.com/blog/176-rich-commenting-is-here-manage-your-feedback-and-review-on-writelatex-number-backtoschool">commenting facility</a>. <br />
<br />
<img src="https://www.filepicker.io/api/file/DM40KnzSlevprqR7Kl36" width="100%" /><br />
<br />
So if you’d like to use <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> to write your thesis but your supervisor balks at it, try introducing them to Overleaf’s rich text mode and commenting feature. They just might be convinced! Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-28592771289572540192014-11-26T23:38:00.000+08:002014-11-26T23:38:51.211+08:00umalayathesis UpdatedThe <tt>umalayathesis</tt> document class (for Universiti Malaya theses) has been updated — you can now include a Malay abstract in addition to the English abstract. Download <a href="http://liantze.penguinattack.org/download_umalayathesis.html">here</a>, or get it from <a href="https://bitbucket.org/liantze/umalayathesis">bitbucket</a>. Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-85914099869309302882014-09-26T09:15:00.002+08:002014-09-26T09:15:22.968+08:00My slides source codes for MOSC 2014 talksI presented something on Android Kernel/ROM at the Malaysian Open Source Conference (MOSC) 2014. I did my presentation with beamer. Here are the slides and the source codes at Github<br />
<br />
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="470px" marginheight="0" marginwidth="0" mozallowfullscreen="" scrolling="no" src="http://www.slideshare.net/mnajem/slideshelf" style="border: none;" webkitallowfullscreen="" width="615px"></iframe>
<br />
<br />
Source at github, <a href="https://github.com/raden/mosc2014" target="_blank">here</a><br />
<br />0xffhttp://www.blogger.com/profile/11282323362186270236noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-56554614408989232152014-09-18T22:22:00.001+08:002014-09-18T22:25:16.257+08:00IguanaTeX — a free, open-source LaTeX plugin for PowerPoint(Reblogged from <a href="https://plus.google.com/u/0/+JonathanLeRoux/posts/9DZhr5yfumU">Jonathan Le Roux's G+ page</a>)<br />
<blockquote>Hi! If you are using PowerPoint on Windows and are looking for a convenient way to insert LaTeX equations, I'd like to suggest trying out IguanaTex, which I am now in charge of developing:<br />
<p><a href="http://www.jonathanleroux.org/software/iguanatex/">http://www.jonathanleroux.org/software/iguanatex/</a> <br />
It's a good and free alternative to the now apparently abandonned TexPoint.<br />
<p>The LaTeX displays created with IguanaTex support formatting (rotation, resizing, color fills, etc), animations, as well as inclusion in groups (even hierarchical): they can be edited while retaining all these properties.<br />
<p>I hope you like it.<br />
<p>Jonathan<br />
</blockquote><br />
Give it a spin!Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com2tag:blogger.com,1999:blog-2884016216619384610.post-55298619184688076332014-06-04T10:41:00.000+08:002014-06-05T16:19:45.377+08:00LaTex & Thesis: FOUR good reasons.During my degree in 2002, most of my assignments and the final year project report is done in Microsoft Word 97, a WYSIWYG type word processor. For a person first time using a computer (for official reason, other than Daytona USA, minesweeper and the dial-up type internet surfing :)), this what-you-see-is-what-you-get word processor is actually impressive for me on the things it can do, BUT I notice something, some patterns,<br />
<ul>
<li>chances of my computer getting crashed is directly proportional to the importance of the document, for example - the chances of my computer getting crashed when I'm writing my report for the final year project is HIGHER compared to when I'm a writing a letter to ask permission for motorcycle sticker.</li>
<li>chances of my computer getting crashed is inversely proportional to the time left for my deadline, for example - the chances of my computer getting crashed when I'm writing my report for the final year project when the deadline is tomorrow is HIGHER than the deadline 1 week ago.</li>
</ul>
<div>
Well this theory is not proven, this is my 'syok sendiri teori'. I noticed one thing in common in the patterns above is the size of the documents. My computer actually crashed (this is in 2002, currently in 2014 - it does not crash but it will run in slow motion :)) because it cannot handle the size of my file getting into. A computer crash commonly occurs when a hardware exception occurs that cannot be handled.<br />
<br />
This waste my effort and time.</div>
<br />
FOUR good reason I found to start using LaTex for my thesis.<br />
<br />
ONE. Scalability - As I mentioned earlier - the size of your document. Word (or even Open Office) can get slower when editing large documents with equations and figures. In LaTex, I break my thesis into smaller chunks (like one chapter per file) and then let LaTex combine them altogether. This also lead to more organizable and manageable documents.<br />
<br />
<div>
<div>
An interesting graph from <a href="http://www.pinteric.com/miktex.html" target="_blank">Marko Pinteric</a> showing the relation between document size and effort / time required.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQgp2k2Bg8oHEJcsjj_zj5INl5WoKAPnEKAe_TFYLSjSeOkZz6JXjIWAcu_R8zfH_ocOufnC0Joj-9gsPUOysWHBCLvnG19RaktyHoV29bN1sQ2GghVjhBFZIfL0lsfIlS6VlGbYgA7dw/s1600/wordvslatex.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQgp2k2Bg8oHEJcsjj_zj5INl5WoKAPnEKAe_TFYLSjSeOkZz6JXjIWAcu_R8zfH_ocOufnC0Joj-9gsPUOysWHBCLvnG19RaktyHoV29bN1sQ2GghVjhBFZIfL0lsfIlS6VlGbYgA7dw/s1600/wordvslatex.gif" height="249" width="320" /></a></div>
<div style="text-align: justify;">
</div>
<br />
<br />
TWO. Support - Excellent support from the web community, one such example is the Malaysian LaTex User Group blog. I can 'google' any matter related to LaTex and come up with a solution.</div>
<div>
<br /></div>
<div>
Also local university thesis template is available in LaTex, thanks to good people that created and shared it for free. You can get it from here <a href="http://latex-my.blogspot.com/p/malaysian-university-thesis-templates.html" target="_blank">Malaysian University Thesis LaTex Template</a>.</div>
<div>
<br /></div>
<div>
THREE. Interoperability - LaTex is OS independent. An actual LaTex file is merely a text file, which is just about the most portable format in computing. So I found no problem writing my Chapter 1 in a Fedora system and then shared it with my supervisor in a Windows system.</div>
<div>
<br /></div>
<div>
FOUR. Quality - This is my personal belief and maybe few others, I feel that documents produced using LaTex looks better and more professional compared to Word, especially if it involved mathematical equations and algorithms. I will let you to try and decide upon by yourself.</div>
<div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
You should NOT use LaTex if,<br />
<ol>
<li>You don't have time to learn it. - You' re reaching a deadline, you better stick with what you know first.</li>
<li>Your document is already written - You had written your thesis in Word and need to submit in two days. Well my friend, I found no good reason to convert to LaTex and submit it.</li>
</ol>
<div>
Excellent write-up from external links.<br />
Just google 'advantage and disadvantage of LaTex', you can find so many sources available out there.</div>
<div>
<ul>
<li>http://nitens.org/taraborelli/latex</li>
<li>http://www.zinktypografie.nl/latex.php?lang=en</li>
<li>http://openwetware.org/wiki/Word_vs._LaTeX</li>
<li>and many more ...</li>
</ul>
<div>
As a conclusion, there is no winner whether its LaTex or Word (or other type of WYSIWYG editor). </div>
<div>
<br /></div>
<div>
If you need to write a short letter, you are best writing in Word. For simple documents, you can save time by writing in Word or Open Office.</div>
</div>
<div>
<br /></div>
<div>
If you are writing a long document like a Master or PhD thesis, I think it is better with LaTex. It will be slower at the beginning (the extra time required to learn LaTex), but at the end it will save a lot of your time and effort. </div>
<div>
<br /></div>
<div>
<br /></div>
<br /></div>
</div>
Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-2884016216619384610.post-90752682859552829062014-05-08T22:48:00.000+08:002014-05-08T22:48:32.118+08:00Blackboard, DarkConsole and Moreblue Beamer ThemesThese Beamer themes have been around quite a while, but I've just discovered them from some Japanese github sites.<br />
<br />
The <a href="https://github.com/kmaed/kmbeamer/archive/master.zip">Blackboard theme</a> may be useful for short talks with a little bit of fun:<br />
<br />
<div class="codesnippet">\documentclass{beamer}<br />
\usetheme{Blackboard}<br />
</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2Fhc5OikzTq7RLDXoNRkYGvF0sQR8KlQvsB4lfFjLmKBmvxtIa5ykjuKnFhjzREgh4JUlhUDUjL-GqyTLgoy_WUbz51_n_5-ZxCDNv5GMhaawvQiO7x8ZhwNagDeoDUseJEd4Fssvk0u5/s1600/Blackboard-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2Fhc5OikzTq7RLDXoNRkYGvF0sQR8KlQvsB4lfFjLmKBmvxtIa5ykjuKnFhjzREgh4JUlhUDUjL-GqyTLgoy_WUbz51_n_5-ZxCDNv5GMhaawvQiO7x8ZhwNagDeoDUseJEd4Fssvk0u5/s1600/Blackboard-1.png" height="300" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIbf30oA8j4icK3osNwTpHZgpJtQRLRg-IcYFQiXWUAZfcMDEBP9PYsf-U-tWuIOpQIp_ngB5vsxueccGs5v_55dBlR-I8b6TlN_wi1ip5pkZ2U9UUlxK1R0dUf6p7Ln4RgJSeADnEf1PO/s1600/Blackboard-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIbf30oA8j4icK3osNwTpHZgpJtQRLRg-IcYFQiXWUAZfcMDEBP9PYsf-U-tWuIOpQIp_ngB5vsxueccGs5v_55dBlR-I8b6TlN_wi1ip5pkZ2U9UUlxK1R0dUf6p7Ln4RgJSeADnEf1PO/s1600/Blackboard-2.png" height="300" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcfzjgjAAfOCCIuEjtiWP-a3IQ6Ui74soSYqTy_vOfF1Mm1UUuQZB8D-qBxilyniT5Cs6jmDK2x2iXjX8UzM75DeMrhEelTCC2zbNUHtY9Y2GKDmv1itpnpquEuof9WLsLuXnZsrt2OWWq/s1600/Blackboard-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcfzjgjAAfOCCIuEjtiWP-a3IQ6Ui74soSYqTy_vOfF1Mm1UUuQZB8D-qBxilyniT5Cs6jmDK2x2iXjX8UzM75DeMrhEelTCC2zbNUHtY9Y2GKDmv1itpnpquEuof9WLsLuXnZsrt2OWWq/s1600/Blackboard-3.png" height="300" width="400" /></a></div><br />
<br />
I’ve a feeling that this <a href="https://github.com/kmaed/kmbeamer/archive/master.zip">DarkConsole theme</a> would be popular with some developers.<br />
<br />
<div class="codesnippet">\documentclass{beamer}<br />
\usetheme{DarkConsole}<br />
</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivKBgmF1Rc6l-6hkv77FiI72fj_w7pktT5Bnggr3aV05DiG443vn_0uQ-yJiuvBWXaScUO4SkVMzSSANurfUtOFQ4XbTjekJfylYK6N1RPtmH4n3Cv1ZFYaNfTaQTMr5sBggHOkIxAbC9F/s1600/DarkConsole-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivKBgmF1Rc6l-6hkv77FiI72fj_w7pktT5Bnggr3aV05DiG443vn_0uQ-yJiuvBWXaScUO4SkVMzSSANurfUtOFQ4XbTjekJfylYK6N1RPtmH4n3Cv1ZFYaNfTaQTMr5sBggHOkIxAbC9F/s1600/DarkConsole-1.png" height="300" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvD_VQ6Y1n75h4uJxGsliEICICcNP_jg_9iIjNI57jh896VZWjYIu14ib45bOQiTu8KRSiGvSe6F-NcSu-qQVo6qVDL5bhyfTMcwnJe6fWD8oswdXTFia4PcIL32oPg9Kh_U-Cx9c6citi/s1600/DarkConsole-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvD_VQ6Y1n75h4uJxGsliEICICcNP_jg_9iIjNI57jh896VZWjYIu14ib45bOQiTu8KRSiGvSe6F-NcSu-qQVo6qVDL5bhyfTMcwnJe6fWD8oswdXTFia4PcIL32oPg9Kh_U-Cx9c6citi/s1600/DarkConsole-2.png" height="300" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4AJhq5CB1EkqpdjGnZ6RrK1xw07f0QWGjeraA7J1CIKZy7dcN7bvpY52VvAajZI1pA8DiAqf23Rgpm2MKptfmT8gP33bFqAlfJapdMFroZ1eHivuLYJFORcXLO3aNjtw5vrQYivC8jZwb/s1600/DarkConsole-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4AJhq5CB1EkqpdjGnZ6RrK1xw07f0QWGjeraA7J1CIKZy7dcN7bvpY52VvAajZI1pA8DiAqf23Rgpm2MKptfmT8gP33bFqAlfJapdMFroZ1eHivuLYJFORcXLO3aNjtw5vrQYivC8jZwb/s1600/DarkConsole-3.png" height="300" width="400" /></a></div><br />
<br />
And the <a href="https://github.com/hayamiz/beamerMoreBlue/archive/master.zip">Moreblue theme</a> has a nice, airy feel about it:<br />
<br />
<div class="codesnippet">\documentclass{beamer}<br />
\usetheme{MoreblueLight}<br />
</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIOvt4XYKvCH0HiXTHKCE05RXYk9qr-Y67kq6DutHhyphenhypheng4gPMdhgW7Nu5_XebDMXb3x8LuG61rKiEKAiO4uWeaAsYy3HflWxiSohiKR8mWYoMnuRhKTYr5PEi9I3f_6nbre2Er7JLAzQTt0/s1600/Moreblue-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIOvt4XYKvCH0HiXTHKCE05RXYk9qr-Y67kq6DutHhyphenhypheng4gPMdhgW7Nu5_XebDMXb3x8LuG61rKiEKAiO4uWeaAsYy3HflWxiSohiKR8mWYoMnuRhKTYr5PEi9I3f_6nbre2Er7JLAzQTt0/s1600/Moreblue-1.png" height="300" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggBdsMojmDMce5O21eOv6eezIfWJTRqG3NpnPJucI0Xa5olaA8SK0q9f59szLWkuIjkL1zIkIns5vUGF4LfXyckXlIwoCrTdBBd2GrDD6hQpqIY2B8mUyIU8drvlfiSm_Kb6JqeUDzEVu6/s1600/Moreblue-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggBdsMojmDMce5O21eOv6eezIfWJTRqG3NpnPJucI0Xa5olaA8SK0q9f59szLWkuIjkL1zIkIns5vUGF4LfXyckXlIwoCrTdBBd2GrDD6hQpqIY2B8mUyIU8drvlfiSm_Kb6JqeUDzEVu6/s1600/Moreblue-2.png" height="300" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHTgcVgzXR5nV0GPX5DBLBZsLAMI3fMVjOGw3_fHQJrNvSDBbdwNNKVnuYMv54hCdIvOOnTjrKuLrSv2eOGEuMwbyWI77Ov3BkrEgVbCC58Gr5GTTJC5JlEJoLWXk1KSlW0eOjRUaqars5/s1600/Moreblue-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHTgcVgzXR5nV0GPX5DBLBZsLAMI3fMVjOGw3_fHQJrNvSDBbdwNNKVnuYMv54hCdIvOOnTjrKuLrSv2eOGEuMwbyWI77Ov3BkrEgVbCC58Gr5GTTJC5JlEJoLWXk1KSlW0eOjRUaqars5/s1600/Moreblue-3.png" height="300" width="400" /></a></div><br />
Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-21178556712325180052014-04-21T23:14:00.001+08:002014-04-21T23:14:31.624+08:00TED talk from the man who created Verdana and Georgia Font<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/xjxyEwjG2Es?feature=player_embedded' frameborder='0'></iframe></div>
<br />
An interesting talks regarding fonts0xffhttp://www.blogger.com/profile/11282323362186270236noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-43523704479570210202014-04-02T15:50:00.003+08:002014-04-03T21:54:33.227+08:00Ampang beamer theme mentioned in an article.Turns out my hacked beamer theme was mentioned in an article <a href="http://www.latexstudio.net/steve-jobs-presentation-keynote-beamer-topics/" target="_blank">here</a>.<br />
Since I do not understand Chinese language, I just understand what it said via Google translator.0xffhttp://www.blogger.com/profile/11282323362186270236noreply@blogger.com1tag:blogger.com,1999:blog-2884016216619384610.post-29450731691755061332014-03-31T16:40:00.001+08:002014-03-31T16:40:48.437+08:00PGFPlots.net<a href="http://texample.net/">TeXample.net</a> has been a great gallery and resource of TikZ examples, curated by Stefan Kottwitz. Graph plots were included on TeXample.net, but as the <tt>pgfplots</tt> packages became more flexible and feature-rich, Stefan has decided to dedicate a separate gallery to it — and thus was <a href="http://pgfplots.net/">PGFPlots.net</a> born!<br />
<br />
The <a href="http://pgfplots.net/tikz/examples/all/">graph plot examples</a> are already looking delicious, so head on over and take a look. Do share your own examples as well!Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com0tag:blogger.com,1999:blog-2884016216619384610.post-15917576256156334982014-03-19T22:00:00.000+08:002014-03-20T00:06:51.254+08:00Authoring Examination Papers using LaTeX (and a GUI front-end for
non-coders)Part of my current job involves preparing examination papers, which is supposed to follow certain formatting guidelines. During my first time doing it, I used the sample Word document file everyone else is using. Suffice to say that once was enough. ( ̄▽ ̄)<br>
<br>
So I wrote my own <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> document class based on <tt>exam.cls</tt> for authoring our examination papers. I held a basic <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> workshop for my colleagues, and one of them was game enough to dive right into it and started using my document class for setting her exam papers too (and loved it). <br>
<br>
Other colleagues enquired about the possibility of having a GUI front-end, so that they wouldn’t have to deal with the code at all. The idea was turned into an undergraduate final year project. My student built a examination paper preparation system which saves the questions as XML, transforms them using XSLT into a <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> file, an then generates PDF file by invoking <tt>pdflatex</tt> on it. You can <a href="http://sdiwc.net/digital-library/an-examination-question-paper-preparation-system-with-contentstyle-separation-and-blooms-taxonomy-categorisation.html">read more about the project in this paper</a>.<br>
<br>
Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com3tag:blogger.com,1999:blog-2884016216619384610.post-849491857705325742013-07-23T23:38:00.000+08:002013-07-23T23:42:14.270+08:00A Light Colour Theme for Beamer Poster(Yes it’s been a while. I’ve started working and adapting to the new pace!)<br />
<br />
So quite a (long) while ago, I posted my <a href="http://latex-my.blogspot.com/2011/03/creating-academic-posters-and-printing.html">sample beamer poster</a>, while preparing for a conference poster. Now I’ve got another poster to present, and the previous colour schemes just did not go well with the logos. Hence I started tinkering around with the colours, and finally settled on this light, subtle palette:<br />
<br />
<a href="http://www.colourlovers.com/palette/59867/Blown_Entrepreneur" target="_blank"><img src="http://www.colourlovers.com/images/badges/p/59/59867_Blown_Entrepreneur.png" style="width: 240px; height: 120px; border: 0 none;" alt="Blown_Entrepreneur" /></a><br />
<span style="font-size: 10px; color: #5e5e5e;"><a href="http://www.colourlovers.com/color" target="_blank" style="font-size: 10px; color: #5e5e5e;">Color</a> by <a href="http://www.colourlovers.com/" target="_blank" style="font-size: 10px; color: #5e5e5e;">COLOURlovers</a></span>.<br />
<br />
The sample poster looks like these (shown together with the existing two other colour themes):<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir5wd3ENhz6T47OuJFKHHz-F8WuQFrWCmGO7NvvYtxmkGIuHwlBienQKz3wYuBz1qfehWC4qJQhtsK_olXtPD6mmbONd1vAM0dJBakHtEkvbkKQpKQl1h9RdR0pqEmgGjRiMCRt5UXtJoI/s1600/sampleposter-col1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir5wd3ENhz6T47OuJFKHHz-F8WuQFrWCmGO7NvvYtxmkGIuHwlBienQKz3wYuBz1qfehWC4qJQhtsK_olXtPD6mmbONd1vAM0dJBakHtEkvbkKQpKQl1h9RdR0pqEmgGjRiMCRt5UXtJoI/s320/sampleposter-col1.png" width="150" /></a> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg9qbcMMmGg19jtlV3hdKAIaZQ-RGrHlujFwFpeKakAhHI8mbRWowkV_Sf8eByX5DBHc5SfsdPg3MTzXYhtt4oRd-HulRT2aBLKo-tvOrelHHxiZ5tkCFrRgAuRa_0EBUxNTE4yPujX5GW/s1600/sampleposter-col2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg9qbcMMmGg19jtlV3hdKAIaZQ-RGrHlujFwFpeKakAhHI8mbRWowkV_Sf8eByX5DBHc5SfsdPg3MTzXYhtt4oRd-HulRT2aBLKo-tvOrelHHxiZ5tkCFrRgAuRa_0EBUxNTE4yPujX5GW/s320/sampleposter-col2.png" width="150" /></a> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO8uff9nQgZi5FhaSxNfRCMFkvZCm_k2-xKlZBFgPJ2ppNs8Ls8uldaZHZKHeeRSVeTjf09w_iVpy5fBMBATGFrDe7p2EQ05IXq351Xwx6Fx_Ks_qeTUtLGe8DJ-zSpORPTZA_kg6Qhl-y/s1600/sampleposter-col3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO8uff9nQgZi5FhaSxNfRCMFkvZCm_k2-xKlZBFgPJ2ppNs8Ls8uldaZHZKHeeRSVeTjf09w_iVpy5fBMBATGFrDe7p2EQ05IXq351Xwx6Fx_Ks_qeTUtLGe8DJ-zSpORPTZA_kg6Qhl-y/s1600/sampleposter-col3.png" width="210"/></a></div><br />
And here’s a thumbnail of the actual poster:<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIzdvtD9ACtbfFBP-Z4xCkbhf7jPbOhdTMWQy4qdvKnc0N08Req275t-NICxQeLUV5XHh7nKVsnqQOzjMB6gGAyoncKqOHZZjzBk68sUn7BYJ312C_pMi19qGF-jzRm_geT7zOgPiJIC2h/s1600/acl-poster-a0.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIzdvtD9ACtbfFBP-Z4xCkbhf7jPbOhdTMWQy4qdvKnc0N08Req275t-NICxQeLUV5XHh7nKVsnqQOzjMB6gGAyoncKqOHZZjzBk68sUn7BYJ312C_pMi19qGF-jzRm_geT7zOgPiJIC2h/s1600/acl-poster-a0.png" /></a></div><br />
Source code of the sample files (including Beamer themes and colours) can be downloaded <a href="http://liantze.penguinattack.org/files/examples/beamerposter-LLT.zip"><em>here</em></a>.<br />
Anonymoushttp://www.blogger.com/profile/06425095272099633523noreply@blogger.com10tag:blogger.com,1999:blog-2884016216619384610.post-89899898609047576902013-04-25T09:22:00.002+08:002013-08-02T01:07:05.355+08:00Drawing Periodic Table with TikzI got this <a href="https://www.writelatex.com/156426kzzjjl" target="_blank">link</a> from WriteLaTeX FB this morning..<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVOTSVPzUXSVcGlXdqVd9Ur5M0dNS-lRY9GAZZWewjj4Dsfr9Z0iNSfhR_JHmvjjsKhPFKeTiwwIukqF62ZibRLIfTOhri6RvrMS9sNPDen42xqdtV6OoenqaevWfcxUkLTluwMVQiZFiq/s1600/3a795d6bce30e4d7c94d4fcb25549cf104b50221.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="353" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVOTSVPzUXSVcGlXdqVd9Ur5M0dNS-lRY9GAZZWewjj4Dsfr9Z0iNSfhR_JHmvjjsKhPFKeTiwwIukqF62ZibRLIfTOhri6RvrMS9sNPDen42xqdtV6OoenqaevWfcxUkLTluwMVQiZFiq/s640/3a795d6bce30e4d7c94d4fcb25549cf104b50221.jpeg" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
Nice ha?0xffhttp://www.blogger.com/profile/11282323362186270236noreply@blogger.com2