I'be been using the longtable environment to construct the outlined below (This is only part of the data. The whole data runs over 4 pages and is much wider). The problem that I'm having is that the data runs over the right margin and I get the following error:    Overfull \hbox (605.54675pt too wide) in alignment at lines 12--40.    I've been told that there is no command which automatically adjust the table to fit in the page. However, I would like to know if    there is a way to decrease the distance between each column and  Make the font size smaller in the table so that all the columns fit in the page.    I've read the other posts that are similar to this question however I'm new to LaTeX and I'm having a hard time finding a solution to this problem. Can anyone help? Thanks  Alex  \documentclass{article} \usepackage{graphicx,booktabs,rotating,adjustbox,geometry} \usepackage{longtable} \usepackage{ltablex} \geometry{  a4paper,  total={170mm,257mm},  left=20mm,  top=20mm,} \begin{document}  \begin{longtable}{lllllll}  \toprule[1pt] &amp; \multicolumn{4}{r}{Spectral Index} \\     \cmidrule(l{1pt}){4-5} \emph{MGI Symbols} &amp; \emph{Protein Name} &amp; \emph{UniProt Acc} &amp; \emph{AveKI} &amp; \emph{AveWT} &amp; \emph{KI/WT Ratio} &amp; \emph{Cluster}\vspace{5mm} \\\midrule  Title/Title\vspace{5mm}\\  $Amph$ &amp; Amphiphysin &amp; Q7TQF7 &amp; 1.42E-06 &amp; 0.00E+00 &amp; KI Only &amp; X6\\ $Bin1$ &amp; Myc Box-Dependent-Interacting Protein 1 &amp; O08539 &amp; 1.20E-06 &amp; 0.00E+00 &amp; KI Only &amp; X6\\ $Cltc$ &amp; Clathrin Heavy Chain 1 &amp; Q68FD5 &amp; 5.88E-07 &amp; 6.00E-08 &amp; 9.80 &amp; X6\\ $Dnm1$ &amp; Dynamin-1 &amp; P39053 &amp; 1.97E-06 &amp; 3.41E-08 &amp; 57.76 &amp; X6\\ $Nsf$ &amp; Vesicle Fusing ATPase &amp; P46460 &amp; 3.43E-07 &amp; 0.00E+00 &amp; KI Only &amp; X6\\ $Snap25$ &amp; Synaptosomal-Associated Protein 25 &amp; P60879 &amp; 8.90E-06 &amp; 3.27E-06 &amp; 2.72 &amp; B\\ $Stxbp1$ &amp; Isoform 2 Of Syntaxin-Binding Protein 1 &amp; O08599 &amp; 1.22E-06 &amp; 0.00E+00 &amp; KI Only &amp; X6\\ $Syt1$ &amp; Synaptotagmin 1 &amp; P21579 &amp; 1.02E-05 &amp; 4.81E-06 &amp; 2.13 &amp; B\vspace{5mm}\\  \vspace{5mm}\\\bottomrule  \hline  \end{longtable}  \end{document}
I'm trying to make a longtable that is wider than the textwidth at a certain moment. I've tried different things always ending up with a different problem:  First possibility: If I use the adjustwidth environment the longtabu does not align correctly. The left margin stays fixed and the right margin gets out of the page. This in contrast, if I do the exact same thing to make a tabu (instead of longtabu), it works perfectly. I think using the adjustwidth is the best way to go, but I can't manage to get it working.  Second possibility: I've found a solution using the fullwidth package. That package does the trick on small longtables, but freezes when I'm trying to do it on my big longtable. The command \setlength\LTleft{-2cm} didn't work as well.  The final option I tried was to use geometry. But that changes the margin of the whole page thus making a page break which I'm not interested in. The code I used for this was  \newgeometry{left=1.2cm} \begin{longtable} long table stuff \end{longtable} \restoregeometry   Here's an example of what I want contra what I get  \documentclass[a4paper]{article} \usepackage{longtable} \usepackage{chngpage} \usepackage{lipsum} \usepackage{tabu}  \begin{document} \section{This is the original textwidth.} \lipsum[1]  \section{This is the width I need for my longtabu} \begin{adjustwidth}{-1in}{-1in} \begin{tabu} to \linewidth {*{13}{|X[l]} |} 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ \end{tabu} \end{adjustwidth}  \section{This is what happens} \begin{adjustwidth}{-1in}{-1in} \begin{longtabu} to \linewidth {*{13}{|X[l]} |} 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ \end{longtabu} \end{adjustwidth}  \end{document}
How to create and design hoops net and attach ot to a hoop? Shortest sequence containing all permutations Given an integer $n$, define $s(n)$ to be the length of the shortest sequence $S = (a_1, \cdots a_{s(n)})$ such that every permutation of $\{1,\cdots,n\}$ is a subsequence of $S$.  If $n=1$, then $S = (1)$ is the shortest sequence containing all permutations of $\{1\}$, so s(1) = 1.  If $n=2$, then $S = (1, 2, 1)$ contains all permutations of $\{1,2\}$ as a subsequence, so $s(2)=3$.  Is there a general formula for $s(n)$? What is crop factor and how does it relate to focal length? I'm reading that a 50mm lens is recommended as a first prime lens for DSLR owners as it's supposed to give a 'natural' perspective, but when used on (most) DSLRs, the view is cropped, as if you were zoomed in by 1.5-1.6x, so it's more of a telephoto lens when used on a DSLR. I've also read however that the 50mm lens gives the same perspective on a DSLR and a 35mm, and shouldn't really be considered to be 'equivalent' to an 80mm lens as the crop factor isn't really a magic focal length changer.  Can someone explain how the image is different from (for example) a 50mm lens on a DSLR and an 80mm lens (assuming 1.6x crop factor) on a 35mm camera? In an exam paper, there was a picture of an air stewardess in the aeroplane serving passengers. One of my pupils wrote the following:      The air stewardess works on an aeroplane.    Shouldn't it be the air stewardess works in an aeroplane? What is the formula for percent of frame filled at a specific distance and focal length? Give moderators the option to select a deletion reason when removing posts If I have a Java source file (*.java) or a class file (*.class), how can I convert it to a .exe file?  I also need an installer for my program. Variance of Wilcoxon Rank-Sum Test (no ties) $\newcommand{\E}[1]{\mathbb{E}\left[#1\right]} \newcommand{\r}[1]{r\left(#1\right)} \newcommand{\P}[1]{\mathbb{P}\left(#1\right)} \newcommand{\Var}[1]{\text{Var}\left[#1\right]}$  Given two sets of data $X$ with $m$ points and $Y$ with $n$ points, unioned (keeping duplicates) to create a data set $Z = \{Z_i\}$ with $m + n = N$ data points, the Wilcoxon Rank-Sum Test Statistic is given by \begin{equation*} T = \sum\limits_{i=1}^{N}r(Z_i)\cdot \mathbb{I}(Z_i \in X)\text{,} \end{equation*} where $\mathbb{I}(Z_i \in X)$ is $1$ if $Z_i \in X$, $0$ otherwise. ($r(\cdot)$ denotes the rank of the data point.)  Suppose there are no ties. Then  \begin{align*} \E{T} = \sum\limits_{i=1}^{N}\r{Z_i}\cdot \E{\mathbb{I}(Z_i \in X)} &amp;= \sum\limits_{i=1}^{N}\r{Z_i}\cdot\P{Z_i \in X} \\ &amp;= \dfrac{m}{N}\sum\limits_{i=1}^{N}\r{Z_i} \\ &amp;= \dfrac{mN(N+1)}{2N} \\ &amp;= \dfrac{m(N+1)}{2}\text{.} \end{align*} This comes out to what it says in the book Nonparametric Statistical Inference, 5th ed., by Gibbons and Chakraborti.  Now for $\Var{T}$: \begin{align*} \Var{T} &amp;= \Var{\sum\limits_{i=1}^{N}\r{Z_i}\mathbb{I}(Z_i \in X)}\\ &amp;= \sum\limits_{i=1}^{N}\left[\r{Z_i}\right]^2\Var{\mathbb{I}(Z_i \in X)} \\ &amp;= \sum\limits_{i=1}^{N}\left[\r{Z_i}\right]^2\P{Z_i \in X}\left[1-\P{Z_i \in X}\right]\\ &amp;= \left(\dfrac{m}{N}\right)\left(1-\dfrac{m}{N}\right)\sum\limits_{i=1}^{N}\left[\r{Z_i}\right]^2 \\ &amp;= \left(\dfrac{m}{N}\right)\left(1-\dfrac{m}{N}\right)\left[\dfrac{N(N+1)(2N+1)}{6}\right] \\ &amp;= \left(\dfrac{m}{N}\right)\left(\dfrac{N-m}{N}\right)\left[\dfrac{N(N+1)(2N+1)}{6}\right] \\ &amp;= \left(\dfrac{m}{N}\right)\left(\dfrac{n}{N}\right)\left[\dfrac{N(N+1)(2N+1)}{6}\right] \\ &amp;= \dfrac{2N+1}{N}\left[\dfrac{mn(N+1)}{6}\right] \end{align*} The answer should be $\dfrac{mn(N+1)}{12}$. What did I do wrong? Why does the order of parameters matter for sp_trace_create? General misconception about $\sqrt x$ Capacity of pen drive shown is less than the actual I have a 8 GB pendrive. I used to write raw data into the pendrive (without creating filesystem) using the dd command.    Today, when I inserted the pen drive, the I am unable to write anything on to it.  When I open gparted it is showing the total space on the pen drive as 500 MB. I am unable to create a new partition table or a partition on the pen drive now.   Here is the fdisk -l output.   Disk /dev/sdb: 0 MB, 512000 bytes 255 heads, 63 sectors/track, 0 cylinders, total 1000 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00095df6   What's wrong with the pen drive? How can I recover the lost space?   Device Boot      Start         End      Blocks   Id  System   When I open gnome-disks, it shows the total space as 8 GB but when I try to create a new partition using it, it shows the following error:  Error creating partition on /dev/sdb: Command-line parted --align optimal --script "/dev/sdb" "mkpart primary ext2 1MiB 7969177599b"' exited with non-zero exit status 1: Error: The location 7969177599b is outside of the device /dev/sdb.  (udisks-error-quark, 0) $C^2 $embedded in holder space? I have a question on Holder space.Is the space $C^2(\mathbb{R}^n)$ embedded in $C^{1,\alpha}(\mathbb{R}^n)$? I think in the bounded domain case, this should be true. But what if in the case where the domain is not bounded? Thanks for any hint! Contribute to bounty? How can energy be useful when it is 'abstract'? I have a vector file containing thousands of points. Where points are within x distance from each other, I wish to delete one of the points and keep the other (either by snapping to one point, or simply erasing one of the two points)  However, in Whitebox the vector cleaning tool only works with polygons and lines.  Is there some other way I can do this with my shapefiles? Look and you shall find (a correlation) I have several hundred measurements. Now, I am considering utilizing some kind of software to correlate every measure with every measure. This means that there are thousands of correlations. Among these there should (statistically) be a high correlation, even if the data is completely random (each measure has only about 100 datapoints).  When I find a correlation, how do I include the information about how hard I looked for a correlation, into it?   I am not at a high level in statistics, so please bear with me. $X$ and $Y$ i.i.d., $X+Y$ and $X-Y$ independent, $\mathbb{E}(X)=0 $ and $\mathbb{E}(X^2)=1$. Show $X \sim N(0,1)$ $X$ and $Y$ are independent and identically distribued (i.i.d.), $X+Y$ and $X-Y$ are independent, $\mathbb{E}(X)=0$ and $\mathbb{E}(X^2)=1$. Show that $X\sim N(0,1)$.  We should use characteristic functions to prove this. Any ideas? Which process scheduler is my linux system using? I'm not quite sure if stackoverflow or serverfault is the forum to use for this question, but ill try here.  Is there some command I can use or a file I can check in order to find out which process scheduler I'm using on my Linux system? I am not looking for the I/O scheduler, but the process scheduler, and please, do not refer to guides or howtos for what a scheduler is, what I'm simply asking is if there is a command or file I can run/check to see this. I could check the doc for my kernel but again I'm just wondering if there is a command or file i can check.  I might have been a little redundant above but that's because the posts I've seen people seem to confuse process scheduler with the i/o scheduler, and they don't seem to answer the actual question, just provide links to what a scheduler is which is not what I'm after here, so apologies if the above comments sounded rude. Show that $\mathbb{Q}(\sqrt{2})$ is the smallest subfield of $\mathbb{C}$ that contains $\sqrt{2}$ This was an assertion made in our textbook but I have no idea how to show that either statement is true.  Also would like to show that that $\mathbb{Q}(\sqrt{2})$ is strictly larger than $\mathbb{Q}$, which was the second part of the assertion. Rotation and translation of a conic-section I tried to solve the following exercises, so I want to ask you if my answers are correct.     1) Given the coordinates system $(O'; X'' Y'')$ asociated to the    basis $B=[{b_1=\frac{1}{\sqrt{2}}; \frac{1}{\sqrt{2}};  &gt; b_2=\frac{-1}{\sqrt{2}}; \frac{1}{\sqrt{2}}}]$ with origin in    $O'=(2;5)$ and the system $(O;XY)$ asociated to the standar basis, find the intersection between $Q: y''^2=-4 \sqrt{2} x''$    and the straight line in $(O,XY)$ $V=(0;5)+t(-1;1) t\epsilon R$    Well, first I tried to write $Q$ in terms of $X$ and $Y$, and not in terms of $X''$ and $Y''$. I used the formula:  $(\begin{matrix}  X''\\  Y'' \\  \end{matrix})$ =$(C)_B$ × $(\begin{matrix}  X-2\\  Y-5 \\  \end{matrix})$   Then I replaced those values in the equation of $Q$ and I got $Q: \frac{(-x+y-3)^2}{2}=-4 \sqrt{2} \frac{(x+y-7)}{\sqrt{2}}$   After that, I found the intersection between $Q$ and $V$ using equations and I got that the intersection points in $(O;XY)$ are $P_1(3;2)$ and $P_2(-1;6)$      2)Given the coordinates system $(O,X'Y')$ asociated to the basis    $B=[{b_1=\frac{1}{\sqrt{2}}; \frac{1}{\sqrt{2}};  &gt; b_2=\frac{-1}{\sqrt{2}}; \frac{1}{\sqrt{2}}}]$ with origin in    $O=(0;0)$ and the ellipse $9X'^2+5Y'^2-3X'+2Y'-10=0$ find the    coordinates of the centre of the ellipse in $(O,XY)$    So, here I found the centre of the ellipse in $(O,X'Y')$ and it was $(\frac{1}{6}; - \frac{1}{5})$, then, doing something similar to what I've done before I found out that the centre in $(O,XY)$ was $( \frac{11}{30 \sqrt{2}};$ $\frac{-1}{30 \sqrt{2}}$)