Questions tagged [textpos]

A package for placing blocks of text at absolute positions on a page.

Filter by
Sorted by
Tagged with
15
votes
2answers
10k views

How can I make textpos respect beamer overlays?

I'm using textpos to position text blocks in a beamer frame. However, the textblock environment does not seem to respect overlay commands. In the following example, I want "some more text" to be ...
10
votes
1answer
18k views

Properly Positioning text in beamer using textpos

I am using textpos to control the position of text in a beamer frame. What I want to do, is to place some text on top of an image. I am using the package in absolute mode and I want to place the text ...
10
votes
3answers
39k views

How do I put some text in specific position on a page horizontally with the prosper class?

Is there anyway to put text in a page horizontally at a specific position with LaTeX using the prosper class? After googling, I found that the textpos package can be used to put text in a specific ...
10
votes
1answer
802 views

Best way to have a piece of text in a fixed location on every beamer slide?

I'm trying to create a beamer template that could be used for giving high school lessons, and one item I'd like is if on every slide I could display information (like the aim for the day, the homework,...
9
votes
3answers
287 views

Writing TeX file name at the top of the processed document for article class

Consider the following MWE. \documentclass{article} \usepackage{textpos} \newcommand{\insertname}{% \begin{textblock}{2}(5,-0.5) \bfseries{\jobname.tex} \end{textblock} } \begin{document} \...
8
votes
1answer
1k views

How to add text into a QR-Code?

I want to add a text to the QR-Code. I want a small numbers in one of the four black squares. \documentclass[a4paper, 12pt, parskip]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{pst-barcode} \...
8
votes
1answer
769 views

Unexpected output using tikz/textpos

The following code (MWE) \documentclass[a4paper]{article} \usepackage{tikz} \usepackage[absolute]{textpos} \usetikzlibrary{external} \tikzexternalize \begin{document} \begin{textblock}{4}[0,0](1....
6
votes
2answers
3k views

Textpos not showing anything

I'm trying to create a business card in LaTeX. Accordingly, I want to use textpos to absolutely position the various elements. For some reason, textpos is just not showing anything. What I want is ...
6
votes
2answers
4k views

Frontispiece with absolute positioning, usage of the textpos package

I would like to write my graduation thesis in LaTeX, but I need to make a frontispiece that exactly looks like this one made with Microsoft Word: I've tried with some environments like titlepage and ...
6
votes
2answers
143 views

Highlighting words in forms if they are too long

I am using the following code to have LaTeX fill paper forms for bank payments. The single cells in the form have a maximum width so my question is the following: Can I make LaTeX highlight those text ...
6
votes
1answer
4k views

Setting \textwidth seems to break textblock* command from textpos package?

I would like to position text absolutely using the textblock* command from the textpos package. Minimal working example: \documentclass{article} \usepackage[absolute]{textpos} % \renewcommand{\...
6
votes
1answer
395 views

Microtype and textpos

I have found an effect on the part of the microtype package that I'd wish to cancel somehow. In the MWE that I am including below I collect a couple of token contents to be typed as part of a footer ...
5
votes
3answers
208 views

Tikz image within a defined box (& the textpos package)

Short Description I am trying to create a template for a multiple choice question that has an image associated with it. I want the question to look like this: In this picture, I've shown the square ...
5
votes
2answers
1k views

How can I align some text with a logo?

I am trying to right-align some text with a logo, i.e. I would like to place some text to the left of a logo, and centre this text vertically with respect to the logo. I’ve attached a pdf to be more ...
5
votes
1answer
1k views

grid for textpos layout

This could be a too obvious question. I'm trying to lay things out on a page and I'm having to recompile a lot. I'd like to layout a grid using \TPHorizmodule and \TPVertmodule (from the textpos ...
5
votes
2answers
4k views

LaTeX beamer handout mode textpos

I'm using beamer with textpos to place certain blocks at particular positions (in particular, I use the textblock* environment). When I attempt to create a handout, the pieces of text within ...
5
votes
2answers
746 views

Change in the header for the handout

I am running into a weird problem. When I run my code in beamer mode, the logo that I use in each slide (in the right top corner) stays there and does not move. When I try to make handouts, the logo ...
5
votes
1answer
745 views

Calculation of an absolute position

My question is about calculating with the package textpos. By saving the vertical position of a block of text with zsavepos and calculating the middle of it, I want to position a block of text at the ...
4
votes
2answers
145 views

pgfmathresult with unexpected result

Please have a look at the following MWE. \documentclass{scrartcl} \usepackage{etoolbox} \usepackage[absolute]{textpos} \usepackage{tikz} \begin{document} \foreach \i in {1,2,3,...,30} {% \...
4
votes
1answer
295 views

Generate tikzpicture stepwise with textblocks

I want to build a block scheme to visualize a workflow. I created a tikzpicture containing nodes that appear one by one. This works so far. Now I want to add illustrations and equations with every ...
4
votes
1answer
986 views

Absolute positioning of an image without overlaying the text

The following will position an image at the specified page coordinates. \documentclass{article} \usepackage{lipsum} \usepackage[demo]{graphicx} \usepackage[absolute,overlay]{textpos} \setlength{\...
3
votes
2answers
4k views

Can't implement new command in latex (under beamer)

I'm trying to create a new command that will ease on reference placement under beamer. This is an example file: \documentclass[bigger]{beamer} \usepackage[absolute,overlay]{textpos} \tolerance=1000 \...
3
votes
1answer
280 views

Is there a GUI, package, or plugin that I can use to create InDesign-like textboxes that contain LaTeX markup?

I'm not very spatially aware and I'm looking for an app, program, plugin, or extension that would allow me to create indesign-like text boxes (that I can drag around a page and select) that can ...
3
votes
2answers
181 views

Get the documentclass widths, lengths and spaces

I am trying to use the textpos package to absolute-position a textblock in the upper left corner of the text area on my page (i.e. inside the page margins). I know I can get the width of the text by ...
3
votes
1answer
321 views

why isn't a blank page inserted?

Shouldn't the following code \documentclass{book} \usepackage[absolute]{textpos} \providecommand{\insertblankpage}[0]{ \newpage \leavevmode \thispagestyle{empty} \newpage } \begin{document} \...
3
votes
1answer
448 views

Making fancy frames around a textblock

I'm aware of the question and of the replies about borders around a textblock from the textpos package. This works but produces "very square" boxes... I was wondering if there was a way to make ...
3
votes
1answer
346 views

How can I achieve textpos relative positioning in a document set to absolute positioning?

This is as close as I've got, but I can't work out how to do the calculation so that textblock accepts it: \documentclass[11pt]{article} \usepackage[paperheight=93.884mm,paperwidth=68.992mm,margin=...
3
votes
1answer
584 views

Manually made folding marks in article don't appear as intended

I am writing a letter in the article documentclass in LyX. I tried Koma-script v2, and found it nice, but not quite fulfilling with customization, at any rate not within LyX. Most of my letter works ...
3
votes
2answers
1k views

pst-barcode, textpos and XeLaTeX

Please consider the following MWE, which shall place a QR code (pst-barcode package) at a fixed position on the page using the textpos package: \documentclass{article} \usepackage{pst-barcode} \...
3
votes
1answer
384 views

No paragraph in datatool's DTLforeach possible when using a textblock from textpos

I'd like to print labels using the datatool and the textpos packages. Yet as soon as I insert a paragraph inside the textbox which is inside the \DTLforeach loop, I get the "Paragraph ended before \...
3
votes
1answer
5k views

How do I position title, frametitle, navigation bar and contents in arbitrary absolute positions?

I am trying to adapt the structure of a slide in beamer in order to match a background I would like to use. However, if I just insert the components of the frame (title, frametitle, contents), things ...
3
votes
1answer
3k views

Absolute positioning in beamer when using `show notes on second screen`: text on wrong page

If you compile the example below, you have a very comfortable way to put sources on the slides for for LaTeX beamer. However, if you uncomment the line with the option show notes on second screen, ...
3
votes
0answers
586 views

z-order (foreground/background) in pdflatex [closed]

I am using the wallpaper package to put a pre-made PDF on the title page of my LaTeX document. On the same page, I use the textpos package to insert some text and an image (with \includegraphics ...
2
votes
2answers
1k views

Change package option “overlay” from textpos package in document?

I am using the textpos package to position images on beamer slides. My problem is that I would like to have these images in some slides in the front of everything else (package option "overlay") and ...
2
votes
2answers
234 views

How do I prevent a text block image from overlapping title?

Like so many others before me, I am attempting to recreate my institute's PowerPoint theme in beamer. On our title slide, we have an image flush right and the title contents is to the left and right ...
2
votes
3answers
1k views

How to put a textblock above the background image?

I'm trying to implement this solution while using textpos but the textblock*s seem to land below the "background" image instead of above. Can one overcome this? A minimal example would be: \...
2
votes
1answer
3k views

Add logos in upper left and right corner of Malmoe theme in beamer

I'm trying to add a logo into the upper left and upper right corners of the Malmoe theme. I'm sure it doesn't matter, but just in case, I'm using the Whale color theme. I've tried several things, ...
2
votes
1answer
54 views

textpos toggling noshowtext option

Is there a way of toggling the textpos option [noshowtext]? I would like some textboxes to show the frame but not the text. And others to show both frame and text, but can't seem to find a way of ...
2
votes
1answer
202 views

Beamer, textpos and xcolor: color is changed also outside textblock environment

When defining the color of the text in a textblock environment (i.e. from textpos package), then the color of the text of the next frame is changed to that color too. In the example below (compiled ...
2
votes
1answer
278 views

Unexpected box sizes with `textpos`

UPDATE i've since published a LaTeX style file based on the below finds, CXLTX Position Absolute, part of the (incipient) CXLTX Style Collection, which makes it easier to precisely position one-...
2
votes
1answer
663 views

textpos and pause result in wrong order in beamer

I use a textpos textblock in a beamer document. I want to display content step by step, but the slides are in wrong order. example code: \documentclass{beamer} \usepackage[absolute,overlay]{textpos}...
2
votes
1answer
305 views

Insert a photo inline with some text and math environment (align)

I'm trying to get sth like: I've been having problem with the picture-inline-with-text part. A little help please. The wrapfigure package (which is known to be better) doesn't work. Nothing is shown ...
2
votes
1answer
1k views

Text not visible if positioned over included colored pdf?

I'm having a strange issue with LaTeX: My document uses a PDF background that is included with \includepdf{pdf/title}. This PDF consist of some logos and a solid red colored stripe across the page. I ...
2
votes
1answer
468 views

Custom geometry per page style

I use fancyhdr to create custom headers and footers. I also use textpos and Tikz to embellish those headers and footers. I want to use textpos with absolute positioning instead of tikz current page ...
2
votes
1answer
321 views

how to make the grid within eso-pic in a A3 poster less visible

I am making a A3 poster that has a square grid as background. I would place more texts and pictures on this poster using textpos package. My question is 1) as in the title: that is making texts and ...
2
votes
1answer
733 views

Beamer, textblock: text does not appear

I am trying using textblock with beamer. The problem is that I am not able to make the text appear. \documentclass[10pt,handout]{beamer} \setbeamertemplate{frametitle}[default][center] \...
2
votes
1answer
138 views

Inserting names on invitations, two per page in specific locations

I am doing a wedding invitation and I want the RSVP to have the person's name on it. I also need the name to appear in another, very specific location on the invitation. The invitation only takes up ...
2
votes
2answers
1k views

wrapfigure in moderncv

I want to add my photo in moderncv environment! Itemize positioning and other floats are missed up! I tried to use \textpos package but didn't work! Here is the code \usepackage{graphicx} \usepackage{...
2
votes
1answer
585 views

Absolute position and pagebreak

I need to generate random text and if random text = \textheight, break page automatically and start new page with the rest of the text in the same textblock environment. I read many articles, but the ...
1
vote
1answer
396 views

package textpos gives Runaway argument error

I am trying to position images in order to make a "stamp" pdf for use with pdftk. textpos looks like the perfect solution, but this code gives errors and no output: \documentclass[a4paper]{article} \...