[texhax] Package "syntonly" and "resizebox"

David Carlisle d.p.carlisle at gmail.com
Sun Nov 20 14:00:50 CET 2016

the most obvious way to fix it is just not use syntaxonly (it really
has no use cases now)
otherwise load syntonly and add \renewcommand\resizebox[2]{\mbox} .

Since syntonly suppresses all fonts the original box has size zero so
to scale it to another size is a divide by zero error.


On 20 November 2016 at 12:24, Jerry <jerry at seibercom.net> wrote:
> I have the following in the preamble of my document:
> \usepackage{syntonly}
> \syntaxonly
> I am trying to use the following command:
> This works fine as long as "\syntaxonly" is commented out. If I
> uncomment it, I receive a division by zero error message. I tried using
> "\height" instead of "!", but that did not make any difference. How can
> I correct this problem?
> Thanks!
> --
> Jerry
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org

More information about the texhax mailing list