Questions tagged [overpic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
27 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, ...
0
votes
1answer
43 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{...
1
vote
2answers
41 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 ...
0
votes
0answers
47 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 ...
-1
votes
1answer
52 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}[...
0
votes
0answers
20 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 ...
2
votes
1answer
118 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 ...
0
votes
0answers
194 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 ...
0
votes
0answers
55 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}...
1
vote
1answer
79 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 ...
1
vote
1answer
235 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 ...
2
votes
1answer
1k 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 ...
3
votes
2answers
635 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 ...
1
vote
1answer
228 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{...
2
votes
1answer
338 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} \...
0
votes
2answers
392 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 ...
0
votes
1answer
619 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 ...
0
votes
1answer
175 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 ...
1
vote
1answer
565 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. \...
0
votes
1answer
441 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 ...
2
votes
0answers
785 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}...
2
votes
1answer
178 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 ...
4
votes
2answers
1k 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[...
2
votes
1answer
306 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 ...
1
vote
1answer
355 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{\...
4
votes
1answer
662 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}...
3
votes
2answers
1k 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[...
2
votes
1answer
478 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{...
2
votes
1answer
2k 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 ...
2
votes
1answer
701 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 ...
0
votes
1answer
3k 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 ...
3
votes
1answer
803 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} \...
4
votes
2answers
2k 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 ...
2
votes
1answer
2k 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 ...
4
votes
3answers
3k 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 ...
3
votes
2answers
605 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 ...
1
vote
1answer
339 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 ...
4
votes
2answers
10k 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 (...
2
votes
0answers
547 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, ...
3
votes
2answers
920 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 ...
6
votes
3answers
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 ...
11
votes
1answer
17k 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!] ...
4
votes
2answers
3k 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 ...
27
votes
1answer
47k 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 ...
8
votes
4answers
2k views

Map with explaining pictures

I try to achive something like this: It is a photo I made in the local zoo. Sorry for the poor quality. I like the idea of a map containing explaining images and try to do the same with beamer. ...
15
votes
2answers
4k views

How to add a scalebar to an image [duplicate]

I'm trying to figure out how best to add scale bars to my images, such as in these wondeful snowflake images (the full size image is a bit large, but it's the best example of what I'm trying to do): ...
3
votes
2answers
4k views

How to trim after an overpic

I was reading this post and its answers regarding the overpic package so I tried this: \documentclass{article} \usepackage[abs]{overpic} \begin{document} \begin{overpic}[grid,tics=10]{elephant} \end{...
3
votes
2answers
5k views

Using an overpic grid to crop a resized image in Beamer

I've caught wind of a trick for trimming/cropping images in LaTeX. I know I can use the trim or viewport option of includegraphics to crop an image as described here and here. Determining what ...
5
votes
1answer
2k views

Force a caption to be on the same page as a figure

I'm using the overpic environment to include figures, and the memoir class to add captions. How do I force the caption to always stay on the same page as its corresponding figure? Below is my MWE. ...
5
votes
1answer
3k views

Using a different font in overpic

I'm using the overpic package in the memoir class to include figures and superimpose text on them. Is there a simple way to tell overpic to use a different font than the main font of my text? (I ...