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

1
vote
1answer
46 views

Selectively replace images by “draft”-like frameboxes

I have a long pdflatex file containing many images, some of which are quite large. Has anyone written code about selectively replacing images by the framebox produced by the draft option of the ...
2
votes
1answer
30 views

Using kpathsea command to expand filenames like \includegraphics

The \includegraphics command from graphicx automatically tries different extensions for the figures. For the purpose of automatically processing latex files, I'd like to be able to emulate this ...
0
votes
2answers
139 views

Block diagram using TikZ

I am trying to draw the following block diagram using TikZ... No way :( Can anyone help me? Thank you so much!!!
0
votes
1answer
100 views

Drawing stacking of layers or plates

I would like to get the following image. Is it possible to draw using tikz or pstricks in latex? Please note the text labelling as well. I got a link in a similar spirit, but could not utilize it ...
2
votes
1answer
42 views

Using pictures / images as x-axis label in pgfplot?

is it somehow possible to use external pictures as explicit labels in pgfplot? Or can I use the draw environment within the label definition? I tried it in two ways: \begin{tikzpicture} ...
1
vote
1answer
19 views

Vertical align table and image

I'm trying to make a table with an image at one side \documentclass{article} \begin{document} \begin{table}[h!] \centering \begin{tabular}{c p{5cm} } \begin{tabular}{c c c | c c } \hline ...
0
votes
0answers
14 views

How to position two figures side by side with custom alignment? [duplicate]

I would like to put two figures side by side such that they are centered on the page and have an arbitrary (given) space between them. Although there are a lot of similar questions here, none has ...
2
votes
1answer
50 views

Problem add to pdf image file in directory

MWE, \documentclass[a4paper,12pt]{book} \usepackage[turkish]{babel} \usepackage{graphicx} \usepackage{import} \graphicspath{ {ABC/} } \newcommand{\circuit}[1]{ \begin{center} ...
0
votes
0answers
43 views

Latex stretches my last page before plots

If an image is too big to be put on some page that already contains some text, Latex puts it on the next page and stretches the space between the text lines of the preceding page. I would rather ...
0
votes
0answers
20 views

Wrong figure reference number in table [duplicate]

Hi I'm using images in longtable. To define captions in the longtable enviroment I defined this: \makeatletter \def\figcaption{% \refstepcounter{figure}% \@dblarg{\@caption{figure}}} ...
2
votes
1answer
165 views

Decreasing size of confusion matrix

I used proposed code in How to construct a confusion matrix in LaTeX? to create a confusion matrix: \documentclass{article} \usepackage{array} \usepackage{graphicx} \usepackage{multirow} ...
3
votes
1answer
76 views

How to use thumbnails with tabu environment in latex

I have been trying to add thumbnails as a column entry in {longtabu}. LaTeX - Insert thumbnail with link to fullsize image contained in appendix came to the rescue. Now, the thumbnails inserted as ...
1
vote
1answer
66 views

Longtable and figure caption problems

I am trying to define captions in longtable enviroment. According to Adding a caption to a graphic inside a longtable I should define: \makeatletter \def\figcaption{% \refstepcounter{figure}% ...
1
vote
2answers
209 views

Logo Top Right Latex Beamer Warsaw Presentation

How do I place a logo in the center (center height, and center width) of the top right purple box which appears on every slide of the Warsaw theme? Here is the code for the talk so far: %% Help logo ...
1
vote
0answers
62 views

upgraded to Yosemite, texshop 3.50, problem with graphics in pdf output

I have just upgraded to Yosemite and texshop 3.50. My code worked fine before but now some figures won't appear correctly and seem to be a tiny mosaic of other figures when I scroll through the pdf ...
2
votes
1answer
95 views

Help with subfigure

Hi I would like to use \subfigure in order to have the a figure with 6 subfigures ordered as follows: where (a1) (a2) ... (c1) (c2) should be the figure name not the caption! (I forgot the ...
3
votes
1answer
72 views

Pdflatex on file with large amount of pictures

I have a tex file that's generated by an automated bioinformatics pipeline as a report. Usually, this is roughly 50-150 pages, but that's based on 1-3 samples. It contains many quality control graphs. ...
1
vote
0answers
27 views

pdf image is imported without x and y axes label

I am trying to import a pdf image into Latex with the below code, however, the image appears without any x and y axes labels. Not sure what is the problem. Here is a link to the pdf file. ...
1
vote
1answer
51 views

Two caption names for figures

I am typing my thesis in LaTeX and I have problems with captions. In my thesis are pictures as well as graphs. According to my school I have to have these captions: picture: "Obr. XXX", graph: "Graf. ...
0
votes
0answers
35 views

How to insert a pdf figure at the right position [duplicate]

I am new in LaTeX and I am trying to insert a .pdf figure to my LaTeX code. (I use pdflatex and my distributor is Texmaker) I have the following code \documentclass[11pt,a4paper,fleqn]{article} ...
0
votes
1answer
90 views

How to draw a line chart like this?

From this site, I have learned how to draw fancy pie charts and bar charts. However, I cannot find a simple way to draw a line chart like the google's. Below is the screenshot: Is there a way to ...
0
votes
0answers
90 views

Get rid of white space around figure

I want to include the image above in my text. The problem is, however, that the figure is orignally pasted on an empty paint document, which causes the whole white space around to be also included ...
0
votes
0answers
52 views

IEEE template shows the wide figure in the middle instead of top

I expect this code to show me a figure on top of the next page: \begin{figure*}[t!] \centering \includegraphics[width=\textwidth]{tiger} \caption{caption} \end{figure*} I tested it and it works ...
4
votes
2answers
102 views

Resizebox within equation environment

How does the resize command work with the equation environment? The following code results in an error. \begin{equation}\label{model3_coef} \resizebox{0.91\hsize}{!}{y_{t}^{3} = -145.071 - ...
2
votes
1answer
109 views

Bad image size on only some images when using bb argument of \includegraphics?

I've had a snippet of code, that I've used (apparently) with tex4ht (which compiles with latex) to obtain an html document - and as far as I can remember (was some time ago) it worked without a ...
2
votes
2answers
66 views

How can I align this image and add a text box right below that aligns horizontally?

I know that my previous questions are similar. I am writing my thesis and have many more pictures in this style: aligned picture with text box under describing what it is. I can make the graphs, but ...
2
votes
1answer
34 views

I still can't get the graphs to align

I have already posted this question previously, but I couldn't add this new code (too long). So I reposted. Here is my code. The images align one on top of each other. I would like them side-by-side. ...
1
vote
1answer
45 views

Distributing images correctly

I'm writing this text, and I have some images which I would like to put in the text. I am using \usepackage{subfig} \usepackage{float} in my preamble, so I can force the figures to stay where I ...
1
vote
1answer
93 views

How would I specify intervals?

I am new to latex, and would like to plot a graph where the x-axis has intervals. I have this sample code that is not interval: \documentclass{article} \usepackage[margin=0.5in]{geometry} ...
0
votes
0answers
36 views

Writing inside the image as in the Figure [duplicate]

I have set my image as you see in the attached figure, is it possible to do so in Latex? and how ?
6
votes
3answers
210 views

Vector vs. Raster: Is there any reason to include (larger) vector images into a LaTeX document?

I always prefer to keep my images in my library in vector form, so that they can be easily modified or scaled later if needed. However, when I am actually using these pictures in a LaTeX documented, a ...
1
vote
0answers
62 views

LATEX- The picture doesn't appear [closed]

I am writing something in LATEX and I want to insert an image. I wrote at the beginning this: \usepackage{graphicx} \graphicspath{ {shm/} } shm is the folder where I saved the picute that I ...
2
votes
1answer
89 views

Rotate around the origin of coordinates in Tikz

I use rotate command in Tikz to rotate graphics around the origin. However, this does not work when I substitute coordinates with references. \documentclass[a4paper,12pt]{standalone} ...
1
vote
0answers
70 views

Include intentionally pixelated graphics in document [closed]

I am trying to create a poster for a conference. One element of my scientific data is a 12 pixel by 12 pixel image that I would like to display heavily "magnified". In other words, I want it to be ...
17
votes
3answers
1k views

How to draw many crossroads?

(April Fools' Day joke) How do we draw something like this? I enclose a picture and a detail of it. Update: I enclose one more screenshot (with TeXs sitting at the crossroads) if somebody is actually ...
3
votes
0answers
93 views

Fit bounding box to gnuplot legend

Summary: Is there a way to automatically reduce the bounding box of an eps file to only fit displayed text? Details: A while ago I asked a question about combining multiple gnuplot graphs into a ...
-1
votes
2answers
118 views

tikz picture with LFG architecture

I have a jpg file showing the LFG (Lexical-Functional Grammar) architecture which I would like to draw using tikz, so that I don't have to load the jpg into my pdf (which would result in quality ...
2
votes
3answers
128 views

How to insert three images in one slide?

I am having a problem with inserting three images to one slide There is one similar question How to put 3 figures in one slide in beamer? However, this one is when one wants to put text there. ...
1
vote
1answer
51 views

How to place captions to each figure in beamer

I am facing a problem with inserting figures and their caption , my code is as follows \documentclass{beamer} \begin{document} \begin{frame} \centering \caption {example1} ...
0
votes
2answers
56 views

how to change a colour of a specific word in a line?

Actually I want to change colour of specific word in a line in a presentation \documentclass{article} \usepackage{xcolor} \begin{document} \begin{frame} What I have here \begin{itemize} ...
0
votes
1answer
45 views

how to insert three figures in a presentation?

I want to insert three figures in a presentation, is anybody have any suggestion ? one on top and two side by side in down. I would like to first show the two down and after the one in top appear. ...
0
votes
1answer
125 views

How should I display a png file using pdftex

I has been over 10 years since I needed to display graphics using TeX. Previously I would use: \usepackage[pdftex]{graphicx} and later something like \includegraphics{Fig_02.png} \hfil Now, ...
2
votes
1answer
138 views

How I can draw a semitransparent gray sphere shell with a hole using TikZ?

I need to represent a gray sphere of radius R with a hollow circle defined by a cone of angle alpha, and I have the cone part but I do not know how to draw the sphere .... I Have this: ...
1
vote
0answers
118 views

How to insert an image in the footline of a beamer presentation

I'm using the Madrid theme but I would like tu use images instead of colored backgrounds for the frametitle and the footline. This is what I have so far I want to do the same thing I did for the ...
1
vote
1answer
32 views

Centering an image with changemargin command

I'm using changemargin package for the first page of my thesis, but \documentclass[a4paper,11pt,twoside,openright]{book} \usepackage[italian]{babel} \usepackage[utf8]{inputenc} ...
3
votes
0answers
26 views

What is the best approach regarding .cfg files for the LaTeX graphics bundle?

The manual for the 'graphics' LaTeX bundle includes instructions for setting up the right conditions for the use of colour and the inclusion of graphics in documents. For example, on page 2, it says ...
2
votes
0answers
65 views

Figures are messed up when opening PDF in Adobe Reader [closed]

I compile my tex file using WinEdt 7.0. Many of the figures in the generated pdf are messed up if the pdf is opened in Adobe, but the figures are totally fine in the preview (I use SumatraPDF) or if I ...
0
votes
0answers
75 views

Matlab plots not visible in Latex when saved as jpg

I have to put my plots of MATLAB works in LATEX but my problem is that they are not so clear , is there a way to overcome this problem ?
1
vote
2answers
111 views

Placing a figure in the bottom of a page spanning the two columns of an IEEE document

I am writing an IEEEtran article. I use graphicx for inserting .pdf images. Normally, LaTeX selects a position like A. I want LaTeX automatically find and insert the image to a position like B. How ...
2
votes
1answer
47 views

Graphics against page border

Using \begin{tikzpicture} \draw (0, 0) node[inner sep=0] {\includegraphics[width=\paperwidth]{kleurlabel}}; \draw (5.9,0) node (example-tabular) { \begin{tabular}{rr} \LARGE\color{white}\bfseries ...