Tag Info

Hot answers tagged

4

Double subscript error occurs when TeX sees a second subscript attached to the main box, and because TeX's accent machinery is very low-level you're seeing an interesting side-effect here. The best fix is to load the accents package, which re-implements accents and fixes up a few infelicitations such as this: \documentclass{article} \usepackage{accents} ...


4

It's a feature in TeX. A subformula in math mode is a group of symbols surrounded by braces or by \left-\right. For instance $a+{b+c}$ has a subformula.1 If you type ${(a+b)}^{2}$, the exponent will be higher than in $(a+b)^{2}$, because you are setting an exponent to the whole subformula in the former case, to the parenthesis in the latter case. By the ...


4

Package ctable loads package transparent. Both package transparent and tikz implements transparency. This needs access to a page resource, a dictionary ExtGState for the transparent values. Unhappily, the LaTeX format has overslept the PDF development quite entirely. Managing global resources is the prime task for an OS, format in TeX speek. Because of the ...


3

(La)TeX can not balance square brackets and it gets confused thinking that the ] in f[x] is closing the opening [ from \datavisualization; help it by using an extra pair of braces,as in {$f[x]$} so the inner brackets are hidden: \documentclass{article} \usepackage{tikz} \usetikzlibrary{datavisualization} ...


3

The argument of section is used in more than one place. It can wander in the header and the toc. Some commands ("fragile commands", see http://www.tex.ac.uk/cgi-bin/texfaq2html?label=protect) can break in this case. Either use \protect\onetimegloss{foo} or \section[text for toc and header]{\onetimegloss{foo}} or define a robust command with ...


3

You could use the package refcheck. There already a question you might want to check out: here. It worked for me in LuaLaTeX. I'll give a brief example: \documentclass{article} \usepackage{amsmath} \usepackage{refcheck} \begin{document} \begin{figure} % ... \caption{A nice picture of my dog}\label{fig:dog} \end{figure} % As seen in ...


3

You can't have \right( ... \left): they must be the other way around. I did some other refinements, such as \mid instead of | and \;\middle|\; where the bar should follow the bigger parentheses. Also \dots should be used instead of \ldots. \documentclass{article} \usepackage{comment} % enables the use of multi-line comments (\ifx \fi) ...


2

You misquote the error message in your title. It is not \end{tabulary} that is undefined. The first two errors in your document are ! Undefined control sequence. <recently read> \midule l.11 \end{tabulary} ? ! Undefined control sequence. \LT@echunk ->\crcr \LT@save@row \cr \egroup \global \setbox \@ne \lastbox ...


1

you have used the command \medium, which doesn't exist. what you probably meant is \mdseries, which is the default. since you responded in a comment that what you really want to do is change the size of the font, the command for that is \normalsize.



Only top voted, non community-wiki answers of a minimum length are eligible