How the style of text that is placed between the space characters

Via a paragraph style sheet, I need apply character styles to text that is enclosed in the white spaces.

For example:

The cat < < thinspace > > Sam < < thinspace > > on < < enspace > > < < enspace > > Carpet

In the light of the foregoing, "Sat" would have a character style while "Mat" will be another.

What is the best way to achieve this?

I know that Indesign has GREP styles, but that doesn't seem to work with the text placed between the space characters.

The only reason why I am using space characters is also because they are invisible when printing.

Is there another method for the text wrapping to tag as needing to be marked with a style?

Thank you!

Peter Spier says:

Where is Jongware when we need him?

By working?

I don't find anything wrong with the styles available in CS6, it is defined locally or in a style. Maybe there was an invisible error in the original style of GREP - say, something like a space at the end.

I agree with Peter, however, you might want to try other codes. Because

The only reason why I am using space characters is also because they are invisible when printing.

This is not the case... quite true. Of course, you don't see any markings on paper (or screen), but you pouvez see space between words is smaller and more!

But do not limit yourself with "invisible" codes You can use this trick to emulate type HTML styling: http://indesignsecrets.com/using-grep-styles-to-format-html-code-in-indesign.php

A big advantage is that with a click of a button, you can still get the visible 'invisible' codes. Just disable the GREP style that masks the codes or change its character style.

Tags: InDesign

