Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drop Caps 2

Status
Not open for further replies.

kerrysr

Technical User
Sep 9, 2005
56
US
I have a document where Drop cap won't always work. On some sentences it allows me to add the drop cap but on others "drop cap
is grayed out and I cannot select it.

Ideas?
 


Hi,

"On some sentences it allows me to add the drop cap ..."

Drop Cap is a PARAGRAPH related feature. It works on the beginning of a paragraph.

Skip,

[glasses] [red][/red]
[tongue]
 
It is the start of the paragraph (where I want the drop cap.) The problem is that I have a quotation in italics above the start of the actual 1st paragraph. Is there a way to trick the system so it thinks what I want it the paragraph start?
 


Is it the start of a paragraph or not ("The problen is...)?

Please post (copy 'n' paste) the text before and after the desired insertion point.

Skip,

[glasses] [red][/red]
[tongue]
 
It is the start of the paragraph (where I want the drop cap.) The problem is that I have a quotation in italics above the start of the actual 1st paragraph. Is there a way to trick the system so it thinks what I want it the paragraph start?
Huh????

If you have some text - a quote in italics, or WHATEVER - above a paragraph, then that paragraph is not the first paragraph. The quote is.

You can not have something else "above" the 1st paragraph. It is either the 1st paragraph...or it is not.

I don't know what you mean by "trick" the system. Trick it to do what??

Gerry
My paintings and sculpture
 
You can have any paragraph have a drop cap. Each paragraph has its own properties. A paragraph is defined as hitting the enter key.

IF.. you have not hit the enter key after the quote in italics then you MUST to define the rest of the text as a different paragraph.

IN ANY PARAGRAPH.. you may add/remove drop cap for the first letter in the paragraph.

EXCEPTION.. if you are working with text in a table or text box the "drop cap" function will be grayed out.
 
A paragraph is defined as any Range within a document that is terminated by a paragraph mark. A paragraph mark can be placed in a document by code, so technically that paragraph is not defined by hitting the Enter key. A paragraph is any Range terminated by a paragraph mark - the the special double ASCII character Chr(13)+ Chr(7).
Auger282 said:
IF.. you have not hit the enter key after the quote in italics then you MUST, to define the rest of the text as a different paragraph.
This is quite correct. The text below the quote must be a different paragraph - if you want it to be Drop Cap, and the quote above not a Drop Cap.

Let's be clear what Drop Cap does. Drop Cap takes the first character of a paragraph and removes it from the paragraph. It becomes a new paragraph in a special kind of textbox. You can, in fact, move the Drop Cap object.

The Drop Cap textbox is special because, while it looks like a Shape object (it can be resized, and moved around), it is NOT a Shape. It is NOT part of the Shape collection. It is a special object - a Drop Cap object, and is part of the Paragraph object.

VBA documentation states that a paragraph can have only one Drop Cap object. This is not correct. A Drop Cap is a (sort of) Shape, and as such it has a an anchor. This anchor can be moved. If it is moved to a paragraph with a current Drop Cap, that paragraph now has two Drop Cap objects.

Taken with this information, it IS, in fact, possible to place a Drop Cap object within a table cell, and make text in that cell look like a Drop Cap effect.

Also note, that if you DO move a Drop Cap, if the anchor is moved from the originating paragraph using Format > Drop Cap is changed. Normally if you Drop Cap again, it acts like a toggle, and if there is a Drop Cap, then the Drop Cap reverts back to original text/format. If the anchor is moved using Drop cap will NOT bring it back to the original paragraph. It now belongs to whatever paragraph it is anchored to.




Gerry
My paintings and sculpture
 
fumei.. though you may be correct.. I think you may have just confused the solution for kerrysr.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top