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












5














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 (todonotes.sty 2018/11/22) calls tikz)

  • use tabularx (usepackage and environment, tabularx.sty 2016/02/03 v2.11b)

  • load array (array.sty 2018/11/13 v2.4j)

  • load arydshln (arydshln.sty 2018/09/26 v1.74)


As @daleif noted, tikz called by todonotes is part of the problem.



Using all, I get:




! Extra }, or forgotten endgroup.
@endpbox ...th dp @arstrutbox fi par egroup
adl@colhtdp box adl@box...
l.22 end{tabularx}




documentclass{article}

usepackage{tikz}
% usepackage{todonotes}
usepackage{tabularx}
usepackage{array}
usepackage{arydshln}

begin{document}
begin{tabular}{l l l }
A & B & C
end{tabular}

begin{tabularx}{textwidth}{l X X}
A & B & C
end{tabularx}

end{document}


How can I use all four packages without conflict?










share|improve this question
























  • it is not todonotes as is, you get the same error if you replace it with tikz (todonotes is build on tikz).
    – daleif
    Dec 13 '18 at 12:08
















5














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 (todonotes.sty 2018/11/22) calls tikz)

  • use tabularx (usepackage and environment, tabularx.sty 2016/02/03 v2.11b)

  • load array (array.sty 2018/11/13 v2.4j)

  • load arydshln (arydshln.sty 2018/09/26 v1.74)


As @daleif noted, tikz called by todonotes is part of the problem.



Using all, I get:




! Extra }, or forgotten endgroup.
@endpbox ...th dp @arstrutbox fi par egroup
adl@colhtdp box adl@box...
l.22 end{tabularx}




documentclass{article}

usepackage{tikz}
% usepackage{todonotes}
usepackage{tabularx}
usepackage{array}
usepackage{arydshln}

begin{document}
begin{tabular}{l l l }
A & B & C
end{tabular}

begin{tabularx}{textwidth}{l X X}
A & B & C
end{tabularx}

end{document}


How can I use all four packages without conflict?










share|improve this question
























  • it is not todonotes as is, you get the same error if you replace it with tikz (todonotes is build on tikz).
    – daleif
    Dec 13 '18 at 12:08














5












5








5


0





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 (todonotes.sty 2018/11/22) calls tikz)

  • use tabularx (usepackage and environment, tabularx.sty 2016/02/03 v2.11b)

  • load array (array.sty 2018/11/13 v2.4j)

  • load arydshln (arydshln.sty 2018/09/26 v1.74)


As @daleif noted, tikz called by todonotes is part of the problem.



Using all, I get:




! Extra }, or forgotten endgroup.
@endpbox ...th dp @arstrutbox fi par egroup
adl@colhtdp box adl@box...
l.22 end{tabularx}




documentclass{article}

usepackage{tikz}
% usepackage{todonotes}
usepackage{tabularx}
usepackage{array}
usepackage{arydshln}

begin{document}
begin{tabular}{l l l }
A & B & C
end{tabular}

begin{tabularx}{textwidth}{l X X}
A & B & C
end{tabularx}

end{document}


How can I use all four packages without conflict?










share|improve this question















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 (todonotes.sty 2018/11/22) calls tikz)

  • use tabularx (usepackage and environment, tabularx.sty 2016/02/03 v2.11b)

  • load array (array.sty 2018/11/13 v2.4j)

  • load arydshln (arydshln.sty 2018/09/26 v1.74)


As @daleif noted, tikz called by todonotes is part of the problem.



Using all, I get:




! Extra }, or forgotten endgroup.
@endpbox ...th dp @arstrutbox fi par egroup
adl@colhtdp box adl@box...
l.22 end{tabularx}




documentclass{article}

usepackage{tikz}
% usepackage{todonotes}
usepackage{tabularx}
usepackage{array}
usepackage{arydshln}

begin{document}
begin{tabular}{l l l }
A & B & C
end{tabular}

begin{tabularx}{textwidth}{l X X}
A & B & C
end{tabularx}

end{document}


How can I use all four packages without conflict?







tikz-pgf tabularx arrays todonotes arydshln






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 13 '18 at 12:42

























asked Dec 13 '18 at 11:48









ebcontrol

284




284












  • it is not todonotes as is, you get the same error if you replace it with tikz (todonotes is build on tikz).
    – daleif
    Dec 13 '18 at 12:08


















  • it is not todonotes as is, you get the same error if you replace it with tikz (todonotes is build on tikz).
    – daleif
    Dec 13 '18 at 12:08
















it is not todonotes as is, you get the same error if you replace it with tikz (todonotes is build on tikz).
– daleif
Dec 13 '18 at 12:08




it is not todonotes as is, you get the same error if you replace it with tikz (todonotes is build on tikz).
– daleif
Dec 13 '18 at 12:08










1 Answer
1






active

oldest

votes


















3














This is due to an internal change in array we may try to adjust so the error goes away but in the mean time if you change the package order it works again



documentclass{article}

usepackage{arydshln}
usepackage{todonotes}
usepackage{tabularx}
usepackage{array}


