ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* drop cap (initial) and indentation
@ 2021-07-18 21:54 Gerben Wierda
  2021-07-19  7:56 ` Nicola
  2021-07-19 13:56 ` drop cap (initial) and indentation Pablo Rodriguez
  0 siblings, 2 replies; 13+ messages in thread
From: Gerben Wierda @ 2021-07-18 21:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 952 bytes --]

With the following minimal example:

\definemeasure[CAindent][12pt]
% Every chapter body text starts with a drop cap:
\setupinitial[n=3,m=1,-\measure{CAindent}]]
\setupindenting[yes,\measure{CAindent}]

\starttext
\placeinitial S{\bf{\kap uppose we}} have a system for the approval of
loans. \input knuth
\stoptext

both the initial and the bold stuff after it is indented. With hoffset I can move the initial, but not what comes after. I have been experimenting but haven’t found a way to solve this.

Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>)
R&A Enterprise Architecture <https://ea.rna.nl/> (main site)
Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>

PS. switching \kap and \bf has an interesting result, the first character of the words is not in bold. This did not happen with lettrine in mkii


[-- Attachment #1.2: Type: text/html, Size: 5201 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-07-25 22:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-18 21:54 drop cap (initial) and indentation Gerben Wierda
2021-07-19  7:56 ` Nicola
2021-07-21 10:00   ` Use of lettrine module in LMTX Gerben Wierda
2021-07-21 20:38     ` Nicola
2021-07-22  8:05       ` Solution: LMTX initial (drop cap) in combination with indenting Gerben Wierda
2021-07-21 21:10     ` Use of lettrine module in LMTX Wolfgang Schuster
     [not found]       ` <E7086935-5930-40FD-926A-7B881F56E54A@rna.nl>
2021-07-23 11:04         ` Wolfgang Schuster
2021-07-23 13:10           ` Gerben Wierda
2021-07-23 13:27             ` Arthur Rosendahl
2021-07-25 20:14               ` Nicola
2021-07-25 20:53                 ` Modules under LMTX, was " Rik Kabel
2021-07-25 22:20                   ` Aditya Mahajan
2021-07-19 13:56 ` drop cap (initial) and indentation Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).