Showing posts with label lines. Show all posts
Showing posts with label lines. Show all posts

Wednesday, July 16, 2014

Gnuplot pdf terminal dashed lines

To set pdf terminal in Gnuplot, check if the output of command "print GPVAL_TERMINALS" contains "pdfcairo" listed. If yes, then you can set the terminal output as PDF using the command

set terminal pdf
set output 'out.pdf'

To enables dashed lines when using PDF terminal in gnuplot, as pointed out in reference [1], set the terminal using the command below

set terminal pdf monochrome dashed
set output 'out.pdf'

References:
1. http://theletterpsi.blogspot.com/2010/11/setting-dashed-line-style-on-pdf.html
2. http://stackoverflow.com/questions/14004797/gnuplot-pdf-output

Wednesday, November 13, 2013

Latex hyperref, url packages: Break URL

When using both hyperref and url packages, and you get a package conflict, make sure the url package is listed before the hyperref package.

Also, if you need to break the URL into multiple lines, then you need to use the hyphens option in the url package. So your latex configuration should look like:

\usepackage[hyphens]{url}
\usepackage{hyperref}  

Reference:
1. http://stackoverflow.com/questions/2625714/linebreak-in-url-with-bibtex-and-hyperref-package