{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
1answer
19 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
13 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
78 views

\includegraphics command is “an undefined control sequence”? [on hold]

I just posted a question on LateX but here's another... Simply, how do I add pictures and what exactly is the principle to it in Latex? I mean, I google, I see a bunch of commands but honestly, I do ...
0
votes
0answers
21 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
36 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
43 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
41 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
33 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
52 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
63 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
34 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
54 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
38 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
9 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 ...
1
vote
1answer
66 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
109 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
26 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
38 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
41 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
29 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
50 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
44 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
115 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
57 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
56 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
16 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
59 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
42 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 ...
17
votes
3answers
296 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
47 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 ...
2
votes
2answers
47 views

Full page image causes white space

I have a paragraph at the bottom of a page that refers to an full page filling image. This paragraph is too long for its page. Thus, Latex puts a page break inside of it and its text continues on next ...
0
votes
0answers
25 views

inserting shapes with images and figures

how can I create the following figure ((see attached picture)) with (4x6) and (6x6)pictures instead of (3x3) in attched picture providing that the figure 1 in picture should be in same level with the ...
1
vote
0answers
25 views

How can I scale a PNG so it takes the height of the page? [duplicate]

I want a PNG to be as big as possible on a page without to be cut. Is it a way such as the [width=\textwidth] to do the same with the height ? \begin{figure}[htbp!] \centering ...
0
votes
1answer
65 views

Drawing directed random walk on integer lattice

Could you please help me to draw random walks in random environment. How can I draw directed random walk on lattices such as or with different colors . I think method is almost same. but I don't ...
1
vote
1answer
35 views

tex4ht: scale for graphic doesn't work

I use tex4ht. However when I include graphic, it includes with original size. Scaling is ignored. \documentclass[9pt,oneside,a4paper,english,notitlepage]{book} \usepackage{graphicx} ...
0
votes
1answer
47 views

My baseline is messy after inserting image in ShareLatex

I'm learning how to use Latex and using it to design a pretty simple book. I've made almost everything, but I'm having trouble when I insert a image between some text, I want it on the top of the left ...
3
votes
1answer
47 views

Placement of three figures in beamer

I want to position 3 figures in beamer, with the first two justified at the left, the second being below the first, and the third at the right. However, I need the third image to be vertically ...
2
votes
1answer
22 views

Overfull hbox in header

I get an overfull hbox in a header within command for \rhead, which I didn't expect since it's right justified. For some reason, removing the footer seems to fix it, yet removing the tikz package ...
0
votes
0answers
39 views

including .eps file but the image doesn't get displayed

\documentclass{azjmPRE} \begin{document} \begin{figure} \centering \includegraphics[width=8cm,height=5cm]{oscc.eps} \caption{Unbounded variation of the fixed points of $T$ } \label{oscc} ...
0
votes
1answer
28 views

Inserting a pdf file after a title causes the tile to be on one page and the pdf to start on the next [duplicate]

I have a new page, with title. I want my pdf file to show up under the title. However, the pdf shows up on the following page. I want the pdf to be under the title page. Is the issue the size of the ...
0
votes
0answers
33 views

latex2html: how to include *.pdf image

I use latex2html to obtain my document in html format. However I have problem with images in *.pdf format. In case if I write \includegraphics[scale=0.5]{images/TestImage.pdf} I get error. Error ...
2
votes
2answers
67 views

Make parts of a pgfplots outside of the bounding box visible

I have created a graph with pgfplots and adjusted the bounding box to the axes. When I include the pdf of the graph in my main tex-document with includegraphics, I want to see the axes labels which ...
5
votes
3answers
281 views

How to stretch a line across the entire page width

I would like to stretch a black line across the entire page width. MWE: \documentclass[letterpaper]{article} \usepackage{geometry} \geometry{top=.0in} \usepackage{xhfill} \begin{document} ...
-1
votes
0answers
19 views

Scaling images makes the colors wrong in some readers

A minimal example: \documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics[width=0.3\textwidth]{1.png} \includegraphics[width=0.3\textwidth]{2.png} ...
3
votes
3answers
210 views

How to create a custom front/title page of a thesis?

I have tried to do a front page to my thesis using mdframe after have read it here. Here it was I have done so far but I am stuck. How do I get the frame over the whole left page and how do a get a ...
1
vote
1answer
34 views

Coincident enumeration of images in Lyx

How can I enumerate a list of images, where each image is solely displayed within precisely the same coordinates on the Beamer page? I was effectively doing this by duplicating slides; the first ...
4
votes
1answer
32 views

How do I set a max-width on images?

In my document I have a lot of images. Some are small icons and others are massive screenshots. The images should display either Their full resolution if the image is smaller than the width of the ...
1
vote
2answers
68 views

How to remove blank spaces above and below inserted images?

In my document there are large blank spaces above and below the images that I inserted, also sometimes I can see blank spaces after the texts too. How can I remove the blank spaces above and below the ...
1
vote
1answer
44 views

Dealing with braces in filenames for graphicx

For the purpose of managing a large reference document with many included files, I include links to these files in the margin. Broken down to an MWE, this is what I do: \documentclass{article} ...
2
votes
0answers
75 views

eps/pdf figures not shown with XeLaTeX (with WinEdt)

I have a trouble in including eps/pdf files using XeLaTeX. It only give a white patch where the figure supposed to be if I compile with WinEdt 8 (Build: 20130513 (v. 8.0) - 64-bit), without any ...