Posted on

Those precious links & tips during thesis time

I guess I haven’t ever felt comfortable with computers. I still prefer the old-fashioned vis-a-vis instead of webconferencing, drawing by hand instead of using Illustrator…But when writing my thesis, I have no choice but to dig up tricks.

As according to the university’s suggestion, I switched to using Texmaker from LEd (still learning LyX…). I find solace now in having 3 subwindows in Texmaker so that I can monitor the file structure, the code and the generated pdflatex at the same time!

I’m trying to produce quantum circuit diagrams in LaTeX using Ike Chuang’s qasm (pronounced like chasm) package. It’s known to me now that the package is written using TeX instead of LaTeX, so some of the commands are still nonsensical to me. i.e. \def in TeX instead of \newcommand in LaTeX is used to define a new macro (they can call this macro, too?!). There are still more to figure out, by trial and error, nonetheless, I can still plot reasonably good diagrams by manipulating the examples given.

I just started using Gimp, a GNU-licensed image editing freeware. But it started out having the problem of not able to connect to the GhostScript in my computer. I have to set up an “environment variable” to help it find it! The whole solution is here.

Then comes the bibliography part, the funny thing about not using a Linux-based OS but Windows instead is that you don’t control the operation of the software line by line. So adding the .bib file to the pdflatex in the Windows OS running Texmaker, one needs to generate .bbl file first and then fit that into the pdflatex.

I haven’t really included an eps (Encapsulated PostScript)-formatted picture into a pdflatex file before (I remember I failed in trying that out…), but since those are informal reports, I can get by with jpg-turned-pdf files. However, this time, I have to do that and the only thing I missed previously is to call this package \usepackage{epstopdf}, as mentioned here!

It seems hard to label the transitions with circled numerics (instead of calling’em circled numbers, this is the difference between searching with keywords and only the approximate!), until I found this awesome set of solutions from the ever-so-trustworthy StackExchange site. So finally, I decide to go with the igo package. There seems to be a little problem with the syntax, it should be \whitestone[num].

No solution for the wrapfig package for MikTeX yet. My Texmaker (and also the old LEd) cannot install it directly from uwaterloo csclub’s server. And it turns out that when I search for the compatible packages from Hefferon’s site, it only supports TeXLive now!? Then what about the instructions from this LaTeX wikibook?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s