2
votes
1answer
66 views

Problem with abbreviation of `\multirow` and `\multicolumn` (LaTeX)

I have had to typeset several block matrixes lately. So I thought of defining abbreviations of \multirow and \multicolumn so as to avoid having to remember the former needs {*} and the latter {r} and ...
5
votes
1answer
304 views

`missing $ inserted` Error when not putting $ before and after array environment

Considering this answer I added $ before and after the array, i. e. before \begin{array} and after \end{array} in the following code. Then the former missing $ inserted Error was gone. ...
1
vote
0answers
31 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 ...
2
votes
1answer
164 views

I keep getting an error in line 38 saying “Extra alignment tab has been changed to \cr.”

\documentclass [12pt]{article} \oddsidemargin=0pt \topmargin=0pt \textwidth=6.5in \textheight=8.5in \begin{document} \begin{center} {\large\bf\LaTeX\ Example 6} \end{center} We can typeset array ...
2
votes
1answer
953 views

Missing $ inserted. [\begin{array}{|c|cccccccccc|}]

This latex code \begin{figure}[H] \centering \begin{array}{|c|cccccccccc|} \hline ~ & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 \\ \hline 1 & 1 & 2 & ...
4
votes
2answers
421 views

“! Missing number, treated as zero.” error in an array

\documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[a4paper]{geometry} % change later to \usepackage{geometry} ...
7
votes
2answers
416 views

cases environment inside an array

LyX is giving a lot of error messages for my Latex code which runs in other places. \[ \begin{array}{rl} p_{Y \mid H_1}(y \mid H_1) & = f_X(g^{-1}(y))\left| \dfrac{dg^{-1}(y)}{dy} \right| \\ \\ ...
9
votes
3answers
2k views

Problems using `\left\{` in array environment

I am trying to define a matrix in segments by enclosing the entries of the matrix in boxes, and also using the open and closed braces to label those segments. So far I have developed the following ...
3
votes
1answer
442 views

Array problem, can only have one row.

I'm not sure what I'm doing wrong, I'm trying to create a line of bits with labels. I'm trying to do this with an array: $\begin{array}{c|ccccccc} \mbox{L1} & \mbox{L2} & \mbox{L3} & ...