google spreadsheets(google excel) Why is my picture being displayed incorrectly in Html View? - google-sheets

Whenever I add a picture to google spreadsheets in editor mode It always appears lower when viewed in Html Mode. Is their a fix for this?

You can instruct Google Spreadsheet engine with ease how you want the images to render by using this syntax:
To retain aspect ratio while increasing / decreasing the cell size:
=IMAGE("URL")
To make the image stretch and fit all edges of the cell:
=IMAGE("URL",2)
To make the image keep its original size:
=IMAGE("URL",3)
To manually set the image size (replace 50,50 with desired dimensions):
=IMAGE("URL",4,50,50)
Now to answer your question more directly. There are several reasons why this can happen. This comes to how Google are actually translating the spreadsheet and rendering it as HTML.
With that said, it is hard to answer your question with the correct answer while not being able to look at the spreadsheet and the output of the html.
Update
Looking at your source:
The problem is that the CSS that is outputted generates topå and left values that makes the image be off by the y axiz.
Here is a method to edit the CSS in Google Spreadsheet if you are familiar with it: http://lifehacker.com/387849/style-your-google-docs-with-css
If you are not familiar with it its probably not much help, but anyway!
If you find this answer helpful please tick accept and up it, i need it :-)

Related

Adding icon to Calculated Tableau Field

I am trying to add a small green arrow to a calculated field in Tableau. I cannot figure out for the life of me what to do. I have some images in my Tableau Repository, but the way my trainer is showing us is she is literally copy and pasting an image and it appears in the calculated field dialog box. I have tried to copy an image and paste it with no luck. Does anyone know how to do this? My trainer in the videos just does it like magic with no explanation of how to do it and it drives me insane. The code is very simple as I just want a green up arrow next to the growth percentage if its positive.
IF [Growth Percentage Profit] > 0
THEN "*green up arrow here*"
END
I exactly don't know how you are trying to do so.
but can get steps to do this from this link below.
may it could help you.
https://www.google.com/search?q=tableau+up+arrow+green&rlz=1C1UEAD_enPK957PK957&sxsrf=ALiCzsbLWY6J2Zh1jYWOX6_jq310QuQYow:1669030745991&source=lnms&tbm=vid&sa=X&ved=2ahUKEwjRi--FmL_7AhW5nP0HHbHsANEQ_AUoA3oECAEQBQ&biw=960&bih=936&dpr=1#fpstate=ive&vld=cid:0c41f2fc,vid:RSV3cm_mTHw

Method for Adaptive Cards with Variable Height Text in Sketch

Has anyone managed to pin down a method for creating cards in Sketch which will play well with adaptive height text overrides? For example, a simple card with a thumbnail, title and excerpt might have a title which is 1, 2 or 3 lines and an excerpt which is anything between 6 and 12+ lines. I'd like to know how to position the excerpt relative to the new height of the title but it seems not to interpret the new three-line height, only it's original height in the symbol. See attached for illustration.
Methods that I've tried include pinning the excerpt to the bottom but that doesn't play well with the variable length of the excerpt and grouping the title and the thumbnail. The only working method that I have is creating three instances of the symbol called post-title-one-line, post-title-two-line, post-title-three-line – which seems clunky.
Looking for any ideas or direction to a solution.
My recommendation is to use the Auto-Layout by Anima plugin. Follow the documentation and examples provided to learn how to use it. Here's an example solution:
Screenshot of Sketch File
Example Sketch File

How to adjust the width of a font using the Uniscribe API

Please bear with me, I am new to Uniscribe so I hope this isn't a dumb question but I have been unable to find the solution anywhere else. So, here goes...
I am trying to use the Uniscribe API to reduce the width of a font; that is, given a specific font of a particular height, I would like to be able to reduce the width of each character (and all the relevant spacings) by some user-defined percentage.
I have successfully achieved this without calling any Uniscribe functions by obtaining a LOGFONT structure for the current font and adjusting the lfWidth field to be a percentage of its original value. I realise that this is just an average character width but it seemed to have the desired result.
However, when I try to do the same thing using Uniscribe I've noticed that the lfWidth field gets reset to 0 following calls to ScriptShape(). As a result, all rendered text is output using its original width. I'm at a loss to explain why this is or what to do to get around it.
Does anybody have any idea if it's even possible to do what I am trying to do?
You might want to start here (look at the Generate Glyph Information Section), then lead to this.
Hope it helps!

dealing with large figures in Latex

I have a large figure that appears at the end of my document rather than in the section that I want to be in. Even \begin{figure}[h] doesn't help. Without scaling it down, how can I put it at the end of the section I want it in?
Using the afterpage package can be a good solution. However, using the option here you are trying to tell LaTeX where you want to put the image. Instead, you need to tell LaTeX where the image is good to be put:
use \begin{figure}[tb] for figures that fit well in a page with text (say, half of the text height for the figure and the other half for the text)
use \begin{figure}[p] for floats large enough to require a dedicated page.
Setting a proper option increase your chances to have the image almost where you want, having at the same time a good page layout.
If the figure is still too far from the page where it should be placed, you can set some "barriers" for floats positioning with the packages placeins or afterpage (already mentioned).
Here is a small tutorial for float placement. The thing you want to do is put an \afterpage{\clearpage} command at the end of the section. This will create an additional page after the current one and place the floats that are left in the queque there. If the float still doesn't get placed, you have to resize it. If you really don't want to resize it and it should fit on the page, then you could try changing the margins and text area temporarily (i.e. just for that one page) and see if that lets the float get placed.
i forget if it's the float or array package that provides this, but,
\begin{figure}[H]
...
\end{figure}
The upper case H will put the figure exactly where it is in your code.

How to modify the paper dimensions in plain TeX?

I mean the whole paper, not only the text zone in it.
I want the dvi output to look 1 centimetre x 10 metres in the viewer if
I set these dimensions in the tex file.
And I don't want to go through LaTeX for it.
Add \special{papersize=1cm,1000cm} in the first page of the document. This is really a dvips extension, but many dvi viewers understand it. (And of course set \hsize, \vsize etc. to control the positioning of text.)
A couple of useful links:
The size of printed output and
Getting the right paper geometry from (La)TeX.
Of course, googling is much more efficient once I get the answer.

Resources