LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 12-15-2005, 01:13 PM   #1
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
Suggestion: add [tt] markup tag


Hi all.

It may just be meing typing \tt and \texttt and too often, but I think LQ lacks a `tt' (teletype) tag. True, there are the code tags, but they really disrupt the text flow. Example:

Define your own operator new which counts allocations.

versus

Define your own
Code:
operator new
which counts allocations.

There are other bad solutions:
  • using [ font="courier new" ]my code snippet [ /font ]. This has the [em]very[/em] bad side effect of making clients render the text in courier new instead of their preferred teletype font.
  • not doing anything: this might potentially make it unclear what's code and what's not.

In short, I see no good alternatives to a [tt] tag when that's what I need, so I propose it be added.

Kind regards,

Jonas Kölker

PS. I would also like to see [em] be added (it shows, doesn't it?).

Last edited by jonaskoelker; 12-15-2005 at 01:14 PM.
 
Old 12-15-2005, 02:38 PM   #2
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Rep: Reputation: 50
purist! i instead of em works well.

I tend to use bold for code when telling people what to type ie:
ping your IP address (italics show what they should fill in, not type directly) or cd ..

and the code tag for long lengths of code.

titanium_geek
 
Old 12-15-2005, 04:35 PM   #3
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Original Poster
Rep: Reputation: 47
Quote:
and the code tag for long lengths of code.
Agreed.

However, using i and b instead of em and tt seems like a kludgey workaround. I'd rather see things done right\footnote{I'm one of those folks who thinks web markup is only getting worse}.

Or have user comments be run through \texttt{latex2html}

Jonas Kölker.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
<br> tag paddyjoy Programming 7 12-08-2005 10:14 PM
[thread control suggestion] add a "solved" button that the thread starter can click atom LQ Suggestions & Feedback 3 03-24-2005 11:55 AM
GTK, pango markup shadowhunter Programming 0 06-18-2004 02:04 PM
Directory tag changes does nothing different robertoneto123 Linux - Networking 1 03-07-2004 11:10 AM
pdf markup under RH8/Gnome wvillers Linux - Software 2 02-08-2003 06:41 PM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 01:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration