Recent Posts

LaTeX with Overleaf

on 2017-01-05

LaTeX has been around for 30+ years (first release was in 1985) and is still the champion of typesetting, especially scientific typesetting. The language itself is fixed but the framework has undergone many expansion by third-party packages. So when people talk about LaTeX they usually mean the whole framework with all the packages without which you can’t even compile the most basic papers. This is a burden especially for academic novice like myself one year ago. Lucky me I’m a computer geek so learning how to install, upgrade and use LaTeX was a matter of a few hours Googling. But even within academics, sharing a LaTeX document remains a pain in the arse.

Overleaf is an online compiler that solves all those problems. When combined with Mendeley and Git they form a “dream team” that can significcantly improve your productivity. This article will show you how to set them up and and work with them in the most effective way. ... Continue reading→

Vector logos of New Zealand's universities

on 2016-12-28

Most universities won’t make their logos available in scalable, vectorised version, for unspecified reasons (some universities do, so obviously security/forgery is not the concern). Uni such as Victoria or Cantebury supply their logo in rasterised form with different sizes, colours and the contexts where they should be used. Massey Uni for one, does not. Students and staff have to take a screenshot of the uni’s website and do manual cut paste. Regardless, rasterised logos make a document look much less professional & appealing because of pixelation and inconsistency with the overall design. Luckily, I was able to get my hands on the vector logos of all NZ universities. I share them here along with the technique that allows you to do the same to almost any large institution you want. ... Continue reading→

From Mendeley to LaTeX: a seamless integration

on 2016-12-10

Mendeley is the only reference manager, as I know, capable of updating a bib file on the fly. That is: as soon as you import a new reference or make a change to an existing reference, it will export the updated version of the library to the library.bib file in a predefined folder. This is especially nice if you’re writing a paper and constantly searching for new literature. If you’re only bothering with writing one paper, then this might be enough. When you write the second paper, simply instruct Mendeley to write to a different file. However, if you’re writing two or more scientific documents using the same set of references, then you will need something smarter. What’s more problematic is that Mendeley dumps everything inside the references, including location of the PDF and any notes you make. This might cause LaTeX to fail to compile. ... Continue reading→

High quality graphics for your Latex document: The Matlab route

on 2016-12-08

You use LaTeX instead of a WYSIWYG word processing program because they can’t cope with the high quality required for publication. But your nice professional looking documents can be ruined because you insert the wrong type of figures. Bitmap figures are easily pixelated because the actual size is not always known beforehand. Exporting figures as PDF to be included sounds like a good idea but you’ll quickly notice the problem with the text (e.g. axis label and ticks,…) which needs to be rendered by Latex to get the correct font and size. Hard-core Tex users can find the answer to this problem in Tikz or Pgfplot. Of course figures generated at this level is as good as it gets. I use Tikz picture quite frequently for text-heavy diagrams and simple plots. However, if the figure is moderately complicated or if it’s bound to precise data, then generating figures this way quickly becomes unmanageable. ... Continue reading→

Recent Publication All

  • Yukio Fukuzawa et. al., Segmentation of Harmonic Syllables in Noisy Recordings of Bird Vocalisations, in IVCNZ, 2016 Abstract  pdf
  • Yukio Fukuzawa (2013). Traffic Sign Recognition system on Android devices (Unpublished bachelor thesis). Massey University, Auckland, New Zealand. Abstract  pdf
  • Yukio Fukuzawa (2013). q-State Potts model -Theory and simulation, Massey University, Auckland, New Zealand. Abstract  pdf

Short & Sweet All

  • chkdsk /r takes too long? Let it run, might take days but it’ll get there. And it’ll stuck at like 10% for 6 and a half days before suddenly jumps to 99%. Be patient. (2017/05/17)
  • 7zip won’t extract the file if CRC fails Use the command line (7z.exe) instead. To extract everything use 7z.exe x file.7z. To extract one file/folder within the archive: 7z.exe x file.7z "path/to/file1.txt" "path/to/file2.txt" (2017/05/17)

Resources All