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
0answers
10 views

Correct way of using `\graphicspath` for multiple folders

I am trying to set path for mt .eps plots to multiple folders \graphicspath{{"D:/Mypaper/GraphicsFolder1/"}{"D:/Mypaper/GraphicsFolder2/"}{./Plots/}} If I include the quotes to the folder paths, ...
0
votes
0answers
32 views

How to do the side of a Food Package

So, this is my attempt of making the side of a food packet with the nutritional label. I know a professional would use Adobe Illustrator, but I find latex easier to comprehend. Today I used a ...
2
votes
1answer
49 views

Include a graphics but without modifying the layout (i.e. add an image behind text)

I'd like to define a command \mark that would add an image mark.png : on the same vertical coordinate than the current text at 1cm from left border without modifying the layout, i.e. if I remove this ...
2
votes
1answer
44 views

Reverse an existing big math operator keeping same functionality (such as limits)

I would like to define an operator \rsum which has all the same functionality of \sum with the only difference being that \rsum displays a mirrored image of the sigma glyph. I have found the ...
0
votes
1answer
27 views

EPS is not shown up

I am trying to use a simple template for latex and include some images on it. The import I have in the beginning are: \documentclass[dvips,11pt,twoside]{article} \usepackage{natbib} \usepackage[...
0
votes
1answer
62 views

How to make the subfigures closer?

\begin{figure}[t] \centering \begin{tikzpicture}[row sep=-0.3in] \matrix (fig)[matrix of nodes]{ \includegraphics[width=3in]{1.pdf} \\ \includegraphics[width=3in]{2.pdf} ...
0
votes
0answers
47 views

How to use Tikz with latex? [closed]

i want to generate tikz code for this image. I don't know much details of tikz. Please help.
0
votes
1answer
35 views

LaTeX Horizontal Bar Chart, Gradient Color for Bars

I want to create a chart for ranking like this: The top row shows the ranking (Poor - Excellent), and the left column shows the parameters. Now I want the bars to look like the figure, coloring with ...
2
votes
1answer
30 views

Defining the size of .eps files with tex4ht

I'm working on a Latex document with which i generate both, an ebook and a pdf document. To include graphics i use the following config.cfg: \Preamble{xhtml} \Configure{graphics*} {jpg} {% \...
0
votes
2answers
32 views

Using subfigures to add two pictures next to each other

Im am struggling to add two pictures next to each other. They don't align with the a) and b) below and tend to overlap whatever else I have on the page. The images align at very, very, very small ...
1
vote
0answers
27 views

How to set a defined horizontal padding between \includegraphics images

How can I set a fixed horizontal padding between my images? I'm using (in my master file): \usepackage[export]{adjustbox} With this in my included file: \newcommand{\vastehoogte}[1]{\...
0
votes
2answers
36 views

How to include graphics exported from Inkscape as pdf/tex?

I have exported an Image from Inkscape to PDF/TEX. When trying to add it using \input{images/myfile.pdf_tex} I get an error "Package pdftex.def Error: File `myfile.pdf` not found: ... The ...
1
vote
1answer
28 views

Is this possible to fix this requirement (explain briefly in this question)?

My code is as follows: \documentclass{book} \usepackage{lipsum} \begin{document} blah blah blah blah blah blah \lipsum[1-2] \begin{figure} \includegraphics{...eps} \caption{caption text} \end{...
0
votes
0answers
28 views

Figures are missing in the PDF file

Latex used to work on my machine till last week. I've got UBUNTU 18.04.1, 64 bit. This week, when compiling the tex file the dvi and pdf files created do not show the figures, but a blank space and ...
5
votes
1answer
50 views

graphicx regression in TL 2018? \convertMPtoPDF undefined in preamble

Consider the following MNWE: \documentclass{article} \usepackage{graphicx} % \input{supp-pdf.mkii} \newbox\mypic \sbox\mypic{\includegraphics[height=6.5ex]{moral-compass-lliw10}} \begin{document} ...
0
votes
0answers
21 views

Replacing dots with png image

From an answered question on StackExchange, we can create dots to fill an entire document (see MWE). Can we replace those dots with a *.png image that I would like to repeat through my document ...
12
votes
3answers
578 views

Where can I find the list of the example images of graphicx?

The graphicx package has many example images, but where are they listed? I can't find this feature in the package documentation. \documentclass{article} \usepackage{graphicx} \begin{document} \...
0
votes
2answers
47 views

How to put an image on multiple columns in a table ?

So I want to include the following table into my latex document: I've reproduced to written part of the table in latex, but I wanted to know if there is a way to recreate the last four rows easily ? ...
2
votes
1answer
45 views

Displaying graphics for only one slide in beamer

I got a question regarding the beamer class. What I want to achieve is a list of items, that are uncovered one by one, interrupted by a graphic that covers the whole text area. The graphic should ...
0
votes
1answer
11 views

Change numbering of figures in all chapters

I'm having troubles changing the numbering style of figures in my chapters, the one that appears in the table of figures are displayed as I want but the numbering in the text is not. The caption of a ...
0
votes
0answers
45 views

How to insert latex text in an image using gimp

I want to create an image that has latex text on it but I don't know how to do that. I was told that it is posible using GIMP but I don't know how. I also don't know if there is some other program in ...
0
votes
1answer
43 views

damped oscillation graph in LaTex

can anyone help me to draw this graph in LaTex? documentclass{beamer}
0
votes
1answer
24 views

Fitting an image and caption on a single page

Consider an image with: a caption of unknown length unknown height unknown width unknown aspect ratio I'd like this image to take up the full width of the page, unless the combined height of the ...
0
votes
1answer
32 views

Lyx refuses to work with images of various formats; Error: Cannot convert file

I am simply trying to insert pictures into the document; all I get is: Error: Cannot convert file No information for converting png format files to eps. Define a converter in the preferences....
0
votes
0answers
42 views

eps files outside the working directory

Consider the following script.tex: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure} \includegraphics{fig/epsfig.eps} \end{figure} \end{document} When calling pdflatex ...
0
votes
0answers
15 views

Subfigure layout ignores the second image

\documentclass{article} \usepackage[utf8]{inputenc} \renewcommand{\thesubsection}{\thesection.\alph{subsection}} \usepackage{graphicx} \usepackage[export]{adjustbox} So I collected bits of ...
0
votes
0answers
20 views

Document with page dimensions (esp. height) determined by size of image to be included (how to create)?

I am working on an enormous project that will be completed in several stages. The first step is to compile many screenshots or other images into a single document, where there would be one image per ...
0
votes
0answers
36 views

\includegraphics differences on two systems

Sorry, total TeX newb here. I help maintain a newly built cluster of rstudio-server servers running on CentOS 7 for our users. Prior to this users used an rstudio-server running Ubuntu 18.04.1 ...
0
votes
0answers
43 views

How do adjust fonts in a picture made by Tikzpicture to be compatible with whole text?

I made a picture using Tikzpicture, but the text inside is not compatible with the text in the main document. I tried many solutions like \large or \scalebox. However, every time I can not get a nice ...
1
vote
1answer
35 views

How to insert multiple images at once

I'm beginner in Latex, and need help, How can I, select all images on folder? I trying using the popular /*.jpg, but do not function \documentclass{article} \usepackage{graphicx} \begin{document} \...
0
votes
0answers
19 views

Filename in CSV

I use csvsimple reading several fields from a CSV file. One of them, say picture, is actually a filename, which should then be given as the argument of an \includegraphics, as in \includegraphics[...
2
votes
3answers
64 views

Arranging multiple subfigures beside and above each other

I would like the subfigures of my figure to be arranged like so: ,---, ,---, | | '---' | | (b) | | ,---, '---' '---' (a) (c) I would like the bottom two images to be aligned ...
0
votes
1answer
21 views

I want to put a header on my poster

I'm working on a poster for a congress, and I need to put an image as a header. The problem is that I can't supreme the margins in the image, and I don't know how. This is my code: \usepackage{...
0
votes
1answer
14 views

How to fit and insert PDF onto a page with a subsection?

So i tried this: \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[german]{babel} \usepackage{setspace} \usepackage{graphicx} \usepackage{float} \usepackage{pdfpages} \begin{...
1
vote
0answers
25 views

Printing A4 image in A5 document

I'm trying to print two-sided book with A5 pages. I'd like to insert A4 image into a spread of book. So it should be two pages with two halves of image and no inner margin. Can I do it without ...
0
votes
0answers
33 views

What file extension to include in figure in Latex?

I am applying for a conference and trying to write a manuscript using the given Latex sample. I am having a problem in uploading figure file. I used to upload .eps file while writing normal latex code,...
0
votes
1answer
61 views

Putting a vertical graphic to the left of chapter header

I want to set up chapter headers to look like this: || || Chapter 1 || The City Begins || to Decay The two vertical bars represent a series of vertical bars drawn in xfig. I've tried this: \...
1
vote
1answer
35 views

Plotting logarithm with base b in TikZ

\begin{tikzpicture}[line cap=round,,x=1.3cm,y=0.4cm] \clip(-1,-3) rectangle (12,13); \draw [domain=0.1:10 ,smooth,very thick] plot(\x, \Log{2}{3*\x}); \draw[->,color=black,line width = 0.8pt] (0,0....
1
vote
0answers
32 views

How to define materials in Asymptote?

I searched in the Asymptote documentation and found that material is handled as a structure in three_light.asy that has the following definition: struct material { pen[] p; // diffusepen,ambientpen,...
1
vote
0answers
50 views

vector graphics programming languages [closed]

What is the best vector graphics programming language (similar to Asymptote)? I'd like to be able to control 3D rendering parameters such as lighting, perspectives, material (optics, textures). ...
2
votes
2answers
26 views

Selectively rotate pages when using pdfpages includepdf

This question is kind of close: pdfpages rotate odd pages 180º but, what I'm trying to achieve is different: I actually want 4 pages per page, i.e. nup=2x2, but I want the top two to be rotated ...
2
votes
1answer
55 views

ConTeXt: Fill full page with image, disregarding page layout

Background Looking to create a three-column document with images that fill entire pages, while the text has a different page layout. Both the images and the text pages should have the same total ...
1
vote
0answers
30 views

Chapter page spanning left and right side

I am working on a document in which I would like to have a picture with chapter number on the left side and on the right the chapter number and title of the chapter. When having the chapter on the ...
0
votes
0answers
53 views

Weird Image Scaling in tex

I have two images which I try to include in tex (greater context: trying to convert ipython notebook to tex which also has output images). I find a weird scaling problem. Both images are comparatively ...
4
votes
1answer
27 views

Custom command to lay out a row of images

I'm learning expl3, and to practice I created a simple command to lay out a row of images so that the row fits in one line and all the images have the same height and, optionally, a spacing between ...
1
vote
1answer
43 views

Insert image between \title and \author

I am trying to insert an image on the title page between the actual title and the author. I tried using \titlepic{\includegraphics[width=70mm]{img/myimg.png}} but this always inserts the image after ...
1
vote
1answer
27 views

Filling blank space with optional images

Let's have some book. Due to the typesetting, there is some blank space, maybe even some blank pages. I'd like to fill it with some images related to the place, i.e., the image is selected ...
2
votes
1answer
25 views

Adding an image to the same page as \part with book class?

I love using LaTeX but suck with code. I see answers to my question for memoir and amsbook classes, but I am not clever enough to adapt that code to book class. Can anyone help?
0
votes
0answers
18 views

Set table width = `\paperwidth` [duplicate]

I have a large table (with many columns), so that I decide to set its width = \paperwidth. I tried the following: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{table}[htb]...
0
votes
1answer
76 views

Which is the better image format for LaTeX?

Suppose, I have multiple format of a image e.g. png, jpeg, jpg, svg etc. Which should I use for better looks?