Well, I'm using   \newcommand{\Name}{Name }   so I can change the name for different versions of my pdf. When I use it like {Name }, with a space bar, sometimes in the text it gives 2 spaces, and sometives gives 1. "Name  Age" wrong or "Name Age" The way I want to be But if I use it like {Name}, without a spacebar they just unify words. like "NameAge".again wrong  I'd like to know if someone know how to solve, or another way to just change the command for a word that it is not a new command maybe.
2572
I have a definition:  \newcommand{\arnold}{Arnold Schwarzenegger}   When I refer to it by:  \arnold is a   it is rendered as:   Arnold Schwarzeneggeris a    In order to have a space in front of "is" I would need to write  \arnold\ is a   Is there some other shorter way?
22898
This question has been asked before but that was over 6 years ago and I'm hoping to get a more updated answer.     Basically when I search for an application, if the name is too long it's shortened with an ellipsis (...). I want to know how to change it so that the whole name is displayed. Example:   I hope it's OK to ask for an updated answer.  I'm using Ubuntu 17.10 with GNOME Shell 64-bit.
86330
I've noticed a significant issue with the \input command, it seems.  For some reason, I can't seem to prevent it from adding a space after it reads its input.  Even if there is no newlines or spaces at the end of the file, LaTeX seems to be just driven to add a space.  Minimal working example is this:  \documentclass{article} \begin{document} A\input{TestInput.out}B \end{document}   Where TestInput.out contains only the text "SomeText" and no special characters  This provides the output:  ASomeText B   Does anybody know how to prevent this?  For a typesetting program, it's kind of weird to just arbitrarily add spaces IMO.  I'd like to think there's an easy fix, but I'll take any portable, robust fix if it works.
101990
I have a file that contains a list of names. i.e.:  Long Name One (001) Long Name Two (201) Long Name Three (123) ...   with spaces and some special characters. I wanted to make directories out of these names, i.e.:  cat file | xargs -l1 mkdir   It makes individual directories separated by spaces, i.e. Long, Name, One, Two, Three, instead of  Long Name One (001), Long Name Two (201), Long Name Three (123).  How can I do that?
35886
Code is supposed to be exact and "as-is". Sometimes, showing two spaces is important. In a comment, it is not possible to show code with  multiple   spaces. This became apparent in  (see comments).  EDIT: apparently this bug is larger then I thought: multiple    spaces   here are neither preserved in normal question text. Pity (though I couldn't find this reported before, I'd assume it is).  Workaround: use Alt+0160 (windows), or U+00A0 (Unicode NBSP), as I did in the example above.
16244
The first time I learnt LaTeX, I thought \newcommand properly fits for inline mode and \newenvironment for displayed mode.  Later I noticed it is not correct. So the question is   What is the rule of thumb when deciding whether we should use one over the other one?
59676
What exactly do \csname and \endcsname do? What are their job? I have glanced at the Texbook and some other books, but none of them was clear enough to me. Can anyone please give a simple example to clarify this issue?
3991
Why in Windows, can't you name a folder 'con'?  Whenever I try to name a folder as "con" (without the quotes) it defaults to its original name.  Why does it do this?
39060
Whenever I try to insert " or ' I have to validate it by space, otherwise strange things happen as with ' followed by an a becomes áinstead of just 'a, similar behaviour with double quotes. I find this annoying and want to disable it. How do I do that?
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.
19012
I have a problem with the lstlisting package. I want to define an \newenvironment with one obligatory parameter, which will be the caption name for the lstlisting. I will also have other lstlisting environments, that is why I am trying to define them separately.  I am also having some difficulties with \lstinline command (I set up a \newcommand to gain easier coding), which typesets keywords in normal text. Why can't it be in captions and similar?  I suppose something could be wrong with the preamble, that's why all the packages used are listed.  \documentclass{book} \usepackage[a4paper, top=3cm, bottom=3cm, heightrounded, outer=3cm, inner=3cm, marginparwidth=1.5cm, marginparsep=0.5cm]{geometry}  \usepackage{tocloft} \usepackage{amsmath}  \usepackage{eurosym} \usepackage{url} \usepackage{array} \usepackage{tabularx} \usepackage{multirow}  \usepackage{multicol}  \usepackage{graphics} \usepackage[dvips]{graphicx}  \usepackage{epstopdf}  \usepackage[dvipsnames]{xcolor}  \usepackage{verbatim} \usepackage{fancyvrb}  \usepackage{fancyhdr} \usepackage{paralist}  \usepackage{listings}  \usepackage{pifont}  \usepackage{indentfirst}   \lstset{language=[Visual]Basic, % keywordstyle=\color{blue},commentstyle=\color{ForestGreen},stringstyle=\color{Maroon},% basicstyle=\ttfamily\normalsize, frame=lines, % showspaces=false, showstringspaces=false,% tabsize=4, aboveskip=10pt, belowskip=10pt, % lineskip=2pt, numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt,% numberblanklines=false, % breaklines, breakatwhitespace, prebreak=\_, breakindent=0pt % }  \lstset{morekeywords={Or, Loop, Until, To, As, Single, Module, Double, ByVal}}  \lstset{emph={Console}, emphstyle=\color{Aquamarine}}  \newenvironment{case}[1]{\renewcommand\lstlistingname{Case}% \begin{lstlisting}[caption={#1}]}% {\end{lstlisting}}  \newcommand{\code}[1]{\lstinline[basicstyle=\rmfamily\normalsize, prebreak=, keywordstyle=\ttfamily]{#1}}   \begin{document}  Example with inline, that works: \code{Console, Sub in Module}.  \begin{case}{Hello world} %doesn't work Module Module1     Sub Main()         Console.WriteLine("Hello World!")         Console.ReadKey() End Sub End Module \end{case}  \end{document}   Thank you in advance!
33401
I'm trying to use the start command in the command prompt to open files and folders, but I'm unable to open files and folders that contain space(s) in their name.  I have tried the following queries (testing on C:\Program Files):  start C:\Program Files start C:/Program\ Files start C:/"Program Files" start C:\"Program Files" start "C:\Program Files" start "C:/Program Files" start C:/Program_Files start C:/Program%20Files   But none of them work.
78548
I am completely noobie in LaTeX. I need to change table name in all captions. But when I write \renewcommand\tablename{newname} at the beginning of document, it doesn't do anything. It's still "Table" My code looks like this:  ... \renewcommand\tablename{new} ... \begin{table}[b] \centering \begin{tabular}{|l|} ... your table ... \end{tabular} \caption{This table shows some data} \end{table} ...   What am I doing wrong?
38541
I have a command like  \newcommand{\todo}[1]{#1}   which I sometimes replace by:  \newcommand{\todo}[1]{}   In terms of spacing/whitespace, the behavior of the "empty" command is as follows:  Test.  \todo{foo} % does not generate (vertical) whitespace =&gt; good  Test\todo{foo}. Test. % does not generate (horizontal) whitespace =&gt; good  Test\todo{foo}. \todo{foo} Test. % _does_ generate (horizontal) whitespace =&gt; bad   Is there any way to avoid this, i.e., to (temporarily) replace a command in a way so that it is fully equivalent to removing all occurrences of the command?  (I know that there are packages like todonotes or verbatim, which provide similar functionality. But I always wanted to know how to solve this manually, and never had an idea how to approach this / what to search for. Using \xspace or \empty in the command did not work at least.)
109257
I realise this might be quite a simple question, but I'm still quite new to the command line and only have a grasp of basic commands.  I've downloaded some lecture presentations (~25 or so) from my University however on doing so they've been named things like...  L2%20Development%20of%20immune%20system.pptx L4%20Molecular%20Recognition.pdf   As you can see they've downloaded with the URL encoding %20 instead of a space.  My question is how to batch rename all of these files so that the %20 is removed and replaced with a space instead?
67830
I try to find a way to make a  \newcommand   so that it has different outputs, that it chooses randomly. In the best case the macro should also avoid word repetitions (something like, only choose this word if it hasnt been used for 50 words).  In this macro I want to group similar words, I use a lot in the document. For example if I often write the same name, it should sometimes just print the family name and other times the full name.  Edit another example: the macro should print "the group" or "the group of people" or any different synonym, so that I just have one macro for this pool of words.
71804
My username in Minecraft is sun solar arrow. This name includes spaces. Situation - When I want to get OP privilege, a user who has OP privilege will enter: /op sun solar arrow  But my username includes spaces. So it shows an error message:  Invaild syntax  How do I enter my username?