emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: lists in tables (latex export)
       [not found] <e7d2b7f10c4948c5834ff19cc1c7aeb0@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-05-24  7:36 ` Eric S Fraga
  2016-05-24  9:59   ` Uwe Brauer
       [not found]   ` <333849b651b84523b08fed5cedb009e9@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  0 siblings, 2 replies; 9+ messages in thread
From: Eric S Fraga @ 2016-05-24  7:36 UTC (permalink / raw)
  To: emacs-orgmode

On Monday, 23 May 2016 at 20:34, Uwe Brauer wrote:
> Are there any plans for the future concerning such a feature?

probably very difficult, I would guess.  Alternatively, you could us
minipages and org special blocks to specify those?

As in:

#+begin_halfpageblock
Strengths:
- large
- simple
- green
#+end_halfpageblock
#+begin_halfpageblock
Opportunities:
- large audience
- no competition
#+end_halfpageblock

etc.

where you define a new halfpageblock environment in LaTeX.  See result
discussion on this list about defining environments.  (I'm offline at
the moment)

HTH,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213aa

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

* Re: lists in tables (latex export)
  2016-05-24  7:36 ` lists in tables (latex export) Eric S Fraga
@ 2016-05-24  9:59   ` Uwe Brauer
       [not found]   ` <333849b651b84523b08fed5cedb009e9@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  1 sibling, 0 replies; 9+ messages in thread
From: Uwe Brauer @ 2016-05-24  9:59 UTC (permalink / raw)
  To: emacs-orgmode

>>> "Eric" == Eric S Fraga <e.fraga@ucl.ac.uk> writes:

   > On Monday, 23 May 2016 at 20:34, Uwe Brauer wrote:
   >> Are there any plans for the future concerning such a feature?

   > probably very difficult, I would guess.  Alternatively, you could us
   > minipages and org special blocks to specify those?

   > As in:

   > #+begin_halfpageblock
   > Strengths:
   > - large
   > - simple
   > - green
   > #+end_halfpageblock

   > #+begin_halfpageblock
   > Opportunities:
   > - large audience
   > - no competition
   > #+end_halfpageblock

   > etc.

   > where you define a new halfpageblock environment in LaTeX.  See result
   > discussion on this list about defining environments.  (I'm offline at
   > the moment)

That is interesting, I could not get your example to work, but this is
due to lack of knowledge from my side. I will look into this in the
coming days. Thanks for pointing it out!

Uwe 

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

* Re: lists in tables (latex export)
       [not found]   ` <333849b651b84523b08fed5cedb009e9@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-05-24 14:39     ` Eric S Fraga
  2016-05-24 21:00       ` Uwe Brauer
                         ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Eric S Fraga @ 2016-05-24 14:39 UTC (permalink / raw)
  To: emacs-orgmode

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

On Tuesday, 24 May 2016 at 09:59, Uwe Brauer wrote:

[...]

> That is interesting, I could not get your example to work, but this is
> due to lack of knowledge from my side. I will look into this in the
> coming days. Thanks for pointing it out!

Try the attached.  I've put the individual boxes in actual drawn boxes
which may look silly if the boxes have different heights...

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-655-g9fb077

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: t.org --]
[-- Type: text/x-org, Size: 481 bytes --]

#+latex_header: \makeatletter\newenvironment{halfpageblock}{\begin{lrbox}{\@tempboxa}\begin{minipage}[t]{0.4\textwidth}}{\end{minipage}\end{lrbox}\fbox{\usebox{\@tempboxa}}}\makeatother

* Example of side by side boxes
This is some text that goes before the boxes.

#+begin_halfpageblock
Strengths:
- large
- simple
- green
#+end_halfpageblock
#+begin_halfpageblock
Opportunities:
- large audience
- no competition
#+end_halfpageblock

This is some text that goes after the boxes.

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

* Re: lists in tables (latex export)
  2016-05-24 14:39     ` Eric S Fraga
@ 2016-05-24 21:00       ` Uwe Brauer
       [not found]       ` <afc0cb2f4e5c4573b91e7b950fd86097@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
                         ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Uwe Brauer @ 2016-05-24 21:00 UTC (permalink / raw)
  To: emacs-orgmode

>>> "Eric" == Eric S Fraga <e.fraga@ucl.ac.uk> writes:

   > On Tuesday, 24 May 2016 at 09:59, Uwe Brauer wrote:
   > [...]

   >> That is interesting, I could not get your example to work, but this is
   >> due to lack of knowledge from my side. I will look into this in the
   >> coming days. Thanks for pointing it out!

   > Try the attached.  I've put the individual boxes in actual drawn boxes
   > which may look silly if the boxes have different heights...


Very cool, thanks a lot, this is almost what I want!

I will try to make it work with the solution as proposed by

http://www.mostlycolor.ch/2015/07/swot-matrices-in-latex.html

In case you are interested :-D

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

* Re: lists in tables (latex export)
       [not found]       ` <afc0cb2f4e5c4573b91e7b950fd86097@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-05-25  6:28         ` Eric S Fraga
  2016-05-25  6:55           ` Rasmus
  2016-05-25 14:47           ` Uwe Brauer
  0 siblings, 2 replies; 9+ messages in thread
From: Eric S Fraga @ 2016-05-25  6:28 UTC (permalink / raw)
  To: emacs-orgmode

