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

4
votes
1answer
36 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
80 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
104 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 ...
1
vote
0answers
51 views

Unknown graphics extension

I have inserted a .wmf (Windows Metafile) into a Scientific Workplace document. Then I tried to convert it to pdf using MikTex 2.9. I am getting this error message: ! LaTeX Error: Unknown graphics ...
1
vote
1answer
41 views

I have 3 figures that I want to place in a row

I have 3 figures that I want to place in a row. I trim the figures as original figures have a lot of whitespace. The two figures gets placed in a row but one figure moves to the next row. Is their a ...
3
votes
1answer
52 views

Bug in includegraphics [duplicate]

I have an image (image.pdf, http://www.solidfiles.com/d/d8874ce2ff/). This is how the image looks like: And this small TeX code: \documentclass{standalone} \usepackage{graphics} \begin{document} ...
2
votes
2answers
49 views

Captioning side by side figures

I need to get two figures side by side and I am using the following code: \begin{figure} [H] \centering \begin{subfigure}{0.49\textwidth} \centering \includegraphics[width = \textwidth]{1e4} ...
0
votes
0answers
98 views

Image not recognized as PNG

MWE: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure} \includegraphics{markov01.png} \end{figure} \end{document} Error: libpng: internal error ==> Fatal error ...
2
votes
1answer
34 views

Resizing graphic to show relative size

I have divided my frame in two columns. Both columns have titles,picture,itemized text as in how to add title to column with graphics the only difference is that I am adding graphics in my frame as ...
2
votes
1answer
75 views

How to label the nodes ( coordinates ) in tikz picture?

\documentclass{article} \usepackage{tikz} \usetikzlibrary{quotes,angles} \begin{document} \begin{tikzpicture} %[scale=3] \draw (0,0) node[below]{$O$} circle (2); \coordinate (A) at (120:2); ...
2
votes
1answer
30 views

I have the follow boxplots that I wish to add averages

I have the following boxplots: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \usepgfplotslibrary{statistics} \begin{document} \begin{tikzpicture} \begin{axis} [title ...
0
votes
2answers
110 views

Side-by-side images in LaTeX

I need to put 2 figures side by side in LaTeX where the first figure needs to be given a caption and the second must not be given a caption. I have tried the following: \usepackage{floatrow} ...
1
vote
3answers
146 views

Create circuit using circuitikz

I don't know how to create circuit like the image in the attachment.
2
votes
1answer
116 views

Latex rotating my iphone 5s .jpg pictures

My iPhone pictures are automatically saved as .jpg files. When I want to load the Pictures to my latex document, they are somehow rotated 90 degrees. However if I edit the pictures and save them ...
6
votes
1answer
163 views

Edit the piano.sty to fit numbers in circles

The basis for my question: How to make or add options for packages or functions Is it possible to make it so that one could write numbers in the circles, like so?: Here is a minimal example ...
3
votes
1answer
35 views

Moving a subfloat to the background

I have the following problem: i have a figure with 3 subsfigs, (2 top, 1 centered bottom). Since the background of the pictures is white and i want a good layout, I moved the bottom figure up with a ...
0
votes
0answers
35 views

problem colour image in latex [beamer]

I have a problem : I'm using pdfLateX in beamer presentation. Build and view is: DVI->PS->PDFCHAIN also have this in preamb: \usepackage{graphicx} % Allows including images When I'm importing a ...
7
votes
1answer
210 views

Simple drawing with TikZ

Let's me begin by saying that I am a complete newbie. I have been trying to draw te following image but didn't get very far: The following is what I have so far: ...
2
votes
0answers
38 views

What is going on with my PDFs filesize?

I have a LaTeX document with 4 images in it. I tried with PNGs (optimized with PNG Gauntlet: Total filesize 3.85 MB) and got a PDF with a filesize of 9.14 MB, which is getting rather large. I resaved ...
6
votes
5answers
391 views

How to plot a graph

I'd like to create a graph like this in LaTeX: I already tried with pst-all but I've no clue how to do this. So I hope you can help me. PD: I already searched about this in this page and I didn't ...
2
votes
2answers
96 views

How to modify the table command to make it perfect

I am trying to insert my table to the left column of a two columns paper. I want my table looks like this format: The following is my command, the table I create looks ugly! Can anyone give me a ...
6
votes
4answers
442 views

Simple and intuitive tool for generating simple diagrams

I am looking for a simle and intuitive tool for generating simple diagrams to be included in tex document. The graph I want to convert into tex is given below: Ideally, I would like to end up with ...
2
votes
1answer
48 views

Why does this image appear so small?

I am trying to insert an image, scaling it to the text size and rotating it, using the following example: \documentclass{memoir} \usepackage{graphicx} \begin{document} \begin{figure} \centering ...
2
votes
3answers
158 views

How to put several images in one row in LaTex?

I want to know how to put 3 images in one row in Latex, so that it looks like the following format: Anyone can help me! Thank you so much! Note: The figures need to span two columns inside a ...
2
votes
1answer
35 views

I am trying to get the image full screen and landscape

I have generated a picture of chromosomes that I wish to make landscape: \documentclass[12, twoside]{report} \usepackage{graphicx} \usepackage[a4paper,margin=1in]{geometry} \usepackage{lscape} ...
3
votes
3answers
109 views

How to cross out a word with a wavy line in LaTex

I need to cross out a word with a wavy line in LaTex. I used ulem package but the result was underlined word with a wavy line. This is my code so far: \documentclass{article} \usepackage{pict2e} ...
2
votes
2answers
59 views

Place % in file path

How can I reference a file path that contains a %? Using the standard escape (\%) does not seem to work. Unfortunately, changing the directory name is not an option. Example: ...
0
votes
2answers
78 views

inserting picture or figure on another picture

I have just wanted to know how can I insert a figure or picture on another figure or picture as clarified in attached picture, where the whole gray box represents the main figure while the blue one ...
0
votes
0answers
40 views

Page break between images of a figure

I have several images in a figure which can not come on a single page. The images near the bottom are trying to insert inside the bottom instead of going to the new page. I am using a package ...
0
votes
1answer
48 views

Including monochrome TIFF [duplicate]

I have a monochrome TIFF (hand-drawn ornament) which I want to include in my book, but I want in not black-and-white, but pantone-and-white — the book will be printed in two colors. What should be my ...
4
votes
1answer
142 views

Fancy header and footer including images with tikz

Consider the following code: % DOCUMENT TYPE \documentclass[12pt,a4paper]{article} % PACKAGES \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} ...
4
votes
1answer
80 views

