Prevent Blank Lines at Top of Column

So I create bi-weekly publications and I had a question that would make my job easer.
I've been messing with widow & orphans, but I have a slightly different problem.
We use hard returns between paragraphs (a blank line between paragraphs), and I was wondering if there was a way to use GREP or something to automatically prevent blank lines from showing at the top of a column.
Right now, I have to delete & re-add returns throughout the editing process, which as you could guess, can get messy and easy to miss.
I'd like to have it where I don't have to do any of that on my own, so the blank lines would "hide" automatically if at the top of a column, but would return if things get shifted around.
Thoughts?
Thanks for the help.

I'm an idiot, that makes way more sense.
Thank you for straightening me out.
To think of the months i've been living my life all wrong.  . . . . .*puts hands in face*
. . . excuse me while I go rethink all of my life choices.

Similar Messages

  • How to suppress blank line in top and end of portlet

    I created one small report (portlet) however when i execute this one; i remarked there is one blank line in the top
    and another one at the end of the report. How can i eliminate these lines. I need this space to be able to see
    a lot of information in the same page.
    I use portal 3.0.9.2

    After developping a lot of portlet and read a lot of TAR on metalink and a lot of message on OTN i discovered the solution.
    Wnen you create one report with the wizard there is no way to erase the first line ( header ) in the result.
    Second for the last line of the results ( blank line ) ; the problem is with netsacpe 4.75 ( no problem with internet explorer )
    with Netscape you will see one blank line and not with internet explorer ( confirm with Oracle support )
    Anyway in the place of developping one report with the wizard ; you can copy and paste your sql statement of your report
    inside one dynamic page and control all you want.
    I will give you one example than i created; i hope it will help other persons like me
    ( we need to read a lot of thing to do something really simple with portal )
    <HTML>
    <HEAD>
    <style type="text/css">
    <!--
    .TabFontText {
    font-family: Arial, Helvetica;
    font-size: 9pt;
    -->
    </style>
    </HEAD>
    <BODY>
    <ORACLE>
    begin
    htp.p('<table cellspacing=0>');
    for c in ( select '<a TARGET="_blank" HREF="http://'||ssdw_portal.pkg_globl.
    fnc_get_server_port||'/pls/portal30/docs/FOLDER/SSDW_AIDE/'||replace(item.name,
    ' ','+')||'">'||item.display_name||'</a>' filename , to_char(item.updatedate,'dd/mm/yyyy hh24:mi') last_updated
    FROM portal30.wwsbr_all_items item ,
    portal30.wwsbr_all_folders folder
    WHERE folder.name = 'SSDW_AIDE'
    and folder.caid = item.caid
    and folder.id = item.folder_id
    and item.language = 'us'
    and item.name like 'GUIDE%ANG%'
    order by item.name ) loop
    htp.p('<tr>');
    htp.p('<td bgcolor=#CCCCCC width=325>');
    htp.p('<font class="TabFontText" >');
    htp.p(c.filename);
    htp.p('</td>');
    htp.p('</font>');
    htp.p('<td bgcolor=#CCCCCC width=125>');
    htp.p('<font class="TabFontText">');
    htp.p(c.last_updated);
    htp.p('</td>');
    htp.p('</font>');
    htp.p('</tr>');
    end loop;
    htp.p('</table>');
    end;
    </ORACLE>
    </BODY>
    </HTML>
    Marc Fortin
    [email protected]

  • Unwanted Blank Line at Top of Page

    Hello.
    When a paragraph ends at a page bottom, the blank line (which normally appears between paragraphs) appears at the top of the next page.
    But this looks stupid. And I don't see which setting can resolve all instances of this.
    I really don't want to manually remove these - if I add a line of text somewhere in my book, it will affect all of the manual fixes.
    Thanks very much!

    Thanks for your endorsement, Yvan, but please don't rush so quickly into the future. I've lived through two-thirds of Century XX and so far have survived one decade of Century XXI but I have no desire to witness Century XXII. I'm guessing that your "I" key burped.
    Seriously, there are still a surprising number of people who carry over the typewriter habits of double spacing after sentences and double returning after paragraphs. This causes them some grief, as shown by the problem reported by the OP.

  • FTP Adapter to Flat File - preventing blank lines

    Hi,
    I have the following D3L file, which I use to create a file of employee details:
    <?xml version="1.0" encoding="US-ASCII"?>
    <!DOCTYPE message SYSTEM "d3l.dtd">
    <message name="employeeDetail" type="EmpRec" object="Employee">
    <imparray id="AddressArrayType">
    <struct>
    <field name="EmpID">
    <padstring length="8" padchar=" " padstyle="tail"/>
    </field>
    <field name="StreetName">
    <padstring length="20" padchar=" " padstyle="tail"/>
    </field>
    <field name="EOL"><termstring endchar="\n" /></field>
    </struct>
    </imparray>
    <imparray id="SalArrayType">
    <struct>
    <field name="EmpID">
    <padstring length="8" padchar=" " padstyle="tail"/>
    </field>
    <field name="Salary">
    <padstring length="10" padchar=" " padstyle="tail"/>
    </field>
    <field name="EOL"><termstring endchar="\n" /></field>
    </struct>
    </imparray>
    <imparray id="EmpArrayType">
    <struct>
    <field name="EmpAddrArray"> <typeref type="AddressArrayType" /> </field>
    <field name="EmpSalArray"> <typeref type="SalArrayType" /> </field>
    </struct>
    </imparray>
    <struct id="EmpRec">
    <field name="EmpArray"> <typeref type="EmpArrayType" /> </field>
    </struct>
    </message>
    Basically, an employee can have multiple address entries, and multiple salary entries, and there are multiple employees.
    The file produced is what I require, except where an employee has no address, but has a salary, or no salary, but has an address. In these cases, I get a blank line.
    How do I prevent a blank line appearing - by changing the D3L file, or by doing a conditional copy when I map from common view to application view?
    Anyone help? Thanks.

    Hi Soumya,
    You need to choose the FTP in the "transport protocol" option. Then in the FTP connection parameters choose the option Connection Security and assign the value "FTPS for control and Data Connection". Then the "Command Order" will show up below that option and you could leave the default value itself. If you are using Public private key certificates of X.509 then you could choose the option "Use x.509 certificate for client authentication" and assign the values to the "keystore" and "certificate & private key" fields.
    Note: To use the FTP with SSL you need to add the CA certificate to the TrustedCAs keystore view.
    Regards,
    Vishnu.

  • How to add blank lines (in column) in SQLplus

    I get error when doing below insert, how do I add blank lines in column (via SQLplus)?
    insert into a values(1, '78 ABC house,
    Some Road
    London E34');
    Thanks

    Just set "SQLBLANKLINES" to ON:
    SQL> set sqlblanklines on
    SQL>
    SQL> insert into dept values (50, 'This department
      2
      3  has several
      4
      5  blank lines','This
      6
      7  Loc') ;
    1 row created.
    SQL> select * from dept where deptno = 50 ;
        DEPTNO DNAME                          LOC
            50 This department                This
               has several                    Loc
               blank lines
    1 row selected.
    SQL>

  • Suppress Blank Lines in RTF Template

    We are using <?if:count(current-group()[FIELD=$VARIABLE])?> in order to restrict data in a pivot table cell.
    The pivot table cell uses @cell:top XML level to produce fixed number of columns.
    There are two for-each-groups in the cell under the @cell tag.
    Using <?if:count(current-group()[FIELD=$VARIABLE])?> works fine to restrict data but there are many extra blank lines creating bad formatting. This is because the two for-each-groups under the @cell tag. Those groups get the correct data but since @cell is at the top node of the XML the for-each-groups are repeating too many times and creating the blank lines.
    Is there a way to suppress blank lines in an RTF template?

    I've already tried that and the results are the same. The blank spaces still exist. I even tried using that right after the for-each-groups that are under the @cell tag. No difference.
    Can I please send you the RTF template and XML? And two PDF files, one that shows the empty line spaces and one that shows correct formatting (without fixed number of columns).
    Thank you very much.

  • SQL Report Writing blank lines or Formfeeds

    I have a SQL Report that prints the data out correctly. My problem is there are several formfeeds or blank lines written at the top of the spool file. The report prompts users for information, does several calls to the database to create headings, creates 3 temp tables. The temp tables are:
    TEMP1 - gathers information that is summed in TEMP2
    TEMP2 - stores data from temp1 that has been summed
    TEMP3 - creates the report using data from TEMP2 and other tables
    A command file calls the sql file. Inside of the command file is the call to the spool file. Overview of code:
    set trimspool on When these are on I get formfeeds. When they
    set trimout on are off, it prints blank lines.
    set heading off
    set echo off
    set feedback off
    set verify off
    set newpage 1
    set space 0
    set pagesize 60
    set linesize 160
    clear columns
    prompt user for information
    create headings and titles by quering various tables
    create and insert data into TEMP1
    create and insert data into TEMP2
    create, insert, and update data into TEMP3
    BEGIN report with TTITLE
    SELECT * from TEMP3
    end of report.
    When I run the report in sql without using the command file, I get the same results.
    Any suggestions as to what is creating this or how to get rid of it?
    Thanks for your help,
    Penny

    Yes I have a suggestion.
    Please move your spool line to just before the SELECT statement.
    [not_meaning_to_be_sarcastic__really]
    I have another suggestion. Please move your spool line to just before the SELECT statement.
    Maybe if I say it enough times - you might actually take and try the suggestion. I find it useful when I ask people questions, to listen to them.
    [not_meaning_to_be_sarcastic__really]
    I mean no offense - but I gave you that answer days ago and it doesn't seem like you have tried it yet. TTITLE will be fired off when the SELECT is called, there is no need to have the 'spool' before the TTITLE.
    It will take you maybe - tops - 10 minutes to give it a try - what'do'ya say - give'her'a'spin?
    -- all your junk that creates form feeds or line feeds
    SPOOL file_name_to_spool_to
    SELECT * from TEMP3;
    SPOOL OFF
    -- etc.

  • How come when I use "Space before" in a paragraph style, it will only put the space in if i have a blank line above it. Shouldn't it do this regardless?

    Maybe I'm missing something, but it seems to me that if I have a style with a "space before" setting of, for example, 21p, i should be able to put text into a new text box and have that text with the style  applied pop down the page. It doesn't do this. I can make it work by just hitting "enter" and having a blank line in front of it, but in my mind this shouldn't be necessary. What am I doing wrong?

    That's expected behavior. If the text spans columns or pages you wouldn't want a space above if a new column started with a paragraph at the top. Like this where you want the 2nd column to align with the others:

  • Blank line in excel using SO_NEW_DOCUMENT_ATT_SEND_API1

    Hi Experts
    I have a small issue while using the FM "SO_NEW_DOCUMENT_ATT_SEND_API1". I am sending an excel file using this function module, but in the mail, the excel has one blank row on top. My client people doesnt want it.
    Is there any method where we can control this in the program. I m filling pack list like below
    CLEAR i_pack_list-transf_bin.
      i_pack_list-head_start = 1.
      i_pack_list-head_num = 1.
      i_pack_list-body_start = 1.
      i_pack_list-body_num = i_lines.
      i_pack_list-doc_type = 'RAW'.
      APPEND i_pack_list.
      DESCRIBE TABLE i_excel LINES i_lines.
      READ TABLE i_excel  INDEX i_lines.
      i_pack_list-transf_bin = 'X'.
      i_pack_list-head_start = '1'.
      i_pack_list-head_num = '1'.
      i_pack_list-body_start = '1'.
      i_pack_list-body_num = i_lines.
      i_pack_list-doc_type = 'XLS'.
      i_pack_list-obj_name = 'Propose UWYR Results'.
      CONCATENATE 'Propose UWYR Results' sy-datum INTO i_pack_list-obj_descr SEPARATED BY space.
      i_pack_list-obj_langu = 'E'.
      i_pack_list-doc_size = i_lines * 255.
      APPEND i_pack_list.
      CLEAR i_pack_list.
    Please suggest me if there is any other alternative.
    Thanks
    Praveen

    Clear i_pack_list. and then ,
    Remove lines in BOLD.
    READ TABLE i_excel INDEX i_lines.
    i_pack_list-transf_bin = 'X'.
    i_pack_list-head_start = '1'.
    i_pack_list-head_num = '1'.
    i_pack_list-body_start = '1'.
    i_pack_list-body_num = i_lines.
    i_pack_list-doc_type = 'XLS'.
    i_pack_list-obj_name = 'Propose UWYR Results'.
    CONCATENATE 'Propose UWYR Results' sy-datum INTO i_pack_list-obj_descr SEPARATED BY space.
    i_pack_list-obj_langu = 'E'.
    i_pack_list-doc_size = i_lines * 255.
    APPEND i_pack_list.
    CLEAR i_pack_list.
    Now issue will be solved
    Edited by: Harsh Bhalla on Nov 26, 2009 4:39 PM

  • Logic needed to print blank line in alv report

    hi experts,
    can anyone please tell me the logic for this
    i want to logic one is
    1) in alv report contains
    a set of data contains 100 (5 datas)
    and a set of data contain 200(5 datas)
    i want to have one coloum containing serial no
    ex for 100 i want to move no '5' to one coloumn ,but it should display only ones not for all 5 records.
    same for 200 also i want to move 7 to this ,it should b displayed ones
    i used for at new command alos its not working
    2)suppose for particular date, 200 related records is not there
    it should conatin blank line,displaying 'NIL'.
    SO THE OPT FROMAT MUST BE
    MATNR            DOCNO
    100                  1000
    100                  1000
    100                    "
    100                     "
    100                    "
    200                   2000
    200                      "
    200                     "
    200                    "
    200                    "
    SUPPOSE 200 RECORD IS NOT THERE THE OPT SHLD B
    100           1000
    100            1000
    200           NIL

    Arun,
    1)
    If you are using the  function module REUSE_ALV_GRID_DISPLAY, then use the internal table it_sort with a row for the column where you want the suppression of repeated values.
    2)
    If you are using the  function module REUSE_ALV_GRID_DISPLAY, then simply ensure that your internal table t_outtab has the rows that you need containing 'NIL'.
    John

  • Small square boxes appearing on blank lines (UPDATED) - The question is, how to get rid of them?

    *******  As to my display name "All I tried were in use" - when I registered at the Adobe site to use the Browser Lab, I tried something like 10 or 12 user names and finally gave up and went with "All I tried were in use" - my name is Bob
    ------------------------------- UPDATE --------------------
    The problem, small square boxes showing on lines in Freetext Tool comments, is not limited to blank lines, as I originally reported here. These boxes are showing up at the end of every line. It does not matter if the line break is hard or soft, whether the line is empty or not.
    Please read the original post bearing mind that the  problem is occurring at the end of all lines.
    Also - here is a screen capture of a part of one comment box, showing the square lines. I didn't show the entire box because the material above the area I'm showing is a tad private or confidential. Here is the image showing the boxes - note that there is no box at the end of the last line in the comment.
    -------- Original Post ------------
    We have a copy of Acrobat 5.0. and up until now it has done what we need, which is not much more than adding bookmarks, links, and some touch up. I know it is very old and I know things change. I'm hoping this has nothing to do with the release we are using. I would think this would be a backward compatibility issue if it is a problem with newer Reader versions dealing with PDFs "edited" with 5.0.
    I am having small square boxes showing up on blank lines. (read my update above  - the boxes are at the end of all lines, soft break or hard break))
    I'm a programmer (37+ years in most all aspects of Data Processing) and I decided to learn the PHP programming "language" to add some server side processing to some of my web sites. So, I found a fairly good manual on PHP in PDF form and have been using it.
    I quickly found that the PDF didn't have a single link in it and no bookmarks, so I've been adding them as I look up a particular subject. I'm also adding comments and notes to document things not in the original manual or to add comments that would help other programmers` (who know  other languages) to adjust to PHPs' way of thinking - for example: in all the other languages I know (perhaps two dozen) to get rid of a file, you "delete" it. In PHP you "unlink" it.
    I've added a lot of comments and notes like that and when I view the PDF in Reader (on this computer I have 9.4.2) I'm seeing small square boxes on empty lines. The lines were created when I pressed Enter twice to insert a blank line between paragraphs. (again, read the update at the top of this message - the boxes are at the end of all lines, soft break or hard break)
    How can I get rid of them?
    They are not present when I've got the PDF open with Acrobat, only when I'm using an Acrobat Reader.
    They are also not present if I look at the comments using the Comments navigation panel - that is, they still show on the page, but they don't show in the copy of the comment displayed in the navigation panel.
    They are not present in Notes or when I use one of the shape tools (Square Tool, Circle Tool, or Line Tool) to create notes. They are only present in Freetext Tool comments
    They are clearly being show where there are successive line feed/carriage return characters - but how do I get rid of them?
    I JUST THOUGHT OF SOMETHING - I realized that I'd not printed any of the pages on which I have placed comments and wondered if the boxes show when printing the PDF with Reader -- they do. They are not present if I use Acrobat, not a Reader, to print the same page.
    Any assistance you can provide will be greatly appreciated.
    Please don't tell me to get a newer version - an expenditure like that is simply and totally out of the picture. For us, this is a Depression, not a Recession - we are self-employed and our businesses have been severely hammered since 2006 - we are down to about 1/4 of our income before the big guys trashed the economy.
    Bob
    P.S. Do you know that you can have a heart attack without chest pain, shortness of breath, or left arm  pain? Well, you can! I've had two and the first one nearly killed me because I had no clue it was a heart attack. You can read about it first one here.  Pass this on, it could save a life.
    My second heart attack occurred on October 4, 20112 - it began, around 3:15 AM, as the first one did, with a headache. It turned out the stent implanted in 2002 had been completely clogged by too much tissue grown. The doctor put another stent inside the first one.

    Problem Resolved - it is a font issue. Apparently Acrobat can't handle particular fonts and it is best to stick with a very small slection of fonts - Arial, Helvetica, Times Roman.
    I haven't test a lot of fonts. If I do, I'll post there results here.
    Bob

  • Print Apps won't print with C510a eStation. Prints thin line at top of page.

    My C510a eStation printer will not print using the Print Apps.  It just prints a thin line at top of page.  Everything works fine until I print.
    All other print functions work.  It prints from computer via WiFi.  It prints when I send an email to it.  It copies via the Zeen.  It just won't print using the Print Apps.
    Does anyone else have this problem?  What is the solution?
    12/23/2010 3:00PM.  I just got off the phone with an HP engineer.  She said that the eStation is still in the TESTING phase and to call to report problems so they can improve the product.  (I would have thought the product would have been fully tested before being released to the public!)
    She had me reset the Zeen display by holding down the volume keys while powering up.  This erased everything that had been done on the Zeen by me and resulted in no HOME screens, which will have to be set up by me.  The only app at the bottom of the blank home page was Yahoo!.  Even the printer app was missing.  I had to move it from the app tray to the home page.  Now, I have to spend hours, again, setting up the Zeen.
    After the reset, the printer apps seem to work now.  The Zeen will copy using the printer app.  My computer still seems able to print and scan to/from the eStation.
    The eStation C510a eStation printer and Zeen display are very exciting.  However, they are not for someone not willing to spend the time to get it to work properly.  If you have a cell phone, be prepared to use up a lot of minutes while on support.
    The HP engineer said that it will soon have a new release of Android operating on the Zeen which will allow it to be faster.
    This question was solved.
    View Solution.

    I have decided to return this printer to the store as it just has too many problems.  HP has essentially told me they will not issue updates to solve the problems.  I hate this, as I really loved the product.

  • GUI_DOWNLOAD blank lines in the middle

    Hi All,
    I am using 'GUI_DOWNLOAD' FM to create excel file of my internal table data; Internal table is having 220 fields and expects to create 220 columns in excel file;
    In the middle of the excel file I get several blank lines on and off with only very few column values are filled;
    I checked the ITAB in debug before calling the FM it has no issues and has the correct data;
    My code is as below;
    CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = l_filename
          filetype                = 'ASC'
          write_field_separator   = 'X'
        TABLES
          data_tab                = i_compare
          fieldnames              = i_excel_head
        EXCEPTIONS
          file_write_error        = 1
    Appreciate your expert ideas please;
    Thank you
    Iver

    Hi,
    GUI_DOWNLOAD blank lines in the middle
    In your GUI_DOWNLOAD code, There is no mistake.
    I think, In your program, have you written any SET BLANK LINES ON.
    It is one case.
    Follow this link,
    http://wiki.sdn.sap.com/wiki/display/ABAP/DownloadinginternaltablestoExcel
    It may helps to you.
    Regards,
    Sekhar

  • How can I remove the preceding blank lines in the downloaded text file?

    I have created a jsp that writes to a file and then prompts a dialog box to have an option to view or save the file. However when i view the file, there are blank lines before the actual content of the file. How can i remove these lines?
    Below is part of my code:
         response.setContentType("application/x-download");
         response.setHeader("Content-Disposition","attachment; filename=\""+ fileName + "\"");

    Hi,
    Those blank lines are normally because of the scriptlet code at the start of your jsp page.
    Remove any new lines between page directives or any include directives that you have at the top of your page.
    Look at the generated servlet code to see what exactly is causing the newline to be inserted (look for out.println("\n");)

  • Urgent - please help with blank lines

    Guys need you help, please.
    How do I put blank lines in a repeating frame even if there are records or no(about 20 lines with say 5 columns). I need those lines like our ruled notebooks, for the users to enter something.
    Thanks
    Joe.

    These are blank tabular columns(20 rows 5 col). These rows might have names and other details like a master/details relationship. if there are records in details then print all those details and the blank rows to fillup 20 rows. if there are no details then print those 20 blank rows/columns. i tried doing this with one repeating frame and increasing the number of rows value to 20, but then it stops at the point of the detail rows and does not put the blank rows (lines). so had to create 2 repeating frames.

