I have a problem with this table. I want to set the right column (whose is set by p{9cm}) to be left align, but if I replace it with l{9cm}, it will be error. How to solve it? Here is my code: \documentclass[a4paper,oneside,11pt]{book} \usepackage[hmargin={4cm,3cm},vmargin={4cm,3cm}]{geometry} \usepackage{tabularx} \usepackage{lipsum} \begin{document}     \chapter{Chapter's Name}     \begingroup     \setlength\extrarowheight{13pt}     \noindent\begin{tabular}{@{}lcp{9cm}}         Random Text&amp;:&amp;\uppercase{random text here. mmmmmmmmm nnnnnnnnnn bbbbbbbbb. vvvvvvvvvv ccccccccccccccccccccccc xx zzzzzzzzzzzzzzzzzzzzzzzzzzzz}\\         Random Text 2&amp;:&amp;\uppercase{random text here. mmmmmmmmm nnnnnnnnnn bbbbbbbbb. vvvvvvvvvv ccccccccccccccccccccccc xx zzzzzzzzzzzzzzzzzzzzzzzzzzzz}     \end{tabular}     \endgroup \end{document}  The output is:  I want to change the setting of the right column from p{9cm} to l{9cm} (left align), but if I do it, it will be error. What should I do to handle the long space between word (red line)?
I would like to create a table with some columns' width specified, while the text in those columns should be centered both horizontally and vertically. I found out that  \usepackage{array} \begin{tabular}{| c | c | m{5cm} |}   vertically centers the text in the last column, but justifies it horizontally (like text in normal paragraphs).  Update: With Jake's method, it seems both \\ and \hline cause an error. How to fix it?
Uniform vs discrete Gaussian sampling in Ring learning with errors The Wikipedia article on  mentions two methods of sampling "small" polynomials namely uniform sampling and discrete Gaussian sampling. Uniform sampling is clearly the simplest, involving simply uniformly selecting the coefficients from the set of small coefficients, thereby guaranteeing they will be small. However, the articles mention that security proofs rely on discrete Gaussian sampling.  However, I have a bit of difficulty wrapping my head around    Why discrete Gaussian sampling would be better than uniform, security-wise?   I mean, usually uniform is preferable - it maximizes the entropy/information in each sample, making the outcome more unpredictable. I could understand it if the Gaussian sampling technique would somehow serve to avoid (at least with high probability) "weak" parts of the space of outcomes but I have found no information/justification that this is the case.  Another reason I can see why discrete Gaussian might be better is that there is, after all, a chance (albeit a small one) one would select a non-small coefficient, so the space of outcomes is actually larger. However, given that this probability of hitting this extra space is (by design) quite small but also that one would likely immediately reject such a sample (because the algorithm calls for a small polynomial), this seems to be irrelevant.  It is not because I am against discrete Gaussian sampling I just want to understand why it is more secure. Also, I want to understand if it really IS more secure or it is simply easier to prove security in that model. I would actually consider that very interesting if it is the case because it raises the question of why is it easier to prove the security under conditions that are intuitively worse (i.e. discrete Gaussian vs the intuitively better uniform case)? If it is so intuitively clear that uniform sampling is better, surely it must be possible to transform that intuition into a security proof of RWE also under uniform sampling. Otherwise, I would fear the intuition must with high likelihood be wrong or at least dubious. Value passed with request.setAttribute() is not available by request.getParameter() How do you use a variable in a regular expression? I would like to create a String.replaceAll() method in JavaScript and I'm thinking that using a regex would be most terse way to do it.  However, I can't figure out how to pass a variable in to a regex.  I can do this already which will replace all the instances of "B" with "A".  "ABABAB".replace(/B/g, "A");   But I want to do something like this:  String.prototype.replaceAll = function(replaceThis, withThis) {     this.replace(/replaceThis/g, withThis); };   But obviously this will only replace the text "replaceThis"...so how do I pass this variable in to my regex string? Proof of the equality $\sum\limits_{k=1}^{\infty} \frac{k^2}{2^k} = 6$ If $r,s,t$ are prime numbers and $p,q$ positive integers s.t. $\text{lcm}(p,q)$ is $r^2s^4t^2$, then the number of ordered pairs $(p,q)$ is? If $r,s,t$ are prime numbers and $p,q$ are the positive integers such that LCM of $p,q$ is $r^2s^4t^2$, then the number of ordered pairs $(p,q)$ is?  My attempt to the solution:  Let $r^a s^b t^c$ be the LCM where $a=2,b=4,c=2$  Then the cases that arise are  I case   1) $p$ has $r^as^bt^c$ then there are a total of $(2+1)(4+1)(2+1)$ options  II case   1) $p$ has $r^as^b$ or $s^bt^c$,$r^at^c$ then there are total of $(2+1)(4+1)(2+1)(3)$ options.  The answers comes out to be $45*4$ but the answer is $45*5$. Which case am I missing? Touchpad not recognized on Asus N550JK - TP500L (FocalTech) I'm installing a new laptop and the touchpad is not fully recognized. Specifically, two finger scrolling does not work.  extract from /proc/bus/input/devices  I: Bus=0011 Vendor=0002 Product=0001 Version=0000 N: Name="PS/2 FocalTech FocalTech Touchpad in mouse emulation mode" P: Phys=isa0060/serio1/input0 S: Sysfs=/devices/platform/i8042/serio1/input/input5 U: Uniq= H: Handlers=mouse0 event4 B: PROP=1 B: EV=7 B: KEY=30000 0 0 0 0 B: REL=3   Also, xinput list gives me:  ⎡ Virtual core pointer  id=2    [master pointer  (3)] ⎜   ↳ Virtual core XTEST pointer id=4   [slave  pointer  (2)] ⎜   ↳ ELAN Touchscreen id=10    [slave  pointer  (2)] ⎜   ↳ PS/2 FocalTech FocalTech Touchpad in mouse emulation mode id=14   [slave pointer  (2)] ⎣ Virtual core keyboard                     id=3    [master keyboard (2)]     ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]     ↳ Power Button                              id=6    [slave  keyboard (3)]     ↳ Video Bus                                 id=7    [slave  keyboard (3)]     ↳ Video Bus                                 id=8    [slave  keyboard (3)]     ↳ Sleep Button                              id=9    [slave  keyboard (3)]     ↳ USB2.0 HD UVC WebCam                      id=11   [slave  keyboard (3)]     ↳ Asus WMI hotkeys                          id=12   [slave  keyboard (3)]     ↳ AT Translated Set 2 keyboard              id=13   [slave  keyboard (3)]   And finally, synclient tells me there is no synaptics driver active:     Couldn't find synaptics properties. No synaptics driver loaded?   So, it seems the touchpad is not recognized as a synaptics touchpad. It works, but not the synaptics specific parts.  It's in mouse emulation mode (no idea what it means). And it works together with other pointing devices, especially the touchscreen (I can confirm this works).  I have tried adding i8042.nomux=1 to the kernel parameters, but it didn't change anything... Any hint ? I am looking for help to point me out at a very old novel (likely from the '60s) about two empires at interstellar war. When it comes to starships, one is technologically very advanced, and the other has very low and inefficient technology.  The highly advanced empire has apparently strong chances to win the war, in particular considering a new technology they were developing. I remember the technology to work like this: consider the space as a flat surface, and on this surface, a disk around the spaceship. When the technology was turned on, this disk was stretched out, as made of rubber, so that it produced a cone, with the tip being the spaceship. The spaceship was therefore teleported 10 parsec away (if I remember correctly), but retained all the connections to the original position. If the spaceship moved, the cone moved as well. This allowed to move in position among enemy ships completely unnoticed, by stretching while afar, then moving in the proper position 10 parsecs away, then destretching.  Despite this technology, the empire lost the war because of delays. It's a perfect example of how having a disruptive technology does not guarantee to win against the competitors.  I am trying to find out the author and name of this novel, hopefully with the date of publication and in which journal/magazine. Can I travel to the UK unaccompanied on an accompanied child visa now that I am over 18? How to handle repeated references in footnotes? I could install with an error message "unknown media /ALL". It could not run WPS Office. How to get the pid of the last executed command in shell script? I want to have a shell script like this:  my-app &amp; echo $my-app-pid   But I do not know how the get the pid of the just executed command.  I know I can just use the jobs -p my-app command to grep the pid. But if I want to execute the shell multiple times, this method will not work. Because the jobspec is ambiguous. Is it adviseable to stack internal hard disk over each other (after removing them from the casing) Would it damage or cause any interference to the non-operational (whereby electricity or power is removed or disconnected from the hard disk and it will be store inside a cupboard or container either made of plastic or metal) hard disks (IDE, SATA)? How did the word "Bollywood" originate? As we know, American film industry is referred as Hollywood. The American film industry is called so because the film industry emerged at the place called (Correct me if I am wrong). The place adopted the name Hollywood which is informally known as Tinseltown.  But my question is not about Hollywood but the . This is widely referred as Bollywood.   From the  page of Bollywood:      Bollywood is the sobriquet for India's Hindi language film industry, based in the city of Mumbai, Maharashtra. It is more formally referred to as Hindi cinema. The term "Bollywood" is often used by non-Indians as a synecdoche to refer to the whole of Indian cinema; however, Bollywood proper is only a part of the larger Indian film industry, which includes other production centres producing films in many other Indian languages. There is no place in India called Bollywood like the Hollywood.    Many people prefer calling it as Hindi film industry and against naming film industries with wood. There are other film industries in India too in other languages. Eg: Telugu film industry is named as Tollywood, Tamil industry is named Kollywood etc.,   is the list of Hollywood inspired nicknames.  My question:   Who is the creator of the word Bollywood? Since when did the word become popular? Does a size large or larger creature killed by Negative Energy Flood rise as a medium sized zombie? How do I do a search in File Explorer that includes subfolders of zip archives? In File Explorer, I can enter search terms in the upper-right search box to search the current folder and all subfolders. I can also navigate the folder tree of zip archives like any other folders. However, if I want my searches to include files in a zip archive I have to navigate to the specific folder in the zip archive where the file is located. My searches never include files in zip archives if I'm not in the archive, and when I am in the archive my searches don't include files within the archive's subfolders.  Is there a way for my searches to include zip archive subfolders? How do I uninstall the command line tools for Xcode? We have a bunch of Mac at work that no longer require Xcode or command line tools so we'd like to remove them so the compilers aren't hanging around and we don't have to keep updating them when updates arrive. , but now that Xcode is an app store app you are left with the tools if you ever install them. Can we clean this other than wiping the OS for macs running 10.10 and newer? $ \lim_{n \to \infty} \left(\frac 1{n^2+1}+\frac 2{n^2+2}+\frac 3{n^2+3}+\cdots +\frac n{n^2+n}\right)$ Partitions of $n$ into distinct odd and even parts proof How can I close a terminal without killing its children (without running `screen` first)? What is the intuition behind the unit normal vector being the derivative of the unit tangent vector? I've seen the math, but... It just doesn't make sense to me. How is the slope going to point perpendicular to the vector that is clearly a straight line not going in that direction?