Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [graphics]

{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}.

0
votes
2answers
46 views

Inserting an image in latex document

I am trying to insert an image in latex document. But I am getting an error. I am using the following commands with \usepackage{graphicx} \graphicspath{ {/Users/richie/Downloads} } \includegraphics{...
0
votes
1answer
16 views

Span Image over two Columns without Perturbing the Text Flow

I would like to insert an image into a two-column document, but have the text flow around the image, avoiding to perturb the text flow, like shown here: I tried to do it with the option "strip" from ...
0
votes
0answers
11 views

Glossaries add figure (image) after every entry [duplicate]

My glossary looks like this: \renewcommand{\glsgroupskip}{} \renewcommand*{\arraystretch}{1.5} \renewcommand*{\glsnamefont}[1]{\bfseries #1} \renewcommand*{\entryname}{Hitza} \renewcommand*{\...
0
votes
0answers
28 views

How to put a graphic in landscape mode but make the rest of the text continuous?

When I put something in the landscape environment, the paragraphs written before and after are separated in different pages (page n=paragraph that barely fills the page, page n+1=landscape, page n+2=...
1
vote
0answers
18 views

Use multi-page PDF as multiple graphics in LyX with correct preview?

In LyX, the "Insert > Graphics" dialog is the standard way for including graphics and, usefully, provides an inline-preview of the graphic in question. LaTeX's \includegraphics command allows to ...
0
votes
1answer
34 views

Subcaption environment failed. All figures containing a subfigure crashing all of a sudden

I am currently writing my thesis in LaTeX. Today, all of a sudden, LaTeX started crashing. All the figures which contain a subfigure (NOTE: I am using the subcaption package) started receiving the ...
1
vote
1answer
67 views

Broken build if a too big picture is included in a framed environment, how to insert “horizontal slices” rather?

This produces about 5000 pages before crashing: \documentclass{article} \usepackage{framed} \usepackage{graphicx} \begin{document} \begin{framed} \noindent\includegraphics[height=35cm]{example-...
2
votes
1answer
34 views

Tendency indicator for bar charts

I´d like to add an indicator to my bar chart to indicate which values are better. For example sales per days: bigger/more = better vs. bankruptcies per mio residents: less = better). Q: How do you ...
1
vote
1answer
63 views

How to insert Excel figures into LaTeX

How to insert excel figures to LaTeX, I tried the following method but figure resolution too bad: Step 1. Copy and paste the graph. Copy/paste your Excel graph to Visio. Be sure that it is pasted as ...
1
vote
1answer
50 views

How to have a figure touch the top edge of the page?

I want to have a letterhead format with the corporate logo at the very top of the paper. I have figured out how the fill the graphics with the full breadth of the page with the information on this ...
0
votes
1answer
32 views

visual problem with eso-pic

I'm using this code to produce a pdf with three pages: the first with ad image (and no text inside), the second with normal text, the third like the first. \documentclass[oneside,a4paper,12pt]{book} ...
1
vote
0answers
14 views

Use environment variable to specify part of image path in Lyx figures

Suppose I set an environment variable that contain an OS dependent file path (e.g. /User/Dropbox/Project1/Images on Mac and C:\Users\Dropbox\Project1/Images on Windows) How would I go about using ...
3
votes
1answer
36 views

How to read %%Pages:… from *.xbb file

Given the auxiliary file test.xbb %%Title: test.pdf %%Creator: extractbb 20180506 %%BoundingBox: 0 0 300 343 %%HiResBoundingBox: 0.000000 0.000000 300.290000 342.810000 %%PDFVersion: 1.4 %%Pages: 17 %...
1
vote
0answers
38 views

eps figure not showing up using XeLaTeX

I am trying to compile a tex file containing an eps image using XeLaTeX, here is a minimal example: \documentclass[]{article} \usepackage{graphicx} \begin{document} \begin{figure} \centering ...
1
vote
0answers
79 views

Which leads to fewer headaches, embedded PNGs or embedding PDFs?

I noticed that \includegraphics can be used to embed either a PDF or a PNG (and possibly other things as well). Although both are allowed, is there one which is less finicky / less prone to cause ...
2
votes
1answer
51 views

change position of edge label and caption

I have create the following graph \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{amsmath,amssymb} \usepackage{tikz} \usetikzlibrary{shapes.geometric,automata,positioning} \...
1
vote
0answers
32 views

Overlapped figure when insert cropped pdf

I would like to insert figure in another pdf into my document, but the new image is overlapping the text. Can I perfectly insert it? \documentclass{article} \title{Product Variety and Quality Under ...
2
votes
2answers
80 views

How can I overlay a grid with LaTeX on an image?

I have an image (782x512pixels): I would like to overlay a coordinate system (with a grid) where the bottom left hand corner is (0,0) the bottom right is (782,0) top right (782,512) and the top left ...
0
votes
0answers
46 views

PNG output shows unwanted lines in PDF output (Overleaf)

I'm writing a document in Overleaf. When I save the document to a PDF, images that look like this on my desktop and editor: come out looking like this: One solution: Open each of these corrupted ...
4
votes
2answers
138 views

Including large images in landscape formatting

I'm having issues including large images in landscape mode This is about as large as the image will render Changing the size makes the orientation switch Ideally I'd like to be able to have a ...
0
votes
0answers
48 views

Add photo to cv

Does anyone know hot to add a photo to this CV template: CV I thought about using the minipage environment but I wasn't able to get the photo on the right side of the name (at the top of the page).
0
votes
0answers
64 views

U+2069 error when adding image in TeXShop

I am trying to add an image into the document on TeXShop but keep seeing this error: Package inputenc Error: Unicode character (U+2069) (inputenc) not set up for use with LaTeX. l.9 ...udegraphics{...
4
votes
1answer
177 views

Tikz - increase the spacing between 2 nodes of a stencil

I want to increase the spacing between 2 nodes of a stencil. The original design of the stencil comes from this question. \documentclass[a4paper, 12pt]{book} \usepackage{pgfplots, tikz} \newcommand{\...
0
votes
0answers
30 views

Postscript import issues with BaKoMa

I'm using the BaKoMa WYSIWYG editor, and I've been experiencing some issues with .eps files. When I import .eps files created in matplotlib, both non-LaTeX portions of the axis labels, and all the ...
4
votes
2answers
91 views

How to scale down the size of tick on an axis of graph in Tikz

How to scale down the size of tick (j-1, j and j+1) of a graph in Tikz? Moreover, as I don't have a lot of experience with Tikz, if there is a more standard/efficient way of writing the whole graph, ...
2
votes
1answer
76 views

How to log scaling applied by \includegraphics?

I'm currently working on a large-ish document that contains a lot of screenshots. These range from relatively small dialog boxes or details of the screen to some very large overview pictures. I ...
0
votes
0answers
28 views

Getting a picture into my Tex file (on Mac)

I want to include a picture in my project that I have going in latex right now. This is the location of the file: And this is how it's included in my project in latex (I've included the packages ...
3
votes
1answer
38 views

In the figure form, adjust the whole size of “text” and “math” format at once (II): from \twocolumngrid to \onecolumngrid

This follows from a previous post In the figure form, how to adjust the whole size of "text" and "math" format at once?, In the figure form, how to adjust the whole size of "...
3
votes
3answers
611 views

Reproduce a geometric drawing

How can I reproduce the following drawing using LaTeX? I suspect that TikZ has the right instruments to do it, but I'm not familiar with the package. Indeed, the most I can do with it is drawing ...
0
votes
1answer
47 views

How can I center the image? [duplicate]

I want to horizontally center an image in my paper by the code below. \documentclass[12pt,twocolumn,oneside,a4paper]{article} ... ... ... \begin{figure*}[] HK1706 (in 2017) \centering \...
1
vote
1answer
119 views

The construction of Rooty helix, code explanation

Could someone please explain some parts of this code? I'm newbie on LaTeX and could not understand some parts. What does this \foreach \y in {86,38,15} means? Could you explain with details what is ...
1
vote
0answers
50 views

I can not insert images

I installed LaTeX using mactex2018. But, my environment cannot display images. The source code is following the code \documentclass{article} \usepackage[dvipdfmx]{graphicx} \begin{document} \LaTeX \...
1
vote
1answer
30 views

How can I arrange images horizontally with text in the same space?

Edit: I got it to look how I want with the following code but I don't think its the proper way. \begin{figure} \begin{minipage}{0.5\textwidth} \flushleft \includegraphics[height=1....
0
votes
0answers
19 views

Why is this text showing in my frame? [duplicate]

\documentclass{beamer} \usepackage{graphicx} \graphicspath{ {F:\'Surface Tension'} } \title{My Title} \author{The Author} \institute{Institute name} \date{} \begin{document} \frame{\titlepage} \...
0
votes
0answers
32 views

Images move onto next page and not in-line [duplicate]

I'm new to LaTeX and have a desire to learn as I'm completing a PhD and have been told LaTeX is a great platform for writing scientific documents. So, I have written a short plain English piece in ...
0
votes
0answers
25 views

Positioning doesnt work even when using float

I want to position two figures on the top of a page and then text in two columns below in the same page just like this: You can see above the "[!h] is not recognized for positioning the image. I've ...
0
votes
0answers
39 views

How do I add a background image to just a parbox?

I'm trying to design my CV and want to have a box at the top which contains some content on the left end (name and title) and content on the right (maybe a few rows containing contact info sorts of ...
1
vote
1answer
13 views

placing three images, two side by side both below the first one in a twocolumn class

I would like to have something like on the picture for the layout of three images. I am in twocolumn class and I know or how to place two images one above the other or side by side but not how to do ...
0
votes
0answers
19 views

Force includegraphics to obey bounding box of eps

I have an test.eps that consists of %%BoundingBox: 0 0 343 491 %%EOF and a tex document \documentclass{minimal} \usepackage{graphicx} \newbox\figbox \begin{document} \setbox\figbox\hbox{\...
2
votes
1answer
39 views

Aligning images with a tabular environment

I'm trying to align my images in a tabular environment like so: \documentclass[t]{beamer} ...
3
votes
2answers
76 views

Give a round image a round border

\documentclass[11pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage[left=3....
2
votes
1answer
53 views

Accessing #1 in the end part of a new environment declaration [duplicate]

I'm working to a document in memoir and I'm struggling trying to define a new environment which would allow me to place a figure in the main text and its caption in the outer margin. This is an ...
2
votes
2answers
51 views

Star and Delta Connections using Circuitikz

I am making the delta and star connections in circuitikz. But I have some problems stylizing ... For the Star Connection: \documentclass[border=3mm]{standalone} \usepackage{circuitikz} \begin{...
3
votes
1answer
33 views

How do I align the caption in a subfigure?

I have a figure which is composed of three subfigures. Two of them are expected to occupy the left side of the screen, while the last will be on the right side. I want the sub caption on the one to ...
0
votes
1answer
41 views

How can i add a caption below an image?

I am having difficulties inserting captions for my figures in my LaTeX article. I need each caption to be placed right below an image. Here is my code: \documentclass[12pt,a4paper]{article} \...
1
vote
1answer
55 views

Graphic in Latex document

i would like to have a function in my document. It shall be f(x)=0 für 0<=x<2.5 and g(x)=1 for 2.5<=x<5 and i might put another h(x)=2. I tried to plot it with the \addplot command but i ...
1
vote
2answers
45 views

vertical space is different between subfigures

I'm trying to add groups of subfigures like below, and LaTex is following. However, the second captions starts little below than others. How can I fix it? \documentclass[twocolumn]{article} \...
1
vote
0answers
20 views

Figure “name.jpg” mysteriously shows up! [duplicate]

Hi I'm debugging my Schools Thesis template, and name.jpg of figures I import are mysteriously showing up. I have included the caption definition (I think) and the code I used to input image. thesis....
2
votes
1answer
30 views

tikz “Latex” arrowhead artifact on conversion to png using ImageMagick if opacity < 1

This is a specific problem, but I find it comes up often in my workflows: generate a standalone tikz diagram with: some transparent object(s) - i.e. opacity < 1 arrows, where I prefer the large ...
2
votes
1answer
67 views

Framing a colored box with an image

I have a color box (made with tcolorbox) that holds text, and I want to frame it. Unfortunately, I'm copying a style so I can't use a normal border. The border I want is only on the sides of the box ...