ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: Issues: framedtext and tables inside itemized list
Date: Fri, 26 Aug 2005 08:16:21 +0200	[thread overview]
Message-ID: <6faad9f00508252316bcac1b4@mail.gmail.com> (raw)
In-Reply-To: <ecca0b27050823150961c7e23@mail.gmail.com>

Eugene Toporov wrote:
>  1. Framed text width is calculated not as I expect. The sample below makes
> framedtext box appear partially on right margin
>  
>  \setupcolors[state=start]
>  \setuplayout[width=9cm]
>  \showframe
>  \starttext
>    \startitemize[n,packed]
>      \item A normal item paragraph, which normaly gets wrapped ok.\par
>       
> \startframedtext[background=screen,frame=off,width=\textwidth]
>          Some listing as framedtext whose width seems calculated
> incorrectly.
>        \stopframedtext
>    \stopitemize 
>  \stoptext

In LaTeX you have a \linewidth command (compare the difference with
\textwidth, which doesn't change):

\documentclass{article}
\begin{document}
linewidth: \the\linewidth, textwidth: \the\textwidth
\begin{itemize}
\item linewidth: \the\linewidth, textwidth: \the\textwidth
\end{itemize}
\end{document}

However, in ConTeXt the linewidth is reserved for "rule thickness" or
something similar. Which is the ConTeXt alternative to LaTeX's
\linewidth?

Mojca

  parent reply	other threads:[~2005-08-26  6:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-23 22:09 Eugene Toporov
     [not found] ` <430BBB53.3020703@gmail.com>
2005-08-24 23:32   ` Eugene Toporov
2005-08-26  6:16 ` Mojca Miklavec [this message]
2005-08-26 13:16   ` Taco Hoekwater
2005-08-26 17:27     ` Eugene Toporov
2005-08-27  7:11       ` Taco Hoekwater
2005-08-27 21:51         ` Mojca Miklavec
2005-08-29 13:35           ` Hans Hagen
2005-08-29 13:51             ` Taco Hoekwater
2005-08-30 16:27             ` Eugene Toporov
2005-08-29 11:12   ` Hans Hagen Outside

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=6faad9f00508252316bcac1b4@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.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).