How to insert image wrapped by text in Xaringan slides - r-markdown

I know in latex the code for inserting image wrapped by text is something like:
\begin{wrapfigure}{r}{0.4\textwidth}
\centering
\includegraphics[width=0.35\textwidth]{img1.jpg}
\caption{This is a figure positioned at the right and wrapped with text.}
\label{fig:img1}
\end{wrapfigure}
I wonder if xaringan slide also has the same tools and if any how to do it.

Related

Cant seem to see content of inkscape file

I worked on some design on inkscape and something weird happened. I can no longer see the contents for file when i open inkscape. All I see I blank whitespace, I don't even see the black rectangular borders I used to see before. When I look at the svg file in finder I can see the contents in the file thumbnail but once i open in inkscape I dont see anything. I tried fitting the page to the content and changing width and height of the document and nothing happened.
I am new to inkscape so this is confusing to me. Anybody have any ideas how to rectify this?
Open your document in Inkscape then press 5 to zoom to the page (or using the menu: View → Zoom → Zoom Page).
You should see the drawing:

Creating a centered text box in RMarkdown

I am using RMarkdown to generate a standard pdf_document. What would be the simplest solution to insert a centered text box in my document which I can add information in?
TIA!

how to put text at random position in xaringan

I'm trying to put some text in the slides at certain position on top of other stuffs/plots, is that possible? Here is one scenario, the slide is occupied by pictures and texts, but I like to give one sentence conclusion by a different color on top of them, the text just like a stamp to the slide, it's better if I also can adjust the text orientation, just like in powerpoint or keynote, you can add text at any position and style.

Spacing between inserted image and caption in R markdown

I want to adjust the spacing between an inserted image and the caption (HTML output). The default output in latex/PDF looks nice. But the space in html is way too little (see the attached image).
I searched around but found no solution so far. I would imagine that this can be solved by adjusting the margin of the image, margin of the caption, or adding vertical space, but really need some guidance on how. Any suggestion is appreciated!

Add text to a picture using photoshop

I want to know if exist templates to add text on photoshop like in the following pictures:
http://sphotos-e.ak.fbcdn.net/hphotos-ak-ash4/485070_566956359990277_263279122_n.jpg
https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-ash4/3263_403189956409783_609225582_n.jpg
Could you suggest some pages where I can study and try those effects ?
Thanks.
Step1: Find the fonts. Search on font sites for similiar fonts or try to cut out the font and upload it to http://www.whatfontis.com/ or http://www.myfonts.com/WhatTheFont/
Step2: just play around with blending options and stuff.
from what I can see it's these settings you want too look at:
"Notche Latina": Gradient overlay, white stroke and black dropshadow.
"photo recoblablabla": inner shadow and might be in overlay-mode or something
"Festival de la bira": once again, white stroke
First make a layer adjust the objcet on layer as per your requirement.
Add some effects from filter gallery if you required (or layer style).
Click on the text toolbar type your text (required text).Then to apply effects
right click on text layer and click on rasterize type.now you can add effects from the filter gallery to the text.(or Layer style eg-inner shadows,bevel and emboss).