So I want to type commands like \geq_{\alpha} or \leq_{\alpha} into the user section (the bit with the symbol of the person, above PStricks, and below Left/Right).   Fine, but how do I save these commands? I closed texmaker and when I started again, the commands were all gone. It seems dumb to keep typing them in again and again and again.
124047
I would like to save my customised completion (user> customise completion) so that every time I close and re-open texmaker, I don't have to redefine it. How can I do that ?   Thanks in advance,
43114
Whenever I'm at the console login, I press up arrow intentionally to see the previously typed commands. But I see this ^[[A.  But when I press Ctrl Alt Print Screen Scroll Lock Pause Break Page Up Page Down Win keys doesn't echo any characters.  What might be the reason behind?  Does ^[[A sort of characters imply anything?
111158
How could I write my name, for example, in a \LaTeX style? It is just interesting, as in Google all other things pop up when I try to search for an answer!
60970
As it required root access to edit, I've opened a init.txt file using sudoedit, but I don't see how to save my changes. I also see lots of things like ^X instructions at the bottom of the terminal which I'm clueless about.
5278
I managed to do this  echo -n "command" &gt; /dev/tty1  The letters appear, and the cursor moves, but they are "ghosts" – if you hit Enter, nothing happens (they are not in stdin).  Edit:  In the middle of the below screenshot, you see why I see the use of this. (The line with a red caption, right below the line with a yellow caption.) As it is now, you are not really "editing" the note text; you are just asked to write a new text, which will replace the text of the note you are (not really) editing. Thus, I thought it could be remedied by simply pasting the old text into the tty: if the user hits enter, no modification is made. (This program is in Perl/MySQL, but I thought it would be more interesting to ask for a general solution than "how do I do this in Perl".)    Edit 2:  Here is the Perl code, that uses the C code below (works exactly as intended), as well as a new screenshot – hopefully this will clarify things beyond doubt :) Again, look at the middle of the screenshot, where the edit is made to the note text - this time around, the old text is there, for example if you just wanted to fix a typo, you won't have to retype the entire note text.  my $edit_note_text = $edit_note_data[2]; print BOLD, RED, " new text: ", RESET; system("writevt /dev/tty \"$edit_note_text\""); my $new_text = &lt;$in&gt;; $new_text = fix_input($new_text); my $set_text = "UPDATE notes SET note = \"$new_text\" WHERE id = $edit_note_id"; $db-&gt;do($set_text);
48875
I have a LaTeX editing environment that does some assistive stuff such as auto-indenting, closing parentheses, etc.  However, one of the things that it does is unknown to me, and is difficult to search for. If I type an empty set of braces, it replaces them with  {}&lt;++&gt;   If I type two empty sets, for example when I'm setting up a fraction \frac{}{} what I actually get is  \frac\left\{ } \right\}&lt;++&gt;}&lt;++&gt;   Is this a problem? What does &lt;++&gt; do?  Edit: This is using
48196
I want my prompt to display:   current (absolute) working directory, colored in green and in a NEW line, the dollar sign and an empty space.   I am using this line in .profile  export PS1='\e[0;32m$(pwd)\n\e[m$ '  So when in e.g. Desktop, my prompt looks like this:    However, sometimes when hitting the up arrow to re-run previous commands, at the start of the prompt a random char sequence appear that does not seem to go away unless I hit enter, e. g.    I have never hit a cd cd Desktop command. The weirdest part is that backspace won't even delete the first one of the two cd commands above!  Any suggestions?
16907
How could I write a command in LaTeX, so after compiling it will be shown as a text in PDF and not executed?  For Example, I would write \it This is how you write in italic and the compiled pdf would contain the exact same text between the quotation marks without \it being executed.
5896
Alright, when I run certain commands the wrong way, (misspelled, etc.) The terminal outputs this: &gt; instead of computername:workingfolder username$, and when I type enter it goes like this:  &gt;  &gt;  &gt;   That would be if I pressed enter 3 times.
113048
This has sort of been touched on in some other postings, but for path reasons I would like to avoid using a shell script and just use ImageMagick's (IM) convert command line executable directly from a \immediate\write18{...} in a macro command, but in my IM convert instructions I need to pass the % (ASCII 37) as part of a macro.  However I try to conceive of making a % - and I have tried numerous ways(!) I always end up getting the Latex code I am using for the % passed through to the command line.  The obvious one, \% goes to the shell as \% directly and that is the pattern followed by all other options.  What I obviously seem to need is some way to generate the ASCII or unicode for % and get that to the shell from LaTeX via \write18 or other.  Or have some sort of temporary suspension on the LaTeX usage of % so that it can be part of a \write18{} and not break the command as a comment starter, and so be passed with out needing to be LaTeX escaped first.
60857
I just ran across a screenshot of someone's terminal:    Is there a list of all of the characters which can be used in a Bash prompt, or can someone get me the character for the star and the right arrow?
46150
To write some documentation, I would like the ability to define a command such as  \showcase{x^{y}\in\Omega}   which expands to something roughly equivalent to  \verb|x^{y}\in\Omega| &amp; $x^{y}\in\Omega$ \\   so that I can show what the latex code looks like and how does it show on the document.  Now I now that it isn't really possible to use \verb for this because it's really fragile and you can't pass arguments from a macro to it. But, assuming that I'm not trying to write anything crazy in the argument to \showcase (e.g. braces are always balanced, I don't care much if spaces are collapsed, no %'s inside), is there a way to define such a command?  Update  \detokenize does (almost) exactly what I want. Take the following example  \newcommand\showcase[1]{{\ttfamily\detokenize{#1}} &amp; $#1$} \begin{tabular}{cc|cc} \showcase{x^{y}}      &amp; \showcase{\hat{x}, \bar{x}} \\ \showcase{x_{y}}      &amp; \showcase{f\colon X \to Y} \\ \showcase{x'}         &amp; \showcase{\sqrt{x+2}} \\ \showcase{x''_{2}}    &amp; \showcase{2 &lt; x \leq 4} \\ \showcase{A^{1}_{2}}  &amp; \showcase{\frac{a+b}{c+d}} \\ \showcase{3\pi/4}     &amp; \showcase{\int_{0}^{1} x^{2} \,dx} \\ \showcase{x\in\Omega} &amp; \showcase{A \cup B \subseteq C \cap D} \end{tabular}   Which produces the output:    My minor quibbles are that:   The double '' seems to have been collapsed into a " I find mildly annoying the spaces after control sequences. I know why they are there, but could there be a way to remove the space if it is not followed by a letter or number? (Or, conversely, if followed by { or _)
68466
I have a very simple question. When I do this:  \catcode`\@=0 \catcode`\\=11 @mycommand{a} @catcode`@\=0 \catcode`\@=11   It works perfectly and calls \mycommand correctly. However, when I try to define \mycommand with similar trickery:  \newcommand\mycommand[1]{   \catcode`\@=0   \catcode`\\=11   @textbf{Hello #1}   @catcode`@\=0   \catcode`\@=11 }   compilation stalls and gives me the * prompt. If I give it Ctrl+D, it terminates without producing any output. Indeed, it seems that changing the catcodes inside a command has no effect whatsoever, because the following works perfectly (whereas, from my understanding, it shouldn't):  \newcommand\mycommand[1]{   \catcode`\@=0   \catcode`\\=11   \textbf{Hello #1} }   Can anybody please explain to me what's happening?
11156
Is there a possibility to enable VIM support when writing questions and answers? This will allow basic commands to be available in the question/answer textarea on demand. In my opinion, it's the most widely used editor by IT experts.  Lets say all commands from this basic  without points: 5, 6, 7, 8, 10.
94960
I hope this question is not a duplicate, but I couldn't find anything here on tex.stackexchange.   What I want is the place where all the macros already defined in LaTeX are. For example I know that the command \hrulefill is defined as   \def\hrulefill{\leavevmode\leaders\hrule\hfill\kern\z@}   (I got this form ), but where can I find all the possible commands defined already for all the LaTeX classes (such as the sectioning commands \chapter, \part and so on)?
26181
So I have a mac computer but i plugged in a windows keyboard in my mac. I am still trying to figure out how to paste commands into a command block. So how can I paste a command?
36992
Is it possible to automatically "add" \left and \right commands in front of all brackets? The source code should be left intact, but LaTeX should interpret every pair of brackets as if they were preceded by such commands. This is because adding \left and \right commands is time consuming and makes source code longer and less readable. I considered defining new commands such as \lb and \rb for \left( and \right), but it doesn't seem very elegant to me: what if I also want to add square brackets for example?  Any ideas? Thanks.