ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: dobbels.geert@googlemail.com
To: ntg-context@ntg.nl
Subject: centered text in frame does not fit
Date: Thu, 26 Feb 2009 23:16:03 +0000	[thread overview]
Message-ID: <00163641793738dfd70463da897e@google.com> (raw)


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

Hi all,

After a couple of years of using an older context version, it was time to  
update the whole setup. So I installed the context standalone version. I  
was pretty impressed about the ease of installation compared to what I  
remember from previous experiences. However, using a piece of tex that  
never gave me problems before, I now see the following : as you will see in  
the example, I put a centered text within a frame, and for some reason the  
line is splitted (see center and right frame), while the same text in the  
same frames, using left or right alignment does not split the lines, so the  
text itself is not too long to fit...... This did not happen on my previous  
context installation..... what could be the cause ?

Thanks...

\starttext
\framed[width=\makeupwidth, height=3cm, align=right,strut=no,  
offset=none,frame=on]{
\framed[width=0.230\makeupwidth,height=3cm, align=center, frame=off,  
rightframe=on, offset=none] {Mydepname \crlf anotherline}
\framed[width=0.510\makeupwidth, height=3cm, frame=off, offset=none]
{\crlf \crlf {\bf Descripci\'on Nr: 70/123--634} \crlf {\it Information  
Document nr. 70/123--634} \crlf Final Version}
\framed[width=0.230\makeupwidth, height=3cm, align=center, frame=off,  
leftframe=on, offset=none]
{\crlf \tfx Fecha de emisi\'on: \crlf Date of issue: \crlf  
\currentdate[dd,--,mm,--,j] \crlf \crlf pagina/page {\pagenumber} de/of  
{\lastpage}}
}

\crlf \crlf \crlf \crlf \crlf
\framed[width=\makeupwidth, height=3cm, align=right,strut=no,  
offset=none,frame=on]{
\framed[width=0.230\makeupwidth,height=3cm, align=center, frame=off,  
rightframe=on, offset=none] {Mydepname \crlf anotherline}
\framed[width=0.510\makeupwidth, height=3cm, align=left, frame=off,  
offset=none]
{\crlf \crlf {\bf Descripci\'on Nr: 70/123--634} \crlf {\it Information  
Document nr. 70/123--634} \crlf Final Version}
\framed[width=0.230\makeupwidth, height=3cm, align=right, frame=off,  
leftframe=on, offset=none]
{\crlf \tfx Fecha de emisi\'on: \crlf Date of issue: \crlf  
\currentdate[dd,--,mm,--,j] \crlf \crlf pagina/page {\pagenumber} de/of  
{\lastpage}}
}
\stoptext

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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2009-02-26 23:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-26 23:16 dobbels.geert [this message]
2009-02-27  9:59 ` Wolfgang Schuster

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=00163641793738dfd70463da897e@google.com \
    --to=dobbels.geert@googlemail.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).