ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pavneet Arora <pavneet_arora@waroc.com>
To: ntg-context@ntg.nl
Subject: simpleslides help needed
Date: Tue, 17 Jul 2012 20:41:18 -0400	[thread overview]
Message-ID: <5006062E.8090602@waroc.com> (raw)

Hello all,

I am here at TUG 2012 updating the presentation that I am to give in the morning.

I have had a couple of lingering questions regarding simpleslides that I
thought I would put out there.  They are not show stoppers, and I have
lived with them in my other presentations.  It is just that with my
brain on TeX (and ConTeXt) for the past few days, I thought that I would
try to resolve them once and for all.

1.  Fonts

I would like to specify separate mainfont and bodyfont using the
simplefonts module (or some other consistent mechanism).

I have read the thread from:

http://www.ntg.nl/pipermail/ntg-context/2011/056495.html

and have tried to split up Wolfgang's suggestion into the two parts.  I
have tried:

\usemodule[simplefonts][size=18pt]
\setmainfont[grandesignneueserif]

\setupbodyfont[dejavuserif]

which gets me the title font, but not the body font.

The other approach:

\definetypeface[mainface][rm][serif][DejaVu Serif][default]
\definetypeface[mainface][ss][sans][DejaVu Sans][default]
\definetypeface[mainface][tt][mono][Inconsolata][default]
\setupbodyfont[mainface]

also doesn't seem to work at all.  I get what I believe to be Latin
Modern Sans across the board.

I have resorted to using one of the default fonts via the module switch
for now, but would like to customize the font selection to my taste.

2.  Margins

I have the following slide, where only the right margin is affected.  I
have tried variations on backspace, width and margin but haven't gotten
the left margin to move.

>>>>

\definelayout[quotation][leftmargin=1.5in,rightmargin=1.5in]

\SlideTitle{An exception: Lotus Improv, an exceptional spreadsheet}
\blank
\setuplayout[quotation]
\quotation{Pito Salas, a developer at ATG, decided to attack this problem. 
After a few months of studying existing real-world examples, it became clear 
that the data, views of that data, and the formulas that acted on that data were 
very separate concepts. Yet in every case, the existing spreadsheet programs 
required the user to type all of these items into the same (typically single) 
sheet's cells.}
\par
\setuplayout[reset]
\startalignment[flushright]
\blank[2*big]
{\em Source:  Wikipedia:Lotus Improv}

<<<<

I am sure that it is something simple that I am missing here, but any
guidance would be most appreciated.

Many thanks.

-- 
-----
- Pavneet Arora

___________________________________________________________________________________
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
___________________________________________________________________________________


             reply	other threads:[~2012-07-18  0:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18  0:41 Pavneet Arora [this message]
2012-07-18  3:33 ` Wolfgang Schuster
2012-07-23 21:21   ` Pavneet Arora
2012-07-24  4:22     ` Wolfgang Schuster
2012-07-24 10:51       ` Pavneet Arora
2012-07-24 11:44         ` Sietse Brouwer
2012-07-24 12:19           ` Pavneet Arora
2012-07-18  7:42 ` Hans Hagen
2012-07-18 11:23   ` Pavneet Arora
2012-07-18 12:13     ` Hans Hagen
2012-07-18 15:09     ` Aditya Mahajan
2012-07-18 15:18 ` Aditya Mahajan
     [not found]   ` <50080097.4030107@waroc.com>
2012-07-21 18:06     ` Aditya Mahajan

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5006062E.8090602@waroc.com \
    --to=pavneet_arora@waroc.com \
    --cc=ntg-context@ntg.nl \
    /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.
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).