Framed box with only bottom rules and multiple lines inside a table cell

Did arcade monitors have same pixel aspect ratio as TV sets?

Engineer refusing to file/disclose patents

Transformation of random variables and joint distributions

Proving a function is onto where f(x)=|x|.

My friend sent me a screenshot of a transaction hash, but when I search for it I find divergent data. What happened?

Did US corporations pay demonstrators in the German demonstrations against article 13?

How should I respond when I lied about my education and the company finds out through background check?

How to decide convergence of Integrals

Query about absorption line spectra

How can Trident be so inexpensive? Will it orbit Triton or just do a (slow) flyby?

Can we have a perfect cadence in a minor key?

What's the difference between 違法 and 不法?

Difference between -| and |- in TikZ

Freedom of speech and where it applies

Drawing a topological "handle" with Tikz

Hot bath for aluminium engine block and heads

Are lightweight LN wallets vulnerable to transaction withholding?

Is it improper etiquette to ask your opponent what his/her rating is before the game?

Translation of Scottish 16th century church stained glass

Why did the EU agree to delay the Brexit deadline?

Could solar power be utilized and substitute coal in the 19th Century

How do I repair my stair bannister?

A social experiment. What is the worst that can happen?

Why is Arduino resetting while driving motors?



Framed box with only bottom rules and multiple lines inside a table cell














0















I want to have a table with cells which have multiple lines and bottom rules.



I've tried



begin{tabular}{cc}
renewcommand{arraystretch}{1.5}

Title & parbox{18em}{centering A very very very very very very very very very very very very very very very long title}\cmidrule(lr){2-2}
SubTitle & parbox{18em}{centering A not that long title}\cmidrule(lr){2-2}
end{tabular}


which seems to work fine. But the second cmidrule is a little bit far away from the text.



My first attempt begins with



ulinemakebox[18em][c]{A very very very very very very very very very very very \ very very very very long title}


but apparently it doesn't support breaking lines inside the box.



I also tried parbox with ul (in the soul package) but error throws.



I think the closest approach is combine framebox with parbox but I don't know how to have the bottom rule only.









share







New contributor




SXKDZ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I want to have a table with cells which have multiple lines and bottom rules.



    I've tried



    begin{tabular}{cc}
    renewcommand{arraystretch}{1.5}

    Title & parbox{18em}{centering A very very very very very very very very very very very very very very very long title}\cmidrule(lr){2-2}
    SubTitle & parbox{18em}{centering A not that long title}\cmidrule(lr){2-2}
    end{tabular}


    which seems to work fine. But the second cmidrule is a little bit far away from the text.



    My first attempt begins with



    ulinemakebox[18em][c]{A very very very very very very very very very very very \ very very very very long title}


    but apparently it doesn't support breaking lines inside the box.



    I also tried parbox with ul (in the soul package) but error throws.



    I think the closest approach is combine framebox with parbox but I don't know how to have the bottom rule only.









    share







    New contributor




    SXKDZ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I want to have a table with cells which have multiple lines and bottom rules.



      I've tried



      begin{tabular}{cc}
      renewcommand{arraystretch}{1.5}

      Title & parbox{18em}{centering A very very very very very very very very very very very very very very very long title}\cmidrule(lr){2-2}
      SubTitle & parbox{18em}{centering A not that long title}\cmidrule(lr){2-2}
      end{tabular}


      which seems to work fine. But the second cmidrule is a little bit far away from the text.



      My first attempt begins with



      ulinemakebox[18em][c]{A very very very very very very very very very very very \ very very very very long title}


      but apparently it doesn't support breaking lines inside the box.



      I also tried parbox with ul (in the soul package) but error throws.



      I think the closest approach is combine framebox with parbox but I don't know how to have the bottom rule only.









      share







      New contributor




      SXKDZ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I want to have a table with cells which have multiple lines and bottom rules.



      I've tried



      begin{tabular}{cc}
      renewcommand{arraystretch}{1.5}

      Title & parbox{18em}{centering A very very very very very very very very very very very very very very very long title}\cmidrule(lr){2-2}
      SubTitle & parbox{18em}{centering A not that long title}\cmidrule(lr){2-2}
      end{tabular}


      which seems to work fine. But the second cmidrule is a little bit far away from the text.



      My first attempt begins with



      ulinemakebox[18em][c]{A very very very very very very very very very very very \ very very very very long title}


      but apparently it doesn't support breaking lines inside the box.



      I also tried parbox with ul (in the soul package) but error throws.



      I think the closest approach is combine framebox with parbox but I don't know how to have the bottom rule only.







      tables parbox





      share







      New contributor




      SXKDZ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      SXKDZ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      SXKDZ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 1 min ago









      SXKDZSXKDZ

      1




      1




      New contributor




      SXKDZ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      SXKDZ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      SXKDZ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











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


          }
          });






          SXKDZ is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481281%2fframed-box-with-only-bottom-rules-and-multiple-lines-inside-a-table-cell%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          SXKDZ is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          SXKDZ is a new contributor. Be nice, and check out our Code of Conduct.













          SXKDZ is a new contributor. Be nice, and check out our Code of Conduct.












          SXKDZ is a new contributor. Be nice, and check out our Code of Conduct.
















          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%2f481281%2fframed-box-with-only-bottom-rules-and-multiple-lines-inside-a-table-cell%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

          Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

          How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...