Similar Questions

  • I have the scrolling text that is placed in a section of the page, it is in the right place on IE, Chrome, Safari, but not in Firefox?

    I have the scrolling text that is placed in a section of the page, it is in the right place on IE, Chrome, Safari, but not in Firefox?

    Can anyone tell me why and how I can fix it. The page is baystatewiring.com/blog.html

    You must make the float to left text box.

  • How can I save text that I use regularly in the emails to avoid having to retype it every time?

    How can I save text that I use regularly in the emails to avoid having to retype it every time?

    Try this add-on: https://addons.mozilla.org/en-US/thunderbird/addon/clippings/

    http://chrisramsden.vfast.co.UK/3_How_to_install_Add-ons_in_Thunderbird.html

  • Style of text that can be changed to auto-update of any instance of this class in the same project EA.

    In programs like Dreamweaver and Muse, we have a range of properties/tool to define and styles of text and stored to be reused and editable - so if you say change all the titles under the project in a different typeface, color, size etc. you can just change the settings in the css Panel (or equivalent). How do you do that on board? It must be possible, right?

    I use Edge animate 2015.

    Thanks, Shaun

    Hello

    You get by using code. You can browse your composition.

    Code tested with edge 6.0.0

    SYM.$("p") ==> returns paragraphs. If a collection.

    SYM.$("p"). each () ==> browse each item.

    SYM.$("p"). each (function(index,item) {}

    Console.log (sym. $(item). ) CSS('font-family')) ==> returns the family of police for each item

    } )

    Therefore, you can create a conditional statement.

    SYM.$("p"). each (function(index,item) {}

    If (sym. $(item). ) CSS('font-family') == "sought fonts") {sym. $(item). } {CSS({... new font...})} ;

    } )

    Note: jQuery is not necessary.

  • How the space is reused after update?

    General question Oracle if not sure db version is necessary to answer question but version 11.1.0.7

    I have an Oracle about 1 million lines table that contains 5 small varchar columns and a blob, blob images average size is 50 k. I am currently archiving of old images of blob on a local disk and affecting the image of the null BLOB.

    How Oracle reuses the space between blobs which I put to null? I really don't want the tablespace data files extend more and hope that before expanding, it will reuse the space between the blobs that are set to null.

    Thank you

    Hello

    A little test just to be sure:

    Creates a table lob_test (id number, blob of data);

    Filled the table with data and performing a data update lob_test = null;

    =================================================
    See below:

    SQL > select object_name, object_type from user_objects where
    object_type = 2 "LOB";

    OBJECT_NAME
    -------------------------------------------------------------------

    OBJECT_TYPE
    -------------------
    SYS_LOB0000059918C00002$ $
    LOB

    SQL >

    SQL > select round (sum (bytes) / 1024/1024) mb from WHERE user_segments where nom_segment
    = ' SYS_LOB0000059918C00002$ $";

    MB
    ----------
    13

    SQL > alter table lob_test modify lob (data) (shrink space);

    Modified table.

    SQL > select round (sum (bytes) / 1024/1024) mb from WHERE user_segments where nom_segment
    = ' SYS_LOB0000059918C00002$ $";

    MB
    ----------
    0

    SQL >

    =====================================================
    Conclusion: nulled blobs are actually picked up by a shrink operation!

    PS: the segment Advisor did not return all the advice to all the...

  • Delicate required... GREP style using a subexpression not staining to find space characters

    I have the section headers in my paper which have a paragraph that are applied to their style. They are always of the form \d\.\d\.\d\.\d(\t) follow in a short sentence of the text. For example:

    5.2.2.1 the rain in Spain falls gently on the crane

    I'm looking for a style GREP can highlight the character of each word with a character style, but not the spaces between words. It seems to imply nested iterations which I do not know how to do, including an expression not staining. Well, it isn't working how I think it should...

    5.2.2.1 the rain in Spain falls gently on the crane



    I think that this style of GREP should get it: (? < = \t) ((\S) +(?:\ s)) + positive looks on the tab between the last digit of the section number and the first word, but the hair subexpressions are not spaces to underscores, instead, I find myself with all the head text highlights as follows:


    5.2.2.1 the rain in Spain falls gently on the crane

    "Nonmarquantes" subexpressions mean nothing to InDesign; You can only use in search operations and replace GREP.

    There may be a single GREP (complicated) style that works, but it might be easier to point out everything and then apply a second GREP style that takes away the underlining of your spaces.

  • How to create instruction text that disappears in the fields

    Hello, all.  I'm a noob in the hope of getting some help creating a form.

    My idea is to have the instruction text in a form field that tells the user what type of information to understand, but then have this text disappears when the user accesses the form (be it on click, or by typing the first character, or something else).  I'm sure it can be done with javascript, but as a noob, I have no idea how to implement such a solution.  Any hints/help would be appreciated.

    Thanks in advance,

    /TW

    Here's what I've used in the past:

    var message = "Please enter your name here:'"

    If (event.value == ") {}

    Event.Target.Display = display.noPrint

    Event.Value = message

    } else {}

    Event.Target.Display = display.visible

    }

    Add this to the "Custom Format Script" for the field that you want to view and edit the message according to your needs.

  • How to have larger text that the text box so that it looks to break

    Hi all

    First of all, thank you for being so helpful last time!

    So here's my question, first of all, an illustration:

    Click and look at where he says "hector."

    http://www.Lulu.com/content/paperback-book/Hector/7496651

    I want to be higher than the black bar that sits on the white text, but I want the text to not be visible above the bar, so the final appearance will be that the top and the bottom of the text is limited. If I do the text to the size I want and then try to reduce the text box so that it is smaller, the text disappears and I get this little red box with the sign + in it (which indicates that there is in the invisible text box). I tried to make the text in Photoshop, and then import it, but unfortunately this particular text is kearning to make it look like how to do and this feature is not available in PS.

    Any suggestions? Thank you very much!!!

    Put the text in an image and do as you wish. Now select the text block and cut it to the Clipboard.

    Create a new image and choose paste into. Resize the new framework to crop the text as you wish.

    Bob

  • How to create a text that links to another page in the login page

    Hello

    I need this more basic things, but no one seems to be asking here.

    In the login page, I want to add a "Register" text when you click on sends the user to another page to register.

    With a button, its simple because its built-in, but I don't want a button, just that: register

    I also want to have the text in colour not black.




    Thank you.

    Leckraj

    Like this

    "Register " 
    

    Use your Page URL ' f? p = & APP_ID.: 2: & SESSION.' instead of #.

    Thank you
    Adkins

  • A control that is placed between two panels to resize them, what is it called?

    Hello

    the turn of Flex, there is this control between the tree view on the left and on the right web page. This control allows you to adjust the size of one control at the expense of the other.

    However, I'm new to Flex and I don't see any dragable control over the view of the components of my Premium Edition of Adobe Flash Builder 4.

    Can someone tell me what is this control?

    FlexWhatIsThis.png

    Thank you

    Didel

    It would be a HDividedBox in Flex.

  • The space characters?

    Can someone explain what is "spaces"?

    In general, when I hear the term I think unused disk space.  So with VMware, you can have it for a space

    (1) you create a 40 GB VMDK for installation of your virtual machine.  Default ESX will allocate all of the 40 GB on the disk, but you cannot use 25 GB of space in the virtual machine for the installation of the OS and data. If you have 15 GB of white space.

    (2) you create a VMFS 500 GB data store to store your virtual machines, but end up using 400GO, so you have 100 GB of white space.

  • How to make floating text at the bottom of the image that is 100% screen

    My jpg image works perfectly 100% if she grows as widens the window of the browser.

    But the text that I placed just below the image doesn't move, therefore, as increases the size of the image. The text remains in the same place regardless of the size of the browser window. So I have to have a large space below the image so that the image will not cover the text as the image grows. How can I make the text stay directly below the image at 100%, as it develops? The text should move from its position as the image grows.

    Here's a site that does exactly what I want. I need to content of the site always float upward or down to stay directly below the image. In the following case, the entire purpose of the site always float upwards or downwards based on the size of the browser window.

    Kukio Golf and Beach Club. Kona, Hawaii Luxury Real Estate

    Thank you!

    Lee

    You can use image fill or fill browser page and place the block of text as a width of 100%, where the two must be resized according to the size of the browser.

    The text will not move to different positions on the page but probably will resize itself.

    Thank you

    Sanjit

  • How can I do so that when I hit the "tab" key, it moves my text on five spaces?

    When you type normal text I want to hit the TAB key and have it move to the right of five spaces.  How do I do that?

    Do not use a tab.

    Define a first line indent.

    Type a few lines of your first paragraph, then look in the control at the top bar and find this:

    Click on the arrow pointing upwards and/or adjust the value of the field until you like the size of the Indent.

    Type the rest of your paragraph. When you press ENTER to start a new, the dash will automatically take effect.

    When you're ready to get more sophisticated, you can use one of your existing paragraphs to create a new Style of paragraph that you can apply them at will elsewhere.

  • How the color of the text that is created by CanvasDrawText() chang

    How the color of the text that is created by CanvasDrawText() chang?

    SetCtrlAttribute (Panel, PANEL_CANVAS, ATTR_PEN_COLOR, VAL_WHITE);

  • I used the snap, but went too far with the mouse that has placed the window out of view on the desktop. How I suddenly back

    I used the snap, but went too far with the mouse that has placed the window out of view on the desktop. How I suddenly back

    Try clicking on the Chrome icon & press f11 to maximize the screen.

    Kind regards

    Nicholas Lee Fagan

