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

3
votes
1answer
110 views

Caption beside image in minipage

What i'm trying to achieve: Have two images in one page, one image on the top half of the page and the other the bottom half. Ive managed to do this by: \vbox{ ...
2
votes
0answers
48 views

align icons to dictionary entries

I'm trying to typeset a small dictionary. Many of the entries come with a couple of icons that I would like to display in the margin just left of the entry, top-aligned with the beginning of the ...
1
vote
0answers
17 views

Latex Not Recognizing png R graph [duplicate]

Please help! I made a Latex (using texworks) and it will not recognize my png file. I have the file in the same directory as the .tex and, when I scroll over the command in tex works, the image ...
4
votes
1answer
271 views

What causes this large horizontal space between two sentences?

I have a large document based on the book documentclass with text and images, and sometimes I encounter a new sentence that has a huge space after a period. It looks like this: I have attempted to ...
4
votes
1answer
139 views

How to provide alternative grayscale images in pdf?

Is it possible to provide different versions of an image/figure, and have the pdf viewer choose which one is the best at viewing time? I would like to have a color image on screen and on color ...
4
votes
2answers
210 views

Bad interaction between mdwtools' syntax package and graphicx

I'm writing a document where I want to both include some image via graphicx's \includegraphics and display some BNF grammars using the syntax package of mdwtools, however I receive an error of ...
3
votes
1answer
108 views

titlesec image after

Can someone explain to me why the second of these two doesn't work? The first produces an image before the section name, where the second produces an error claiming there is no \begin{document} ...
2
votes
0answers
75 views

XeTeX crashing when including PDF files with \includegraphics

I've only used XeTeX a little so far for Greek text and it's the first time I am trying to include figures. \includegraphics works fine with PNG images but when I try PDF files, it just crashes. ...
0
votes
0answers
94 views

no Bounding Box

Using TexMaker I am compiling with PDFLaTex the following and I get the error: ! LaTeX Error: Cannot determine size of graphic in Figures/chl.png (no Bounding Box). \documentclass[draft,grl]{AGUTeX} ...
5
votes
1answer
99 views

Including cover pictures in bibliography

Multimedia entry types, i.e. artwork, audio, image, movie, music, performance, video, software, are not well supported by biblatex yet, although there are already fields defined for their unique ...
6
votes
2answers
198 views

Black vertical rectangle on left margin

I print my document on A5 paper. I have a template with header and footer. Now, my laserjet printer is spoiling the page by leaving black marks on left margin. How can I draw a black vertical strip of ...
4
votes
2answers
147 views

How to obtain images in the head?

How can I obtain and head like this, with images in it till the limit of the paper, and with a gradient similar to the image? I have used fancyhdr package any times, but... in a very simple way ...
3
votes
1answer
443 views

Including a jpg image, source code compilation in pdflatex doesn't create pdf

I'm writing a report on a programming project in LaTeX and need to insert some images. I created images using a Finite Element program Freefem++, and saved the results in image files. I've tried png, ...
5
votes
2answers
175 views

Images stacked horizontally : unwanted vertical gap

I am trying to stack three images horizontally. The images have the same size, I want to align them without any vertical gap. I followed the instructions that I found on this answer: \blindtext ...
0
votes
0answers
26 views

Multiple graphics images on a page [duplicate]

I was trying to use your suggestion for multiple graphics on a single page using subfigure, and I get the multiple boxes, but they are black and do NOT contain my images. Do you have any suggestions?
2
votes
1answer
42 views

Import tex graphics to my main tex document

I want to create various plots with tikz package. I don't want to have the code for the plots in my main tex document because it's pretty messy. Is there a way to keep the tex code to different ...
2
votes
3answers
125 views

Minipages' vertical alignment

I use three minipages so to make a table and two images be placed next to each other and although the images are in the right place the table is placed much lower producing an ugly result. Why is ...
3
votes
2answers
221 views

