Adding a rectangle behind each piece of text in CS5

Hello

I'm doing a series of mosaics (30) and would like to have a white rectangle behind each piece of black text in a certain layer. I know how to add a rectangle and position it behind the text, but want to avoid this tedious process.

I understand that each piece of text has a "bounding box" - is there a way to add a fill to this area for all text at once?

Thank you

Mike.

Mike,

You can:

(1) select all instances of the Type,

(2) in the appearance palette dialog box select Add new fill, the slide down under characters and change its white color,

(3) with the selected white fill, effect > convert to shape with the desired thickness.

Edit: once again, Hey Kurt.

Tags: Illustrator

Similar Questions

  • Adding a graphic or a photo behind a block of text in InDesign CS

    Hello world

    I hope I can get help please on a problem I have. I'm without QuarkxPress to InDesign CS - after having for nearly six years! -thought it was time learn InDesign. So far, I really like it. But, I discovered a small problem I have encountered with Quark, but I'll have this with InDesign. I placed a vector image separately behind a block of text in title (also tried a photo). For some reason, the vector graphic completely covers the title text. I tried to 'put in the background,' which did not work, he was still covering the text. I made sure that there no fill color at all. I even tried to put the image on a separate layer 'behind' the title text and it still doesn't work. Could someone help me please. I would be so happy.

    Extract

    Two possibilities. The text is on a lower layer (which you say you checked) or you have applied to the cover image.

    Either disable it or select the text block, right click and select text properties of the frame, and then select ignore skin.

    Bob

  • Rectangle back on top of text lines when I achor the rectangle in the text.

    I would like to draw attention to a few lines of text in a large text frame. I put a rectangle around these lines, apply a nice color and move the rectangle behind the text. So far do good. I want to anchor the text rectangle if the rectangel with the text up and down. When I do that the rectangle automatically moves over the text again and the text is invisable. How can I stop this from happening?

    Anchor the value inline or above line position and twist the space before and after

  • How can I make a box colored around each line of text in a paragraph?

    I want to create a color block around or behind the text I type in a paragraph. Something similar to a highlighted in each line of text rather than the paragraph as a whole.

    All opinions are appreciated.

    Another way is to use paragraph nets. Simply adjust the weight, color, width and the Offset.

  • When I select a piece of text and click "Google search", a new tab opens. I don't like the switch. I want the result of the search in a background page.

    When I select a piece of text in a page, use the right mouse button and choose "Search"text"Google", I want a new tab open in a NEW TAB background. How is that defined? Thank you.

    OK, I found an answer on this subject in

    https://support.Mozilla.org/en-us/questions/952403

    «Hello, its possible to achieve through the settings in firefox - just enter on: config in the address bar of firefox (confirmed the message information where it appears) and search for the preference named browser.search.context.loadInBackground.» Double-click it and change its value to true. "

    Thank you!

  • Unable to paste the piece of text on any application/website running on browser Firefox beta 4

    Impossible to stick a piece of text on any application/website running on browser Firefox beta 4

    For me, it happened 2 times in the last 5 days. After all day extensive use of Firefox I just face that it no longer meets click on the link, but also copy-and - paste links. After restarting Firefox, everything works...

    Just a bad thing and another problem arise: I have to restart Firefox in safe mode only as some of my modules causes startup problems, but I could not assess which of them...

  • get rid of the pause of 2 seconds between each piece of music

    is it possible to get rid of the 2 second pause between each piece of music, I would like to burn continually.

    The following article might be worth a visit:

    Burn a CD or DVD in Windows Media Player:
    Frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/burn-a-CD-or-DVD-in-Windows-Media-Player-frequently-asked-questions
    (Scroll down to: why are there sometimes l)
    NGO gaps between songs on the CD I burn?)

    The following freeware can create an Audio CD (music) without interval:

    (FWIW) It's always a good idea to create a system
    Restore point before installing software or updates)

    CDBurnerXP
    http://www.CDBurnerXP.se/
    (Yes, it works on XP, Vista, 7)

    CDBurnerXP create Audio disk (surge arresters)
    http://CDBurnerXP.se/help/audio/compileaudio

  • How can I "RECORD each piece of data (and I mean everything!)" contained in the hard disk of the laptop? »

    How can I "RECORD each piece of data (and I mean everything!)" contained in the hard disk of the laptop? »

    I know PC never fade completely everything, so if there is a way to get personally, I'd really like the head upward on the how to do?  I would be better for me to download all this information on a PHDD, rather than handing the portable real in question so that its content of forensics experts, because current 'Communications Network serious security' we have been subjected to.

    Here you go:

    1. Use an imaging program to create a clone of your hard drive.
    2. Delete the original from your PC hard drive and keep it somewhere safe.
    3. Put the clone in the PC.
    It is the only way to really keep all while still able to use the PC.
  • There is an envelope with an 'i' next to each of these texts I send. It just started this morning when I sent a text message

    I woke up this morning and I send a text message to as usual but this time, after each of these texts, it has an envelope with an "i" icon So why does, the person becomes my texts? And how do I get rid of him?

    I think it has something to do with reading reports or non-delivery.  You use the default messaging app?  Are received and reports enabled in the application?

  • Assign styles to pieces of text XML

    Hello:

    I need to assign the style (bold, italic,...) to pieces of text in a textfield with embedded fonts (defaultTextFormat) which is loaded XML:
    -HTML tags: simply ignored
    -CSS:
    Error #2009: This method cannot be used on a text field with a style sheet.
    to flash. text::TextField / set defaultTextFormat()

    I guess that I am ignorant of something obvious, that it cannot be so difficult!

    XML file
    <! [CDATA [< span class = "solid" >]] > PRESIDENT <! [CDATA [</span > < br / >]] >
    ...

    AS3
    ...
    setTextFormat();
    setTexto (xmlData.texto);

    private function setTexto(texto:String):void {var

    style: StyleSheet = new StyleSheet();}
    strong var: Object = new Object();
    strong.fontWeight = "bold";
    style.setStyle (".strong", strong);

    item_txt = new TextField();
    item_txt. StyleSheet = style;
    item_txt.embedFonts = true;
    item_txt.defaultTextFormat = textDef_fmt;
    ...
    }

    private void setTextFormat() {

    //Embedded fonts library: Flash CS3}
    txtFont = new menuItems();
    textDef_fmt = new TextFormat();
    textDef_fmt.font = txtFont.fontName;
    ...
    }

    Thanks in advance

    a defaultTextFormat() Impossible to attribute to a textfield that has a style sheet property.  (and it is not necessary.)

  • Using text in CS5

    I hope I am posting this in the right froum. If this isn't the case, pease direct me to the correct one:

    I'm trying to find a tutorial for text in CS5. That's what I'm trying to do. A lack of mine friend a photo of a corn field with his name in it like the corn was cut off to make his name. I have the image of the cornfield. Can some one point me to a tutorial that will show me how to work with text to be able to do this? Thank you.

    Sometimes you just know the right term for Google...

    Here's a bunch of tutorials.

    http://www.Google.com/webhp?hl=en&tab=IW#sclient=psy&hl=en&safe=off&site=webhp&source=HP&q = photoshop + culture + circles + tutorial & to pbx = 1 & oq = Photoshop + culture + to circles & aq = 1v & to AQI g1g-v2g-j1g-b1 = & aql = & gs_sm = & gs_upl = 1629l8206l0l11170l25l19l1l3l3l0l271l2280l2.11.3 l 16 & to bav = we. 2, or.r_gc.r_ pw. & fp = be1ea878f92dcbd1 & biw = 1051 & bih = 701

  • Set the position of the cursor in the text added (to make the part of the text in index) in WORD using Report Generation Toolkit

    I would like to generate a report in WORD using the report generation toolkit.

    Whenever a text is added to the report, the program should put part of the text index. The problem I am facing with is to set the cursor position in the current location of the text.

    Any suggestions?

    Hello!
    I think that's what you wanted (see attachment).

    First, you must set position for each loop, so after adding the table, your cursor index need to increase the number of added characters. That's why I have included the text of the report, Append - to get the position of the cursor at the end.

    Indexing begins with 0, so you need to set the 3 and 7.

    Hope you get what I mean

  • Adding an amount of math to dynamic text

    Hi all

    I'm working on a keyboard that has a clock, allows you to enter an amount of time and then reverse this amount or add seconds.

    Here is the file: Flash movie

    As you can see there are a few things that I couldn't do because of my level of skill from the beginning:

    1 a) 14:34 is not really a clock works, its just the text. While he didn't need actually works like a real clock, it should have the colin flashing, and when you press one of the numbers 1-9, it should clear away and present: 00, or: 0 (number of powered button).

    1 (b) how to restrict the area of dynamic text to only four numbers in the form "xx: xx", where x is a number from 0 to 9, then a space on each side of the colin. Get numbers added the right first x and have pumped to the next placeholder. (dc: ba)

    (2) even once, press OK isn't really count anything, it just says: "cooking". "." The OK key, how to know the button down to 0 regardless of the number in the dynamic text box?

    (3) the Add button is supposed to add 2 seconds to any number (except the clock) is displayed in the dynamic text box, but he simply placed a 2 beside the numbers. If 01:04 is displayed, add pressed must assimilate 01:06, not 1:042

    Here is the code:


    Btn1.thenumber.text = "1";
    btn2.thenumber.text = '2 ';
    btn3.thenumber.text = '3 '.
    btn4.thenumber.text = '4 ';
    btn5.thenumber.text = "5";
    btn6.thenumber.text = "6";
    btn7.thenumber.text = "7";
    btn8.thenumber.text = '8 ';
    btn9.thenumber.text = "9";
    btn0.thenumber.text = '0 '.
    okButton.theNumber.text = "OK";
    cancel.theNumber.text = "CANCEL";
    addmore.theNumber.text = "add";
    theCode.text = '02:34;



    Btn1.onPress = function () {}
    theCode.text += '1 ';
    };
    btn2.onPress = function () {}
    theCode.text += '2 '.
    };
    btn3.onPress = function () {}
    theCode.text += '3 '.
    };
    btn4.onPress = function () {}
    theCode.text += '4 '.
    };
    btn5.onPress = function () {}
    theCode.text += "5";
    };
    btn6.onPress = function () {}
    theCode.text += "6";
    };
    btn7.onPress = function () {}
    theCode.text += "7";
    };
    btn8.onPress = function () {}
    theCode.text += "8."
    };
    btn9.onPress = function () {}
    theCode.text += '9 '.
    };
    btn0.onPress = function () {}
    theCode.text += '0 ';
    };
    okButton.onPress = function () {}
    theCode.text = "Cooking";
    };
    cancel.onPress = function () {}
    theCode.text = '02:34;
    };
    addmore.onPress = function() {}
    theCode.text = theCode.text + 2;
    }

    I'd do it in a completely different way. Use numbers and then display as text. For example, you do the math with the number and only change to the text when you want to display it. For example:

    If (myVar<>
    myVar = "0" + myVar
    }

    You can also code to check if the number is greater than 59, in which case he must go to '00' and the numbers hours increment.

  • Find the first paragraph of each specific chained text block...

    Hi all

    I have this kind of layout:

    Capture d’écran 2015-08-27 à 10.46.02.png

    Capture d’écran 2015-08-27 à 10.46.20.png

    ... with several groups of text blocks chained [red, green,...].

    I want to find in the identity document all the first para of each text block defined by a "BLOCK of TEXT GREEN" object style and apply a paragraph style "GREEN PARA STYLE while FIRST THE block"! as:

    Capture d’écran 2015-08-27 à 10.47.01.png

    Thank you much for the help!

    Here is a new version:

    main();
    
    function main() {
        if (app.documents.length > 0) {
            var story, containers, container,
            doc = app.activeDocument,
            stories = doc.stories;
    
            try {
                app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;
                app.findTextPreferences.appliedParagraphStyle = doc.paragraphStyles.item("GREEN PARA STYLE FIRST ON BLOCK");
                app.changeTextPreferences.appliedParagraphStyle = doc.paragraphStyles.item("GREEN PARA STYLE");
                doc.changeText();
                app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;
            }
            catch(err) {
                $.writeln(err.message + ", line: " + err.line);
            }
    
            for (var i = 0; i < stories.length; i++) {
                story = stories[i];
                containers = story.textContainers;
                if (containers.length > 1) { // process only chained text blocks
                    for (var j = 0; j < containers.length; j++) {
                        container = containers[j];
                        if (container.appliedObjectStyle.name == "GREEN TEXT BLOCK") {
                            try { // if the style or the 1st paragraph is missing, write error message to console and continue
                                container.paragraphs[0].appliedParagraphStyle = doc.paragraphStyles.item("GREEN PARA STYLE FIRST ON BLOCK");
                            }
                            catch(err) {
                                $.writeln(err.message + ", line: " + err.line);
                            }
                        }
                    }
                }
            }
        }
        else {
            alert("Please open a document and try again.", "Error", true);
        }
    }
    
  • Get the matrix of global position for each character of text

    This message follows this related post.

    I need to get the position and orientation of the first and the last character in a text frame art, in other words, I need its matrix.

    There are a number of functions of the API that is supposed to help you; An excerpt from the ATESuites.h file

    / * Return of this race transformation matrix.

    The returned array spesify transformation complete the given execution.  You must transform the original by IGlyphRun::GetOrigins() and

    Concat with ITextFrame::GetMatrix() in order to get the location of the glyphs.

    */

    ATEErr (* GetMatrix) (GlyphRunRef glyphrun, ASRealMatrix * ret);

    Therefore, get the matrix of the first character or glyph should look like this:

    AIErr

    VMGetFirstTextMatrix (AIArtHandle textArt, AIRealMatrix * matrix)

    {

    ASRealMatrix frameMatrix, glyphMatrix;

    ASRealPoint firstPoint;

    Try

    {

    TextFrameRef ateTextRef;

    sAITextFrame-> GetATETextFrame (textArt, & ateTextRef);

    TextFrame ITextFrame (ateTextRef);

    ITextLinesIterator lnItr = textFrame.GetTextLinesIterator ();

    TxtLine = lnItr.Item () ITextLine;

    IGlyphRunsIterator grItr = txtLine.GetGlyphRunsIterator ();

    GlyphRun IGlyphRun = grItr.Item ();

    IArrayRealPoint pointArray = glyphRun.GetOrigins ();

    firstPoint = pointArray.Item (0);   dating bad values!

    frameMatrix = textFrame.GetMatrix ();

    glyphMatrix = glyphRun.GetMatrix ();

    Scissor-> AIRealMatrixConcatTranslate (& glyphMatrix,

    (firstPoint.h, firstPoint.v);

    Scissor-> AIRealMatrixConcat ((AIRealMatrix *) & glyphMatrix,)

    (AIRealMatrix *) & frameMatrix,.

    matrix);

    return kNoErr.

    }

    catch (ATE::Exception e)

    {

    return e.error;

    }

    return kNoErr.

    }

    But the coordinates is returned in frameMatrix (tx and ty) or the firstPoint are clearly wrong. It seems they have a lag that is allmost constant.  The values of x are about 7664 too great points (give and take a few decimals), and values are about 7893 too large (also give and take a few decimals).

    I'm puzzled by this, reall because I need to get precise positions...

    Well, it worked eventually.

    The ITextFrame::GetMatrix() method generally returns an identity matrix, unless I moved or transformed the object frame of text on the artboard.  For example, if I duplicated a text image object by dragging the object while pressing the alt key, this matrix will be transformation relative to the object that it was created. Since it is a relative transformation, it is not hard or soft coordinates, so it is foolish to harden or soften (in fact, you shouldn't do).

    Then the IGlyphRun::GetMatrix() method typically returns the identity matrix, but will contain a rotation for example, if the object is a text on a path.

    Finally, the IGlyphRun::GetOrigins() method returns hard coordinates for each glyph, but without the frame matrix transformation.  This method is insensitive to the GetCoordinateSystem / SetCoordinateSystem functions of the following system and returns the hard coordinates launch.

    Thus, in order to get the actual art contact information for the Board of Directors of a glyph, the following code will do:

        IArrayRealPoint pointArray = glyphRun.GetOrigins();

        AIRealPoint firstPoint = pointArray.Item(0);

        AIRealMatrix frameMatrix = textFrame.GetMatrix();

        sMath->AIRealMatrixXformPoint( &frameMatrix, &firstPoint, &hardPoint);

        sHardSoft->AIRealPointSoften( &hardPoint, &glyphPoint);

    In order to obtain the matrix of the absolute position of the first glyph of an art of text frame, the following function seems to work:

    AIErr

    GetFirstTextMatrix(  AIArtHandle textArt, AIRealMatrix *matrix)

    {

        ASRealMatrix frameMatrix, glyphMatrix;

        ASRealPoint firstPoint, softPoint, hardPoint;

        try

        {

            TextFrameRef ateTextRef;

            sAITextFrame->GetATETextFrame( textArt, &ateTextRef);

            ITextFrame textFrame( ateTextRef);

     

            ITextLinesIterator lnItr = textFrame.GetTextLinesIterator();

            ITextLine txtLine = lnItr.Item();   

     

            IGlyphRunsIterator grItr = txtLine.GetGlyphRunsIterator();

            IGlyphRun glyphRun = grItr.Item();

     

            IArrayRealPoint pointArray = glyphRun.GetOrigins();

            firstPoint = pointArray.Item(0);

            sHardSoft->AIRealPointSoften( &firstPoint, &softPoint);

     

            frameMatrix = textFrame.GetMatrix();

            glyphMatrix = glyphRun.GetMatrix();

     

            sMath->AIRealMatrixXformPoint( &frameMatrix, &firstPoint, &hardPoint);

            sHardSoft->AIRealPointSoften( &hardPoint, &softPoint);

     

            sMath->AIRealMatrixConcat( (AIRealMatrix*) &glyphMatrix,

                      (AIRealMatrix*) &frameMatrix,

                      matrix);

     

            matrix->tx = softPoint.h;

            matrix->ty = softPoint.v;

     

            return kNoErr; 

        }

        catch (ATE::Exception e)

        {

            return e.error;

        }

    }

    But, this has not come easily, and I must be allowed to blame poor documentation on this subject...

    Agnar

Maybe you are looking for