Jump to content

[code] text [/code]


Recommended Posts

I don't if it's specific to my computer or my 'mature' eyes, but the text within code tags sure is hard to read... is there a way (either on your end or mine) to increase the size and/or change the font?

Link to comment
Share on other sites

OK, how is it now?


Some sample text to illustrate the readability of words and phrases when enclosed in CODE tags.

Code fragment to test readability:
(defun c:helix() 
 (setq spin -1); -1=CW, 1=CCW 
 (setq ri (getreal "Base radius: ") rf (getreal "Top radius: ")) 
 (initget (+ 1 4)) 
 (setq h (getreal "Height: ")) 
 (initget (+ 1 2 4)) 
 (setq tu (getreal "Number of turns: "))

I changed the color to black and increased the font size slightly.

Link to comment
Share on other sites

OK, I've made another tweak - that's probably as big as we want to go and is certainly readable - at least it is from where I'm sitting. :)


Note to self:

Increased text height to 14px and line height to 1.2em (original was 12px and 1em).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...