* set default width for figure floats?
@ 2016-03-11 13:01 Rainer M Krug
2016-03-11 13:31 ` John Kitchin
2016-03-11 16:07 ` Rasmus
0 siblings, 2 replies; 6+ messages in thread
From: Rainer M Krug @ 2016-03-11 13:01 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 573 bytes --]
I think this has been asked before, but I can't find it:
Is there a way of setting the default width for images included as
[[file:map-All.png]]
in org documents? It seems that the default is
\includegraphics[width=.9\linewidth]{map-All.png}
and I don't want the images to be scaled, but to let them keep their own
size.
Is this possible (I'd like to avoid having to use #+ATTR_LATEX :width
before each - and even then I would have no idea to unset the value)
Thanks,
Rainer
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: set default width for figure floats?
2016-03-11 13:01 set default width for figure floats? Rainer M Krug
@ 2016-03-11 13:31 ` John Kitchin
2016-03-11 14:13 ` Rainer M Krug
2016-03-11 16:07 ` Rasmus
1 sibling, 1 reply; 6+ messages in thread
From: John Kitchin @ 2016-03-11 13:31 UTC (permalink / raw)
To: Rainer M Krug; +Cc: emacs-orgmode
Maybe you want org-image-actual-width
This sets teh width in org, if you have a working imagemagick.
org-latex-image-default-width contains the default latex scaling.
Probably you can set this to nil to avoid scaling.
Rainer M Krug writes:
> I think this has been asked before, but I can't find it:
>
> Is there a way of setting the default width for images included as
>
> [[file:map-All.png]]
>
> in org documents? It seems that the default is
>
> \includegraphics[width=.9\linewidth]{map-All.png}
>
> and I don't want the images to be scaled, but to let them keep their own
> size.
>
> Is this possible (I'd like to avoid having to use #+ATTR_LATEX :width
> before each - and even then I would have no idea to unset the value)
>
> Thanks,
>
> Rainer
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: set default width for figure floats?
2016-03-11 13:31 ` John Kitchin
@ 2016-03-11 14:13 ` Rainer M Krug
2016-03-11 14:48 ` John Kitchin
0 siblings, 1 reply; 6+ messages in thread
From: Rainer M Krug @ 2016-03-11 14:13 UTC (permalink / raw)
To: John Kitchin; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1875 bytes --]
John Kitchin <jkitchin@andrew.cmu.edu> writes:
> Maybe you want org-image-actual-width
>
> This sets teh width in org, if you have a working imagemagick.
No - I don't want any scaling. They are graphs I have created in R and I
want to conserve the font sizes in the paper.
>
> org-latex-image-default-width contains the default latex scaling.
> Probably you can set this to nil to avoid scaling.
Setting it to "" works perfectly. I have now set:
--8<---------------cut here---------------start------------->8---
#+BIND: org-latex-image-default-width ""
--8<---------------cut here---------------end--------------->8---
as well as
--8<---------------cut here---------------start------------->8---
# Local Variables:
# eval: (visual-line-mode 1)
# org-latex-image-default-width: ""
# End:
--8<---------------cut here---------------end--------------->8---
I don't know if one is sufficient - I just leave them in and might try
later.
Thanks a lot,
Rainer
>
>
> Rainer M Krug writes:
>
>> I think this has been asked before, but I can't find it:
>>
>> Is there a way of setting the default width for images included as
>>
>> [[file:map-All.png]]
>>
>> in org documents? It seems that the default is
>>
>> \includegraphics[width=.9\linewidth]{map-All.png}
>>
>> and I don't want the images to be scaled, but to let them keep their own
>> size.
>>
>> Is this possible (I'd like to avoid having to use #+ATTR_LATEX :width
>> before each - and even then I would have no idea to unset the value)
>>
>> Thanks,
>>
>> Rainer
>
>
> --
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: set default width for figure floats?
2016-03-11 14:13 ` Rainer M Krug
@ 2016-03-11 14:48 ` John Kitchin
2016-03-14 8:07 ` Rainer M Krug
0 siblings, 1 reply; 6+ messages in thread
From: John Kitchin @ 2016-03-11 14:48 UTC (permalink / raw)
To: Rainer M Krug; +Cc: emacs-orgmode
Rainer M Krug writes:
> John Kitchin <jkitchin@andrew.cmu.edu> writes:
>
>> Maybe you want org-image-actual-width
>>
>> This sets teh width in org, if you have a working imagemagick.
>
> No - I don't want any scaling. They are graphs I have created in R and I
> want to conserve the font sizes in the paper.
This is only scaling in the org buffer. I find high resolution (high
dpi) are often too large in my emacs, so I set this to be something like
300 to 600 to keep the figures reasonably sized in the buffer. It has no
effect on the LaTeX export.
>
>>
>> org-latex-image-default-width contains the default latex scaling.
>> Probably you can set this to nil to avoid scaling.
>
> Setting it to "" works perfectly. I have now set:
>
> --8<---------------cut here---------------start------------->8---
> #+BIND: org-latex-image-default-width ""
> --8<---------------cut here---------------end--------------->8---
>
> as well as
>
> --8<---------------cut here---------------start------------->8---
> # Local Variables:
> # eval: (visual-line-mode 1)
> # org-latex-image-default-width: ""
> # End:
> --8<---------------cut here---------------end--------------->8---
>
> I don't know if one is sufficient - I just leave them in and might try
> later.
>
> Thanks a lot,
>
> Rainer
>
>>
>>
>> Rainer M Krug writes:
>>
>>> I think this has been asked before, but I can't find it:
>>>
>>> Is there a way of setting the default width for images included as
>>>
>>> [[file:map-All.png]]
>>>
>>> in org documents? It seems that the default is
>>>
>>> \includegraphics[width=.9\linewidth]{map-All.png}
>>>
>>> and I don't want the images to be scaled, but to let them keep their own
>>> size.
>>>
>>> Is this possible (I'd like to avoid having to use #+ATTR_LATEX :width
>>> before each - and even then I would have no idea to unset the value)
>>>
>>> Thanks,
>>>
>>> Rainer
>>
>>
>> --
>> Professor John Kitchin
>> Doherty Hall A207F
>> Department of Chemical Engineering
>> Carnegie Mellon University
>> Pittsburgh, PA 15213
>> 412-268-7803
>> @johnkitchin
>> http://kitchingroup.cheme.cmu.edu
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: set default width for figure floats?
2016-03-11 13:01 set default width for figure floats? Rainer M Krug
2016-03-11 13:31 ` John Kitchin
@ 2016-03-11 16:07 ` Rasmus
1 sibling, 0 replies; 6+ messages in thread
From: Rasmus @ 2016-03-11 16:07 UTC (permalink / raw)
To: emacs-orgmode
Rainer M Krug <Rainer@krugs.de> writes:
> I think this has been asked before, but I can't find it:
>
> Is there a way of setting the default width for images included as
>
> [[file:map-All.png]]
>
> in org documents? It seems that the default is
>
> \includegraphics[width=.9\linewidth]{map-All.png}
>
> and I don't want the images to be scaled, but to let them keep their own
> size.
Maybe: org-latex-image-default-width
Or per image via #+attr_latex :width :height
Rasmus
--
What will be next?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: set default width for figure floats?
2016-03-11 14:48 ` John Kitchin
@ 2016-03-14 8:07 ` Rainer M Krug
0 siblings, 0 replies; 6+ messages in thread
From: Rainer M Krug @ 2016-03-14 8:07 UTC (permalink / raw)
To: John Kitchin; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 2668 bytes --]
John Kitchin <jkitchin@andrew.cmu.edu> writes:
> Rainer M Krug writes:
>
>> John Kitchin <jkitchin@andrew.cmu.edu> writes:
>>
>>> Maybe you want org-image-actual-width
>>>
>>> This sets teh width in org, if you have a working imagemagick.
>>
>> No - I don't want any scaling. They are graphs I have created in R and I
>> want to conserve the font sizes in the paper.
> This is only scaling in the org buffer. I find high resolution (high
> dpi) are often too large in my emacs, so I set this to be something like
> 300 to 600 to keep the figures reasonably sized in the buffer. It has no
> effect on the LaTeX export.
OK - I'll keep it in ind when I view the images in org.
Thanks,
Rainer
>
>>
>>>
>>> org-latex-image-default-width contains the default latex scaling.
>>> Probably you can set this to nil to avoid scaling.
>>
>> Setting it to "" works perfectly. I have now set:
>>
>> --8<---------------cut here---------------start------------->8---
>> #+BIND: org-latex-image-default-width ""
>> --8<---------------cut here---------------end--------------->8---
>>
>> as well as
>>
>> --8<---------------cut here---------------start------------->8---
>> # Local Variables:
>> # eval: (visual-line-mode 1)
>> # org-latex-image-default-width: ""
>> # End:
>> --8<---------------cut here---------------end--------------->8---
>>
>> I don't know if one is sufficient - I just leave them in and might try
>> later.
>>
>> Thanks a lot,
>>
>> Rainer
>>
>>>
>>>
>>> Rainer M Krug writes:
>>>
>>>> I think this has been asked before, but I can't find it:
>>>>
>>>> Is there a way of setting the default width for images included as
>>>>
>>>> [[file:map-All.png]]
>>>>
>>>> in org documents? It seems that the default is
>>>>
>>>> \includegraphics[width=.9\linewidth]{map-All.png}
>>>>
>>>> and I don't want the images to be scaled, but to let them keep their own
>>>> size.
>>>>
>>>> Is this possible (I'd like to avoid having to use #+ATTR_LATEX :width
>>>> before each - and even then I would have no idea to unset the value)
>>>>
>>>> Thanks,
>>>>
>>>> Rainer
>>>
>>>
>>> --
>>> Professor John Kitchin
>>> Doherty Hall A207F
>>> Department of Chemical Engineering
>>> Carnegie Mellon University
>>> Pittsburgh, PA 15213
>>> 412-268-7803
>>> @johnkitchin
>>> http://kitchingroup.cheme.cmu.edu
>
>
> --
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-03-14 8:07 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-11 13:01 set default width for figure floats? Rainer M Krug
2016-03-11 13:31 ` John Kitchin
2016-03-11 14:13 ` Rainer M Krug
2016-03-11 14:48 ` John Kitchin
2016-03-14 8:07 ` Rainer M Krug
2016-03-11 16:07 ` Rasmus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.