[texhax] Text vertical shifting

Rodolfo Medina rodolfo.medina at gmail.com
Mon Jun 15 14:30:10 CEST 2009

Rodolfo Medina <rodolfo.medina at gmail.com> writes:

>>> Suppose that I put here:
>>>  <some text>
>>> , but I want that in the output it is shifted a few lines vertically down,
>>> i.e. in the output it should not appear where I put it in the source tex
>>> file but a few lines below.
>>> Is it possible, and how?
>>> [...]
>>> only <some text> should be shifted down, but not the text following it.  In
>>> other words, <some text> should be output by TeX n lines forward respect to
>>> where it is in the source, but not the rest of the text.

"Philip TAYLOR (Ret'd)" <P.Taylor at Rhul.Ac.Uk> writes:

>> OK, try this :
>> <pre-text>
>> \vtop to 0 pt
>> \bgroup
>> \strut
>> \vskip n-1\baselineskip
>> <some text>
>> \vss
>> \egroup
>> <post-text>

> Thanks, this seems to work!
> Rodolfo

...but with some undesired side effect: I'm attaching test.tex, to be processed
simply with: `tex test'.  If you uncomment the lines 5,6,7,8,9,10 the whole
text is shifted down.

How can that be avoided?

Thanks for any help

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: text/x-tex
Size: 6775 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20090615/205e0d6d/attachment.bin>

More information about the texhax mailing list