-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help on usage and some comments #2
Comments
Glad to hear that the script is helpful to you. Your suggestion about the YAML header is quite a bit more elegant than creating new templates; I'll add to the documentation. The script unfortunately does not currently honor the width tag: It predates this feature in pandoc, and I haven't gotten around to adding it. I will leave this issue open and try to fix down the road (unfortunately kind of swamped right now). The script puts all images on the right (I wanted to keep it as simple as possible). |
+1 for width tag ! (: |
+1 for width tag. |
Without the width tag, images have to be scaled manually to the width specified in {X}. An alternative solution for having large figures scale down to fit in the {X} space is to have at least one other figure within the document that is not wrapped. If you don't have one, you can create a png with just a white dot and add |
I'm a bit swamped right now but will try to take a look. In general, I have subscribed to the theory that figures should be created at the intended print size, but I can see how this isn't always convenient. |
Thanks for this script: it is exactly what I was looking for.
FYI, I am using a YAML header block in my source file so:
---
header-includes:
- \usepackage{wrapfig}
---
for which I believe that there is no need to modify the standard LaTeX template.
The line in my source file that I wish to wraparound has this figure information:
![A view of a room. {0}](room.jpg){width=50%}
Does the
{width=50%}
come into play at all? Numbers other than 0 give me results akin to what I need, but I wanted to find out if the{width=...}
syntax is honoured by the script.Also, is it possible to have one figure on the right and another on the left in the same document, with this single script?
Many thanks.
The text was updated successfully, but these errors were encountered: