% head.tex copyright 1992 Victor Eijkhout % copyright 2014--2016 Vafa Khalighi % % % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. % % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License % along with this program. If not, see . % % \Chapter Headings Headings for sections, chapters, and such, are an essential part of any \TeX\ macro package. In Lollipop they are maybe a bit less special: all options for headings are general options, meaning that they also apply to text blocks and lists. There are only two things that distinguish headings: \Enumerate \item there will be no page break after a heading; \item there is no closing command for a heading. \> \Section[sec:head:examples] Examples Headings are defined by \refcs{DefineHeading}. The most obvious element in a heading is the title, marked by the option \refopt{title}. The title is anything that follows the heading command, upto the first empty line. \Ver>\SomeHeading Some title And some text following it.\DefineExternalFile:contents=toc\DefineHeading:TestSection [...] external:contents title external:stop Stop