Matter of style re: line style

Hello

I wrote a style that makes the first line of a paragraph in small capitals. (It's a line style nested inside a paragraph style). There is also a drop cap. I've applied to text and was happy, except that I did not like what looked like the end of the first line, when the word was a hyphen. So, I went back to the underlying and selected character style WITHOUT BREAKING. I have applied the new style and got some surprising results. See screenshot below. It worked - each front-line IS in small capitals and there are no hyphens in the first line, which is what I want. However, the drop cap has become corrupted in some places. I tried this style with cool text and got the same results. My question is: why this style causes corruption in the alphabet? "corruption," I mean that the text does not flow around the drop cap as expected.  Thank you.

Example 1a.jpg

No break means that the text will not break. Never. If there is more text that fits on one line, the text is flowed up to the it finds a line long enough for all of this, which means generally that it disappears, since there is no such line in any block of text. Turn off hyphenation to make paragraph insert a conditional hyphen (command) - before the word you want not hyphen.

Tags: InDesign

Similar Questions

  • Matter of style re: color of the drop cap, the rest of the text in black

    Hello... I'm trying to achieve this result by using character paragraph styles / nested:

    1.jpg

    Instead, that's what I mean:

    12-22-2010 10-20-11 PM.jpg

    I have a paragraph with a nested character style style. The paragraph style specifies the point of using a drop cap with 4 lines. The nested character style tells the paragraph to the first three words in a special font and some red CMYK color. But I can't understand how to tell the style also put the drop cap in the same color. Help!

    Thank you.

    the character of the dropcap style there red color value itself?

    PARK style of paragraph for a moment, go to the style of CHARACTERS assigned to the dropcap letter and look at the options. Look at the color of the text and see if it is red or not.

    Does that help?

  • Matter of style BasicEditField

    Hi all

    IM using BasicEditField that I need to enter the characters in all CAPITALS, so I used the "BasicEditField.FILTER_UPPERCASE" style, when I did I was able to enter the uppercase characters, but I'm not able to enter the SPACE.  I travel in Virtual_KEY_BOARD in the space key is disabled.

    Same BasicEditField.FILTER_UPPERCASE | "BasicEditField.FILTER_DEFAULT" is also down. So how to get there, one guide me.

    Thanks in advance

    Anil

    This give a try.

    UppercaseTextFilter uptf = new UppercaseTextFilter() {}
    public char convert (character char, int status) {}
    If (character == Characters.SPACE) {}
    Returns the character;
    }
    Return super.convert (character, status);
    }
    public boolean validate (char character) {}
    If (character == Characters.SPACE) {}
    Returns true;
    }
    Return super.validate (character);
    }
    };
    BasicEditField bef = new BasicEditField ("upper Test:", null);

    I think bef attributes appropriate for you.

  • matter of style selectManyChoice

    Hello

    I am currently using JDeveloper 11.1.1.6 and my client asks that I resize a control selectManyChoice in height.

    I tried to adjust af. selectManyChoice::control (since I noticed that it's the real selector which makes resizing) to 30px, but nothing happened. Then I tried change it Firebug, and still it didn't work. Inside the firebug, that I also tried to add a padding of 20px and only resized my component. However, applying this exact same padding (with! important) in my css file does not modify this component at all.

    I also applied this padding to af. selectManyChoice::dropdown and af | selectManyChoice::content and it worked.

    My question is why when I apply the same style to the FA. selectManyChoice::control it does not work.

    Thank you

    Toma

    Hi Tom,

    Can you please let me know if that's what you're looking to achieve? It seems that the class, you must change the control one.

    snaggy - paste pictures!

    Concerning

  • Matter of style CSS in Dreamweaver

    HI - hope someone can offer some suggestions.  I manage this for my client:

    http://www.gulfspillrestoration.NOAA.gov/

    My client wants to change the cover page, as seen above, it looks like this:

    mock.jpg

    Originally, I created an iframe which worked perfectly.  The iframe is designed in Muse, then iframed page above, but I won't do that now as it seems better to have the actual content on the page instead of an iframe.

    So I've been playing with CSS in DW and the only thing I can't understand is how I would do this bigger box on the right (the one called projects close to home) to be a broader area, as seen in the image above and then get the 2 small boxes below it?  I'm obviously not very well with a style and CSS is what I met as a roadblock.

    Any help is appreciated.  Thank you.

    All you need is something like this-

    ...

    ...

    ...

    and this CSS-

    {#outer_right_column}

    Width: 100%;

    float: right;

    }

    {#bottom_left}

    Width: 50%;

    float: left;

    }

    {#bottom_right}

    Width: 50%;

    float: left;

    }

    This should give you these regions.

  • Matter of style table of contents

    I work to convert my book to an ePub.

    So, I created a new style of table of contents to pick the chapter number and title of the chapter on level 1.

    But the new style of table of contents appears only as an option with my OCD open doc. The new style does not appear as an option in the chapter of my book files.

    Is there a way to make the new style of table of contents available when you open an another doc in my book?

    1_toc_dialog.jpg

    Well Yes, simply change the source to the TOC doc. If you have synced before styes, they should all be the same with the exception of the new, but if not, you should take a source that has the defs you want used through the book and sync with first, then resysnch using the table of contents to get the style added to the book.

  • Matter of style...

    Hi all

    I'm still relatively new to HR. I have Word documents with a fairly clean styles model (used previously with Doc-to-Help); I used the Word doc to generate HR for HTML pages.

    I found that in addition to the styles in the generated CSS files (_ns.css < Filename > and < Filename > .css), there were models in the area of the head of the generated HTML page. For example:
    < style type = "text/css" >
    <!--
    div.whs1 {border: none; border-top: solid #003399 3.0pt; padding: 1.0pt 0 in 0 in 0 in ;}}
    TD.whs2 {border-left: none; border-right: none; border-top: none; border-bottom: none; width: 276.0pt; padding: 0 to 5.4pt 0 to 5.4pt ;}}
    TD.whs3 {border-left: none; border-right: none; border-top: none; border-bottom: none; width: 274.8pt; padding: 0 to 5.4pt 0 to 5.4pt ;}}
    etc.

    From what I can tell, these additional styles add borders and background color of table cell.

    If I add the specificities of these styles in the CSS file, which will work to ensure that HR does not these styles on the fly? The news of TD isn't the problem (even if it is used throughout of the RFSO; it's the backstory for the legends of Note and tip); the DIV is the addition of a style that I don't want... and I don't want to have to manually edit each page with a level 2 heading (which is what corresponds to this DIV!).

    Any suggestions?

    Thanks in advance!

    Kathy

    Kathy,

    By experimenting with the importing Word documents in RH8 (you didn't what HR version you use), I found that any time that I imported a Word document with styles that included borders, HR transformed, who in a div.

    Work on an ongoing project where you need printed as output HTML help? If so, I suggest you author in HR, and then output to the layout of a single source of printed Documentation. In this way, you can specify title without borders styles in your CSS, and then, when you export to Word, you can map Word styles that have borders. RH8 has the mapping improved style feature, but you may be able to do work as you want if you are using an earlier version.

    -Ben

  • Default fonts to 50 points when you apply a paragraph style

    I ran into this many times.  To update a file, InDesign from a previous version (now using CS5) when I apply a paragraph style, the default font is 50 points no matter the style settings.  Is it possible to avoid this.  Currently, I copy and paste the chart into a new file and have to set the text.  If I copy some old text, it causes the same problem.

    Most of our text is copied and pasted from Microsoft Word (old version and new text changes), however, the text that was already in the document and the new text both do the same thing when a style is applied.

    CS5

    Win 7 Pro 64-bit

    Your styles are based on standard paragraph, or is it an applied character style? If so, check to see if any of them have 50 as the size.

  • Problems first withdrawal line

    I'm new to Indesign... as likely to become immediately obvious.

    I want to create a withdrawal of first line of each paragraph.

    I go to my paragraph configuration and enter the appropriate amount (. 375).

    My problem is that I can't make universal... I have to go to each paragraph and reset

    I should add that I'm 'making' text files .docx in a new document.

    I tried to place the document, then together as the dash - and I have tried to set the indent, then place the document... or works well.

    I would like to start a new document, type of font set, size, etc. and then "place" of my text and do it according to my every wish and desire.

    I have several chapters to develop and try to dΘfinir a master should be observed by all of the following chapters.

    My introductory paper was easy... just a few paragraphs. But I can't take what I put there and apply it on the next chapter... or the other.

    I am trying to help a friend whose chapters seem to be getting longer and more than we will.

    I must add, I have a manual 'That' and can't seem to find what I want here either; I found a few YouTube videos, but I still have to go paragraph by paragraph.

    I would like to once for the entire solution.

    Is it enough for you to know what I'm looking for? Or am I so inexperienced, I can't even ask a legitimate question.

    I'm lost - but I'm willing to do some work to learn this program.

    1. Make the changes to a single paragraph that you want to have.
    2. Go to window > Styles > paragraph style.
    3. Click the new Style button, name it.
    4. Select all text with the formatting, and click the style name.

    Create for no matter what style of paragraph. Make sure to start with a basic style and any other function. It allows to perform quick changes anywhere in the document.

  • Why declare the abstract modifier? -Lesson 1-3 slide 5

    In Lesson 1-3 slide 5 the abstract modifier is said for the target method.

    Why was this doen? You need the JDK from 8 types of functional interface? What is always optional and strongly discouraged?

    The JLS says:

    http://Java.Sun.com/docs/books/JLS/second_edition/HTML/interfaces.doc.html

    9.1.1.1 abstract interfaces each interface is implicitly abstract. This modifier is obsolete and should not be used in new programs.

    And

    9.4 abstract method declarations

    [...]

    For compatibility with older versions of the Java platform, it is allowed but not recommended, as a matter of style, to redundantly specify the modifier abstract for methods declared in interfaces.

    It is permitted, but strongly discouraged as a matter of style, to redundantly specify the public modifier for interface methods.

    The example in the slide is:

    @FunctionalInterface
    public interface Runnable {
        public abstract void run();
    }
    

    It is true that using "public" and "abstract" on the declarations of interface method is no longer the preferred form, I see that the real source code contains these modifiers! The executable is a very old interface. It was introduced before the JDK 1.0 and indeed that these lines has not changed since its first archived before the JDK 1.0 release. I suspect that Simon may have simply copied this statement directly from source code.

  • Need to report of newspaper by script

    Hello

    I need to match the names of 'paragraph style' Template "Standard InDesign style names.xls" file (we have already defined our standard of style names in excellent sheet), if no matter what style name change between model and sheet, excel to generate the journal report for him do not match "paragraph style name".

    For example my paragraph model style file names: TT, CT, H1, H2, H3

    My paragraph style names excel sheet: TTL, CT, H1, H2 H4

    Here the style mismatched names is excel sheet: TTL, H4 this detail is to bring in newspaper report.

    Pls help by script.

    Thank you

    hasvi

    Hi Hasvi,

    Thanks to csm_phil, because the code written by him.

    First of all, you must convert the excel file to the format of files "*.csv or delimited by tabs. (I use commas .csv file).

    Use the code below:

    var myFile = File.openDialog("Choose a tab delimitted txt file:");
    if (!myFile){
    exit();
    }       
    
    var myArray = []
    myFile.open('r');
    while (myFile.eof==false){
        var line=myFile.readln().split(",");
        myArray.push(line[0]);
        }  
    
    var myDoc = app.activeDocument;
    var myPstyles = app.activeDocument.allParagraphStyles;  
    
    Array.prototype.contains = function(obj) {
        var i = this.length;
        while (i--) {
            if (this[i] === obj) {
                return true;
            }
        }
        return false;
    }  
    
    var myMissingStyle =[];
    for(i=2; i
    

    To create a report:

    var monFichierTexte = new File("~/Desktop/abc.txt")

    myTextFile.open (w)

    myTextFile.write (myMissingStyle)

    myTextFile.close ();

    Alert ("completed")

    Thank you

    Siraj

  • (object)

    Im just kill a cat with curiosity here, but through JavaScript reference guides for other applications (ID), I noticed that they use...

    var = "SomeObject";

    with ("SomeObject") {}

    someStatement;

    someStatement;

    etc.

    }

    I can't remember seeing this in any of the samples or help I received here and Im wondering why? Is this something that is better suited to other applications? IM almost always work with the app or a reference to the activeDocument. IM thinking this makes it much easier on the eyes by looking at the syntax. Those of you with a lot more experience I do not appear to do this it is more a matter of style and it won't cause problems more further down the line or are there any pitfalls to avoid that I can't see yet? Perhaps scriptlistener?

    Thank you...

    Yes, for me, it's a matter of style. With the help of blocks can make the code easier to type, but I find it more difficult to read when it's cold.

  • Virtual table

    Hello

    When can I use aliases for tables? i.e.

    Select xxx from table1, tab2 (yyy select from table2)
    where xxxxxxxx

    I mean can you explain the scenario where we use this tab2?

    Thank you

    Hello

    user539616 wrote:
    Franklin,

    Thanks for the reply. I just gave an example. But my question was, he we a lot of select statements with a sql query instead of a table with complex name where clauses. I wanted to know what is the reason for the use of way if we can define where the conditions of the main SQL statement.

    If we can define where conditions in the main SQL statement, then it is purely a matter of style if you want to use questioning or not.
    Sometimes, it is more difficult to do everything in a single query.
    It is sometimes impossible.
    For example, the query Top - n below, which found three employees in each Department:

    SELECT     *
    FROM     (     -- Begin in-line view to compute r_num
         SELECT     ename
         ,     deptno
         ,     sal
         ,     RANK () OVER     ( PARTITION BY     deptno
                          ORDER BY     sal     DESC
                        )     AS r_num
         FROM     scott.emp
         )     -- End in-line view to compute r_num
    WHERE     r_num     <= 3
    ORDER BY     deptno
    ,          r_num;
    

    Output:

    ENAME          DEPTNO        SAL      R_NUM
    ---------- ---------- ---------- ----------
    KING               10       5000          1
    CLARK              10       2450          2
    MILLER             10       1300          3
    SCOTT              20       3000          1
    FORD               20       3000          1
    JONES              20       2975          3
    BLAKE              30       2850          1
    ALLEN              30       1600          2
    TURNER             30       1500          3
    

    How would you do that without a subquery?

  • Help for VerticalFieldManager?

    Hello

    I'm just trying to add two verticalfieldmanager in a vericalfieldmanager.

    but the optimization of the resources only the first were added to the vfm.the main second does not add to it.

    I don't know why this help happens.pls if someone knows.

    And also the behaviour of optimizing resources and hfm.

    VerticalFieldManager mainManager=new VerticalFieldManager(USE_ALL_WIDTH|USE_ALL_HEIGHT)
            {
                public void paintBackground(Graphics g)
                {
                    g.drawBitmap(0,0,background.getWidth(),background.getHeight(),background,0,0);
                    super.paint(g);
                }
            };
            VerticalFieldManager topmanager=new VerticalFieldManager(USE_ALL_WIDTH|USE_ALL_HEIGHT)
                {
                public void paint(Graphics g)
                {
                    g.drawBitmap(0,0,topbar.getWidth(),topbar.getHeight(),topbar,0,0);
                    super.paint(g);
                }
            };
    
            VerticalFieldManager topmanager1=new VerticalFieldManager(USE_ALL_WIDTH|USE_ALL_HEIGHT)
            {
                public void paint(Graphics g)
                {
                    g.drawBitmap(0,0,topbar.getWidth(),topbar.getHeight(),topbar,0,0);
                    super.paint(g);
                }
            };
    

    Stop using the USE_ALL_HEIGHT - this style is what he says, after your first VFM is laid out there is no place for the second.

    If you just drop the bit style you may still not luck, though - if there is enough fields added to the Senior Manager, for example. If you consider the result screen you have in mind and post your thoughts here, people here might be more accurate.

    I'll give an example, assuming you want the screen divided into two halves - top and bottom, which might be scrollables. Note that USE_ALL_HEIGHT is very good in this case because you override sublayout():

    VerticalFieldManager topmanager=new VerticalFieldManager(USE_ALL_WIDTH|USE_ALL_HEIGHT|VERTICAL_SCROLL) {
        protected void paintBackground(Graphics g) {
            g.drawBitmap(0,0,
                topbar.getWidth(),topbar.getHeight(),
                topbar,0,0);
        }
        protected void sublayout(int maxWidth, int maxHeight) {
            super.sublayout(maxWidth, maxHeight / 2);
        }
    };
    

    Such a manager will use exactly half the height as him. I added a VERTICAL_SCROLL because you might want to put more fields here that would fit.  Make sure that your mainManager does not that the little (VERTICAL_SCROLL) style and your screen (if you use) is created with the explicit NO_VERTICAL_SCROLL.

    Also note that I replaced the painting with paintBackground - just a matter of style, but a cleaner way to do however.

  • How to recreate this photo with my own photos using layers?

    IMG_1566.jpg

    Quick steps:

    • Import all the images that you plan to use in your document. (You can start with a background set size if you do not have to worry about that later.) Place all these images together in a single document. (There are at least two ways to do this). One way is to open an image, then use the file > Place incorporated (if you use Photoshop CC) to place the images in the document.
    • Start thinking about how you want to composite the images together. Layers of work in a hierarchy or an "order"; a layer in the layers panel at the top is the most visible, unless the masks are applied. So you will want to probably the perfect sky and landscape at the bottom, while keeping the full swing golfer at the top. This composite data looks like maybe total 6 layers: 5 of the golfer at various stages of his swing, the background 1.
    • To begin, turn off all the layers but the background and the image of swing of the individual golfer that you want to work. What you'll want to do is select the golfer using the selection tools, and while the selection to a mask using the layer > layer mask > reveal Selection (or use the button at the bottom of the layers panel, looks like a rectangle with a circle inside).
    • The main thing is that you are now allowed to non-destructively "hide" or "hide" in any part of the image using the layer mask using tools like the Brush tool. Work of masks by using the grayscale values: black Total means total concealment of the content of this layer. Total white means reveal total content of this layer. Anything between the two as gray translates into varying degrees of opacity.  It goes way beyond the scope of this post without turning it into a novel, but if you want to get more in depth with layer masks: masks of use to hide the Photoshop layers
    • Repeat for the other layers.

    From there on, it's a matter of style. for example, it seems that the sky has a thumbnail of all sorts, perhaps even a transparent gradient that has a layer mask applied so that the part that covers the golfer can be hidden. So many ways to do it.

    If you have any questions, just ask. That's what we're here for.

Maybe you are looking for

  • iPad forget password and number to connect to the internet

    Hello , I forgot the password for my ipad and it systdmatiquement the connection with the internet. He asks "requires password at startup".   I don't want to format because I have several picture in the camera. How do I do? IOS 8.1.2

  • Is iphone 4 compatible with the latest itunes app?

    My iphone 4 have still the old itunes icon purple and not the white and blue later. My phone says it is aware of the software updates, but I'm not sure if it is. What is the latest software operating system for iphone 4 and it is compatible with the

  • iTunes Sign-in check failed

    Hello I get an error of check by connecting to iTunes for Windows 10, but the connection works fine on iPhone and iPad. I am also able to manage my Apple ID. It's only when connecting to iTunes (12.3.3) on my Windows 10 I get this error. "The check h

  • Dv6-6165 tx Beats Quick launch

    Hey, I got my laptop back today after his HARD drive and the motherboard had I screwed up. Everythings comes from the basis if I was unable to find the driver audio beats. Which i later downloaded from the HP support site, but I am not able to turn o

  • s3710t computer desktop slimline HD and RAM upgrade

    I bought desktop s3710t with Vists BONE several years ago and it works very well with no error message. I did not have the large files that would come in the future I am looking to upgrade my HD.  The specifications on the HP.com site lists the 1 TB