Wide figure in twocolumn output in Plain TeX
up vote
6
down vote
favorite
I try to get something which looks like a figure*
in LaTeX. I have defined widetopinsert
and endwiedeinsert
. This works but the text on the second column goes into the bottom margin.
catcode`@=11
raggedbottom
newdimenfullhsize
newdimencolumnsep
columnsep 1cm
fullhsizehsize
advancehsize-columnsep
dividehsizetw@
deffullline{hbox tofullhsize}
defmakeheadline{vbox toz@{vskip-22.5p@
fullline{vbox to8.5p@{}theheadline}vss}nointerlineskip}
defmakefootline{baselineskip24p@lineskiplimitz@fullline{thefootline}}
newifif@firstcolumn @firstcolumntrue
newboxfirstcolumn
output={if@firstcolumn globalsetboxfirstcolumn=columnbox
global@firstcolumnfalse
else
doubleformat global@firstcolumntruefi
ifnumoutputpenalty>-20000 elsedosuperejectfi}
defdoubleformat{shipoutvbox{
makeheadline
ifvoidwidetopinselsefullline{boxwidetopins}fi
fullline{boxfirstcolumnhfilcolumnbox} makefootline}
advancepageno}
defcolumnbox{leftline{pagebody}}
newinsertwidetopins
skipwidetopinsz@skip
countwidetopins=1000
dimenwidetopins=maxdimen
defwidetopinsert{p@gefalseparbegingroupsetboxz@vboxbgrouphsizefullhsize}
defendwideinsert{egroup
insertwidetopins{penalty100 % floating insertion
splittopskipz@skip
splitmaxdepthmaxdimen floatingpenaltyz@
ifp@ge dimen@dpz@
vbox tovsize{unvboxz@kern-dimen@}% depth is zero
else boxz@nobreakbigskipfi}endgroup}
defmypicture{vrule height 100pt depth 40pt width300pt}
deftext{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.}
texttexttext
widetopinsert
centerline{mypicture}
endwideinsert
texttexttexttexttext
bye
How can I get the right textheight on the second column?
floats plain-tex
This question has an open bounty worth +50
reputation from user125730 ending in 4 days.
This question has not received enough attention.
add a comment |
up vote
6
down vote
favorite
I try to get something which looks like a figure*
in LaTeX. I have defined widetopinsert
and endwiedeinsert
. This works but the text on the second column goes into the bottom margin.
catcode`@=11
raggedbottom
newdimenfullhsize
newdimencolumnsep
columnsep 1cm
fullhsizehsize
advancehsize-columnsep
dividehsizetw@
deffullline{hbox tofullhsize}
defmakeheadline{vbox toz@{vskip-22.5p@
fullline{vbox to8.5p@{}theheadline}vss}nointerlineskip}
defmakefootline{baselineskip24p@lineskiplimitz@fullline{thefootline}}
newifif@firstcolumn @firstcolumntrue
newboxfirstcolumn
output={if@firstcolumn globalsetboxfirstcolumn=columnbox
global@firstcolumnfalse
else
doubleformat global@firstcolumntruefi
ifnumoutputpenalty>-20000 elsedosuperejectfi}
defdoubleformat{shipoutvbox{
makeheadline
ifvoidwidetopinselsefullline{boxwidetopins}fi
fullline{boxfirstcolumnhfilcolumnbox} makefootline}
advancepageno}
defcolumnbox{leftline{pagebody}}
newinsertwidetopins
skipwidetopinsz@skip
countwidetopins=1000
dimenwidetopins=maxdimen
defwidetopinsert{p@gefalseparbegingroupsetboxz@vboxbgrouphsizefullhsize}
defendwideinsert{egroup
insertwidetopins{penalty100 % floating insertion
splittopskipz@skip
splitmaxdepthmaxdimen floatingpenaltyz@
ifp@ge dimen@dpz@
vbox tovsize{unvboxz@kern-dimen@}% depth is zero
else boxz@nobreakbigskipfi}endgroup}
defmypicture{vrule height 100pt depth 40pt width300pt}
deftext{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.}
texttexttext
widetopinsert
centerline{mypicture}
endwideinsert
texttexttexttexttext
bye
How can I get the right textheight on the second column?
floats plain-tex
This question has an open bounty worth +50
reputation from user125730 ending in 4 days.
This question has not received enough attention.
2
Just memorize thatvsize
from the left column and set it for the right column?
– Henri Menke
2 days ago
add a comment |
up vote
6
down vote
favorite
up vote
6
down vote
favorite
I try to get something which looks like a figure*
in LaTeX. I have defined widetopinsert
and endwiedeinsert
. This works but the text on the second column goes into the bottom margin.
catcode`@=11
raggedbottom
newdimenfullhsize
newdimencolumnsep
columnsep 1cm
fullhsizehsize
advancehsize-columnsep
dividehsizetw@
deffullline{hbox tofullhsize}
defmakeheadline{vbox toz@{vskip-22.5p@
fullline{vbox to8.5p@{}theheadline}vss}nointerlineskip}
defmakefootline{baselineskip24p@lineskiplimitz@fullline{thefootline}}
newifif@firstcolumn @firstcolumntrue
newboxfirstcolumn
output={if@firstcolumn globalsetboxfirstcolumn=columnbox
global@firstcolumnfalse
else
doubleformat global@firstcolumntruefi
ifnumoutputpenalty>-20000 elsedosuperejectfi}
defdoubleformat{shipoutvbox{
makeheadline
ifvoidwidetopinselsefullline{boxwidetopins}fi
fullline{boxfirstcolumnhfilcolumnbox} makefootline}
advancepageno}
defcolumnbox{leftline{pagebody}}
newinsertwidetopins
skipwidetopinsz@skip
countwidetopins=1000
dimenwidetopins=maxdimen
defwidetopinsert{p@gefalseparbegingroupsetboxz@vboxbgrouphsizefullhsize}
defendwideinsert{egroup
insertwidetopins{penalty100 % floating insertion
splittopskipz@skip
splitmaxdepthmaxdimen floatingpenaltyz@
ifp@ge dimen@dpz@
vbox tovsize{unvboxz@kern-dimen@}% depth is zero
else boxz@nobreakbigskipfi}endgroup}
defmypicture{vrule height 100pt depth 40pt width300pt}
deftext{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.}
texttexttext
widetopinsert
centerline{mypicture}
endwideinsert
texttexttexttexttext
bye
How can I get the right textheight on the second column?
floats plain-tex
I try to get something which looks like a figure*
in LaTeX. I have defined widetopinsert
and endwiedeinsert
. This works but the text on the second column goes into the bottom margin.
catcode`@=11
raggedbottom
newdimenfullhsize
newdimencolumnsep
columnsep 1cm
fullhsizehsize
advancehsize-columnsep
dividehsizetw@
deffullline{hbox tofullhsize}
defmakeheadline{vbox toz@{vskip-22.5p@
fullline{vbox to8.5p@{}theheadline}vss}nointerlineskip}
defmakefootline{baselineskip24p@lineskiplimitz@fullline{thefootline}}
newifif@firstcolumn @firstcolumntrue
newboxfirstcolumn
output={if@firstcolumn globalsetboxfirstcolumn=columnbox
global@firstcolumnfalse
else
doubleformat global@firstcolumntruefi
ifnumoutputpenalty>-20000 elsedosuperejectfi}
defdoubleformat{shipoutvbox{
makeheadline
ifvoidwidetopinselsefullline{boxwidetopins}fi
fullline{boxfirstcolumnhfilcolumnbox} makefootline}
advancepageno}
defcolumnbox{leftline{pagebody}}
newinsertwidetopins
skipwidetopinsz@skip
countwidetopins=1000
dimenwidetopins=maxdimen
defwidetopinsert{p@gefalseparbegingroupsetboxz@vboxbgrouphsizefullhsize}
defendwideinsert{egroup
insertwidetopins{penalty100 % floating insertion
splittopskipz@skip
splitmaxdepthmaxdimen floatingpenaltyz@
ifp@ge dimen@dpz@
vbox tovsize{unvboxz@kern-dimen@}% depth is zero
else boxz@nobreakbigskipfi}endgroup}
defmypicture{vrule height 100pt depth 40pt width300pt}
deftext{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.}
texttexttext
widetopinsert
centerline{mypicture}
endwideinsert
texttexttexttexttext
bye
How can I get the right textheight on the second column?
floats plain-tex
floats plain-tex
edited Nov 12 at 22:45
asked Nov 12 at 22:31
user125730
17529
17529
This question has an open bounty worth +50
reputation from user125730 ending in 4 days.
This question has not received enough attention.
This question has an open bounty worth +50
reputation from user125730 ending in 4 days.
This question has not received enough attention.
2
Just memorize thatvsize
from the left column and set it for the right column?
– Henri Menke
2 days ago
add a comment |
2
Just memorize thatvsize
from the left column and set it for the right column?
– Henri Menke
2 days ago
2
2
Just memorize that
vsize
from the left column and set it for the right column?– Henri Menke
2 days ago
Just memorize that
vsize
from the left column and set it for the right column?– Henri Menke
2 days ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459697%2fwide-figure-in-twocolumn-output-in-plain-tex%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Just memorize that
vsize
from the left column and set it for the right column?– Henri Menke
2 days ago