convert -density 300 test.pdf test.jpg
Freitag, 24. Januar 2014
imagemagick convert pdf to jpg
To convert a pdf file in a image file, the best option is to use imagemagick, which means convert. The only option you have to define is the density, which can be defined as follows:
Donnerstag, 16. Januar 2014
pdftk extract pages of pdf-file
Extract PAGES from input.pdf into output.pdf via:
for more information use:
pdftk A=input.pdf cat A${PAGES} output output.pdf
for more information use:
man pdftk
latex mix colors with colorlet and xcolor
To mix colors you need to have the xcolor package loaded first via:
And then you can mix two colors with
which means you mix 80% blue with 20% black. If you do not have a second color you mix the first with: "white".
\usepackage{xcolor}
And then you can mix two colors with
\colorlet{DarkBlue}{blue!80!black}
Dienstag, 14. Januar 2014
latex tables with package booktabs
Latex tables
To use the latex booktabs package simply include:\usepackage{booktabs}in the header.
After this you can make a nice table via:
\begin{table}[h!] \begin{tabular}{ l l l} \toprule First & Second & Third \\ \midrule 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ 1 & 2 & 3 \\ \bottomrule \end{tabular} \end{table}
for further tips read the booktabs manual.
Abonnieren
Posts (Atom)