begin{document}
begin{tabular}{l l l }
A & B & C
end{tabular}

begin{tabularx}{textwidth}{l X X}
A & B & C
end{tabularx}

end{document}





share|improve this answer























  • This works for my MWE, but not if I change the tabular argument to {l : l l }
    – ebcontrol
    Dec 13 '18 at 12:54










  • @ebcontrol, oops I'll raise this with the team... (I'll post a temporary workaround here in a bit)
    – David Carlisle
    Dec 13 '18 at 13:08












  • A Japanese LaTeX user also reported a similar issue: oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=2550 - here I answered a workaround to revert array.sty's @startpbox (removing color@begingroup). Should i contact the author of arydshln (Mr. Nakashima), or expect the LaTeX team will resolve it?
    – Hironobu YAMASHITA
    Dec 18 '18 at 3:58












  • Of course this issue can be minimalized to usepackage{color} + usepackage{array} + usepackage{arydshln}. (Note: arydshln-man.pdf says arydshln should be loaded after array.)
    – Hironobu YAMASHITA
    Dec 18 '18 at 9:07










  • @davidcarlisle It seems that arydshln.sty modifies @endpbox based on previous version of array.sty, but it does not modify @startpbox. For this reason, the update of array.sty made two macros incosistent.
    – Hironobu YAMASHITA
    Dec 18 '18 at 9:12











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464679%2fconflict-between-tikz-was-todonotes-tabularx-array-arydshln%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














This is due to an internal change in array we may try to adjust so the error goes away but in the mean time if you change the package order it works again



documentclass{article}

usepackage{arydshln}
usepackage{todonotes}
usepackage{tabularx}
usepackage{array}


begin{document}
begin{tabular}{l l l }
A & B & C
end{tabular}

begin{tabularx}{textwidth}{l X X}
A & B & C
end{tabularx}

end{document}





share|improve this answer























  • This works for my MWE, but not if I change the tabular argument to {l : l l }
    – ebcontrol
    Dec 13 '18 at 12:54










  • @ebcontrol, oops I'll raise this with the team... (I'll post a temporary workaround here in a bit)
    – David Carlisle
    Dec 13 '18 at 13:08












  • A Japanese LaTeX user also reported a similar issue: oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=2550 - here I answered a workaround to revert array.sty's @startpbox (removing color@begingroup). Should i contact the author of arydshln (Mr. Nakashima), or expect the LaTeX team will resolve it?
    – Hironobu YAMASHITA
    Dec 18 '18 at 3:58












  • Of course this issue can be minimalized to usepackage{color} + usepackage{array} + usepackage{arydshln}. (Note: arydshln-man.pdf says arydshln should be loaded after array.)
    – Hironobu YAMASHITA
    Dec 18 '18 at 9:07










  • @davidcarlisle It seems that arydshln.sty modifies @endpbox based on previous version of array.sty, but it does not modify @startpbox. For this reason, the update of array.sty made two macros incosistent.
    – Hironobu YAMASHITA
    Dec 18 '18 at 9:12
















3














This is due to an internal change in array we may try to adjust so the error goes away but in the mean time if you change the package order it works again



documentclass{article}

usepackage{arydshln}
usepackage{todonotes}
usepackage{tabularx}
usepackage{array}


begin{document}
begin{tabular}{l l l }
A & B & C
end{tabular}

begin{tabularx}{textwidth}{l X X}
A & B & C
end{tabularx}

end{document}





share|improve this answer























  • This works for my MWE, but not if I change the tabular argument to {l : l l }
    – ebcontrol
    Dec 13 '18 at 12:54










  • @ebcontrol, oops I'll raise this with the team... (I'll post a temporary workaround here in a bit)
    – David Carlisle
    Dec 13 '18 at 13:08












  • A Japanese LaTeX user also reported a similar issue: oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=2550 - here I answered a workaround to revert array.sty's @startpbox (removing color@begingroup). Should i contact the author of arydshln (Mr. Nakashima), or expect the LaTeX team will resolve it?
    – Hironobu YAMASHITA
    Dec 18 '18 at 3:58












  • Of course this issue can be minimalized to usepackage{color} + usepackage{array} + usepackage{arydshln}. (Note: arydshln-man.pdf says arydshln should be loaded after array.)
    – Hironobu YAMASHITA
    Dec 18 '18 at 9:07










  • @davidcarlisle It seems that arydshln.sty modifies @endpbox based on previous version of array.sty, but it does not modify @startpbox. For this reason, the update of array.sty made two macros incosistent.
    – Hironobu YAMASHITA
    Dec 18 '18 at 9:12














3












3








3






This is due to an internal change in array we may try to adjust so the error goes away but in the mean time if you change the package order it works again



documentclass{article}

usepackage{arydshln}
usepackage{todonotes}
usepackage{tabularx}
usepackage{array}


begin{document}
begin{tabular}{l l l }
A & B & C
end{tabular}

begin{tabularx}{textwidth}{l X X}
A & B & C
end{tabularx}

end{document}





share|improve this answer














This is due to an internal change in array we may try to adjust so the error goes away but in the mean time if you change the package order it works again