including .eps figures

I'm trying to include .eps figures in my .tex file (I'm using MiKTeX 2.9). I need to include graphics in this particular way: \usepackage{graphics} % or graphicx ... \begin{figure} ...
4
votes
1answer
461 views

How to crop background from image automatically?

I have a Google Docs drawing that is a small scheme. However, this small scheme is surrounded by a lot of background that occupies a lot of useless space. I do not want to remove the background ...
3
votes
1answer
105 views

Pullquotes not working

I am want to wrap text around image using pull quote from Two-column text with circular insert, but I wasn't able even to compile example file correctly. Is there anybody that has pull quotes working? ...
2
votes
1answer
175 views

Problem with minipages' images overlapping

I am trying to place two images next to each other and I use minipages for that. I create two minipages and when I compile it the one image overlaps with the other. Shouldn't be the one next to the ...
6
votes
3answers
213 views

How to draw a corner at the end of text

I would like to draw my logo with latex. The logo is very simple. It is a text, followed by a corner, which started at the bottom line. The size of the corner should change according to the font ...
0
votes
0answers
69 views

Problem to show image. Error Bounding Box

I'm trying to add some images, but When i compile it, an error is shown, and in the PDF the images are not showed. Code I have used: \begin{figure}[!h] % h-here, t-top, b-bottom \begin{center} ...
4
votes
1answer
73 views

Image in header, custom padding

First of all, sorry about the poor title, but I searched for ten minutes and couldn't find a better one.. I'm using fancyhdr to set some custom headers and footer in my LaTeX document. I'd like to ...
8
votes
1answer
334 views

Fill rectangle with custom image file

I found a piece of tikz code for drawing pyramids of rectangles taken from here. In my document I need to fill sloped rectangles with a specific image file. Here is the code: % Using signed distance ...
3
votes
1answer
55 views

To label different parts of pdf page

Assume you have a PDF file with 3x4 pictures. You want to label each picture. How can you label such pictures without cutting manually each picture out separately? Next problem is how you can show ...
2
votes
0answers
111 views

Subfigure is not working fine into a beamer presentation - [closed]

I have this in the preamble ... \documentclass{beamer} \usepackage[spanish]{babel} \usepackage[utf8]{inputenc} \usepackage{color} \usepackage{xcolor} \usepackage{graphicx} \usepackage{caption} ...
0
votes
1answer
53 views

Chunk of text on the right of a picture

I have a portion of a latex document that is similar to: \begin{knitrout} \definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor} \includegraphics[width=0.5\linewidth]{figure/plot} \hfill{} ...
2
votes
0answers
40 views

Minipages images location problem

I'm a n00b with LaTeX and I'm having some trouble with the minipages command. The pictures in this example end up floating overtop of the caption at the bottom for some reason. ...
1
vote
0answers
241 views

WinEdt vs TeXStudio: file not found [closed]

