latex

Setting up LaTeX on Spacemacs

Permalink 2 minute read Modified: (rhnvrm)

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

Permalink 1 minute read Modified: (rhnvrm)

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 http://ctan.imsc.res.in/macros/latex209/contrib/picins/picins.sty http://mirrors.ctan.org/macros/latex209/contrib/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.