Take the 2-minute tour ×
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.

I have a tridiagonal matrix whose diagonals d_{-1}, d_0, d_1 (thought as vectors) can be written as vector expressions.

Is there a way to nicely represent this, e.g. via a matrix which is blank everywhere except from the diagonals which report the expression (written diagonally) and maybe continuous lines elsewhere?

(Please see the attached picture).

enter image description here

Any help appreciated.

share|improve this question
    
Did you try this by setting up a matrix of math nodes in Tikz? I'll try and see how it goes for me... –  kan Apr 11 '13 at 17:20
add comment

1 Answer

up vote 6 down vote accepted

enter image description here

\documentclass{article}
\usepackage{graphicx}

\begin{document}

\[
\left(
\rotatebox[origin=c]{-45}{\begin{tabular}{c}
\rule[.5ex]{3em}{.5pt} $\exp_1(C)$   \rule[.5ex]{3em}{.5pt}\\
\rule[.5ex]{4em}{.5pt} $\exp_0(C)$   \rule[.5ex]{4em}{.5pt}\\
\rule[.5ex]{3em}{.5pt} $\exp_{-1}(C)$ \rule[.5ex]{3em}{.5pt}
\end{tabular}}
\right)
\]

\end{document}
share|improve this answer
    
Wonderful, thanks! –  Acorbe Apr 11 '13 at 17:28
add comment

Your Answer

 
discard

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.