Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85654

Re: Python discussed in Nature

Newsgroups comp.lang.python
Date 2015-02-13 11:40 -0800
References <54dc6870$0$12981$c3e8da3$5496439d@news.astraweb.com> <6322f4fa-c8af-4051-b6c6-ff953bd928ca@googlegroups.com> <mbi1id$4eb$1@speranza.aioe.org> <3bfcd265-fb89-431c-b9b6-94b24b2ef025@googlegroups.com> <54dd6b76$0$12998$c3e8da3$5496439d@news.astraweb.com>
Message-ID <c8166316-ae96-44d0-8cb0-dd2bc53e1837@googlegroups.com> (permalink)
Subject Re: Python discussed in Nature
From John Ladasky <john_ladasky@sbcglobal.net>

Show all headers | View raw


On Thursday, February 12, 2015 at 7:12:01 PM UTC-8, Steven D'Aprano wrote:
> John Ladasky wrote:
> 
> > And I use Unicode in my Python.  In implementing some mathematical models
> > which have variables like delta, gamma, and theta, I decided that I didn't
> > like the line lengths I was getting with such variable names.  I'm using
> > δ, γ, and θ instead.  It works fine, at least on my Ubuntu Linux system
> > (and what scientist doesn't use Linux?).  I also have special mathematical
> > symbols, superscripted numbers, etc. in my program comments.  It's easier
> > to read 2x³ + 3x² than 2*x**3 + 3*x**2.
> 
> 
> Oooh! What is your font of choice for this?

Steven, I'm trying to answer your question.  It's proving to be harder than I expected.

The default font that the Geany program editor uses on my Ubuntu system renders everything I've tried.  When I look up that font in Geany's Preferences menu, it is called, simply, "monospace".

However, when I browse through fonts using the Ubuntu (14.04, 64-bit) Font Viewer, I do not find a font with that simple name.  I find several fonts whose name includes "mono" in the string: Liberation Mono, Nimbus Mono, Ubuntu Mono, etc.  All these fonts are listed as alternate choices in Geany's font selection menu.

Any Unicode that I use in my Python also renders nicely in the Ubuntu terminal.    In the Terminal Profile Preferences, the "use the system fixed width font" check box is selected.

So, it would appear that I'm using a font that the OS is selecting for me.  Which font that is, I'm still trying to figure out.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python discussed in Nature Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-02-12 19:46 +1100
  Re: Python discussed in Nature Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-12 09:19 +0000
  Re: Python discussed in Nature wxjmfauth@gmail.com - 2015-02-12 01:31 -0800
    Re: Python discussed in Nature Fabien <fabien.maussion@gmail.com> - 2015-02-12 12:07 +0100
      Re: Python discussed in Nature Marko Rauhamaa <marko@pacujo.net> - 2015-02-12 13:25 +0200
        Re: Python discussed in Nature Fabien <fabien.maussion@gmail.com> - 2015-02-12 12:33 +0100
          Re: Python discussed in Nature Marko Rauhamaa <marko@pacujo.net> - 2015-02-12 16:39 +0200
            Re: Python discussed in Nature Chris Angelico <rosuav@gmail.com> - 2015-02-13 02:59 +1100
              Re: Python discussed in Nature Marko Rauhamaa <marko@pacujo.net> - 2015-02-12 18:56 +0200
                Re: Python discussed in Nature Chris Angelico <rosuav@gmail.com> - 2015-02-13 04:08 +1100
                Re: Python discussed in Nature Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-02-13 14:07 +1100
            Re: Python discussed in Nature Sturla Molden <sturla.molden@gmail.com> - 2015-02-13 23:58 +0100
              Re: Python discussed in Nature wxjmfauth@gmail.com - 2015-02-14 00:39 -0800
      Re: Python discussed in Nature John Ladasky <john_ladasky@sbcglobal.net> - 2015-02-12 10:29 -0800
        Re: Python discussed in Nature Chris Angelico <rosuav@gmail.com> - 2015-02-13 05:37 +1100
          Re: Python discussed in Nature wxjmfauth@gmail.com - 2015-02-13 02:03 -0800
        Re: Python discussed in Nature Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-02-13 14:11 +1100
          Re: Python discussed in Nature wxjmfauth@gmail.com - 2015-02-12 23:05 -0800
          Re: Python discussed in Nature John Ladasky <john_ladasky@sbcglobal.net> - 2015-02-13 11:40 -0800
            Re: Python discussed in Nature Chris Angelico <rosuav@gmail.com> - 2015-02-14 09:45 +1100
              Re: Python discussed in Nature giacomo boffi <pecore@pascolo.net> - 2015-02-15 22:09 +0100
                Re: Python discussed in Nature Chris Angelico <rosuav@gmail.com> - 2015-02-16 09:16 +1100
        Re: Python discussed in Nature Rustom Mody <rustompmody@gmail.com> - 2015-02-12 20:07 -0800
          Re: Python discussed in Nature Terry Reedy <tjreedy@udel.edu> - 2015-02-13 00:24 -0500
          Re: Python discussed in Nature wxjmfauth@gmail.com - 2015-02-12 23:02 -0800
            Re: Python discussed in Nature wxjmfauth@gmail.com - 2015-02-13 01:36 -0800
  Re: Python discussed in Nature Ethan Furman <ethan@stoneleaf.us> - 2015-02-12 10:48 -0800

csiph-web