Command \frac works in strange way:    Any suggestions?  \documentclass{report} \usepackage{polski} \usepackage[cp1250]{inputenc} \usepackage{graphicx}  \begin{document} \setcounter{secnumdepth}{3} \setlength{\textheight}{24.4cm} \setlength{\parindent}{0mm}  \frac{1}{2}  \end{document}
I want to write as a math fraction 1/4 " ( a quarter of inch). I want to write this fraction out of an equation because is a characteristic of an element.
How to capture Control+D signal? Why “which” returns none on some commands I can run? Aborting a shell script if any command returns a non-zero value Crash course on algebraic geometry with view to applications in physics Could you please recommend any good texts on algebraic geometry (just over the complex numbers rather than arbitrary fields) and on complex geometry including Kahler manifolds that could serve as an informal introduction to the subject for a theoretical physicist (having in mind the applications in physics, e.g. in the string theory)?   What I want for a moment is to get some informal picture of the subject rather than being dug up into the gory details of the proofs and lost in higher and higher layers of abstraction of commutative algebra and category theory. The texts I have found so far are all rather dry and almost completely lack this informal streak, and all of them are geared towards pure mathematicians, so if there exists something like "Algebraic geometry for physicists" and "Kahler manifolds for physicists" (of course, they would probably have different titles :)), I would greatly appreciate the relevant references. "implements Runnable" vs "extends Thread" in Java From what time I've spent with threads in Java, I've found these two ways to write threads:  With implements Runnable:  public class MyRunnable implements Runnable {     public void run() {         //Code     } } //Started with a "new Thread(new MyRunnable()).start()" call   Or, with extends Thread:  public class MyThread extends Thread {     public MyThread() {         super("MyThread");     }     public void run() {         //Code     } } //Started with a "new MyThread().start()" call   Is there any significant difference in these two blocks of code ? How to setup Squid Proxy (for localhost services and Tor and I2P) If each suit is represented then we will have two cards from one suit and one card each from the remaining suits. So I am counting the ways this can happen like so -  ${52 \choose 1}$ ways of selecting the first card.  ${12 \choose 1}$ ways of selecting a card from the same suit as the first.  ${13 \choose 1}$ ways of selecting a card for each of the 3 remaining suits.  So I have -  $${52 \choose 1}{12 \choose 1}{13 \choose 1}{13 \choose 1}{13 \choose 1}$$  Then I have the sample space as $52 P 5$ as we are counting with regard to order on the numerator so we need to do the same for the denominator.  So I have $$\frac{{52 \choose 1}{12 \choose 1}{13 \choose 1}{13 \choose 1}{13 \choose 1}}{52P5}$$  Does that look correct? Antonym of "deepen" Since there is no word "shallowen", is there a good antonym of "deepen"? The meaning of "deepen" that I am referring to here is "to cause to become deeper." It doesn't necessarily refer to digging a hole. For example, a temporary deformation in a soft surface:     Putting the anvil on the mattress deepens the depression in it, but removing the anvil ______ it.   I would also be happy with an antonym of the intransitive version "to become deeper." Profile changes in Q&A are not pushed to Area 51 Setting a document in MS Word-12pt (12bp) Warning  If you're looking for advice how to make your document look like it's been written in Word, this is most likely not the question you're looking for. This question is mostly of theoretical nature, as it results in tiny differences, which will most likely not be noticed by someone who doesn't allow the use of LaTeX.  Questions that might be more helpful for this matter are:           Question  I learned that MS Word uses a slightly different version of the unit "point" (pt) than TeX does:     The 12 point of Word will be PostScript point, which in TeX would be called 12bp. A TeX pt is slightly smaller: it's 1/72.27 inch, while a bp/PostScript point is 1/72 inch. See also    ( in )  I'm writing a paper that would usually be expected to be "typeset" in MS Word, thus I want to use the same font size as Word would.  How do I set a document e.g. in the "12pt" font size that MS Word would use?  In case it matters, I'm using the article document class, Latin Modern (lmodern) as a font with the T1 font encoding and compile with pdfLaTeX, but input on different set-ups is more than welcome. Does Ubuntu follow the Linux Standard Base (LSB)? Toolbar options are not displaying in Edit Profile - About me section How to connect Nokia Lumia 730 to Ubuntu 15.04? My Nokia Lumia 730 (WP8.1) is not getting detected on Ubuntu 15.04.  Can anybody tell me how to fix this? Model won't follow its armature in pose mode I've set up a rig and built it around my model, and I've linked it to my model but when I rotate the bones in pose mode, the character doesn't move with them.   My rig is the human meta rig that comes with rigify. I've seen tons of videos of it working. Why isn't it working on mine?  My character was made by creating different body parts and joining them together into the same object, then a texture was added by unwrapping them in texture mode. How to get a file's Media Type (MIME type)? No hyper refs from citation to bibliography using BiBTeX, hyperref and harvard I have a directory which contains numbered image files, something like this:  01.png 02.png 03.png 03.svg 04.png 05.png 06.jpg 07.png 08.png 09.png 09.svg 10.png   Sometimes there may be multiple versions of a file in different formats (eg. a png and svg version of the 03 and 09 files above) but the numbers are otherwise consecutive.  Typically there are 40-80 such files in each directory.  The numbers correspond to the order these images appear in a manuscript (a Word document, but that's not important).  There is no other way to determine the order of the images.  If I add a new image to the manuscript I need to place a copy of the image in this directory with the correct numbering.  So if the new image is the fifth in the manuscript I need to rename the files in the directory to this in order to make room for it:  01.png 02.png 03.png 03.svg 04.png 06.png 07.jpg 08.png 09.png 10.png 10.svg 11.png   What is the most straightforward way from the command line, or from a script or macro to renumber all the files starting at a certain number?  I have a standard Fedora Linux install using bash. This is problem 31b) from Dummit and Foote chapter 14.2. I am looking for a hint on how to attack the problem, since I have been thinking about it for a couple of hours but I don't even know where to start. The problem says:  Let $K$ be a finite extension of $F$ of degree $n$. Let $\alpha$ be an element of $K$. Prove that the minimal polynomial for $\alpha$ over $F$ is the same as the minimal polynomial for the linear transformation $T_{\alpha}$. In this problem, $T_{\alpha}$ is an $F$-linear transformation of $K$ that arises from $\alpha$ acting by left multiplication on $K$.  I appreciate any helpful suggestions on how to start attacking the problem or any possible hint. Thanks! How can I have colored and underlined links with hyperref? I would like the internal hyperlinks generated by  to be colored and underlined.    Reading some of the package documentation, I know that these \hypersetup keys exist:   colorlinks: when true, color the link; when false, draw a border around the link and color that. linkcolor: the color of the link (requires colorlinks=true to have any effect) linkbordercolor: the color of the link border color (requires colorlinks=false to have any effect) pdfborderstyle: keys for the pdf borderstyle dictionary.  I don't know what keys and values exist for this dictionary, but I do know that pdfborderstyle={/S/U} or pdfborderstyle={/S/U/W 1} can change the link border from a box to an underline.   But it seems impossible with this key structure to have colored links (requiring colorlinks=true and colored borders (requiring colorlinks=false.)  Here is a minimal (non)-working example ():  \documentclass{article} \usepackage{xcolor} \usepackage{hyperref}  \hypersetup{colorlinks=false,linkbordercolor=red,linkcolor=green,pdfborderstyle={/S/U/W 1}}  \begin{document} \section{To See}\label{tosee} \vskip2cm \hyperref[tosee]{just to see} \end{document}   With colorlinks=false (the default), the text is black and the border is red.  With colorlinks=true the text is green and there is no border. Comma as decimal marker with siunitx (Spanish usage) I'm using siunitx to input some big numbers and units in my document.  Is there a way to make the output of \num{3.14} be "3,13" instead of "3.13"? In Spanish, we use the first one.