emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dov Grobgeld <dov.grobgeld@gmail.com>
To: Rodolfo Aramayo <raramayo@tamu.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Question about org-table
Date: Thu, 5 Apr 2012 12:11:54 +0300	[thread overview]
Message-ID: <CA++fsGE4_fmq3Weu-v13E8A2KfrO-n3XZbnbJnqpy86Qca53aw@mail.gmail.com> (raw)
In-Reply-To: <CAKHaNCpD4NHx+8AHmAC4HKZiAfkCOCnWRQ5u3Zx8d7UAHN+19w@mail.gmail.com>

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

I assume that your problem is due the long names in the column named
"protein". You can have org-table clip the columns to a more reasonable
length by adding a row that contains e.g. <20> in the column to clip. This
will clip the column to 20 characters. You can still edit the full column
contents by doing ~C-c `~.

Thus add the following new row in the beginning or the end of the table:

|        |            | <20>                 |
|        |

move to <20> and press C-c C-c.

See: http://orgmode.org/manual/Column-width-and-alignment.html

Regards,
Dov

On Thu, Apr 5, 2012 at 07:31, Rodolfo Aramayo <raramayo@tamu.edu> wrote:

> People,
>
> I am trying to use the powerful org-table features of org-mode to solve a
> simple problem
> I have imported a table from excel in both cvs and tab-delimited formats
> and converted the region to table
>
> the table looks like this:
>
> ##################################################################################
> | Entry | Entry name | Protein names | Gene names | Length
> |
>
> | Q01284 | 2NPD_NEUCR | Nitronate monooxygenase (EC 1.13.12.16)
> (2-nitropropane dioxygenase) (2-NPD) (Nitroalkane oxidase) | ncd-2
> G17A4.200 NCU03949 | 378 |
> | P05195 | 3DHQ_NEUCR | Catabolic 3-dehydroquinase (cDHQase) (EC 4.2.1.10)
> (3-dehydroquinate dehydratase) | qa-2 NCU06023 | 173
> |
> | Q7SDX3 | 3HAO_NEUCR | 3-hydroxyanthranilate 3,4-dioxygenase (EC
> 1.13.11.6) (3-hydroxyanthranilate oxygenase) (3-HAO) (3-hydroxyanthranilic
> acid dioxygenase) (HAD) (Biosynthesis of nicotinic acid
> protein 1) | bna-1 NCU03282 | 180
> |
>
> | P07046 | 3SHD_NEUCR | 3-dehydroshikimate dehydratase (DHS dehydratase)
> (DHSase) (EC 4.2.1.-) | qa-4 NCU06024 | 359
> |
>
>
> ##################################################################################
> but as soon as I try to align the columns, then org-table introduces a
> myriad of spaces where there were previously none
> Why is this happening?
> What am I doing wrong?
>
> I want to use org-mode for Bioinformatics and teach students to use it as
> a tool, but I cannot do it unless things work seamless on my hands
>
> Any help will be much appreciated
>
> --Rodolfo Aramayo, PhD
>

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

  reply	other threads:[~2012-04-05  9:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-05  4:31 Question about org-table Rodolfo Aramayo
2012-04-05  9:11 ` Dov Grobgeld [this message]
2012-04-06  8:02 ` Bastien

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=CA++fsGE4_fmq3Weu-v13E8A2KfrO-n3XZbnbJnqpy86Qca53aw@mail.gmail.com \
    --to=dov.grobgeld@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=raramayo@tamu.edu \
    /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).