2016-04-07 29 views
1

Satır içi resmi, görüntü (ler) i gösteren org-toggle-inline-images kullanarak değiştirdiğimde. Ancak, görüntü çok büyük olduğunda editörün karesi taşacaktır (Aşağıdaki ekran görüntüsüne bakın). Organ içi görüntülerden org modundan nasıl sorumlu olunur?

enter image description here

nasıl görüntünün maksimum boyutu pencere boyutu genişliğini asla aşmamalıdır demektir görüntü sorumlu tutmaya.

Elbette resmin boyutunu düzeltmek için aşağıdaki kodu kullanabilirim. Ama gerçekten istediğim, bir çeşit duyarlı görüntü sergiliyor. Bu soruyu inceleyen zaman için

(setq org-mode-actual-width 600) 

enter image description here

teşekkürler. org-image-actual-width belgelenmesi itibaren

cevap

2

:

Documentation: 
Should we use the actual width of images when inlining them? 

When set to t, always use the image width. 

When set to a number, use imagemagick (when available) to set 
the image's width to this value. 

When set to a number in a list, try to get the width from any 
#+ATTR.* keyword if it matches a width specification like 

    #+ATTR_HTML: :width 300px 

and fall back on that number if none is found. 

When set to nil, try to get the width from an #+ATTR.* keyword 
and fall back on the original width if none is found. 

Yani # + ATTR_HTML genişliğini belirtmek için özelliği kullanabilirsiniz. Ancak el ile belirtilmelidir. Bu yeterince duyarlı mı?