Questions tagged [whitespace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

How to reduce the vertical whitespace between contiguous bullet points in MS PowerPoint

Consider, as an example, the vertical whitespace between the first and second list element, i.e. their associated texts. It'd like to reduce this whitespace.
Andreas L.'s user avatar
2 votes
1 answer
1k views

Remove all trailing white space with powershell in batch file?

This works to remove one white space from the ends of all lines in all txt files next to the batch file this runs in: start /wait /min Powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "...
bat_cmd's user avatar
  • 541
1 vote
0 answers
49 views

Bash script whitespace compliant

I have an huge amount of file to organize, they are a JPG files in an absurd folders structure. I need to move all files from its actual position to an organized folder structure, saving its actually ...
brambil's user avatar
  • 11
0 votes
0 answers
536 views

Can you add non-breaking spaces to an RTF file using WordPad?

I can't find a way to add non-breaking spaces to an RTF file using WordPad. It is possible to do this in other editors (full Word, for instance) or by editing the RTF file directly as a text file. (...
StayOnTarget's user avatar
  • 1,251
4 votes
2 answers
6k views

Are there special characters that can be used for sorting but not displaying?

We have a short simple list of text strings on a platform that forces alphabetical order. We'd like to have a custom order without prefixing numbers or other distracting characters (it's a customer-...
SAL's user avatar
  • 355
0 votes
1 answer
348 views

Space marks in paragraph mode in Word

In paragraph mode in Word, a space is usually represented by a dot, in the centre of the line (like a \cdot in LaTeX). However a Word file I received denotes them with dots at the bottom of the line (...
Arceus775's user avatar
0 votes
1 answer
342 views

Distributing vertical space in Word

If I have a page in Word with several paragraphs, is it possible to automatically space them apart according to some proportions? For example, if the page is roughly: pagebreak paragraph paragraph ...
alex.jordan's user avatar
2 votes
1 answer
165 views

COUNTIF and auto filter disagree about trailing spaces

I have an Excel spreadsheet. In column A I have these values at the top: Title A A␣ B B where I have used ␣ to indicate a space. Just a normal space, like you get from the spacebar. Now, to my mind ...
AakashM's user avatar
  • 264
0 votes
1 answer
216 views

How do I tell LibreOffice to use double spaces (or a free-form margin) for each new sentence?

I have written a long document in LibreOffice. I have written it like this: This is a sentence. Now begins another. Here is a third. That is, one space between each word and between each sentence. ...
Terreance's user avatar
2 votes
1 answer
7k views

Why does telnet send CRLF when I press enter?

On the telnet provided with my system (Debian), line feeds (\n) seem to be translated to CRLF (\r\n). Specifically, if I run, e.g., netcat -l -p 3334 > file and run echo a | telnet localhost 3334 ...
a3nm's user avatar
  • 1,215
4 votes
1 answer
1k views

Variable-width non-breaking space in Word 2016 (including a possible solution)

I'm using Word 2016 to write articles that must keep certain words on the same line. Therefore, I work with a lot of non-breaking spaces. The articles eventually go to print (or PDF), meaning there ...
R. Paul's user avatar
  • 41
9 votes
2 answers
10k views

How to remove strange space symbols in Word

I got Word files from one guy, written in Russian and convert them to HTML. These files contain some strange white-space characters, for example: This looks like small zero (I changed mode to show ...
Alexan's user avatar
  • 307
0 votes
2 answers
1k views

Replace leading tabs and spaces with sed

I want to replace leading tabs and spaces with something like <TAB> and <SPACE> respectively. But I couldn't figure out how to do it in a single pass of sed because tabs and spaces in the ...
Amomum's user avatar
  • 113
1 vote
0 answers
95 views

How can I prevent trailing whitespace being trimmed when importing a file into MemoQ 8.4?

When importing files into the translation tool "MemoQ (8.4)" in the project manager role, I've found that trailing whitespace in the source data, is trimmed. While this is re-added to the source when ...
Bilkokuya's user avatar
  • 203
3 votes
4 answers
83k views

Too large spacing between words in Microsoft Word

I got too large spacing between words in Word. What may be wrong in the case? I tried this and it did not help.
Yaroslav Trofimov's user avatar
7 votes
1 answer
802 views

Can I display whitespace characters in iTerm2

In most text editors I can display whitespace characters, e.g. tabs as arrows ⟶ , spaces as middle dots · Is it possible to do this in iTerm2?
supermitch's user avatar
1 vote
1 answer
129 views

MatLab: Line break between arguments of a function

When writing a function with arguments in MatLab, can the arguments be separated by a line break in some way (similar to separation by whitespace characters such as space or tab being allowed)? An ...
Steeven's user avatar
  • 283
0 votes
1 answer
1k views

Split .png into multi-page pdf with imagemagick based on whitespace

Currently I have a hand written image darkened with convert -level 50x100% It contains chunks of text separated by whitespace. Simply printing the image would split handwriting in half. Is there a ...
Dummyc0m's user avatar
3 votes
1 answer
1k views

Highlight nbsp \xA0 in vim

I have some patterns in my vimrc to match weird characters in files such as tabs, curly quotes, em-dashes, etc. " Highlight various difficult-to-see problems :match Error / \t/ :match Error /–/ ... ...
mgjk's user avatar
  • 1,417
8 votes
2 answers
6k views

Unexpected duplicate directory names after expanding `%~dp0` in a BAT file

I'm on Windows 10 Enterprise x64. I have the following hierarchy of directories with a BAT file at the innermost level: C:\ dir\ my files\ run.bat The BAT file contains the following ...
Vladimir Reshetnikov's user avatar
1 vote
0 answers
365 views

Spaces between equations and Chinese characters in Microsoft Word

I am using Microsoft Word 2007. If I insert an equation by pressing Alt+= key inside some Chinese document, there will be no space between the equation and Chinese characters. This looks too crowded(...
Z.H.'s user avatar
  • 111
0 votes
1 answer
136 views

pad string with spaces

I cannot figure out how to add spaces before or after a string, and then store the padded string in a variable. Printing to console works fine, but when I try to assign the result of the printf to a ...
Suspicious padding's user avatar
0 votes
0 answers
31 views

Win2012 - Background Application Whitespace CORRUPTION?

This is a really odd one: Could I ask any experienced Windows developers to please look at these screencaps, and advise if they've ever seen anything like this before: corrupted background whitespace, ...
MikeH London's user avatar
0 votes
1 answer
451 views

Remove spacing before tab in Microsoft Word

I want to get rid of the red marked spacing in the following demonstration: Word is placing a small amount of spacing before a tab I place at the start of a line. While this may not be very ...
randers's user avatar
  • 477
1 vote
4 answers
6k views

Underscore appears instead of space when typed in Notepad++

When I type space in Notepad++, an underscore appears. Can you help me with this issue?
Chris Harris's user avatar
2 votes
1 answer
2k views

Spaces between parameters in a Powershell command

I want to know why when I let spaces between paramters in a powershell command I have errors : With space : (don't work) wmic desktopmonitor get screenwidth, screenheight Expression GET non valide. ...
noraj's user avatar
  • 400
2 votes
0 answers
35 views

Any way to remove whitespace from dropdown menus in Windows 8.1/2012 R2?

I've recently transitioned from Windows 7 to a Windows 8.1 environment. In doing so, I've noticed a lot of little UI changes that I didn't anticipate. Most have actually ended up being helpful. One ...
Phoenix10k's user avatar
2 votes
1 answer
3k views

Remove any leading spaces (not including tabs)

I'm trying to remove leading spaces in vim but not touch tabs. For instance, if each of the lines below have a leading tab, but b_line has an additional two spaces, how can I just remove those two ...
tarabyte's user avatar
  • 2,283
21 votes
3 answers
153k views

How can I write space in Terminal on OS X?

I have a folder name with a space between words. I tried to use cd to move into that folder but it didn't work. How can I write space in Terminal on OS X? I tried following MacBook-Pro:TestDrop ...
Alexander Khitev's user avatar
8 votes
1 answer
14k views

Windows Batch. Append to PATH Environment Variable, when It Contains Spaces

I want to add some binaries to path for my console session and I'm doing it like so if not defined WIXTOOLKIT_IN_PATH ( set WIXTOOLKIT_IN_PATH=1 set MY_PATH=%~dp0..\tools\wix SET PATH=%...
Vasilly.Prokopyev's user avatar
6 votes
2 answers
57k views

Replace any number of spaces using regular expressions

How can I replace any number of consecutive spaces, with, for example, a tab in a text editor supporting regular expressions (like Notepad++) To clarify: Replacing every occurrence of one or more ...
Antonio's user avatar
  • 397
17 votes
6 answers
16k views

Difference in whitespace between two files on Linux

I have two files that when I compare with diff show that every line has changed. When I compare them with diff -w (ignoring whitespace) it shows the few minimal changes that I expect. Obviously ...
Romski's user avatar
  • 315
12 votes
3 answers
18k views

Improve display of whitespace on notepad++

Can you improve the visibility of whitespace using notepad++? I tried Settings > Style > Whitespace Symbol, and am able to change the color as needed, but I still find the symbols incredibly small ...
zuiqo's user avatar
  • 696
1 vote
0 answers
298 views

How to stop sublime text from adding a new extra line at the end?

I'm on OS X and using Sublime Text 3 and it's adding a newline at the end of document after I press CMD+S, which I don't want. I have already added below line in Sublime Text user settings: "...
metal gear solid's user avatar
1 vote
1 answer
2k views

Notepad++: is there a way to force it to keep the autoindented-whitespace type?

I wonder if we can force notepad++ to respect the previous whitespace character when it autoindents a new line: list[CR][LF] ····item1[CR][LF] ····item2[CR][LF] --->| (notepadd++ screenshot ...
David Gras's user avatar
1 vote
2 answers
628 views

Adding an abbreviation for spaces in vim

I am trying to add the following abbreviation in vim, but its not working. noreabbrev <space><space> .<space> Its just like in most modern phones keypad. so can someone tell ...
Krishna's user avatar
  • 422
16 votes
2 answers
18k views

Show whitespace characters in printout

I need to render an ASCII file for printing in a way that removes ambiguity if (very unlikely) one decides to type it in and validate the signatures. I am giving the 8-bit symbol-set QR code as an ...
qdot's user avatar
  • 856
0 votes
1 answer
509 views

Don't show tabs in Emacs whitespace mode

Normally, I use spaces for indentation, but for a specific project I'm working on the convention is tabs for indentation. So I've made a .dir-locals.el file that looks like this: ((nil . ((indent-...
gsgx's user avatar
  • 1,033
7 votes
1 answer
46k views

Word 2013 not changing footer size

I'm trying to make the space at the bottom of the page smaller so I can fit more text into it. I tried setting the footer and header to really small numbers but it doesn't seem to make a difference. ...
Celeritas's user avatar
  • 8,229
0 votes
1 answer
496 views

Remove whitespaces from my merged batch file

I'm trying to merge multiple text files into one single file. The problem with the command below is that it creates several whitespaces in the final merged file content and can't have any spaces. How ...
YOREL's user avatar
  • 1
103 votes
11 answers
201k views

How do I automatically trim trailing whitespace with Notepad++?

I don't want to delete the empty lines completely, but I want to remove the trailing tabs and whitespaces in them. Eclipse usually does it (through a preference setting) when we save the file. For ...
Srikanth's user avatar
  • 4,929
0 votes
3 answers
3k views

Spaces in the beginning of lines in Notepad++

Is there any reason, why Notepad++ treats spaces as an average characters and thus pushes it to a new line, instead of "hiding" them at the end of line (when line-breaking mode is of course turned on)?...
trejder's user avatar
  • 11.2k
0 votes
1 answer
730 views

Autohotkey for Press Space equest to Mouse Down

I've created a SpaceBar button to MouseClick but I'm having difficulties mapping SpaceBar Press state into Mouse Down using AHK. Anyone has the script? Below my current Space Mouse Click script #...
Bonn's user avatar
  • 3
0 votes
1 answer
2k views

How to sort with spaces in Excel?

How do I sort with spaces? I have spaces between my numbers and dates and names and would like to sort them without using a VBA formula.
anthony's user avatar
6 votes
3 answers
1k views

How can I avoid wasted space on Google searches on large monitors?

There is a lot of wasted space in Google searches (in Chrome) on my 23" monitor (1920x1080 resolution): (click image to enlarge) As you can see, less than 1/3 of the full screen width is actually ...
Doorknob's user avatar
  • 777
2 votes
2 answers
11k views

Word 2010: unsolicited white space [closed]

I'm using Office Word 2010 on a Windows 7 (64 bit) OS. I've got a large document with multiple tables and images (some of which are grouped). I've managed to lock each table or image into the ...
Becka's user avatar
  • 21
3 votes
2 answers
4k views

Showing some whitespace chars, but not all, in vim?

I'm using the set list and set listchars options in vim. I'd like to customize set listchars to display trailing spaces, etc., but not tabs. Is it possible to specify that I don't want a particular ...
Andrew Ferrier's user avatar
56 votes
4 answers
36k views

How to insert tab character in Text mode?

I have tried to parse a file language_data.txt, which is edited by Emacs. The different columns are separated by tab characters. But when I opened the file, I found that each of the tab characters ...
Chen Yu's user avatar
  • 735
6 votes
2 answers
3k views

How to avoid trailing spaces when you copy something from terminal?

I often copy a code snippet from a SSH terminal session where i'm logged in to some remote server and have a file opened in vim, for example to paste it here into an answer at SO. It frequently ...
Michael Härtl's user avatar
2 votes
3 answers
3k views

Can not stat over a file name having space in it

I m very new to shell scripting and writing a script for a project. I am having a problem while doing "stat" on a file name, to check size, which has spaces in it. The problem is that I can not write ...
Anil Bhargava's user avatar