Hello every one
So I have to draw vector symbols and need to put an arrow symbol above some letters. What I know is that I have to use Unicode character codes with ctrl+u. I found this vector symbol with code '20D7'. But problem is that no font other than 'Cambria Math' recognizes this character code and that too doesn't produce the desired outcome. (The arrow symbol is displayed after the letter, instead of above it!). Can anyone please tell me what is the way to do it correctly?
How to put a vector symbol (arrow) above text?
Re: How to put a vector symbol (arrow) above text?
Greetings.
I'm using Inkscape 0.48.1 r9760 in Ubuntu Linux.
I created some random text (I need an arrow.) and did the unicode after the final dot. I moved through several font choices and saw that the arrow remained there throughout my choices. However we're not sure what your particular "desired outcome" is. Can you give us more details?
I'm using Inkscape 0.48.1 r9760 in Ubuntu Linux.
I created some random text (I need an arrow.) and did the unicode after the final dot. I moved through several font choices and saw that the arrow remained there throughout my choices. However we're not sure what your particular "desired outcome" is. Can you give us more details?
Re: How to put a vector symbol (arrow) above text?
Would you be able to just draw an arrow (short straight line with arrow marker on the end) and then duplicate, and manually place above the letters? Or are there way too many letters for this to be feasible?
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: How to put a vector symbol (arrow) above text?
I am using Inkscape 0.48.0 r9654 in Windows 7.
Below is how it is displayed. I want the arrow to be exactly above the letter.
Below is how it is displayed. I want the arrow to be exactly above the letter.
- Attachments
-
- a.png (409 Bytes) Viewed 42945 times
Re: How to put a vector symbol (arrow) above text?
Actually for now i'm just using simple straight lines above letters to symbolize vectors. But it would be nice if I could use the arrow. I have to use it again and again so that's why i didn't go for the manual option.
Re: How to put a vector symbol (arrow) above text?
Oh, silly me. Of course there's an easy way to move that arrow.
I'll put it in my next post.
*grins*
I'll put it in my next post.
*grins*
Re: How to put a vector symbol (arrow) above text?
Did you test with Cambria itself (instead of Cambria Math) or using a different math font like XITS? Works for me (the arrows from the 'combining diacritical marks for symbols': a⃖ a⃗) in Inkscape 0.48.1 (tested on Mac OS X 10.5.8) - apparently except with Cambria Math (whether this is due to a bad font (MS) or Inkscape's fault - I do not know):
Later added: Attaching the SVG file used for the screenshot, too - on my system, the SVG file renders identically to Inkscape e.g. in Chromium, Safari, Firefox and Squiggle (Batik), only Opera doesn't seem to handle the Unicode diacritical marks as expected.
Later added II: Minor correction: the font 'Cambria' doesn't include the 'Combining Left|Right Arrow Above' characters/glyphs, apparently only 'Cambria Math' does. But unlike Inkscape's font back end on Windows, on other platforms missing glyphs are silently substituted if available in another installed font (on the screenshot (Mac OS X), the arrows for the 'Cambria' example are silently substituted with those from the 'DejaVu Sans' font): on the other hand both other tested fonts (XITS and XITS Math) do include those symbols which are properly aligned in Inkscape. You might consider switching to a different font which contains your needed glyphs (XITS, STIX, …) instead of sticking to Cambria / Cambria Math.
Later added: Attaching the SVG file used for the screenshot, too - on my system, the SVG file renders identically to Inkscape e.g. in Chromium, Safari, Firefox and Squiggle (Batik), only Opera doesn't seem to handle the Unicode diacritical marks as expected.
Later added II: Minor correction: the font 'Cambria' doesn't include the 'Combining Left|Right Arrow Above' characters/glyphs, apparently only 'Cambria Math' does. But unlike Inkscape's font back end on Windows, on other platforms missing glyphs are silently substituted if available in another installed font (on the screenshot (Mac OS X), the arrows for the 'Cambria' example are silently substituted with those from the 'DejaVu Sans' font): on the other hand both other tested fonts (XITS and XITS Math) do include those symbols which are properly aligned in Inkscape. You might consider switching to a different font which contains your needed glyphs (XITS, STIX, …) instead of sticking to Cambria / Cambria Math.
- Attachments
-
- diacrits-in-math-fonts-2.svg
- (7.61 KiB) Downloaded 668 times
Last edited by ~suv on Mon Aug 22, 2011 5:27 pm, edited 2 times in total.
Re: How to put a vector symbol (arrow) above text?
Hmm. Tried my "brilliant" solution and it failed.
I'm seeing what's happening here. The arrow over the letter is like an accent. It's as if I'm turning "e" into "é". I get where the difficulty comes in.
I was going to suggest using kerning. But the arrow and the previous letter form a single unit. So that's not possible.
Workarounds:
Turn the letter with the arrow into a path then move the arrow into the correct location.
Create a separate text block and use the Unicode by itself, creating the arrow only. Move the arrow to the desired location.
To create the arrow successfully, use the text tool.
Click the page.
Type a single letter and then several blank spaces using the space bar.
Ctrl+Shift+T to open the Text and Font box.
Place the cursor at the end of the row of blank spaces.
Add your unicode arrow.
Click apply then close.
Click the edited text on your desktop.
Press F8 to edit.
Delete any remaining blank spaces.
Move arrow over letter.
This works fine in the case of 1 or 2 letters that need the arrow. If this arrow must appear over every "E" in a hundred paragraphs... I'm not sure what to offer as a suggestion.
I'm seeing what's happening here. The arrow over the letter is like an accent. It's as if I'm turning "e" into "é". I get where the difficulty comes in.
I was going to suggest using kerning. But the arrow and the previous letter form a single unit. So that's not possible.
Workarounds:
Turn the letter with the arrow into a path then move the arrow into the correct location.
Create a separate text block and use the Unicode by itself, creating the arrow only. Move the arrow to the desired location.
To create the arrow successfully, use the text tool.
Click the page.
Type a single letter and then several blank spaces using the space bar.
Ctrl+Shift+T to open the Text and Font box.
Place the cursor at the end of the row of blank spaces.
Add your unicode arrow.
Click apply then close.
Click the edited text on your desktop.
Press F8 to edit.
Delete any remaining blank spaces.
Move arrow over letter.
This works fine in the case of 1 or 2 letters that need the arrow. If this arrow must appear over every "E" in a hundred paragraphs... I'm not sure what to offer as a suggestion.
Last edited by BobSongs on Tue Aug 23, 2011 2:24 am, edited 1 time in total.
Re: How to put a vector symbol (arrow) above text?
Thanks everyone for help.
I'm going to switch to XITS font as suggested by ~suv, as I have to use it too many times.
Cheers!
I'm going to switch to XITS font as suggested by ~suv, as I have to use it too many times.
Cheers!
Re: How to put a vector symbol (arrow) above text?
hello, i am fairly new on this software, and i am wondering how do you actually put that arrow above the character. although it is not an arrow i want but a hat. I also get it on the side like the OP showed, and i have no idea how can i put it above it not on the side. Can ~suv, OP or someone explain how he achieved it please, as in what he did more explicitly. I have like 2 schemes that i have symbols which need pointy hat on them and frankly i would like to know how to do this more easily and not manually. i have installed that font and i have cambria fonts also, but i think i am missing some steps. i downloaded that .svg file and well the character is fused to the arrow hence i can't change the letter there, and obviously i don't need letter a there .