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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two matrices, and I want to render them side by side with appropriate space in between in display mode. How should it be implemented in LyX?

share|improve this question
Just insert a matrix, add a spacing, and insert another matrix. – Siyuan Ren Jul 19 '11 at 2:49
up vote 3 down vote accepted

No idea how things are in LyX, but here's one way to do it using LaTeX:



    0 & 1 & 1 \\
    1 & 0 & 1
    1 & 0 & 0 \\
    0 & 1 & 0


enter image description here

share|improve this answer

Displaying two matrices side-by-side in LaTeX should be (is!) independent of the editor (LyX). Here's a minimal example showing how to place 2 matrices next to one another:

This is text.
    a & b \\
    c & d
  \end{array}\right] \qquad
    e & f \\
    g & h
This is some more text.

The space between the two matrices is specified using \qquad (two \quads). However, you can change this. For example, you may want \hspace{5em} or \qquad \qquad (4 \quads) or whatever.

share|improve this answer

Your Answer


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.