Tag Info

New answers tagged

3

The syntax with key value options: \includegraphics[width=0.6\linewidth]{fig_for_body/fig1_1.png} is added by package graphicx, therefore the package needs to be loaded: \usepackage{graphicx} Then it depends on the driver, which graphics types are supported. PNG is supporte by pdfTeX, thus it works with pdflatex. In case of dvips, you can convert the ...


1

To build on David Carlisle's comment, there's a judgement call to make for plots with PNG (raster) vs PDF (vector). If you have a scatter plot with thousands of data points for example, there comes a point where vector graphics can make the resulting PDF document (alone or compiled into a LaTeX-produced document) large, slow and unresponsive. In such cases I ...


0

To convert an image to eps, you can use convert, which you probably already have. Just do convert foo.png foo.eps.


5

Use pdftex and the graphicx package from LaTeX with eplain \input eplain \beginpackages \usepackage{graphicx} \endpackages Load your graphics with \includegraphics{yourpng}, and typeset your document with pdftex (not pdflatex). If you find loading eplain too bloated, you may try graphics.tex, bundled in the graphics-pln bundle. \input graphicx ...


3

This is what I call a hack; the standalone class should have a key for passing other options to convert. \documentclass[ convert={ density=300 -alpha deactivate, size=1080x800, outext=.png }, ]{standalone} \begin{document} \begin{tabular}{rrrrrrr} \hline Device & 2011 & 2012 & 2013 & 2014 & 2015 & 2016 \\ ...



Top 50 recent answers are included