Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

In continuation to this question, I was looking for a way to add nice diagonal lines inside a BMAT matrix to express a band structure of the matrix. However, a LaTeX file with both TikZ and easybmat fails to compile.

Is there anything I could do to have these two packages compile together?

Minimal example:

\documentclass[a4paper,10pt]{article}

%\usepackage{easybmat}
%\usepackage{tikz}

\begin{document}
This document fails to compile if you remove both percent
signs. Remove any one of them and it compiles fine.
\end{document}
share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

add \usepackage{etex}

share|improve this answer
    
I’m curious: why does this help? –  Caramdir Sep 24 '10 at 14:05
    
this package "modifies LaTeX\u2019s register allocation macros to make use of the extended register range." In the above example, as far as I can understand there is a lack of memory allocation for "dimen". My answer relies more on experience than understanding. Experts are welcome to comment. –  pluton Sep 24 '10 at 14:15
    
Great answer! succinct, correct and fast! Go TeX.SE! –  Yossi Farjoun Sep 24 '10 at 14:30
    
Just to make this answer more complete: the order of the packages seems to have to be: easybmat,etex, tikz. –  Yossi Farjoun Sep 29 '10 at 9:23
    
While the package works, the alignment is screwy unless one uses the settings given in this solution to a different question of mine: tex.stackexchange.com/questions/3606/… –  Yossi Farjoun Oct 4 '10 at 14:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.