I have the following table. It contains multi-column headings.   I want the multi-column headings to be equally distributed in the available space. There is asymmetry now. The first two headings are too close and there is a space then the third one.   How can I adjust them to make equal width of the columns?  \documentclass{article}  \newcommand*{\zerobox}[2][l]{% \raisebox{0pt}[0pt][0pt]{\makebox[0pt][#1]{#2}} } \newcommand*{\anglelabel}[1]{% \multicolumn{1}{c}{\rotatebox{45}{\zerobox{#1}}}% } \newcommand*{\rotLabel}[1]{% \anglelabel{\zerobox{#1}} }  \usepackage{tikz} \usepackage{mathtools} \newcommand{\filledcirc}{${\color{black}\bullet}\mathllap{\circ}$} \newcommand{\normalcirc}{${\color{white}\bullet}\mathllap{\circ}$} \begin{document}   \begin{tabular}{ccc}  \rotLabel{Xxxxxxx} &amp; \rotLabel{Ccccccccccccc} &amp; \rotLabel{Rrrrrrrr Rrrrr}   \\ \hline \multicolumn{3}{|c|}{\textit{Ddddddddd Dddd}}\\ \hline \end{tabular}  \end{document}
I'd like to create a chart where the column titles are rotated, as per this toy example:    I used the rotating package to generate the above. It has certain shortcomings: the rotate command doesn't leave space for the titles, so I have to manually space things to prevent overlaps. The turn command, by contrast, creates too much space, where each column is the width of the entire rotated column title.  There is also no easy way to have long titles be split into multiple lines.  Is there a package for creating tables of this sort, or at least one that would relieve some of the manual placing and spacing that goes into creating such a table?    This question is more to make sure I don't miss any easy way of doing what I want than seeking help on manually doing it, but the code for above is included anyways:  \begin{tabular}{r|ccc} &amp; \begin{rotate}{60} Property 1 \end{rotate} &amp; \begin{rotate}{60} Property 2 \end{rotate} &amp; \begin{rotate}{60} Property 3 \end{rotate} \\ \hline System 1        &amp;       &amp;       &amp;  X    \\  System 2        &amp; X     &amp; X     &amp;  X    \\ System 3        &amp; X &amp;   &amp;  X    \\ \hline \end{tabular}
How can I stop Ubuntu Dock from extending to the edges? By default Ubuntu Dock in Ubuntu 17.10 and later releases always extends to the edges (top-bar-to-bottom if placed on the left or right and left-to-right when placed at the bottom) even when it's not filled with icons. Is there a way to prevent this behaviour (i.e. I want to make the dock-length flexible so that as the number of application icons in the dock increases, it should expand accordingly)?  ➡️➡️➡️  In other words, is there a way make Ubuntu Dock look like a &quot;proper dock&quot; instead of a side/bottom panel with full-height/width? Why does the zoom sometimes stop at a point? I often find that I can zoom in to a point, but then cannot zoom any more, even when there is a lot of room to zoom to the meshes on the scene.   This is particularly annoying in the following scenario:  I often land up left clicking on the scene and the 3D cursor shifts there. I use Shift+C to shift the 3D cursor back to the origin. However, this also centers the view on the cursor and shifts the view to show all objects, and sometimes this zooms things way out &ndash; at this point, if I try to zoom in, I can zoom in to a point (using the pinch/zoom on trackpad), but then it stops zooming in.   How do I zoom in after that? Is there anything else I am doing wrong in this case? The usual explanation for warm fluids rising past cooler ones is that the warmer fluid has a lower density.  I'm trying to understand what this looks like at a molecular scale.  The density seems to be a large-scale phenomenon, and I don't understand how it can affect whether a particular molecule rises or falls.  Consider a cylinder of fluid that is being heated at the bottom.  The molecules at the bottom have a higher average energy.  How does this result in the tendency of the warmer molecules at the bottom to move upwards past the cooler ones? Clustering procedure where each cluster has an equal number of points? Chain wire methods together in Lightning Web Components According to the documentation  in order to retrieve a list of picklist values for an object we need to pass in a Record Type Id which can be retrieved using the getObjectInfo method.   The issue is that these are both wire functions and I cannot figure out how to chain these methods.  If I try code like the following:  getObjectInfo({ objectApiName: ACCOUNT_OBJECT })             .then(result =&gt; {                 return getPicklistValues({recordTypeId: result.defaultRecordTypeId, fieldApiName: TYPE_FIELD});             })             .then(result =&gt; {                 this.picklistValues = result.data             })             .catch(error =&gt; {                 this.error = error;             });   I get an error      render threw an error in 'c:getpicklistexample' [Imperative use is not   supported. Use @wire(getObjectInfo).]   If I try something like   @track rtId;      @wire(getObjectInfo, { objectApiName: ACCOUNT_OBJECT })     handleResult({error, data}) {         if(data) {             this.rtId = data.defaultRecordTypeId;         }     }      @wire(getPicklistValues, {recordTypeId: this.rtId,fieldApiName: TYPE_FIELD})     picklistValues;   Then it throws an internal server error. Anybody have an idea as to how I could retrieve the record type Id and then call to get the pick list values like the documentation suggests?  FYI my imports are:  import { LightningElement, wire, track } from 'lwc'; import { getPicklistValues, getObjectInfo } from 'lightning/uiObjectInfoApi'; import TYPE_FIELD from '@salesforce/schema/Account.Type'; import ACCOUNT_OBJECT from '@salesforce/schema/Account'; I understand that you have to have visas to enter some countries, but I was wondering whether you have to pay for each visa separately or you can get a visa to go everywhere. You see videos and lists on what you should pack to travel the world, but no lists on the documentation needed. Debugging automatic properties Filtering points in GeoServer layer Checking incoming call in iphone Is it possible to show a screensaver on a secondary monitor while using the primary monitor? I have an iMac with a large format display set up as a secondary monitor that we use as a television for watching movies.  When I am just using the iMac, I would like for the secondary display to display something interesting rather than just the wallpaper.  Is it possible to set up a screensaver that appears on the second monitor (I really like the iPhoto slideshow) while allowing me to use the primary iMac monitor?  I would even be happy if it wasn't technically a screen saver, but just any sort of slideshow that could be displayed on one monitor while I work on the other.  Currently if I play a slideshow in iPhoto, the other monitor goes blank. :( Kindle for PC via Wine I really want to get the Kindle PC program running on my computer so I can download, read, and manage my e-books. I realize that Calibre can be used to manage e-books and I do have that downloaded. However, Amazon won't let me download ebooks unless my PC is registered in their Kindle program and I'd like to just keep things streamlined.  I've viewed many tutorials and advice for setting it up. I have Wine, I have Kindle for PC, I set it to Win98, all of that. However, when I try to open KindlePC from the Wine menu or from the desktop icon, nothing happens. No error messages, nothing. I don't know what might be wrong. How can I make it work? How do I use reflection to call a generic method? Creating an index of quality from multiple variables to enable rank ordering I have four numeric variables. All of them are measures of soil quality. Higher the variable, higher the quality. The range for all of them is different:  Var1 from 1 to 10  Var2 from 1000 to 2000  Var3 from 150 to 300  Var4 from 0 to 5  I need to combine four variables into single soil quality score which will successfully rank order.  My idea is very simple. Standardize all four variables, sum them up and whatever you get is the score which should rank-order. Do you see any problem with applying this approach. Is there any other (better) approach that you would recommend?  Thanks  Edit:  Thanks guys. A lot of discussion went into "domain expertise"... Agriculture stuff... Whereas I expected more stats-talk. In terms of technique that I will be using... It will probably be simple z-score summation + logistic regression as an experiment. Because vast majority of samples has poor quality 90% I'm going to combine 3 quality categories into one and basically have binary problem (somequality vs no-quality). I kill two birds with one stone. I increase my sample in terms of event rate and I make a use of experts by getting them to clasify my samples. Expert classified samples will then be used to fit log-reg model to maximize level of concordance / discordance with the experts.... How does that sound to you? Convergence of $A_nT$ to $AT$ in operator norm for compact $T$ $A_n:Y\rightarrow Z$ are operators that strongly converge to $A$. Also, $\|A_n\|_\text {op}\le c$ for $c&gt;0$. Given a compact operator $T:X\rightarrow Y$, I need to show that $A_nT$ converges to $AT$ in operator norm (all spaces in this question are Banach spaces).     I was unable to prove this and I also do not understand why we need to assume that $T$ is compact. Any ideas? I want to dynamically create a sequence of strings by manipulate an array of elements and create some arithmetic procedure.  for name in FIRST SECOND THIRD FOURTH FIFTH; do     $name = $(( $6 + 1 ))     $name = "${$name}q;d"     echo "${$name}"; printf "\n" done   The desire outcome would be the below for $6 equals 0.  1q;d 2q;d 3q;d 4q;d 5q;d   But I get this error  reel_first_part.sh: line 18: FIRST: command not found reel_first_part.sh: line 19: ${$name}q;d: bad substitution reel_first_part.sh: line 18: FIRST: command not found reel_first_part.sh: line 19: ${$name}q;d: bad substitution reel_first_part.sh: line 18: FIRST: command not found reel_first_part.sh: line 19: ${$name}q;d: bad substitution   I guess it's something simple. It used to work when I did something like   FIRST=$(( $6 + 1 )) FIRST="${FIRST}q;d" Does the Symmetric difference operator define a group on the powerset of a set? $G$ is the set of all subsets of a set $A$, under the operation of $\triangle\;$: Symmetric Difference of sets.  $A$ has at least two different elements.  I need to check if this is a group, and if it does to show if the group is abelian and/or finite.  Associativity - easy from Symmetric Difference. Identity element - empty group. Inverse element - each element is inverse to itself. Am I right?  abelian? finite? What causes the 'Connection Refused' message? This is a  about Connection Refused    We see a lot of questions to the effect      When I try to connect to a system I get a message      Connection refused      Why is this ? How to change the date format? What do you call a group of people that move a lot? I can't think of the word to describe it. Something similar to "wanderer" or "roamer".   It's often used to describe people that don't stay in one place... not "migratory"... Does a bad grade in one course (with otherwise OK record) affect graduate admissions?