Setting up LaTeX on Spacemacs

20 Dec 2017 - 2 minute read
categories: notes tags: emacs foss latex linux spacemacs vim

I have been using Vim for text editing and even Vim mode even in Sublime Text. Although, I wanted to use Org mode so I switched to Spacemacs with Evil mode that gives the best of both worlds. I had been using TeXworks and TeXstudio for editing and building LaTeX documents but now that I have Emacs, I wanted to try out the pdf-tools layer and latex layers so that all my work can be done from inside Spacemacs itself.

Author Biography Alongside Pictures in Latex

09 Nov 2016 - 1 minute read
categories: notes tags: latex

Some journal publications require you to put author biography for each author with their pictures. For this I found the _picins _package. To install this package you can run the following commands sudo mkdir /usr/share/texmf/tex/latex/picins sudo wget -O /usr/share/texmf/tex/latex/picins/picins.sty sudo /usr/bin/texconfig rehash So, then you can use the following latex code for biography of an author: \parpic{\includegraphics[width=1in,clip,keepaspectratio]{figures/photo.eps}} \noindent {\bf Lorem Ipsum} dolor sit amet, consectetur adipiscing elit.