Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

# Tag Info

3


0

My friend and me spent some Sunday time to help you ^^ We often use simple way, natural layer to draw, but in this case, \pgfdeclarelayer should be used. The red layer (named main) is drawn in bethween 2 blue layers (named Original layer and Result layer). % Code: Le Huy Tien + Bui Quy \documentclass[tikz,border=5mm]{standalone} \begin{document} \begin{...

0

The question of @Dimas is fine. The \begin{pmatrix*}[r], however, does not work well when the numbers have a different number of digits. Let me add this answer, which defines a new column type [C]. It requires the tabularx package. Note: This answer is based on another answer from StackExchange (I could not identify the link). Here is the code and the ...

3

With the help of the valign=c option from the adjustbox package, the images and the comma cen be vertically centered: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{amsmath} \usepackage[export]{adjustbox} \begin{document} \begin{pmatrix} \includegraphics[valign=c]{image} & , & \includegraphics[valign=c]{image} \... 6 Welcome! You can use tikz-3dplot to install a view and the 3d library of TikZ, which automatically gets loaded, to project the matrices on some planes. \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usepackage{tikz-3dplot} \begin{document} \tdplotsetmaincoords{65}{60} \begin{tikzpicture}[tdplot_main_coords] \begin{scope}[canvas is xz plane ... 1 With the help of \color you can achieve the following: \documentclass{article} \usepackage{amsmath} \usepackage{xcolor} \begin{document} $$\label{Ex5eq2} M = {\color{red}\begin{bmatrix} 0 &1& 0& 0 \\ 0 &0 &1 &0 \\0& 0&0 &1\\ -2K & K_i & K_p - 5 & K_d \end{bmatrix}}$$ \end{... 2 Your basic problem is solved by @Mico comment, but you maybe looking for the following result: \documentclass[legalpaper,12pt]{amsart} \usepackage{mathtools} \begin{document} \[ A =\begin{pmatrix*}[r] 2 & -1 & 0\\ -1 & 2 & -1\\ 0 & -1 & 2 \end{pmatrix*} Describe the column space and the nullspace of the matrices ...

3

Remove any blank lines inside math environments as @Mico said, and use pmatrix for all your matrices and \qquad between A, B, and C. \documentclass[12pt]{amsart} \usepackage{amsmath,array} \begin{document} $A =\begin{pmatrix} 2 & -1 & 0 \\ -1 & 2 & -1 \\ 0 & -1 & 2 \end{pmatrix}$ Describe the column space ...

Top 50 recent answers are included