From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Make wide tables more readable Date: Thu, 1 Dec 2016 15:31:31 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1145b52cf7b50105429eb4c5 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCY10-0003QW-LT for emacs-orgmode@gnu.org; Thu, 01 Dec 2016 15:31:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCY0z-0002xn-AE for emacs-orgmode@gnu.org; Thu, 01 Dec 2016 15:31:34 -0500 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:38788) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCY0z-0002xM-3d for emacs-orgmode@gnu.org; Thu, 01 Dec 2016 15:31:33 -0500 Received: by mail-wm0-x232.google.com with SMTP id f82so259834295wmf.1 for ; Thu, 01 Dec 2016 12:31:32 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: David Talmage Cc: "emacs-orgmode@gnu.org" --001a1145b52cf7b50105429eb4c5 Content-Type: text/plain; charset=UTF-8 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. 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:17 PM, David Talmage wrote: > I'm looking for ways to make a wide table more readable. My motivation is > from a table that is too wide to fit on my screen. I need to be able to > see all of the contents of a cell. If it were just text, I'd use M-q > (fill-paragraph). I've already tried org-table-wrap-region and couldn't > figure it out. > > > --001a1145b52cf7b50105429eb4c5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I use:

;;;###autoload
(d= efun tq-increase-text-size ()
=C2=A0 "Increase text size.&qu= ot;
=C2=A0 (interactive)
=C2=A0 (set-face-attribute = 9;default nil :height
=C2=A0 =C2=A0 =C2=A0(truncate (* 1.1 (face-a= ttribute 'default :height)))))

;;;###autoload<= /div>
(defun tq-decrease-text-size ()
=C2=A0 "Decrease t= ext size."
=C2=A0 (interactive)
=C2=A0 (set-face-a= ttribute 'default nil :height
=C2=A0 =C2=A0 =C2=A0(truncate (* = 0.9 (face-attribute 'default :height)))))

which I bind to C-- and =C2=A0C-=3D to shrink the font size down until it= fits, then when I am done increase it.

John

-------= ----------------------------
Professor John Kitchin=C2=A0
Doherty Hal= l A207F
Department of Chemical Engineering
Carnegie Mellon University=
Pittsburgh, PA 15213
412-268-7803

On Thu, Dec 1, 2016 at 3:17 PM, David Talmag= e <david.talmage@shoutpoint.com> wrote:
I'm looking for ways to = make a wide table more readable.=C2=A0 My motivation is from a table that i= s too wide to fit on my screen.=C2=A0 I need to be able to see all of the c= ontents of a cell. If it were just text, I'd use M-q (fill-paragraph).= =C2=A0 I've already tried=C2=A0org-table-wrap-region and couldn't f= igure it out.



--001a1145b52cf7b50105429eb4c5--