Re: pstext -M how to color background line by line

Kristof Koch <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
Paul,

without having it tried - wouldn't this expand the brown box up as I added a line to it? Currently I'm using -F...+jCT for the white and -F...+jCB for the brown box.

All the best,
Kristof

Am 01.03.2014 um 14:33 schrieb Paul Wessel <[email protected]>:

> Kristof-
> 
> For the brown box, could you in addition to the first line which plots the 10' add a 2nd line which matches the name of the city but uses the @;<color>@ escape sequence to plot the text in the same brown color, rendering it invisible (but still being used to set the box width correctly)?
> 
> -p
> 
> On Mar 1, 2014, at 12:27 AM, Kristof Koch <[email protected]> wrote:
> 
>> Dear list,
>> 
>> I'm struggling with the coloration of a textbox created with pstext and the -M option. My desired result is seen in the mock-up in image 3. I found no way of doing it inline in the textfile fueling the paragraph. 
>> 
>> Therefore I'm now experimenting with two separate textboxes placed around the same coordinate. One with the brownish background oriented above and one with a white background oriented below the coordinate. 
>> 
>> Example image 1 looks almost perfect except for the almost invisible little step between the two boxes. Upon some tinkering and playing with extreme cases (image 2), I found the problem in the width of the content of the white box. 
>> 
>> pstext expands the box to a fitting width, if the content is wider than the specified width in the textfile. In other circumstances this is a very cool feature to have (and is saving me lots of time and headaches). In this case it destroys my optical illusion. I'd like to have the brownish box at the same width as the white box.
>> 
>> Any ideas to obtain the desired look are welcome.
>> 
>> All the best,
>> Kristof
>> 
>> 
>> 
>> <1.png><2.png><3.png>
>> --
>> My PGP Public Key: http://kristofkoch.de/pgp/
>> 
>> To unsubscribe, send the message "signoff gmt-help" to [email protected]
> 
> To unsubscribe, send the message "signoff gmt-help" to [email protected]


--
My PGP Public Key: http://kristofkoch.de/pgp/


To unsubscribe, send the message "signoff gmt-help" to [email protected]
signature.asc (application/pgp-signature, 496 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJTEblRAAoJEJ3YS27/3eKHEmgH/A5n82wuzhxBNPD7xwN0v9un
LaOyr25H7j+V5BK9u8jsExessWePUXVWuinZh/zOEe+7VZJuBQy/Bn0fKO4aNTE8
arjaluIrwyw+WL8UwzQlluBYDpjcUEL1KPO59Qo1YkPL1Cw0kcnPAWNYgQNUcfDL
w3M8dhFa2Ymm5EHpfc17sl4ydmq9rGEwuDizM6P4inds7RmXdXRQsTBJDdGM/xg9
FZRMMqjQtbHXkCtWQZHkznWfIUKGqzBOTkw60VIIssAttMzPV7BN03qfNfsWw7oZ
bNd+6MJ9S/dipAuNsySaoSS4fagTKHi/DDdMTMMuu+AiSdUsOZ3See38EHzhQmw=
=9lU6
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.