Linked Questions

3
votes
1answer
4k views

“[” Square bracket Curiosities in an array environment [duplicate]

I am aware of the fact all of the following examples are in fact not the right way of doing whatever they do. But, I came across these examples by playing around with the code that WinEdt produces for ...
0
votes
1answer
1k views

IEEEeqnarraybox [duplicate]

Possible Duplicate: “[” as first character in table row I am usually constructing nested equations in latex using the IEEEeqnarray-toolbox (typeset_equations.pdf ). However, I noticed an odd ...
2
votes
1answer
67 views

can't type [replace] [duplicate]

I need to type some code in Latex, but when I type [replace] (as a part of the code) it says: "Missing number, treated as zero" Here is my minimal working example: \documentclass[]{report} ...
0
votes
1answer
65 views

tabularx environment error: “Argument of \@argarraycr has an extra }” when starting with bracket [duplicate]

Here is a MWE of creating a table using tabularx: \documentclass[border=5mm]{standalone} \usepackage{tabularx} \begin{document} \begin{tabularx}{1.0\linewidth}{X} header 1 \\ [unit 1) \\ % Does ...
4
votes
0answers
55 views

Why `\\` is wrong here? [duplicate]

The following codes return errors \documentclass{article} \begin{document} cd\\ [asd] \end{document} But this one will work \documentclass{article} \begin{document} cd [asd] \end{document}
1
vote
0answers
42 views

“]” not working [duplicate]

I tried to compile something like the following but it is not compiling: $$ \begin{array}{ccc} [u,v]=0&,&\text{if bla}\\ [u,v]=0&,&1 \end{array} $$ I also tried \begin{...
111
votes
3answers
8k views

What is the difference between \relax and {}?

As I understand it, the point of \relax is to stop a macro from swallowing up subsequent material (such as whitespace). But {} (\bgroup\egroup) serves the same function. Why do we need both?
7
votes
1answer
3k views

“Undefined control sequence” on left parenthesis after midrule in longtable

With this file: \documentclass{article} \usepackage{longtable} \usepackage{booktabs} \begin{document} { \begin{longtable}{p{.3\textwidth}p{.5\textwidth}} \midrule label & value \\ \midrule (2) ...
3
votes
1answer
2k views

Linebreak followed by bracket

I tried to find a topic here on this (possible problem) but I didn't. I reported it at TeXstudio SF but Tim Hoffmann pointed me that it is not a problem of editor. After tested with nano and ...
3
votes
1answer
200 views

multiple equations with same number

I can't seem to make this work. I want the matrix and the second equation with the same equation number. \begin{equation} \begin{aligned} [{\bf Z}] &=\begin{bmatrix} R_1+j\omega L_1 & -j\...