Questions tagged [whitespace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
82 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.
user avatar
2 votes
1 answer
425 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 "...
user avatar
  • 407
1 vote
0 answers
32 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 ...
user avatar
  • 11
0 votes
0 answers
218 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. (...
user avatar
2 votes
2 answers
1k 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-...
user avatar
  • 195
0 votes
1 answer
164 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 (...
user avatar
0 votes
1 answer
107 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 ...
user avatar
2 votes
1 answer
93 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 ...
user avatar
  • 243
0 votes
1 answer
153 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. ...
user avatar
0 votes
1 answer
3k 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 ...
user avatar
  • 1,065
4 votes
1 answer
542 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 ...
user avatar
  • 41
9 votes
2 answers
8k 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 ...
user avatar
  • 307
0 votes
2 answers
981 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 ...
user avatar
  • 113
1 vote
0 answers
76 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 ...
user avatar
  • 113
2 votes
4 answers
58k 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.
user avatar
5 votes
1 answer
492 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?
user avatar
1 vote
1 answer
75 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 ...
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 ...
user avatar
2 votes
1 answer
770 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 /–/ ... ...
user avatar
  • 1,387
7 votes
2 answers
5k 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 ...
user avatar
1 vote
0 answers
313 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(...
user avatar
  • 111
0 votes
1 answer
102 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 ...
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, ...
user avatar
0 votes
1 answer
383 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 ...
user avatar
  • 477
1 vote
4 answers
4k 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?
user avatar
2 votes
1 answer
1k 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. ...
user avatar
  • 346
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 ...
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 ...
user avatar
  • 1,823
18 votes
3 answers
121k 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 ...
user avatar
7 votes
1 answer
8k 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=%...
user avatar
6 votes
2 answers
55k 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 ...
user avatar
  • 359
17 votes
6 answers
14k 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 ...
user avatar
  • 315
12 votes
3 answers
17k 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 ...
user avatar
  • 696
1 vote
0 answers
255 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: "...
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 ...
user avatar
  • 173
1 vote
2 answers
579 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 ...
user avatar
  • 314
14 votes
2 answers
12k 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 ...
user avatar
  • 816
0 votes
1 answer
466 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-...
user avatar
7 votes
1 answer
45k 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. ...
user avatar
  • 8,039
0 votes
1 answer
367 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 ...
user avatar
  • 1
92 votes
10 answers
176k 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 ...
user avatar
  • 4,529
0 votes
3 answers
2k 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)?...
user avatar
  • 10.2k
0 votes
1 answer
625 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 #...
user avatar
  • 3
0 votes
1 answer
1k 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.
user avatar
5 votes
2 answers
677 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 ...
user avatar
  • 737
2 votes
2 answers
10k 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 ...
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 ...
user avatar
55 votes
4 answers
33k 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 ...
user avatar
  • 725
6 votes
2 answers
2k 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 ...
user avatar
2 votes
2 answers
2k 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 ...
user avatar