On 2011-01-13, Georg Brandl wrote:
> Am 12.01.2011 22:21, schrieb Kevin Cole:

>> I've tried a few different ways to get a document subtitle, but in
>> LaTeX, it interprets the subtitle as a section heading. Not what I
>> want at all.  Ideally, I'd want a line of text in a large font,
>> followed immediately by text in a smaller font.  But I could probably
>> live w/ two lines of equally large fonts.

> it's not possible with either rST or LaTeX to break a title in two lines.

The subject line can be interpreted in several ways:

1. In the rst source, a title needs to be on one line, i.e. ::

     ************
     A very
     long title
     ************
     
     Or another
     long title
     ==========
     
   will not work.

2. In the generated HTML or PDF output, title are wrapped like normal
   text.
   
In the body, you ask about subtitles:

In Docutils, "lone" subsections are converted to a section subtitle by a
transform activated with the ``--section-subtitles`` command line option or
the ``sectsubtitle-xform`` configuration value.

See http://docutils.sourceforge.net/docs/user/config.html
and the examples
http://svn.berlios.de/viewvc/docutils/trunk/docutils/test/functional/expected/standalone_rst_html4css1.html#section-title
http://svn.berlios.de/viewvc/docutils/trunk/docutils/test/functional/expected/standalone_rst_latex.tex
where the relevant source is
http://svn.berlios.de/viewvc/docutils/trunk/docutils/test/functional/input/data/standard.txt


AFAIK, this is not supported with Sphinx, but I'd love to be told
otherwise.

> What you could do is to just use strong emphasis:


> Title
>=====

> **Subtitle**

Günter


-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to