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

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

How many form to inserting one imageof inksapce to one document in overleaf have exist? [closed]

%LaTeX with PSTricks extensions %%Creator: Inkscape 1.0.2 (e86c870879, 2021-01-15) %%Please note this file requires PSTricks extensions \psset{xunit=.5pt,yunit=.5pt,runit=.5pt} \begin{pspicture}(1122....
user avatar
  • 1
1 vote
2 answers
68 views

Vertical alignment broken with graphics in tabularray

Example: \documentclass[10pt]{article} \usepackage[utf8]{inputenc} \usepackage{mwe} \usepackage{graphicx} \usepackage{tabularray} \UseTblrLibrary{varwidth} \newcommand{\mymacro}{This macro expands \\...
user avatar
0 votes
0 answers
40 views

Geospatial chart with pgfplots and tikz

Is there a way to do something like this: by using pgfplots and tikz ? Thank you V.
user avatar
  • 1
0 votes
1 answer
21 views

How to insert an image directly under a subsection title

I am working with Overleaf. I have created a document with sections and subsections and I want to insert an image directly under the subsection. I did it as follows: \subsection{Title} \begin{figure}[...
user avatar
  • 1
1 vote
1 answer
23 views

How to align caption of minipage side-by-side with equation and image?

I have two side-by-side minipages, where the left is an equation and the right is an image. I am trying to align the first line of the captions, but cannot find the right setting after checking the ...
user avatar
  • 381
0 votes
0 answers
18 views

Problem inserting background image in lualatex using overleaf

I am using the following code: \documentclass{article} \usepackage{amsmath,xcolor,moresize,background,lipsum} \usepackage[14pt]{extsizes} \usepackage{fontspec} \usepackage{polyglossia} \usepackage[...
user avatar
0 votes
0 answers
25 views

How can I exactly position an image\table in a document?

I am trying to insert an image in my LaTex document using either straight ahead the \includegraphics argument or the figure environment. One problem however that I am facing is that I cannot position ...
user avatar
0 votes
0 answers
21 views

xelatex,Texlive 2020, MacPro Monterey 12.5 "unable to load picture" with \includegraphics

Here is the MWE: \documentclass{beamer} \usepackage{graphicx} \begin{document} \begin{frame} \includegraphics{/usr/hr/Images/Retour.jpg} \end{frame} \end{document} I have the answer: image is not ...
user avatar
-2 votes
1 answer
56 views

How to show small picture (or icon) in front of text?

How to show small pictures in front of text in Latex similar to what is made by Microsoft Word as depicted in the following image? The result obtained via \includegraphics is not satisfactory and is ...
user avatar
0 votes
1 answer
59 views

How to draw diagrams?

I need to learn how to draw diagrams. Could you please help me from the screenshot below... ...and this MWE? \documentclass[a4paper,12pt]{article} \usepackage[english]{babel} \usepackage{graphicx} \...
user avatar
  • 1,343
2 votes
2 answers
112 views

How can I display wide pictures in a two-column document?

I have several wide pictures, and I want to show them line by line in a two-column document, like this: I tried to use figure* and to control the picture's location, but it still does not work right. ...
user avatar
1 vote
2 answers
84 views

pgfplots fails to graph the function [sin(x)]^100

The image shows that the graph of [sin(x)]^100 (in red) lies below the x-axis in four small intervals, as the function is non-negative its graph should be on or above the x-axis. So there is an error ...
user avatar
0 votes
0 answers
44 views

How can I define a more "complex" font color?

I am trying to define the font color for a title and I want to set some more complex color like the one that is shown in the picture below: I know how to select a single color at a time however is ...
user avatar
0 votes
1 answer
46 views

Problems using Contour Plot

I am new here in the forum and hope you can help me with a problem with Tikz. My goal is to create a map (see attached image for template). Unfortunately, I am having trouble getting the colors to ...
user avatar
3 votes
1 answer
287 views

Drawing curvy lines in math image for a paper- which package to use?

Note: I posted this question on math stack exchange and it was suggested I repost here. I usually use geogebra for drawing images for papers. However as far as I am aware, one can draw straight lines ...
user avatar
  • 281
1 vote
1 answer
67 views

Randomly sampling a subset of images without replacement from a larger list of images

I am trying to create a 10x10 matrix of external images, where the placement is a given image is random and the selection of images are randomly sampled from a larger set of images. Specifically, I ...
user avatar
  • 55
0 votes
1 answer
17 views

Not able to add Image on the top center of the resume between written texts

Pardon my English, Can someone please help me to add an image at the center, between the name and the email. Here is the code I've been using. \begin{document} %----------HEADING----------------- \...
user avatar
0 votes
0 answers
33 views

There is a space after latex \ref{}, how to solve this problem?

\documentclass[AMA,STIX1COL]{WileyNJD-v2} \usepackage{graphicx} \usepackage{subfig} \usepackage{float} \begin{document} \section{Sample for first level head}\label{sec1} Figure \ref{fig1}\subref{x} ...
user avatar
1 vote
0 answers
30 views

How to caption an image as a table in LaTeX? [closed]

I want to caption an image as a table in LaTeX. \begin{figure}[H] \centering \includegraphics[width=\columnwidth]{./figures/spec1.png} \caption{mycaption} \label{fig:img5} \end{figure} ...
user avatar
0 votes
0 answers
29 views

'Missing endcsname inserted' error when using \includegraphics

MWE: \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{float} \usepackage{underscore} \begin{document} \section{Introduction} blurb goes here..........
user avatar
0 votes
1 answer
38 views

Different background images per chapter page

Each of my chapter titles are on a single page, with the content following on the following page. I have added a standard background image to each of those pages. What I'd like to do though, is to be ...
user avatar
  • 195
0 votes
0 answers
61 views

Asymptote does not compile with miktex

So a few days ago I tried latex, I downloaded miktex and I also use texmaker as my text editor, I also downloaded several packages to work with and it went well. The problem arose when I tried to join ...
user avatar
  • 1
4 votes
1 answer
151 views

randomly assigning objects to a grid using tikz

I am trying to create a 10x10 grid of circles and squares, in which the placement of objects is assigned at random. For instance, the following code creates a 10x10 grid with 80% circles and 20% ...
user avatar
  • 55
1 vote
0 answers
18 views

Make a landscape page on the next available page (without blank space) [duplicate]

I am using lscape to include a figure in the middle of my text on a landscape page. However, instead of breaking to the landscape page at the point where I start the landscape environment, I would ...
user avatar
  • 123
2 votes
1 answer
41 views

Change image/plot by clicking link/button?

I have a series of images I want to make interactive. As an example let us say I have three images: a cat, a dog and a mouse. I want have all three in a single figure in my document, but not shown ...
user avatar
  • 1,331
2 votes
1 answer
75 views

I would like to draw the graph shown in the attached image?

I would like to draw the graph shown in the below image? I tried and reached this graph showing the below image with Latex code? \documentclass{standalone} \standaloneconfig{border=2mm 2mm 2mm 2mm} %...
user avatar
  • 21
0 votes
0 answers
30 views

Latex command line compiler can't find image files, but Gummi can

I am trying to compile a latex document in Linux; however, the images are not being found from the command line, despite them being found in Gummi. I am running latex [document_name] from the Linux ...
user avatar
  • 111
1 vote
1 answer
32 views

Rotate Labels and Change colors of tikz barchart

I am creating a bar chart using tikzpicture like so: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{pgfplots} \title{test} \author{} \date{} \begin{document} \...
user avatar
  • 113
0 votes
1 answer
25 views

How to add the second caption by bicaption in a extra lIstoffigures

I have problems that my second figure caption in English is not showing up the List of Figures by using the package bicaption. It pops up under the the other entry in the same listoffigure (German one)...
user avatar
  • 3
0 votes
0 answers
29 views

svg package not displaying gradients

I am trying to include an SVG that looks like this in a document using the svg package: When I use \includesvg{blob.svg}, I get this in my output document: When I look in the svg-inkscape directory, ...
user avatar
  • 123
2 votes
1 answer
75 views

cropping some part of a png image with tikz

A follow up to this answer: I am clipping a png image to which I want to specify scaled coordinates for the crop command. So that \clip (0,0) rectangle + (1,1); crops nothing, and \clip (0,0) ...
user avatar
  • 290
0 votes
1 answer
33 views

Place an Image on top of a rule

I am using this template: https://de.overleaf.com/latex/templates/deedy-cv/bjryvfsjdyxz and I am trying to insert a picture on the top right. I modified the use of rule in the cls file and managed to ...
user avatar
2 votes
2 answers
66 views

ConTeXt: Set up external figure for particular image type

Background A document has a mix of SVG and PNG images. Problem Changing the parameters for \setupexternalfigure affects both SVG and PNG images. Code Consider the following code: \setupexternalfigures[...
user avatar
0 votes
2 answers
64 views

Add border to all images

I have a document that has a handful of figures in it, and I am using \tcbox{\includegraphics{./Pictures/image-name.png}} to put a border around them. I end up repeating this for every image though. ...
user avatar
1 vote
1 answer
31 views

\path[clip] ruins existing diagram

I have a node diagram where I want to add the two images. I am using \path[clip] but it only works if there is no other \path[clip]. I even added \begin{pgfinterruptboundingbox} to isolate the image ...
user avatar
  • 209
1 vote
1 answer
36 views

How to Produce a Transparent Image with Xelatex

I compile the following code with pdflatex (which works fine)--- \documentclass{article} \usepackage{xcolor,graphicx} \usepackage{transparent} \begin{document} \begin{figure} [!htb] \centering \...
user avatar
1 vote
1 answer
44 views

Best way to deal with many small pictures [closed]

I have a document which looks like this As you probably noticed I have lots of small pictures and because I have a one-column layout (I want to keep using it, at least as default for the whole ...
user avatar
0 votes
0 answers
24 views

Includegraphics clipped parts still here even if not visible

I am trying to use \includegraphics to remove unwanted parts of a pdf image. The current syntax I use is: \begin{tikzpicture}[remember picture,overlay] \node[inner sep = 0pt, anchor = center] (...
user avatar
  • 4,303
0 votes
1 answer
37 views

How to change orientation of a latitude circle on a sphere?

I have a sphere, a disk that goes through the equator, and a latitude circle above the equator that is colored red. I would like to rotate that red circle so that it intersects the equator disk. How ...
user avatar
0 votes
1 answer
29 views

Subfloat figure numbering like figures

I am writing my thesis using a premade latex code that makes use of the subfig package and I want to place a series of images side by side two at a time. But this causes the image to have the caption ...
user avatar
0 votes
0 answers
53 views

Position image spanning in two or three columns in a three columns templates

I am trying to make an image occupy two or three columns in a three-column layout. This is a task that I can easily achieve using Scribus or other software but with LaTeX I could not find a good ...
user avatar
  • 2,105
0 votes
0 answers
67 views

How to Draw an Old-Fashioned Tombstone in LaTeX

I would like to draw an old-fashioned (not a Halmos) tombstone. Consider the code: \documentclass{book} \usepackage{pst-slpe,xcolor,yfonts,scalerel} \definecolor{granite}{RGB}{103,103,103} % Compiles ...
user avatar
  • 5,445
2 votes
3 answers
82 views

How to divide page into 6 parts?

How to divide a page into 6 parts? I would like to place 1 table and 5 figures in 3x2 arrangement. Are mini pages necessary, or is there something more effective? Thank you so much. \documentclass[...
user avatar
  • 257
0 votes
1 answer
123 views

Unable to insert an image with MikTeX

I've been playing around with LaTeX using the MikTeX console and I am trying to insert an image, but I cannot. I type \usepackage{graphicx} \graphicspath{…} […] \begin{document} However, when typing \...
user avatar
1 vote
1 answer
54 views

Transfiguring an Image with Multiple Tikz Shading Angles

Consider the code \documentclass{book} \textheight=10in \usepackage{tikz,graphicx} \begin{document} \thispagestyle{empty} \begin{tikzpicture} \node[opacity=0.5, inner sep=0pt](A) at (0, 0) {\...
user avatar
  • 5,445
0 votes
0 answers
16 views

Top-align subfigures containing lstlisting

The following code \begin{figure}[t] \centering \begin{subfigure}[t]{.47\textwidth} \centering \small \begin{tabular}{c} \begin{lstlisting} a ... ... ... ... ... ... \...
user avatar
  • 101
1 vote
1 answer
99 views

Jigsaw Circle with text on them

I want to make a jigsaw circle with three pieces having text on them. It should look something like in the attached image. but I could be able to find a way o do that I found this code from one of ...
user avatar
  • 199
5 votes
1 answer
96 views

Capillary waves in tikz-3dplot

Here I am again humbly pleading for your assistance. I need to replicate this figure: So far, I have managed to get this (the view point is not so important): But I am struggling to replicate the ...
user avatar
0 votes
1 answer
42 views

How to create section titles with Icons but no Icons in Table of context

I would like to know how I can create the following types of section headings Note that the image is loaded using the graphics package. I have tried the following \section{\includegraphics[scale=0.2]{...
user avatar
1 vote
0 answers
69 views

How to insert gif animation in beamer presentation latex? [closed]

I've searched here this question, but the options I found was not useful. I need to insert gif figure in beamer presentation. To be more precisely, I need to insert this animation I found in Wikipedia,...
user avatar
  • 111

1
2 3 4 5
134