* scaling graphics in org-mode exported to latex
@ 2016-06-30 12:42 Sharon Kimble
2016-06-30 13:01 ` Alan Schmitt
2016-06-30 13:03 ` Max Linke
0 siblings, 2 replies; 6+ messages in thread
From: Sharon Kimble @ 2016-06-30 12:42 UTC (permalink / raw)
To: org-mode-email
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
I'm trying to get a 'list of figures' in an org-mode export to latex,
but I'm finding difficulties in inserting graphics in org-mode. My
graphic insert code is -
--8<---------------cut here---------------start------------->8---
#+CAPTION: Percutaneous endoscopic gastrostomy tube
#+ATTR_LaTeX: scale=0.2
[[./images/percutaneous-endoscopic-gas.jpg]]
--8<---------------cut here---------------end--------------->8---
The caption works, the graphics inserts works, but how do I scale it please?
I've googled it and tried various solutions, but none are working, so
how do I do it please?
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.0.95
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: scaling graphics in org-mode exported to latex
2016-06-30 12:42 scaling graphics in org-mode exported to latex Sharon Kimble
@ 2016-06-30 13:01 ` Alan Schmitt
2016-06-30 17:36 ` Sharon Kimble
2016-06-30 13:03 ` Max Linke
1 sibling, 1 reply; 6+ messages in thread
From: Alan Schmitt @ 2016-06-30 13:01 UTC (permalink / raw)
To: Sharon Kimble; +Cc: org-mode-email
[-- Attachment #1: Type: text/plain, Size: 815 bytes --]
On 2016-06-30 14:42, Sharon Kimble <boudiccas@skimble.plus.com> writes:
> I'm trying to get a 'list of figures' in an org-mode export to latex,
> but I'm finding difficulties in inserting graphics in org-mode. My
> graphic insert code is -
>
> #+CAPTION: Percutaneous endoscopic gastrostomy tube
> #+ATTR_LaTeX: scale=0.2
> [[./images/percutaneous-endoscopic-gas.jpg]]
>
> The caption works, the graphics inserts works, but how do I scale it please?
>
> I've googled it and tried various solutions, but none are working, so
> how do I do it please?
Have you tried:
#+ATTR_LaTeX: :scale 0.2
?
I know it works with :width, so it may work with scale as well.
Best,
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2015-05: 403.94, 2016-05: 407.70
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: scaling graphics in org-mode exported to latex
2016-06-30 13:01 ` Alan Schmitt
@ 2016-06-30 17:36 ` Sharon Kimble
0 siblings, 0 replies; 6+ messages in thread
From: Sharon Kimble @ 2016-06-30 17:36 UTC (permalink / raw)
To: Alan Schmitt; +Cc: org-mode-email
[-- Attachment #1: Type: text/plain, Size: 973 bytes --]
Alan Schmitt <alan.schmitt@polytechnique.org> writes:
> On 2016-06-30 14:42, Sharon Kimble <boudiccas@skimble.plus.com> writes:
>
>> I'm trying to get a 'list of figures' in an org-mode export to latex,
>> but I'm finding difficulties in inserting graphics in org-mode. My
>> graphic insert code is -
>>
>> #+CAPTION: Percutaneous endoscopic gastrostomy tube
>> #+ATTR_LaTeX: scale=0.2
>> [[./images/percutaneous-endoscopic-gas.jpg]]
>>
>> The caption works, the graphics inserts works, but how do I scale it please?
>>
>> I've googled it and tried various solutions, but none are working, so
>> how do I do it please?
>
> Have you tried:
> #+ATTR_LaTeX: :scale 0.2
> ?
>
> I know it works with :width, so it may work with scale as well.
>
Sorry Alan, it doesn't work, but Max's suggestion does. :)
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.0.95
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: scaling graphics in org-mode exported to latex
2016-06-30 12:42 scaling graphics in org-mode exported to latex Sharon Kimble
2016-06-30 13:01 ` Alan Schmitt
@ 2016-06-30 13:03 ` Max Linke
2016-06-30 13:29 ` Nicolas Goaziou
2016-06-30 17:03 ` Sharon Kimble
1 sibling, 2 replies; 6+ messages in thread
From: Max Linke @ 2016-06-30 13:03 UTC (permalink / raw)
To: Sharon Kimble, org-mode-email
I typically set a fixed width in latex like so.
#+CAPTION: Percutaneous endoscopic gastrostomy tube
#+ATTR_LaTeX: :width 0.3\linewidth
[[./images/percutaneous-endoscopic-gas.jpg]]
Important to note that I write `:width` with a beginning double point.
I can't get the `scale` to work even with a double point.
best Max
On 06/30/2016 02:42 PM, Sharon Kimble wrote:
>
> I'm trying to get a 'list of figures' in an org-mode export to latex,
> but I'm finding difficulties in inserting graphics in org-mode. My
> graphic insert code is -
>
> --8<---------------cut here---------------start------------->8---
> #+CAPTION: Percutaneous endoscopic gastrostomy tube
> #+ATTR_LaTeX: scale=0.2
> [[./images/percutaneous-endoscopic-gas.jpg]]
> --8<---------------cut here---------------end--------------->8---
>
> The caption works, the graphics inserts works, but how do I scale it please?
>
> I've googled it and tried various solutions, but none are working, so
> how do I do it please?
>
> Thanks
> Sharon.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: scaling graphics in org-mode exported to latex
2016-06-30 13:03 ` Max Linke
@ 2016-06-30 13:29 ` Nicolas Goaziou
2016-06-30 17:03 ` Sharon Kimble
1 sibling, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2016-06-30 13:29 UTC (permalink / raw)
To: Max Linke; +Cc: org-mode-email, Sharon Kimble
Hello,
Max Linke <max_linke@gmx.de> writes:
> I typically set a fixed width in latex like so.
>
> #+CAPTION: Percutaneous endoscopic gastrostomy tube
> #+ATTR_LaTeX: :width 0.3\linewidth
> [[./images/percutaneous-endoscopic-gas.jpg]]
>
> Important to note that I write `:width` with a beginning double point.
> I can't get the `scale` to work even with a double point.
There is no support for scale out of the box, so it goes into the
catch-all :options keyword, e.g.,
#+ATTR_LATEX: :width 5cm :options scale=2
[[./img/sed-hr4049.pdf]]
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: scaling graphics in org-mode exported to latex
2016-06-30 13:03 ` Max Linke
2016-06-30 13:29 ` Nicolas Goaziou
@ 2016-06-30 17:03 ` Sharon Kimble
1 sibling, 0 replies; 6+ messages in thread
From: Sharon Kimble @ 2016-06-30 17:03 UTC (permalink / raw)
To: Max Linke; +Cc: org-mode-email
[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]
Max Linke <max_linke@gmx.de> writes:
> I typically set a fixed width in latex like so.
>
> #+CAPTION: Percutaneous endoscopic gastrostomy tube
> #+ATTR_LaTeX: :width 0.3\linewidth
>
> [[./images/percutaneous-endoscopic-gas.jpg]]
>
> Important to note that I write `:width` with a beginning double point.
> I can't get the `scale` to work even with a double point.
>
Thanks Max, this works perfectly.
Thanks
Sharon.
>
>
> On 06/30/2016 02:42 PM, Sharon Kimble wrote:
>>
>> I'm trying to get a 'list of figures' in an org-mode export to latex,
>> but I'm finding difficulties in inserting graphics in org-mode. My
>> graphic insert code is -
>>
>> --8<---------------cut here---------------start------------->8---
>> #+CAPTION: Percutaneous endoscopic gastrostomy tube
>> #+ATTR_LaTeX: scale=0.2
>> [[./images/percutaneous-endoscopic-gas.jpg]]
>> --8<---------------cut here---------------end--------------->8---
>>
>> The caption works, the graphics inserts works, but how do I scale it please?
>>
>> I've googled it and tried various solutions, but none are working, so
>> how do I do it please?
>>
>> Thanks
>> Sharon.
>>
>
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.0.95
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-06-30 17:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-30 12:42 scaling graphics in org-mode exported to latex Sharon Kimble
2016-06-30 13:01 ` Alan Schmitt
2016-06-30 17:36 ` Sharon Kimble
2016-06-30 13:03 ` Max Linke
2016-06-30 13:29 ` Nicolas Goaziou
2016-06-30 17:03 ` Sharon Kimble
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).