LaTeX Help with Vertical Lines in LaTeX

AI Thread Summary
The discussion centers around creating half-vertical lines for typesetting logic proofs, specifically lines that extend only halfway down or up from a row. Users are looking for alternatives to the standard \vline command that would allow for more precise control over line placement. Suggestions include using the "\ulcorner" command from the amsmath package for corner symbols, although these may not align perfectly with the desired height. The \rule command is highlighted as a potential solution for achieving the necessary line lengths, and the \raisebox command is also recommended for further adjustments. Overall, the conversation emphasizes the need for customization in line formatting within the tabular environment for clarity in logical proofs.
VoidSeraph
Messages
2
Reaction score
0
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!
 
Physics news on Phys.org
Welcome to PF!

Hi VoidSeraph! Welcome to PF! :smile:
VoidSeraph said:
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.

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:
 
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!
 
You can also try \raisebox
 

Similar threads

Replies
9
Views
5K
Replies
3
Views
2K
Replies
5
Views
2K
Replies
4
Views
3K
Replies
2
Views
3K
Replies
14
Views
5K
Replies
8
Views
2K
Back
Top