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

1
vote
1answer
112 views

Why doesn't pstricks allow for my images to show?

I have a simple file with a simple an figure I want to display on top but it's not showing. Instead, I just get this file: Latex Error: ./Mateus_010514.tex:17 LaTeX Error: File `justa' not ...
3
votes
1answer
170 views

Can we color and rotate a cube?

I want to present a cube to illustrate, and I want to color four of its sides. The colors will be blue, red, green and yellow; the two remaining sides should be clear or white or, perhaps, black. In ...
3
votes
1answer
171 views

Linear regression in a loglog-plot with fixed slope

Goal: create a plot to compare the empirical convergence rate of a numerical method with the one expected from the theory. Accordingly, given a loglog-plot, I would like to add the line which has a ...
5
votes
0answers
90 views

Creating a PDF form that accepts uploaded images

I am creating some forms that require users to stick photos in boxes. I was wondering if one could, with some PDF magic, create forms that could accept user supplied (via an upload button on the form) ...
5
votes
1answer
491 views

center a table that uses resizebox

I create a table that I would like centered on the page horizontally. I scale the table size using \resizebox. However, doing so, left aligns the table. How do I center it? Here's a MWE: ...
7
votes
1answer
155 views

Multi-Line/Wave Generator Package for LaTeX?

I'm looking at my professors slides now: http://www.math.ucla.edu/~virtanen/40a.1.14s/schedule/lec1.pdf The first slides always have these intricate wave lines. If you Google search for "wave ...
5
votes
2answers
135 views

How to add a box of a fixed size (width and height) around a graphic of varying sizes?

I've found lots of references for ways to create a box around text, but none for around graphics. I want the border frame around the graphic to all be the same size, with a graphic inside the box, ...
3
votes
2answers
144 views

Want to make the following rectangular box

Want to make the following rectangular box in TeX. Is this possible?
11
votes
1answer
76 views

Inline purified PostScript (MPS)

I just learned how to inline PDF code using the \pdfliteral command and that purified Encapsulated PostScript generated by METAPOST or purifyeps can be converted to PDF code by pdfLaTeX. However, I ...
10
votes
1answer
428 views

Draw a spiral on a sphere

My goal is to visualize damped magnetic precession. Wikipedia features an image, but it doesn't quite capture one essential constraint. Namely, that the magnetization M should be normalized. So the ...
2
votes
0answers
137 views

mdframed box spanning over page break: prevent images in between

I've run into a problem in a bigger documents where pictures get in between the breaks of mdframed boxes. So the scenario is that the mdframed box should break at pageend if it's to large and not ...
1
vote
0answers
51 views

How to generate document with 6 grid images, chapter header and table of contents

I am trying to generate a booklet with a grid of 6 or less images in a grid, and a text caption below it. I would like each page to display the chapter in the header, and have the table of contents ...
0
votes
0answers
51 views

How does one get a psbarcode in a letter's title?

Here is what I'm working with thus far: \documentclass{letter} \newcommand*{\BottomLeftX}{1.0in+\hoffset+\oddsidemargin}% ...
8
votes
2answers
175 views

Include PDF via \pdfliteral

The pdfinlimg package and perl script allow to include ("binary") images directly into the LaTeX source code via the \pdfliteral command. For example, \documentclass[margin=1cm]{standalone} ...
0
votes
1answer
411 views

! LaTeX Error: Cannot determine size of graphic in Pictures/logo.png (no BoundingBox) [duplicate]

I have been using MikTeX version 2.9.5105 without any trouble. I tried to compile using XeLaTeX option on a file that worked perfectly without this option. I had errors. So I decided to come back to ...
2
votes
2answers
53 views

Remove space on the left and right

I use includegraphics to show an image in a LaTeX document. I want to show this picture as big as possible therefore I want LaTeX to ignore space on the left and right on that one page where I want to ...
1
vote
1answer
124 views

Adding 2x2 PNG Subfigures, natwidth, natheight

How do I add 2x2 PNG figures using subfigures? I am unsure as to how the natural height/width (natwidth, natheight) mean and there is a huge gap in between the figures. This is my code: ...
4
votes
1answer
79 views

