<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>LaTeX on bramp.net</title>
    <link>https://blog.bramp.net/</link>
    <description>Recent content in LaTeX on bramp.net</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-GB</language>
    <lastBuildDate>Sun, 15 Apr 2012 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.bramp.net/tags/latex/" rel="self" type="application/rss+xml" />
    
    <item>
      <title>LaTeX Error: File `layaureo.sty’ not found</title>
      <link>https://blog.bramp.net/post/2012/04/15/latex-error-file-layaureo.sty-not-found/</link>
      <pubDate>Sun, 15 Apr 2012 00:00:00 +0000</pubDate>
      
      <guid>https://blog.bramp.net/post/2012/04/15/latex-error-file-layaureo.sty-not-found/</guid>
      <description><p>I was getting the error <code>./cv.tex:11: LaTeX Error: File `layaureo.sty' not found.</code> when trying to compile an <a href="https://github.com/bramp/curriculum-vitae" title="Curriculum Vitae latex project">old tex document</a> of mine.</p>
<p>It seems layaureo is missing from <a href="http://www.tug.org/texlive/" title="TeX Live">TexLive</a> 2009, the default on Debian at the moment (even though it’s 2012 now!). So I had to install TexLive 2011 from Debian Unstable using <a href="http://wiki.debian.org/AptPreferences">Apt Pinning</a> to fix this problem.</p>
<p>Once TexLive 2011 is installed <code>apt-get install -t unstable texlive-lang-italian</code> to bring in the layaureo package.</p>
<p>I also encountered the following problems that was easier to resolve:</p>
<pre tabindex="0"><code>LaTeX Error: File `marvosym.sty&#39; not found. solution: apt-get install texlive-fonts-recommended
LaTeX Error: File `fullpage.sty&#39; not found. solution: apt-get install texlive-latex-extra
LaTeX Error: File `multibib.sty&#39; not found. solution: apt-get install texlive-bibtex-extra
LaTeX Error: File `algorithm.sty&#39; not found. solution: apt-get install texlive-science
</code></pre></description>
    </item>
    
    <item>
      <title>LaTeX QR Based Business Card</title>
      <link>https://blog.bramp.net/post/2010/02/13/latex-qr-based-business-card/</link>
      <pubDate>Sat, 13 Feb 2010 00:00:00 +0000</pubDate>
      
      <guid>https://blog.bramp.net/post/2010/02/13/latex-qr-based-business-card/</guid>
      <description><p>I recently found <a href="http://forthescience.org/blog/2010/02/02/my-business-card-with-qr-code-geeky/">this blog</a> which shows a business card with a QR card. I thought I’d create a business card with LaTeX with a similar QR code. I took a LaTeX template from <a href="http://blog.widmann.org.uk/2009/05/27/1297/">here</a>, found out about the <a href="http://www.tug.org/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.pdf">pst-barcode pacakge</a>, learnt the <a href="https://www.nttdocomo.co.jp/english/service/developer/make/content/barcode/function/application/addressbook/">MECARD format</a>, and combined them to make this:</p>
<!-- TODO link to card-1.pdf -->
<figure><img src="/post/2010/02/13/latex-qr-based-business-card/card-1.png" width="756" height="496"><figcaption>
      <h4>My QR Business Card</h4>
    </figcaption>
</figure>

