{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)

1
vote
0answers
14 views

When I include graphics , I get a very bad quality due to scaling?

When I use scale=0.3 I get a low quality images, Is this normal ? is there a way to avoid that ? \documentclass[11pt,a4paper]{beamer} \usepackage{graphicx} \begin{frame} \frametitle{A m a title} ...
1
vote
0answers
27 views

Crop images - OK for png - NOT OK for jpg

In my .tex file I use heavily images that are usually cropped. They way I do this is like the following example: \includegraphics[trim=52mm 20mm 30mm 10mm, clip=true, height=0.7 \textwidth]{img.png} ...
2
votes
1answer
14 views

Pgfplots: Scope inside axis environment or other relative positioning

I want to place an external figure inside a pgfplots plot. Additionally, I want to put some labels inside the external figure to mark the position. The expected result should look something like ...
50
votes
5answers
2k views

I need a TeX-donkey

In my town there will be next weekend an exhibition with 7000 donkey images. It is related to a sculpture group with 7 donkeys called "donkey's way" which will be installed in the summer. I would ...
1
vote
2answers
34 views

Is it possible to scale the entire title page?

I am creating a booklet which has now a rather fancy title page with various fonts, font sizes, horizontal and vertical spacings, images embedded etc. It looks nice, but somehow the margins (let me ...
2
votes
1answer
37 views

LaTeX won't let me put two background figures

I'm writing a book in LaTeX. I want to put a page-filling .png figure behind every 'Part_X' frontpage and every 'Chapter_X' frontpage. The page-filling .png picture is different for every Part and ...
2
votes
1answer
72 views

Createspace package prints transparent layers in pngs as black

This problem is almost identical to this problem, but my issue is limited to the createspace package. The problem is reproducible with this code, run with pdfTeX: \documentclass[11pt]{book} ...
2
votes
2answers
75 views

Problem with newlfm package

I am downloading an sample of a cover letter and I need to modify it. Here is the code : %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Long Lined Cover Letter % LaTeX Template % Version 1.0 (1/6/13) % ...
3
votes
0answers
13 views

Store and reproduce effective graphics scaling

When an image's length is scaled to a variable length, say \textwidth, how can I determine the effective scaling factor? \includegraphics[width=\textwidth]{image.pdf} I would like to use it to ...
3
votes
0answers
37 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 ...
7
votes
2answers
15k views

Picture on title page

I'm trying to add a picture to my title page but the image appears on its own page. Can anyone help with this? \documentclass[a4paper,12pt]{scrartcl} \title{Report} \author{blah} \date{\today} ...
0
votes
1answer
39 views

Invisible graphics with dynamic text in beamer

I want to use two different options for setbeamercovered{} in my presentation - dynamic for text and invisible for images. Is there any way to do this?
2
votes
1answer
71 views

Curved edges in flow diagram

I used TikZ package to create the flow chart as in the figure on the left (the code I used is below). I would like to add to the curved edges flow diagram and loops so that it was as in the right ...
0
votes
1answer
40 views

Sequence of arrows circling around

I imagine that the code for this is quite simple, so I hope this isn't too rude/bold of a request:
5
votes
2answers
74 views

PdfLatex call does not work with graphics package and eps figure

I noticed that pdflatex does not compile the following minimal working example with an eps figure when the additional options are used for the graphics in the \includegraphics part. Without the ...
6
votes
1answer
68 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 ...
1
vote
1answer
26 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
431 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
44 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
20 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
78 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
35 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
122 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
44 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
167 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
23 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
37 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
66 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
41 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
223 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
39 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
40 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
118 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
58 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
43 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
329 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 ...