How to make the subtitle (a or b) of an image position correctly?

I want the following subtitles (a or b) to be shown correctly not like the current view as shown in the following image: Also how can I add more spacing between the two images? \begin{figure*}[htp] ...
2
votes
3answers
130 views

How to put a matrix of images?

I´m trying to put 4 images as a matrix 2 x 2 I´m having troublees with the firs row.... What am I doing bad? (I have read that subcaption(or similar name) package .... was a good packed) ...
3
votes
0answers
162 views

Clip image to drawing area

I have a vector graphic that I need to include in a LaTeX file. Since LaTeX doesn't support SVG, I attempted to include it as a PDF. The problem is, that there are some elements of the image that ...
1
vote
2answers
224 views

Error?? texmaker's build-in viewer

I made a eps file from gnuplot. But, texmaker's build-in viewer can't view it correctly.Other viewer works. The problem is that the Greek letters change to a diifferent letter.And some other letter's ...
5
votes
1answer
73 views

Figure as superscript in section title

I would like to have a section title of special type: I need it to be a letter with a figure in superscript. My code (that does not work) would be: \documentclass[12pt,a4paper]{article} ...
5
votes
0answers
91 views

How can I print a LaTeX document with raster images in halftone? [closed]

I have a LaTeX document with photos in it, and I would like to print this in high quality halftone on a black and white laser printer. I would like to achieve a better halftone than the one my printer ...
2
votes
0answers
125 views

Placing a figure that occupies 2 columns [closed]

Thanks for reading my thread. I have a two-columned IEEE format journal latex, and I want to insert a wide figure. Here is my code \begin{figure*}[ht!] \centering \begin{overpic}{profiles.eps} ...
2
votes
1answer
40 views

How can I get the center of a scaled image wherever I want it---(x,y)---in the document? [duplicate]

According to some coordinate system, whatever that may be, how can I position a scaled image where I want it in the document using the center of the image as the point of reference? For example, ...
1
vote
0answers
93 views

Error with pdf image and texstudio [closed]

I'm writing a .tex file with texstudio. In the tex there are some pdf figures. When i compile it the pdf viewer of texstudio shows me this: . while if i open the compiled pdf with another program, i ...
10
votes
2answers
189 views

Insert an image at the beginning of a chapter

I wish insert an image at the beginning of a chapter that, like in the figure attached, is seen in the white space at right of the title. Moreover, it must be different for every chapter of the book. ...
3
votes
1answer
108 views

adjustbox and includegraphics page selection

I want to use adjustbox package to include graphics in beamer presentations. I prefer it over graphicx because it has max size option which only scale when figure size is larger than certain size. ...
2
votes
1answer
88 views

The scale option of \includegraphics does not work after changing the document class [duplicate]

After .cls file changes, \includegraphics[scale=0.5]{img/GoalHierarchyMetaModel.png} command gives the following error. ! Package keyval Error: scale=0.5 undefined. See the keyval package ...
3
votes
1answer
97 views

Custom Tikz node with background graphics that scale to node size?

I have an SVG shape, which I'd like to use as a sort of a TikZ node border. The shape is basically a path with stroke effects - but the effects have been "baked in", so now I just have a non-stroked ...
9
votes
1answer
239 views

What are the default placement options for a floating figure in Latex?

The document Using Imported Graphics in L A TEX and pdfL A TEX talks about the different ways to affect where a floating figure is placed [htbp]. But these arguments are optional ... So how is the ...
0
votes
0answers
53 views

What path can I use to specify content in beamer theme styles?

The author of this neat theme posted the source on github, but as the commits state, the background image was thrown in later and not referenced in the style files. I added a global background ...
2
votes
1answer
64 views

Problem sizing the image with \includegraphics

This question is very similar to Image from \includegraphics showing in wrong image size, but not quite the same. The size of the image that appears in my manuscript depends entirely on the dpi ...
6
votes
1answer
207 views

Feynman diagrams with feynmf/feynmp - edges of diagram cropped off?