The same tex file works with WinEdt while opened with TeXStudio reports the following error: File `Fig1' not found. ...h]{Fig1} The piece of code follows \usepackage{graphicx} \usepackage{epsfig} ...
2
votes
3answers
90 views

Image in the top of a page

I am trying to fix an image in the top of a page, according with the margins definitions. It is the logo of a conference paper, so it has to be in the head of the first page. How can i do it? Thank ...
9
votes
1answer
191 views

How to change one thing to change all

I have the following but when I change scale, I have to change all images. Is there a better way so that I can change only one place? I read about command/macro but not sure how to use it in this ...
3
votes
1answer
53 views

How to align enumerate and image [duplicate]

I have the following code which doesn't align a) and b) with the top of the image. How can I align them? ... \begin{enumerate} \item Find the unknown values and in each case, give a reason. ...
1
vote
0answers
71 views

Intensity and contrast of black text [closed]

I noticed that the black color of the text in some PDF documents (especially products with InDesign) is more or less intense. Some PDF documents produced by TeX / LaTeX have different shades of ...
2
votes
1answer
42 views

Set the height of an include_graphics to the height of a node?

Consider the following tikz code: \newcommand\Header{ \begin{tikzpicture}[remember picture, overlay] \node[anchor=north, inner sep=0pt, outer sep=0pt] (header) at (current page.north) ...
1
vote
0answers
86 views

Inserting simple figures in a document

I am simply trying to insert some figures in my tex document. I know this is very basic, I also have been following a latex guide, searching for question on stackexchange and asked around. I wrote ...
6
votes
2answers
738 views

2D and 3D vectors in Tikz

I would like to draw some 2D and 3D vectors in Tikz with certain properties. The following primitive graph sums what I desire: I just need the first quadrant of the Cartesian coordinate system for ...
2
votes
0answers
59 views

Trouble loading .PNG in article class [closed]

I'm in the process of writing my thesis, and am having trouble getting any images to load in my document. I'm using the article class, as it required the least amount of editing to get it to look like ...
13
votes
1answer
126 views

Which arguments of `\includegraphics` cannot be set beforehand?

From the documentation of the graphicx package: Most of the keyval keys used in the graphicx package may also be set using the command \setkeys provided by the keyval package. For instance, ...
0
votes
1answer
57 views

\includegraphics restriction to the number of calls [duplicate]

Is there any restriction about \includegraphics usage? This question arise from a LaTeX document where the number of \includegraphics has an uncommon result. When exceeded a limit number of includes ...
3
votes
0answers
141 views

Include PDF images with interpolate=true

I was happy to read that \includegraphics allows setting the interpolate flag for imported images: \includegraphics[interpolate]{testimg} This works wonderfully if testimg is a PNG image. ...
2
votes
1answer
98 views

Trying to add an image/icon just before the text in a section while using moderncv

Note: I'm using sharelatex I was wondering if there are any way to set the background color of the header part (the one that contains personal info) of a file that uses moderncv in order to visually ...
5
votes
2answers
267 views

Why does my Mathematica figure not work with PSFrag?

I created an image in Mathematica with some labels that, for some reason, refuse to be substituted when using PSFrag. Specifically, the Mathematica code image = Plot[Sin[x], {x, 0, 2 π}, ...
2
votes
1answer
408 views

pdflatex and TexStudio includegraphic problem

I'm having (no Boundingbox) problem even using pdflatex engine. It's strange because it's working fine with MikTex but not Texstudio. Sadly I want to stick to TexStudio now. I've included the code ...
2
votes
0answers
134 views

TEX can't see figures on PDF

I am writing for an academic journal in LaTeX and I am using Texstudio. My problem is the journal format is using \usepackage[dvips]{eps fig} and to upload a figure this command being used is ...
1
vote
2answers
105 views

Figure appearing in completely wrong place

My problem is very simple - my figure is appearing far away from the text, as seen below. The actual image I am pasting is here - so there is some white space above, but clearly not as much as ...
3
votes
2answers
357 views

Using Lato Light Font Throughout a Document

The command for using the lato light font is given to be \fontseries{l}\selectfont but this command produces no change to my document when compiled with pdflatex. I would like to use the light ...
4
votes
1answer
93 views

PS file is not well included using latex->dvips chain

I'm trying to include given PostScript files in my document. However, I'm not really successful using the latex -> dvips chain as the image is not well included: However, the same file works ...
1
vote
0answers
48 views

Align Scaled Image With Text Centered in Columns

Say given a list of items: Item 1: Item 2: Item 3: Item 4: I want this list to be split into two columns with images aligned on each side of them. Much like a centered bar-graph (If there's a way ...
2
votes
0answers
86 views

Plot with same font of journal [closed]

I am preparing some graphics for a paper using GNUPLOT and LaTeX so at the end I have text, label and legend with the standard LaTeX font. Now I would like to change this font in order to uniform the ...