+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Forum Deity
    Using
    Civil 3D 2008
    Join Date
    Sep 2006
    Location
    Pittsburgh, PA, USA
    Posts
    3,581

    Default [code] text [/code]

    Registered forum members do not see this ad.

    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?

  2. #2
    Administrator CADTutor's Avatar
    Computer Details
    CADTutor's Computer Details
    Operating System:
    Windows 7 Home Premium 64bit
    Motherboard:
    Asus P7P55D-E PRO
    CPU:
    Intel Core i7-860
    RAM:
    4GB PC3-12800 C8 Corsair Dominator
    Graphics:
    NVIDIA Quadro FX 1800 768 MB
    Primary Storage:
    Intel X25-M SSD 160GB
    Secondary Storage:
    Samsung Spinpoint 320GB
    Monitor:
    BenQ FP241W 24" Wide
    Discipline
    Education
    CADTutor's Discipline Details
    Occupation
    Senior Lecturer (Digital Design), Landscape Architect & Web Designer
    Discipline
    Education
    Using
    AutoCAD 2017
    Join Date
    Aug 2002
    Location
    Hampshire, UK
    Posts
    3,715

    Default

    OK, how is it now?

    Code:
    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.
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.
    AutoCAD Tutorials | How to add images to your posts | How to register successfully | Forum FAQ

  3. #3
    Forum Deity
    Using
    Civil 3D 2008
    Join Date
    Sep 2006
    Location
    Pittsburgh, PA, USA
    Posts
    3,581

    Default

    Better... thank you. Another 'slight' increase of the size wouldn't hurt though.

  4. #4
    Administrator CADTutor's Avatar
    Computer Details
    CADTutor's Computer Details
    Operating System:
    Windows 7 Home Premium 64bit
    Motherboard:
    Asus P7P55D-E PRO
    CPU:
    Intel Core i7-860
    RAM:
    4GB PC3-12800 C8 Corsair Dominator
    Graphics:
    NVIDIA Quadro FX 1800 768 MB
    Primary Storage:
    Intel X25-M SSD 160GB
    Secondary Storage:
    Samsung Spinpoint 320GB
    Monitor:
    BenQ FP241W 24" Wide
    Discipline
    Education
    CADTutor's Discipline Details
    Occupation
    Senior Lecturer (Digital Design), Landscape Architect & Web Designer
    Discipline
    Education
    Using
    AutoCAD 2017
    Join Date
    Aug 2002
    Location
    Hampshire, UK
    Posts
    3,715

    Default

    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).
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.
    AutoCAD Tutorials | How to add images to your posts | How to register successfully | Forum FAQ

  5. #5
    Forum Deity
    Using
    Civil 3D 2008
    Join Date
    Sep 2006
    Location
    Pittsburgh, PA, USA
    Posts
    3,581

    Default

    Registered forum members do not see this ad.

    Better yet... thanks again

Similar Threads

  1. please chk some error at code (text align)
    By autolisp in forum AutoLISP, Visual LISP & DCL
    Replies: 0
    Last Post: 16th Jul 2010, 12:20 pm
  2. Need code to insert block to every text.
    By Nad SK in forum AutoLISP, Visual LISP & DCL
    Replies: 6
    Last Post: 18th Jan 2010, 12:11 pm
  3. Need to revise VB code to read text from DWG
    By zer0_code in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 16th Nov 2009, 04:44 pm
  4. Inserting Text with Code!?
    By matt41129 in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 8th Aug 2008, 09:47 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts