एक और विकल्प जिसकी मुझे अभी-अभी जानकारी मिली है, वह है ptxprint-mods.txt में निम्नलिखित शामिल करना:
\def\llapChapter{\edef\printchapter{\llap{\printchapter}}}
\setbookhook{start}{SNG}{\let\PrepChapterNumber\llapChapter}
\setbookhook{end}{SNG}{\let\PrepChapterNumber\relax}यह अध्याय संख्या को बाएं मार्जिन में (पूरी तरह से) बाहर निकालने के लिए सेट करेगा, जिसमें हुक्स (hooks) यह सुनिश्चित करते हैं कि यह केवल SNG में ही हो।
मैं बाएं मार्जिन, दाएं मार्जिन और जस्टिफिकेशन (justification) को अध्याय संख्याओं पर प्रभाव डालने के लिए भी काम कर रहा/रही हूँ...
(github) परीक्षण संस्करण में वर्तमान स्थिति:
यदि जस्टिफिकेशन को 'दाएं' (right) पर सेट किया जाता है, तो दायां मार्जिन (या, चूंकि rightmargin को ऋणात्मक सेट नहीं किया जा सकता है, यदि rightmargin को 0 पर छोड़ा जाता है तो leftmargin) अध्याय संख्या के दाएं किनारे की स्थिति निर्धारित करता है। (बाएं मार्जिन के सापेक्ष)। इससे ऊपर दिया गया कोड का टुकड़ा अनावश्यक हो जाएगा, एक बार जब यह किसी जारी संस्करण (released version) में आ जाएगा।
अन्य जस्टिफिकेशन सेटिंग्स के लिए, बायां मार्जिन अध्याय संख्या के बाएं पक्ष को मार्जिन के सापेक्ष इंडेंट/आउटडेंट करता है।
Another option which I've just realised exists is to include the following in ptxprint-mods.txt:
\def\llapChapter{\edef\printchapter{\llap{\printchapter}}}
\setbookhook{start}{SNG}{\let\PrepChapterNumber\llapChapter}
\setbookhook{end}{SNG}{\let\PrepChapterNumber\relax}This will set the chapter number to stick out into the left-margin (entirely), with the hooks setting that to only happen in SNG.
I've also been working on making left-margin, right-margin, and justification have an effect on chapter numbers...
Current state in (github) test-version:
If justification is set to 'right', then the right margin (or, since rightmargin can't be set negative, leftmargin if the rightmargin is left at 0) specifies where the right-hand edge of the chapter number sits. (relative to the left margin). This will make the above piece of code unnecessary, once it makes it to a released version.
For other justification settings, left margin indents / outdents the left side of the chapter number relative to the margin.
English से मशीन-अनुवादित