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
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
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
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
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