Nonbreaking Space in a Paragraph Number

Is is possible to insert a non-breaking space in a paragraph number within a style definition?

You can't insert a "regular" non-breaking space, but you can insert the various fixed-width spaces, which happen to be non-breaking.

Similar Messages

  • Need to 5 spaces before each paragraph and  5 lines between paragraphs

    Hello,
    I need to write a program to insert 5 spaces (indent) before each 1st line of the paragraph and 5 spaces between each paragraph....I am new to java so I don't understand everything I write and I try and use what is out of the book...so far have done well until this assignment. My program below does create a new history.d2 file but it is blank....anyone have any input to offer or can you help me understand where I am going wrong in the program....thank you kindly.
    I am playing with the program now just to see if I can find my error but of course don't fully understand the function of every line so having trouble finding my error.....at the end of my program is the file of what I am trying to edit into the new file history.d2.
    import java.io.*; //import class we need in order to read from a file
    import java.util.Scanner; //import class we need in order to read from a file
    public class History     //class History
         public static Scanner inFile;
         public static PrintWriter outFile;
         public static void main(String[] args) //main method
              throws IOException //a pre-defined Java exception - if file history.d1 not found, throws IOException error
              String inputString;
         //     int index;
              Scanner inFile= new Scanner(new FileReader("history.d1")); //it opens history.d1
              PrintWriter outFile=     new PrintWriter(new FileWriter("history.d2")); //instantiates an output file with the name "history.d2"
              while (inFile.hasNextLine())     
              inputString=inFile.nextLine();
         //     index=inputString.indexOf(' ');
         //     while (index != -1)
              if (inputString.length()!= 1)
                   outFile.println(" ");
              else if (inputString.length() == 1)
                   System.out.println();
                   System.out.println();
                   System.out.println();
                   System.out.println();
                   System.out.println();               
                   outFile.close();
                   inFile.close();
    history.d1 file:
    The Abacus (which appeared in the sixteenth century) was the
    first calculator. In the middle of the seventeenth century
    Blaise Pascal, a French mathematician, built and sold gear-
    driven mechanical machines which performed whole number
    addition and subtraction. (Yes, the language Pascal is named
    for him.)
    Later in the seventeenth century a German mathematician
    Gottfried Wilhelm von Leibniz built the first mechanical
    device designed to do all four whole number operations:
    addition, subtraction, multiplication and division. The
    state of mechanical gears and levers at that time was such
    that the Leibniz machine was not very reliable.
    It wasn't until the nineteenth century that the next major
    step was taken, this time by a British mathematician.
    Charles Babbage designed what he called his analytical
    engine. His design was too complex for him to build with the
    technology of his day, so his design was never implemented.
    His vision, however, included the important components of
    today's computers. His design was the first to include a
    memory so that intermediate values did not have to be re-
    entered. His design also included the input of both numbers
    and mechanical steps on a type of punched card developed in
    the late eighteenth century by Joseph Jacquard to be used
    with a mechanical loom.
    Ada Agusta, Countess of Lovelace, was a most romantic figure
    in the history of computing. Ada, the daughter of Lord Byron
    (the English poet), was herself quite a mathematician. She
    became interested in Babbage's work on the analytical engine
    and extended his ideas (and corrected some of his errors).
    Ada is credited with being the first programmer. The concept
    of the loop--a series of instructions that repeat--is
    attributed to her. Ada, the language used by the Department
    of Defense, is named for her.
    During the later part of the nineteenth century and the
    beginning of the twentieth century advances were made
    rapidly. William Seward Burroughs produced and sold a
    mechanical adding machine (that worked!). Dr. Herman
    Hollerith developed the first electro-mechanical tabulator
    which used a punched card. Data was represented by holes
    punched on the card in certain positions. Descendants of
    this card are still in use today. Dr. Hollerith formed a
    company that is known today as IBM.
    In 1936 a theoretical development took place that had nothing
    to do with hardware per se but profoundly influenced the
    field of Computer Science. Alan M. Turing, another British
    mathematician, invented an abstract mathematical model called
    a Turing machine, laying the foundation for a major area of
    computing theory.. The most prestigious award given in
    Computer Science (equivalent to the Fielding Medal in
    Mathematics or a Nobel Prize in other sciences) is the Turing
    Award, named for Alan Turing. A current Broadway play deals
    with his life. Analysis of the capabilities of Turing
    machines is a part of the theoretical studies of all Computer
    Science students.
    By the outbreak of World War II, several computers were under
    design and construction. The Harvard Mark I and the ENIAC
    are two of the more famous machines of the era. John von
    Neumann (an American mathematician this time) who had been a
    consultant on the ENIAC project started work on another
    machine known as EDVAC which was completed in 1950. In 1951
    the first commercial computer, UNIVAC I, was delivered to the
    Bureau of the Census.
    Von Neumann is credited with the development of two very
    important concepts. The first is that the instructions that
    operate the machine should be stored in the machine along
    with the data to be operated on. The second is that data
    (and instructions) should be represented in the binary number
    system rather than the decimal number system.
    The general organization of a computer has remained constant
    over the last 40 years. This organization or architecture is based
    on the ideas of von Neumann and bears his name. The
    essence of this architecture is sequentiality. That is,
    instructions (a program) are stored in sequential memory
    locations in binary form and are executed in sequence, one
    after the other.

    Each paragraph is terminated in your text file by a newline character. So effectively what scanner.readLine() is doing is reading a paragraph of text.
    1. Read paragraph into String (readLine())
    2. Print or prefix 5 spaces to String.
    3. Print 5x newline character
    Mel

  • Calendar weekly view: unwanted nonbreaking spaces before the column link

    Hello,
    I have a column link in a calendar. In the weekly view, before the link text appears (specifically before the anchor element) multiple nonbreaking spaces are output. The more links I add to the calendar, the more spaces appear, so the links are all over the place in the cells. The HTML looks like
    td class="DefDay" valign="top" ... multiple-nbsp-tags-here ... anchor-element ... link-text
    Any ideas?
    regards,
    Malcolm.

    Hi Denes,
    Thanks for your quick reply. I have mailed you a screenshot of the corruption I am talking about. The whole page template is "application default". In the "Calendar Attributes" tab in that region, I have three options in the template combo-box: calendar, calendar alternative 1, and small calendar. None of those options have any effect on the column link display corruption. In the "Region Definition" tab. the user interface template is "reports region". I have tried a number of different templates there and none affect the corruption in the column-link display either. I'm using Theme "Modern Blue 20" and the template utilization screen off Shared Components says my calendar page is using a calendar template.
    regards,
    Malcolm.

  • How to get paragraph number of selected text in ID CS4

    Hi,
    Can anybody help me how to get paragraph number of selected text in Indesign cs4.
    Thanks,
    Gopal

    Ah, I see -- thanks. Turns out that there's no difference in speed between texts.itemByRange(), characters.itemByRange(),and insertionPoints.itemByRange(). In a document with 170 pages of text, and with the cursor in the last paragraph, the second and third lines, below (and your function), give exactly the same result:
    t = app.selection[0];
    t.parentStory.texts.itemByRange (t.parentStory.insertionPoints[0], t).paragraphs.length;
    t.parentStory.characters.itemByRange (t.parentStory.characters[0], t).paragraphs.length;
    Peter

  • Creating Space after a Paragraph Style

    Okay, all, this may sound weird. All I want to do in CS4 is have an extra 4 pt of space after a particular paragraph style. Specifically, my paragraph style, Body Text, already has "space after" specified at 3 pt. Fine. But, for example, when I have three paragraphs of just this style, I want the three paragraphs separated by an additional 4 pt of space. (There is no consistency in documents when this situation occurs.)
    At first, I thought it might be possible to do this via a nested character style. Nope. Back in FrameMaker, I used to do this manually, whenever I wanted extra space. My trainers would add paragraph tags (ugh).
    Still a newbie...
    Thanks!
    Lizbeth

    Kenneth C. Benson wrote:
    Maybe I'm really missing your meaning here. When I override a style setting to get more space below, I add space below the *paragraph*. I don't adjust anything about the last line. This is no different in Framemaker. In Framemaker, you can add space above or below a paragraph, either as part of a style (what FM calls a "format") or as a style override. You don't "adjust the last line of a paragraph" in either program.
    There's one important difference between FrameMaker's paragraph
    spacing and most other DTP or WP tools: Space between FM paragraphs is
    NOT ADDITIVE. Space below a paragraph is not added to space above the
    following paragraph. In FM, the larger space wins. (I think Ventura
    has this feature also, or perhaps has the option for additive or
    larger-one-wins.)
    If the issue is to make inter-paragraph spacing work non-additively
    like FM, please file a feature request for this as an option, at:
    www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    EDIT: The forum was unavailable for a while, and my email response was bounced. By the time I discovered the rejected mail, I saw Lizbeth's mention of having used Based-on paragraph styles. Probably the based-on style caused the mysterious behavior. The based-on property style information is only visible in the define/modify style dialog box. I'm going to enter a feature request for an indicator for the based-on property that will appears wherever a style's name appears, and, if possible, displays the name of the based on paragraph, character, and object style. Master pages do show the based-on master letter on the page icons in the pages panel, but they lose their own letter. I'll also ask for this feature. 
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How to design Storage Spaces with a large number of drives

    I am wondering how one might go about designing a storage space for a large number of drives. Specifically I've got 45 x 4TB drives. As i am not extremely familiar with storage spaces, i'm a bit confused as to how I should go about designing this. Here is
    how i would do it in hardware raid and i'd like to know how to best match this setup in Storage Spaces. I've been burned twice now by poorly designed storage spaces and i don't want to get burned again. I want to make sure if a drive fails, i'm able to properly
    replace it without SS tossing it's cookies. 
    In the hardware raid world, i would divide these 45 x 4TB drives into three separate 15 disk Raid 6's. (Thus losing 6 drives to parity) Each raid 6 would show up as a separate volume/drive to the parent
    OS. If any disk failed in any of the three raids, i would simply pull it out and put a new disk back in and the raid would rebuild itself. 
    Here is my best guess for storage spaces. I would create 3 separate storage pools each containing 15 disks. I would then create a separate
    Dual Parity Virtual Disk for each pool. (Also losing 6 drives to parity) Each virtual disk would appear as a separate volume/disk
    to the parent OS. Did i miss anything? 
    Additionally, is there any benefit to breaking up my 45 disks into 3 separate pools? Would it be better to create one giant pool with all 45 disks and then create 3 (or however many) virtual disks on top of that one pool? 

    I am wondering how one might go about designing a storage space for a large number of drives. Specifically I've got 45 x 4TB drives. As i am not extremely familiar with storage spaces, i'm a bit confused as to how I should go about designing this. Here is
    how i would do it in hardware raid and i'd like to know how to best match this setup in Storage Spaces. I've been burned twice now by poorly designed storage spaces and i don't want to get burned again. I want to make sure if a drive fails, i'm able to properly
    replace it without SS tossing it's cookies. 
    In the hardware raid world, i would divide these 45 x 4TB drives into three separate 15 disk Raid 6's. (Thus losing 6 drives to parity) Each raid 6 would show up as a separate volume/drive to the parent
    OS. If any disk failed in any of the three raids, i would simply pull it out and put a new disk back in and the raid would rebuild itself. 
    Here is my best guess for storage spaces. I would create 3 separate storage pools each containing 15 disks. I would then create a separate
    Dual Parity Virtual Disk for each pool. (Also losing 6 drives to parity) Each virtual disk would appear as a separate volume/disk
    to the parent OS. Did i miss anything? 
    Additionally, is there any benefit to breaking up my 45 disks into 3 separate pools? Would it be better to create one giant pool with all 45 disks and then create 3 (or however many) virtual disks on top of that one pool? 
    1) Try to avoid parity and esp. double parity RAIDs with a typical VM workload. It's dominated by small reads (OK) and small writes (not OK as whole parity stripe gets updated with any "ready-modify-write" sequence). As a result writes would be DOG slow.
    Another nasty parity RAID characteristic is very long rebuild times... It's pretty easy to get second (third with double parity) drive failure during re-build process and that would render the whole RAID set useless. Solution would be to use RAID10. Much safer,
    faster to work and rebuild compared to RAID5/6 but wastes half of raw capacity...
    2) Creating "islands" of storage is an extremely effective way of stealing IOPS away from your config. Typical modern RAID set would run out of IOPS long before running out of capacity so unless you're planning to have a file dump of an ice cold data or
    CCTV storage you'll absolutely need all IOPS from all spindles @ the same time. This again means One Big RAID10, OBR10.
    Hope this helped a bit :) Good luck!
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

  • How do I get rid of the blank space after one paragraph and before the next paragraph startsin Pages '09?  I understand that I should not have a page break mid paragraph but that is what I want.

    How do I get rid of the blank space after one paragraph and before the next paragraph startsin Pages '09?  I understand that I should not have a page break mid paragraph but that is what I want.

    Hi stephanie,
    These are unrelated questions/statements.
    Space before and space after a paragraph are controled in the Text Inspector, as you've found out.
    Pages will create a page break whenever there is no room for another line on the page. That break can come anywhere in a paragraph.
    You may be thinking of Widow and Orphan prevention, and the other Pagination controls, found under the More button in the Text Inspector. (If that's what you found, then thanks for the refresher! I hadn't been to that pane for awhile, and had forgotten the variety of pagination controls available.
    Regards,
    Barry

  • E90: How to enter a space into a phone number?

    Hi,
    does anyone know if it's possible to enter a space into a phone number in the E90's Contacts manager? It is possible with my Nokia 9500, and I transferred my contacts from it to the E90, and spaces in phone numbers were preserved, but when I enter a new contact I can't find any way to enter a space! This is very frustrating, as I find it very useful to pad out numbers with spaces, for example to make it clearer which provider a mobile number has, or what city code a land line has, and it also makes it easier to read out numbers over the phone. I have the same problem with hypens, which are handy for separating extension numbers from the rest of the number. I see that there is an optional label "Extension (bus.)", but that's not much use if the extension is for the fax machine...
    Ian
    Solved!
    Go to Solution.

    Thanks for your suggestions, and for bringing OVI to my attention, which I hadn't heard of before. However, all the suggestions require the use of another computer or service, whereas what I want is to be able to work with my communicator "stand alone" as far as possible, without having to rely on other systems, especially Windows systems! One of the features I most appreciate about the E90 is the USB interface, which means I can make backups without having to rely on software that only runs under Windows. In my case this means I can make backups to my Linux PC very quickly and easily, without needing to install any special software.
    Ian
    24-Nov-2008 02:01 PM
    cdl_1 wrote:
    I don't know about the E90, but with the E61 and E71 you can:
    - add spaces from OVI and then update the mobile
    - add spaces in Outlook (or whatever PIM you use) and then update the mobile
    - import a text file (using PC suite) with spaces from your PC to your mobile
    My guess is that all of the above would work with the E90. Let me know!

  • How to make nonbreaking space and/or hyphen

    I'm trying to figure out how to to make a nonbreaking space and/or hyphen in dynamic textfields in AS2 (specifically with CS4 publishing to Flash player 7 or 8).
    I just tried the new TLF textfields in CS5 and I was able to use & #160 and & #8209, but that requires publishing to AS3 and Flash 10. Those codes don't seem to work for the classic textfields.
    I've also tried & nbsp; but that didn't work.
    Anybody have some other way?

    Kara,
    You may see whether you can get close enough with this:
    1) Cut the rectangle at the lower corners with the Scissors Tool;
    2) With the bottom side path selected, Effect>Distort & Transform>Roughen with Smooth Points and trying out the other vaues to get the desired look if possible;
    3) Object>Expand Appearance, Ungroup and delete the unwanted nostroke/nofill path;
    4) Join the paths into one.
    Save for Web as PNG24 (or GIF if you must) to have the transparency (and crispness).

  • Paragraph number in pages

    Can anyone tell me how to find the paragraph number of the insertion point in a Pages 09 document?
    Thanks

    Maybe like this:
    *tell front document of application "Pages"*
    *set C to character offset of (get selection)*
    *set N to 0*
    *repeat with P in (get character offset of paragraphs)*
    *if P > C then exit repeat*
    *set N to N + 1*
    *end repeat*
    N
    *end tell*

  • Does anybody else use "Nonbreaking Space (Fixed Width)" for this?

    Does anyone else do this?
    Does anybody else use "Nonbreaking Space (Fixed Width)" for this?
    I add special "white spaces" of an unchanging width:
    Is there an easier way to "automate" this?  The way I do it is horrible ...  horribly bad

    I don't think you can automate exactly that, but you might be able to get spacing you like better in general if you reduce the word spacing range and increase the letter spacing range in your justification settings.

  • Find paragraph number for the particular table

    Hi,
    In my document having one story and it contains 5 tables.
    I need to find 4th table of paragraph number.
    Any one known the answer please tell me.
    thanks by,
    John peter

    Hi,
    1. find this table.storyOffset.index (lets say mIdx)
    2. calculate length of paragraphs of text matched from
    table.storyOffset.parentStory.insertionPoints.itemByRange(0, mIdx).texts[0].paragraphs length;
    Jarek

  • Cross reference that diplays only paragraph number

    I need to create cross-references to numbered paragraphs. The auto number for the paragraphs includes not only a number, but a text character that is part of the number format. For example, a numbered list like 1) 2) 3) and so forth, where the cross reference display only the 1, 2, or 3, and not the closing paren.
    FrameMaker has a building block <paranumonly> which ignores any characters other than digits in the auto number. InDesign doesn't seem to be able to do that. That is why I'm posting on the scripting forum. Perhaps there is a script that can do this?

    In support of Niels' response, I'd written almost the same thing, but 1.__AG__,  entered a more objective response (well put, AG!)  before I sent my impressions.
    I agree with Niels that
    The reader might appreciate a more direct numbering system (the milspec standard of 1.2.2.2.2.1 would be the equivalent section to your 1B2b2a example
    The tags used would be easier to navigate if they used a 1List 2List 3List convention, and that the punctuation used in numbering is a bit confounding at first glance
    The xref format is straightforward if all levels are displayed at that point
    Sadly, and as always, we can help with everything but the politics of your situation!
    I do like Niels' suggestion of using the Running H/F to display the current section, if you're forced to use the numbering scheme as-is!
    Best of luck navigating this with the powers that be.
    -Matt

  • How do I put a space after a paragraph in Pages 5?

    This is something I did frequently in older Pages versions and in Word. Where is the setting for space before and after paragraphs?

    It's in the styles panel, but you have to click the triangle / disclosure icon for "Spacing".  This will expand the spacing section to show spacing before and after paragraph settings.

  • "Space After" Between Paragraphs

    Hi,
    Is there a way in InDesign to set "Space After" and "Space Before" like you can in Quark?
    I tried to look in all of the menus and couldn't find anything. It's probably there, just can't find it yet.
    Please advise.
    Thanks.

    The one on the left is space before, the one ont he right is space after. It's the same field whether you access it through the control panel or the paragaph panel. Note that the control panel is in paragraph mode, not character mode (In CS3 or CS4 the control panel may show these controls in either mode, depending on screen size and customizations, but they'll always be there in paragraph mode unless you've tuned them off).

Maybe you are looking for

  • Java mail and jsp -HELP!! HELP!!

    Hi all I have a simple email module with a jsp page and a html page I am trying to connect to a yahoo smtp server and send a mail from the webpage to the smtp server - I am getting an Authentication required error. error ## org.apache.jasper.JasperEx

  • BB 957 - Handheld user guide needed

    I have purchased BB RIM R957M-2-5 as a PDA and need a user guide. Thank you BuzzBrad.

  • An error occured. Please try again later

    Hi, After some browsing, I see that this is quite the popular subject out there, with no clear lines as how to solve it. Short summary; Youtube saying: "An error occured. Please try again later" I have tried literally anything. Clearing history, cach

  • Trouble downloading Premiere Elements 11 trial

    I have downloaded Adobe Download Assistant and the trial of premiere elements 11, but every time I try install it an error message 1935 pops up and it rolls back. I have updated windows, apple QuickTime, run a disk cleanup, run a defragmenter, and tu

  • Displaying Duration Time

    Hello, :) Where is the option to display the video's duration time? Haven't found it yet... I am using Captivate 2 and would like the user to see how long the video goes. Thanks much! Stefan