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

20
votes
3answers
425 views

Is it ImageMagick's fault or pdflatex's that some JPEGs aren't working?

pdflatex (as well as lualatex and xelatex) cannot process (some) JPEG images which were created by my ImageMagick. I'm on OSX Mavericks, using ImageMagick v6.9.0-0 Q16 x86_64 provided via MacPorts. ...
4
votes
1answer
188 views

print double sided playing cards

My apologies if this is already answered somewhere (typical opening I suppose) but here goes. I've modified code from the thread Creating playing cards using TikZ for the purposes of my needs. Now ...
3
votes
2answers
73 views

What is the generic workflow to place objects relatively to others (or previously set anchor points) in beamer?

Coming from MS Powerpoint I usually use SmartForms or other objects to highlight specific points in a picture or a table to draw the viewers attention. Just imagine a technical drawing and I want a ...
1
vote
0answers
24 views

file not found error while including figure in texmaker

I am using Texlive and try to insert a figure in the latex template provided by ieee. The bere_conf.tex. Then I am getting the error message ! Package pdftex.def Error: File `fig1.png' not found. See ...
1
vote
0answers
21 views

Graphics are shifted after using dvipdfmx

First of all, I hope it is okay to ask this question here. I really did not know where else. So I'm generating a plot with gnuplot using the epslatex terminal. For example, set terminal epslatex ...
2
votes
1answer
78 views

include graphics overlapping figures, (sig-alternate.tex) format

I have several images that span the entire length of the two-column sig-alternate format I am using. I would like to avoid images on the same page from overlapping. How can I achieve this? I am using ...
2
votes
0answers
47 views

Damaged file in acroread when include .pdf graphic with other graphics that are clipped

I came across a weird issue when you include multiple graphics files when one is a non-clipped .pdf and the others are clipped non-pdf. I'm running pdflatex and the resulting pdf is created and can be ...
4
votes
1answer
199 views

sharelatex: PDF inclusion: required page does not exist <5>

I checked the other question similar to this issue yet I could not find a proper solution for the issue I am facing for including an .svg file which is converted using inkscape with pdf+latex option ...
2
votes
1answer
166 views

I am trying to draw a clustering Euclidean diagram

I am a biochemistry graduate student, and I have classified breast tumours using a Euclidean centroid-based approach with 437 up-regulated and 370 down-regulated genes (dimension = 807). I would like ...
0
votes
0answers
24 views

why grffile package is not working when filename of eps contains space?

In order to cope with image that has space in its filename, according to this post, I use package grffile. \usepackage{grffile} But I found that grffile is working when image file is png format, ...
6
votes
1answer
51 views

List figures with \listoffigures but don't show the figures themselves

For a journal submission, I need a list of figure captions at the end of my manuscript but they explicitly asks not to include the figures themselves in the document. I have added \listoffigures at ...
8
votes
1answer
107 views

Extrude shapes in tikz 3d

I want to have a shape protruding out of a plane, like the green rectangles here So far I have a made a box like this: \documentclass[]{article} \usepackage{tikz} \usetikzlibrary{3d} ...
8
votes
1answer
85 views

How to make some adjustments and centralize these graphs

These are the graphs I am trying to reproduce: This is what I've done: My problems are: How to make those arrows in each loops in the second graph. (If possible) How to decrease the letter's ...
1
vote
1answer
191 views

File Not Found - Problem With \includegraphics

I'm having a great deal of difficulty adding figures into a LaTeX template I downloaded. I downloaded and unzipped the template folder to a new folder, and am attemping to integrate a picture called ...
4
votes
1answer
82 views

shading area between two curves in pgfplots

I have the following latex code: \begin{tikzpicture} \begin{axis}[ xlabel=Strike Price (K), ylabel={Put Value (p)} ] \addplot [only marks=*,blue] plot coordinates { (40,10) ...
0
votes
0answers
27 views

Problem inserting an image [duplicate]

I am using \includegraphics to insert an image, the image is appearing in text but some part of file name and .jpg are also appearing in the text (like a.jpg) how can I remove it? why is a.png shown ...
1
vote
0answers
110 views

Is it possible to draw figures like these?

Is it possible to draw figures like these or is better to just paste it? If it is, what are the best tools or good examples to do it ? example: \draw, \node Using tikz is being my work until ...
2
votes
0answers
50 views

How to protect a word from finding by google search machines

With Google it's possible to search for documents uploaded on webpages which contain a specific text inside the text. \begin{titlepage} A summary\\ \vspace*{3cm}\\ © Max Mustermann\\ % I used the ...
4
votes
0answers
53 views

Insert logo in \cventry for modercv (classic style)

I'm using moderncv for my CV. I tweaked with moderncvstyleclassic.sty quite a bit and I'm almost there in terms of the result I want. There's just 1 last thing I cannot solve: I would like to add a ...
1
vote
0answers
59 views

Problem inserting PDF into LaTeX

Okay so my MWE is: \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} \graphicspath{{C:\Users\User\Documents\OU\LaTeX\TMA 02}} \usepackage{array} \begin{document} ...
1
vote
1answer
39 views

How to typeset a graph of a binary relation?

What is the best way to typeset in LaTeX a graph of a binary relation on $\mathbb{R}$ similar to the following: The bold lines denote a binary relation (consisting of three line segments).
2
votes
1answer
29 views

Package pgf Error: No shape C_1 is known

I was trying to compile a latex code of a graph. However, I got many errors. It shows me Package pgf Error: No shape C_1 is known. The error appears for all the nodes in the Graph. Here is the code I ...
2
votes
2answers
307 views

How to draw this kind of complicated figure? [closed]

How to draw this kind of complicated figure with LaTeX? Could I have sources?
2
votes
1answer
33 views

Align resized tabular and image vertically

I'm using this code to put a large table next to a figure. \begin{figure}%[t!] \centering \begin{minipage}[c]{0.95\textwidth} \begin{tabular}{cc} \resizebox{0.45\textwidth}{!}{ \begin{tabular}{c c c ...
2
votes
3answers
74 views

Colored frame in includegraphics environment

I like using \includegraphics[<your options>,frame]{image} to create a tight border around my images. How can I change the color of the border? Minimal working example: ...
0
votes
2answers
55 views

Dependency tree graph with extra arrows

I built the tree (black components) using the Stanford Parser. However, it doesn't make its graphs exportable, so I had to take a screenshot. Then to that graph I had to add the two new colorful rows ...
2
votes
2answers
84 views

subfig vs exercise: LaTeX Error: Not in outer par mode

I'm able to use the subfig package in my documents, but not within an exercise environment: \documentclass{scrreprt} \usepackage{exercise} \usepackage[demo]{graphicx} \usepackage{subfig} ...
0
votes
0answers
28 views

Inserting an image and forcing it between paragraphs [duplicate]

I am inserting a Figure named Figure1 inside a document in TexMaker using the code below: \begin{figure} \begin{center} \begin{tabular}{|c|}\hline \ \hspace{10cm}\ \\ \\ ...
1
vote
1answer
137 views

How to draw this picture with Latex?

Could some one help me to draw the following picture with Latex ( using only 1 picture) ? Thank you SO MUCH for your help.
2
votes
2answers
108 views

How to center text in a ellipse and to draw circle nodes?

I have spend much time on this figure too and I have tried different types of tikz, pstricks and multido use packages. I would like to create a figure, which look like this: I have wrote following: ...
5
votes
2answers
166 views

How to add text and a more correct zigzag-line to a figure?

I have now spend hours by creating this figure - without luck. I have tried different types of tikz, pstricks and multido usepackages. My biggest problem is to add text, to add a more correct ...
0
votes
1answer
23 views

Page size defined by a41.sty changes when using graphicx

I observed a strange issue if you combine the graphicx package and a41.sty. The page size changes if I compile the document using pdflatex Disclaimer: I know that using a41.sty is heavily outdated ...
3
votes
1answer
69 views

How to use underscore in a variable

I have a variable x which takes different names including underscore, for instance 1_10. Later, I want to use that variable as the title of a picture: \caption{\x} However I can't do that because ...
0
votes
0answers
55 views

problem with compilation of the solution contain pgfplots package

I try to use this solution from Harish Kumar it's works fine when i'm using sharelatex but it doesn't work for my system here is log Os: windows 7 implementation of TeX: MiKTeX 2.9 Editor: ...
2
votes
1answer
43 views

includepdf in pdflscape environment

I want to include a pdf containing a scalable vector graphic in my document. Because of the graphic's width it must be imported in landscape mode (which works). However, I want to rotate the whole ...
2
votes
1answer
63 views

How to show a full page width image above chapter title, and different image for each chapter?

I'm trying to make the chapter header follow the style: - Chapter tittle is on its own page. - There is an image with full page width above the title, and different image for each chapter. - ...
0
votes
2answers
40 views

align image to left and text along the center of image

I have a logo/image which I want to the left of the page, and word CERTIFICATE written along the horizontal line crossing the center of the image. I have been using following but it writes the text ...
0
votes
0answers
64 views

Is there anything wrong including this png?

I'm writing a document (article class), and I'm including some png graphics, this is the code that includes them (it's a subimage environment): \begin{center} \begin{figure} \centering ...
3
votes
2answers
117 views

add vertical line of equation x=2 and shade a region in graph by pgfplots

I would like to plot these four equations : $$y=\dfrac{3}{2x+1}, y=3x-2, x=2 y=0$$ and i don't know how to draw vertical line of equation x=2 and shade a region like the picture below ...
1
vote
0answers
29 views

adding natwidth and natheight to \photo in moderncv

I am using winEdt 6 with MikTex 2.9 and writing a resume with moderncv package. The problem is I can't make the cv title because it cannot determine the size of the photo. I want a way to put the size ...
1
vote
1answer
61 views

File ended while scanning use of \beamer@collect@@body and more

It's my first time in Beamer, and i want to make a titlepage as well as those seen on the net (and those done by my university teachers XD) First of all: \documentclass[trans,9pt]{beamer} ...
2
votes
1answer
29 views

Figure spacing carrying over to next page

I'm trying to make an image align with the text it's positioned next to. I've managed to make the top align fine by using \setlength{\intextsep}{0em}%, but for some reason the bottom vertical spacing ...
3
votes
1answer
44 views

Look for file in different directory

I'm using gnuplot to graph some things and I have to embed the graphics in latex. The document class I'm using is article. I'm using an epslatex terminal in gnuplot so I get two files, a .tex and a ...
3
votes
2answers
56 views

I am trying to break this standalone image into two rows

I have used standalone to generate this picture: I would like to put C and D below A and B and aligned them. Is there a simple command line? Thank you very much for your time! Here is my code: ...
1
vote
0answers
38 views

I am trouble syncing page/figure numbers with images

I am writing my M.Sc. thesis and have made graphs with captions. It's the first time that I am using latex and really love it. I still have a learning curve. I have made my graphs with standalone. ...
0
votes
0answers
40 views

Picture under text

I ran into a problem while adding pictures to my pdf. I do it with this: \begin{figure}[h] \vspace{-5mm} \centering \includegraphics{2} \vspace{-5mm} \end{figure} vspace is there ...
2
votes
2answers
65 views

Multi-line alignment : two pictures on the first line, third picture on the second line in a square fashion

I have three picture to show, in three different aspect ratios, and I'd like to align them so that the two first have the same height on the first line and the third has the width of the two first, so ...
4
votes
2answers
152 views

Getting Gif and/or moving images into a Latex presentation

Im very new to presentations in Latex (ive been using powerpoint for years but have finally converted) and am wondering how to get a gif into a section. If needs be, can one not convert a gif into ...
1
vote
0answers
78 views

I am trying to draw a DNA sequence with a point mutaion

I am trying to draw the following: met thr glu tyr lys leu val val val gly ala gly gly ORF ATG ACG GAA TAT AAG CTG GTG GTG GTG GGC GCC GGC GGT TAC TGC CTT ATA TTC GAC CAC CAC CAC CCG CGG CCG ...
0
votes
1answer
30 views

Images not showing up [duplicate]

I have a problem with images not showing up. The latex recognises them (see screenshot) but doesn't generate them to pdf document. They are in the same folder. I tried including image extensions and ...