Category Archives for Questions & Answers

Coloring text for whole table rows

Eddy asked on TeX.SX:  How to color the font of a single row in a table?  I have a table and I want to make the font color red for just one row (not the background). How do I do … Continue reading

23. August 2011 by stefan
Categories: Figures and Tables, Questions & Answers, Tables, TeX.SX | 2 comments

Line width in LaTeX

Did you ever wonder why there are several (La)TeX lengths for the width of the current line of our text? In different situations, such as writing within a table, a minipage, a list or common body text in one or … Continue reading

30. April 2011 by stefan
Categories: LaTeX General, Questions & Answers, TeX.SX | Leave a comment

Matrix multiplication with LaTeX

Alexx Hardt asked on TeX.SX:  How can I draw a diagram for matrix multiplication with LaTeX?  I’m trying to make a PDF manual for matrix multiplication with LaTeX. I’d like to generate a graphic similar to this one (from Wikipedia/Matrix … Continue reading

18. April 2011 by stefan
Categories: Mathematics, Questions & Answers, TeX.SX | Leave a comment

Circled numbers in text

Martin Tapankov asked on TeX.SX:  What is a good way to make circled numbers in text?  I’m trying to make some good-looking numbers in a circle, using the simple command: \textcircled{1} However, the circle is misaligned vertically with the number, … Continue reading

13. December 2010 by stefan
Categories: Fonts and Symbols, Graphics, pgf/TikZ, Questions & Answers, TeX.SX, TikZ | 3 comments

Harpoons in TikZ

Yasser Sobhdel asked on TeX.SX:  Can I have any harpoons in TikZ?   I refer to my previous question on harpoons: “How to draw protocol interaction” using amsmath. The closest thing I have found is this code: \begin{tikzpicture}[decoration={bent,aspect=.3}] \node[circle,draw] (A) … Continue reading

11. December 2010 by stefan
Categories: Fonts and Symbols, Questions & Answers, TeX.SX, TikZ | Leave a comment