How can I make a vertical rule that extends to the edges of an fbox?Why should the minimal class be avoided?Adjusting the height of vlineHow can I eliminate the epigraph rule?Non-invasive replacement for fbox?Box with same vertical height, even when emptyHow can I place a vertical rule between subfigures?Rule at the end of chapter: vertical and horizontal aligningConTeXt: Get edges of frames without intersections with other edges. Vertical lines between wordsHow to make “rule with hooks”what is the correct value to move horizontal rule and join it with vertical rule between minipage?How to change the default border color of fbox?How can we make caption the appear inside of the fbox?
What does it mean with the ask price is below the last price?
The lexical root of the perfect tense forms differs from the lexical root of the infinitive form
Could one theoretically use the expansion of the universe to travel through it? At least in one direction?
Looking for a simple way to manipulate one column of a matrix
How are Core iX names like Core i5, i7 related to Haswell, Ivy Bridge?
What is the airplane type in this formation seen above Eugene, Oregon?
Should these notes be played as a chord or one after another?
How to align underlines in a cases environment
How to deal with inappropriate comments during interviews for academic positions?
How to select certain lines (n, n+4, n+8, n+12...) from the file?
How did Thanos not realise this had happened at the end of Endgame?
Can I do brevets (long distance rides) on my hybrid bike? If yes, how to start?
Is there a faster way to calculate Abs[z]^2 numerically?
What is the best way for a skeleton to impersonate human without using magic?
Early arrival in Australia, early hotel check in not available
Make all the squares explode
How can a Lich look like a human without magic?
Is the schwa sound consistent?
How to pronounce "r" after a "g"?
How do I compare the result of "1d20+x, with advantage" to "1d20+y, without advantage", assuming x < y?
Why in a Ethernet LAN, a packet sniffer can obtain all packets sent over the LAN?
What is the significance of 4200 BCE in context of farming replacing foraging in Europe?
Is a diamond sword feasible?
How could we transfer large amounts of energy sourced in space to Earth?
How can I make a vertical rule that extends to the edges of an fbox?
Why should the minimal class be avoided?Adjusting the height of vlineHow can I eliminate the epigraph rule?Non-invasive replacement for fbox?Box with same vertical height, even when emptyHow can I place a vertical rule between subfigures?Rule at the end of chapter: vertical and horizontal aligningConTeXt: Get edges of frames without intersections with other edges. Vertical lines between wordsHow to make “rule with hooks”what is the correct value to move horizontal rule and join it with vertical rule between minipage?How to change the default border color of fbox?How can we make caption the appear inside of the fbox?
Consider the following MWE:
documentclassminimal
begindocument
fboxsome text vrule more text
fboxsome text vrule more deep text
fboxsome text vrule more $int$ tall text
enddocument
In all three cases, the vrule
stretches to the height of the surrounding box, but doesn't touch the edges of the fbox
because of the fboxsep
.
How can I make the vrule
stretch by an extra fboxsep
on each side? I found this question, but it only covers giving an explicit height to the vrule
, while I'd like to extend it by a given amount, but otherwise let it expand and shrink as appropriate to fill the current box.
boxes rules fbox
add a comment |
Consider the following MWE:
documentclassminimal
begindocument
fboxsome text vrule more text
fboxsome text vrule more deep text
fboxsome text vrule more $int$ tall text
enddocument
In all three cases, the vrule
stretches to the height of the surrounding box, but doesn't touch the edges of the fbox
because of the fboxsep
.
How can I make the vrule
stretch by an extra fboxsep
on each side? I found this question, but it only covers giving an explicit height to the vrule
, while I'd like to extend it by a given amount, but otherwise let it expand and shrink as appropriate to fill the current box.
boxes rules fbox
add a comment |
Consider the following MWE:
documentclassminimal
begindocument
fboxsome text vrule more text
fboxsome text vrule more deep text
fboxsome text vrule more $int$ tall text
enddocument
In all three cases, the vrule
stretches to the height of the surrounding box, but doesn't touch the edges of the fbox
because of the fboxsep
.
How can I make the vrule
stretch by an extra fboxsep
on each side? I found this question, but it only covers giving an explicit height to the vrule
, while I'd like to extend it by a given amount, but otherwise let it expand and shrink as appropriate to fill the current box.
boxes rules fbox
Consider the following MWE:
documentclassminimal
begindocument
fboxsome text vrule more text
fboxsome text vrule more deep text
fboxsome text vrule more $int$ tall text
enddocument
In all three cases, the vrule
stretches to the height of the surrounding box, but doesn't touch the edges of the fbox
because of the fboxsep
.
How can I make the vrule
stretch by an extra fboxsep
on each side? I found this question, but it only covers giving an explicit height to the vrule
, while I'd like to extend it by a given amount, but otherwise let it expand and shrink as appropriate to fill the current box.
boxes rules fbox
boxes rules fbox
asked 1 hour ago
ClémentClément
1,7511535
1,7511535
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
one way is to set fboxsep
to zero and than instead vrule
use accordingly set rule
:
documentclassminimal
setlengthfboxsep0pt
newcommandVRrule[-0.4baselineskip]0.4pt1.2baselineskip
begindocument
fbox some text VR qjf more text
fbox some text VR more deep text
fbox some text VR more $int$ tall text
enddocument
add a comment |
You can use smashvrule
, but you have to specify the height and depth.
documentclassarticle
begindocument
sbox0fboxsome text more text%
fboxsome text smashvrule heightht0 depthdp0 more text
sbox0fboxsome text more deep text%
fboxsome text smashvrule heightht0 depthdp0 more deep text
sbox0fboxsome text more $int$ tall text%
fboxsome text smashvrule heightht0 depthdp0 more $int$ tall text
enddocument
Or you could just use strut
s and make all your fbox
es the same height.
documentclassstandalone
begindocument
fboxstrut some texthspace-fboxrulefboxstrut some text
fboxstrut some texthspace-fboxrulefboxstrut more deep text
fboxstrut some texthspace-fboxrulefboxstrut more $int$ tall text
enddocument
add a comment |
Looks like a tabular
to me.
documentclassarticle % see https://tex.stackexchange.com/q/42114/121799
begindocument
begintabular
hline
some text & more text\
hline
endtabular
begintabular
hline
some text & more deep text\
hline
endtabular
begintabular
hline
some text & more $displaystyleint$ tall text\
hline
endtabular
enddocument
Of course you can adjust the padding.
documentclassarticle % see https://tex.stackexchange.com/q/42114/121799
% commands based on
newcommandTstrut[1]rule0pt#1 % "top" strut
newcommandBstrut[1]rule[-#1]0pt0pt % "bottom" strut
newcommandTBstrut[2]Tstrut#1Bstrut#2
begindocument
begintabular
hline
some text & more text\
hline
endtabular
begintabular
hline
TBstrut2.5ex1.5exsome text & more deep text\
hline
endtabular
begintabular
hline
TBstrut4ex3exsome text & more $displaystyleint$ tall text\[0.5ex]
hline
endtabular
enddocument
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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%2f490262%2fhow-can-i-make-a-vertical-rule-that-extends-to-the-edges-of-an-fbox%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
one way is to set fboxsep
to zero and than instead vrule
use accordingly set rule
:
documentclassminimal
setlengthfboxsep0pt
newcommandVRrule[-0.4baselineskip]0.4pt1.2baselineskip
begindocument
fbox some text VR qjf more text
fbox some text VR more deep text
fbox some text VR more $int$ tall text
enddocument
add a comment |
one way is to set fboxsep
to zero and than instead vrule
use accordingly set rule
:
documentclassminimal
setlengthfboxsep0pt
newcommandVRrule[-0.4baselineskip]0.4pt1.2baselineskip
begindocument
fbox some text VR qjf more text
fbox some text VR more deep text
fbox some text VR more $int$ tall text
enddocument
add a comment |
one way is to set fboxsep
to zero and than instead vrule
use accordingly set rule
:
documentclassminimal
setlengthfboxsep0pt
newcommandVRrule[-0.4baselineskip]0.4pt1.2baselineskip
begindocument
fbox some text VR qjf more text
fbox some text VR more deep text
fbox some text VR more $int$ tall text
enddocument
one way is to set fboxsep
to zero and than instead vrule
use accordingly set rule
:
documentclassminimal
setlengthfboxsep0pt
newcommandVRrule[-0.4baselineskip]0.4pt1.2baselineskip
begindocument
fbox some text VR qjf more text
fbox some text VR more deep text
fbox some text VR more $int$ tall text
enddocument
answered 1 hour ago
ZarkoZarko
133k872175
133k872175
add a comment |
add a comment |
You can use smashvrule
, but you have to specify the height and depth.
documentclassarticle
begindocument
sbox0fboxsome text more text%
fboxsome text smashvrule heightht0 depthdp0 more text
sbox0fboxsome text more deep text%
fboxsome text smashvrule heightht0 depthdp0 more deep text
sbox0fboxsome text more $int$ tall text%
fboxsome text smashvrule heightht0 depthdp0 more $int$ tall text
enddocument
Or you could just use strut
s and make all your fbox
es the same height.
documentclassstandalone
begindocument
fboxstrut some texthspace-fboxrulefboxstrut some text
fboxstrut some texthspace-fboxrulefboxstrut more deep text
fboxstrut some texthspace-fboxrulefboxstrut more $int$ tall text
enddocument
add a comment |
You can use smashvrule
, but you have to specify the height and depth.
documentclassarticle
begindocument
sbox0fboxsome text more text%
fboxsome text smashvrule heightht0 depthdp0 more text
sbox0fboxsome text more deep text%
fboxsome text smashvrule heightht0 depthdp0 more deep text
sbox0fboxsome text more $int$ tall text%
fboxsome text smashvrule heightht0 depthdp0 more $int$ tall text
enddocument
Or you could just use strut
s and make all your fbox
es the same height.
documentclassstandalone
begindocument
fboxstrut some texthspace-fboxrulefboxstrut some text
fboxstrut some texthspace-fboxrulefboxstrut more deep text
fboxstrut some texthspace-fboxrulefboxstrut more $int$ tall text
enddocument
add a comment |
You can use smashvrule
, but you have to specify the height and depth.
documentclassarticle
begindocument
sbox0fboxsome text more text%
fboxsome text smashvrule heightht0 depthdp0 more text
sbox0fboxsome text more deep text%
fboxsome text smashvrule heightht0 depthdp0 more deep text
sbox0fboxsome text more $int$ tall text%
fboxsome text smashvrule heightht0 depthdp0 more $int$ tall text
enddocument
Or you could just use strut
s and make all your fbox
es the same height.
documentclassstandalone
begindocument
fboxstrut some texthspace-fboxrulefboxstrut some text
fboxstrut some texthspace-fboxrulefboxstrut more deep text
fboxstrut some texthspace-fboxrulefboxstrut more $int$ tall text
enddocument
You can use smashvrule
, but you have to specify the height and depth.
documentclassarticle
begindocument
sbox0fboxsome text more text%
fboxsome text smashvrule heightht0 depthdp0 more text
sbox0fboxsome text more deep text%
fboxsome text smashvrule heightht0 depthdp0 more deep text
sbox0fboxsome text more $int$ tall text%
fboxsome text smashvrule heightht0 depthdp0 more $int$ tall text
enddocument
Or you could just use strut
s and make all your fbox
es the same height.
documentclassstandalone
begindocument
fboxstrut some texthspace-fboxrulefboxstrut some text
fboxstrut some texthspace-fboxrulefboxstrut more deep text
fboxstrut some texthspace-fboxrulefboxstrut more $int$ tall text
enddocument
edited 1 hour ago
answered 1 hour ago
John KormyloJohn Kormylo
47.4k32672
47.4k32672
add a comment |
add a comment |
Looks like a tabular
to me.
documentclassarticle % see https://tex.stackexchange.com/q/42114/121799
begindocument
begintabular
hline
some text & more text\
hline
endtabular
begintabular
hline
some text & more deep text\
hline
endtabular
begintabular
hline
some text & more $displaystyleint$ tall text\
hline
endtabular
enddocument
Of course you can adjust the padding.
documentclassarticle % see https://tex.stackexchange.com/q/42114/121799
% commands based on
newcommandTstrut[1]rule0pt#1 % "top" strut
newcommandBstrut[1]rule[-#1]0pt0pt % "bottom" strut
newcommandTBstrut[2]Tstrut#1Bstrut#2
begindocument
begintabular
hline
some text & more text\
hline
endtabular
begintabular
hline
TBstrut2.5ex1.5exsome text & more deep text\
hline
endtabular
begintabular
hline
TBstrut4ex3exsome text & more $displaystyleint$ tall text\[0.5ex]
hline
endtabular
enddocument
add a comment |
Looks like a tabular
to me.
documentclassarticle % see https://tex.stackexchange.com/q/42114/121799
begindocument
begintabular
hline
some text & more text\
hline
endtabular
begintabular
hline
some text & more deep text\
hline
endtabular
begintabular
hline
some text & more $displaystyleint$ tall text\
hline
endtabular
enddocument
Of course you can adjust the padding.
documentclassarticle % see https://tex.stackexchange.com/q/42114/121799
% commands based on
newcommandTstrut[1]rule0pt#1 % "top" strut
newcommandBstrut[1]rule[-#1]0pt0pt % "bottom" strut
newcommandTBstrut[2]Tstrut#1Bstrut#2
begindocument
begintabular
hline
some text & more text\
hline
endtabular
begintabular
hline
TBstrut2.5ex1.5exsome text & more deep text\
hline
endtabular
begintabular
hline
TBstrut4ex3exsome text & more $displaystyleint$ tall text\[0.5ex]
hline
endtabular
enddocument
add a comment |
Looks like a tabular
to me.
documentclassarticle % see https://tex.stackexchange.com/q/42114/121799
begindocument
begintabular
hline
some text & more text\
hline
endtabular
begintabular
hline
some text & more deep text\
hline
endtabular
begintabular
hline
some text & more $displaystyleint$ tall text\
hline
endtabular
enddocument
Of course you can adjust the padding.
documentclassarticle % see https://tex.stackexchange.com/q/42114/121799
% commands based on
newcommandTstrut[1]rule0pt#1 % "top" strut
newcommandBstrut[1]rule[-#1]0pt0pt % "bottom" strut
newcommandTBstrut[2]Tstrut#1Bstrut#2
begindocument
begintabular
hline
some text & more text\
hline
endtabular
begintabular
hline
TBstrut2.5ex1.5exsome text & more deep text\
hline
endtabular
begintabular
hline
TBstrut4ex3exsome text & more $displaystyleint$ tall text\[0.5ex]
hline
endtabular
enddocument
Looks like a tabular
to me.
documentclassarticle % see https://tex.stackexchange.com/q/42114/121799
begindocument
begintabular
hline
some text & more text\
hline
endtabular
begintabular
hline
some text & more deep text\
hline
endtabular
begintabular
hline
some text & more $displaystyleint$ tall text\
hline
endtabular
enddocument
Of course you can adjust the padding.
documentclassarticle % see https://tex.stackexchange.com/q/42114/121799
% commands based on
newcommandTstrut[1]rule0pt#1 % "top" strut
newcommandBstrut[1]rule[-#1]0pt0pt % "bottom" strut
newcommandTBstrut[2]Tstrut#1Bstrut#2
begindocument
begintabular
hline
some text & more text\
hline
endtabular
begintabular
hline
TBstrut2.5ex1.5exsome text & more deep text\
hline
endtabular
begintabular
hline
TBstrut4ex3exsome text & more $displaystyleint$ tall text\[0.5ex]
hline
endtabular
enddocument
edited 38 mins ago
answered 1 hour ago
marmotmarmot
126k6162308
126k6162308
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2f490262%2fhow-can-i-make-a-vertical-rule-that-extends-to-the-edges-of-an-fbox%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