Is it possible to change spacing between lines -- but not between paragraphs -- in MS Word when modifying a Style?
I'm asking because I prefer single spacing between paragraphs, but 1.3 or 1.4 between individual lines.
(When I'm using the Modify Style-box / Format / Paragraph, there's no option to 'protect' spacing between paragraphs from changing. So I wondered if there might be some 'secret' way to do this...)
Related
I've worked with the Excel::Writer::XLSX module to build a lot of spreadsheets, but I was wondering if there is a way to basically separate certain columns with a bold border. In my script I use a merge range of columns, so for example, C-E is merged, F-H, etc... So I would like to put a bold divider along the E column, the H column, etc... I think it would be some kind of add_format, however I'm already using an add_format to get the date centered, the headers rotated 90 degrees, etc. Here is a quick snapshot of what I'm talking about (this is what I'm trying to copy via perl).
I am using
"symbol-placement": "line",
to add text labels over polygons (countries) using a precalculated line which spans the country bounds. However, the text label automatically repeats itself which does not look good.
Example: Instead of a curved GERMANY, I get a curved unwanted repetition GERMANY GERMANY GERMANY GERMANY.
I could not find any option for that... Is there a work around?
Bonus question:
Is it possible to have the text span the full line and have the font-size dynamically set accordingly? That would be the perfect solution.
Setting symbol-spacing to a very high number (eg, 5000) should effectively achieve what you want.
Bonus question: Is it possible to have the text span the full line and have the font-size dynamically set accordingly?
No. But you could set the length of the line as a property on the feature, and use data-driven styling to set the font size from that. Data-driven styling for font-sizes is supported in Mapbox-GL-JS as of version 0.35.
You could potentially also use text-letter-spacing. That one doesnt' supoprt data-driven styling, but you could use filters to set some basic classes of letter spacing.
I'm using a custom modeline and I'm starting to get how to configure it but here I'm stuck as to how to get the info I want: I'd like to show, in each buffer's modeline, the width in characters of the buffer.
I'm also using linum-mode (with always at least two columns used) and ideally I'd like to deduce the number of characters used by linum from the width.
The function (window-width) is what you're looking for, this doesn't include the characters used by linum-mode however you can get their width from (window-margins)
Is there a way to set a custom word spacing in CoreText?
I have looked around the paragraph properties where I would have expected to see this but found nothing.
I don't have deep experience in this but AFAIK you cannot adjust the space between words. So my list of possible solutions would be:
Adjust the kern value, however this will also adjust the space between letter which may not be what you want.
Add extra spaces. Crude, but you can increase the space between words by replace a single space with two.
(Really advanced) start adjusting individual glyphs. The best example I have found for doing is here: http://invasivecode.tumblr.com/core-text about 2/3rds down the author shows how to access the individual glyphs and adjust their settings.
I'm looking for a font which contains a graphic character which is (essentially), the space character, inverted. I'm looking for a graphic character equivalent to the largest-possible solid-black box. The closest I have been able to find is Wingings 2 character 162, but that doesn't fill the entire available character space. When I insert two consecutive Wingdings 2 162 characters, there is still appreciable whitespace between them when displayed or printed. Does anyone know of a black-box font/character which would fill all available character space?
All characters are going to have whitespace between them, or they would be unreadable. This is called "kerning". You can adjust the kerning and line-height in whatever program you are using to send the malicious fax, if you want to be sure to use the maximum amount of toner per page.
Have you considered creating your own font using a software package like this or like this? You could edit the space character to be a solid black square. But as Chris McCall mentioned, you may still have space between characters of any size due to kerning applied by the layout engine that draws the fonts.
You other option is to owner draw your own text and programmatically replacing spaces with black boxes. You would have complete control over kerning and everything else.
I don't know if this is exactly what you were looking for, but...
I was looking for the same thing, since I wanted to create a "textbox" when I wanted to write text using the spritefont, but I never knew how long the total string was going to be, so I wanted something that I could "write" in the same location right before the string with a contrasting color which could be expected to be as long as the string it needed to encompass. That being the case, try:
Webdings - character 103.
I tried lining them up and there wasn't even any space in between. Perfect.