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

3
votes
2answers
43 views

How to center image in 2 column tabular when one side is Verbatim?

I am having hard time finding the correct way to typeset this: I need to have code as verbatim on one side of the page, and show the output (an image) on the right side of the page. I have tried ...
0
votes
0answers
20 views

Size of EPS images in \subfig environment not the expected!

When I insert two figures which I expect to be equal in width and height using \subfig as shown below \begin{figure} \centering \makebox[\linewidth][c]{% ...
0
votes
1answer
94 views

Best practices for using MATLAB images in LaTeX?

I am writing a paper currently using PDFTEX, and I make heavy use of MATLAB figures. The problem is that when I make a MATLAB figure, I can adjust it to any size, before saving it. When I save it, I ...
3
votes
1answer
63 views

Table in a resizebox out of bounds

I'm trying to resize a table so that it will fit a page, following the instructions given in this question. However, \centering doesn't seem to work, as shown by this example: \documentclass{article} ...
1
vote
1answer
45 views

Centering a table of images

I'm trying to center a table of images; 2 images per table row. Right now the code I have is ugly, and doesn't center on the document. I've tried using \begin{center} and \centering without any luck. ...
2
votes
0answers
31 views

How to make an image occupy the remaining white space on a page? [duplicate]

I would like to have a figure that occupies whatever white space is left at the bottom of the page without having to fine tune it manually. Here is an attempt of what I'm trying to do: ...
4
votes
1answer
58 views

Another problem with display graphic

I have full code of my document (I hope it's correct now): \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[demo]{graphicx} \usepackage{placeins,listings} \begin{document} ...
1
vote
0answers
58 views

How can I reduce the size of figures and/or the size of the final PDF document? [duplicate]

I usually include .pdf figures (vector graphics) in LaTeX files. The problem is that when I compile everything, the resulting file, which also has .pdf extension, is too large. The size of the final ...
2
votes
0answers
25 views

How to make gv (DOT) files work under LyX

I'm using LyX. After adding this gv file using Insert->Graphics, LyX automatically generated a perfect preview of the file, as expected. However, when I try to export or get a preview using dvi ...
0
votes
0answers
45 views

How to create a figure of our own

I want to create the following picture in LaTeX. How can I do this?
4
votes
1answer
65 views

problems “xtick”,“ytick”, add legend… in Gaussian with pgfplots

I have the following code: \documentclass[12pt,a4paper]{article} \newcounter{conto} \setcounter{conto}{\time} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
4
votes
1answer
96 views

Caching includegraphics{} image files for speed

our graphics files were created by third parties. I don't have much control over them. I do have access to Imagemagick, so I can shrink and/or manipulate them. for example, I have a 200KB ...
3
votes
0answers
72 views

How do determine the arrow form in Tikz

I plotted following image: Using this code: \documentclass[10pt,a4paper,twocolumn]{article} \usepackage{bondgraph} %Draw bondgraphs ...
5
votes
1answer
35 views

How to abbreviate the “trim” option of an image in a \newcommand?

I apologize if my question is worded incorrectly, please feel free to modify it. I have a long document with many figures, most of which need to be trimmed at the same lengths. I would like to ...
14
votes
1answer
213 views

Are there external graphics files with natural depth?

The \includegraphics command from the graphicx package provides options height and totalheight for resizing embedded graphics. As long as the graphics file doesn't possess a natural depth, it doesn't ...
0
votes
0answers
64 views

How to import `.jar` files in beamer presentation?

I'm using a beamer template to do a presentation and I need to import a .jar file. Is there a specific package for importing such files, or is it even possible?
1
vote
0answers
47 views

TeXstudio error

I'm using TeXstudio IDE. I'm currently facing a problem in the first page of presentation. The IDE throws an error saying the image is not found. The code as follows: \title{\textbf{Design, ...
5
votes
2answers
138 views

SWOT Table - how to convert to an article?

I need a SWOT analyse in color, and I found this one at http://www.mostlycolor.ch/2013/10/colored-blocks-in-beamer.html : Can someone help me by converting the beamer, so I can use it in an ...
0
votes
0answers
28 views

Customizable size of image [duplicate]

I have the following problem: I have a document with image on title page. User can select custom image for title page. I need some space, fixed space for image. this space should be fixed, and it ...
1
vote
0answers
66 views

Print screen img - png/eps loses quality with no scaling

I am trying to include image to LaTeX, but I loose quality. It is a print-screen with image and little bit of text and it looks awful after the conversion to PDF. I guess that DPI of the image is ...
5
votes
1answer
56 views

Tips on ways to mark important equations/statements in a thesis/paper

I'm writing my masters thesis and in it I have a set of examples for different chapters which I separate from the rest of the thesis by a mdframed-box. Furthermore, I have a set of equation that are ...
1
vote
2answers
79 views

How to insert images with graphicx?

I'm trying to insert an image to my file, but I can't figure out how to do it. I've added \usepackage{graphicx} to my preamble and when I drag and drop an image to my file (I'm working with ...
5
votes
3answers
241 views

Typing Complete Graphs with edge and vertex label

I'm new here. I think this is the right place to ask this question. Basically I would like to type a simple looking complete graph like this: ...
2
votes
2answers
169 views

How to embed image in the whitespace between words

I would like to have an image 'embedded' in a page within my document, but done so with the whitespace between words. Ultimately I would like to have a moving image if you flick through the pages. I ...
4
votes
2answers
128 views

Table and graphic frame

Is there any LaTeX package that can produce tables and figures like the example in the folowing image by default? EDIT: I used tcolorbox but I did not get the result needed as I'm not familiar ...
1
vote
1answer
164 views

How can I draw 16 pin macro by use circuit-tikz package?

I want to draw this macro by use circuit-tikz package.
0
votes
0answers
53 views

Image link clickable in non-white areas (excluding the background)

Consider image sample below. I'm including it using \includegraphics and I have linked it to an url using \href. What I would like is to have it in the pdf file in such a way that the mouse would ...
6
votes
0answers
103 views

Typeset book for children

I am working (writing and typesetting) on a book for children. I have used the memoir class. The book looks good for an adult audience. But I had ideas of making it more interesting for the children. ...
4
votes
0answers
42 views

paging problem with a 2\columnwith image on a three-column text [duplicate]

i'm having an paging problem including a two-column large image inside a three-column text page. I tried with the code: \documentclass[]{book} \usepackage[T1]{fontenc} \usepackage{graphicx} ...
3
votes
2answers
502 views

How to make the dot in the mid of square?

\begin{tikzpicture} \coordinate (1) at (0,0); \coordinate (2) at (2,0); \coordinate (3) at (2,2); \coordinate (4) at (0,2); \coordinate (5) at (0,0); \coordinate (6) at ($(1)!.5!(2)$); \coordinate ...
0
votes
1answer
88 views

Node numbering problem?

\begin{tikzpicture} \coordinate (1) at (0,0); \coordinate (2) at (1,0); \coordinate (3) at (0.5,1); \coordinate (4) at (0,0); \coordinate (5) at ($(1)!.5!(2)$); \coordinate (6) at ($(2)!.5!(3)$); ...
5
votes
1answer
274 views

Want to make the following shape function in TikZ? [closed]

Want to make the following shapes function in TikZ \begin{tikzpicture} \tikzstyle{every node}=[draw,shape=circle]; \draw (0,0) -- (0,1) node {1}; \draw (0,1) -- (1,1) node {2}; \draw (1,1) ...
0
votes
0answers
54 views

Need some material about TikZ? [duplicate]

I am interested to work on "TikZ" so I need some material for read and also for practice. If anyone have then share with me.
1
vote
1answer
67 views

Change font size of caption, only in marginpar?

I'm using \marginpar and \captionof to have figures appearing in the margins of my documents, including figure captions. This works well. But now I want to change to font size of the captions ...
0
votes
0answers
29 views

inserted graphics appears out of the page!

This is my code: \begin{figure} \begin{center} \includegraphics[scale=1]{C:/Users/Prathmesh/Desktop/research papers/runoff water harvesting/LaTex/waterpan.png} \caption{SILT TRAP} \end{center} ...
2
votes
1answer
202 views

Circle with a cross inside feynmp

The below code produces essentially what I want but there must be a more elegant way and more automatized way. I want a circle with a cross inside it at a vertex: ...
4
votes
1answer
123 views

\addplot graphics: maintaining image's aspect ratio despite different scaling of axes

I have created a plot using a sophisticated program and would like to put the content of that plot into pgfplots' axis environment. Naturally, \addplot graphics is the way to achieve this. The Image's ...
1
vote
0answers
41 views

Horizontal placement of graphic in left and right margins

I want to place small graphics in the outer margins of my 2-sided document. I've been using, e.g., \marginpar[{\hfill \includegraphics[scale=.3]{figures/ivy-univ.png}\hspace{8 pt} }]{ ...
5
votes
4answers
116 views

Subfigure captions appear too close together

Is there anyway to avoid what is observed below with the subfigure captions appearing too close together? I would rather not use the minipage environment as a solution. \documentclass[]{article} ...
1
vote
0answers
69 views

Avoiding compression artifacts when displaying results of image processing experiments

I'm creating a latex document in which I display results of some image processing experiments. In particular, I'm displaying a black and white image which has been blurred (artifically) and then had ...
1
vote
0answers
40 views

Border/frame for special text in latex

I'm writing about hash strings like this: "1DGooBsCL8eBHRq4UHPwiYbvu2Weiuw837" etc. I would like to do some border box or decorations for hash strings. Is it possible in latex?
3
votes
1answer
48 views

Overlay/merge images with a slanted edge

Is there away to overlay two images, I only want to see half of one and half of the other. The picture below shows the effect I'm going for. Should I just be processing my images in Photoshop or can ...
5
votes
2answers
195 views

How to calculate the width for placing 2 big images side by side?

I'm trying to put 2 images in a row with this code, and runs well, but... don't adapt the size of the last 2 images in a row. \documentclass[12pt,a4paper]{article} \usepackage{graphicx} ...
4
votes
2answers
148 views

Is it possible to make a tikiz's school book axes in logarithmic coordinate?

I'm wondering if it's possible to do a plot like this with tikz, (or with pgfplot): I need some help, thanks This is a start: \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} ...
1
vote
1answer
100 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
147 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
115 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
75 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) ...
4
votes
1answer
164 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
138 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 ...