Help:Contents
From LTCCLispWiki
Contents |
How do I post program code so it displays as code?
Surround the code with the <pre> tag.
i.e. <pre> code </pre>.
A button was added to the edit menu for your convenience.

For Example:
<pre>
; Execute the restore function
(setq syslist (resvar syslist))
; restore the layer state
(gpla_layerstate 1)
(princ)
(setq *error* olderr)
</pre>
The tags will not display - the example above uses special characters to force the display of the tag as an example of what you will see in the edit window.
In "Edit" mode, in addition to the code icon above the edit box, you will see blue tags along the bottom. Selecting one will insert the tag at the cursor location.
How do I download some code?
Just cut and paste it from the browser.
For Example: Place your mouse cursor at the beginning of the code you want, by clicking, now scroll down to the ending line.
Holding the SHIFT key down, place the cursor with a mouse click - and the selection should highlight.
Control-C will copy to clipboard, or Right Click for context menu.
How do I add a page?
Create a login (upper right ).
After you are notified of the approval (via email), log in.
Think through the title of the page so the entry makes sense for others searching for your code.
Enter that title in the search box - click Go.
If that title is in this Wiki it will display; otherwise you have the option to create one.
You also can review all the pages in the wiki by selecting "All Pages" in the Navigation menu on the left.
How do I edit a page?
The edit option appears after you log in.
So if you do not have a login, create one (upper right ).
After you are notified of the approval (via email), log in.
How do I place special characters in html?
Below is a table of many common characters you might require in your program description.
ASCII Entities with Entity Names
| Result | Description | Entity Name | Entity Number |
|---|---|---|---|
| " | quotation mark | " | " |
| ' | apostrophe | ' (does not work in IE) | ' |
| & | ampersand | & | & |
| < | less-than | < | < |
| > | greater-than | > | > |
ISO 8859-1 Symbol Entities
| Result | Description | Entity Name | Entity Number |
|---|---|---|---|
| non-breaking space | |   | |
| ¡ | inverted exclamation mark | ¡ | ¡ |
| ¢ | cent | ¢ | ¢ |
| £ | pound | £ | £ |
| ¤ | currency | ¤ | ¤ |
| ¥ | yen | ¥ | ¥ |
| ¦ | broken vertical bar | ¦ | ¦ |
| § | section | § | § |
| ¨ | spacing diaeresis | ¨ | ¨ |
| © | copyright | © | © |
| ª | feminine ordinal indicator | ª | ª |
| « | angle quotation mark (left) | « | « |
| ¬ | negation | ¬ | ¬ |
| | soft hyphen | ­ | ­ |
| ® | registered trademark | ® | ® |
| ¯ | spacing macron | ¯ | ¯ |
| ° | degree | ° | ° |
| ± | plus-or-minus | ± | ± |
| ² | superscript 2 | ² | ² |
| ³ | superscript 3 | ³ | ³ |
| ´ | spacing acute | ´ | ´ |
| µ | micro | µ | µ |
| ¶ | paragraph | ¶ | ¶ |
| · | middle dot | · | · |
| ¸ | spacing cedilla | ¸ | ¸ |
| ¹ | superscript 1 | ¹ | ¹ |
| º | masculine ordinal indicator | º | º |
| » | angle quotation mark (right) | » | » |
| ¼ | fraction 1/4 | ¼ | ¼ |
| ½ | fraction 1/2 | ½ | ½ |
| ¾ | fraction 3/4 | ¾ | ¾ |
| ¿ | inverted question mark | ¿ | ¿ |
| × | multiplication | × | × |
| ÷ | division | ÷ | ÷ |

