ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Patzer <lists@homerow.info>
To: ntg-context@ntg.nl
Subject: Re: horizontal list of sections/topics?
Date: Sun, 14 Feb 2016 12:48:16 +0100	[thread overview]
Message-ID: <20160214124816.207ed870@homerow> (raw)
In-Reply-To: <56BE5E7F.7080004@uni-bonn.de>

On Fri, 12 Feb 2016 23:36:47 +0100
"Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de> wrote:

> for my next presentation style, I would like to have a list of
> topics with the current topic highlighted. There are already two
> styles in simpleslides doing this, but this time, I'd like the
> list to be horizontal, at the bottom of the slide. Is there
> already a listalternative for this?

I did something similar for a few presentations and wrote a small
module:

  https://github.com/mpfusion/context-slide

> Or is it not too complex to have a \definelistalternative do this?
> Or would it be easier not to rely on the list mechanism but code
> something from scratch?

\definelistalternative is suitable for that, have a look at the
code:

  https://github.com/mpfusion/context-slide/blob/master/t-slide.mkvi#L285-L317

In that style the navigation bar is at the top. You can easily move
the layer to the bottom with

  \setuplayer
    [layer:toc:section]
    [y=\dimexpr\paperheight-6\exheight\relax]

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

  parent reply	other threads:[~2016-02-14 11:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-12 22:36 Thomas A. Schmitz
2016-02-12 22:58 ` Alan BRASLAU
2016-02-14 11:48 ` Marco Patzer [this message]
2016-02-16  9:20   ` Thomas A. Schmitz

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=20160214124816.207ed870@homerow \
    --to=lists@homerow.info \
    --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).