Questions tagged [textpos]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
49 views

Unwanted vertical shift of the textblock environment (textpos)

Here is MWE showing my problem: \documentclass[11pt]{article} \usepackage[absolute,overlay]{textpos} \TPGrid{1}{1} \begin{document} Line 1 \begin{textblock}{1}(0,0) My overlay \end{...
-1
votes
1answer
45 views

! Illegal unit of measure (pt inserted) when using texblock with cm

When I use textblock without cm is ok. Example: \begin{textblock}{14}(0.5,0.5) But when I add cm: \begin{textblock}{14cm}(0.5cm,0.5cm) The error in the log is: ! Illegal unit of measure (pt ...
1
vote
1answer
38 views

pagebreak, newpage don't work with textblock, textpos

I use textpost, textblock to put two tcbpost in one page: 2 tcbposter in one page and set absolute position But \pagebreak, \newpage don't work when I insert another posterbox (BOX C). Please help; ...
0
votes
0answers
32 views

Creating environment and commands in \textpos

I have been experimenting with textpos to understand some of the nitty gritty So for each new page the text has to be nested within a \newpage command, am I correct? If I am right this would become ...
1
vote
2answers
74 views

Reset color in next textblock

I use \textblockcolour{cyan} to change color of only one textblock environment. But other textblocks change color to cyan too. How to reset other textblocks to defined color? Minimal coding: \...
0
votes
1answer
27 views

Remove extra vertical padding before tabular in textpos absolute environment

I am trying to position a tabular using textpos in absolute mode. In my observation there is some extra spacing that gets added before the first row. This leads to misalignment in the the vertical ...
0
votes
1answer
41 views

How to use the textblock* environment to write on the next page?

As a follow-up question to this: How to typeset a critical apparatus like the commented "Mein Kampf" edition? Since the packages that came up didn't exactly do what I wanted, I came up with ...
0
votes
1answer
31 views

\hrule within \textblock (from textpos package) does not appear in the output

My code: \documentclass{beamer} \usepackage[absolute,overlay]{textpos} \begin{document} \begin{frame}[fragile,t] \frametitle{Demo} \begin{textblock*}{\textwidth}(20mm,20mm) \vspace{5mm}\hrule ...
5
votes
3answers
432 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 ...
1
vote
0answers
26 views

Text boxes are superimposed over each other, and shouldn't be

I'm making a planning book for teachers' lesson plans. So I want a series of two-page spreads. So far I have the following: \documentclass[letter,openleft,twoside]{memoir} \usepackage[left=0pt,right=...
0
votes
1answer
291 views

Is it OK to ignore Underfull \hbox errors? I attempted, but it did not wok. I use textpos and ragged2e

I tried to solve by middle of the following questions: ragged2e: "newcommands" option produces "underfull \hbox" warnings, Underfull \hbox (badness 10000) in paragraph in figure ...
1
vote
1answer
145 views

Centering text between two textblocks (texpos package)

I'm working on a cover to work as a template for my assignments (they have to follow a standard). So I have three elements that have absolute positioning: one (the institution + course) is attached to ...
0
votes
1answer
44 views

Using ''textpos'' in a colored page

I want to write a text in a given position in a colored page. So I used the code: \documentclass{article} \usepackage[italian]{babel} \usepackage[T1]{fontenc} % \usepackage[absolute]{textpos} ...
2
votes
2answers
292 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 ...
1
vote
1answer
219 views

Positioning of image with caption

I have some issues with positioning an image with the help of textpos-package. I want the figure to be positioned as in frame 1, but with a centered caption (like in frame 2). I tried to put the image ...
0
votes
0answers
102 views

Adobe Reader XI reports corrupted PDF for pdfTeX compiled combination beamer + overlay + textblock + includgraphics

The following M(N)WE is compiled with latexmk using pdfTeX 3.14159265-2.6-1.40.17 (TeX Live 2016) (Debian). \documentclass{beamer} \usepackage[absolute, overlay]{textpos} \begin{document} \begin{...
1
vote
1answer
742 views

Textblock gives grey background which I cannot change

Please could someone suggest what I am doing wrong? I keep getting text boxes with a grey background, even when I try to change the text block colour. I used an example from a popular book to try to ...
0
votes
1answer
292 views

textpos/textblock interacts badly with wrapfigure

I want to position certain elements exactly in the corners of my page. With research, textblock seemed to be what I needed. Here is a working example of that, before wrapfigure caused problems: \...
0
votes
1answer
1k views

How to set text height in a textblock using textpos in Beamer?

I'm using the textpos package with Beamer in order to put some text at the bottom right corner of a slide. Despite having read the package instructions, I fail to understand how to set the text height ...
0
votes
1answer
299 views

Add text in the footline of a specific beamer frame

I'm using my university beamer template to create a presentation. The footline of the template includes a blue bar and the university logo. In other presentations I've created, I was using the ...
2
votes
1answer
249 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 ...
0
votes
1answer
223 views

A parbox inside a textblock

I would like to have absolute positioning with centering vertical alignment. I am trying to achieve this by using a \parbox inside a \textblock (from textpos): \documentclass{article} \usepackage[...
0
votes
1answer
398 views

Thesis frontispiece

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 the package frontespizio but I am not ...
1
vote
1answer
12k views

Package textpos defining textblock in width of \textwidth and relative commands

I have some questions, that won't be solved by the documentation. 1.) [This is solved, solution in 1]I would like to do \documentclass{scrartcl} \usepackage{textpos} \begin{document} \begin{...
3
votes
2answers
222 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 ...
1
vote
1answer
2k views

Improper \prevdepth in tikzpicture with foreach loop

im trying to modify the business card template from ShareLatex in order to make a card seperatly (as a command) for formating of the card. Then to make a foreach loop to make two columns of these ...
3
votes
1answer
567 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 ...
4
votes
2answers
150 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} {% \...
1
vote
0answers
87 views

Unwanted empty page from combining textblock* and spacing environments

How can I get rid of the extra blank page that is apparently caused in this example by combining spacing and textblock* environments? There's one restriction: the entire content of the spacing ...
2
votes
1answer
575 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 ...
3
votes
1answer
425 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=...
1
vote
1answer
552 views

illegal units of measure with textblock

I am 100 % sure this code worked within my presentation I held 2 years ago. I reopened it but I do get the error Illegal unit of measure (pt inserted) { \usebackgroundtemplate{ \includegraphics[...
1
vote
1answer
126 views

How to use \includeonlyframes with textblock? (All pages are printed)

All pages are printed. How to solve it? \documentclass{beamer} \includeonlyframes{current} \usetheme{Berlin} \usepackage[]{graphicx} \usepackage[backend=bibtex,style=authoryear]{biblatex} \usepackage[...
4
votes
1answer
366 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 ...
2
votes
2answers
2k 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 ...
1
vote
1answer
476 views

Article class letterhead with logo on first page and different margins on second page

I've been struggling with this for a couple of days. I can't find a good solution for making this letterhead. I want to have the text justified as on the guidelines, but only on the first page: So it ...
1
vote
0answers
68 views

tocloft list of items in a textpos environnement [closed]

I created a personal list with tocloft package. Here is the beginning of code : \documentclass[a4paper,oneside]{article} \usepackage[french]{babel} \usepackage{textpos} \usepackage{tocloft} \...
2
votes
1answer
378 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
835 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] \...
1
vote
1answer
733 views

Selective overlay option of textblock with the textpos package

The texpos package has an option called [overlay] that, when loading the package makes all the text boxes textblocks be above (obscuring) other elements of the page. Is there a way to control whether ...
1
vote
1answer
412 views

How to prevent textpos' textblock environment from inserting \par?

The following MWE confirms what textpos documentation says: The {textblock} environment will most often be used in vertical mode. If it is called in horizontal (ie, paragraph) mode, however, it ...
1
vote
2answers
446 views

PGF keys passing arguments to multiple environments

I'd like to combine both tcolorbox and textpos to place boxes to a specific position in a page. Here is a MWE: \documentclass[]{article} \usepackage{pgfkeys} \usepackage{tcolorbox} \usepackage[...
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: \...
1
vote
1answer
863 views

Positioning using textpos and animated blocks

I am trying to position a figure on a page using textpos and then have a block appear over it in the next slide. I am inspired by the Gonzalo Medina's code given here. Here is what my code looks like, ...
1
vote
0answers
168 views

Colored mainfont with fontspec in a textblock yields to pdf error with LuaLaTex [closed]

When I (1) change the color of the mainfont with the fontspec package, (2) put some text in a textblock environment and (3) compile the document with LuaLaTex, the resulting pdf when opened with Adobe ...
1
vote
1answer
464 views

Textpos on just one page

I'm using the Friggeri CV style, and it's not well-equipped for multiple pages. It has an aside environment, using textpos, which only appears on the first page — but the space for it exists on ...
10
votes
1answer
20k 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 ...
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, ...
1
vote
0answers
235 views

Making a textpos command being transparent

I am defining my own margin notes command and I have a question about making a command "transparent". To be more clear, I have the following code : \documentclass{article} \usepackage[absolute]{...
5
votes
1answer
852 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 ...