On Tuesday, 24 May 2016 at 21:00, Uwe Brauer wrote:
> I will try to make it work with the solution as proposed by
>
> http://www.mostlycolor.ch/2015/07/swot-matrices-in-latex.html
>
> In case you are interested :-D

Interesting.  If you want to get this approach to work with org, you are
more likely to need to put in the LaTeX directives into the org file
directly instead of the solution I suggested:

#+latex: \begin{tcbraster}[raster columns=2, boxrule=0mm, arc=0mm]
#+latex: \begin{tcolorbox}[equal height group=A, size=fbox, colback=swotS!60, colframe=swotS!80!black, title=\textsc{strengths}]
- business 1
- business 2

etc. as I believe it would be difficult to pass options to org special
blocks.  But maybe others can chime in: can ATTR_LATEX, for instance, be
used to specify options for a #+BEGIN_XXXX block?

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.93.1, Org release_8.3.4-775-g3308a5

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

* Re: lists in tables (latex export)
  2016-05-25  6:28         ` Eric S Fraga
@ 2016-05-25  6:55           ` Rasmus
  2016-05-25 14:47           ` Uwe Brauer
  1 sibling, 0 replies; 9+ messages in thread
From: Rasmus @ 2016-05-25  6:55 UTC (permalink / raw)
  To: emacs-orgmode

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> etc. as I believe it would be difficult to pass options to org special
> blocks.  But maybe others can chime in: can ATTR_LATEX, for instance, be
> used to specify options for a #+BEGIN_XXXX block?

Yes.

#+attr_latex: :options [foo]
#+begin_bar
x
#+end_bar

-- 
Warning: Everything saved will be lost

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

* Re: lists in tables (latex export)
  2016-05-25  6:28         ` Eric S Fraga
  2016-05-25  6:55           ` Rasmus
@ 2016-05-25 14:47           ` Uwe Brauer
  1 sibling, 0 replies; 9+ messages in thread
From: Uwe Brauer @ 2016-05-25 14:47 UTC (permalink / raw)
  To: emacs-orgmode


    > On Tuesday, 24 May 2016 at 21:00, Uwe Brauer wrote:

    > Interesting.  If you want to get this approach to work with org, you are
    > more likely to need to put in the LaTeX directives into the org file
    > directly instead of the solution I suggested:

    > #+latex: \begin{tcbraster}[raster columns=2, boxrule=0mm, arc=0mm]
    > #+latex: \begin{tcolorbox}[equal height group=A, size=fbox, colback=swotS!60, colframe=swotS!80!black, title=\textsc{strengths}]

    > - business 1
    > - business 2


Thanks I will try this out and report back.

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

* HTML (was: lists in tables (latex export))
  2016-05-24 14:39     ` Eric S Fraga
  2016-05-24 21:00       ` Uwe Brauer
       [not found]       ` <afc0cb2f4e5c4573b91e7b950fd86097@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-05-25 14:49       ` Uwe Brauer
       [not found]       ` <c540c7600ebd475f8bbb7e6628a3ed7e@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  3 siblings, 0 replies; 9+ messages in thread
From: Uwe Brauer @ 2016-05-25 14:49 UTC (permalink / raw)
  To: emacs-orgmode

>>> "Eric" == Eric S Fraga <e.fraga@ucl.ac.uk> writes:

   > On Tuesday, 24 May 2016 at 09:59, Uwe Brauer wrote:
   > [...]

   >> That is interesting, I could not get your example to work, but this is
   >> due to lack of knowledge from my side. I will look into this in the
   >> coming days. Thanks for pointing it out!

   > Try the attached.  I've put the individual boxes in actual drawn boxes
   > which may look silly if the boxes have different heights...

Great, BTW, can I have something similar in HTML, I mean lists in tables
using your approach. That might come in  handy as well.....

thanks

Uwe 

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

* Re: HTML
       [not found]       ` <c540c7600ebd475f8bbb7e6628a3ed7e@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-05-25 19:06         ` Eric S Fraga
  0 siblings, 0 replies; 9+ messages in thread
From: Eric S Fraga @ 2016-05-25 19:06 UTC (permalink / raw)
  To: emacs-orgmode

On Wednesday, 25 May 2016 at 14:49, Uwe Brauer wrote:
> Great, BTW, can I have something similar in HTML, I mean lists in tables
> using your approach. That might come in  handy as well.....

This is outside my area of expertise indeed...  I would assume you
should be able to define a suitable CSS element akin to a new LaTeX
environment but, again, I'll let others chime in!

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.93.1, Org release_8.3.4-775-g3308a5

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

end of thread, other threads:[~2016-05-25 19:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <e7d2b7f10c4948c5834ff19cc1c7aeb0@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-05-24  7:36 ` lists in tables (latex export) Eric S Fraga
2016-05-24  9:59   ` Uwe Brauer
     [not found]   ` <333849b651b84523b08fed5cedb009e9@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-05-24 14:39     ` Eric S Fraga
2016-05-24 21:00       ` Uwe Brauer
     [not found]       ` <afc0cb2f4e5c4573b91e7b950fd86097@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-05-25  6:28         ` Eric S Fraga
2016-05-25  6:55           ` Rasmus
2016-05-25 14:47           ` Uwe Brauer
2016-05-25 14:49       ` HTML (was: lists in tables (latex export)) Uwe Brauer
     [not found]       ` <c540c7600ebd475f8bbb7e6628a3ed7e@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-05-25 19:06         ` HTML Eric S Fraga

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