Reputation
932
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
7 26
Impact
~63k people reached

Dec
7
comment Calculating the the exact width of the text and a lettrine
The only problem with this solution seems to be that it interferes with my section and subsection counters which I use to set the titlemarks. This is not present in the MWE above though. Where do I need to insert the \stepcounter{subsection} code to let the subsection sync up with the Subsection? I've found a spot for the \stepcounter{section} just inside \newcommand{\Section} but inside \newcommand{\Subsection}, \stepcounter{subsection} doesn't seem to work.
Dec
5
comment Calculating the the exact width of the text and a lettrine
This seems like a good solution. Thanks. Might be what I've been looking for in the first place.
Dec
4
comment Disable automatic kerning
@egreg You might be right that I'm missing the mark on this. Although see my comment below on Ulrike's answer for more detail.
Dec
4
comment Disable automatic kerning
Thanks for the example. I've had a question in the past where I had to find the width of the text to include some lettrine in front of. tex.stackexchange.com/q/31459/7093 Even though in the general the answers were helpful, there remain always the cases where they just don't seem to work. So I'm just imagining that when I take the \textwidth it is value "A" and by the time the actual kerning and wrapping with value "B" is applied the width has changed to "A + B". Other than that I don't have a reason for thinking this. It's just in a some cases the solutions doesn't work.
Sep
20
comment Prevent the overflow of text
It appears to have done the trick. Thanks.
Sep
20
comment Prevent the overflow of text
Thanks. But I need a command that will instruct the whole document of about 1800 pages not to do this. So adding it manually would be a bit of an issue. Is there not some command I can place in the preamble?
Mar
23
comment Trim, crop, clip not working as expected in XeTeX
@JosephWright: Ok, thanks. Any particular alternative suggestions to use at this point? I unfortunately need to use XelaTeX due to other requirements.
Mar
12
comment Display and format of section and subsection in RTL (Hebrew)
@AlanMunn: Great thanks. It works. If you can put it as an answer I can accept it.
Jan
24
comment Customised section overlapping in margin
@MarcvanDongen: It works great. Thanks a lot for all the effort.
Jan
24
comment Customised section overlapping in margin
@MarcvanDongen: It doesn't appear that adding the first word to the \marginsec{} or rather \msection{} in my tex file, fixed the space issue. But that's the least of my problems right now.
Jan
23
comment Customised section overlapping in margin
@MarcvanDongen: Here is the TeX file. Demo File
Jan
23
comment Customised section overlapping in margin
@MarcvanDongen Thanks you've been a great help, so no problem for me to wait a bit. I'll pass that first word in there and fix that, thanks for the advice.
Jan
23
comment Customised section overlapping in margin
@Marc van Dongen: You could in theory just ignore the embedded image but here is the file. torahCropped.pdf If you look at the Hebrew in TorahCropped the verse numbers are left out in such a case. However if it is easier, just add them along with a comma or two.
Jan
23
comment Customised section overlapping in margin
@Marc van Dongen: Have a look at the 4th edit. I hope it makes better sense. BTW if you would like a "no-strings-attached" high quality free Bible head over to NoneOther.Name
Jan
23
comment Customised section overlapping in margin
Have a look at the picture in the third edit of my question for explanation of the above comment.
Jan
23
comment Customised section overlapping in margin
I really appreciate you help. However I still need to step up the counter by one, for every first verse of every chapter, because I am using the chapter number as the number of the first verse. I guess it need something like \advance\msec@count by 1\relax in the correct place. I'm just not sure where.
Jan
23
comment Customised section overlapping in margin
@Yiannis Lazarides: Marc van Dongen is right. However I'll upvote you because your solution can be helpful in my future projects and comes close to what I want. Have a look at Marc's answer below, he's got it figured out, it seems.
Jan
23
comment Customised section overlapping in margin
You are right I unfortunately did not specify it. I took it for granted that the solutions would take the chapter verse layout into account. If you could add it and it works I'll accept your answer. If you really feel this should be a separate question I can create another one. And you can answer it there with the extra reset feature, then I'll accept that too.
Jan
23
comment Customised section overlapping in margin
This looks like the solution. I can't quite figure out which counter to reset to 1 for resetting my verses after a chapter so that they can start from 1 again.
Jan
20
comment Customised section overlapping in margin
@YiannisLazarides The numbers are verses in the Bible indeed.