Crop an image in tikz using 2 points of reference and a height

Consider the following code: % DOCUMENT TYPE \documentclass[12pt,a4paper]{article} % PACKAGES \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} ...
0
votes
0answers
28 views

Incorrect position of figure

\textbf{Step 4:} Create a new Tomcat server in Eclipse: click File -> New -> Others, search for ``Server" and click it. See the following picture. \begin{figure}[h] ...
2
votes
1answer
27 views

I am trying to align the caption text better

I made the following boxplots: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \usepgfplotslibrary{statistics} \begin{document} \begin{tikzpicture} \begin{axis} [title ...
3
votes
1answer
41 views

How to configure complex options for graphics groups in LyX

I have a document with several images from a few different sources. I'd like to indicate different formatting options for each source. I understand I can use graphics groups for this, but I don't know ...
1
vote
0answers
19 views

Make images ignore left margin [duplicate]

I would like to fit 2 plots next to each other on a page. These 2 plots need to be large enough, to the numbers on them can be read. Currently, I use the following to add the images: ...
1
vote
1answer
24 views

Use default message if file is missing

There is very simple and fool-proof solution for default actions if included file is missing. It is using \IfFileExists{IncludedFile}% {% routine if file exists }% {% routine if file does not exist ...
1
vote
0answers
91 views

jpg image is flipped upside down

I am assembling figures for my thesis using: \documentclass[12, twoside]{report} \usepackage{textcomp} \usepackage{graphicx} \usepackage[a4paper,margin=1in]{geometry} \begin{document} ...
3
votes
2answers
42 views

tabular doesn't give two equally-size figures

I have produced two boxplots. Amplification.tex: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \usepgfplotslibrary{statistics} \begin{document} \begin{tikzpicture} ...
4
votes
1answer
23 views

I would like to manually extend the y-axis to include zero

I have the following box plots: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \usepgfplotslibrary{statistics} \begin{document} \begin{tikzpicture} \begin{axis} ...
0
votes
0answers
40 views

My image is being scaled as ridiculously small

I am in hurry, therefore I decided that to make a list describing what different icons do in my program, I'll use this simple code: \begin{enumerate}[label= ,leftmargin=*] \item ...
4
votes
1answer
84 views

Some normal letters from included PDF disappear in compiled document

I have made a figure in Adobe Illustrator, and saved the file as a PDF file. This PDF works fine when opened. I want to include this figure in my LaTeX file as a picture, which is done with the ...
1
vote
0answers
38 views

What is the best way to draw something over an included graphic?

I want to show a frame containing a dog, a cat and a rabbit one by one. Totally three pictures. So naturally, I would draw the frame first, save it to a PDF or an EPS, and include it three times, with ...
4
votes
1answer
71 views

I am trying to modify my box plot

I have the following box plot: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \usepgfplotslibrary{statistics} \begin{document} \begin{tikzpicture} \begin{axis} [ ...
0
votes
1answer
80 views

Manipulating tikzpicture and includegraphics

I am trying to draw a cauldron with 2 images going in for cooking! I thought of using tikz to draw the cauldron and ti include the images by adding them as nodes in the tikzpicture environment. ...
3
votes
2answers
58 views

Images not spaced properly

I'm placing images into a table, but they aren't lining up vertically, even though they are the same height. A complete example is: \documentclass{llncs} \usepackage{amsmath} \usepackage{array} ...
0
votes
0answers
37 views

Is there a way to plot a frequency histogram from a continuous variable?

I have DNA segment lengths (relative to chromosome arm, 251296 entries), as such: 0.24592963 0.08555043 0.02128725 ... The range goes from 0 to 2, and I would like to make a continuous relative ...
3
votes
1answer
55 views

No way to align images to column top (multicol environnement)

I've been trying everything, but I'm lost right now, is there any way to really align image to the top of the column after a column break. Here's an example code : \documentclass{article} ...
2
votes
1answer
42 views

plotting spectra using r-studio in latex

Hi all. How can I create Raman graphs in latex? I have allready plotted it but I couldn't got it using Latex. So how can I merge between two software?