Tagged Questions

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

4
votes
1answer
18 views

htlatex requires graphic file extensions “jpg” while other latex variants don't. What to do?

I am trying to make a book that is published in both print and ebook format, and I would like one source for the book that works in both media. When I compile the following with xelatex it works. ...
6
votes
5answers
168 views

How to set actual width for a rounded corners image using TikZ?

This question is closely related to LaTeX Photo With Rounded Corners. Suppose I want to put a rounded corners image in a marginnote, so the image fits the \linewidth of the margin. If I use the ...
3
votes
1answer
178 views

Christmas List / Catalog

I'm fairly new to LaTeX, and I thought a fun project would be to create a Christmas list that looks like a shopping catalog. Something like this: How would I go about this? Any good templates or ...
2
votes
1answer
72 views

Love message at the end of a document after references with Teddy pictures? [duplicate]

I am trying to write a love message at the end. I tried \hfill\mbox thing but could not get them working as intended, see below and chat. It requires somehow making background images that go over the ...
1
vote
1answer
40 views

pgfplots tikzpicture node to the right of axis is cut

I have a piecewise-defined function and would like a describing node to the right end of it. Unfortunately the node is cut and not visible using this code: \begin{tikzpicture} \begin{axis}[ ...
3
votes
1answer
41 views

`pgfplotstable`, table overlapping graphic

I have a pgfplots graphic in a pgfplotstable, and a part of the graphic is overlapped by the table like you can see in this picture: The 800 at the top is cut by the tabular border. Here is a MWE: ...
1
vote
1answer
46 views

Inserting Images

I'm having troubles inserting an image in LaTex. This is what I wrote: \begin{figure}[H] \centering \includegraphics[scale=0.3]{hi} {desktop/hi.jpg} \caption{Placering og budget} ...
0
votes
0answers
54 views

How do I convert a simple raster image to TikZ

How would you go about converting for example this logo into a tikz picture not using the png but drawing it yourself? I dont ask you to Draw the complete logo but I would like to know how to draw ...
1
vote
1answer
33 views

How to edit `\makeletterclosing` to insert graphic of signature

I am using this popular formal letter template from Latextemplates.com. However, at the end it uses the command \makeletterclosing to print the closing message (something along the lines of "thank you ...
2
votes
2answers
47 views

Equation and image aligned on beamer slide

I'm trying to make a beamer slide which has some matrix equations and an image lined up with each other. Here is my attempt: \begin{frame}\frametitle{Transportation polytope constraints} A ...
2
votes
0answers
50 views

Best practice for including standalone commented equations with tikz

I'm writing a document where there are some equations which I'm commenting with hf-tikz package. It needs two LaTeX compilations in order to get the right coordinates and to draw everything in the ...
0
votes
1answer
60 views

What to do when including graphics path causing error?

I have the following entries before the \begin{document}: \DeclareGraphicsExtensions{.pdf,.png} \graphicspath{ {./images/} } I have verified that the path exists with the requisite files. But I ...
5
votes
1answer
72 views

How can images be separated from text by a horizontal line?

I would like to arrange my text according to the style used by chemical journals such as JACS. In there, images are separated from text by a dark blue, thick line from the text (horizontal line with ...
2
votes
1answer
56 views

Curriculum vitae with publication image

I would like to insert small image for my publication list, similar to this one:
3
votes
2answers
41 views

How to top center a picture in a table cell?

Hello I'm very new to LaTeX, and how it works. I want to make a table with 6 columns and x amount of rows. \section*{\centerline {Counter-Strike: Global Offensive}} Her finder du information om de ...
3
votes
2answers
60 views

Errors with Asymptote

I am trying to draw a simple tetrahedron with the following code (in Asymptote) size(10cm,0); import math; import three; import graph3; currentprojection=perspective(1/3,-1,1/2); real l2=sqrt(0.75); ...
3
votes
0answers
46 views

Transparent png prints incorrectly from Reader

I have a transparent PNG over a tikzpicture. This prints fine from TeXworks (left image), but from Adobe Reader the transparent area is noticeable (right image). Since most people use Reader, this is ...
0
votes
1answer
70 views

Time line with marked points, flipped curly brackets beneath using Tikz package

I have previously used the Tikz package for illustrations of nodes and paths in LaTeX, but I don't know where to start to make the figure illustrated below. Could someone please give a rough setup ...
3
votes
0answers
16 views

Can I disable interpolation (enable nearest-neighbor filtering/upsampling) with \includegraphics? [duplicate]

When I include the .png image on the right side (32x30 px) in a LaTeX document and typeset it with latexpdf I get the blurry result on the left, even if I turn interpolation off using ...
2
votes
3answers
131 views

Strange graph in tikz

I want to make a strange graph in tikz. This graph has some nodes inside the nodes... like this figure: I tried this: \newcommand{\twonodes}[2]{% \begin{tikzpicture}[node distance=0.7cm] ...
2
votes
1answer
74 views

Security Protocols In Latex

I am quite new to latex. As part of a course we are required to submit different variations of protocols using the regulars Alice, Bob and Trudy. I was wondering if it is possible to produce ...
4
votes
2answers
123 views

5 Figures arranged in 3 rows x 2 columns

I would like to arrange 5 figures in 3 x 2 format. I would like the figures to look like this: I tried the following (See below) but cannot get the 2 figures in the second row to be centered. ...
4
votes
1answer
64 views

Shrink image on click in beamer

In my frame I have a list with three images. Each subsequent image should appear on the next click, below the previous image. This is working fine, but I would like the previous image(s) to shrink in ...
9
votes
1answer
1k views

Why has no one told me I can use rubber lengths for graphics? Is that bad?

I just had a thought. Quite commonly when I define a figure graphics I write something like: \begin{figure}[btp] \centering \includegraphics[width=0.95\textwidth] ...
0
votes
0answers
36 views

Flashmovie in Beamer using JW-player

I am using this to play a flashmovie in beamer: \flashmovie[width=7cm,height=7cm,engine=flv-player,auto=1,loop=1,controlbar=0,image=Li.png]{Filament.flv} This is working however flv-player is not ...
0
votes
0answers
39 views

Beamer video getting rasterized

I have .avi, .mp4, .swf files of the same movie. When I play the movie with: \width=250pt \height=250pt the video will play smoothly on any of the formats. However if I change the size of the video ...
0
votes
2answers
36 views

Enforce figures to be placed in the same section [duplicate]

I'm having some sections in a report with more images (figures) than text. I include the images in the following way: \begin{figure}[h] \centering ...
1
vote
1answer
82 views

How do I put a bounding box around a poorly saved .SVG image?

! LaTeX Error: Cannot determine size of graphic in ./queen-diamond-red.svg (no BoundingBox). How do I put proper bounding boxes into an .SVG file? I tried viewBox="0 0 156 156" I attached the ...
0
votes
0answers
38 views

how to get figures in the choice?

I am using the following environment in my tex file... \documentclass[11pt,a4paper]{exam} \renewcommand{\baselinestretch}{1.2} \oddsidemargin 0in \evensidemargin 0in \topmargin 0in \textheight 9.2in ...
1
vote
0answers
40 views

The code of figures at the end of file, indeed

This question is connected with How to put figures at the end of pdf file. As one can see from @cfr's and mine comments, I hoped, that it was a question, how to put a code of figures, wich are lying ...
2
votes
1answer
70 views

How to put figures at the end of pdf file

I'm preparing an article for submission in a journal and it requires that all figures must be coded at the end of the TeX file and not inline. I've tried to use : ...
0
votes
1answer
46 views

Both scale and reduce height of graphics

This is how i add the graph in latexila \centerline{\includegraphics[scale=0.5]{e1.png}} Question is can I also reduce its height after I scale it? The reason I want to do this is because I don't ...
0
votes
0answers
53 views

Having troubles working with .png and .eps

When I work with PNG files using \includegraphics, the image is shown with less quality than the original in the PDF viewer. I've already tried with EPS files, but after a successful compiling, I see ...
0
votes
0answers
30 views

Successive overlays on image?

How could I make appear on a map of Europe successive dots or areas? Say, I want to show countries with slavic languages marking them one by one with a dot/area/rectangle; then, countries/areas with ...
0
votes
0answers
36 views

No error message but no image shown (sharelatex) [closed]

I am using ShareLatex and struggling to get a graph on my document. I uploaded the image in .eps format and created a folder called "graphs". No error messages are shown, but no picture is visible on ...
0
votes
1answer
39 views

Center included pdf graphic

I'm having trouble to center some graphics (in pdf format) I'm including in a latex document. I've tried with \begin{center} \includegraphics{mygraph.pdf} \end{center} and \begin{figure} ...
2
votes
1answer
53 views

insert graphics in cool tool tips

Is there a way to include graphics in cooltooltips argument? like \cooltooltip[0.5 0.25 1]{Example}% {\includegraphics{graphic}}% {http://www.panoramio.com/user/4366708}{Visit my site}{My ...
0
votes
0answers
33 views

How would I insert an .svg image as a symbol into latex?

If I have a symbol which is an .svg image, how would I insert it into as a symbol and not an image? Could I make it into a glyph or a font? How would one do that?
2
votes
1answer
48 views

An extra margin is added when used \begin{center}

In my MWE I use \frame{\includegraphics....} to find what happens \documentclass[12pt,a4paper,oneside,openany]{book} \usepackage{graphicx} \begin{document} \begin{center} ...
0
votes
1answer
49 views

Add biographical summary in the end of a paper

I am writing a paper using spring latex template. But i cannot add an author's biography using \begin{biography} ... \end{biography}, the spring class seems not providing biography environment. I find ...
2
votes
1answer
66 views

matrix image in Beamer

I am preparing a Beamer presentation, and would like to have kind of a function (I will do this several times with different inputs) that given a matrix with elements between 0 and 1 (like an output ...
0
votes
2answers
59 views

subplots 3X3 with one colorbar at the top

I wanted to do 3x3 subplots with their colour bar shown north side, I want to write a code that puts them together as 3x3 subplots in Latex and then, I need to place thier colorbar at the north ...
0
votes
2answers
37 views

How to arrange the figure along the line itself?

How to arrange the figure along the line itself? My picture must be along the question itself. How to do that?? help me. Thanks in advance \documentclass[12pt,a4paper]{exam} ...
0
votes
0answers
43 views

LATEX: graphics is half displayed in generated PDF [closed]

I have used following code segment to include a figure in my Latex project: \begin{figure}[t!] \begin{center} \includegraphics[keepaspectratio=true,scale = .45]{Figure01} \caption{Coexisting ...
3
votes
3answers
102 views

How to use a macro to store the default pgfplot properties

I have some default settings for my pgfplots plots, such as xlabel, ylabel, width and so on. Since I have a large number of such plots and don't want to repeat all the properties, I want to store them ...
2
votes
0answers
91 views

How to add Wolfram Manipulate function and image?

I have a problem with including a Wolfram Manipulate function and one image at the same TeX document. I used this code for Manipulate function: d=ParametricPlot[{{x, y}}, {x, 0, 0.2}, {y, 0, 0.2}, ...
1
vote
1answer
29 views

How to make the pdf file that inserted stayed the position I give?

I'd like to typeset the Mathematica code.My solution is Select it (by clicking on the right square bracket ]). Then, following the menu's File>Save Selection As... and saving as a PDF ...
2
votes
1answer
75 views

Memoir chapterstyle - add image before chapter num

Hello I am trying to "publish" my 9yr old's story using the memoir class. I want to use the built in thatcher chapterstyle but modify it to include an image above the chapter title (I want the same ...
1
vote
0answers
17 views

Cannot determine the size of graphic [duplicate]

I know this question asked here before, and I've seen all your answer but it didn't work with me just \includegraphics[width=0.8\textwidth,natwidth=610,natheight=642]{first.png}work, but if I do ...
9
votes
1answer
136 views

Include PDF with OCGs

I want to avoid to recompile large tikz graphics and therefore I compile them as a standalone pdf file. This file contains some OCG layers which I want to use in the main file, but the OCG layer are ...