Adding a Kerning amount to the space between a digit and a quotation mark in GREP
Hello,
For some reason I am having a problem adding a Kerning amount between a digit and the Quotation mark in GREP.. Here is what I have :
(?<=\d)\x{0022}
I think the problem, is the character style lets me add a tracking amount, but not specify a kerning amount and that is what I really need. I just need a 150 Kern between the digit (sometimes a whole number or a fraction and the double quotation mark.
Anyone out there know a good way to do this?
thanks
babs
Almost right.
No, you cannot set kerning in a character style (easily -- I think there was a trick to work around it, but I cannot recall what it was). Yep, you must apply tracking with the GREP style to part of the string. If you set the tracking for both characters, it will also be applied to the second one, making this wider as well.
Set your GREP to this to prevent it:
\d(?=~")
(where the code ~" is equal to 'straight double quotes only').
Similar Messages
-
How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.
Okay, I haven't found a way to add an extra space using Find/replace, but you might be able to add some text wrap to the check boxes that will push the text away from them.
Open Find/Replace and click the Object tab.
Click the Specify attributes to find button to the right of the Find Object Format: field.
Under Basic Attributes, choose Stroke and then the Black swatch (assuming the black swatch is applied to the strokes of your check boxes). If there are no other stand-alone objects in your form with a Black stroke, this should be all you need. (If there are Black strokes on your table cells, they will be ignored.)
Click OK
Click the Specify attributes to change button to the right of the Change Object Format: field.
Under Basic Attributes, choose Text Wrap & Other > Text Wrap > Type: > Wrap around bounding box (2nd button from left)
Under Offset, set a Right offset at the distance you'd like to add (I don't know what units you use, but the 3-5 points might work for your purposes...might take some trial-and-error to get it where you want)
Click OK
Click Change All -
How to manage the space between a table and its title?
Have tables where titles are very close to the main text and need a couple of points to separate these elements. How to reshape this space?
1. Titles were separated by a return that is not visible... (any code is revealed by ID)
2. When a Return is inserted after the title, nothing happens aparently, but this return is now visible and could be used as a «paragraph space after» value:
3. A solution could be Grep to catch the end of paragraph assigned to titles to insert a return;
but Grep only catches the right border of the table (the yellow mark shows the big blinking cursor);
Grep cannot see the end of paragraph in the tables's title.
It another method?
Basically, how to modify the space between a table and ists titleI think you and Bob are not in synch here.
Bob suggested that you could use paragraph spacing, but for that to work you do need to use separate paragraphs for the title and table, which you don't seem to be doing. Using GREP to find the end of the paragraph only works if there IS and end to the paragraph. As far as I know there is now meta-character to use in Find/Change that would allow you to find a table and insert a paragraph break ahead of it, but I bet it could be scripted.
I'm not quite sure what you were trying to find in the GREP you posted. Did you actually have a paragraph return inserted already after the title? In that case you only need to redefine the style for that paragraph to add the space (or redefine the style for the paragraph that holds the table itself). You don't need the GREP. But the reason it does nothing is that you've found a location -- the end of the paragraph, but haven't found any actual text to modify. To do anything you would need to use something like .$
But back to NOT having a separate paragraph... If you put the cursor in any table cell and go to Table Options > Table Setup tab you'll see fields to set space before and after the table that should do what you want. That was the second part of what he posted. -
In Adobe forms - the space between items more
Hi Experts,
While displaying the ouput through adobe forms , the space between the items is more.
Please suggest me how to reduce the blanklines inbetween the items.
Even I made the subform content as 'FLOWED' and also in context for some fields i added condition if TB_ITEM-TEXT NE space ..
I tried by Events with scripts as,
if ( $.rawValue eq null )
then
$.presence = "hidden";
endif
still space between the items is not reduced. Please help me out from this.
Thanks in advance.
Regards,
Priya.Hi Ankit and Rajeev,
Thanks for your reply.
As ankit said,
In print program by using read text function module am capturing item texts. If item text exists am setting flag .
with that flag, in adobe form in context am checking condition if flag field not equal to space then it will enter for item text field.
even after this..item texts not exists but in the output spaces are not truncated.
Rajeev,
My requirement is for body page.
My output is like this :
In table am dispalying matnr, desciption, unit of measure , quantity , amount ....
10 8910047 CILPENETR PC 30 20,000
ab
abc
20 22447 VALVE PC 20 30,000
in the above format 10 and 20 are line items.
inbetween this line items ab, abc are the two text fields which displaying material Sales text and Itercompnay text.
if items texts not exist,
I want output should get displayed as like this,
10 8910047 CILPENETR PC 30 20,000
20 22447 VALVE PC 20 30,000
inbetween 10 and 20 spaces should be truncated if those fields value is empty.
In subform Pallets -> Object -> Subform, alreday its 'Flowed' and Flow direction as 'Western Text'.
Please help me out.
Regards,
Priya. -
How do you remove the space between the lines in your email signature?
I have a problem with my signature in business catalyst mail.
I have added a logo and my signature and when I send the email it looks good.
There is the space between the lines that I want.
But when the mail is received it looks like this:
with too much space between each line. How do I fix this?
Thank you in advance for you help and your time.
Regards WinnieHello,
Well the good news is it looks like it's going to be some css and html issues the bad news (for most people) is it looks like it's going to be some css and html issues.
Couple things.
Are you looking at vertical or horizontal spacing?
Region 1 in the shipped themes are used for breadcrumbs and usually have set vertical spacing and margins.
Have you looked at the other layout examples in that application, there's 2 that show different ways of getting exact layout.
Look at your page template there is an attribute called
Region Table attributes
if it looks like
summary="" cellpadding="0" border="0" cellspacing="0" width="100%"
change it to
summary="" cellpadding="0" border="0" cellspacing="0"
and see if that helps?
If you can put an example on htmldb.oracle.com thats the easiest way to help you out, as a rule it's very hard to debug UI issues without seeing them.
Carl -
How to create a table with the spaces between the row..
Hello,
I am using jdev 11.1.1.6 and I need to insert the spaces between the rows. How this can be done?
Thanks and Regards,
Tarun AgrawalHi Tarun,
This css rule is useful to set the padding on each cell:
.AFTableCellPadding:alias {
padding: 10px 0px 10px 0px;
}But if you want to insert a real space between the rows (property "cellspacing") you can do something like this:
af|table > div + div > table {
border-collapse: separate;
border-spacing: 0px 5px;
}AP -
XML in Flash Taking out the "space" between words
I have a xml document that flash reads to pull random words
from it. I replace the letters of the words with a character, right
now its a minus sign (-). What I am haveing problem with is I don't
want the spaces between the words to be replaced. I want them to be
ignored but still have the space between the words. Example: "big
dog" would be (--- ---). Is there a way to have flash recognize
this "space" and not replace it with anything?
Thanks,
LukeI think the XML aspect is irrelevant here... all you want to
do is disguise regular text right? There's probably a more
efficient way to do this, but here's a start anyhow. -
How to adjust the space between images in a carousel or images with horizontal scroll
I use the next steps to create a carousel or horizontal scroll of images:
Webcenter portal: Spaces
Spaces
Manage Settings
Pages
Create page
Content management
Content presenter
Add images with Plus Icon
It works, but between every image has a lot of space, can you tell me how to reduce the space between every image.
My Oracle Version 11gR1 (11.1.1.3.0)
Regards
Tomas ReyesRemove line 234 in your HTML code.
<p>& n b s p</p>
This is a redundant line of code. Your spacing should get resolved.
PS: I've given spaces between the tag because otherwise this forum would not display the line correctly. -
How can I adjust the space between the dividing line of the footnotes and the continuous text?
How can I adjust the space between the dividing line of the footnotes and the continuous text?
I want to extend the space so the dividing line does not stuck to the normal (continuous) text in my thesis. Do you have a solution? That would be perfect. Thanks a lot!
-
How do reduce the space between the front panel and the display area
I am trying to reduce the space between the front panel and display area but i am not able to reduce the space
A picture would be very helpful in demonstrating what you are having trouble with.
Lacking that, I will guess.
VI Properties >>> Windows Size
lets you define the minimum size of a FP window.
Well that's my guess!
Did I win?
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
How do I reduce the space between lines in a JTextComponent?
I've searched pretty thoroughly in this forum and can't find an answer.
My editor displays text fine, but I'm not happy with the space between lines. Is there any way I can reduce the overall height of each line just to close the gap a little?Okay, I've got it worked out. I reckon it will work for my purposes although I have yet to test it in my app.
The trick is to use a negative value for the StyleConstants.setSpaceAbove(spacing2, -5.0f);The code below shows a comparison between a text pane with default spacing values and a text pane with that -5 space above value.
import java.awt.*;
import javax.swing.*;
import javax.swing.text.*;
public class TestTextPane extends JFrame
public TestTextPane()
super("Text Pane Test: LineSpacing");
JPanel panel = new JPanel();
setContentPane( panel );
JTextPane textPane = new JTextPane();
textPane.setFont( new Font("monospaced", Font.PLAIN, 12) );
textPane.setText( "abcdefghijklmnop\none\ntwo" );
SimpleAttributeSet spacing = new SimpleAttributeSet();
StyleConstants.setLineSpacing(spacing, 0.0f);
StyleConstants.setFirstLineIndent(spacing, 0.0f);
StyleConstants.setSpaceAbove(spacing, 0.0f);
StyleConstants.setSpaceBelow(spacing, 0.0f);
StyleConstants.setUnderline(spacing, false);
StyleConstants.setItalic(spacing, false);
StyleConstants.setBold(spacing, false);
//this line sets the attributes for the text specified by the first two arguments.
textPane.getStyledDocument().setParagraphAttributes(0, textPane.getDocument().getLength(), spacing, true);
JScrollPane scrollPane = new JScrollPane( textPane );
scrollPane.setPreferredSize( new Dimension( 200, 200 ) );
//set up the comparison
JTextPane textPane2 = new JTextPane();
textPane2.setFont( new Font("monospaced", Font.PLAIN, 12) );
textPane2.setText( "abcdefghijklmnop\none\ntwo" );
SimpleAttributeSet spacing2 = new SimpleAttributeSet();
StyleConstants.setLineSpacing(spacing2, 0.0f);
StyleConstants.setFirstLineIndent(spacing2, 0.0f);
StyleConstants.setSpaceAbove(spacing2, -5.0f);
StyleConstants.setSpaceBelow(spacing2, 0.0f);
StyleConstants.setUnderline(spacing2, false);
StyleConstants.setItalic(spacing2, false);
StyleConstants.setBold(spacing2, false);
//this line sets the attributes for the text specified by the first two arguments.
textPane2.getStyledDocument().setParagraphAttributes(0, textPane2.getDocument().getLength(), spacing2, true);
JScrollPane scrollPane2 = new JScrollPane( textPane2 );
scrollPane2.setPreferredSize( new Dimension( 200, 200 ) );
panel.setLayout(new FlowLayout());
panel.add( scrollPane );
panel.add( scrollPane2);
public static void main(String[] args)
TestTextPane frame = new TestTextPane();
frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
frame.pack();
frame.setVisible(true);
} -
How to control the space between records in form layout
Hi ,
I need to display mutiple records (15-20) in a form ,
and have choosen FORM layout as I need to display each record in two lines (Can a record be displayed in two lines in TABULAR layout ? ) .
Now There is lot of space between each record and I could not move records closer . How can I control space between reords in FORM layout ?
(While creating Canvas I selected Distance bwteen records = 0 )
Thanks in advance,
AshaAsha,
no in tabular layout there is no way to display a record on two lines. All you can do is to use a stacked canvas and use it to make the table scrollable horizontally
The distance between record setting is a property on the item level. if this is set to 0 (please double check) then all that is loeft is the item bevel. You can set the item bevel property to plain and then work on resizing the items hight until close to acceptable.
Frank -
Decrease the space between the columns.....
i have a tabular region, in that region i have 10 columns, the space between the columns have more space.
i would like to decrease the space between the columns.
how to do this?
Thanks and regards,
skud.help pls...
-
Hello,
How to I increase the space between the top of tabs and the frame of the entire window? It was fine until Firefox updated and since it updated it reduced the space. Now the space is too thin which makes it more difficult to move the open window frame around when I need to grab something from Desktop. Image attached.In the image, see how thin the space is right above the tab? It was much wider before Firefox update so if any know how to make it wider again, please let me know. Thank you
''troyable7 [[#question-1058550|said]]''
<blockquote>
Hello,
How to I increase the space between the top of tabs and the frame of the entire window? It was fine until Firefox updated and since it updated it reduced the space. Now the space is too thin which makes it more difficult to move the open window frame around when I need to grab something from Desktop. Image attached.
</blockquote>
In the image, see how thin the space is right above the tab? It was much wider before Firefox update so if any know how to make it wider again, please let me know. Thank you -
How can i set the space between two button?
Hello,
I have
<mx:HBox>
<mx:Button label="one" />
<mx:Button label="two" />
</mx:HBox>
how can i set the distance between this two compotents?
Thanksquote:
Originally posted by:
robinbouc77
Hi,
you can use horizontalGap property on HBox to change the
space between your buttons. I think the default value is 6. You can
also use <mx:Spacer/>, but changing the gap on HBox is
probably the cleanest way ;)
C U
perfect!!! works fine
Maybe you are looking for
-
DSN's Missing in the ODBC drop down list box
Being new to JDeveloper, I have been running through the tutorials. I have installed Oracle lite on NT4 SP3 and have tested out the sample data base 'Polite' using the installed odbc driver through MS query ...all works fine, however in tutorial 3 wh
-
My Lightroom (CC) after an update today will no longer open, any ideas why?
Today I have just updated my CC Photography apps to the latest versions, Photoshop is fine but Lightroom will not open. I have uninstalled everything an re loaded from fresh and Lightroom still won't open. Has any one experienced this and know a fix?
-
ABAP Client Proxy doesn't work
Hi all, I have an asynchronous outbound ABAP proxy. When I call the proxy, the return message is correct (Services Processed Without Error), but the message doesn´t arrive to the Integration Server. Please help. Thanks in advance, Roberto
-
Can't get LightDM avatar instructions to work [solved]
I must be doing something wrong with getting my avatar into LightDM. I followed the wiki (or at least i think i did). I am using the default GTK greeter with a theme from my system. Theme and greeter work fine. Here are files I set up according to
-
I really need to buy in Apple Store the iPhoto BUT IS SOMETHING IMPOSSIVEL... two days I am trying to do it but I couldn't ... they ask two questions that I have never remenber. Please, is anyone else can help to buy it? Thanks, Maria