documentclass{article}

usepackage{arydshln}
usepackage{todonotes}
usepackage{tabularx}
usepackage{array}


begin{document}
begin{tabular}{l l l }
A & B & C
end{tabular}

begin{tabularx}{textwidth}{l X X}
A & B & C
end{tabularx}

end{document}






share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 13 '18 at 12:32

























answered Dec 13 '18 at 12:14









David Carlisle

482k4011151853




482k4011151853












  • This works for my MWE, but not if I change the tabular argument to {l : l l }
    – ebcontrol
    Dec 13 '18 at 12:54










  • @ebcontrol, oops I'll raise this with the team... (I'll post a temporary workaround here in a bit)
    – David Carlisle
    Dec 13 '18 at 13:08












  • A Japanese LaTeX user also reported a similar issue: oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=2550 - here I answered a workaround to revert array.sty's @startpbox (removing color@begingroup). Should i contact the author of arydshln (Mr. Nakashima), or expect the LaTeX team will resolve it?
    – Hironobu YAMASHITA
    Dec 18 '18 at 3:58












  • Of course this issue can be minimalized to usepackage{color} + usepackage{array} + usepackage{arydshln}. (Note: arydshln-man.pdf says arydshln should be loaded after array.)
    – Hironobu YAMASHITA
    Dec 18 '18 at 9:07










  • @davidcarlisle It seems that arydshln.sty modifies @endpbox based on previous version of array.sty, but it does not modify @startpbox. For this reason, the update of array.sty made two macros incosistent.
    – Hironobu YAMASHITA
    Dec 18 '18 at 9:12


















  • This works for my MWE, but not if I change the tabular argument to {l : l l }
    – ebcontrol
    Dec 13 '18 at 12:54










  • @ebcontrol, oops I'll raise this with the team... (I'll post a temporary workaround here in a bit)
    – David Carlisle
    Dec 13 '18 at 13:08












  • A Japanese LaTeX user also reported a similar issue: oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=2550 - here I answered a workaround to revert array.sty's @startpbox (removing color@begingroup). Should i contact the author of arydshln (Mr. Nakashima), or expect the LaTeX team will resolve it?
    – Hironobu YAMASHITA
    Dec 18 '18 at 3:58












  • Of course this issue can be minimalized to usepackage{color} + usepackage{array} + usepackage{arydshln}. (Note: arydshln-man.pdf says arydshln should be loaded after array.)
    – Hironobu YAMASHITA
    Dec 18 '18 at 9:07










  • @davidcarlisle It seems that arydshln.sty modifies @endpbox based on previous version of array.sty, but it does not modify @startpbox. For this reason, the update of array.sty made two macros incosistent.
    – Hironobu YAMASHITA
    Dec 18 '18 at 9:12
















This works for my MWE, but not if I change the tabular argument to {l : l l }
– ebcontrol
Dec 13 '18 at 12:54




This works for my MWE, but not if I change the tabular argument to {l : l l }
– ebcontrol
Dec 13 '18 at 12:54












@ebcontrol, oops I'll raise this with the team... (I'll post a temporary workaround here in a bit)
– David Carlisle
Dec 13 '18 at 13:08






@ebcontrol, oops I'll raise this with the team... (I'll post a temporary workaround here in a bit)
– David Carlisle
Dec 13 '18 at 13:08














A Japanese LaTeX user also reported a similar issue: oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=2550 - here I answered a workaround to revert array.sty's @startpbox (removing color@begingroup). Should i contact the author of arydshln (Mr. Nakashima), or expect the LaTeX team will resolve it?
– Hironobu YAMASHITA
Dec 18 '18 at 3:58






A Japanese LaTeX user also reported a similar issue: oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=2550 - here I answered a workaround to revert array.sty's @startpbox (removing color@begingroup). Should i contact the author of arydshln (Mr. Nakashima), or expect the LaTeX team will resolve it?
– Hironobu YAMASHITA
Dec 18 '18 at 3:58














Of course this issue can be minimalized to usepackage{color} + usepackage{array} + usepackage{arydshln}. (Note: arydshln-man.pdf says arydshln should be loaded after array.)
– Hironobu YAMASHITA
Dec 18 '18 at 9:07




Of course this issue can be minimalized to usepackage{color} + usepackage{array} + usepackage{arydshln}. (Note: arydshln-man.pdf says arydshln should be loaded after array.)
– Hironobu YAMASHITA
Dec 18 '18 at 9:07












@davidcarlisle It seems that arydshln.sty modifies @endpbox based on previous version of array.sty, but it does not modify @startpbox. For this reason, the update of array.sty made two macros incosistent.
– Hironobu YAMASHITA
Dec 18 '18 at 9:12




@davidcarlisle It seems that arydshln.sty modifies @endpbox based on previous version of array.sty, but it does not modify @startpbox. For this reason, the update of array.sty made two macros incosistent.
– Hironobu YAMASHITA
Dec 18 '18 at 9:12


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464679%2fconflict-between-tikz-was-todonotes-tabularx-array-arydshln%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?