Text FormattingGet current Cursor Position

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
EmilioLazo
Posts: 15
Joined: Sat Jul 16, 2011 1:59 am

Get current Cursor Position

Post by EmilioLazo »

Hi

What procedure can be used to ask TeX for the current cursor position in the page?

What I'm doing? I have a textblock* environment with some text and one image. By how textblock works, when the environment ends (like picture environment), its box is 0 vertical size or something similar resulting in overlapping newly written text after ending this environment.

Would be very useful getting the current position before closing textblock* and saving it into a variable, length, counter or whatever that can be readed just after \end{textblock} to move there, or to leave the vertical space needed to avoid text overlapping.

Any idea?
Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply