I would like to denote the volume of a lattice as vol $L$ and the determinant similarly as det $L$, so that the words "vol" and "det" are in the normal/regular text format but the L is in mathmode.  However, when I need to write it that way in an equation, it takes longer to type and I make more errors.    I want to write a new command so that I can type it all in mathmode similar to:  $\vol L = ...$ and $\det L= ...$.    QUESTION 1:  Since \det is already a command, I cannot overwrite it.   What kind of font does it form when using $\det\ M$ versus det $M$?  This is what I came up with for the Volume:  \documentclass[english]{article} \newcommand{\vol}{\text{vol }} \begin{document} $\vol L = \sqrt{\left|\det(G\cdot G^{T})\right|}$ \end{document}   QUESTION 2:  Does it look okay if I use my new command $\vol L$ and \det\ L together in the paper or should I use $\vol L$ along with with det $M$?
Mathematical operators, such as function names, should be set in roman type, not italics. Latex already has commands for some operators, including \max, \min, and \log.  How can I define additional such commands?
Getting Script Error has occurred in script on this page when running polygon to raster conversion? i keep getting the script error problem every time i try using polygon to raster tool in ArcGIS 10.1. Please help me how I can solve this?  screenshot embedded Is it possible to install Windows 7 alongside Ubuntu and windows 10 dualboot? I installed windows 10 on my laptop in UEFI mode with HDD GPT disk format, then I installed Ubuntu 16.04LTS on another partition. So I have Ubuntu dualboot with Windows 10 now.  I also installed rEFInd (it's like GUI for you to choose between different OSs) because I don't wanna use Grub2 as the default bootloader. Now I want to have Windows 7 too, but when I boot from the USB stick, an error screen showed up saying something like  the windows boot manager is having problems due to a recent hardware change   My system is still working fine so I don't know if the problem came from my system or if the setup I want is impossible. How can I find color codes on Mac? I used to find color codes which I want to use for texts or background colors on htmls with color edit tool of MS paint which pre-installed on Windows. But now I use Mac instead of Windows. How can I find color codes with Mac? Is an software like MS paint pre-installed on Mac? Let consider the power series $$ \sum_{k=1}^\infty a_kx^k. $$ We know that it converges when  $$\lim_{n\to \infty }\sqrt[n]{|a_n|}|x|&lt; 1\quad\text{or}\quad |x|&lt; \frac{1}{\lim_{n\to \infty }\sqrt[n]{|a_n|}}$$  But D'Alembert test tells us that it converges if $$|x|&lt; \frac{1}{\lim_{n\to \infty }\left|\frac{a_{n+1}}{a_n}\right|},$$ so since the radius of convergence is unique, we should have that $$\lim_{n\to \infty }\sqrt[n]{|a_n|}=\lim_{n\to \infty }\left|\frac{a_{n+1}}{a_n}\right|.$$  I tried to prove it, but this result looks strange to me. So if it doesn't work always, how can we have those to limit as radius of convergence? I guess the equality of those two limit should be true most of the time.  So under what conditions is it true? What's the difference between the apt packages: 'cinnamon' and 'cinnamon-desktop-environment'? I have a fresh Ubuntu install and want to install Cinnamon as the desktop environment. When I do apt search cinnamon, I get multiple results, but two seems like they are the correct one.   The first is just   cinnamon/xenial 2.8.6-1ubuntu1 amd64 all     Innovative and comfortable desktop (Common data files)   while the other is   cinnamon-desktop-environment/xenial,xenial 2.8.0 all     Cinnamon desktop environment - full desktop with extra components   What's the difference between the two? What does the cinnamon-desktop-environment package contain that the cinnamon doesn't? Extended Rigid Bodies in Special Relativity I was reading Landau &amp; Lifshitz's Classical Theory of Fields and I noticed that they mention that an extended rigid body isn't "relativistically correct".   For example, if you consider a rigid rod and apply a torque at one end, by definition of being rigid, the whole body must start rotating at the same instant. But the information about the force being applied cannot travel faster than the speed of light.   The book hasn't mentioned how to resolve this paradox, and after thinking about it for a while, I'm wondering if one can even define a rigid body in a relativistically correct manner.  To summarize: How does one define a rigid body in special relativity? About the term $-\nabla_{[u,v]}w$ in the definition of Riemann curvature tensor Monic $f(x)\in\Bbb Z[x]$ has no rational root if $f(0)\ \&\ f(1)$ odd [Parity Root Test, Modular Root Test] A polynomial problem from my old algebra textbook:     $f(x)\in\Bbb Z[x]$ with leading coefficient $1$, $\deg f(x)\ge 1$, and both $f(0)$ and $f(1)$ are odd numbers, prove:   $f(x)$ has no root within $\Bbb Q$   Eisenstein's criterion seems to be of little help here because we know virtually nothing about the coefficients. So I tried some other approach. Let $$f(x)=a_0+a_1x+a_2x^2+\cdots+a_{n-1}x^{n-1}+x^n\in \Bbb{Z}[x]$$ What we have known so far is $$f(0)=a_0\text{ is an odd number}$$ and $$f(1)=a_0+a_1+a_2+\cdots+a_{n-1}+1 \text{ is an odd number}$$ from which we can also conclude that $$f(1)-f(0)=a_1+a_2+\cdots+a_{n-1}+1\text{ is an even number}$$ To be honest I don't know how to proceed now. It isn't until just now that I realized "irreduicible" is not equivalent to "has no roots".. So all my previous attempt is fundamentally wrong.. Can anybody help or drop a hint? Best regards! Is there a case insensitive version of the  jQuery selector or should I do the work manually by looping over all elements and comparing their .text() to my string? I asked  that turned out to have multiple correct answers. How do I pick between them to determine which to accept?  All of the answers were different. They were not the same answer given multiple times. How to find the sum of the sequence $\frac{1}{1+1^2+1^4} +\frac{2}{1+2^2+2^4} +\frac{3}{1+3^2+3^4}+.....$ Problem :   How to find the sum of the sequence $\frac{1}{1+1^2+1^4} +\frac{2}{1+2^2+2^4} +\frac{3}{1+3^2+3^4}+.....$  I am unable to find out how to proceed in this problem.. this is a problem of arithmetic progression... Please suggest how to proceed...Thanks.. Creation of entangled electrons How do I pass parameter TO a Visualforce page from a link in an email? Here's what I am trying to do:  1) User creates record A.  2) Time-based workflow sends an email to the Record A creator based on a date field in the record.  3) The email template has a URL link.  4) The URL links to a Visualforce page that is basically a form with fields to be filled out (this Visualforce page is in a managed package) and a save button that creates a new User record.  5) When the User clicks the URL link in the email, the Visualforce page opens in a new window.  6) I would like to pass the values of the fields in record A to pre-fill the Visualforce page fields.   Here's my link:  &lt;a href="https://cs19.visual.force.com/apex/CloneThisUser?Desktop=true&amp;Id={!Pending_User__c.User_to_CloneId__c}&amp;formGroupInputSmall={!Pending_User__c.First_Name__c}   And here's the code from the relevant section of the Visualforce page:  &lt;div class="form-group form-group-sm"&gt;       &lt;!-- &lt;apex:outputLabel styleClass="col-sm-2 control-label" for="formGroupInputSmall"&gt;First Name&lt;/apex:outputLabel&gt; --&gt;       &lt;div class="col-xm-11 col-sm-12"&gt;           &lt;apex:inputField html-placeholder="First Name" styleClass="form-control FirstNameInput"  value="{!u.FirstName}" id="formGroupInputSmall"/&gt;       &lt;/div&gt;     &lt;/div&gt;   I have only included the first field I would like to pass the parameter to, in order to keep this post simple.   The link passes the User_to_Clone_Id__c just fine but does not fill in the "First Name" field with the value of the First_Name__c .  What am I doing incorrectly? Thanks. When should a verb be followed by a gerund instead of an infinitive? Some verbs are followed by ing, e.g. I enjoy swimming. We can't say I enjoy to swim. Likewise, some verbs are followed by to, e.g. I decided to make a plan.   Which particular verbs are followed by ing and to? Can you please provide a list for that?  Moreover, which verbs can be followed by both without having the meaning changed? Mass Uninstalling Just been working on a new laptop today (Acer) and it was pre-installed with all sorts of crapware. Mostly games and "backup utilities" and McAfee. I had to manually uninstall about 30 apps via Vista's Programs and Features  So it got me wondering is there any way of mass uninstalling or queuing an app to be uninstalled? Through Vista/XP you need to wait for Install Shield or whatever to close before beginning to uninstall the next app. Took way more time than it should have.  Just another one of those Windows annoyances! Any help appreciated as I often need to do this when I come across a slow machine that's just been clogged with a bunch of useless apps Using expect for inputting commands Heres the thread I'm bouncing off of:   So I'm trying to run this command: cd /etc/openvpn/easy-rsa; . ./vars; ./build-key username  However, after running that command, I need to input nothing [just press enter] 10 times, and press y twice. The user on the last thread suggested I use except, but I couldn't get it working. Here are the questions it asks:  root@suffice-vpn:/etc/openvpn/easy-rsa# ./build-key usernamtest Generating a 2048 bit RSA private key ..................+++ ........+++ writing new private key to 'usernamtest.key' ----- You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [US]: State or Province Name (full name) [NY]: Locality Name (eg, city) [Merrick]: Organization Name (eg, company) [IceWare]: Organizational Unit Name (eg, section) [IceWare]: Common Name (eg, your name or your server's hostname) [usernamtest]: Name [server]: Email Address [iceware@programmer.net]:  Please enter the following 'extra' attributes to be sent with your certificate request A challenge password []: An optional company name []: Using configuration from /etc/openvpn/easy-rsa/openssl-1.0.0.cnf Check that the request matches the signature Signature ok The Subject's Distinguished Name is as follows countryName           :PRINTABLE:'US' stateOrProvinceName   :PRINTABLE:'NY' localityName          :PRINTABLE:'Merrick' organizationName      :PRINTABLE:'IceWare' organizationalUnitName:PRINTABLE:'IceWare' commonName            :PRINTABLE:'usernamtest' name                  :PRINTABLE:'server' emailAddress          :IA5STRING:'iceware@programmer.net' Certificate is to be certified until Jan 14 18:27:48 2026 GMT (3650 days) Sign the certificate? [y/n]:y   1 out of 1 certificate requests certified, commit? [y/n]y   As you can see, I press enter 8 times initially [to keep the default input] and then press enter another 2 times to skip the optional commands. Then, I need to press y twice. How can I automate this? I need to have this all happen in one command. Any suggestions? Thanks in advance. Example of mailmerge package with an Excel spreadsheet I am looking for an example for using the  package to write a cover letter, with names and addresses on a spreadsheet. The package comes with an example, but you have to manually enter all the data. Factor 2 in Heisenberg Uncertainty Principle: Which formula is correct? Some websites and textbooks refer to $$\Delta x \Delta p \geq \frac{\hbar}{2}$$ as the correct formula for the uncertainty principle whereas other sources use the formula $$\Delta x \Delta p \geq \hbar.$$ Question: Which one is correct and why?  The latter is used in the textbook "Physics II for Dummies" (German edition) for several examples and the author also derives that formula so I assume that this is not a typing error.  This is the mentioned derivation:     $\sin \theta = \frac{\lambda}{\Delta y}$      assuming $\theta$ is small:      $\tan \theta = \frac{\lambda}{\Delta y}$      de Broglie equation:      $\lambda = \frac{h}{p_x}$      $\Rightarrow \tan \theta \approx \frac{h}{p_x \cdot \Delta y}$      but also:      $\tan \theta = \frac{\Delta p_y}{p_x}$      equalize $\tan \theta$:      $\frac{h}{p_x \cdot \Delta y} \approx \frac{\Delta p_y}{p_x}$      $\Rightarrow \frac{h}{\Delta y} \approx \Delta p_y \Rightarrow \Delta p_y \Delta y \approx h$      $\Rightarrow \Delta p_y \Delta y \geq \frac{h}{2 \pi}$      $\Rightarrow \Delta p \Delta x \geq \frac{h}{2 \pi}$   So: Which one is correct and why? Questions link almost unreadable when active on meta If you click on  the font color is almost unreadable on the main site here.  Is it possible to make it a slightly different color? (I cannot say if darker or lighter is better) I was loading an image resource with the following code and it works fine from my dev environment (netbeans) but threw an exception as soon as it ran from the desktop.  new ImageIcon(Images.class.getResource("images/highlighter24.gif"));   I traced it down to my file having different case than in the code.  Fine, my bad, but why the inconsistent behavior?  Gremlins?  Note: I'm running on windows before you ask.