emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* from headers to tables, wrap long lines automatically
@ 2020-10-16 15:52 Uwe Brauer
  2020-10-17  4:28 ` Axel Kielhorn
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Brauer @ 2020-10-16 15:52 UTC (permalink / raw)
  To: emacs-orgmode


Hi

Please look at this the resulting table has a very long entry. How could
I force a line break? Of course I can go to the table and wrap the line,
but this is not what I want.

Thanks 

Uwe Brauer 

#+begin_src 
*   University Göttingen
   :PROPERTIES:
   :COLUMNS:  %10IP(IP) %10TIT(Title) %17Date(Date) 
   :ID:       Issues
   :END:

** Grant 123456
   :PROPERTIES:
   :IP:       Bernhard Riemann
   :TIT:      The final and most convincing proof the the Riemann Hypothesis by very very elementary methods. 
   :DATE:     January 1859-Today
   :END:


#+TBLNAME: ucm
#+BEGIN: columnview :hlines 1 :indent nil :format "%50ITEM(Project) %5IP(IP) %12Date %5TIT(Titule)"
| Project              | IP               | Date               | Titule                                                                                          |
|----------------------+------------------+--------------------+-------------------------------------------------------------------------------------------------|
| University Göttingen |                  |                    |                                                                                                 |
| Grant 123456         | Bernhard Riemann | January 1859-Today | The final and most convincing proof the the Riemann Hypothesis by very very elementary methods. |
#+END
#+end_src





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: from headers to tables, wrap long lines automatically
  2020-10-16 15:52 from headers to tables, wrap long lines automatically Uwe Brauer
@ 2020-10-17  4:28 ` Axel Kielhorn
  0 siblings, 0 replies; 2+ messages in thread
From: Axel Kielhorn @ 2020-10-17  4:28 UTC (permalink / raw)
  To: Org-Mode Mailing List

Hallo Uwe,

> Please look at this the resulting table has a very long entry. How could
> I force a line break? Of course I can go to the table and wrap the line,
> but this is not what I want.
> 
> Thanks 
> 
> Uwe Brauer 
> 
> #+begin_src 
> *   University Göttingen
>   :PROPERTIES:
>   :COLUMNS:  %10IP(IP) %10TIT(Title) %17Date(Date) 
>   :ID:       Issues
>   :END:
> 
> ** Grant 123456
>   :PROPERTIES:
>   :IP:       Bernhard Riemann
>   :TIT:      The final and most convincing proof the the Riemann Hypothesis by very very elementary methods. 
>   :DATE:     January 1859-Today
>   :END:
> 

If you are exporting to LaTeX you could use something like:

#+attr_latex: :align lllp{3.5cm}  

> #+TBLNAME: ucm
> #+BEGIN: columnview :hlines 1 :indent nil :format "%50ITEM(Project) %5IP(IP) %12Date %5TIT(Titule)"
> | Project              | IP               | Date               | Titule                                                                                          |
> |----------------------+------------------+--------------------+-------------------------------------------------------------------------------------------------|
> | University Göttingen |                  |                    |                                                                                                 |
> | Grant 123456         | Bernhard Riemann | January 1859-Today | The final and most convincing proof the the Riemann Hypothesis by very very elementary methods. |
> #+END
> #+end_src

Greetings
Axel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-17  4:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-16 15:52 from headers to tables, wrap long lines automatically Uwe Brauer
2020-10-17  4:28 ` Axel Kielhorn

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).