{"id":79,"date":"2011-08-19T16:35:45","date_gmt":"2011-08-19T23:35:45","guid":{"rendered":"http:\/\/thelawlers.com\/Blognosticator\/?p=79"},"modified":"2011-10-30T21:24:44","modified_gmt":"2011-10-31T04:24:44","slug":"indent-to-here-and-using-grep-to-insert-it","status":"publish","type":"post","link":"https:\/\/thelawlers.com\/Blognosticator\/?p=79","title":{"rendered":"Indent-to-here, and using GREP to insert it"},"content":{"rendered":"<p><a href=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Blognosticator-Head4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-80\" title=\"Blognosticator Head\" src=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Blognosticator-Head4.png\" alt=\"\" width=\"252\" height=\"115\" \/><\/a><br \/>\n<em>This entry originally appeared in July, 2010 on <a href=\"http:\/\/www.whattheythink.com\">What They Think.<\/a><\/em><\/p>\n<p>A seldom-used, but extraordinarily powerful command in InDesign is the Indent-to-here command, which is generated by hitting Command-\\ (Control-\\ on Windows) at the point where you want an indent to occur.<\/p>\n<p>You can accomplish the same thing by using a Paragraph Style with indents, the first of which is a negative indent, followed by one or more tab characters to establish the subsequent indentations.<\/p>\n<p>The benefit of Indent-to-here is that you can decide to create an indentation anywhere using the command, and all of the text from that point onward will be indented, until the next carriage return. \u201cSoft Returns\u201d are included in the indent, so they don\u2019t cancel the effect.<\/p>\n<p>When I write tests I use Indent-to-here a lot. Anytime a question or possible answer exceeds one line, I use Indent-to-here to hold the indentation point of the question or the answer.<\/p>\n<p>The advantage of using Indent-to-here is that you can do different things on each line. In some cases the question takes more than one line; in other cases the answers take more than one line. In either event, the Indent-to-here command allows you to set the indent contextually.<\/p>\n<p><a href=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Indent-Here-Ex.1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-81\" title=\"Indent-Here Ex.1\" src=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Indent-Here-Ex.1.jpg\" alt=\"\" width=\"717\" height=\"111\" srcset=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Indent-Here-Ex.1.jpg 717w, https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Indent-Here-Ex.1-300x46.jpg 300w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/a><\/p>\n<p>This paragraph of text is \u201cnormal\u201d in that it runs-on. It can be made better by using the <em>Indent-to-here<\/em> command in InDesign (QuarkXPress also has one).<\/p>\n<p><a href=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Indent-Here-Ex.2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-82\" title=\"Indent-Here Ex.2\" src=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Indent-Here-Ex.2.jpg\" alt=\"\" width=\"706\" height=\"110\" srcset=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Indent-Here-Ex.2.jpg 706w, https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Indent-Here-Ex.2-300x46.jpg 300w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/a><\/p>\n<p>This second example has <em>Indent-to-here<\/em> placed before the \u201cSuppose\u201d which causes all text from that point, until the next carriage return, to be indented there.<\/p>\n<p><a href=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Indent-Here-Ex.3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-83\" title=\"Indent-Here Ex.3\" src=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Indent-Here-Ex.3.jpg\" alt=\"\" width=\"692\" height=\"134\" srcset=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Indent-Here-Ex.3.jpg 692w, https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/Indent-Here-Ex.3-300x58.jpg 300w\" sizes=\"auto, (max-width: 692px) 100vw, 692px\" \/><\/a><\/p>\n<p><em>Indent-to-here<\/em> will work anywhere. Though illogical, the paragraph above demonstrates this concept. Wherever you put it, indentation stays there.<\/p>\n<p>The second phase of this topic is getting the Indent-to-here command in there without having to go to the trouble to typing it in. InDesign supports what are called GREP searches, which is geek-speak for some very powerful search and replace functions that use \u201cregular expressions\u201d as either the search string or the replacement string.<\/p>\n<p>Using <em>Find and Change<\/em> in InDesign, and using the optional <em>GREP<\/em> functions, it is possible for me to search-and-replace all of the numbered paragraphs (questions) with an <em>Indent-to-here<\/em> command. And, using similar search strings, I can replace all of the alphabetic answer lines with an Indent-to-here command. These differ only in that answer lines have a slightly different structure: tab, letter, period, tab, copy. And, each one is a letter as opposed to a numeral.<\/p>\n<p><a href=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/IndentToHereGREP.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-84\" title=\"IndentToHereGREP\" src=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/IndentToHereGREP.png\" alt=\"\" width=\"504\" height=\"306\" srcset=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/IndentToHereGREP.png 504w, https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2011\/08\/IndentToHereGREP-300x182.png 300w\" sizes=\"auto, (max-width: 504px) 100vw, 504px\" \/><\/a><\/p>\n<p>The example here shows the use of GREP to search and replace, adding the <em>Indent-to-here <\/em>command into the text.<\/p>\n<p><em>GREP<\/em> can search for numerals (one or more in this case) and replace with a string, and then it can search for tab followed by a single letter followed by a period and a tab. GREP can differentiate between capital and lower case letters if you want.<\/p>\n<p>My solution is to insert the Indent-to-here command at every likely spot in a test where it might be helpful. In those lines where its function is moot, it is harmless. In any line that exceeds the line length, the Indent-to-here command causes the text to look, and read better.<\/p>\n<p>This simple command is a life-saver for excellent typography.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This entry originally appeared in July, 2010 on What They Think. A seldom-used, but extraordinarily powerful command in InDesign is the Indent-to-here command, which is generated by hitting Command-\\ (Control-\\ on Windows) at the point where you want an indent &hellip; <a href=\"https:\/\/thelawlers.com\/Blognosticator\/?p=79\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":3,"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":315,"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions\/315"}],"wp:attachment":[{"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}