I am trying to create Feynman diagrams with LaTeX/MetaPost and feynmp seems like the perfect package to do so. I had no problems with the tutorial and can generate the diagram itself in .eps without ...
6
votes
1answer
450 views

Is it possible to use includegraphics with relative path inside subfiles?

Question I have many documents that I want to be merged inside one document. It could be for example a kind of year recap, with many different sources that use the same preambule like lectures, labs, ...
4
votes
2answers
430 views

How to create this figure?

I have now spend hours by creating this figure - without luck. I have tried different types of tikz, tikzpicture, pstricks and multido usepackage. Can you maybe help me? I would really appreciate ...
1
vote
3answers
253 views

An image side by side in latex

I would like to have two figures side by side in my document. I found an example on here with the following code \begin{figure} \centering \begin{minipage}{.5\linewidth} \centering ...
0
votes
1answer
76 views

Two graph - same page? (R/LaTeX)

I am using R to create my graph, and I am doing a paper, where I have to put two graph, as showed in the image: In R, my output looks like: y1 <- c(6524, 6701, 6946, 7080, 6920, 6887, 6660, ...
3
votes
1answer
62 views

Using jPicEdt for graphic?

I'm using the jPicEdt to make the diagram and also generate the LaTeX code. I'm trying to increase the size of diagram? \documentclass[12pt]{article} \usepackage{eso-pic} \usepackage{graphicx} ...
6
votes
3answers
1k views

Skype Icon in the CV template?

I'm trying to add the Skype icon in my CV, but it is not working. I am using Miktex 2.9 and WinEdt 8. \documentclass[10pt,a4paper,roman]{moderncv} \moderncvstyle{casual} \moderncvcolor{blue} ...
6
votes
1answer
73 views

How can I get multiple fading directions?

I'm trying to get both a north and south fading direction here: \documentclass{beamer} \usetheme{Warsaw} \usepackage{tikz} \usetikzlibrary{fadings} \setbeamertemplate{background}{% ...
1
vote
0answers
89 views

How to have text overlay top and bottom of image with fade at top and bottom?

How can I make the text in my letter just slightly overlay the top and bottom of a centered, margin-to-margin image within my document. The image is faded at the top and bottom so that the image is ...
1
vote
0answers
59 views

Centering of image does not work

I have used \centering but still the picture is aligned to the right and leaves too much space above it. This is my code: \begin{figure}[t] \centering \includegraphics[scale=0.01]{image-000.jpg} ...
2
votes
1answer
128 views

4 side by side pictures in poster latex

I look for an example to put 4 pictures side by side in the case of a poster with baposter package. thanks
2
votes
0answers
108 views

Umlauts or other special characters in TpX

I'm using TpX to create EPS graphics to be displayed in documents or presentations. At the moment, I'm preparing a presentation in German using the beamer class and include figures via the ...
0
votes
0answers
90 views

Gantt chart is going to beyond the page boundary

I draw a gantt chart under the figure but it is going to beyond the boundary of page. I show my code below; \begin{figure}[h] \begin{center} \begin{landscape} \scalebox{0.6}{ ...
4
votes
1answer
158 views

Stack figures in horizontal plane in 3D rectangular shape without loss of quality

I am plotting figures on GMT but it does not support some features in gridview. So I want stack each figure on different platforms below each other. E.g. I want to add each image like the following
4
votes
0answers
90 views

how does \includegraphics from the graphicx get the size of a .jpg image

Is there someplace where I can read about how \includegrapics uses the metadata that is stored with a JPG image? I have carefully sized 80 images with Photoshop such that the Photoshop's ImageSize ...
2
votes
1answer
75 views

a beginner trying out beamer, can't get it to itemize

I can't get this to itemize, I just want a couple bullet points in my block sorry for the lengthy header its my professors lol %A.DOCUMENTCLASSes. %The document class produces a style for the ...
4
votes
1answer
58 views

Append entries to an existing \graphicspath

I have a \graphicspath command at the beginning of a document (the main document): \graphicspath{{images/}{extras/images/}} I have sub-documents into which I insert images (actually SVG files from ...