Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Help with Vertical Lines in LaTeX

  1. May 17, 2012 #1
    Does anyone know a way to get half-vertical lines? I mean, I'd like something identical to /vline , but which starts from the top of the row and only goes halfway down. Similarly, I'd like a line which starts from the bottom and only goes halfway up.

    Even better would be something like a corner but where the corner has it's horizontal bit in the middle of the line, and where the vertical portion lines up with \vline in the tabular environment.

    (Basically, I'm trying to make a long bracket-thingy. I'm typesetting some logic proofs and these long brackets are sometimes used for setting-off subproofs. \vline is perfect for making a long line which spans multiple rows. But I can't quite get the top and bottom to look right.)
    Thanks for any help!!!
     
  2. jcsd
  3. May 18, 2012 #2

    tiny-tim

    User Avatar
    Science Advisor
    Homework Helper

    Welcome to PF!

    Hi VoidSeraph! Welcome to PF! :smile:
    According to http://www.combinatorics.net/weblib/A.9-10/a9.html it's "\ulcorner" etc for the corners … but apparently you need the asmath package. :redface:
     
  4. May 18, 2012 #3

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

  5. May 18, 2012 #4

    jhae2.718

    User Avatar
    Gold Member

  6. May 21, 2012 #5
    Hey, thanks for the quick replies.
    Those are great suggestions. The "\**corner" family of commands is pretty close to what I want, but at the wrong height. Their angles are at the tops or bottoms of lines, when I really need them to be in the middle, unfortunately.
    \rule looks like it's going to get me what I want, at least if I play around with it a bit. Thanks very much!
     
  7. May 22, 2012 #6

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    You can also try \raisebox
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Help with Vertical Lines in LaTeX
  1. Line breaks in Latex (Replies: 1)

  2. Line Spacing in Latex (Replies: 4)

  3. Double Line in LaTeX (Replies: 7)

Loading...