# Tag Info

15

The Solution Simply use \includegraphics command from the graphicx package to include your image. This is nothing different from putting an image at any other location, including inside a figure environment. You use the figure environment only when your image is a float (which is true is most of the cases, though). In a footnote, as desired by you, it is ...

7

(Importantly, this does not work with XeTeX. I mostly tested using pdfTeX, but things also seem to work in LuaTeX.) In a pdf file, colors of an included image can be affected by a /Decode array. This is accessed via the decodearray keyword of \includegraphics. However: this fails in some cases when the color model is cmyk; and this does not allow to ...

7

Here is an example (probably inefficient, but working great !), with Tikz : \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \def \dx{2}; \def \dy{3}; \def \dz{2}; \def \nbx{4}; \def \nby{4}; \def \nbz{4}; \foreach \x in {1,...,\nbx} { \foreach \y in {1,...,\nby} { \foreach \z in {1,...,\nbz} { ...

5

LaTeX has no preference between EPS or PNG (it doesn't understand either). Also a dvi file always works the way you suggest the dvi file just references the external image by name, it need not exist at the time latex is run, it just needs to be there when the dvi driver is used. You do need to tell LaTeX how big the image is, as explained in the manuals for ...

5

The way to put something at a fixed location is to put it in the page head: \documentclass[a4paper]{article} \usepackage[a4paper]{geometry} \usepackage{color} \makeatletter \def\@oddhead{% \setlength\unitlength{1cm}% \linethickness{.5cm}% \kern-1in \kern-\oddsidemargin\begin{picture}(0,0) {\color{red}\put(0,4){\line(0,-1){4}}}% ...

5

Changing the pagination parameters is not the best thing to do. Here's a working version: \documentclass[a4paper]{scrreprt} \usepackage{graphicx,picture} \newcommand{\includegraphicsfullpage}[1]{% \newpage \bgroup \thispagestyle{empty}% \parindent=0pt \begin{picture}(0,0) \put(% ...

4

I think the answer for your first question is `No.' The reason for that is the standard output link of plain TeX goes: TeX → Dvi → PS For this historical reason, the dvi format only supports postscript specials, and inclusion of postscript graphic. So, the problem boils down to: How to convert PDF to EPS?

4

Using @Tomas 's code, and adding in the arrows as per a comment, I ended up with this: Code: (All credits to Thomas for the base!) \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \tikzset{>=latex} \def \dx{3}; \def \dy{3}; \def \dz{3}; \def \nbx{4}; \def \nby{4}; \def \nbz{4}; \foreach \x in {1,...,\nbx} { ...

3

I would rather convert the Postscript file to PDF, so you don't lose vector information. Use a bitmap format such as PNG only if there's no other choice. You can improve the result of the bitmap file by running convert with a high -density parameter, and also by using a high -quality: convert -quality 90 -density 600 ps:example.1 png:example.png This ...

3

It works if you make it a bit easier for the filename parser (I wasn't planning on making this work back then:-) by moving the shell command before the graphics inclusion: \documentclass{article} \usepackage{graphicx} \makeatletter \long\def\eatspace#1 {#1} \def\foo#1{\edef\result{\expandafter\eatspace\@@input|"#1;echo \string\\noexpand"}} \makeatletter ...

2

I looked at stackengine and found it too cumbersome. I figured one could use Tikz to place the pictures anywhere easily, using either absolute or relative coordinates. Using pdfscreen gives you complete control over the paper size, background color or image. Note: replace rabbit.jpg with your own images. \documentclass{article} ...

1

Following the pdf2ps -> ps2pdf advice from a previous answer, this is how I solved the issue. I browsed to the folder where my pdf images are located, used find to get all filenames, performed both transformations and deleted the temporary ps file. In short: for f in $(find . -type f -name "*.pdf"); do echo$f; pdf2ps $f${f%.*}.ps; ps2pdf \${f%.*}.ps ...

Only top voted, non community-wiki answers of a minimum length are eligible