I want to configure the A4 paper size in latex to the standard size, i.e. 8.27 x 11.69 in. Right now my generated pdf has size of 8.50 x 11.00 in   How do I get the right size so that I can print it out without dimensions being corrupted. I generate the pdf file by using LATEX->PDF option. My preamble setting is as follows:    \documentclass[11pt]{report} \usepackage[top=2.5cm, bottom=2.5cm, left=2.75cm, right=2.75cm]{geometry}
I noticed that the paper size invoked by a4paper is not working right in my examples:  \documentclass[a4paper,11pt,oneside]{article} \begin{document} Test \end{document}   I checked with Preview.app and it tells me the paper size is 21.59 cm × 27.94 cm. A4 should be 21.0 cm × 29.7 cm.  When I use \usepackage[a4paper]{geometry} I notice a different size of the paper (it gets narrower) and Preview.app says: 21.01 cm × 29.71 cm, which seems right. I can reproduce this exact behavior with every class: article, book etc., scrartcl, scrreprt, etc., g-brief2 except memoir which gives me 21.01 cm x 29.71 cm    Is there something wrong or am I missing something?
How can I make iconv replace the input file with the converted output? So I was playing around on Area 51 hoping for further news on the private beta for ebooks, and noticed that my avatar (a hand) was missing. Also the Area 51 has the old toolbar. So I looked at the flair page. The network flair has my hand, the Area 51 flair has a quilt. OK, so time to upload a new image, and WordPress -- WordPress -- I don't want to login to WordPress. Any idea what's up with that?  The following questions did not help, and have different causes and symptoms: Does an Action Surge grant a second bonus action? We were trying to understand how the "Action Surge" rule works, and after some discussion we came to a standstill.      Starting at 2nd level, you can push yourself beyond your normal limits for a moment. On your turn, you can take one additional action on top of your regular action and a possible bonus action   The keyword "possible" is what threw us off. Half the group thought it meant "additional action or bonus action", and the other half thought it was "additional action and bonus action".  So which is it? I'd like to see the full How-To on how to use manual partitioning during Ubuntu installation. The existing guides (at least those I found here) cover only automatic part and leave untouched the manual part (or extremely short and contain no pictures).  I'd like to cover such situations:     If your disk contains other systems: Accidently deleted /usr/lib, how do I restore it? Cancel/kill window.setTimeout() before it happens I have a few places where I use the line below to clear out a status, for example.  I have a few of these that hang out for 10 seconds or more and if the user gets clicking around the action can occur at incorrect time intervals.  window.setTimeout(function() { removeStatusIndicator(); }, statusTimeout);   Is it possible to cancel or kill this with some jQuery or JavaScript code, so I don't have this process hanging around? How can I save my hardcore map after I die? My brother jumped into the voice of the doom in my Hardcore Creative map. I didn't press the ΄΄Delete This World΄΄ button yet. how can I add the charge and the counter ions to my complex? I'm using chemfig.  \schemestart \chemname{\chemleft[\chemfig{Ni (&lt;:[1]OH_2) (-[2]OH_2) (&lt;:[3]OH_2) (&lt;[5]OH_2) (-[6]OH_2) (&lt;[7]OH_2) }\chemright]}{\ce{[Ni(OH2)6]Cl2}} \schemestop     Thanks! Cannot get 2 raster files of same cell size to align ArcMap 10.2 every planar graph can be expressed as a union of five edge-disjoint forests How can I prove that every planar graph can be expressed as a union of (maximum) five edge-disjoint forests?  Only thing I can think about is going somehow like the $5$ color theorem but I get stuck in the middle. Or with induction, but still something doesn't fit. Can you help? Markdown + Mathjax => PDF I've used LaTeX a lot in the past, but now, when comparing with StackExchange's great , I find it tedious, for short documents (&lt; 2 pages), to have to use pure LaTeX. For a short document, instead of having 30 lines as introduction: \begin{document} \documentclass[11pt,a4paper]{article} \usepackage[frenchb]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amsfonts}  + &lt;lots of other things&gt; ...  I'd like to write my short document with MarkDown + Math, like on . Question: Is there an offline compiler such that compilemarkdown exercice.tex  would produce a PDF from this: #Title  Here is a *short document* including Markdown and Math, here is the equation:  $$f(x)=x^2$$  ___  Proof: ...   This is **bold**. Negative probabilities in quantum physics I am supposed to integrate $f(z)=$$\frac{5}{z}$ from -3 t0 3 but I am having trouble understanding how to do this. I've done the integration the "hard" way by using parametrizations but now I need to use the fact that $f(z)$ is analytic everywhere except at $z=0$ and a different method to perform the integration but I am stumped. I recently upgraded to Ubuntu 13.10, with the new keyboard handling system. The little "switch keyboard" option does not let me set it to Alt+Shift. How can I get this keyboard binding, as I have absolutely no interest in using the Mac-esque Super+Space combo? Logarithmic y-axis and restrict y to domain fails I'm trying to plot data with a logarithmic y-axis and restricting the y-data to a specified domain, but compilation fails for a reason I don't understand. This is the code:  \documentclass{standalone} \usepackage{pgfplots} \begin{document}% \begin{tikzpicture} \begin{axis}[ymode=log, restrict y to domain=1:6] \addplot coordinates {(0, 1.1e1) (1, 1.7e3) (2, 0.0e0) (2, 3.4e7) (4, 8.1e5)}; \end{axis} \end{tikzpicture} \end{document}   Running it results in an error message:  ! Missing number, treated as zero. &lt;to be read again&gt;                     i l.6 ..., 1.7e3) (2, 0.0e0) (2, 3.4e7) (4, 8.1e5)};   According to the pgfplots manual for version 1.5.1 (29 December 2011), page 272 (about restrict x/y/z to domain), For logarithmic axes, min and max are logs of the respective values. If I disable either the logarithmic y-axis or the domain-restriction, the code runs successfully and output is as expected (but not as desired).  Software versions:   pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) (format=pdflatex 2012.5.30) pgfplots 2011/12/29 v1.5.1 (git show 1.5.1-4-g53e640f )  tikz 2010/10/13 v2.10 (rcs-revision 1.76).   What's going on? What am I doing wrong? Or is this a bug? I was just wondering whether or not there have been mistakes in mathematics. Not a conjecture that ended up being false, but a theorem which had a proof that was accepted for a nontrivial amount of time before someone found a hole in the argument. Does this happen anymore now that we have computers? I imagine not. But it seems totally possible that this could have happened back in the Enlightenment.   Feel free to interpret this how you wish! I currently only have remote access to this CentOS box, I need to move /var form the primary RAID to a new set of disks that was installed with more space, My current thoughts on how to accomplish this is to temporarily mount the new RAID to /tmp/var. rsync everything from /var to /temp/var then modify the fstab to point /var at the new disks.  Here is my question. how do I delete the existing /var on the primary disks once I have the new disks mounted to that location (assuming this is even possible remotely)? What are the various units (ex, em, in, pt, bp, dd, pc) expressed in mm? How can one determine the length of the different units (measured 1ex, 1em, 1in, 1pt, 1bp, 1dd, 1pc) in mm? Possible Duplicate:          Is it correct to start a sentence with did.     Did my work.   instead of      I did my work.   while answering my emails? Event button as a module or as user program?