![]() 3 ‘At least use a high quality heading’, Note of 17 October 2022. Specifically, in a previous Note, I lamented the pixellated header of sentencing remarks, and re-mastered it to be more pleasing and worthy of the dignity of HM Judiciary. Yet, here, my dear reader, your correspondent must confess that he may have inadvertently played some part in the creation of a great and profound evil, viz the header immediately above. This publication seeks to have a practical and tangible influence on legal style. Gentle reader, gaze upon it, if you dare: We are greeted by a ‘logo’ which is meaningless and generic, takes up nearly the entire text-width, mistakes the name of the judiciary (it is HM Judiciary), reduces the Royal Arms to a barely visible afterthought, and by use of some variant (I believe) of Transport looks like a highway sign. The beginning of the sentencing remarks is deeply unpromising. close analysis of a published judicial act. So it is that this publication returns to its bread and butter: 2 Those who abstain from gluten are invited to insert their own metaphor here. provide an excellent opportunity for analysis. judge’) in the murder case of R v Al-Jundi & El-Abboud, 1 Sentencing Remarks of 1 February 2023 available at this link. The recent sentencing remarks of the Recorder of London, HHJ Lucraft KC (hereinafter, ‘the hon. Set _new, though.T he recent trend towards the greater publication of sentencing remarks is a boon to the analysis of legal style (as well as to open justice). Occurrence CountĬount number of occurrences of a substring in a string:Ī as à às ao aos de da das do dos e em na nas no nosĪn and are at but for from if in is it's not of on orĪu aux avec dans des en et le la les ou par pour qui si It can do left-, right-, or center-justify, adjust the text width, and do hyphenation. Hv If you want to format the lines, look into textutil::adjust. # Replicate existing newline from text widget: # Otherwise, insert only the preceding character: # Identify beginning and end of text to format: A global variable "formawid" is set to hold the desired width in characters of the wrapped text, and the text widget (here, ".tx") is configured to that width, with word wrap: Here's some code I wrote that does this (feel free to suggest improvements). So, to get hard-wrapped text that looks right, you can determine the locations where the text widget ends the wrapped lines, and replicate the text with newlines at those locations. The Tk text widget, with word wrap on, displays wrapped text that reliably looks right, with no punctuation marks separated from the adjoining words. So, if you have a word (in the ordinary sense) preceded or followed by punctuation marks, string wordstart will treat the punctuation marks as separate "words," and they may not come out on the same line as the word they go with! ![]() McC: A problem with string wordstart, if you want hard-wrapped text that reliably looks right, is this (from the string wordstart page on the Wiki): "A word is considered to be any contiguous range of alphanumeric (Unicode letters or decimal digits) or underscore (Unicode connector punctuation) characters, or any single character other than these" (emphasis added).
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |