Questions tagged [arydshln]

for questions about the arydshln package, which provides dashed lines for arrays and tabulars

Filter by
Sorted by
Tagged with
55 votes
4 answers
80k views

Dotted line instead of \hline in table environment

I am trying to get a dotted line in the table instead of \hline, but I can't get the output. arydshln and dashrule packages are available to get the dashed line, but I can't find any packages to get ...
RCV's user avatar
  • 2,030
15 votes
4 answers
5k views

Tables with colored cells and dashed lines

I would like to draw a table with some colored cells and dashed horizontal lines. Here is my first attempt using the colortbl package and the arydshln package: \documentclass[12pt]{article} \...
Usagi's user avatar
  • 369
13 votes
1 answer
285 views

Why does adding \\[...] at the end of a row mess up the alignment?

I was trying to reply to the OP's comment at this answer of mine but I've found out that when I put [...] at the end of a row it messes up the horizontal alignment. \documentclass{book} \usepackage{...
CarLaTeX's user avatar
  • 63.1k
7 votes
1 answer
2k views

How to adjust the width of a \hdashline inside a pmatrix?

I'm using \hdashline from the arydshln package to draw a horizontal line inside a pmatrix: How can I reduce the width of this line to prevent it from touching the outer parentheses?
ph4nt0m's user avatar
  • 1,305
7 votes
1 answer
2k views

Making hhline work together with arydshln

I am trying to create Optimality Theory tableaux (a specific type of tables used in linguistics). These tableaux generally look like the following - the important thing is that both the first column ...
user59366's user avatar
6 votes
1 answer
2k views

Dashed hline in longtabu (arydshln conflicts, does not work?)

I have a large table with the following requirements: Spans multiple pages (currently using longtable) The last column's text must wrap (using tabu's longtabu environment as tabularx does not support ...
Pat's user avatar
  • 463
6 votes
1 answer
154 views

Combine arydshln and longtable-with-fake-shadowbox?

I have tried to use the solution provided by David Carlisle to add a \shadowbox-like shadow to a long table in my document and ran in to a strange issue: After some poking around, I've narrowed the ...
vwegert's user avatar
  • 2,875
5 votes
3 answers
233 views

Issue with the alignment of the array

I am having the issue with the alignment of an array. Please, find the below code: \documentclass[12 pt, a4paper]{book} \usepackage{multicol} \usepackage{geometry} \geometry{ a4paper, ...
PARTH KHAMAR's user avatar
5 votes
2 answers
2k views

Conflict between `booktabs` and `arydshln` packages

Please see the MWE below and its result. I didn't use the arydshln package in the example, but I have to use it somewhere else in the same document. As you see, there is something wrong with the ...
Chang's user avatar
  • 9,538
5 votes
1 answer
416 views

conflict between tikz (was: todonotes) - tabularx - array - arydshln

There is a conflict between the four packages tikz, tabularx, array and arydshln. The MWE below compiles, if I do not load tikz ( tikz.sty 2015/08/07 v3.0.1a (rcs-revision 1.151)) (load todonotes ...
ebcontrol's user avatar
  • 564
5 votes
1 answer
182 views

Dashes out the brackets of a matrix

Using nicematrix for an answer I have seen that the dashes go out the matrix: you can see the first example. If I put \, before \right[ and after \left[ the dashes are into the matrix (second example)....
Sebastiano's user avatar
  • 54.3k
3 votes
2 answers
141 views

Introducing a point space in equations with a matrix within an array

When I try to use \documentclass[11pt,a4paper]{article} \usepackage{amsmath} \usepackage{arydshln} \begin{document} \[\left[ \begin{array}{c:c:c} \begin{bmatrix}A_l& A_{nl}\end{...
Raaja_is_at_topanswers.xyz's user avatar
3 votes
2 answers
436 views

Is there an incompatibility between collcell, longtable, and/or arydshln?

In the past (may be last year or so), I have used these three packages together successfully (and produced a conditionally colored long table). That tex file still compiles nicely; however, the ...
Halil  Sen's user avatar
  • 277
3 votes
1 answer
104 views

package "arydshln" conflicts with "tabular*"

I am using the following latex code and it is working fine: { \centering \begin{tabular*}{0.5\textwidth}{@{\extracolsep{\fill}}|l|c|r|} \hline foo & bar & fubar \\ fubar & ...
liaoming999's user avatar
3 votes
1 answer
7k views

Problem with \cdashline and package arydshln

I have a problem with \cdashline. I use the \cdashline in a matrix but I have an error with \usepackage{arydshln} I think: ! Use of \x doesn't match its definition. \LT@array ->\adl@arrayinit ...
user1431148's user avatar
3 votes
2 answers
1k views

How to change the width of the dashed line in table?

I need to draw several dashed lines of different width in one table, but I don't know how to make it. I know how to draw a single dashed line using package arydshln, but how to set the width of ...
ZhiyuanLck's user avatar
  • 4,516
3 votes
1 answer
230 views

Longtable and arydshln produces black box

What I want to accomplish is to draw a dashed line inside longtable. What is strange is that when arydshln package is loaded I receive a black box for the first row (header) in the first cell. I guess ...
Lubomir Borisov's user avatar
3 votes
1 answer
88 views

Over height dashed line with kpfonts-otf

Consider the following example, when using kpfonts-otf, the vertical dashed line becomes over height: \documentclass{article} \usepackage{kpfonts-otf} \usepackage{arydshln} \begin{document} \[\def\...
Jinwen's user avatar
  • 8,538
3 votes
1 answer
2k views

hdashline with tabularx together with custom row height is not working

I tried to set up a table with different custom row height and a dashed line. I'm using tabularx for the table and arydshln for the dashed line. When I import arydshline before tabularx it starts ...
Hemeroc's user avatar
  • 163
3 votes
1 answer
1k views

Conflict between \hline and arydshln in aligned environment?

I'm using the following code: \documentclass{article} \usepackage{tikz} \usepackage{amsmath} % \usepackage{arydshln} %code doesn't compile anymore with this package \begin{document} \begin{...
d-cmst's user avatar
  • 23.1k
3 votes
1 answer
81 views

How can I make a vertical column line continue across rows where "multicolumn" has been applied?

I am making a table where I would like the dashed vertical column line to continue across rows, regardless of whether multicolumn has been applied. Since this column line needs to be dashed, I am ...
Thomas's user avatar
  • 33
2 votes
2 answers
419 views

Dashed lines in a table using arydshln

I'm trying to implement dashed lines in a table using arydshln. However, the command doesn't seem to work properly, as the dashed lines aren't drawn from top to bottom, i.e. at the top it looks a bit ...
Patrick's user avatar
  • 33
2 votes
2 answers
734 views

Trim \cdashline from arydshln package

Is there a way to apply left or right trimming to the \cdashline from the arydshln package, similar to \cmidrule(lr)? MWE: \documentclass{article} \usepackage{booktabs} \usepackage{arydshln} \...
fuj36840's user avatar
  • 550
2 votes
1 answer
1k views

How to increase space above and below dashed line using arydshln package

I'm using the arydshln package to insert a dashed line between two lines of data, but when I look at the result of a large table in \scriptsize the line appears to be too close to the lower data line. ...
Angus's user avatar
  • 211
2 votes
1 answer
92 views

Longtable: Variable or switch to determine if row is the first or last one of the current page

I am currently struggling with the longtable package and horizontal lines that should visually separate rows. The thing is that I do not want to display bottom lines on the last row of each particular ...
hetsch's user avatar
  • 467
2 votes
2 answers
623 views

arydshln not working well with multicolumn

I am having some problems with arydshln and multicolumn. The following document: \documentclass{article} \usepackage{amsmath} \usepackage{arydshln} \begin{document} \[ \begin{pmatrix} ...
Jay's user avatar
  • 2,895
2 votes
2 answers
245 views

How to put dashed lines between certain columns?

I have a table in beamer frame and I want to put dashed lines between some columns. However, I have certain constraints. First, I want to make sure that the lines are disabled after certain transition,...
pixel's user avatar
  • 1,357
2 votes
1 answer
291 views

Dashed lines and point-aligned numbers in a column?

How can I have these two features at the same time in a table: dashed lines, and numbers aligned on their decimal points? MWE (except it doesn't work): \documentclass[12pt,a4paper]{article} \...
Rosie F's user avatar
  • 444
2 votes
3 answers
282 views

conflict between kbordermatrix and arydshln

When I include arydshln, I get a conflict with kbordermatrix (from here): \documentclass{article} \usepackage{amsmath} \usepackage{arydshln} \usepackage{kbordermatrix} \begin{document} \begin{align}...
m.s.'s user avatar
  • 383
2 votes
1 answer
1k views

Longtable and arydshln problem

I need some help. My longtable was all right until I wanted to insert one horizontal dash line. That's why I put package arydshln (which caused troubles). Even before I used \hdashline code, my ...
AuroraNord's user avatar
2 votes
1 answer
169 views

arydshln stretches my vertical lines in tabular

The moment I put arydshln in the preamble, it messes up the boxes I drew around numbers. I'm trying to draw dotted lines in tables. \documentclass[10pt, b5paper]{article} \usepackage{ipaex-type1} \...
n00bish's user avatar
  • 23
2 votes
1 answer
479 views

specialrule with longtable and arydshln packages problem

When I use specialrule with longtable, there is a white vertical line in the last row. I have tested, if I don't use arydshln packages, it is good. (But I want to dashed line, so I need to add ...
zongxian's user avatar
  • 467
1 vote
2 answers
77 views

A Vertical line in a table

Want to draw the vertical line in the table (shown in red in the attachment). Following is my code \documentclass[acmsmall]{acmart} \acmJournal{CSUR} \usepackage{longtable} \usepackage{arydshln} \...
Yogesh Sharma's user avatar
1 vote
1 answer
280 views

Conflict between arydshln and tabu and X column type?

\documentclass{article} \usepackage{tabu} \usepackage{arydshln} \begin{document} \begin{table} \begin{tabu}{l X} a & b \end{tabu} \end{table} \end{document} This gives me the following two error ...
rudolfbyker's user avatar
1 vote
1 answer
56 views

What do the argument values end up in arydshln's \adl@drawi and \adl@drawii?

I am trying to understand the arydshln package. From what I understand, the entire thing is built upon basic TeX \xleaders. I would like to get back to the basics too. Unfortunately, although the ...
Jonathan Komar's user avatar
1 vote
0 answers
73 views

Incompatibility between arydshln and tabulary

I've seen a lot of posts about arydshln and tabularx (just need to import tabularx first) but I've been in trouble with tabulary. I tried to change import order, nothing helps. I get a lot of errors ...
pltrdy's user avatar
  • 121
1 vote
0 answers
75 views

Dashed line for tabular in memoir class with polyglossia

I keep getting error when using arydshln package with my setup below. Error: Undefined control sequence. ^^I\hdashline when i remove the package and the \hdashline it works, but i need to use dashed ...
NuminousName's user avatar
1 vote
0 answers
14 views

rectangles inside a matrix - dotted and continuous lines [duplicate]

I'm trying to implement the appendix image, making an script in LaTeX. After consulting some forums I obtained the next script but the dotted lines don't appear. PS. I'm new in Latex! \...
Guillermo Camacho's user avatar
1 vote
1 answer
102 views

longtable, footnote, m type and arydshln

The longtable package allows to use footnote inside a longtable, as in this MWE \documentclass{article} \usepackage{array,longtable} \begin{document} \begin{longtable}{m{1cm}|m{2cm}} \footnote{...
Maïeul's user avatar
  • 11k
0 votes
2 answers
57 views

Optional argument causes Misplaced \noalign

I have the following piece of code from this answer for generating a dashed table rule: \documentclass{article} \usepackage{booktabs} \usepackage{arydshln} \begin{document} \makeatletter \def\adl@...
Mate de Vita's user avatar
0 votes
1 answer
275 views

Booktabs and arydshln conflict

I'm learning how to do nice looking tables and I'm wondering why the below code produces an error "! Undefined control sequence. \adl@@cr ...tempdima \xdef \adl@rowsL {\adl@rowsL (\adl@colsL /\...
Math122's user avatar
  • 241
0 votes
1 answer
2k views

\multicolumn and dashed vertical lines

I'm getting some strange behaviour with \multicolumns and dashed lines. I need a single-column \multicolumn in a document (since I need a partial-height vertical line, and that seems to be how you do ...
Sjiveru's user avatar
  • 61
0 votes
1 answer
274 views

Reducing the vertical line height in an array environment

When I try to use \documentclass[11pt,a4paper]{article} \usepackage{amsmath} \usepackage{arydshln} \begin{document} \[\left[ \begin{array}{c:c:c} \begin{bmatrix}A_l& A_{nl}\end{...
Raaja_is_at_topanswers.xyz's user avatar
0 votes
1 answer
708 views

\hline doesn't compile ('arydshln' and 'tabularx' incompatibility)

The code below \documentclass{article} \usepackage{arydshln} % These two packages aren't needed in this code because it's a minimal example, \usepackage{tabularx} % but they're included ...
Raphael's user avatar
  • 564
0 votes
1 answer
187 views

Color coding specific rows using longtabu and xcolor packages

I am using the longtabu environment and trying to color code two rows in my table with the \rowcolor{red} command. I have loaded the relevant package \usepackage[table]{xcolor}. I searched for similar ...
Hrish Desai's user avatar
0 votes
2 answers
302 views

Using arydshln, tabu and X columns with memoir

This question is related to: Conflict between arydshln and tabu and X column type? The following works with the article class, but not with memoir: \documentclass{article} \usepackage{arydshln} \...
rudolfbyker's user avatar
0 votes
0 answers
184 views

How to prevent `arydshln` from screwing up formatting inside table

Consider the following minimal working example: \documentclass[a4paper,10pt]{scrbook} \usepackage{longtable} \usepackage{arydshln} \begin{document} \begin{longtable}[mc]{|c|c|cc|} {\...
Thomas's user avatar
  • 177