Post by bbasic » Tue Jul 08, 2008 4:24 pm
Hello. I want to write a vertical dashed line—it should look like \vdots, but with small vertical dashes instead of dots. Is there any package containing a symbol like that?
Recommended reading 2024:
Stefan Kottwitz Site Admin Posts: 10213 Joined: Mon Mar 10, 2008 9:44 pm
Post by Stefan Kottwitz » Tue Jul 08, 2008 4:32 pm
welcome to the board!
There's a package providing dashed lines in array: arydshln.
Post by localghost » Tue Jul 08, 2008 4:41 pm
I'm not sure if it fits your ideas, but you could use the \textbrokenbar command from the textcomp package as suggested in the "Comprehensive LaTeX Symbol List". Perhaps this list contains other suitable symbols.
Best regards and welcome to the board
Thorsten¹
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
bbasic Posts: 7 Joined: Tue Jul 08, 2008 4:21 pmPost by bbasic » Tue Jul 08, 2008 7:28 pm
Stefan, thank you for your advice, but I know for arydshln and it doesn not fit my needs. I don't need dashed lines in array, only a symbol.
Localghost, you got correctly what I need. Thank you very much for \textbrokenbar command. It almost perfectly fits my needs. The only thing I would have changed is to have three "pieces" (instead of two)—and unfortunately, there is no symbol like that in textcomp package. I have also found \brokenvert in wasysym package, but it looks exactly as \textbrokenbar. Furthermore, \Cutline and \Kutline of marvosym package have three pieces, but they are horizontal (and I need vertical).
A workaround I have found is to use nccrules package. The command \dashrule[-0.6ex] then gives what I want. If nobody comes up with a simpler solution, I believe this will be useful to me and others with a similar need.
Once more, thank you both for help.
localghost Site Moderator Posts: 9201 Joined: Fri Feb 02, 2007 12:06 pmPost by localghost » Tue Jul 08, 2008 7:46 pm
bbasic wrote: [. ] Furthermore, \Cutline and \Kutline of marvosym package have three pieces, but they are horizontal (and I need vertical). [. ]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Stefan Kottwitz Site Admin Posts: 10213 Joined: Mon Mar 10, 2008 9:44 pmPost by Stefan Kottwitz » Tue Jul 08, 2008 8:15 pm
after I had read the first posting I had array or tabular lines in my thoughts somehow, that's why I mentioned arydshln.
It's not hard to build a vertical dashed line symbol yourself. Here's a solution just using amssymb and graphicx: