Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So if I use this command:

printf "this is a\ttest\n"

The output looks like this when using 2 different fonts (to copy it to a .doc file..):

enter image description here

So are there any ways to produce the same output (GNOME-TERMINAL vs. the look in the .doc file) using a non-monospaced font? I need to copy the output from the command line (Ubuntu 10.04 LTS, GNOME-terminal) to a .doc file, and in that .doc file could be only non-monospaced font.

Question: are there any ways?

share|improve this question

closed as not a real question by RedGrittyBrick, iglvzx, Paul, slhck, Nifle May 4 '12 at 17:37

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

No. You are better off embedding a fixed-width font into the document, than trying to "reinvent the wheel". – iglvzx May 4 '12 at 10:52
The question doesn't make sense. A monospaced font by definition has fixed widths for characters, a non-monospaced font by definition does not. So no, of course they can never look the same (voted not a real question - rhetorical) – Paul May 4 '12 at 12:29
so you mean that it's pointless to try to put "TABs" to have fixed length with a non-monospaced font? – LanceBaynes May 4 '12 at 15:03

Browse other questions tagged or ask your own question.