{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
53 views

Stop printing non-bold text in bold from PDF file [duplicate]

Despite everything, this problem is still occurring so I have re-opened the question. Even with: \pdfpageattr {/Group << /S /Transparency /I true /CS /DeviceRGB>>} Appended to the ...
3
votes
2answers
60 views

Making includegraphics placement conditional on width of graphic

As shown in the MWE below, I am using graphicsx in conjunction with adjustbox. I have a document with many figures and would like to automate the "inner" (as opposed to "center") placement of figures ...
3
votes
3answers
157 views

Create horizontal bar with embedded text

I'm transferring my CV from Word to LaTeX format. I would like to replicate a feature shown below of a horizontal black bar with two sections of embedded text justified to the left and to the right. ...
1
vote
0answers
90 views

Unable to load picture or PDF XeLaTeX [closed]

I have a problem when including an image under XeLaTeX : >! Unable to load picture or PDF file 'cachan.jpg'.<to be read again>\GXT@clipend \Garde I tried everything and nothing works. I ...
3
votes
0answers
76 views

\includegraphics image not displaying in beamer

I am trying to add an image made in inkscape to a beamer presentation as follows. \documentclass{beamer} \usecolortheme[dark]{solarized} \usetheme{default} \begin{document} \begin{frame} ...
2
votes
1answer
58 views

Filling a color

I am having two problems with inserting an image into a mdframed environment. Both are documented in the attached picture. Firstly the lines of text preceding and immediately after the inserted ...
3
votes
1answer
36 views

Trying to fit a sidewaysfigure below the title, but it keeps adding a page after the titel and figure is on next page

I'm trying to put a sidewaysfigure in the same page as the title of the section, but it keeps having blank space on the page with the title and then the image on the next page \section{sectiontitle} ...
2
votes
1answer
73 views

Subfloat alignment: graphics and table on the same line

I'm trying to align an image and a table whithin the same figure, however, some alignment issues arise. My code is: \documentclass{article} \usepackage{multirow} \usepackage{amsbsy} ...
1
vote
1answer
128 views

change color of line in legend image (tikz pgfplot)

I want to change the color of the line in the legend image, because the line color in my plot is different to the mark color. \begin{figure}[h!] \begin{tikzpicture} \begin{axis}[legend pos=south ...
1
vote
1answer
67 views

Mixing tasks and graphicx packages

I'm trying to setup what you can see in the following image, essentially an image side by side with a tasks environment. The image could be inside or outside the tasks environment, I don't care as ...
0
votes
1answer
48 views

Text overflows into graphics at bottom of page

I want to include graphics on every page after the title page but on the 2nd page the text flows into the graphics and I also loose the page number on that page. Subsequent pages are fine. Here is my ...
5
votes
3answers
191 views

Why is fbox leaving padding on the left and right of my includegraphics?

I'm new to Tex, and it's my first time writing a paper on tex, so please bear with me. When I tried to put a border around a \includegraphics inside a \tikzpicture using \fbox, there is a mysterious ...
1
vote
0answers
38 views

Align a picture partly outside a cell

I have this code: \documentclass[a4paper]{article} \usepackage{graphicx} \usepackage{multicol} \usepackage{longtable,tabularx,ltxtable} \usepackage{tabularx} \usepackage{multirow} ...
1
vote
0answers
38 views

\includegraphics renders my pdf at the right side of the page (exceeds page bounds)

I have a pdf that I'd like to insert in my document. When using graphicx or pdfpages the pdf is rendered like this: In the pdf itself, the drawing are pretty centered. What can I do to centralize ...
1
vote
0answers
21 views

Force \includegraphics use specific file extension for all document [duplicate]

What is the way to force \includegraphics to use specific file extension for all document? If I have in the folder figure.pdf and figure.png \includegraphics{figure} command will use figure.png, if ...
1
vote
1answer
51 views

Remove white margin inside Tikz picture in figure

For some reason I have a white margin on the left side of the image when I try to app it to the page. How do I get rid of it? I have created a minimum code example for you :) ...
0
votes
1answer
53 views

Putting two figures side by side

\begin{minipage}{0.5\textwidth} \centering \includegraphics[width=3cm]{Vlieger} \caption{Vlieger} \label{fig1:} \includegraphics[width=3cm]{Pijl} \caption{Pijl} \label{fig2:} ...
2
votes
1answer
52 views

Image position related to table position

How can it be that an image and a table, that are places incide of the same mdframe are positioned differently? And how can it be resolved. This screen dump shows the problem: I would have expected ...
2
votes
2answers
245 views

Place text on lower right corner of picture

I am trying to place some text (a credit-line) on the lower right corner of (many) pictures. The text should be right-aligned with the right edge of the picture. I tried things like ...
3
votes
1answer
77 views

Fix Overlapping Plots in Pgfplots

I am trying to plot x^2+y^2−z^2=1 and x−2z=0 on the same graph and am able to successfully graph them; however, the result looks horrible and overlaps poorly. How can I fix the overlap and make a ...
0
votes
0answers
27 views

File Not found in LaTeX for image file

I use TexStudio and I want to add an image,my tex file and image file are in a same folder, but I get error. what should I have to do?
0
votes
0answers
12 views

\graphicspath error [duplicate]

I give the path for my images as \graphicspath{C:/Users/Desktop/name of folder/} and type \includegraphics[width=3.3 in]{name of image.jpg} but I get the file name of image.jpg not found. ...
2
votes
1answer
109 views

Can I place \includegraphics command before \begin{document}?

Can I place \includegraphics command before \begin{document}? I see in sharelatex they are doing like that but in texstudio I am writing the same code but I get the error.
2
votes
1answer
112 views

how to add arrows, curly braces to chain

I want create in latex an image like this (generated by ppt) For now I'm able to generate only the box in blue and green using this code \documentclass[border=10pt]{standalone} \usepackage{tikz} ...
3
votes
4answers
345 views

How to write text near to image?

I want to write text near image, how should I do it(example): |-----| | pic |- this is text about picture. |_____|
0
votes
0answers
47 views

How to generate this image? [duplicate]

I'm new in LaTex. I need to draw a graphic like the image and each rectangles of image must have the size shown in Figure. I drawn it by MS power point but I need to do by LaTex. Can you help me? Or ...
3
votes
2answers
55 views

How to show several images under one slide?

I am trying to show several images under one frame. Here, I'm trying to show the coloring of a node in frame. My idea was to itemize the images and disappear the rest except the one I'm talking about. ...
1
vote
0answers
49 views

Include graphics from subfolders

I have this structure: mainfolder/main.tex mainfolder/frontmatter/front.tex mainfolder/frontmatter/images/logo.jpg Now i include front.tex in main.tex, but i can't view the logo. PS: I want ...
1
vote
2answers
48 views

ConTeXt: Suppress figures from inclusion

Background Using pandoc to convert markdown source text into a .tex file. The .tex file is fed to ConTeXt. There are two different styles. One for a polished version and one for a manuscript ...
2
votes
1answer
61 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} ...
0
votes
2answers
105 views

