ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Unequal width columns
@ 2016-08-09  2:12 Kip Warner
  2016-08-09 13:21 ` Jean-Pierre Delange
  0 siblings, 1 reply; 3+ messages in thread
From: Kip Warner @ 2016-08-09  2:12 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 603 bytes --]

Hey list,

I am trying to typeset a document similar to below:

http://www.heptalysis.com/downloads/heptalysis_executive_summary_templa
te.pdf

My issue is with creating two columns of unequal width. As you can see
the left column is smaller than the right side. I've tried the
following:

\startcolumns[n=2,rule=on]
...left side contents...
\column
...right side contents...
\stopcolumns

Is there no way to set the first column to, say, 0.33\textwidth ?

Regards,

-- 
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


[-- Attachment #1.1.2: Type: text/html, Size: 1078 bytes --]

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Unequal width columns
  2016-08-09  2:12 Unequal width columns Kip Warner
@ 2016-08-09 13:21 ` Jean-Pierre Delange
  2016-08-09 20:33   ` Kip Warner
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Pierre Delange @ 2016-08-09 13:21 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1650 bytes --]

Hi Kip,


Maybe you can try this :

\defineparagraphs[TwoColumns][n=2, align={hz,hanging}]
\setupparagraphs[TwoColumns][1][width=52pt, style=italic, align=left]
% Note : you can play with the width.

\starttext
\startTwoColumns
Yourtext1\TwoColumns
Yourtext2
\stopTwoColumns \stoptext If you read French, see samples here : 
https://fr.wikibooks.org/wiki/ConTeXt#Texte_sur_2_colonnes.2C_avec_des_graisses_diff.C3.A9rentes_et_du_grec_ancien 


Hope I don't send Owls to Athens ...
JP
Le 09/08/2016 à 04:12, Kip Warner a écrit :
> Hey list,
>
> I am trying to typeset a document similar to below:
>
> http://www.heptalysis.com/downloads/heptalysis_executive_summary_template.pdf
>
> My issue is with creating two columns of unequal width. As you can see 
> the left column is smaller than the right side. I've tried the following:
>
> \startcolumns[n=2,rule=on]
> ...left side contents...
> \column
> ...right side contents...
> \stopcolumns
>
> Is there no way to set the first column to, say, 0.33\textwidth ?
>
> Regards,
>
> -- 
> Kip Warner -- Senior Software Engineer
> OpenPGP encrypted/signed mail preferred
> http://www.thevertigo.com
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 3716 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Unequal width columns
  2016-08-09 13:21 ` Jean-Pierre Delange
@ 2016-08-09 20:33   ` Kip Warner
  0 siblings, 0 replies; 3+ messages in thread
From: Kip Warner @ 2016-08-09 20:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 906 bytes --]

On Tue, 2016-08-09 at 15:21 +0200, Jean-Pierre Delange wrote:
> Hi Kip,
> 
> 
> Maybe you can try this :
> 
> \defineparagraphs[TwoColumns][n=2, align={hz,hanging}]
> \setupparagraphs[TwoColumns][1][width=52pt, style=italic, align=left]
> % Note : you can play with the width.
> 
> \starttext
> \startTwoColumns
> Yourtext1\TwoColumns
> Yourtext2
> \stopTwoColumns \stoptext If you read French, see samples here : 
> https://fr.wikibooks.org/wiki/ConTeXt#Texte_sur_2_colonnes.2C_avec_de
> s_graisses_diff.C3.A9rentes_et_du_grec_ancien 

Hey Jean-Pierre,

That works wonderfully, except that for some reason all of the white
space between paragraphs is gone in the second column. I'm not sure why
since I have...

    \setupwhitespace[medium]
    \setupblank[big]

-- 
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2016-08-09 20:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-09  2:12 Unequal width columns Kip Warner
2016-08-09 13:21 ` Jean-Pierre Delange
2016-08-09 20:33   ` Kip Warner

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 NNTP newsgroup(s).