[texhax] Text vertical shifting in output

Rodolfo Medina rodolfo.medina at gmail.com
Sun Jun 14 17:54:36 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 comment out lines 2,3,4,5,6,7, the whole text
is shifted down a little.

How can that be avoided?

Thanks for any help
Rodolfo


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


More information about the texhax mailing list