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
16 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
30 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
59 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
46 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
45 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
29 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
36 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
53 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
43 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
19 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
26 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
57 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 ...
0
votes
0answers
43 views

All figures are showing up as a solid black rectangle [duplicate]

I am working on a TeX project. I can compile everything without error nor warnings. However, all of my figures are showing up as a solid black rectangle. Does anyone have a clue of what might be going ...
0
votes
0answers
21 views

Scaling a bipolar components in Circuitikz [duplicate]

I want to scale a bipolar component in circuitikz ... Apparently monopolar components can be scaled with: scale="xx" \begin{circuitikz} \draw (0,0) node[ground, scale=0.5] (ground1) {} (2,0) node[...
2
votes
2answers
37 views

Subfigures with combined caption?

Is it possible to group figures into a single float and reference them separately, without creating separate caption for each of the figures? I am aware of subfloat and subfigure environments, but ...
0
votes
0answers
29 views

conversion problem [closed]

please guys i need this to be translated in text for me,i have tried my best and it's not working out 7VV4 III V VIII IV 9 IV 7 II V XII5 9 I IV V XIII XV V XI 31 IV IV V X 453V45 X89IX ...
1
vote
1answer
34 views

Long chapter title with graphics: indentation and no hyphenation

I was already helped to obtain the chapter title formatting that I wanted in Chapter with graphical formatting Now I have the problem of chapters with a long title, whereby I get with this code \...
1
vote
1answer
24 views

Polyline with label

I am currently drawing polylines with desired style, but I was not able to change labels for them. Instead of showing "1" everywhere I want to put a,b,c or whatever there for each line while keeping ...
4
votes
2answers
110 views

Rounded corners for a background image

Here is my MWE taken from here: \documentclass[varwidth]{standalone} \usepackage{ eso-pic,tikz, lipsum} \usetikzlibrary{tikzmark} \linespread{2} \newcommand\BackgroundPic{% \begin{tikzpicture}[...
3
votes
2answers
81 views

tikz: clip image with rounded corners and border

I want to round corners of image and I want to have border around: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shadows.blur,fadings} \tikzset{ photo/.style={ inner sep=1pt,clip,...
0
votes
1answer
22 views

Strike out over graphics

I have a document with a graphics and I want to replaced this graphics with another as part of a revision. To make this clear I want to show the old version of a figure next (or below) to the new ...
0
votes
0answers
22 views

including SVG graphics using multicol

I'm in the process of making a poster, and I wanted to include some vectorial svg images in it. I'm also using multicol in it. I followed the instructions from How to include SVG diagrams in LaTeX? to ...
2
votes
2answers
28 views

How to get \AddToShipoutPicture* to place image at top of page?

I'd have a PDF image that I'd like to use as a background as follows: Scaled to width of the page Positioned at the top of the page such as it is flush with both upper corners The rest of the ...
2
votes
2answers
29 views

Label for the subcaption containing square brackets isn't acting nicely in the figure caption

I often have to use "[" and "]" in various labels when cross-referencing items with formulas of inorganic complexes. Everything worked fine until I noticed a problem with \subref{...} of the ...
1
vote
1answer
44 views

Using PlasTex, How can I control the size of my images using \includegraphics

I am running plasTex 1.0.0 and I cannot properly control my image size. Using the \includegraphics[width=10in]{path_to_image} command plasTex fails to resize the image at all, outputting the original ...
0
votes
1answer
55 views

How to save a bmp image from the internet for use in XeTeX

I found a bmp image file online, right clicked on it, saved it as bmp format in a local directory. Using MS Paint, I could open and view the file. Paint says the picture-file is 42.2K bytes, 240 dpi, ...
2
votes
1answer
26 views

Insert image so that it fills the rest of the page while not fall below a minimum size

I'm trying to make a command that adds images to page in a way that fill the rest of the page. I'm using code from How to define a figure size so that it consumes the rest of a page? and it works. But ...
0
votes
2answers
65 views

Placing two images side by side in a twocolumn document

I tried the solution offered in Two figures side by side and on overleaf.com: Positioning images and tables) see at 'Multiple images in one figure'. But both show the image one below the other. Is ...
0
votes
0answers
20 views

using images from different directory not working [duplicate]

I want to use images from different directory and this is my code. I am using Windows x64 bit , Texmaker 5.0.3 , basic miktex 2.9.6850 and when I run pdfLaTeX of the following code: \documentclass[...
0
votes
1answer
26 views

! LaTeX Error: Cannot determine size of graphic in…pdf or png (no BoundingBox)

I am using Windows x64 bit , Texmaker 5.0.3 , basic miktex 2.9.6850 and when I compile this code, I mean when I run 'LaTeX': \documentclass[twocolumn,prl,nobalancelastpage,aps,10pt]{revtex4-1} %\...
0
votes
0answers
23 views

Cannot find the graphic path of the image

I am using : \usepackage{graphicx,bm,times} \graphicspath{ {C:/Varie/UNI/MANO/I semestre 2018/fraboni/esperimenti/RT/pictures/ } } and so far it is okay because it compiles. But when I add \...
0
votes
0answers
15 views

tkz-fct does not create graph [duplicate]

I tried this code to make a graph, but the graph is not visible. \documentclass{article} \usepackage{tkz-fct} \begin{document} \begin{tikzpicture} \tkzInit[ymin=-5,ymax=15,xmin=-3,xmax=4,...
1
vote
1answer
67 views

Using Xetex to Include bmp file into document using Plain TeX

I just installed TeX Live 2017 and am using XeTeX, Version 3.14159265-2.6-0.99998 (MiKTeX 2.9.6300 64-bit) (preloaded format=xetex 2018.12.4) 4 DEC 2018 22:30 I have a bmp file named nh-seal_3.bmp ...
3
votes
2answers
86 views

Changing the size of a Logic Gate using Circuitikz

I would like to change the size of a simple logic gate \begin{circuitikz} \draw (0,0) node[and port] () {}; \end{circuitikz} The output is: How can I control the size of the ouptut?
0
votes
0answers
33 views

“error in the flux reading” and black image in PDF output

I wrote my thesis on Latex using overleaf but when I downloaded the pdf on my pc I found out that one of the images was left black with this error message on the reader: error in the flux reading ...
2
votes
0answers
27 views

Bind an image and a paragraph together

I have multiple blocks of text and each block is associated with an image. I am trying to wrap each image with its associated paragraph individually and so on. I want the next block of text and image ...
2
votes
2answers
38 views

Crop, not scale, the background image and produce an image instead of a pdf

Here is my MWE: \documentclass{standalone} \usepackage{graphicx, lipsum} \usepackage[most]{tcolorbox} \newtcolorbox{myminipage}[3][]{ breakable, blankest, watermark graphics=#3, ...
1
vote
2answers
36 views

How can I force my subfigures to be aligned?

I have 4 images and I'd like them all to be aligned along their vertical and horizontal edges. The problem is that the caption on the top right image takes up 2 lines, but the caption on the top left ...
3
votes
1answer
31 views

Use same reference count for lstlisting and figure/graphics

I have the following code on overleaf: \begin{lstlisting}[caption={Código inicial para o sistema de arquivos},label={lst:Figura1}] abstract sig FSObject { } sig File, Dir extends FSObject { } sig ...
6
votes
1answer
106 views

Chapter with graphical formatting

I am formatting a book and I am using LuaLaTex. I am trying to obtain the following formatting for the chapters, The following code correctly generates the chapter title \usepackage{titlesec} %...
1
vote
0answers
41 views

Tabular (height spacing) for \lstinputlisting and picture

I have a lstlisting environment in one column and an included picture in the other. according to the MWE, the following is printed: MWE: \documentclass[10pt]{article} \usepackage[margin=0.75in, top=...
2
votes
1answer
16 views

Text over the header with figure

I'm putting a figure in the header of my article, but the text is getting superimposed in the header only on the first page. I think that the problem is with the figure because when I remove it, the ...
3
votes
1answer
33 views

Add axes to the graph of an upside-down pyramid

I'd like to build an upside-down pyramid with the vertex at the origin of x,y,z axes. My attempt \definecolor{cof}{RGB}{219,144,71} \definecolor{pur}{RGB}{186,146,162} \definecolor{greeo}{RGB}{91,173,...
1
vote
0answers
50 views

Included PDF image has invisible, but selectable text

I am currently facing some problem when I tried to import a pdf as a graphic. The pdf with some original text beside was first cropped to remove the text and then imported using \includegraphics. ...
2
votes
1answer
109 views

Position image with 6 smaller images on the side

I am having troubles positioning 7 images: I need to have a big one on the left side, and 6 smaller on the right, each one of them with a different caption, and a big caption below all of them. It ...
1
vote
0answers
32 views

Copy of overleaf project no longer compiles (EPS file error?)

I have an overleaf project with a number of EPS files. I use the graphicx package to include them in the final PDF. It compiles properly, and the figures look fine. I copied the whole project, and ...
2
votes
2answers
48 views

What is the recommended method to have an image lie side by side with a list?

What I am doing below should suffice but I invite any other better ways. Is there any other better ones? \documentclass[preview,border=12pt,12pt]{standalone} \usepackage{enumitem,graphicx} \begin{...
2
votes
1answer
31 views

Part II: Outset of figures with TikZ

I have figure set that appears with the MWE: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure} \centering \setbox1=\hbox{\includegraphics[height=2cm]{example-image-...
2
votes
1answer
67 views

Draw a subset of cartesian plane (or space)

I want to know whether is it possible to draw, by means pgfplots or tikz, a subset of the Cartesian plane or space starting from their equations. For example: and
1
vote
2answers
18 views

How to horizontally align cell content when some cell of the table contain image?

I want to horizontally align the cell content. \documentclass[a4paper,12pt]{article} \usepackage{booktabs,graphicx} \begin{document} \centering \begin{table} \begin{tabular}{llll} \toprule Image &...