Maybe you are looking for

  • Binary Image Resizing background color problem

    Hello I'm trying to resize a table of binary images, and dsplay with a given time interval. I built a VI that works well as per my requirement but the problem is white turns blue,. I could not able to trace the problem exactly... could you suggest so

  • The individual windows and fonts in became very small and difficult to read.

    I changed the settings in the appearance section of the display window, all to nothing does not.  I tried to change the number of dpi and which only makes all of the smaller screen, but maintains the windows to the relatively small size even.

  • How to edit a television program recorded in media center 2002

    Using Media Center 2002, I recorded a show aired on NBC.  The program lasted 4 hours matching 9.75 GB.  I tried to use Microsoft movie maker to change the registered program to remove all of the many ads but the Director does not recognize the file. 

  • Catalog file Vista 64 missing file 'GlobalCatalog.wbcat'

    I need to fix my Mediaid.bin file.  I know how t o to fix but miss me 'GlobalCatalog.wbcat' in the file catalog I need catalog with this file inside the folder.  Also at least BackuoSet "YYYYMMDD" "xxxxxx" folder can be recreated I need too! I tried

  • displayorder bcdedit: /addlast or - addlast?

    At http://technet.microsoft.com/en-us/library/cc721886(v=ws.10).aspx there are two different versions of the bcdedit command.  I struggle to believe that both are correct. About 1/3 of the way to the bottom of the page, we see Bcdedit.exe displayorde