Questions tagged [mdwtools]

for questions about the mdwtools suite of packages (syntax, mdwtab, mathenv, at, mdwmath, sverb)

Filter by
Sorted by
Tagged with
1
vote
2answers
42 views

How to total item counts in multiple enumerate environments, respecting \include

I'm writing a book in which each chapter ends with a list of numbered exercises. I would like to persuade LaTeX to count the total number of exercises in the book, to be referred to with \ref or ...
0
votes
0answers
81 views

Why am I getting different results from the same code?

I'm using the syntax.sty part of the mdwtools package to produce the code in working.tex. This works fine in its own file, but when I put the exact same code in files main.tex and chap2.tex, I get a ...
1
vote
0answers
100 views

Aligning a table inside a basedescript [duplicate]

I'm using a tabular inside a basedescript enviroment from the mdwlist package. I need to have "normal paragraph"-like behaviour on both sides — so LaTeX will wrap lines and break words. The ...
2
votes
1answer
167 views

Overlays in grammar rules

I'd like to use Beamer overlays inside a grammar definition: \documentclass{beamer} \usepackage{syntax} \begin{document} \begin{frame}[fragile]{} \begin{grammar} <term> ::= <term1&...
4
votes
2answers
347 views

mdwtools' syntax for BNF with beamer

When I \usepackage{syntax} inside a beamer presentation, the angle brackets on the right-hand side of rules either come up as ¡ and ¿ or as wide angle brackets < and >, instead of the thin ones ...
3
votes
1answer
133 views

Clash between siunitx and mdwtab

I just had the following error after including mdwtab while using siunitx inside a tabular block: ! Extra \fi. \@maybe@unskip ...skip \m@ne \lastskip \relax \fi ...
3
votes
1answer
401 views

Help replicating pseudo-BNF snippet

I am taking notes from my textbook and am trying to replicate the snippet below (I don't care about the box around it). I have tried using the mdwtools package, but it rejects the following: \begin{...
2
votes
0answers
400 views

colortbl and mdwtab

There is an incompatibility between the packages colortbl and mdwtab. The following document fails with LuaLaTex and the error ! Extra }, or forgotten \endgroup. \documentclass{article} \usepackage{...
6
votes
2answers
2k views

Bad interaction between mdwtools' syntax package and graphicx

I'm writing a document where I want to both include some image via graphicx's \includegraphics and display some BNF grammars using the syntax package of mdwtools, however I receive an error of ...
2
votes
1answer
450 views

Can't compile tikz pictures when packages mdwtab and syntax are included

I have a strange dilemma that I cannot resolve. I am including three additional packages than what I typically would include: tikz -- for state diagrams mdwtab and syntax for Context-Free-Grammars ...