emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Joost Kremers <joostkremers@fastmail.fm>
Cc: David Talmage <david.talmage@shoutpoint.com>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Make wide tables more readable
Date: Thu, 1 Dec 2016 16:12:14 -0500	[thread overview]
Message-ID: <CAJ51EToiJF4Z=2BDqkWJigwLaLmmjMLQc3H3XRsgKHTVivS6SQ@mail.gmail.com> (raw)
In-Reply-To: <87polbqt2i.fsf@fastmail.fm>

[-- Attachment #1: Type: text/plain, Size: 1403 bytes --]

If I had to guess its because I was unaware of that command when I wrote
those functions ;)

John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


On Thu, Dec 1, 2016 at 3:43 PM, Joost Kremers <joostkremers@fastmail.fm>
wrote:

>
> On Thu, Dec 01 2016, John Kitchin wrote:
>
>> I use:
>>
>> ;;;###autoload
>> (defun tq-increase-text-size ()
>>   "Increase text size."
>>   (interactive)
>>   (set-face-attribute 'default nil :height
>>      (truncate (* 1.1 (face-attribute 'default :height)))))
>>
>> ;;;###autoload
>> (defun tq-decrease-text-size ()
>>   "Decrease text size."
>>   (interactive)
>>   (set-face-attribute 'default nil :height
>>      (truncate (* 0.9 (face-attribute 'default :height)))))
>>
>> which I bind to C-- and  C-= to shrink the font size down until it fits,
>> then when I am done increase it.
>>
>
> Why not use `text-scale-adjust`? This function has convenient bindings in
> the form `C-x C-+` to increase text size, `C-x C--` to decrease, and `C-x
> C-0` to reset to default size. Furthermore, once you press any of these,
> you can simply use `+`, `-` and `0` for increasing, decreasing and
> resetting until you've found your preferred text size.
>
> --
> Joost Kremers
> Life has its moments
>

[-- Attachment #2: Type: text/html, Size: 2273 bytes --]

  reply	other threads:[~2016-12-01 21:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-01 20:17 Make wide tables more readable David Talmage
2016-12-01 20:31 ` John Kitchin
2016-12-01 20:43   ` Joost Kremers
2016-12-01 21:12     ` John Kitchin [this message]
2016-12-01 21:33       ` Clément Pit--Claudel
2016-12-01 22:47 ` David Talmage

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ51EToiJF4Z=2BDqkWJigwLaLmmjMLQc3H3XRsgKHTVivS6SQ@mail.gmail.com' \
    --to=jkitchin@andrew.cmu.edu \
    --cc=david.talmage@shoutpoint.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=joostkremers@fastmail.fm \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).