{graphics} is about inclusion of external graphic files in your document. For questions about vector graphics created programmatically inside a (La)TeX document, use {diagrams} instead, or preferably the tag for specific packages like {tikz-pgf}, {pstricks}, or {metapost}.

learn more… | top users | synonyms (4)

0
votes
0answers
11 views

Synchronization between source code and PDF viewer fails for \include{.} (go to source / go to PDF)

In my LaTeX document I am using the following structure: I have a main tex-file from which chapters are included via include(.). Thus, each chapter has its own tex-file. For some time now, I ...
6
votes
1answer
44 views

Determine a particular font's spacing

I'm typsetting emojis in xetex and I found this great library called xelatexemoji (on github). But when I use different fonts, the spacing around the included graphic changes. As I've seen in various ...
0
votes
1answer
20 views

Figure numbering: fnum@subfigure and fnum@figure in pdf output

I just started working with Latex and I'm stuck with the following issue: instead of getting 'Figure 1 Caption' and 'Subfigure 1 Caption', I get 'fnum@figure Caption' and 'fnum@subfigure A Caption' ...
50
votes
4answers
27k views

How can I position an image in an arbitrary position in beamer?

I am making a presentation using beamer, and I want to be able to position a certain image the way I want in a frame. I am not sure how to do that. Is there some way you can specify coordinates in the ...
2
votes
1answer
407 views

Split subfigures over multiple pages

I have the following code for a Figure with 4 subfigures: \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{document} \begin{figure}[b] ...
0
votes
1answer
39 views

How to place an “Export as PDF + Latex from Inkscape”-image above a \includegraphics image (overlay) - Make centers match

When you save images as a PDF, checking the PDF + Latex option, one gets 3 files: filename.pdf filename.pdf_tex filename.svg If you'd like to include this exported image in a Tex document, this ...
2
votes
0answers
17 views

'Package pgf Error: No shape named is known' for nodes defined in matrix [on hold]

On my local system \graph is not able to recognize nodes defined \matrix \documentclass{article} % say \usepackage{tikz} \usetikzlibrary{calc,intersections,through,backgrounds} ...
26
votes
3answers
1k views

Polaroid photo effect in tikz

Is there any way to make a polaroid photo effect in TikZ? I am thinking of something like this A computer font as the caption might be better in fact but I couldn't find a suitable example online. ...
0
votes
1answer
80 views

Putting labels on a complete graph

Hi guys I have this picture and I want to make it better by putting names on the edge. For example I wanted to make the edge connecting 1 and 4 to say $\theta_1 \theta_4$ and so on for all the ...
0
votes
1answer
75 views

Image overlay generator - How to annotate sub-images in the center of each overlay box? (caption-diagram next to original image)

The LaTeX Overlay Generator is a great tool to annotate sub-images of an image in a LaTeX-caption way. It names itself "Visual Overlay Generator v0.0.1", as it creates a visual overlay: a diagram ...
40
votes
5answers
2k views

Amusing exercise - ouroboros file - Output of TeX includes itself recursively ad infinitum

Clarification: The question may be related to the the quine fun question, but IMHO it is quite distinct. The question here to write an "ouroboros" in TeX, i.e., a file that includes itself as a ...
0
votes
0answers
33 views

How to overlay (annotate) sub-images (rectangles; but not straight, maybe chopped off) an image

The LaTeX Overlay Generator is a great tool to annotate images which contain sub-images like this (where the sub-images are all rectangles and all "horizontal with the screen"): However, some ...
2
votes
3answers
121 views

figure is in subsection but it goes to subsection

I need your help in solving the followings: \documentclass[a4paper, 10pt, conference]{ieeeconf} ... \subsubsection{C} \begin{figure}[h] \begin{minipage}[t]{0.3\linewidth} \centering ...
1
vote
0answers
26 views

How to align two figure that are next to each other [duplicate]

Here is my latex code both picture has same resolution and size but i dont know why alignment is not right. \begin{figure}[H] \centering \begin{minipage}[b]{0.45\textwidth} ...
0
votes
0answers
42 views

Latex error. Unknown graphics extension: eps, file.eps not found

I am running the following code in texlive (latest version) in linux and got the error Unknown graphics extension: .eps. . I tried removing .eps extension but it gave me file.eps not found. my path is ...
12
votes
2answers
8k views