Maybe you are looking for

  • How can I add a delay to sync iTunes playback with my Sonos system

    I have a Sonos multi-room audio system which accesses all my music from a drive on my Airport Extreme base station. These music files are also accessed through iTunes on my Macs. When I'm at my Macs, I prefer to use iTunes to play my music, so I have

  • Stop LW 360 config page from printing on power-up?

    I know this has been asked and answered many times long ago, but I can't find the posts any more. Is there a way to stop the LaserWriter Pro 360 from printing a configuration page every time upon power-up? Its print queue is set up as an IP printer u

  • MSI K7N2 ILSR - Maximum HDD size

    Can anyone please tell me what the maximum hard disk size that a MSI K7N2 can use. It currently has a Seagate 500Gb drive and I want to add a Seagate 750Gb. Will it work okay ie be able to see and use the full capacity of the drive? Many thanks for y

  • Bulk load issue

    Hi there Just wanted to know is it a bug or feature - in case if Column store table has non capital letters in its name, then bulk load does not work and performance is ruined? Mike

  • LIV report similar to MRNB which list multiple POs

    Hi All, Report MRNB (Revaluation of logistics invoice verification) has a limitation, we can only get the retrospective pricing for a particular item of a single PO for a given interval. Is there any standard LIV report similar to MRNB which gives re