From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18814 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Denis_Jos=C3=A9_Navas_Vega?= Newsgroups: gmane.text.pandoc Subject: Re: Beamer not scaling image up Date: Mon, 27 Nov 2017 23:28:10 -0800 (PST) Message-ID: References: <20171031181211.GA41004@protagoras> <33651631-7cfc-4a76-ad1e-ab78f8f3a0eb@googlegroups.com> <20171031211224.GA52352@protagoras> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_31925_1431269871.1511854090996" X-Trace: blaine.gmane.org 1511854092 2621 195.159.176.226 (28 Nov 2017 07:28:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 28 Nov 2017 07:28:12 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDK3NY63YMKBBC5A6TIAKGQENL4AQVA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Nov 28 08:28:07 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f62.google.com ([209.85.218.62]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJaJJ-0000EB-Bf for gtp-pandoc-discuss@m.gmane.org; Tue, 28 Nov 2017 08:28:05 +0100 Original-Received: by mail-oi0-f62.google.com with SMTP id b10sf8062563oif.22 for ; Mon, 27 Nov 2017 23:28:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=wwdaYvtFU2R7qhG4QinRFCeFdbFc/Vw7bPSuuopVcMA=; b=RTFkU4fzI5GEk1+Au79wx9iE/PdKDSFi22tTDBWoDNmfFRVgAc0MUTowh6ksj+wpSv Bn3tts8F+bK78e0mtHGkAWuMXdp7tyHqsmUukflv/wHnN0f6NjhKzude/hNMfumL7ml6 JaaS5RgBScQBZcoz6Dumk6HR/k+fNUP5j5+zOjEoZd0wUtLOrRnTkHEm4DnlBQfnh+c8 9oRnx4fwx2mry4JP4hifl+ur/QCVgMAYHx1QJO5a1AV+Zstsw24O1x78MV6AyDlut5CL r1kca/dYAIhPyAs+pjzmX65ZD8AIX003eKvkahJS1pRaXKooUBSqNB/V31yFWuh+dRC3 qXFQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=wwdaYvtFU2R7qhG4QinRFCeFdbFc/Vw7bPSuuopVcMA=; b=hprV6UrnH7GwJSZnysmhIRQhGr7Ouvtopkw4HDibiPBhQuiY3TUcot+6V2OUNJmEGt cLEzIRQA7kVWvM8BslUUiN9By0erFLbfXRKmIeazzLMfz695wW9Ea+VP2TCGbz7aJrsx 5T8gNh+Z//pZhTeqkt3xcJllqScVDrAydJ/w12x/SL+lnOGSVXjavkSJSTMmCUuS+GoN rHjhRLGVhawm5LL/z1QaY3iMtdnIU3nNisjZ3Sd6hhKocfYQv7CSxvJ8EKYDfYrqI4Xp wL29k3VUHiHbIaKXbMNkZHGPd5QaLHl8I4+1upOtAfoJVjsCXMwm+kc96ECH41Q5xR1J sP2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=wwdaYvtFU2R7qhG4QinRFCeFdbFc/Vw7bPSuuopVcMA=; b=ap9RnlltnH6t6ckG+/jmCBAWY/2u9uAsTgntn0yjHnFxSXhlQpKwcEadXcHtolCssr LvFXMbeZhOhr2sRC6lXgAsd+fQvQlqVKHnNCslZksoeu0cxEA5XKiMIhMNFuny1zRfjR +q+va0NzqbD1IHxFxYwbfiKI9XpyiotZOQo/RvrvhDwFiRRDaVO2bdVf1KETmTq8slXp fb25BxRX535aWA15nCx4RQU9hCVSa8lAbSabjp4sapegwV2MfPvT2bRisru/VWuGlCiK 5AgRuifsYYhuV3QMESBMZLzFmsqbtfp/bFSRI9SPwG8BDO7zbPYmyIcsb2CSypB3tkPl 7tOw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJaThX6hksKgRaIXB/olGNoWestNhoaOK7Z92wrj8LtDJ80lFLpavXs8 /67u3JVDqZu2IiDwmTAqHnA= X-Google-Smtp-Source: AGs4zMYr3kb7EmreKdNfULPB63LHpuxf4t3aAUs4Rf8MZCnzyKcHlyfX48m5W8RWrNfQZr+0lPaOEg== X-Received: by 10.157.14.137 with SMTP id 9mr361779otj.14.1511854092599; Mon, 27 Nov 2017 23:28:12 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.33.15 with SMTP id i15ls5297541otb.9.gmail; Mon, 27 Nov 2017 23:28:11 -0800 (PST) X-Received: by 10.157.5.211 with SMTP id 77mr1738951otd.0.1511854091578; Mon, 27 Nov 2017 23:28:11 -0800 (PST) In-Reply-To: <20171031211224.GA52352@protagoras> X-Original-Sender: denis.navas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18814 Archived-At: ------=_Part_31925_1431269871.1511854090996 Content-Type: multipart/alternative; boundary="----=_Part_31926_754481429.1511854090997" ------=_Part_31926_754481429.1511854090997 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Using pixels to set the width, due to the image's high ppp --as Muccigrosso= =20 discovered--, should produce an image of 0.22 in (600/2785).=20 With LaTeX you can specify the tall AND the width, and if you want to=20 preserve the image proportion its preferable to set one dimension=20 (horizontal or vertical) and 'keepaspectratio' in \includegraphics[ ... ]= =20 instruction. The easy thing is to use 0.9\linewidth as the image width.=20 This way, your image **almost allways fit** in your document (except for=20 very tall images). El martes, 31 de octubre de 2017, 15:12:10 (UTC-6), John MacFarlane=20 escribi=C3=B3: > > Try specifying both a width and a height. That worked=20 > for me. I have no idea why you need both in this case,=20 > though...maybe a LaTeX expert could help.=20 > > \includegraphics[width=3D14cm,height=3D14cm]{1944.100.4554.obv.width350.j= pg}=20 > > works=20 > > but=20 > > \includegraphics[width=3D14cm]{1944.100.4554.obv.width350.jpg}=20 > > doesn't.=20 > > +++ John Muccigrosso [Oct 31 17 13:16 ]:=20 > > Here's the precise image I'm using in two versions, with and without = a=20 > > width attribute:=20 > > ![Obverse: Junius=20 > > Brutus](http://numismatics.org/collectionimages/19001949/1944/1944.10= 0.=20 > > > 4554.obv.width350.jpg)=20 > > -----=20 > > ![Obverse: Junius=20 > > Brutus](http://numismatics.org/collectionimages/19001949/1944/1944.10= 0.=20 > > > 4554.obv.width350.jpg){ width=3D700px }=20 > > beamer just gives the same size image no matter what I set the width= =20 > > at.=20 > > Note that while the image has a width of 350px, its resolution is a= =20 > > ridiculous 2785ppi, which yields a print width of about =E2=85=9B of = an inch.=20 > > Beamer prints it at that size, but html, for another example, will us= e=20 > > the 700px I set (and ignores the native resolution even without the= =20 > > attribute).=20 > > PS I just realized this, but my beamer PDF pages are all 5.04x3.78".= =20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google=20 > > Groups "pandoc-discuss" group.=20 > > To unsubscribe from this group and stop receiving emails from it, sen= d=20 > > an email to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To post to this group, send email to=20 > > [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To view this discussion on the web visit=20 > > [3] > https://groups.google.com/d/msgid/pandoc-discuss/33651631-7cfc-4a76-=20 > > ad1e-ab78f8f3a0eb%40googlegroups.com.=20 > > For more options, visit [4]https://groups.google.com/d/optout.=20 > >=20 > >References=20 > >=20 > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org = =20 > > 2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org =20 > > 3.=20 > https://groups.google.com/d/msgid/pandoc-discuss/33651631-7cfc-4a76-ad1e-= ab78f8f3a0eb-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3Demail&utm_source=3Dfooter=20 > > 4. https://groups.google.com/d/optout=20 > > --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/e6fc3aa0-dc22-4304-8997-58d2cc556826%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_31926_754481429.1511854090997 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Using pixels to set the width, due to the image's = high ppp --as Muccigrosso discovered--, should produce an image of 0.22 in = (600/2785).
With LaTeX you can specify the tall AND the width, and if y= ou want to preserve the image proportion its preferable to set one dimensio= n (horizontal or vertical) and 'keepaspectratio' in \includegraphic= s[ ... ] instruction. The easy thing is to use 0.9\linewidth as the image w= idth. This way, your image **almost allways fit** in your document (except = for very tall images).


El martes, 31 de octubre de 2017, 15:12:1= 0 (UTC-6), John MacFarlane escribi=C3=B3:
Try specifying both a width and a height. That worked
for me. =C2=A0I have no idea why you need both in this case,
though...maybe a LaTeX expert could help.

\includegraphics[width=3D14cm,height=3D14cm]{1944.100.4554.ob= v.width350.jpg}

works

but

\includegraphics[width=3D14cm]{1944.100.4554.obv.width350.jpg= }

doesn't.

+++ John Muccigrosso [Oct 31 17 13:16 ]:
> =C2=A0 Here's the precise image I'm using in two versions,= with and without a
> =C2=A0 width attribute:
> =C2=A0 ![Obverse: Junius
> =C2=A0 Brutus](http://numisma= tics.org/collectionimages/19001949/1944/1944.100.
> =C2=A0 4554.obv.width350.jpg)
> =C2=A0 -----
> =C2=A0 ![Obverse: Junius
> =C2=A0 Brutus](http://numisma= tics.org/collectionimages/19001949/1944/1944.100.
> =C2=A0 4554.obv.width350.jpg){ width=3D700px }
> =C2=A0 beamer just gives the same size image no matter what I set = the width
> =C2=A0 at.
> =C2=A0 Note that while the image has a width of 350px, its resolut= ion is a
> =C2=A0 ridiculous 2785ppi, which yields a print width of about =E2= =85=9B of an inch.
> =C2=A0 Beamer prints it at that size, but html, for another exampl= e, will use
> =C2=A0 the 700px I set (and ignores the native resolution even wit= hout the
> =C2=A0 attribute).
> =C2=A0 PS I just realized this, but my beamer PDF pages are all 5.= 04x3.78".
>
> =C2=A0 --
> =C2=A0 You received this message because you are subscribed to the= Google
> =C2=A0 Groups "pandoc-discuss" group.
> =C2=A0 To unsubscribe from this group and stop receiving emails fr= om it, send
> =C2=A0 an email to [1]pandoc-discus...@googlegroups.com.
> =C2=A0 To post to this group, send email to
> =C2=A0 [2]pandoc-...@googlegroups.com.
> =C2=A0 To view this discussion on the web visit
> =C2=A0 [3]http= s://groups.google.com/d/msgid/pandoc-discuss/33651631-7cfc-4a76-<= /a>
> =C2=A0 ad1e-ab78f8f3a0eb%
40googlegroups.com.
> =C2=A0 For more options, visit [4]https:= //groups.google.com/d/optout.
>
>References
>
> =C2=A0 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> =C2=A0 2. mailto:pandoc-...@googlegroups.com
> =C2=A0 3. https://groups.google.com/d/msgid/pandoc-discuss/33651631-7= cfc-4a76-ad1e-ab78f8f3a0eb@googlegroups.com?utm_medium=3Demail&am= p;utm_source=3Dfooter
> =C2=A0 4. https://groups.google.com/d/optout

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/e6fc3aa0-dc22-4304-8997-58d2cc556826%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_31926_754481429.1511854090997-- ------=_Part_31925_1431269871.1511854090996--