<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>matrix &#8211; Matthew Petroff</title>
	<atom:link href="https://mpetroff.net/tag/matrix/feed/" rel="self" type="application/rss+xml" />
	<link>https://mpetroff.net</link>
	<description>mpetroff.net</description>
	<lastBuildDate>Mon, 21 Dec 2015 20:52:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Another Beamer Theme Matrix</title>
		<link>https://mpetroff.net/2014/11/another-beamer-theme-matrix/</link>
					<comments>https://mpetroff.net/2014/11/another-beamer-theme-matrix/#respond</comments>
		
		<dc:creator><![CDATA[Matthew Petroff]]></dc:creator>
		<pubDate>Sat, 29 Nov 2014 03:00:11 +0000</pubDate>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Beamer]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[theme]]></category>
		<guid isPermaLink="false">http://mpetroff.net/?p=1659</guid>

					<description><![CDATA[The Beamer package for creating presentation slides has hundreds of styles available between all of the combinations of its included themes and color themes. Therefore, it is helpful to be able to look through all the possibilities in order to &#8230; <a href="https://mpetroff.net/2014/11/another-beamer-theme-matrix/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><span class="dropcap">T</span>he <a href="https://bitbucket.org/rivanvx/beamer">Beamer</a> <img src='https://s0.wp.com/latex.php?latex=%5CLaTeX&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\LaTeX' title='\LaTeX' class='latex' /> package for creating presentation slides has hundreds of styles available between all of the combinations of its included themes and color themes. Therefore, it is helpful to be able to look through all the possibilities in order to choose a style. A resource for this exists, the <a href="http://www.hartwork.org/beamer-theme-matrix/">Beamer Theme Matrix</a>; however, its load times lead much to be desired, particularly on a slower Internet connection. It uses two separate images for each combination, causing the browser to make over 800 requests to the server. This, combined with a page size of approximately 6.6MB, causes page load times in excess of 10 seconds on a fast connection and over a minute on a slow one. To remedy this, I created <a href="/files/beamer-theme-matrix/">Another Beamer Theme Matrix</a>. The page is less than 1MB and causes the browser to make fewer than 40 requests to the server, resulting in load times of under a second on a fast connection and under 10 seconds on a slow one, an order of magnitude improvement. This is accomplished by combining the thumbnails for each color theme of a particular theme into a single PNG sprite, which is then reduced to 8-bit color using <a href="http://pngquant.org/">pngquant</a> and further optimized using <a href="http://optipng.sourceforge.net/">OptiPNG</a>. To further increase usability of the matrix, small bits of JavaScript were used to always keep the row and column labels visible, a lightbox was added for viewing the full-size previews, and a welcome and help screen was added that explains the matrix and how to use values from the matrix in a <img src='https://s0.wp.com/latex.php?latex=%5CLaTeX&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\LaTeX' title='\LaTeX' class='latex' /> document.</p>
<p><a title="Another Beamer Theme Matrix" href="https://cdn0.mpetroff.net/wp-content/uploads/2014/11/another-beamer-theme-matrix.png" data-sbox="1659"><img decoding="async" class="aligncenter size-full wp-image-1667" src="https://cdn0.mpetroff.net/wp-content/uploads/2014/11/another-beamer-theme-matrix.png" alt="Another Beamer Theme Matrix" width="640" height="480" srcset="https://cdn0.mpetroff.net/wp-content/uploads/2014/11/another-beamer-theme-matrix.png 640w, https://cdn0.mpetroff.net/wp-content/uploads/2014/11/another-beamer-theme-matrix-300x225.png 300w" sizes="(max-width: 640px) 100vw, 640px" /></a></p>
<p>Another Beamer Theme Matrix&#8217;s source code is available under an <a href="https://github.com/mpetroff/beamer-theme-matrix/blob/master/COPYING">MIT license</a> on <a href="https://github.com/mpetroff/beamer-theme-matrix">GitHub</a>. While inspired by the existing Beamer Theme Matrix, it is a complete rewrite in Python.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mpetroff.net/2014/11/another-beamer-theme-matrix/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn0.mpetroff.net
Minified using Disk

Served from: mpetroff.net @ 2026-03-31 01:38:23 by W3 Total Cache
-->