X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["1543" "Thu" " 3" "February" "1994" "09:25:25" "LCL" "Mike Piff" "M.Piff@sheffield.ac.uk" "<199402030929.AA14017@mail.cs.tu-berlin.de>" "58" "Re: Another optional argument for \\section etc. ?" "^Date:" nil nil "2" "1994020309:25:25" "Another optional argument for \\section etc. ?" nil nil]) Return-Path: Received: from sc.ZIB-Berlin.DE (mailserv) by dagobert.ZIB-Berlin.DE (4.1/SMI-4.0/24.6.93) id AA28409; Thu, 3 Feb 94 10:30:26 +0100 Received: from mail.cs.tu-berlin.de by sc.ZIB-Berlin.DE (4.1/SMI-4.0-sc/03.06.93) id AA21747; Thu, 3 Feb 94 10:29:24 +0100 Received: from tubvm.cs.tu-berlin.de by mail.cs.tu-berlin.de with SMTP id AA14017 (5.65c8/IDA-1.4.4(mail.m4[1.12]) for <@MAIL.CS.TU-BERLIN.DE:Schoepf@SC.ZIB-BERLIN.DE>); Thu, 3 Feb 1994 10:29:19 +0100 Message-Id: <199402030929.AA14017@mail.cs.tu-berlin.de> Received: from TUBVM.CS.TU-BERLIN.DE by tubvm.cs.tu-berlin.de (IBM VM SMTP V2R2) with BSMTP id 5290; Thu, 03 Feb 94 10:28:39 +0200 Received: from VM.URZ.UNI-HEIDELBERG.DE (NJE origin MAILER@DHDURZ1) by TUBVM.CS.TU-BERLIN.DE (LMail V1.2a/1.8a) with BSMTP id 5288; Thu, 3 Feb 1994 10:28:36 +0200 Received: from VM.URZ.UNI-HEIDELBERG.DE (NJE origin LISTSERV@DHDURZ1) by VM.URZ.UNI-HEIDELBERG.DE (LMail V1.2a/1.8a) with BSMTP id 2295; Thu, 3 Feb 1994 10:28:06 +0000 Reply-To: Mailing list for the LaTeX3 project Date: Thu, 3 Feb 1994 09:25:25 LCL From: Mike Piff Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: Another optional argument for \section etc. ? Status: R X-Status: X-Keywords: X-UID: 1414 %>From: Adrian F Clark %>JKM> May I ask for this new feature? %>JKM> Add a second optional argument to the command \chapter, \section, etc. in %>JKM> the following manner: %>JKM> %>JKM> \section[toc entry]{Actual section header, maybe looonnnngggg}[Running %> head] %> %>If one is allowe to vote new features in, I would also be very pleased %>to see this. There are quite a few occasions where I have had to %>start fiddling about with running heads just because the section title %>is rather long. Such a feature would be upwards-compatible (very %>important IMHO) and increase flexibility. %> I agree with this suggestion. Could I also suggest that \section* etc should also have a form \section*[toc entry]{Actual heading}[Running head] in which case the \section* *does* produce a TOC entry? (It is common to include Preface, Acknowledgements, etc in TOC.) One can of course do \def\Section#1#2#3#4#5{% \section*{#1}% \markxxx{#2}% \addtocontents{toc}{#3}% \openmfpicfile{#4}% \opensolutionfile{#5}% \def\solf{#5}% ... } \def\endSection{% \inputsolutions{\solf}% ... } and use \begin{Section} \end{Section} or whatever, at the risk of appearing controversial.-) Mike Mike %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Dr M J Piff, School of Mathematics and Statistics, University of %% %% Sheffield, UK. e-mail: M.Piff@sheffield.ac.uk %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%