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?













3















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.










share|improve this question


























    3















    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.










    share|improve this question
























      3












      3








      3








      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.










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 1 hour ago









      ClémentClément

      1,7511535




      1,7511535




















          3 Answers
          3






          active

          oldest

          votes


















          3














          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


          enter image description here






          share|improve this answer






























            3














            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


            demo




            Or you could just use struts and make all your fboxes 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


            demo2






            share|improve this answer
































              1














              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


              enter image description here



              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


              enter image description here






              share|improve this answer

























                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
                );



                );













                draft saved

                draft discarded


















                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









                3














                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


                enter image description here






                share|improve this answer



























                  3














                  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


                  enter image description here






                  share|improve this answer

























                    3












                    3








                    3







                    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


                    enter image description here






                    share|improve this answer













                    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


                    enter image description here







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 1 hour ago









                    ZarkoZarko

                    133k872175




                    133k872175





















                        3














                        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


                        demo




                        Or you could just use struts and make all your fboxes 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


                        demo2






                        share|improve this answer





























                          3














                          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


                          demo




                          Or you could just use struts and make all your fboxes 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


                          demo2






                          share|improve this answer



























                            3












                            3








                            3







                            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


                            demo




                            Or you could just use struts and make all your fboxes 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


                            demo2






                            share|improve this answer















                            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


                            demo




                            Or you could just use struts and make all your fboxes 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


                            demo2







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited 1 hour ago

























                            answered 1 hour ago









                            John KormyloJohn Kormylo

                            47.4k32672




                            47.4k32672





















                                1














                                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


                                enter image description here



                                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


                                enter image description here






                                share|improve this answer





























                                  1














                                  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


                                  enter image description here



                                  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


                                  enter image description here






                                  share|improve this answer



























                                    1












                                    1








                                    1







                                    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


                                    enter image description here



                                    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


                                    enter image description here






                                    share|improve this answer















                                    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


                                    enter image description here



                                    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


                                    enter image description here







                                    share|improve this answer














                                    share|improve this answer



                                    share|improve this answer








                                    edited 38 mins ago

























                                    answered 1 hour ago









                                    marmotmarmot

                                    126k6162308




                                    126k6162308



























                                        draft saved

                                        draft discarded
















































                                        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.




                                        draft saved


                                        draft discarded














                                        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





















































                                        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







                                        Popular posts from this blog

                                        Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                                        Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                                        199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單