How to draw below network in latex?

I am new to Latex, i have to draw above diagram in latex. Can any one please help me, How to draw above network diagram in Latex.
3
votes
1answer
101 views

includegraphics in tikz node

I wanted to do this: Crop jpeg into circular tikz node but write with a variable width: \documentclass[tikz,border=5mm]{standalone} \begin{document} \def\mywidth{2cm} \tikz\node[circle,draw,minimum ...
0
votes
0answers
41 views

Wrapfig doesn't work in the environment proof [duplicate]

I need to put an illustration in a proof in one of my document. Since it's a small image, I would like to put it surrounded by the text, using the environment wrapfigure. Yet, the text doesn't wrap ...
2
votes
1answer
48 views

Writing over a tikz array

i have this array. I need to write over each cell. For example, i have to write "S" and "E" over the array and not inside. Can anyone help me? \begin{tikzpicture}[>=latex,font=\sffamily,every ...
1
vote
0answers
37 views

Image scale and text goes crazy [closed]

When i change the scale of my image from 0.3 (which is too small) for 0.6 using the command \includegraphics, it creates a huge gap between the section, subsection and the first paragraph. Heres my ...
3
votes
6answers
246 views

How to draw a path to form a regular pentagon?

I already have a code that draws a regular hexagon the following way \begin{tikzpicture}[every node/.style={draw,shape=circle,fill=blue}] \path (0,0) node (p0) {} (-1.5,-1) node (p1) {} (-1.5,-2.5) ...
3
votes
1answer
96 views

Manual placement of figures in Latex document [closed]

I am using the figure environment for placing figure at the bottom of the page as follows: \begin{figure}[b] ........ \end{figure} But, my figure is being placed at the top of the page and "[b]" is ...
1
vote
1answer
60 views

How do I add x and y labels to a plot I'm inserting as an image

I received some plots that were generated in Mathematica such as this one: http://imgur.com/ZHxkI7K I would like to insert them using something like: \begin{center} \large{\emph{\textbf{My ...
1
vote
2answers
71 views

How do I place graphics within text of an enumerate?

I have a list full of text but also need a graphic to be within it, on the right hand side, and have text wrap around it. I have been looking around and found really nothing useful and when I do, it ...
3
votes
1answer
38 views

Include graphic if the file is present [duplicate]

I am trying to create a latex document that has a graphic: temp.pdf \begin{figure} \centering \includegraphics[width=30cm,scale=1]{temp.pdf} \end{figure} This works fine if the graphic file is ...
1
vote
3answers
97 views

Latex - how to add caption in \begin{center}

I'm using this code for pictures, because \begin{figure} puts it in a bad place for me. How can I add a caption to this picture? \begin{center} \includegraphics[width=13.7cm, ...
0
votes
0answers
50 views

Strange lines and missing content in PDF figure, only at normal size, not when zoomed in

https://www.dropbox.com/s/9fjpe2ybat29qqp/Presentation1.pdf?dl=0 In my Latex document I see strange lines and missing lines in a pdf figure used in the document. These are indicated by arrows in ...
3
votes
1answer
61 views

Define a systematic method to include pgf plots into jpg photos

I am including images into my LaTeX document and, overlapped to each image, I am adding a PGFplot, showing (a graph with) the environmental conditions when the photo was taken. I have the time-series ...
0
votes
0answers
43 views

Background visual artifact in \includegraphics (probably linked to image resize)

I have the following (resized) image in my code: \includegraphics[width=0.5\textwidth]{./images/6-1.jpg} The next image in this post is the print screen of the visual result of this line of code. ...
0
votes
0answers
53 views

EPS images are not placed in the correct position when one converts dvi to pdf

I compile a document in latex with WinEdt 5 and MikTeX 2.9. I have already read eps images turned out to be shifted in pdf file So I checked several things: 1.- The bounding box. I used epstool with ...
0
votes
0answers
64 views

Unable to insert PNG file

I'm trying to insert an imagine into my text document. What I've got so far is: \graphicspath{C:/Users/James/Documents/LaTeX} \begin{figure}[p] \includegraphics{Coil} \end{figure} But I can't ...
0
votes
1answer
34 views

how to set my image example number as image number [duplicate]

I have application with which I am generating my PDF from various chapters and sections, by adding and removing chapter and sections. So I found problem with example numbers and image numbers. For ...
0
votes
0answers
43 views

Eps figure is disproportioned in Latex

Often when I insert an EPS figure to Latex its proportions gets messy in the actual PDF. Why so? Working Example: I use miktex, with \usepackage{epstopdf} in the header. This is the include of the ...
1
vote
1answer
99 views

Beamer-How to have figures replacing one another in a slide? [duplicate]

I was wondering if there is a way to have a figure in a slide that replace the previous figure. So if one has 5 figures then each figure will appear once and be replaced by the next figure. At the end ...
1
vote
0answers
48 views

White space between the writing and image

i am inserting a pdf image into my paper. After cropping my pdf images, i still have some white space left between the writing section and the image. Can i get rid of it somehow. I am doing it like ...