<p>I doubt I’ll print this card, but just in case you want to make a similar one, here is the LaTeX source:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-latex" data-lang="latex"><span class="line"><span class="cl"><span class="k">\documentclass</span><span class="na">[11pt,a4paper]</span><span class="nb">{</span>memoir<span class="nb">}</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="k">\setstocksize</span><span class="nb">{</span>55mm<span class="nb">}{</span>85mm<span class="nb">}</span> <span class="c">% UK Stock size
</span></span></span><span class="line"><span class="cl"><span class="k">\setpagecc</span><span class="nb">{</span>55mm<span class="nb">}{</span>85mm<span class="nb">}{</span>*<span class="nb">}</span>
</span></span><span class="line"><span class="cl"><span class="k">\settypeblocksize</span><span class="nb">{</span>45mm<span class="nb">}{</span>75mm<span class="nb">}{</span>*<span class="nb">}</span>
</span></span><span class="line"><span class="cl"><span class="k">\setulmargins</span><span class="nb">{</span>5mm<span class="nb">}{</span>*<span class="nb">}{</span>*<span class="nb">}</span>
</span></span><span class="line"><span class="cl"><span class="k">\setlrmargins</span><span class="nb">{</span>5mm<span class="nb">}{</span>*<span class="nb">}{</span>*<span class="nb">}</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="k">\setheadfoot</span><span class="nb">{</span>0.1pt<span class="nb">}{</span>0.1pt<span class="nb">}</span>
</span></span><span class="line"><span class="cl"><span class="k">\setheaderspaces</span><span class="nb">{</span>1pt<span class="nb">}{</span>*<span class="nb">}{</span>*<span class="nb">}</span>
</span></span><span class="line"><span class="cl"><span class="k">\checkandfixthelayout</span><span class="na">[fixed]</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="k">\pagestyle</span><span class="nb">{</span>empty<span class="nb">}</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="k">\usepackage</span><span class="nb">{</span>pstricks<span class="nb">}</span>
</span></span><span class="line"><span class="cl"><span class="k">\usepackage</span><span class="nb">{</span>pst-barcode<span class="nb">}</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="k">\begin</span><span class="nb">{</span>document<span class="nb">}</span>
</span></span><span class="line"><span class="cl">    <span class="c">%\pagecolor[cmyk]{.22,.36,.51,.08}%
</span></span></span><span class="line"><span class="cl">    <span class="k">\begin</span><span class="nb">{</span>Spacing<span class="nb">}{</span>0.75<span class="nb">}</span><span class="c">%
</span></span></span><span class="line"><span class="cl">    <span class="k">\noindent</span>
</span></span><span class="line"><span class="cl">    <span class="k">\textbf</span><span class="nb">{</span>Andrew~Brampton~Ph.D.<span class="nb">}</span><span class="k">\\</span>
</span></span><span class="line"><span class="cl">    <span class="k">\rule</span><span class="nb">{</span>75mm<span class="nb">}{</span>1mm<span class="nb">}</span><span class="k">\\</span>
</span></span><span class="line"><span class="cl">    <span class="k">\begin</span><span class="nb">{</span>minipage<span class="nb">}</span>[t]<span class="nb">{</span>30mm<span class="nb">}</span>
</span></span><span class="line"><span class="cl">        <span class="k">\vspace</span><span class="nb">{</span>-1mm<span class="nb">}</span><span class="c">%
</span></span></span><span class="line"><span class="cl">        <span class="k">\begin</span><span class="nb">{</span>pspicture<span class="nb">}</span>(30mm,30mm)
</span></span><span class="line"><span class="cl">            <span class="c">% The MECARD format is used to exchange contact information. More information at:
</span></span></span><span class="line"><span class="cl">            <span class="c">% http://www.nttdocomo.co.jp/english/service/imode/make/content/barcode/function/application/addressbook/index.html
</span></span></span><span class="line"><span class="cl">            <span class="k">\psbarcode</span><span class="nb">{</span>MECARD:N:Brampton,Andrew;EMAIL:a.bramptonATlancs.ac.uk;URL:http://bramp.net;;<span class="nb">}{</span>eclevel=L width=1.181 height=1.181<span class="nb">}{</span>qrcode<span class="nb">}</span>
</span></span><span class="line"><span class="cl">        <span class="k">\end</span><span class="nb">{</span>pspicture<span class="nb">}</span>
</span></span><span class="line"><span class="cl">    <span class="k">\end</span><span class="nb">{</span>minipage<span class="nb">}</span>
</span></span><span class="line"><span class="cl">    <span class="k">\hspace</span><span class="nb">{</span>1mm<span class="nb">}</span>
</span></span><span class="line"><span class="cl">    <span class="k">\begin</span><span class="nb">{</span>minipage<span class="nb">}</span>[t]<span class="nb">{</span>42mm<span class="nb">}</span>
</span></span><span class="line"><span class="cl">        <span class="k">\vspace</span><span class="nb">{</span>-1mm<span class="nb">}</span><span class="c">%
</span></span></span><span class="line"><span class="cl">        <span class="k">\begin</span><span class="nb">{</span>flushright<span class="nb">}</span>
</span></span><span class="line"><span class="cl">        <span class="nb">{</span><span class="k">\scriptsize</span>
</span></span><span class="line"><span class="cl">            <span class="k">\begin</span><span class="nb">{</span>Spacing<span class="nb">}{</span>1.5<span class="nb">}</span><span class="c">%
</span></span></span><span class="line"><span class="cl"><span class="c">%           \textbf{Research Associate}\\
</span></span></span><span class="line"><span class="cl">            <span class="k">\textbf</span><span class="nb">{</span>Network Researcher<span class="nb">}</span><span class="k">\\</span>
</span></span><span class="line"><span class="cl">            Computing Department<span class="k">\\</span>
</span></span><span class="line"><span class="cl">            Lancaster University<span class="k">\vspace</span><span class="nb">{</span>9mm<span class="nb">}</span><span class="k">\\</span>
</span></span><span class="line"><span class="cl">            <span class="k">\end</span><span class="nb">{</span>Spacing<span class="nb">}</span>
</span></span><span class="line"><span class="cl">        <span class="nb">}</span>
</span></span><span class="line"><span class="cl">        <span class="nb">{</span><span class="k">\tiny</span>
</span></span><span class="line"><span class="cl">            <span class="k">\textbf</span><span class="nb">{</span>email:<span class="nb">}</span> a.brampton AT lancs.ac.uk<span class="k">\\</span>
</span></span><span class="line"><span class="cl">            <span class="k">\textbf</span><span class="nb">{</span>web:<span class="nb">}</span> http://bramp.net/<span class="k">\\</span>
</span></span><span class="line"><span class="cl">            <span class="k">\vspace*</span><span class="nb">{</span>2mm<span class="nb">}</span>
</span></span><span class="line"><span class="cl">        <span class="nb">}</span>
</span></span><span class="line"><span class="cl">        <span class="k">\end</span><span class="nb">{</span>flushright<span class="nb">}</span>
</span></span><span class="line"><span class="cl">    <span class="k">\end</span><span class="nb">{</span>minipage<span class="nb">}</span>
</span></span><span class="line"><span class="cl">    <span class="k">\rule</span><span class="nb">{</span>75mm<span class="nb">}{</span>1mm<span class="nb">}</span>
</span></span><span class="line"><span class="cl">    <span class="k">\end</span><span class="nb">{</span>Spacing<span class="nb">}</span>
</span></span><span class="line"><span class="cl"><span class="k">\end</span><span class="nb">{</span>document<span class="nb">}</span>
</span></span></code></pre></div></description>
    </item>
    
    <item>
      <title>Final Version of my Thesis Online</title>
      <link>https://blog.bramp.net/post/2009/07/10/final-version-of-my-thesis-online/</link>
      <pubDate>Fri, 10 Jul 2009 00:00:00 +0000</pubDate>
      
      <guid>https://blog.bramp.net/post/2009/07/10/final-version-of-my-thesis-online/</guid>
      <description><p>I finished my corrections a while ago now but I just hadn’t gotten around to putting my final thesis on-line.</p>
<p>So here it is <a href="https://github.com/bramp/phd-thesis/blob/master/thesis.pdf?raw=true">pdf</a> and <a href="https://github.com/bramp/phd-thesis/">tex sources</a>.</p>
<h3 id="the-impact-of-highly-interactive-workloads-on-video-on-demand-systems">The Impact of Highly Interactive Workloads on Video-on-Demand Systems</h3>
<blockquote>
<p><strong>Abstract</strong></p>
<p>The traditional start-to-finish playback model is not suitable for all modern interactive video streams. Users expect support for higher levels of interactivity such as fast forward and rewind or the ability to arbitrary seek within their media quickly and efficiently. By conducting user studies we have observed start-to-finish is not applicable to many genres of video, and that different playback models fit better. We discuss how existing delivery techniques are impacted by these new observations.</p>
<p>Novel interactive controls such as bookmarks have also highly impacted user behaviour. This has lead to the segments within the media being accessed in a uneven fashion, causing hotspots of interest to form; areas with orders of magnitudes more viewers than others. These hotspots typically began at the beginning of a bookmark, however not always, which lead us to design a dynamic bookmark positioning algorithm. As well as their position, determining the hotspot’s length can be beneficial. This aids in autonomic techniques such as replication and pre-fetching as well as allowing the users to find what they want quicker.</p>
<p>Under high level of interactivity, delivery techniques are less efficient due to the unpredictability of the users. We however developed techniques which restore some of this predictability, allowing clients or servers to predict future actions based on past user actions. These technique proves exceeding useful for pre-fetching which reduces seek latencies for client and can reduce load on servers. However knowledge of past user activities need to be gathered from network, thus we develop techniques to do this in a distributed manner.</p>
</blockquote>
</description>
    </item>
    
    <item>
      <title>Please notify the author of the software that produced this file</title>
      <link>https://blog.bramp.net/post/2008/09/24/please-notify-the-author-of-the-software-that-produced-this-file/</link>
      <pubDate>Wed, 24 Sep 2008 00:00:00 +0000</pubDate>
      
      <guid>https://blog.bramp.net/post/2008/09/24/please-notify-the-author-of-the-software-that-produced-this-file/</guid>
      <description><p>While compiling my LaTeX document I received a message which made me chuckle:</p>
<pre tabindex="0"><code>**** This file had errors that were repaired or ignored.
**** The file was produced by: 
**** &gt;&gt;&gt;&gt; Microsoft® Office Visio® 2007 &amp;lt;&amp;lt;&amp;lt;&amp;lt;
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe&#39;s published PDF
**** specification.
</code></pre><p>This is printed because Visio is not embedding fonts which LaTeX needs.</p>
<p>So Microsoft, I hereby inform you that your software does not produce PDFs which conform to Adobe&rsquo;s specifications.</p>
<p>Until you fix your products I have to open and save the PDFs with Adobe Acrobat. This actually reduces the file size in most cases, so I might have done this anyway.</p>
</description>
    </item>
    
  </channel>
</rss>
