ClassicThesis to B5paper I'm using ClassicThesis v.4.1. for my Thesis. The thesis should be published in B5 size.  How do I adapt classicthesis (A4) to B5?  I have tried  \usepackage[a4paper,layout=b5paper,twoside,layouthoffset=17mm,layoutvoffset=23.5mm, showcrop]{geometry}   It gives me A4 paper with cropmargins for B5 paper. When cropped, margins are marginal and the footer and header are cropped out.   What I really would like it to be is to have B5paper with reasonable font size and reasonable margins.
How to adapt classicthesis layout to B5paper and Linux Libertine Question says it all: I am using classicthesis with XeTeX to typeset my PhD thesis. I want to use B5 paper size (176 × 250 mm) and the beautiful Linux Libertine font. I'm wondering how to    calculate the optimal page margins actually apply these settings to the document   Any help is greatly appreciated =)  EDIT: I should add that I need to generate two different PDF files from this:   a version with papersize A4 (210 × 297 mm), where the B5 layout is (approximately) centered, and crop marks are shown, to pass on to the printing company a version with papersize B5 for online distribution, having the same layout as the printed one.   I tried fiddling with using  and \areaset command, but to no avail.
Text highlighting in revisions is wrong For example, when watching revision 2 in  in the side-by-side mode, word "answer" marked as deleted on the left hand side and as added again on the right hand side:        If we switch to the side-by-side markdown mode no "answer" word is highlighted at all (correctly): Test -n gives unexpected result I understand test -n &lt;expression&gt; to return false if the expression evaluates to a string length of greater than 0.  Why then does the following happen?  Macbook:~ echo ${#undeclared_variable} 0 Macbook:~ test -n $undeclared_variable &amp;&amp; echo Foo Foo   Bash 4.x  My expectation is that since test -n $undeclared_variable should evaluate false, that Foo should not be echoed.  If I use [[  ]] instead of test, it works as expected. Two Clash of Clans accounts on one device I have been playing on two clash of clans accounts on one device for a long time but just recently i cannot switch from my lvl17 to my lvl75. The switch villages option is not popping up for me and I don't know why. Can anyone help me get my main account back? LaTeX code sniffer and/or beautifier? I'm looking for a LaTeX code sniffer and/or code beautifier, because I'm creating a CI server for my LaTeX books and I wanted a few things. :D MySQL string replace Windows License stored in UEFI/BIOS Since Windows 10 (or earlier?). It has become standard to store the license product key in the UEFI/BIOS.  I am in the market for buying a new (custom build, individual parts) PC with a new Windows 10 License.  However I was wondering (and can't find clear information on this subject). What the differences between the licenses are when it comes to OEM and Retail.  If in the far future I were to sell this PC:   Would the license (whether OEM or Retail), be stored in the UEFI/BIOS, where it could be used by the new owner? If so, can I remove the license key from the UEFI/BIOS?   I want to know this because I don't want to buy Windows 10 every single time I buy a new PC (since no new versions of Windows will be created, only updates). byte[] to hex string How do I convert a byte[] to a string? Every time I attempt it, I get      System.Byte[]    instead of the value.  Also, how do I get the value in Hex instead of a decimal? What is an "index out of range" exception, and how do I fix it? apt-get install with '-' (minus / hyphen) removes packages I was looking for some package (nautilus-terminal), and accidentally did this:  $ sudo apt-get install nautilus- Reading package lists... Done                                                                                                                                                                                                  Building dependency tree                                                                                                                                                                                                       Reading state information... Done                                                                                                                                                                                              The following packages were automatically installed and are no longer required:                                                                                                                                                  apturl apturl-common libgail-3-0 linux-headers-4.4.0-57 linux-headers-4.4.0-57-generic linux-image-4.4.0-57-generic linux-image-extra-4.4.0-57-generic                                                                       Use 'sudo apt autoremove' to remove them.                                                                                                                                                                                      The following packages will be REMOVED:                                                                                                                                                                                          gnome-session-flashback nautilus nautilus-sendto nautilus-share ubuntu-desktop                                                                                                                                               0 upgraded, 0 newly installed, 5 to remove and 69 not upgraded.                                                                                                                                                                After this operation, 2 031 kB disk space will be freed.                                                                                                                                                                       Do you want to continue? [Y/n] ^[[^C                                                                                                                                                                                             That's quite dangerous because remove is much harder to mistype than a simple dash from a failed autocompletion.     Is that an equivalent of apt-get remove? I couldn't find any documentation for that. Edit: except for overlooking the man page... ${a^2}{\mid}({b^3} + 1)\;$and$\;{b^2}{\mid}({a^3} + 1)$ JavaScript editor within Eclipse Suppose $X$ and $Y$ are independent positive random variables with probability density functions $f_X$ and $f_Y$ respectively. Show that $Z=X/Y$ is absolutely continuous and find its probability density function.   $\textbf{My Thought:}$ In order to show that $Z$ is absolutely continuous, I need to show that it has a commulative distribution function. Then I can also differentiate the latter to obtain the probability density function of $Z$. I have the following calculation \begin{align*} P(X/Y\leq z)&amp;=P(X\ge zY,Y&lt;0)+P(X\le zY,Y&gt;0)\\ &amp;=\int_{-\infty}^{0}\left(\int_{yz}^{\infty}f_{X}(x)dx\right)f_{Y}(y)dy+\int_{0}^{\infty}\left(\int_{-\infty}^{yz}f_{X}(x)dx\right)f_{Y}(y)dy\\ &amp;=\int_{0}^{\infty}\left(\int_{0}^{yz}f_{X}(x)dx\right)f_{Y}(y)dy. \end{align*} Also, if $z&lt;0$, then we have that $F_Z(z)=0,$ since $X,Y$ are positive random variables. Therefore the random variable $Z$ is continuous, and we can differentiate it to obtain the probability distribution function of $Z$. We have that $f_Z(z)=0$ if $z\leq 0,$ and otherwise we have $$f_Z(z)=\int_{0}^{\infty}yf_{X}(yz)f_Y(y)dy.$$    Is my reasoning above correct?  Any feedback is much appreciated.  Thank you for your time. Around 3 months ago, I submitted a paper to a Math journal for peer-review through an online submission system. The same day I received in my e-mail an acknowledgement saying that the paper had been received.  The problem is that the status of the paper on the online submission system is still "Manuscript submitted".  I think this means that the paper has not even been assigned to an editor yet (once this happens, the editor will probably start looking for reviewers), but as far as I know submissions are assigned to editors within a few weeks (I once submitted a paper to another journal and when an editor had been assigned, the status on the online system changed to "Editor handles" or something like that).  I know that publishing is a long and complicated process and I'm not trying to rush anybody, but sometimes manuscripts are lost in the system. In fact, this has once happened to me, so I just want to make sure that the paper was not lost in the system.  Should I send an e-mail asking for the status of the paper?  PS: I think that, at the time of submitting the paper, I didn't choose any specific editor to submit the paper to. Number of surjective functions from A to B How to change this matrix with respect to standard basis? Given the basis $\beta = \{ (1, 1, 0),\ (1, 0, -1),\ (2, 1, 0)\}$ and the matrix:  $$ A =         \begin{bmatrix}         1 &amp; 1 &amp; 0 \\         1 &amp; 1 &amp; 0 \\         0 &amp; 0 &amp; 1 \\         \end{bmatrix} $$  with respect to  $\beta$.  How to change this matrix with respect to standard basis? Under what condition we can interchange order of a limit and a summation? Why is a person's location exclusively tied to their communicator? In Star Trek it is frequently seen that when a crew member wants to avoid being tracked, they'll leave their communicator somewhere (quarters, corridor etc) which throws the computer and ship's security off their trail.  However, the entire interior of the ship is under constant surveillance by the internal sensors. Barring damage to the ship or sensors, or some space phenomenon causing radiation X to create interference, why aren't these internal sensors able to continue tracking every person on board regardless of where their comm-badge is? In the worst case, they should be able deduce who the errant individual is by simple subtraction: "I can see where all the other comm-badges are, so subtract them and the remaining life form must be the person I am looking for." But this never seems to be done either.  Is Star Fleet security really so inept or is there some other limitation in play that is never mentioned? Solving a Diophantine equation with a large solution Rerouting stdin and stdout from C Ubuntu 18.04 No WiFi adapter found [Dell Inspiron 3542.]