LaTeX in CorelDRAW

What is a good way to get LaTeX formulas into CorelDRAW figures? I will provide a solution below, based on a rather old macro adapted to work on 64 bit systems as well as 32 bit - it works well, but ...
3
votes
1answer
9k views

Undefined Control Sequence Error in PDFLatex with \includegraphics

I receive two errors when using \includegraphics command in pdflatex. I've never seen these particular errors discussed/answered before. I have the following MWE (this is all I have in the document ...
8
votes
2answers
166 views

How to run pdfcrop when using \includegraphics with a PDF?

This question is similar to that one, but I'd like to execute pdfcrop when including a PDF.
4
votes
1answer
83 views

How do i insert the image in the right place?

For a board game for my pupils I want to add an icon in some of the cards that shows that they are allowed to use their calculator for that specific card (=question). I used the package graphicx and ...
0
votes
0answers
22 views

How to put multi-subfigure on a single page with different main caption?

I have to add 8 figures on one page using subfigure command in such a way that first 4 figures should be placed with one caption and next 4 figures with other caption. Please guide me with sample of a ...
3
votes
3answers
28k views

latex two column layout set figure to load on single column

this is the double column code \begin{multicols}{2} \begin{figure*}[!ht] \centering \includegraphics[height=60mm]{CC.jpg} \caption{AA \cite{BB}} \end{figure*} \end{multicols} But the ...
1
vote
1answer
101 views

Magnified subfigure without tikz

I want to create a figure with a magnified subfigure. I know this can be done with tikz (link) however I want to do it without tikz. Can this be done? Example: My early attempt: ...
1
vote
1answer
36 views

printing pictures

I would like to know how to include a page in a latex (miktex 2.9) document that is either in the pdf or jpeg format. An answer was given that referred me to this code \usepackage{pdfpages} and ...
1
vote
1answer
64 views

\includegraphics scale option does not work [closed]

Good morning everyone, I have a quite simple problem that's driving me crazy. I just need to add an image in the end of an article, but it seems impossible I'm quite a newbie in LaTeX, and I'm ...
1
vote
0answers
39 views

Texmaker can't find the image

I'm writing my master thesis using texmaker as editor... I have a multi-file project with a main-file as master document and another file used as input. Here is my MWE: \documentclass{scrartcl} ...
5
votes
1answer
215 views

How can I fade out image?

In a Beamer animation example I use the following code: \documentclass{beamer} \begin{document} \newcount\opaqueness \begin{frame} \animate<2-100> ...
3
votes
2answers
42 views

Custom text in placeholder without filepath

How can I have images replaced with a placeholder, without the filepath appearing, but with a custom text (such as "Image removed for copyright reasons")? I have seen this answer (placeholder without ...
0
votes
1answer
38 views

Include picture in top right, in the background of the rest of the document

I'm trying to recreate my CV with Latex, but currently struggle to include a picture of me in to top right, as it is usual. I'm using this template and added \noindent \hfill ...
0
votes
1answer
38 views

Print 4 slides per page - automation

I need a script that uses includegraphics or similar to put pages 1-4 of input.pdf on page 1 on output.pdf If, then, the input.pdf has page 5-8 then I want to put that on page 2 in output.pdf. After ...
1
vote
1answer
116 views

The image in pdf overlap the text, and not come in its specified place, can any body help please?

The problem is that the image overlaps the text which is not required, all images look like they moved toward left and down side. I used the following code to insert images: \begin{figure}[!h] ...
1
vote
1answer
57 views

Chemistry: Experimental page with Chemfig, tikz, chemnum

I'm currently writing my Master Thesis in Organic chemistry. Since this is uncomfortable in word having many graphics and numbering I figured Latex would be best. Yesterday I discovered chemfig and ...
0
votes
1answer
53 views

How can I insert two figures in a row in a LaTex doc.?

I)I want to insert two plots done in maple to a LaTex doc.in a row. II) I want to insert a figure into a LaTex doc.with some text left hand of the fig. Please guide.
2
votes
1answer
40 views

White space with subfigures using a macro

