Received: from webgate.proteosys.de (mail.proteosys-ag.com [62.225.9.49]) by lucy.proteosys (8.11.0/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id f1HMRbf05831 for ; Sat, 17 Feb 2001 23:27:37 +0100 Received: by webgate.proteosys.de (8.11.0/8.11.0) with ESMTP id f1HMRad20883 . for ; Sat, 17 Feb 2001 23:27:36 +0100 Received: from mail.Uni-Mainz.DE (mailserver1.zdv.Uni-Mainz.DE [134.93.8.30]) by mailgate1.zdv.Uni-Mainz.DE (8.11.0/8.10.2) with ESMTP id f1HMRVH01023 for ; Sat, 17 Feb 2001 23:27:31 +0100 (MET) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C09930.D48F1280" Received: from mailgate1.zdv.Uni-Mainz.DE (mailgate1.zdv.Uni-Mainz.DE [134.93.8.56]) by mail.Uni-Mainz.DE (8.9.3/8.9.3) with ESMTP id XAA02520 for ; Sat, 17 Feb 2001 23:27:31 +0100 (MET) Received: from mail.listserv.gmd.de (mail.listserv.gmd.de [192.88.97.5]) by mailgate1.zdv.Uni-Mainz.DE (8.11.0/8.10.2) with ESMTP id f1HMRUH01019 for ; Sat, 17 Feb 2001 23:27:30 +0100 (MET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from mail.listserv.gmd.de (192.88.97.5) by mail.listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <10.A40568AD@mail.listserv.gmd.de>; Sat, 17 Feb 2001 23:27:21 +0100 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 489724 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Sat, 17 Feb 2001 23:27:27 +0100 Received: from ix.urz.uni-heidelberg.de (mail.urz.uni-heidelberg.de [129.206.119.234]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id XAA27198 for ; Sat, 17 Feb 2001 23:27:26 +0100 (MET) Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by ix.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id XAA28766 for ; Sat, 17 Feb 2001 23:27:26 +0100 Received: from moutvdom01.kundenserver.de (moutvdom01.kundenserver.de [195.20.224.200]) by relay.uni-heidelberg.de (8.10.2+Sun/8.10.2) with ESMTP id f1HMRRx23888 for ; Sat, 17 Feb 2001 23:27:27 +0100 (MET) Received: from [195.20.224.209] (helo=mrvdom02.schlund.de) by moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id 14UFp0-0000sR-00 for LATEX-L@urz.uni-heidelberg.de; Sat, 17 Feb 2001 23:27:18 +0100 Received: from manz-3e364810.pool.mediaways.net ([62.54.72.16] helo=istrati.zdv.uni-mainz.de) by mrvdom02.schlund.de with esmtp (Exim 2.12 #2) id 14UFpo-0004sW-00 for LATEX-L@URZ.UNI-HEIDELBERG.DE; Sat, 17 Feb 2001 23:28:08 +0100 Received: (from latex3@localhost) by istrati.zdv.uni-mainz.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA07094; Sat, 17 Feb 2001 23:24:46 +0100 In-Reply-To: <3A8EB7A7.8F128303@macrotex.net> References: <200102122049.f1CKnvi13875@smtp.wanadoo.es> <3A8EB7A7.8F128303@macrotex.net> Return-Path: X-Mailer: VM 6.75 under Emacs 20.4.1 X-Authentication-Warning: istrati.zdv.uni-mainz.de: latex3 set sender to frank@mittelbach-online.de using -f Content-class: urn:content-classes:message Subject: Re: User question about captions Date: Sat, 17 Feb 2001 23:24:46 +0100 Message-ID: <14990.64046.114971.743256@istrati.zdv.uni-mainz.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Frank Mittelbach" Sender: "Mailing list for the LaTeX3 project" To: "Multiple recipients of list LATEX-L" Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 3964 This is a multi-part message in MIME format. ------_=_NextPart_001_01C09930.D48F1280 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Adam, > I am not sure if it is appropriate to post "user"-level questions > to this list, so if it is not, please let me know. it definitely is! after all you are using or trying to use/experiment = with experimental code --- all that is discussed here. > I am using the xor experimental code and would like to declare > a new float type that has _no_ caption at all. had to remind myself (being currently absorbed in language stuff as one = may have noticed) but here we go: Float formatting is actually separated in several parts, there is a declaration that declares a float type, ie \DeclareFloatType. On that level there isn't a way to say this type has no caption = (perhaps there should) But there is also a point where the final float is mounted which is the template "buildfloat". The latter defines how a float body is combined = with its caption and allows to reformat the caption according to certain needs. Now in the code there are three templates of type buildfloat predefined, putting the caption above below and (can't remember). So what would solve the problem is to define another template of that = type that simply doesn't typeset any caption, eg \DeclareTemplate{buildfloat}{centerednocaption}{5} {} { \DoParameterAssignments \hsize=3D#5\columnwidth \global\setbox\this@captioned@float\vbox{ \copy#1 } } % (the template code is a little weired but normally one should not have = any % need to write such a thing) % you best put that into xo-capt.sty for the moment and then make an instance for your new floattype \DeclareInstance{buildfloat}{myfloattype}{centerednocaption}{} Guess this does need some more thought at some point. It is already = mentioned that none of the builtfloat templates are really proper templates, since = they do not have suitable prarameters but instead everything is hardwired. Probably the buildfloat templates should recognise if a caption is not = present and in that case act accordingly anyway. hope this works (I haven't actually checked it) good night frank ------_=_NextPart_001_01C09930.D48F1280 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: User question about captions

Adam,

 > I am not sure if it is appropriate to post = "user"-level questions
 > to this list, so if it is not, please let = me know.

it definitely is! after all you are using or trying to = use/experiment with
experimental code --- all that is discussed = here.

 > I am using the xor experimental code and = would like to declare
 > a new float type that has _no_ caption at = all.

had to remind myself (being currently absorbed in = language stuff as one may
have noticed) but here we go:

 Float formatting is actually separated in = several parts, there is a
 declaration that declares a float type, ie = \DeclareFloatType.

 On that level there isn't a way to say this type = has no caption (perhaps
 there should)

 But there is also a point where the final float = is mounted which is the
 template "buildfloat". The latter = defines how a float body is combined with
 its caption and allows to reformat the caption = according to certain
 needs. Now in the code there are three = templates of type buildfloat
 predefined, putting the caption above below and = (can't remember).

 So what would solve the problem is to define = another template of that type
 that simply doesn't typeset any caption, = eg

 \DeclareTemplate{buildfloat}{centerednocaption}{5}
 {}
 {
  \DoParameterAssignments
  \hsize=3D#5\columnwidth
  \global\setbox\this@captioned@float\vbox{ = \copy#1 }
 }

% (the template code is a little weired but normally = one should not have any
% need to write such a thing)
% you best put that into xo-capt.sty for the = moment

and then make an instance for your new = floattype

 \DeclareInstance{buildfloat}{myfloattype}{centerednocaptio= n}{}


Guess this does need some more thought at some point. = It is already mentioned
that none of the builtfloat templates are really = proper templates, since they
do not have suitable prarameters but instead = everything is hardwired.

Probably the buildfloat templates should recognise if = a caption is not present
and in that case act accordingly anyway.

hope this works (I haven't actually checked it)

good night
frank

------_=_NextPart_001_01C09930.D48F1280--