Questions tagged [text-formatting]
The process of laying out text in a document for ease of reading. Including font, size, spacing, etc.
497
questions
135
votes
6
answers
325k
views
Formatting a comma-delimited CSV to force Excel to interpret value as a string
I've been searching around for a while trying to figure out how to output a CSV file in such a way to force Excel to interpret the values as a string and not try to convert them to numbers or dates.
...
129
votes
4
answers
11k
views
Why shouldn’t I use Unicode characters to simulate typographic styles (such as small caps or script)?
Unicode contains various characters that look like typographically stylised variants of characters of the basic Latin alphabet and that allow one to write texts in the corresponding typographic styles ...
59
votes
16
answers
11k
views
Can I paste plain text by default?
I regularly copy and paste text between spreadsheets, emails, browser windows, etc. I can't think of a single time when I've wanted to keep the formatting from the source text.
I already know about ...
54
votes
6
answers
98k
views
How to change Windows 10 Lock screen time format?
My Windows 10's time format is 24 hour clock, this includes the taskbar but the lock screen is still 12 hour clock format. How do I change the format of my time in lockscreen?
53
votes
7
answers
77k
views
Nested bulleted list in Slack
Is there a way to do nested bulleted lists with the new Slack markdown / formatting tools?
E.g. I tried this
* something
* nested something
* something else
but it doesn't render it as
...
43
votes
7
answers
155k
views
How can I add a paragraph directly after Word table?
If I have a document with a table in it, how do I add a new paragraph directly after the table?
For example:
Note the cross reference (which is a hyperlink) back to Heading 1b.
The only way I've ...
39
votes
7
answers
360k
views
Use two columns in Microsoft Word separately
I want to do a two-column layout in Microsoft Word, but instead of the second column being written as a continuation of the first, I want the two columns to be written separately just like they were ...
28
votes
11
answers
130k
views
How to prevent Excel to use the OS regional settings for date patterns in formulas
According to this question I have the following problem:
I want to use some Excel function (not the cell formatting) like TEXT(A1, {date_pattern})
But the person who answer my previous question make ...
27
votes
1
answer
7k
views
Missing the "L" shaped formatting icons in Microsoft Word
I am missing the "L" formatting (or maybe layout) things in Microsoft Word and don't know how to get them back.
Below screenshot I found shows the missing parts in red circles:
How can I re-enable ...
26
votes
4
answers
7k
views
Ubuntu Linux: Can I paste plain text by default?
(Similar to my earlier question about Windows XP and darren_n's follow-up for Mac OS X.)
I regularly copy and paste text between spreadsheets, emails, browser windows, etc. I can't think of a single ...
25
votes
3
answers
20k
views
Slack multi-level bullet point or numbered list
I've seen the thread on single bullet points here but can't seem to find a way to add a 2nd or any additional levels (i.e. automatic indentation). Is this not a feature? I've tried the standard TAB ...
24
votes
4
answers
64k
views
Notepad++ split line after given number of characters
Is there a way in notepad++, to split one line text, to text with given maximum number of characters in one line? I found only undefined line split in lines operations.
24
votes
6
answers
133k
views
Strikethrough in Notepad++
Is there anyway I can have text with strikethrough style in Notepad++? I use Notepad++ for my to-do lists, and being able to assign strikethrough to the highlighted text (especially if it could be on ...
23
votes
7
answers
16k
views
How can I paste text without format in Lync's chat window?
Is there any way to disable the paste-with-format feature on Lync? I'd like to paste only the text instead of having something like this:
23
votes
5
answers
51k
views
Copy multiline formatted text into a single cell in Excel
My question is similar to Copying a multiline text into a single cell in Excel, except that the text I want to copy contains rich text formatting - bold text, colored text, bullet items, etc...
If I ...
21
votes
4
answers
48k
views
Is it possible to make text strikethrough while sending instant messaging in skype?
does any one know, whether or not it is possible to strike through text like this in skype while sending instant messaging or edit message which has been already sent.
I searched a little, and I ...
18
votes
4
answers
11k
views
How to break long lines in vim?
I have a quite big text file formed of blocks like
Short line.
Really long line.
Short line.
separated by empty lines, and I would like to use vim (on Linux) to break down the long lines and obtain ...
17
votes
5
answers
94k
views
Is there any useful style of MS Word for code?
I need to use MS Word to make some documentation for Python code.
Line number, or boxing around the code, or anything would be better than just use normal format.
Is there any good/useful style/method ...
16
votes
3
answers
26k
views
"View Source"-equivalent for Word documents?
Sometimes Word documents seem to be more or less break, usually when the layout has gotten quite complex and the document has changed hands and/or versions a couple of times. Symptoms may be that ...
15
votes
4
answers
210k
views
How to adjust the thickness of SOME lines in a Word table?
I have a table in Word 2010 and would like sets of rows to be distinguished from other sets, but still all be in the same table. So, I would like a thicker grid line between some of the rows. But I ...
13
votes
4
answers
92k
views
How do you apply the table style of a table to another?
I have a publisher's sample Word document containing a table in a particular style. I have an existing table in my document that is in the standard plain Word format. I'm trying to apply the publisher'...
12
votes
7
answers
65k
views
Why is Excel removing leading zeros when displaying CSV data?
I have a CSV text file with the following content:
"Col1","Col2"
"01",A
"2",B
"10", C
When I open it up with Excel, it displays as shown here:
Note that Cell A2 attempts to display "01" as a number ...
12
votes
1
answer
4k
views
How to increase and decrease quote levels in Thunderbird?
Is there a way to change the quote level in Thunderbird without any special add-ons?
Ideally, I'd like a shortcut to change quote leves from
this
to
this
and the ...
11
votes
3
answers
90k
views
How to have full-width horizontal lines in Microsoft Word?
How can I have full-width horizontal lines inserted between the lines of a long text? I do not want to use Ctrl+U to add underline to the text because it does not add lines to the empty spaces. Also ...
11
votes
3
answers
7k
views
How to auto format code from the command line?
Let's say I have a JavaScript in someRandomFile.js and I want to run a command like:
formatMyCode someRandomFile.js
Then inside the file it just indent everything in a nice way.
I want to do format ...
11
votes
2
answers
20k
views
How can I change the default date format?
When I paste a date into Excel 2010 in the format "2012-12-07 00:00:00.000" I'd like it to be displayed by default as "2012-12-07", but it is actually displayed as "00:00.0".
I know I can work ...
9
votes
5
answers
123k
views
Table shading in Word leaves text with unwanted white background
I am using Word 2016 on Windows 10. I cannot get rid of the white background for text when I apply shading to specific table cells, as you can see below:
The shading is applied to the cell, but ...
9
votes
2
answers
42k
views
Remove text after @ sign
I am trying to use notepad++ and regular expressions to edit a document.
I have text in this format
123.45607894.165@abcd;aba
23.456@av1;084
9871.001@fab:9782581afa
And I need to get only the first ...
9
votes
3
answers
3k
views
Convert tab separated values to ASCII table
What is the most efficient way to convert tab separated data such as this:
a b c d cat
NULL NULL NULL NULL NULL
NULL NULL NULL d d
NULL NULL c NULL c
NULL ...
9
votes
5
answers
16k
views
Disable formatting in Eclipse
I found that when I save a .java file in Eclipse, it helps me to reformat any indentation and line breaks. This is very annoying. How can I avoid it?
9
votes
3
answers
4k
views
Vim: auto-comment in new line
Vim automatically inserts a comment when I start a new line from a commented out line, because I have set formatoptions=tcroql. For example (cursor is *):
// this is a comment*
and after hitting <...
9
votes
6
answers
28k
views
Previous Format Breaks when Deleting Section Break in Word
My favorite program, microsoft word...
has decided that if I delete the final section break (which is causing my document to have an extra blank page), it will break the formatting of the entire ...
9
votes
4
answers
17k
views
Excel insists on formatting HTML
I need to copy around 15,000 rows of data from an MS SQL query to an Excel 2007 spreadsheet. Some of the cells contain HTML as plain text, and most of these include HTML tables. I want the HTML to ...
8
votes
1
answer
1k
views
Setting "LANG=C LC_ALL=C" in script has no effect on padding length for non-English characters in printf
I am working on formatting the output of a Bash script into a table such that the pipe characters used to represent the bounds of each column are spaced relative to the longest string in that column (...
8
votes
4
answers
48k
views
Custom Date Format in MS Word 2010
I have a date field in a Word document which was created from a template included with Microsoft Word 2010. The default setting for this field is to display only two places of the current year.
I ...
8
votes
8
answers
114k
views
How to prevent Excel rounding numbers or adding redundant 0's?
I have a column of numbers that appear like this:
but the actual value of the shown cell is 20130.153334
Other values have a different number of decimal places. I don't want to add redundant 0's, so ...
8
votes
5
answers
18k
views
Formatting list labels in Microsoft PowerPoint independently of the text that follows
I would like to format list labels without having the text right after the label affect that format. For example:
1. First item
2. Second item
The bolding of "1." is determined by the bolding of the ...
8
votes
2
answers
5k
views
How to force vim to end all lines with a single linefeed character (LF)
As the title says, I need to force vim (in my case gVim) end all lines with a single linefeed character (LF). How can I do this?
I'm trying to follow the standards for PHP coding, specifically http://...
8
votes
1
answer
7k
views
How does Outlook determine if there are extra line breaks?
Outlook 2010 (32-bit) / Windows 7
I have a scenario where a plain-text email message is being interpreted incorrectly by Outlook and formatted strangely.
On all other email clients, the message ...
7
votes
1
answer
9k
views
Formula does not show superscript character
I have a formula which I want to show a result which includes a superscript character, but I cannot get said character as superscript.
Normally I would just enter text into a cell and I can select ...
7
votes
5
answers
101k
views
Excel: copy cell formatting in equation
If I make an equation:
' on cell A2
=A1
Is there a way to make A2 have the exact same formatting as A1 and not just the value?
i.e. I want a FORMULA that copies both the value and the format/...
7
votes
2
answers
7k
views
Bracket Equation Alignment in MS Word
I'm trying to type something in a bracket with Microsoft Word. How do I align left for each line so the alignment wouldn't be center? Thank you guys.
7
votes
2
answers
8k
views
Combine all the lines of a text file into a single line via the Windows Command line
I wrote a command line script that makes a list of files I want to do things to such as compress, delete or email. The list would be in the following format:
7z-Compression-List.txt:
=================...
6
votes
2
answers
3k
views
Why would RTF files created with Pandoc be opened as plain text?
I'm experimenting with Pandoc, in particular the markdown to RTF function. When I run the converter, the resulting RTF is opened in both Word and OpenOffice as plain text (where the text looks like ...
6
votes
2
answers
23k
views
How to format numbers and thousands with decimals in Excel?
I wish to display the numbers 23567 and 100 as 23.6K and 0.1K, respectively.
I know the format ##0."K" gets me close: 24K and 0K, respectively. But I'm unable to tweak it to do what I want.
I'm on ...
6
votes
4
answers
59k
views
How can I get my text top-aligned in a Word table cell?
I'm creating a resume in Word using a template that I downloaded from elsewhere. The template is a table with two columns, the top row of which is shown here:
I want the text to align with the top of ...
6
votes
1
answer
5k
views
Is it possible to search and replace formatting in a LibreOffice Writer document with named styles?
Say I have a document in Writer that somebody who is ignorant of styles has created by manually setting a certain font to various areas.
Now I want to improve the document by upgrading the manual ...
6
votes
4
answers
1k
views
Firefox addon for managing text width
While reading, I prefer that the text width is "reasonably" small and centered in the middle of the window (just to make an example, pick a blog post layout or the layout of SuperUser itself, which I ...
6
votes
3
answers
7k
views
AppleScript to paste clipboard into current application
I thought this would be simple...
I want an AppleScript that launches Plain Clip and then pastes the clipboard into the current document where the cursor is. My script launches Plain Clip (a format-...
6
votes
1
answer
7k
views
Why is my bullet formatting reset after changing a single bullet in Microsoft Word?
I have a custom multilevel list style in Microsoft Word 2010 which uses a mix of bullets and numbers.
Whenever I try to change the bullet for single level, it ends up changing list items from every ...