Questions tagged [overpic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
31 views

Centering pictures in subfloat and overpic [duplicate]

I am currently writing my master thesis. To embed two images side by side I use subfloat and for the caption in the images I use overpic. However, I have a problem with the alignment of the second ...
Woifi's user avatar
  • 11
0 votes
1 answer
51 views

bug in overpic with abs and unit?

The following code works absolutely fine: \documentclass[varwidth=\maxdimen]{standalone} \usepackage{overpic} \begin{document} \begin{figure} \fbox{\begin{overpic}[unit=30mm]{example-grid-...
Chachni's user avatar
  • 183
1 vote
0 answers
29 views

How to position images with overpic in an equation

I need to insert many images inside an equation and to write something over these images. So i tried something like this: \begin{equation} \begin{overpic}[valign=c,scale=0.3]{image} \put(50,50){$text$}...
D. Alfano's user avatar
3 votes
3 answers
201 views

Adding a Border to an Oval-Shaped Cropped Image

Consider the code \documentclass{book} \usepackage{graphicx} \usepackage[abs]{overpic} \usepackage{tikz} \definecolor{Gold}{RGB}{228,168,73} \begin{document} \thispagestyle{empty} \begin{center} ...
mlchristians's user avatar
  • 7,724
2 votes
0 answers
22 views

ConTeXt module like overpic in Latex

Is there an analogue of the overpic package in ConTeXt for placing letter labels on images? Not one image, as in the Wiki examples and in "It's in the details" manual, but several, as with ...
Yuri Sen'kin's user avatar
0 votes
2 answers
68 views

LaTex macro with \begin and \end parts split in different loops

Consider the minimal working example below that progressively superimposes (using the overpic package) images contained in a pdf file. \documentclass{beamer} \usepackage{overpic} \begin{document} \...
Cav6897's user avatar
0 votes
1 answer
44 views

New environment definition, to specify default overpic parameters - macro expansion and definition issues

I am endeavouring to define a new environment, which contains a nested overpic environment, using my own set of default parameters. My main goal is simply to have a new environment, like the below, ...
Coby Viner's user avatar
  • 1,909
0 votes
1 answer
176 views

Add color to an equation over an image using overpic

I'd like to add a couple of equations over a picture. I'm using the overpic package as explained in overpic_link. However, I'm trying to get the equation in color as shown in color_link \documentclass{...
AGH's user avatar
  • 103
1 vote
2 answers
115 views

Resizing an image to make it span the paperheight while trimming the width to fit paperwidth

The title maybe says it all; I'd like to have a figure that first centers and resizes an image to fit the paperheight, and then trims the image to fit paperwidth. Until now, I've done the trimming ...
L. Nielsen's user avatar
0 votes
0 answers
101 views

Changing color of grid

I am using overpic package on a standalone document class. I want to write some text over an image. However, the image I am using is black, therefore, the grid does not seem to be helpful here. How ...
Tarek Acila's user avatar
-1 votes
1 answer
154 views

Missing subfigure when used with overpic

I am trying to use subfigure with overpic but the pictures are missing. I followed the tutorial here https://shantoroy.com/latex/add-subfig-in-latex/ \begin{figure*} \begin{subfigure} \begin{overpic}[...
Kong's user avatar
  • 2,273
0 votes
0 answers
93 views

Long text in overpic

I want to write something over an image, so I'm using overpic package. However, my text is so long that it doesn't not fit because LaTeX keeps writing in the same line and it does not go to the next ...
Tarek Acila's user avatar
2 votes
1 answer
292 views

Frame created with tcolorbox adding the white holes

Considering this question Add a crease in the lower right corner with a shadow with the answer of the nice user @Ignasi, and the recent comments of @John Kormylo, @Cicada and @Ignasi on the use of ...
Sebastiano's user avatar
  • 52.6k
0 votes
0 answers
506 views

Dotted lines with Overpic

A normal line within the overpic environment can be placed with: \put( 122.00, 82.00) {\color{blue} \line(1,0){ 23}} Is there a way to draw - - dashed/dotted lines with overpic? Research: The ...
3kstc's user avatar
  • 871
0 votes
0 answers
95 views

use \item in overpic package

I tried to write several items on a photo. I used Overpic package for it but the latex returns an error. part of my tex: \begin{overpic}[width=\linewidth,grid=true] {img/backgoals.png}...
mohammad rezaei's user avatar
1 vote
1 answer
173 views

Overlay a transparent picture onto a set of pages

I am wondering if there are already some tools in TeX available that can handle the following problem. If not, I believe there is a possibility to do this. I want to overlay a transparent-to-white ...
Tobi's user avatar
  • 427
3 votes
3 answers
549 views

Adding text on a SVG image with overpic or similar

Is there a possibility to place text on a svg vector image without using Inkscape? For me it is much more convenient to change the text quickly using \overpic and \put than opening Inkscape and ...
ro-bb's user avatar
  • 63
2 votes
1 answer
2k views

Overpic a semitransparent rectangle on graphics

I know with overpic you can put text on top of an image, as explained in this question.. I need to add text to the image but I need it placed on top of a white semitransparent rectangle so that it ...
M.O.'s user avatar
  • 284
4 votes
2 answers
1k views

Adding axes to figures

I need to add axes to a bunch of figures in my document, I'm trying with tikz but maybe there's an easier and more elegant way to do it (looking at you, overpic)? The result I'm trying to achieve is ...
Superuser27's user avatar
  • 1,302
1 vote
1 answer
360 views

Add a grid on figures for trimming purpose (by redefining \includegraphics)

I need to (temporarly) redefine \includegraphics command for trimming purposes. This is my MWE: \documentclass[11pt]{article} \usepackage{graphicx} \usepackage[abs]{overpic} \pagestyle{empty} \begin{...
Gabriele Nicolardi's user avatar
2 votes
1 answer
577 views

is it possible to place a box with text over a picture in latex beamer? using overpic and block

\documentclass[aspectratio=169,usenames,dvipsnames]{beamer} \usepackage{graphicx} \setbeamercovered{transparent} % Transparente Overlays \usepackage{amsmath,amssymb,amstext} \usepackage{pifont} \...
Franzi Schneider's user avatar
0 votes
2 answers
718 views

place caption on top of figure [duplicate]

I have a figure consisting of three subfigures, but they are all contained within a single .png file. There's a blank space in the bottom-right portion of the figure, where I'd like the figure ...
Elizabeth J.'s user avatar
0 votes
1 answer
693 views

Undefined control sequence \filename@base when including figures using overpic

UPDATE: I've just updated the code to put a full example of the code generating the error messages. UPDATE2: I tried to change the name of figure files (without underscores) but I still have the ...
Yazan's user avatar
  • 1
0 votes
1 answer
215 views

tikz image overlay within a floatrow environment

I am trying to inset a single small image over the top of two larger figures separately on the same page, within a floatrow \ffigbox environment, but it seems as though floatrow has a problem with ...
Dylan's user avatar
  • 147
1 vote
1 answer
819 views

Adjust overpic size to accommodate annotations

How to make a bounding box around overpic that includes the added contents (such as \put, etc.)? For instance below \fbox does not take into account the \put commands nor the grid labels. \...
anderstood's user avatar
  • 2,186
0 votes
1 answer
616 views

Latex: How to draw an equilibrium arrow with overpic?

Does anybody know how to draw an equilibrium arrow with overpic (into a picture)? With equilibrium arrow I mean the arrows in a chemical equilibrium equation: In the code I would like to put an ...
Sophie's user avatar
  • 199
2 votes
0 answers
807 views

Putting tikzpicture within overpic [duplicate]

I want to "annotate" a pdf with arrows and stuff drawn in tikz, but I don't understand how to put tikz draw commands inside the overpic put command. Code: \documentclass{standalone} \usepackage{tikx}...
thosphor's user avatar
  • 1,183
2 votes
1 answer
257 views

Adding latex to existing pdf document?

I would like to import a pdf document and add additional code on top of the image (the pdf). I can write over figures by the overpic package. The problem is that I would like my compiled latex file to ...
Jake B.'s user avatar
  • 521
4 votes
2 answers
2k views

Center text around certain position using overpic

I am using the overpic package to place text inside of a figure. For using line breaks inside a put command I use parbox (see example code). \documentclass{article} \usepackage{graphicx} \usepackage[...
Jann's user avatar
  • 143
2 votes
1 answer
349 views

Blank page in landscape environment with overpic

I have an unwanted blank page when inserting an overpic in landscape environment. I tried the afterpage-package as well as some different things (like \clearpage command etc). Nothing seems to help ...
Emme's user avatar
  • 23
1 vote
1 answer
455 views

How can I align the top of a parbox when placing it using a put command?

Consider the following example. \documentclass{report} \usepackage[percent]{overpic} \begin{document} \newcommand{\numberLeftOffset}{3} \newcommand{\numberTopOffset}{7} \newcommand{\...
merlin2011's user avatar
  • 3,273
4 votes
1 answer
856 views

How can I color text red without changing its position at all inside a parbox?

Consider the following example. \documentclass{report} \usepackage{color} \usepackage[percent]{overpic} \DeclareSymbolFont{extraup}{U}{zavm}{m}{n} \DeclareMathSymbol{\varheart}{\mathalpha}{extraup}...
merlin2011's user avatar
  • 3,273
3 votes
2 answers
2k views

Place text on lower right corner of picture

I am trying to place some text (a credit-line) on the lower right corner of (many) pictures. The text should be right-aligned with the right edge of the picture. I tried things like \documentclass[...
highsciguy's user avatar
2 votes
1 answer
557 views

Can I insert a table when I'm using overpic?

I want to do something like this: \begin{figure}[H] \centering{ \begin{overpic}[scale=0.3,grid,tics=5]{???}\label{???} \tiny{ \put(80,55){\begin{table} \centering \begin{...
Lisa's user avatar
  • 97
3 votes
1 answer
3k views

How can I put a \caption to an image when I'm using overpic?

I am trying to do something like this: \begin{overpic}[scale=0.3]{Sistema}\label{fig1} \caption[Fig1]{Sistema de flujo (abierto) definido por la línea interrumpida.} \end{overpic} I want to put ...
Lisa's user avatar
  • 97
4 votes
1 answer
895 views

Adding a legend with connector to a picture with overpic and tikz lead to a misspositioning of the bottom left corner of the tikz picture box

I try desperately to make a macro which allows me to simply add a circled number with connector on a figure. To do that, I try to use into the command \put of overpic a tikz function which makes the ...
Willi's user avatar
  • 439
0 votes
1 answer
4k views

ACM template: add pictures in a single row on both columns

I wanted to ask how to position pictures in ACM template in a row covering both columns. For example, when I add pic1, pic2, pic3 and pic4, they go below each other. I need two of them to stay in the ...
Alex's user avatar
  • 103
3 votes
1 answer
909 views

Include PDF without space on the left

I'm trying to include a PDF and then add text to it using overpic: \documentclass[a4paper]{article}% ensure identical page size \usepackage[abs]{overpic} \usepackage{tikz} \usepackage{geometry} \...
Stein's user avatar
  • 297
4 votes
2 answers
3k views

overpic overlap box frame

.Hello tex.se community, I have a problem when I put a\frame around an overpic environment. The top border of the frame is overlapped by the picture. Is it a bug or a wrong use of\frame command ? I ...
fwachtel's user avatar
2 votes
1 answer
3k views

LaTeX figure labeling using overpic: rescaling problems

I am using the overpic package to lay over different pictures in LaTeX. I am also labeling the axes of the figure using \put. The problem is say I have labeled the figure correctly. Now, sometime ...
Brato's user avatar
  • 423
4 votes
3 answers
4k views

Put centered text in bottom of image using overpic?

I have a graph for which I want a centered x-label at the bottom. The idea is to use overpic and then insert som text at the bottom using \put(50,1){some x-label}. The problem is that \put places the ...
darksmurf's user avatar
  • 143
3 votes
2 answers
699 views

How to completely fill page with a figure, using geometry and overpic

The LaTeX code below produces two pages. The second one is as I intended it to be: the picture filling the whole page. But when using overpic (for overlying some text), I have not been able of getting ...
jgbarah's user avatar
  • 133
1 vote
1 answer
404 views

Center, Scale, and Wrap Text atop an Image

Which LaTeX packages can I use to center, scale, and wrap text such that the following conditions are met: If the text isn't a wide as the container, scale the up text to fit. If the text is wider ...
twip's user avatar
  • 335
4 votes
2 answers
11k views

Draw tilted arrow on a diagram using overpic

I have an image in PNG format. I wanted to draw some arrows over it. These arrows are neither horizontal nor vertical. I am facing problem while assigning the directions to vector. Below is the image (...
ravi's user avatar
  • 1,618
2 votes
0 answers
616 views

Overpic+graphics full size image [closed]

I'm using graphics+overpic to create the title page of a book and I had a struggle eliminating a blank page that the code generated at the beginning of the book. So I insert the image with overpic, ...
Bea's user avatar
  • 21
3 votes
2 answers
1k views

Smartdiagram clipping a background picture

I am trying to use smartdiagram but with a background image clipped to the shape of the node for the "title" node. Then write over this some text. The MWE below shows an example of as far as I got but ...
ulugeyik's user avatar
6 votes
3 answers
1k views

overpic absolute positioning for local figure only

I am trying to use overpic with absolute positioning for a single figure only. The \usepackage[abs]{overpic} sets absolute positioning for all figures. Is there a way to define it for the local ...
Markus's user avatar
  • 1,345
11 votes
1 answer
18k views

Equation over picture (overpic)

Is there a way to place a mathematical equation over a picture? I am using the overpic package and \put command, but it doesn't work (\usemath, \begin{equation}...\end{equation}). \begin{figure}[h!] ...
mozek's user avatar
  • 113
4 votes
2 answers
4k views

subfigures using subfloatrow, overpic, tikz to add rows to annotate imported images/figures

I did my diligent search for a combination of subfloatrow, overpic, and adding arrows for annotation of imported images using tikz, but couldn't find one. These kind of images are typically found in ...
doctorate's user avatar
  • 4,133
27 votes
1 answer
54k views

Tikz: overlay png or pdf image over another pdf figure

I am newbie in Tikz. I would like to place a png or pdf image on another pdf figure using Tikz overlay.Unfortunately i don't have any Tikz code for both the figures. I have looked at this answer ...
texenthusiast's user avatar