How do I detect whether I'm on a left- or right-hand page?  I would like to define a custom command with a conditional statement that executes a certain command if it's on a left-hand page and another if it's on a right-hand page.  The command would be executed in the page body.
120737
How to use if-then-else structure in LaTeX? I need an example of odd and even page.  if odd then   command 1 else   command 2
8843
Is there an option to output a manual page in a different language? I don't want to change the computer language completely, but only specific manual pages. For example  $ man -English man Man is a manual program … $ man -Russian man Инструцтия для Unix, BSD и Linux. …
107565
How would I know through a script when the switch to edit mode happens? I need it for modal operator.  I was thinking on listening for 'TAB' event and checking obj.mode, but I hope there is a better way, for reasons like changed edit-mode shortcut or switching to edit-mode by script.
86982
I like the new CSD option (remove title bar) but when activated my window buttons move over to the right (normally on the left). Is there a way to have CSD enabled but with buttons on the left?
31240
I think I understand the differences between an interactive, a login and a batch shell. See the following links for more help:    (from the sister site: )  (from A User's Guide to the Z-Shell)   My question is, how can I test with a command/condition if I am on an interactive, a login or a batch shell?   I am looking for a command or condition (that returns true or false) and that I could also place on an if statement. For example:  if [[ condition ]]    echo "This is a login shell" fi
31099
In the Admin Panel, is there a way to hook into the page creation and increment Page Order number of each page or to be equal to the number of pages. Right now the default is 0 and when I make a new page i would much rather have it at the bottom of my list than the top.
100365
I received a word document that was probably created on a machine with some sort of right-to-left locale (e.g. Middle East). All text is in English but editing it is a pain. However, I can't figure out how I can switch the direction to left-to-right in Word 2007. The directions  are not helping since I can't find the "Views" button or tab that I am supposed to click as described under "Set right-to-left text writing". So how do I switch? Thanks!
57122
I'm looking for a keyboard shortcut that will duplicate the functionality available by double-clicking the "handle" in the bottom-right corner of a cell.  Is there something that can do this, without third-party software or creating custom macros?
84350
Already found similar posts like (), but those are some years old already and very outdated, what would be the new way to use the execute command relative (e.g. slightly behind) an entity? I'd guess it something with at @s[z=.5] or using the positioned tag, but neither of those worked yet. This is what I would like to accomplish, so that only in the right get stop the run command when they are in range, not both on the right and the left.  This is the actual detection range, where it detects the armor stand behind an infront of it.  And this would be the new detection range, where it only stops my execute command, when theres an armor stand in front of it.  All in all what I need is a way to reposition the anchor of the distance=0.5..1 tag, so that it's not the entity itself but rather e.g. +0.5 in the z coordinate
66284
I see that I can configure mouse and touchpad all in one panel (Ubuntu 13.10, defaults, Gnome). Which is to some extend. Namely, I want to have the touchpad differently configured then the mouse and ...  When I have an (USB) mouse attached I use it normally left-handed. Therefore I switch the buttons to left-handed. But when I use the touchpad I feel little bit lost with that kind of configuration. Therefore I wanna have it right-handed.  Is there a way to achieve the following: when I plugin a mouse (respectively when it is detected) automatically switch to left-handed and when I unplug it, switch automatically to right-handed?
123168
I want to number my pages in the top corner, left or right - it depends on the side of book, the left page in book should have number on the left side and the right page on the right side. It works now only for one side (right or left).
70897
My problem is that I would like to have either blank or figures on the left pages, and text on the right ones, with the numbering of the right pages to be 1,2,3,4,5 and not 1,3,5,7.   It means, in a book-derived class, to have right pages, with the odd layout, but with also an even number half the time.   It also means that I would like to have, by default, a blank page everywhere on a left page, except if a picture has been defined somehow before on the previous page.     Update:  I've tried it. There is a little \makeatother missing, but I spotted it right away. It seems to work fine alternating pages and inserting blank or figure pages. However, I have two problems:   The class (book-derived) sometimes introduces blank pages of its own. I can tweak it, but would prefer to be able to turn on/ turn off the action of the blankpage routine along the course of the document.  The layout of the text pages depends on the odd/even number of the page. Since my text pages have odd and even numbers (which is the intended result), the layout is now alternatively odd or even, which is not what I would like, since there they will all be on the right hand side of the doc when open...   Do you have any clue as to how to manage this? I think the second problem is way more difficult...  Thank you already for this answer both simple and effective for achieving the result.   EDIT 2 (19/12/2011) : The answer from Bruno Le Floch seems to me more complete and I recommend it.
105821
When it is a switch between applications, we use Command+Tab, and when it is a switch within an application, we use Command+`.  Can I just use Command+Tab for all cases, as in Windows?
61488
Designing an interface for a CMS (Content Management System), I stumbled upon a paradox and I'm a bit confused about what to do and why to do it..  Context  Before deleting an album, the user is asked to confirm the action.  Green "Yes"    Red "Yes"    Which option is more intuitive for the user?
117627
I followed the advice on the question  to try to make a custom command that displays a custom title page, but it is not working.   ./article.tex:17: You can't use `\spacefactor' in vertical mode.\@ -&gt;\spacefactor                   \@m l.17 \makecustomtitle  Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. If you're in the wrong mode, you might be able to return to the right one by typing `I}' or `I$' or `I\par'. ./article.tex:17: Missing $ inserted.&lt;inserted text&gt;                 $ l.17 \makecustomtitle  I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. ./example.tex:17: You can't use `\spacefactor' in math mode.\@ -&gt;\spacefactor                   \@m l.17 \makecustomtitle  Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. If you're in the wrong mode, you might be able to return to the right one by typing `I}' or `I$' or `I\par'. ./example.tex:17: Missing $ inserted.&lt;inserted text&gt;                 $ l.17 \makecustomtitle  I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed.   What follows is the simplified code:  \documentclass[12pt]{article}  \newcommand{\makecustomtitle}{ \begin{titlepage}   \makeatletter    \@title by \@author    \makeatother \end{titlepage} }  \begin{document} \title{Please, be my title} \author{Andres Riofrio}  \makecustomtitle  Take on me.  \end{document}
9976
Is there anywhere you can download a manpage for every builtin commands?  I know you can just use help or man bash and search to find info about it, but I want them separated, so I can just do man read and get the read manpage.
76352
I would like to put an address in my document as follows:  |                             | |                     Name    | |                     Street #| |                     City    | |                     ZIP     | |                             |   where the | mark the left and right page borders. I would like the items of the address (Name, Street etc.) to be left-flushed, but the box right-flushed so that the longest item touches the right page border.  Is there a simple way to accomplish this?