{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
30 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
24 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
22 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 ...
1
vote
2answers
196 views

How to draw this kind of complicated figure? [on hold]

How to draw this kind of complicated figure with LaTeX? Could I have sources?
2
votes
1answer
21 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
31 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
30 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
49 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
27 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
123 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
89 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
116 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
21 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 ...
2
votes
1answer
57 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
47 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
23 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
48 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
26 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
53 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
77 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
17 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
28 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
23 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
37 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 ...
2
votes
2answers
46 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
25 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
34 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
36 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
112 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
66 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
21 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 ...
4
votes
1answer
52 views

How to use a command as path in 'includegraphics'?

I want to include a graphic by using \includegraphics{\mycommand} but it doesn't work. The path to the picture will be a combination of text written in .txt files. This is my code: ...
0
votes
0answers
31 views

TikZ and other figures in documents meant for multiple paper sizes

Sometimes scientific papers are sent to multiple journals with very varying paper sizes. Usually, changing from one to another, I simply cross my fingers that TikZ figures still fit, and rescale PDF ...
0
votes
1answer
93 views

How can we draw these graphs like in this book?

Can you show me which tools we can use to draw the graphs look like in this book? (see below figure). Sorry, I don't know exactly where I can post this question.
3
votes
1answer
65 views

Drawing Sinusoids with Phase difference

My first goal was to draw sinusoid plots similar whit these images: This is what I've done (similar to one code in this forum): What I'd like to know is (if possible) how to change integral ...
1
vote
1answer
39 views

how do I create a border, non-rectangular, surrounding a nodes in tikz?

I have the following MWE. I would like to draw a border without including the $y_3$ (or s3 in the .tex file) -- so it would be a rectangle with its left upper corner changed so that it bypasses s3. ...
1
vote
0answers
43 views

LaTeX, Image placed below ToC

I am trying to insert a picture (pdf) below a ToC, but when I do it through \includepdf it just appears on the next page. I have tried some absolute positioning, but haven't gotten any of them to ...
0
votes
0answers
22 views

Floating figure with transparent pixels

I need to include a floating picture in my document. The included picture represents a circular logo, where pixels outside of the circle are transparent. I'm currently using the following code: ...
2
votes
1answer
38 views

Random dots with noise component

I wonder how to fill specified area by dotted points.I want to fill the green area with green random dots, and instead of the red area i want to fill it with red random dot, and the white area with ...
2
votes
1answer
41 views

Relative positioning: how to avoid the discentering of external images?

Stuck with the following problem while making "Who we are" section for a business plan. The code \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} ...
4
votes
1answer
105 views

Copying figures into LaTeX

I want to copy some figures from previous studies and use them in the introduction of my thesis. My current procedure to do this is: print screen the necessary page from the pdf file I am interested ...
0
votes
1answer
48 views

Entire PDF document as appendix

I'm writing a report, where I need to include some large PDF files as the appendix. I tried using this command: \includepdf[pages={1-},scale=0.75]{myfile.pdf}[H] In the pdfpages package, but it ...
4
votes
1answer
82 views

How to include graphics inside the section name

I am trying to insert an icon (a pdf file) literally next to the section name. I want the little shield icon to be where the <Icon> is. The code to generate this image is: ...
2
votes
1answer
55 views

Graphics file not found [duplicate]

I'm attempting to include image files in my LaTeX document whose code is: \documentclass[a4paper, 11pt]{article} \usepackage{amsmath} \usepackage{graphicx} \usepackage{microtype} \usepackage{siunitx} ...
2
votes
1answer
28 views

Subcaption: Adjust vertical position of three images inside multirow

I want to put three images in a figure. Two shall be above each other on the right. The third one shall be on the left. The left picture shall be vertically centered. I tried several approaches using ...
3
votes
1answer
31 views

Subcaption: Vertical alignment of two images of different vertical size

I want to place two images of different size next to each other. Both shall have individual subcaptions. Everything works fine. My only question is: how can I center the smaller image vertically with ...
0
votes
1answer
32 views

Make rotated picture with caption fill page width and available height

I have a PDF image that I want to rotate (keeping the caption unrotated). The page where the PDF is included has a title/heading. Usually I'm using width=0.9\textwidth, but that doesn't work with the ...
6
votes
1answer
110 views

How can I draw this graph

I am trying to draw the following picture but I have some difficulties. I just started learning LaTeX a few weeks ago. I code the following: \documentclass{article} \usepackage{tikz} ...
0
votes
0answers
32 views

Don't break sections in product catalog with images

I'm trying to use LaTeX to automaticaly typeset a huge product catalog of 2000+ products. Every page should be divided in 2 colums filled with the products. (excluding category headings) The problem ...
1
vote
1answer
43 views

Including certain graphics turns pages grey

When I include certain graphics in my LaTeX book, compile the tex file with pdflatex and then flatten the PDF, all the text on pages with either png or pdf graphics ends up grey instead of black. ...