Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
4 39 70
Impact
~851k people reached

17h
revised Document Layout Styles
Added closing comment.
17h
comment Document Layout Styles
@touhami It doesn't work as expected: after \renewcommand\secfnt{\Large\bfseries} the leading of the section title is twice that of what you'd get if you used \Large\bfseries in the running text. Also (IMHO) a key-value interface would be easier for the user.
1d
comment Document Layout Styles
@cfr (+1) That's exactly what I meant.
1d
comment Document Layout Styles
@touhami I am not sure how to explain this better than I did in my question.
1d
revised Document Layout Styles
blah blah blah
1d
revised Document Layout Styles
added 16 characters in body
1d
revised Document Layout Styles
added 106 characters in body
2d
revised Document Layout Styles
Added comment about next bounty
Aug
31
comment Document Layout Styles
@touhami Please notice that there's no need to prove your solution works with (math) displays. It's stated explicitly in my question.
Aug
31
comment Document Layout Styles
@DavidCarlisle (+1) I think you're right. That's about how I did it when I implemented this myself (but my solution isn't useful for the general public).
Aug
31
comment Document Layout Styles
I know it's not difficult. I implemented it myself:) All I'm looking for is something that's useful for the TeX community.
Aug
31
comment Document Layout Styles
Any size should be allowed. There are plenty of books that have sectional unit titles that don't fit the normal inter line spacing. For example, see LaTeX and Friends.
Aug
31
comment Document Layout Styles
(I overlooked something earlier on.) I don't think this is what I'm looking for. For example if I do, \renewcommand\subsecfnt{\tikz\draw (0,0) rectangle (1,1);\Large\bfseries}\section{Hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello}\subsection{World hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello} this affects the leading for the sectional unit titles. I would have hoped it wouldn't change. Also it would be nicer if there was a key-value API.
Aug
31
comment How to fill area bounded by two curves using tikzpicture
See here for Venn diagrams.
Aug
28
comment Document Layout Styles
I note that it's impossible to change the size of the type in the sectional unit headings. Changing the size of the type should be possible (and to any size). Perhaps I'm missing something. A well-defined interface would help to understand the implementation as well as the API.
Aug
28
comment Document Layout Styles
This may be a good start and the output looks good, but this solution does not have a particularly easy API for beginners. It would be nice if you could separate isolate the API in a separate style file and provide a key-value interface that lets the user define the style for the sectional unit headings. Ideally, the API should be monkey proof. E.g. it should only allow multiples of "standard leadings" for the (temporary) leading.
Aug
27
comment Customize a section title with Tikz
I noticed I made a type in my first comment. I should have written have a look at overlays in the TikZ manual, not ...in the TikZ picture,
Aug
27
comment Customize a section title with Tikz
@Ronny I'm sure this is possible but that's not what the OP was asking. I just wanted to show something to get started with.
Aug
27
comment Customize a section title with Tikz
After \tikz coordinate (first reference point);Your section title here\tikz coordinate (second reference point); You can then add your rectangles using the labels first reference pint and second reference point and positioning relative to current page.east and current page.west.
Aug
27
comment Customize a section title with Tikz
You can create them with overlay pictures that are positioned relative to the start and end of the text and the current page. Have a look at overlays in the TikZ picture. The following draws an arrow from the current position, to the left margin. \begin{tikzpicture}[overlay,remember picture] \draw[->] coordinate (here) (here) -- (current page.west|-here); \end{tikzpicture} When you implement this, make sure the rectangles bleed into the margin.