EDIT The answer proposed by egreg doesn't work for me: When changing the outer sep to outer sep=-10pt, instead of shifting the images, just the labels get shifted and the white space persists. ...
3
votes
2answers
62 views

Need help with cropped pdf images

I cropped figures (*.pdf) from scientific PDF articles with the excellent Krop tool by Armin Straub: http://arminstraub.com/software/krop Everything worked fine until I needed to convert my final ...
2
votes
1answer
42 views

How can I center an image and also rescale it?

I have a document I am writing for my math class. I have this code here \begin{center} \begin{figure}[!htb] \includegraphics[width=0.5\linewidth]{14-1Ex2.png} \end{figure} ...
3
votes
1answer
328 views

Add photo to moderncv style banking with modifications

How to add a photo to moderncv style banking Follow up question from the above. How is the modification of the code create the photo only on the resume page but not to the letter page? And also with ...
0
votes
1answer
29 views

Problem with formatting Text in Table

Here is my code. Every time I include an image into my table the text in the same row skip lines and start from the bottom, to align itself [the text] with the image. Can you please advise me on how ...
3
votes
1answer
72 views

PDF or PDF/A to Latex

I have made a sketch in Visio. I plan to save it to .pdf for use with pdflatex. I have the option of saving as PDF/A-1 (a or b not specified). Would I want to make a habit of saving these images as ...
1
vote
1answer
59 views

Wrapfig: No image after section

I am trying to figure out why I am getting no image and no error message in the log when using wrapfigure environment right after a sectioning command. The only way how I was able to force wrapfigure ...
45
votes
6answers
11k views

Which figure type to use: pdf or eps?

Both are vector graphics (typically) and both can be imported painlessly into a pdflatex document (so let's say we ignore dvi for this question). What are the advantages and disadvantages of each? ...
1
vote
0answers
34 views

Package hyperref causes a blank page to be added before a section starting with a large image

When I try to have a section start with a large image, an extra page is added before the start of the section. I tracked down the problem to the hyperref package; when it is not loaded the extra page ...
69
votes
1answer
40k views

pdflatex, \includegraphics, and multi-page PDF files

I have a PDF file with multiple figures; each figure is a separate page in the PDF file. I am using pdflatex, and I would like to use \includegraphics or equivalent to include some of the figures. ...
2
votes
0answers
56 views

shadow in the picture

I try to put a drop shadow on a picture, so that it looks like it is sunk in the background. I only find ways to make a drop shadow on the background, so that it looks like the picture is on top of ...
1
vote
2answers
72 views

Is there a .png command like \includepdf[pages={x-y}]{Figures/Figure.pdf}

I'm making the cover for my master's thesis. I've used \includepdf[pages={x-y}]{Figures/Figure.pdf} to insert full-page PDFs, but my cover is a png. Is there any similar way to insert a full-page png? ...
1
vote
1answer
40 views

Characters missing from R-generated graphic when \pdfinclusioncopyfonts=0

I have a .pdf figure generated by R/ggplot2, which renders correctly when viewed as a standalone file, but when embedded in a document by pdftex, one character is missing. I've cut the problem down ...
2
votes
1answer
30 views

\includegraphics: Order of operations of width and trim

Does \includegraphics[width=X, trim= Yem 0em 0em 0em, clip]{image.pdf} trim then set width or the reverse? I believe it is the former; however, I would like to know if it is possible to choose the ...
0
votes
0answers
15 views

How to Hyperlink Image in Table to go to a WEBSITE? [duplicate]

I would like to know how to hyperlink an Image to go to a WEBSITE? Not how to go to another section.
3
votes
1answer
34 views

Adding a figure containg multiple figures inside \twocolumn optional argument

I read here that you cannot add a \begin{figure} inside of the optional argument for \twocolumn. I want to add a row that contains 3 images in a twocolumn document. \twocolumn[{ ...
1
vote
1answer
42 views

Including an odd sized PDF

I am trying to include an odd sized graph in between to pages as a graph however, the graph is automatically sized on an A4 page. My graph has a different background color, so ideally I would like to ...
3
votes
1answer
892 views

How could you make an image a hyperlink to a section in a LaTeX document?

I'm fairly new to latex and am currently working on a few articles as practice before I use it for more official documents. In my current document, I am attempting to make a table of icons (png ...