Questions tagged [overpic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
80 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
124 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
92 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
85 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
109 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
269 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
95 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
203 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
257 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
351 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
107 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
417 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
160 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
191 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
368 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
309 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
372 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
2k 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
650 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} \...
3
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
2k 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
488 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
236 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 ...
3
votes
2answers
8k 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
447 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, ...
2
votes
1answer
653 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
816 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 ...
10
votes
1answer
13k 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 ...
21
votes
1answer
36k 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 ...
7
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
3k 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): ...
2
votes
2answers
3k 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
4k 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
2k 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 ...
15
votes
2answers
3k views

Fitting text into a box over-a-pic

I am trying to fit a text into a box within an overpic environment. kongo09 had a similar question fit-text-into-given-box-by-adjusting-the-fontsize, and a highly workable solution was provided by ...
7
votes
1answer
608 views

External images displayed in circle

I'd like to have several external images organized in a circular shape, with TikZ drawing on top of it. I tried the scope option in TikZ with \includegraphics command, the whole thing being included ...