I have read this thread, but I don't think it addresses the same problem.
I am looking for a way to have a command in LaTeX with an interface as follows:
\placetextbox{x_in_page_percentage, y_in_page_percentage}{This is my text}
The command would place the text This is my text
centered within a box that may overlap with anything else on the page, and that would be placed at the coordinates specified by the variables x_in_page_percentage
and y_in_page_percentage
. These variables control the location of the x
in the diagram below. E.g.
-------------x---------------
This is my text
-----------------------------
This way, something like \placetextbox{0.5, 0.5}{This is my text}
would place the text roughly on the center of the page, regardless of anything else that may be on that location.
Any thoughts how to do this?
LaTeX
, a "floating" object does not overlap any other visible objects in the document. What makes it a "floating" is that its location in the output document is not exactly the location in the source code. e.g. you embed an image file. In your source code, you have some text before the image embed and some text after the image embed If latex put the picture exactly where your embed code was, then half of the picture might be on one page, and half on another page. As such,LaTeX
will "float" the picture somewhere else.