recentpopularlog in

kme : formatting   17

What is the style used for visited hyperlink in MS Word? - Super User
The color of visited hyperlinks is determined by the font color of the built-in style named “FollowedHyperlink”.
word  formatting  hyperlinks  annoyance  solution 
13 days ago by kme
Keyboard Glyphs - Meta Stack Exchange | https://meta.stackexchange.com/
You need to use the <kbd> HTML tag:
<code class="language-html">
<kbd>CTRL</kbd>+<kbd>Z</kbd>
</code>
becomes CTRL+
stackexchange  stackoverflow  markdown  formatting  keypress  hotkey  solution 
february 2019 by kme
How to set background color in Writer? [closed] - Ask LibreOffice | https://ask.libreoffice.org/
Styles and Formatting (F11) → Page Styles (4th icon from left)
Select "Default" → right click: "Modify..." or "New..."

Sample: New... → Page Style: Background

Page tab → Margins
Set all margins to zero

page tab

Background tab
Select the background color

Borders tab
Line arrangement: Set all four borders
Line → Color: (e.g.:) the same as the background color
Spacing to contents: (e.g.:) 20 mm
☑ Synchronize
libreoffice  formatting  solution 
july 2018 by kme
python - Convert bytes to a string? - Stack Overflow
You need to decode the bytes object to produce a string:

>>> b"abcde"
b'abcde'

# utf-8 is used here because it is a very common encoding, but you
# need to use the encoding your data is actually in.
>>> b"abcde".decode("utf-8")
'abcde'
python  python3  syntax  strings  formatting  bytestring  annoyance  solution 
december 2017 by kme
Perl Formats Writing Reports
The problem is that the format name is usually the name of an open file handle, and the write statement will send the output to this file handle. As we want the data sent to the STDOUT, we must associate EMPLOYEE with the STDOUT filehandle. First, however, we must make sure that that STDOUT is our selected file handle, using the select() function

select(STDOUT);

We would then associate EMPLOYEE with STDOUT by setting the new format name with STDOUT, using the special variable $~

$~ = "EMPLOYEE";

When we now do a write(), the data would be sent to STDOUT.
perl  formats  textprocessing  formatting  newbie  reference 
december 2016 by kme
Perl format Primer (1/2) | WebReference
What you probably wanted was this:

my @peanuts=("Charlie","Lucy","Linus","Snoopy","Woodstock");
format =
Peanuts characters:
@<<<<<<<<<<<<<<<<<<<<<< ~~
shift(@peanuts)
.
write;
# result:
# Peanuts characters:
# Charlie
# Lucy
# Linus
# Snoopy
# Woodstock
perl  formats  textprocessing  formatting  wrapping  reference  newbie 
december 2016 by kme
Text::Table::Tiny - makes simple tables from two-dimensional arrays, with limited templating options - metacpan.org
Text::Table::Tiny - makes simple tables from two-dimensional arrays, with limited templating options
VERSION
version 0.03
OPTIONS
header_row
true/false, designate first row in $rows as a header row and separate with a line
separate_rows
true/false put a separator line between rows and use a thicker line for header separator
perl  tables  textprocessing  formatting  library  module  via:ElliotPsyIT 
december 2016 by kme
The Nerdrium : Web Design : Non-Breaking Hyphen
&#8209;

Or, if you have control of your CSS:
<html>
<head>
<style type="text/css">
p.nobreak { white-space:nowrap;}
</style>
</head>
<body>
<p class="nobreak">This won't break--honest</p>
</body>
</html>
webdevel  formatting  html  solution  css  workaround 
july 2014 by kme

Copy this bookmark:





to read