Can I add color to column with colorbox or some other method that LaTex native? Can I add color to column with colorbox or some other method that LaTex native?  What I want to display is below:    have tried  \begin{vmatrix} \quad 5 \qquad 1 \qquad \colorbox{grey}{1} \quad\\ \quad -6 \qquad 2 \qquad \colorbox{grey}{0} \quad\\ \quad -5 \qquad -5 \qquad \colorbox{grey}{0} \quad\\ \end{vmatrix}   and  \begin{vmatrix} \quad 5 \qquad 1 \qquad \bbox[grey, 20px]{1} \quad\\ \quad -6 \qquad 2 \qquad \bbox[grey, 20px]{0} \quad\\ \quad -5 \qquad -5 \qquad \bbox[grey, 20px]{0} \quad\\ \end{vmatrix}
How do I color table columns? I've found question , but the link to the documentation isn't helping me at all.  I'd like to know how to color a table column given my column code, but the documentation only gives the syntax of the command. It doesn't give any code example of where to use it.  \usepackage{colortbl}  \begin{table}[h]     \centering     \begin{tabular}{|c|c|c|c|c|c|c|c|}         \hline         \cellcolor[gray]{0.8}128&amp;64&amp;32&amp;16&amp;8&amp;4&amp;2&amp;1\\\hline         1&amp;0&amp;1&amp;1&amp;0&amp;1&amp;0&amp;1\\\hline     \end{tabular} \end{table}   As you can see, I got \cellcolor to work, but I don't want to color individual cells. I want to color a whole column of the table. Does anybody know how I can go about to do this?
Using fontspec with Luatex it is possible to create a fake slant and use that as italic should no italics be around:  \setmainfont[ AutoFakeSlant=0.15 ]             {FontName}   However, also if an italic version exist this faked slant will be used both for \itshape and \slshape. How can I keep using the shipped italic font defined by the ItalicFont= parameter to \setmainfont but use fake slant for \slshape? Android and getting a view with id cast as a string Multiplication principle and permutation Definition of Multiplication principle in Principles and Techniques in combinatorics by Chuan-Chong, Khee-Meng is given as:      Let $$\prod_{i=1}^rA_i=A_1\times\dots\times A_r=\{(a_1,\dots,a_r) | a_i\in A_i, i=1,\dots,r\}$$ denote the cartesian product of the finite sets $A_1,\dots,A_r.$ Then $$\left\vert \prod_{i=1}^r A_i \right\vert=|A_1|\times\dots\times|A_r|.$$   I want to know how this principle is applies in defining $P_r^n=n(n-1)\cdots2\cdot1$, ie, what are sets $A_1,\dots,A_r$ here? How to solve this recurrence $T(n) = 2T(n/2) + n\log n$ How can I solve the recurrence relation $T(n) = 2T(n/2) + n\log n$? It almost matches the Master Theorem except for the $n\log n$ part. Objective-C - When to use 'self' I was having trouble playing the game on my android so I downloaded it to my wife's phone (Galaxy S6). I read some posts on how to get it running on my android and it worked but, my level 7 account is on my wife's phone.  How do I get it back to my android? When I sign out and back in it doesn't ask for any sign in info. I've tried deleting the app's data and even uninstalling and re-installing, but it still doesn't ask for sign-in info. The difference between sys.stdout.write and print? What are preimage resistance and collision resistance, and how can the lack thereof be exploited? What is "preimage resistance", and how can the lack thereof be exploited? How is this different from collision resistance, and are there any known preimage attacks that would be considered feasible? Evaluate the integral $\int \frac{\sec x}{\sqrt{3+\tan x}}dx$ Evaluate the following integral.$$\int \frac{\sec x}{\sqrt{3+\tan x}}dx$$  On putting $t=\tan x$ I am getting $$\int\frac{1}{\sqrt{(t^2+1)(t+3)}}dt$$.  How should i proceed from here. Is it possible to "hack" a MacBook so as to be able to install macOS Mojave? Traditional search-as-you-type on newer Nautilus versions I know some countries such as UK has the steering wheels of their cars on the right side. But as we can see, most of the Europian countries uses it at the opposite side. Since I used to drive a car with left-steering wheel I found it impossible to drive a car with right-steer!  Not curiosity, but I am trying to map if this issue is related to User Experience or not. I want to put a table and a figure side-by-side. The table should fill two third of the text width, and the figure the last third.  So I'd like to achieve one of the following effects (which are equivalent in my case):   One table with 3 columns. The first two columns contain text, the third column contains a lengthy image. The height of the image should be determined by the height of the whole table, if that's possible Or, a divided page like in newspapers. On the left side I have the table, on the right side the image.   What I have tried:  \begin{multicols}{2} \begin{tabular}{ l l } Text &amp; Text \\ Text &amp; Text \\ ... &amp; ... \\ \end{tabular} \vfill \begin{figure}[H]     \includegraphics[]{images/image} \end{figure} \end{multicols}   But this places the picture directly on top of the table.  I also tried using \usepackage[export]{adjustbox} and \includegraphics[right]{images/image} but the caption is still in the center of the page and therefor on top of the table. How to fix missing characters from font after awakening from suspend? I find that often after awakening from suspend on Ubuntu GNOME 16.04 with GNOME 3.20 (I have only found this issue on the latest version, though I have not tried with GNOME 3.18 on 16.04) that I get this strange font issue which can't be fixed by restarting gnome-shell and seemingly only by restarting my entire machine:            I do not believe that this is a theme issue as I have tried all the built-in themes (including the dark and light versions) and it is the same for them all. Though it does not seem to affect gnome-shell areas, that is the top-bar, the Activities Overview, etc, are not affected for some reason. So what could this issue be caused by and how can I fix or workaround it?  Information Update:  I have had a look at  but the only options in the gnome-tweak-tool for Antialiasing are Rgba, None, and Grayscale, but none of them seem to have any affect on the issue. Is there something I'm missing? I am trying to understand how to see the total size of my hard drive &amp; how much is left. It was recommended on various searches to use the command below   df -h Filesystem      Size  Used Avail Use% Mounted on udev            7.8G     0  7.8G   0% /dev tmpfs           1.6G  9.6M  1.6G   1% /run /dev/sda1       219G   29G  180G  14% / tmpfs           7.8G   18M  7.8G   1% /dev/shm tmpfs           5.0M  4.0K  5.0M   1% /run/lock tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup cgmfs           100K     0  100K   0% /run/cgmanager/fs tmpfs           1.6G   64K  1.6G   1% /run/user/1000   However I don't understand any of these directories. I mean what are they, are these all directories or partitions or what? And why do they appear under "mounted on"? How does that bit work. I assume the /dev/sda1 is my solid state drive? So now if I install applications, which one of these directories does my software get installed  into? I assume it just gets installs in the / directory (I haven't even got a clue what the / directory is). Can someone explain what the other directories are and what they are used for? How do I set up a "secure" open resolver? This is a  about securing public DNS resolvers   Open DNS servers seem pretty neat and convenient, as they provide IP addresses that we can use consistently across our company regardless of where they are located. Google and OpenDNS provide this functionality, but I'm not sure that I want these companies to have access to our DNS queries.  I want to set up something like this for use by our company, but I hear a lot about this being dangerous practice (particularly in regards to ) and I want to make sure that we do this right. What things do I need to keep in mind when building this type of environment? How to completely remove Garage Band from macOS? How to show a group is cyclic? One question asking if $\mathbb{Z}^*_{21}$ is cyclic.  I know that the cyclic group must have a generator which can generate all of the elements within the group.  But does this kind of question requires me to exhaustively find out a generator? Or is there any more efficient method to quickly determine if a group is a cyclic group? I have a multi-line equation that I want to have matching sized parentheses. The advice I read online was to use \left( equation \right. \\ left. rest-of-equation \right) . However, this syntax leaves first half of the equation unaware of what is in the second half. For example, if you include a square root term after the break, the second parenthesis will be larger than the opening parenthesis. When you are using the aligned environment to split a long equation this can look somewhat offputting.    Compare the top equation to the bottom one. The parentheses match in size for the bottom equation, but the left hand parentheses for the top one is  noticeably smaller.  Top Code:   \begin{aligned}[t]   \gamma_{\text{u}} + \frac{1}{108}   \left(57\gamma_{\text{er}} \right. &amp;+  38\gamma_{\text{se}}\\ &amp; {}\pm  \left.\sqrt{2601 \gamma_{\text{er}}^2 + 3648  \gamma_{\text{er}}\gamma_{\text{se}} + 1444 \gamma_{\text{se}}^2}  \right)   \end{aligned}   Bottom Code:  \begin{aligned}[t] \gamma_{\text{u}} + \frac{1}{16} \left(9\gamma_{\text{er}}  +  6\gamma_{\text{se}} \pm  \sqrt{49 \gamma_{\text{er}}^2 + 76 \gamma_{\text{er}}\gamma_{\text{se}} + 36 \gamma_{\text{se}}^2} \right) \end{aligned} Count days between two dates, excluding weekends (MySQL only)