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

4
votes
1answer
173 views

Why is the picture not centered in the frame?

Using the following code: \documentclass[12pt]{beamer} \usepackage{ctex} \usepackage{graphicx} \begin{document} \begin{frame}{PSA分析级别和实施程序} \begin{figure}[htbp] \centering ...
4
votes
2answers
144 views

Image not showing up when using figure environment

I want to add an image to my paper but I have a problem. When I add the image with just \includegraphics[]{} tag, everything works fine, and the picture shows up when I compile my document. When I ...
3
votes
1answer
53 views

How do you add captions in tikz nodes?

How do I add a caption to a tikz picture? This is a snippet of my latex: \documentclass{article} \usepackage{graphicx} \usepackage{tikz} \usepackage[paperwidth=40cm,paperheight=16cm]{geometry} ...
1
vote
0answers
14 views

Package pdftex.def Error: File `images/p1-eps-converted-to.pdf' not found [duplicate]

I am using a Mac Machine with the following LaTeX Softwares: MacTEX: as the main LaTeX kernel TexStudio: as the LaTeX editor http://texstudio.sourceforge.net/ In part of the document I have ...
1
vote
0answers
58 views

problem to insert inkscape pdf into latex

I'm trying to insert the 1.pdf_tex which was generated by Inkscape into my article and I always get this error message: ! Package keyval Error: page undefined. See the keyval package ...
0
votes
1answer
41 views

why the path of figure shows out? [duplicate]

the package I use is {graphicx}. and the code is following: \includegraphics[width=6.5cm]{/Users/Joy/Desktop/my graph/SSE Ari&Geo.png} How can I delete the address of picture under the graph? ...
0
votes
0answers
111 views

Problem with font map file “kanjix.map”. and makeindex

So it seems that I have the same problem as this gentleman from this post: Couldn't open font map file "kanjix.map". with MiKTeX PLUS a problem with makeindex as this one: ...
2
votes
1answer
46 views

Missing characters in axis captions

I draw this picture with gnuplot. The x axis is the fixed sum of RGB and the y axis is accuracy. When I insert the picture by employing subfigure and \includegraphics some characters are missing. ...
1
vote
1answer
34 views

Picture Changes places

Below, is some code I'm using on a work. \documentclass[12pt,a4paper]{book} \usepackage{graphicx} \usepackage{bm} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{mathtools} ...
1
vote
0answers
30 views

scaling images in boxes [closed]

I wanted to use an image in a box and coded: \documentclass[11pt,a4paper]{article} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage{graphicx} \begin{document} \fbox{ ...
1
vote
1answer
86 views

How to set figures and tables captions in APA style (without using APA6 class)

As one can see in the given link, APA style requires a very special format for captions in figures and tables. How can I realize this in standard article format? (I do not want to use the APA6 class ...
2
votes
1answer
94 views

How can I remove white margins from a pdf file?

I create a diagram in Visio and save as a pdf file. There is a large space between the text and the figure, as shown the following: If I understand well, the problem can be boiled down: how to save ...
2
votes
2answers
52 views

insert a scaled picture on the right side of the page on an existing picture in latex

I am new user of latex. Can I insert a scaled image on the right side of the page?While, I have already full size image on the same page. There is no text on this page. Thanks in advance. ...
5
votes
1answer
53 views

Include original page images for side-by-side comparison + SyncTex

I'm reproducing a book from its archive.org PDF using latex. For QA purposes I'd like to have a side by side display of the original page and the latex-typeset page with the requirements that : ...
0
votes
0answers
19 views

Speed up raster graphics inclusion in `pdflatex` [duplicate]

I have a report that occasionally contains raster graphics, currently 2 png images and the compilation is quite slow. Watching CPU usage, it looks like it is CPU bounded rather than I/O bounded. Is ...
0
votes
0answers
19 views

Error while specifying page numbers while embedding postscript image in tex.

I am trying to embed a single page from a multi-page postscript file as follows \begin{figure} \centering %\includegraphics[height=4.75in, angle=270]{timing.one.ps} ...
3
votes
1answer
54 views

Images not aligning below text

I have some text and I want the images I have inserted to show up below it. However when I try to insert the image it appears to move to the next column, How do I have the image to be position ...
3
votes
0answers
43 views

Inserting images in report class document

I am writing a thesis report, and would like to insert images. A majority of the images that I am using are high resolution bitmap. I am using the following to insert the images ...
9
votes
1answer
255 views

\includegraphics takes the wrong image if no extension is specified

The following code incorrectly displays the image with the letter B in the header of the first page, even though I included the image with the letter A. \documentclass{article} ...
1
vote
0answers
38 views

How can I rotate some pages keeping the same header/footer sequence as the other pages? [duplicate]

Original text Estoy intentando rotar hojas específicas de cuadros o imágenes un poco anchas para lo cual algunas hojas deben estar rotadas para facilitar la lectura. Translation by Gonzalo Medina ...
2
votes
0answers
46 views

Replace latex equations in a PDF by rasterized graphics

Is it possible to generate a PDF file with pdflatex where the equations are replaced by rasterized images? This would make conversion to other word processors formats easier.
1
vote
1answer
35 views

How to align image top left in titlepage?

\begin{titlepage} \begin{center} \begin{flushleft} \begin{minipage}{1.3\linewidth} %\begin{flushleft} %%doesn't show any change, image still aligned to center of titlepage ...
1
vote
1answer
30 views

Unwanted space above pictures in table cells

I'm new to LaTeX and have a question about placing external graphics in table cells and align them correctly. Yes, I did read a similar posts but couldn't find the solution to my problem yet. Here is ...
0
votes
0answers
40 views

matlab2tikz image too big

I exported a graphic using the matlab2tikz function but it is too big. I need to fit it in a page, center the image and also rotate it 90 degrees (landscape to portrait). The last part I already ...
5
votes
1answer
53 views

Why does \renewcommand not overwrite \includegraphics from tikzscale?

I have the following tex code \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{tikz} \usepackage{tikzscale} \usepackage{filecontents} \usepackage{graphicx} ...
2
votes
1answer
60 views

How to set an image in a header that adjusts to the edges of the page?

I'm struggling to add an image to the headers of an A4 paper document. Additionnally, my document is twoside. That's the way I'd like it to look : Basically the logo with the name and the triangles ...
0
votes
2answers
48 views

Extracting Image from latex

I want to show chemical reactions on a website so i want to just get image from LaTeX code. I know how to add images to latex but don't know how to get image from LaTeX. Example I want to get images ...
1
vote
1answer
34 views

crop image in latex like word

I'm preparing figures for a paper. The following command gives me a figure like this: The question is I only need one colorbar. So the right colorbar should be delete. I've tried to delete the ...
1
vote
1answer
100 views

PNG or PDF (or EPS)

Is there a preferred format between PNG, PDF, or EPS for use with pdflatex, particularly in terms of compile speed? If I understand, pdflatex must convert each PNG/EPS file to a PDF file with each ...
4
votes
3answers
70 views

How is it changing macro in my MWE?

MWE \documentclass[a5paper,12pt]{article} \usepackage{graphicx} \begin{document} \begin{table}[h] \begin{tabular}{|c|c|} \rotatebox[origin=c]{90}{{OZGUR}} & \includegraphics[scale=.25]{o.jpg} ...
3
votes
2answers
36 views

How to keep graphics inline with enumerate?

Having trouble here with creating a list, answering a problem set. For example, the answer to item B) is a graph that I created on Stata. I would like it to start inline with the "B)". I'm using this ...
5
votes
1answer
85 views

Unwanted border around the image

I have taken a screenshot of a figure, cropped it and then inserted it into my document. Now, in the generated pdf file, an unwanted border is visible around the image as shown below. My code: ...
0
votes
0answers
40 views

importing PNG images

I am trying to import a PNG image and I am getting a NoBoundingBox error. I have probably seen this in 20 other questions none of which gives a clear answer. The answers are either complicated, non ...
1
vote
1answer
14 views

Images not printing with textattachfile

When include graphics is put inside textattachfile from the attachfile2 package the image does not appear in the print preview or actual printing when using acrobat reader. Is it possible to get it to ...
3
votes
1answer
84 views

How can I divide a figure in multiple pages?

I have a figure that is really high, it would fit well in 3 pages, but currently I have it stretched in one. It's only one PDF (converted from a PNG image) and I cannot find out how to divide it in ...
2
votes
1answer
136 views

Tikz Circle Divided into Quadrants

I'm trying to create a circle, divided into four quadrants by a dashed "cross", where the top slice is slightly smaller than the bottom slice. I want to label the four quadrants with labels a, b, c, ...
1
vote
1answer
48 views

`\includegraphics` side-by-side and filling text-width

Instead of the figure environment I am trying to use the \includegraphics command to add pictures to an appendix. \begin{center} \includegraphics[scale=\linewidth]{../pics/results_t/props_T_i_a} ...
2
votes
1answer
41 views

Multiple image and subfigure in my document

I have a problem. I want to insert multiple image like this picture. But i can't do it Please help me \documentclass[12pt]{article} \usepackage{amssymb,amsmath} \usepackage{paracol} ...
2
votes
1answer
46 views

Image wrapping inside parcolumns

I can't get image wrapping inside parcolumns. I have been trying for a long time, and here is what I've got so far: What am I doing wrong? \documentclass[12pt]{article} ...
1
vote
0answers
31 views

imported image is not shown up

I have such a statement, but after importing the image, I can't see the image. \documentclass[twoside]{article} \usepackage[]{graphicx} \usepackage[]{graphics} \usepackage{lipsum} ...
2
votes
1answer
58 views

How to fit image inside box

I know that I can scale an image to text width with \textwidth, however, the template I am using requires a surrounding box and my image gets out of it. I am using: \begin{figure}[h!] ...
0
votes
0answers
48 views

Separate image from document

How do you separate images from the document? I had a huge problem showing images in my document, I then found that it was because a configuration of the template I am using, it states: If you ...
3
votes
2answers
117 views

Is it possible to generate a PNG directly rather than PDFs?

I mean there is article, report, beamer, letter ... but can I generate a picture ? Something like : \documentclass[]{image}
1
vote
1answer
64 views

How to draw in simple way Ellipse filled with a gray color and to set a Background?

I would like to draw a Brain tumored phantom. To be simple : I would like to add to a background picture an ellipse filled with gray color. I discovered the package Tikz :) btw I am so happy that ...
5
votes
1answer
67 views

Include Graphics using fmtcount \padzeros to determine filename

I'm trying to include a lot of images to document and decided to use a counter to generate the filenames. A minimal (not working) example would look something like this: \documentclass{article} ...
0
votes
1answer
19 views

The path of image causing error at compiling [duplicate]

I have this path of one of my images: \includegraphics[trim=0cm 0cm 0cm 0cm,clip,scale=.40]{Figures/Simulation_C_044 _023_4_21kV.pdf} When I compile the code, it shows me that there is an error in ...
1
vote
1answer
67 views

inserting image on latex [duplicate]

I try to insert a graphic but it does not work. I try the following one ; \begin{figure}[!htb] \centering \includegraphics[width=5in]{D:\Utilisateurs\e0g411j00nm\Dropbox\images/phasediagram1.eps} ...
0
votes
1answer
63 views

How do I include a graphic with a caption after some text in the same page?

\documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage{listings} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} \begin{document} \section{Power Converter Topology and ...
18
votes
3answers
369 views

Background clip to text Tikz

I'm using Tikz to design the cover of a book and I need to do something like this : I've try to use some tricks given here but it did nothing. I've actually the following code: \makeatletter ...
0
votes
1answer
60 views

Simple includegraphics

I'm using Texmaker 4.4.1, When I compile with LaTex it returns an error of file "test" not found, when I compile it with PDFLaTex, it works fine. test is a pdf file in the directory of my .tex file. I ...