Help with Vertical Lines in LaTeX

  • Context: LaTeX 
  • Thread starter Thread starter VoidSeraph
  • Start date Start date
  • Tags Tags
    Latex Lines Vertical
Click For Summary

Discussion Overview

The discussion centers around creating half-vertical lines and specific corner symbols in LaTeX, particularly for typesetting logic proofs. Participants explore various commands and packages that may help achieve the desired formatting in the tabular environment.

Discussion Character

  • Technical explanation
  • Exploratory
  • Homework-related

Main Points Raised

  • One participant seeks a way to create half-vertical lines that start from the top or bottom of a row in LaTeX, similar to \vline.
  • Another participant suggests using the "\ulcorner" command for corner symbols, noting the need for the amsmath package.
  • A different participant proposes using the \rule command as a potential solution for creating the desired lines.
  • One participant mentions the \raisebox command as another option to explore.
  • There is a discussion about the height of the corner symbols, with one participant expressing that the existing commands do not align with their needs.

Areas of Agreement / Disagreement

Participants have not reached a consensus on the best solution, as multiple suggestions are offered and the effectiveness of each remains uncertain.

Contextual Notes

Participants express limitations regarding the alignment and height of the corner symbols, indicating that further adjustments may be necessary to achieve the desired appearance.

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 ·
Replies
9
Views
5K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
8K