New answers tagged

5

You can store the first string, then compare each item of the following ones against the corresponding item in the first string. There's no check that the two strings have the same length, but it may be added. \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage{array} \usepackage{xparse} \ExplSyntaxOn \seq_new:N ...


2

You seem to know how to add options to individual cells, with |[...]| already, so in that sense you've almost answered your own question: Add fill=<color> in those options, e.g. |[fill=blue!20]|. \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc,matrix} \usepackage{amsthm} \usepackage{colortbl} \begin{document} \begin{table}[h] ...


3

It's easy to do with pstricks, as it allows using a usual ams matrix environment. The relevant entries of the matrix are defined as \rnodes, and these nodes are connected with \ncboxes: \documentclass{article} \usepackage{amsmath} \usepackage[table, x11names]{xcolor} \usepackage{fourier} \usepackage{pst-node, multido} \usepackage{auto-pst-pdf} ...


5

This is slightly adopted on my old example of matrix with highlighted elements (it quit differ from your image): To change path to your wish you only need to select nodes in matrix, through which path should go. \documentclass[border=1mm]{standalone} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \centering ...


2

I don't think systeme is the right tool. \documentclass[twocolumn,oneside]{revtex4-1} \usepackage{array} \usepackage{amsmath} \numberwithin{equation}{section} \begin{document} \begin{equation} \{(\bar 6\oplus 3)\otimes(6\oplus\bar 3)\}_c = \left\{ \renewcommand{\arraystretch}{1.2} \settowidth{\dimen0}{$0$} \begin{array}{r@{}>{{}}l@{}>{{}}l} ...



Top 50 recent answers are included