Posts

Showing posts with the label latex

Timeline on Latex

One of nicer looking timeline graphs for Latex is by using the chronology package This is the example: \usepackage{chronology} ... \begin{chronology}[5]{1983}{2010}{3ex}{\textwidth} \event{1984}{one} \event[1985]{1986}{two} \event{\decimaldate{25}{12}{2001}}{three} \end{chronology} source .

Installing new package in Latex

If you are using linux, the TeX Live is installed on: /usr/share/texmf-texlive/tex/latex To install a style file you have to create a directory for it and copy the contents there. Next you have to run the program mktexlsr as root.

Case sensitive stuff and figures in latex

I had some troubles to link the latex sources done in windows (case insensitive) to compile on linux (case sensitive). In order to fastly solve this problem, first, I run in shell (simply copy/paste in terminal) following code to make all figure files lowercase. This code works only for current directory. for f in *; do g=`expr "xxx$f" : 'xxx\(.*\)' | tr '[A-Z]' '[a-z]'` mv "$f" "$g" done However, I found a bit difficult part to rename all the figure links within latex to lowercase. At least not without coding. I didnt have time to check the possibility to edit the code above to so it could be used also within files, but when I come up to this issue again, I might reedit this post.

Embedded Font Problems with PDF files

Some of you may have encountered some problem of embedded fonts with PDF files. All fonts are embedded with the following command (Linux): ps2pdf14 -dPDFSETTINGS=/prepress -dEmbedAllFonts=true file.ps file.pdf This is done thanks to my colleague, Alex :)