<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://luis2501.github.io/feed.xml" rel="self" type="application/atom+xml"/><link href="https://luis2501.github.io/" rel="alternate" type="text/html" hreflang="en"/><updated>2025-07-03T22:20:44+00:00</updated><id>https://luis2501.github.io/feed.xml</id><title type="html">blank</title><subtitle>A simple, whitespace theme for academics. Based on [*folio](https://github.com/bogoli/-folio) design. </subtitle><entry><title type="html">Anaconda: Una suite para científicos</title><link href="https://luis2501.github.io/blog/2023/anaconda-una-suite-para-cientficos/" rel="alternate" type="text/html" title="Anaconda: Una suite para científicos"/><published>2023-06-03T20:12:23+00:00</published><updated>2023-06-03T20:12:23+00:00</updated><id>https://luis2501.github.io/blog/2023/anaconda-una-suite-para-cientficos</id><content type="html" xml:base="https://luis2501.github.io/blog/2023/anaconda-una-suite-para-cientficos/"><![CDATA[]]></content><author><name></name></author></entry><entry><title type="html">Documentos científicos con $\LaTeX{}$ (SPA)</title><link href="https://luis2501.github.io/blog/2021/latex-introduction/" rel="alternate" type="text/html" title="Documentos científicos con $\LaTeX{}$ (SPA)"/><published>2021-08-13T10:30:10+00:00</published><updated>2021-08-13T10:30:10+00:00</updated><id>https://luis2501.github.io/blog/2021/latex-introduction</id><content type="html" xml:base="https://luis2501.github.io/blog/2021/latex-introduction/"><![CDATA[<p>$\LaTeX{}$ (escrito como LaTeX en texto sin formato) es un software de composición de textos, orientado especialmente a la creación de documentos científicos (libros, artículos, tesis, etc) que contienen expresiones matemáticas.</p> <p>Básicamente se puede decir que $\LaTeX{}$ es como Microsoft Word pero especializado para científicos. Para visualizar un poco mejor el poder de $\LaTeX{}$ te dejo el siguiente documento de ejemplo: </p> <h1 id="instalación-de-latex">Instalación de $\LaTeX$</h1> <p>Para poder instalar $\LaTeX$ se requiere de una distribución de TeX, dependiendo el sistema operativo de tu computadora existen diferentes distribuciones. Yo te dare los que pienso son mejor dependiendo el sistema operativo.</p> <hr/> <h2 id="windows">Windows</h2> <p>La distribución de Tex que instalaremos es MikTex. Las características más apreciables de MiKTeX son su habilidad de actualizarse por sí mismo (descargando nuevas versiones de componentes y paquetes instalados previamente) y su fácil proceso de instalación. Para instalarlo debemos ir al siguiente enlace: <a href="https://miktex.org/download">https://miktex.org/download</a></p> <p>Al final de la página nos aparecera algo como lo siguiente</p> <p><img src="../../../../images/MikTex.png" alt="Imagen"/></p> <p>De manera inmediata podemos descargar el instalador. Sin embargo, si tu computadora no es de 64-bits, deberas dar click en <em>All downloads</em> y descargar el correspondiente.</p> <p><img src="../../../../images/MikTex_2.png" alt="Imagen 2"/></p> <p>Descargado el instalador, ejecútalo. El proceso es muy sencillo, sigue los pasos que te indican (aceptar licencia y carpeta de destino) y en unos minutos tendrás MiKTeX instalado.</p> <p>Una vez instalado MiKTeX es hora debemos escojer un editor de textos para $\LaTeX{}$; personalmente prefiero <strong>TexMaker</strong>. Para instalar Texmaker entra en la página oficial: <a href="xm1math.net/texmaker">xm1math.net/texmaker</a></p> <p>Damos click en <em>Download</em>.</p> <p><img src="../../../../images/TexMaker.png" alt="Imagen 3"/></p> <p>A continuación elige el sistema operativo, en este caso Windows, y descarga el instalador.</p> <p><img src="../../../../images/TexMaker_2.png" alt="Imagen 4"/></p> <p>Ahora ejecútalo, sigue los pasos y en pocos segundos lo tendrás instalado.</p> <hr/> <h2 id="linux">Linux</h2> <p style="text-align: justify"> Debo aclarar que la siguiente instalación es mediante Debian/Ubuntu. Antes de comenzar a instalar, debe abrir una terminal y ejecutar los siguiente comandos: </p> <div class="language-console highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="go">sudo apt-get update
sudo apt upgrade
</span></code></pre></div></div> <p>Ahora, lo primero es instalar TeX Live. TeX Live es una distribución de LaTeX y es la distribución por defecto para varias distribuciones Linux tales como Debian y Ubuntu. Para instalarlo entra en la misma terminal ejecutamos el comando:</p> <div class="language-console highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="go">sudo apt-get install texlive-full
</span></code></pre></div></div> <p>Ya que hemos instalado Tex Live, requerimos de un editor de texto específico $\LaTeX{}$. El que más me gusta es Texmaker, para instalarlo ejecutamos en la terminal:</p> <div class="language-console highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="go">sudo apt-get install texmaker
</span></code></pre></div></div> <p>Esto nos indica que Anaconda sea ha instaldo. La palabra <code class="language-plaintext highlighter-rouge">(base)</code> antes del prompt indica que nos encontramos en el entorno base de Anaconda. Quizás después hable un poco acerca de los entornos virtuales de Anaconda.</p> <hr/> <h2 id="creando-el-primer-documento">Creando el primer documento</h2> <p>Para comprobar que todo funciona correctamente, lo mejor es probar haciendo un primer documento. Para ello abrimos Texmaker y una vez dentro nos aparecera algo como lo siguiente</p> <p><img src="../../../../images/Latex.png" alt="Imagen 5"/></p> <p>Creamos documento nuevo dando click en el botón que se encuentra en la esquina superior izquierda, por debajo de <code class="language-plaintext highlighter-rouge">Archivo</code>. Guardamos el documento con el nombre que deseas, dando click en el tercer botón en la misma fila. Yo lo guardare como <code class="language-plaintext highlighter-rouge">Primer_documento</code> .</p> <p>Después, escribimos el siguiente código:</p> <div class="language-latex highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">\documentclass</span><span class="na">[a4paper,10pt]</span><span class="p">{</span>article<span class="p">}</span>
<span class="k">\usepackage</span><span class="na">[utf8]</span><span class="p">{</span>inputenc<span class="p">}</span>
<span class="k">\usepackage</span><span class="na">[activeacute,spanish]</span><span class="p">{</span>babel<span class="p">}</span>

<span class="nt">\begin{document}</span>

¡Hola mundo!

Este es mi primer documento en <span class="k">\LaTeX</span><span class="p">{}</span>

<span class="nt">\end{document}</span>
</code></pre></div></div> <p>Compilamos el código dando click en la flecha marcada de lado izquierdo de <em>Compilación rápida</em> o tambíen podemos compilar ejecutando <code class="language-plaintext highlighter-rouge">Fn + F1</code>. Así, se obtiene el siguiente <strong>PDF</strong>:</p> <iframe id="igraph" scrolling="no" style="border:none;" seamless="seamless" src="../../../../files/Primer_documento.pdf" height="525" width="100%"></iframe> <p>Este documento <strong>PDF</strong> se generará en la ventana derecha, pero también se guardará en la carpeta donde tengamos el archivo $\LaTeX{}$.</p>]]></content><author><name></name></author><category term="tutorial"/><category term="latex"/><summary type="html"><![CDATA[Introducción e instalación de LaTeX]]></summary></entry><entry><title type="html">Anaconda: Una suite para científicos (SPA)</title><link href="https://luis2501.github.io/blog/2021/anaconda-introduction/" rel="alternate" type="text/html" title="Anaconda: Una suite para científicos (SPA)"/><published>2021-07-21T15:02:15+00:00</published><updated>2021-07-21T15:02:15+00:00</updated><id>https://luis2501.github.io/blog/2021/anaconda-introduction</id><content type="html" xml:base="https://luis2501.github.io/blog/2021/anaconda-introduction/"><![CDATA[<p style="text-align: justify"> Python es un lenguaje de programación de alto nivel, interpretado y multiparadigma. Cuenta con una gramática simple y sencilla, lo cual hace que Python sea facil de aprender y de usar. Además, Python es un lenguaje muy popular y usado por organizaciones como Google, NASA, la CIA y Disney. También aplicaciones como Netflix, Instagram y Spotify utilizan Python. </p> <p style="text-align: justify"> Una de las características que hace especial a Python es debido a que es multiproposito, esto quiere decir que es usado para muchos fines. Entre ellos son aplicaciones web, ciencia de datos, juegos, modelos de machine learning, computación científica, entre otras cosas. </p> <p style="text-align: justify"> Para trabajar con Python y poder aprovechar al máximo lo que ofrece este lenguaje y sus herramientas en cuestión de ciencia de datos, computación científica, etc, debemos usar una de sus distribuciones: <b><a href="https://www.anaconda.com/" target="_blank">Anaconda</a></b> </p> <p style="text-align: justify"> <b>Anaconda</b> es una suite de código abierto que abarca una serie de aplicaciones, librerías y conceptos diseñados para el desarrollo de la ciencia de datos con Python. Esta suite de herramientas está diseñada para la ciencia de datos con Python pero es útil para la mayoría de los desarrolladores con Python, ya que cuenta con una gran cantidad de aplicaciones y paquetes que nos permitirán ser más eficientes. </p> <p style="text-align: justify"> De manera general Anaconda es una distribucción de Python que funciona como un gestor de entorno, un gestor de paquetes y que posee una colección de más de 720 paquetes de código abierto. </p> <p style="text-align: justify"> Anaconda se agrupa en 4 sectores o soluciones tecnológicas, <b>Anaconda Navigator</b>, <b>Anaconda Project</b>, <b>librerías científicas</b> y <b>conda</b>. Todas estás se instalan de manera automática y en un procedimiento muy sencillo. </p> <p style="text-align: justify"> En este posts no solamente quiero hablar de Anaconda, sus ventajas y demás. Principalmente la intención de esta publicación es para llevar acabo la instalación de Anaconda y de manera paralela lo puedas hacer. </p> <h1 id="instalación-de-anaconda">Instalación de Anaconda</h1> <p>Como primer paso para instalar Anaconda, deberas descargar el instalador en el siguiente enlace: <a href="https://www.anaconda.com/products/individual">https://www.anaconda.com/products/individual</a></p> <p><a href="https://www.anaconda.com/products/individual" target="_blank"><img src="../../../../images/Instalador.png" alt="Imagen"/></a></p> <p>Al final de la página encontraras los enlaces para descargar el instalador, dependiendo el sistema operativo y arquitectura de tu computadora.</p> <hr/> <h2 id="windows">Windows</h2> <p>Al momento de que se haya descargado el archivo (.exe), deberas ejecutarlo haciendo click. Te aparecera una venta como la siguiente</p> <p><img src="../../../../images/Windows_1.png" alt="Imagen 1" align="center"/></p> <p>Haces click en <em>Next</em> y luego haces click en <em>I Agree</em></p> <p><img src="../../../../images/Windows_2.png" alt="Imagen 2" align="center"/></p> <p>Seleccionas <em>All Users</em> y haces click en <em>Next</em></p> <p><img src="../../../../images/Windows_3.png" alt="Imagen 3" align="center"/></p> <p>Deberas aceptar los permisos de administrador. Después haces click en <em>Next</em></p> <p><img src="../../../../images/Windows_4.png" alt="Imagen 4" align="center"/></p> <p>Seleccionas <em>Add Anaconda3 to the system PATH enviroment variable</em> y haga click en <em>Install</em></p> <p><img src="../../../../images/Windows_5.png" alt="Imagen 5" align="center"/></p> <p>Esperas a que finalice la instalación y haces click en <em>Next</em></p> <p><img src="../../../../images/Windows_6.png" alt="Imagen 6" align="center"/></p> <p>Luego casi por terminar, nuevamente haces click en <em>Next</em></p> <p><img src="../../../../images/Windows_7.png" alt="Imagen 7" align="center"/></p> <p>Por último click en <em>Finish</em></p> <p><img src="../../../../images/Windows_8.png" alt="Imagen 8" align="center"/></p> <p>Y habras acabado. Tienes instalado Anaconda en tu dispostivo.</p> <hr/> <h2 id="linux">Linux</h2> <p style="text-align: justify"> Debo aclarar que la siguiente instalación es mediante Debian/Ubuntu. Antes de comenzar a instalar, debe abrir una terminal y ejecutar los siguiente comandos </p> <div class="language-console highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="go">sudo apt-get update
</span></code></pre></div></div> <p>y</p> <div class="language-console highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="go">sudo apt upgrade
</span></code></pre></div></div> <p>Ahora, terminada la descarga del archivo de instalación (.sh), debera abrir una terminal en donde se encuentre el archivo, ya sea mediante <code class="language-plaintext highlighter-rouge">cd Descargas</code> o <code class="language-plaintext highlighter-rouge">cd Downloads</code>. Después ejecute</p> <div class="language-console highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="go">bash ~nombre_archivo.sh
</span></code></pre></div></div> <p>Generalmente el archivo es nombrado como <code class="language-plaintext highlighter-rouge">Anaconda3-2021.05-Linux-x86_64.sh</code>. Al ejecutar el comando apareceran una serie de instrucciones que debe seguir.</p> <p>Al terminar la instalación reinicie su computadora. Y ya reiniciada ejecute <code class="language-plaintext highlighter-rouge">Ctrl + Alt + T</code> para abrir una terminal y debera aparecer algo como lo siguiente</p> <p><img src="../../../../images/Linux_1.png" alt="Imagen 9" align="center"/></p> <p>Esto nos indica que Anaconda sea ha instaldo. La palabra <code class="language-plaintext highlighter-rouge">(base)</code> antes del prompt indica que nos encontramos en el entorno base de Anaconda. Quizás después hable un poco acerca de los entornos virtuales de Anaconda.</p> <hr/> <p>Anaconda promete ser una suite muy útil no solamente para científicos de datos, si no también para científicos en general (matemáticos, físico, químicos, biólogos, ingenieros, etc). En publicaciones posteriores hablare más acerca de Anaconda.</p>]]></content><author><name></name></author><category term="tutorial"/><category term="anaconda"/><category term="python"/><category term="code"/><summary type="html"><![CDATA[Introducción e instalación de Anaconda]]></summary></entry><entry><title type="html">a post with redirect</title><link href="https://luis2501.github.io/blog/2021/redirect/" rel="alternate" type="text/html" title="a post with redirect"/><published>2021-07-04T17:39:00+00:00</published><updated>2021-07-04T17:39:00+00:00</updated><id>https://luis2501.github.io/blog/2021/redirect</id><content type="html" xml:base="https://luis2501.github.io/blog/2021/redirect/"><![CDATA[]]></content><author><name></name></author><summary type="html"><![CDATA[you can also redirect to assets like pdf]]></summary></entry><entry><title type="html">a distill-style blog post</title><link href="https://luis2501.github.io/blog/2021/distill/" rel="alternate" type="text/html" title="a distill-style blog post"/><published>2021-05-22T00:00:00+00:00</published><updated>2021-05-22T00:00:00+00:00</updated><id>https://luis2501.github.io/blog/2021/distill</id><content type="html" xml:base="https://luis2501.github.io/blog/2021/distill/"><![CDATA[<h2 id="equations">Equations</h2> <p>This theme supports rendering beautiful math in inline and display modes using <a href="https://www.mathjax.org/">MathJax 3</a> engine. You just need to surround your math expression with <code class="language-plaintext highlighter-rouge">$$</code>, like <code class="language-plaintext highlighter-rouge">$$ E = mc^2 $$</code>. If you leave it inside a paragraph, it will produce an inline expression, just like \(E = mc^2\).</p> <p>To use display mode, again surround your expression with <code class="language-plaintext highlighter-rouge">$$</code> and place it as a separate paragraph. Here is an example:</p> \[\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)\] <p>Note that MathJax 3 is <a href="https://docs.mathjax.org/en/latest/upgrading/whats-new-3.0.html">a major re-write of MathJax</a> that brought a significant improvement to the loading and rendering speed, which is now <a href="http://www.intmath.com/cg5/katex-mathjax-comparison.php">on par with KaTeX</a>.</p> <hr/> <h2 id="citations">Citations</h2> <p>Citations are then used in the article body with the <code class="language-plaintext highlighter-rouge">&lt;d-cite&gt;</code> tag. The key attribute is a reference to the id provided in the bibliography. The key attribute can take multiple ids, separated by commas.</p> <p>The citation is presented inline like this: <d-cite key="gregor2015draw"></d-cite> (a number that displays more information on hover). If you have an appendix, a bibliography is automatically created and populated in it.</p> <p>Distill chose a numerical inline citation style to improve readability of citation dense articles and because many of the benefits of longer citations are obviated by displaying more information on hover. However, we consider it good style to mention author last names if you discuss something at length and it fits into the flow well — the authors are human and it’s nice for them to have the community associate them with their work.</p> <hr/> <h2 id="footnotes">Footnotes</h2> <p>Just wrap the text you would like to show up in a footnote in a <code class="language-plaintext highlighter-rouge">&lt;d-footnote&gt;</code> tag. The number of the footnote will be automatically generated.<d-footnote>This will become a hoverable footnote.</d-footnote></p> <hr/> <h2 id="code-blocks">Code Blocks</h2> <p>Syntax highlighting is provided within <code class="language-plaintext highlighter-rouge">&lt;d-code&gt;</code> tags. An example of inline code snippets: <code class="language-plaintext highlighter-rouge">&lt;d-code language="html"&gt;let x = 10;&lt;/d-code&gt;</code>. For larger blocks of code, add a <code class="language-plaintext highlighter-rouge">block</code> attribute:</p> <d-code block="" language="javascript"> var x = 25; function(x) { return x * x; } </d-code> <p><strong>Note:</strong> <code class="language-plaintext highlighter-rouge">&lt;d-code&gt;</code> blocks do not look good in the dark mode. You can always use the default code-highlight using the <code class="language-plaintext highlighter-rouge">highlight</code> liquid tag:</p> <figure class="highlight"><pre><code class="language-javascript" data-lang="javascript"><span class="kd">var</span> <span class="nx">x</span> <span class="o">=</span> <span class="mi">25</span><span class="p">;</span>
<span class="kd">function</span><span class="p">(</span><span class="nx">x</span><span class="p">)</span> <span class="p">{</span>
  <span class="k">return</span> <span class="nx">x</span> <span class="o">*</span> <span class="nx">x</span><span class="p">;</span>
<span class="p">}</span></code></pre></figure> <hr/> <h2 id="layouts">Layouts</h2> <p>The main text column is referred to as the body. It is the assumed layout of any direct descendants of the <code class="language-plaintext highlighter-rouge">d-article</code> element.</p> <div class="fake-img l-body"> <p>.l-body</p> </div> <p>For images you want to display a little larger, try <code class="language-plaintext highlighter-rouge">.l-page</code>:</p> <div class="fake-img l-page"> <p>.l-page</p> </div> <p>All of these have an outset variant if you want to poke out from the body text a little bit. For instance:</p> <div class="fake-img l-body-outset"> <p>.l-body-outset</p> </div> <div class="fake-img l-page-outset"> <p>.l-page-outset</p> </div> <p>Occasionally you’ll want to use the full browser width. For this, use <code class="language-plaintext highlighter-rouge">.l-screen</code>. You can also inset the element a little from the edge of the browser by using the inset variant.</p> <div class="fake-img l-screen"> <p>.l-screen</p> </div> <div class="fake-img l-screen-inset"> <p>.l-screen-inset</p> </div> <p>The final layout is for marginalia, asides, and footnotes. It does not interrupt the normal flow of <code class="language-plaintext highlighter-rouge">.l-body</code> sized text except on mobile screen sizes.</p> <div class="fake-img l-gutter"> <p>.l-gutter</p> </div> <hr/> <h2 id="other-typography">Other Typography?</h2> <p>Emphasis, aka italics, with <em>asterisks</em> (<code class="language-plaintext highlighter-rouge">*asterisks*</code>) or <em>underscores</em> (<code class="language-plaintext highlighter-rouge">_underscores_</code>).</p> <p>Strong emphasis, aka bold, with <strong>asterisks</strong> or <strong>underscores</strong>.</p> <p>Combined emphasis with <strong>asterisks and <em>underscores</em></strong>.</p> <p>Strikethrough uses two tildes. <del>Scratch this.</del></p> <ol> <li>First ordered list item</li> <li>Another item ⋅⋅* Unordered sub-list.</li> <li>Actual numbers don’t matter, just that it’s a number ⋅⋅1. Ordered sub-list</li> <li>And another item.</li> </ol> <p>⋅⋅⋅You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we’ll use three here to also align the raw Markdown).</p> <p>⋅⋅⋅To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅ ⋅⋅⋅Note that this line is separate, but within the same paragraph.⋅⋅ ⋅⋅⋅(This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)</p> <ul> <li>Unordered list can use asterisks</li> <li>Or minuses</li> <li>Or pluses</li> </ul> <p><a href="https://www.google.com">I’m an inline-style link</a></p> <p><a href="https://www.google.com" title="Google's Homepage">I’m an inline-style link with title</a></p> <p><a href="https://www.mozilla.org">I’m a reference-style link</a></p> <p><a href="../blob/master/LICENSE">I’m a relative reference to a repository file</a></p> <p><a href="http://slashdot.org">You can use numbers for reference-style link definitions</a></p> <p>Or leave it empty and use the <a href="http://www.reddit.com">link text itself</a>.</p> <p>URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com or <a href="http://www.example.com">http://www.example.com</a> and sometimes example.com (but not on Github, for example).</p> <p>Some text to show that the reference links can follow later.</p> <p>Here’s our logo (hover to see the title text):</p> <p>Inline-style: <img src="https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png" alt="alt text" title="Logo Title Text 1"/></p> <p>Reference-style: <img src="https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png" alt="alt text" title="Logo Title Text 2"/></p> <p>Inline <code class="language-plaintext highlighter-rouge">code</code> has <code class="language-plaintext highlighter-rouge">back-ticks around</code> it.</p> <div class="language-javascript highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kd">var</span> <span class="nx">s</span> <span class="o">=</span> <span class="dl">"</span><span class="s2">JavaScript syntax highlighting</span><span class="dl">"</span><span class="p">;</span>
<span class="nf">alert</span><span class="p">(</span><span class="nx">s</span><span class="p">);</span>
</code></pre></div></div> <div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">s</span> <span class="o">=</span> <span class="sh">"</span><span class="s">Python syntax highlighting</span><span class="sh">"</span>
<span class="k">print</span> <span class="n">s</span>
</code></pre></div></div> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>No language indicated, so no syntax highlighting. 
But let's throw in a &lt;b&gt;tag&lt;/b&gt;.
</code></pre></div></div> <p>Colons can be used to align columns.</p> <table> <thead> <tr> <th>Tables</th> <th style="text-align: center">Are</th> <th style="text-align: right">Cool</th> </tr> </thead> <tbody> <tr> <td>col 3 is</td> <td style="text-align: center">right-aligned</td> <td style="text-align: right">$1600</td> </tr> <tr> <td>col 2 is</td> <td style="text-align: center">centered</td> <td style="text-align: right">$12</td> </tr> <tr> <td>zebra stripes</td> <td style="text-align: center">are neat</td> <td style="text-align: right">$1</td> </tr> </tbody> </table> <p>There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don’t need to make the raw Markdown line up prettily. You can also use inline Markdown.</p> <table> <thead> <tr> <th>Markdown</th> <th>Less</th> <th>Pretty</th> </tr> </thead> <tbody> <tr> <td><em>Still</em></td> <td><code class="language-plaintext highlighter-rouge">renders</code></td> <td><strong>nicely</strong></td> </tr> <tr> <td>1</td> <td>2</td> <td>3</td> </tr> </tbody> </table> <blockquote> <p>Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.</p> </blockquote> <p>Quote break.</p> <blockquote> <p>This is a very long line that will still be quoted properly when it wraps. Oh boy let’s keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can <em>put</em> <strong>Markdown</strong> into a blockquote.</p> </blockquote> <p>Here’s a line for us to start with.</p> <p>This line is separated from the one above by two newlines, so it will be a <em>separate paragraph</em>.</p> <p>This line is also a separate paragraph, but… This line is only separated by a single newline, so it’s a separate line in the <em>same paragraph</em>.</p>]]></content><author><name>Albert Einstein</name></author><summary type="html"><![CDATA[an example of a distill-style blog post and main elements]]></summary></entry><entry><title type="html">a post with github metadata</title><link href="https://luis2501.github.io/blog/2020/github-metadata/" rel="alternate" type="text/html" title="a post with github metadata"/><published>2020-09-28T21:01:00+00:00</published><updated>2020-09-28T21:01:00+00:00</updated><id>https://luis2501.github.io/blog/2020/github-metadata</id><content type="html" xml:base="https://luis2501.github.io/blog/2020/github-metadata/"><![CDATA[<p>A sample blog page that demonstrates the accessing of github meta data.</p> <h2 id="what-does-github-metadata-do">What does Github-MetaData do?</h2> <ul> <li>Propagates the site.github namespace with repository metadata</li> <li>Setting site variables : <ul> <li>site.title</li> <li>site.description</li> <li>site.url</li> <li>site.baseurl</li> </ul> </li> <li>Accessing the metadata - duh.</li> <li>Generating edittable links.</li> </ul> <h2 id="additional-reading">Additional Reading</h2> <ul> <li>If you’re recieving incorrect/missing data, you may need to perform a Github API<a href="https://github.com/jekyll/github-metadata/blob/master/docs/authentication.md"> authentication</a>.</li> <li>Go through this <a href="https://jekyll.github.io/github-metadata/">README</a> for more details on the topic.</li> <li><a href="https://github.com/jekyll/github-metadata/blob/master/docs/site.github.md">This page</a> highlights all the feilds you can access with github-metadata. <br/></li> </ul> <h2 id="example-metadata">Example MetaData</h2> <ul> <li>Host Name :</li> <li>URL :</li> <li>BaseURL :</li> <li>Archived :</li> <li>Contributors :</li> </ul>]]></content><author><name></name></author><category term="sample-posts"/><category term="external-services"/><summary type="html"><![CDATA[a quick run down on accessing github metadata.]]></summary></entry><entry><title type="html">a post with comments</title><link href="https://luis2501.github.io/blog/2015/comments/" rel="alternate" type="text/html" title="a post with comments"/><published>2015-10-20T15:59:00+00:00</published><updated>2015-10-20T15:59:00+00:00</updated><id>https://luis2501.github.io/blog/2015/comments</id><content type="html" xml:base="https://luis2501.github.io/blog/2015/comments/"><![CDATA[<p>This post shows how to add DISQUS comments.</p>]]></content><author><name></name></author><category term="sample-posts"/><category term="external-services"/><summary type="html"><![CDATA[an example of a blog post with comments]]></summary></entry><entry><title type="html">a post with math</title><link href="https://luis2501.github.io/blog/2015/math/" rel="alternate" type="text/html" title="a post with math"/><published>2015-10-20T15:12:00+00:00</published><updated>2015-10-20T15:12:00+00:00</updated><id>https://luis2501.github.io/blog/2015/math</id><content type="html" xml:base="https://luis2501.github.io/blog/2015/math/"><![CDATA[<p>This theme supports rendering beautiful math in inline and display modes using <a href="https://www.mathjax.org/">MathJax 3</a> engine. You just need to surround your math expression with <code class="language-plaintext highlighter-rouge">$$</code>, like <code class="language-plaintext highlighter-rouge">$$ E = mc^2 $$</code>. If you leave it inside a paragraph, it will produce an inline expression, just like \(E = mc^2\).</p> <p>To use display mode, again surround your expression with <code class="language-plaintext highlighter-rouge">$$</code> and place it as a separate paragraph. Here is an example:</p> \[\sum_{k=1}^\infty |\langle x, e_k \rangle|^2 \leq \|x\|^2\] <p>You can also use <code class="language-plaintext highlighter-rouge">\begin{equation}...\end{equation}</code> instead of <code class="language-plaintext highlighter-rouge">$$</code> for display mode math. MathJax will automatically number equations:</p> <p>\begin{equation} \label{eq:cauchy-schwarz} \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \end{equation}</p> <p>and by adding <code class="language-plaintext highlighter-rouge">\label{...}</code> inside the equation environment, we can now refer to the equation using <code class="language-plaintext highlighter-rouge">\eqref</code>.</p> <p>Note that MathJax 3 is <a href="https://docs.mathjax.org/en/latest/upgrading/whats-new-3.0.html">a major re-write of MathJax</a> that brought a significant improvement to the loading and rendering speed, which is now <a href="http://www.intmath.com/cg5/katex-mathjax-comparison.php">on par with KaTeX</a>.</p>]]></content><author><name></name></author><category term="sample-posts"/><category term="formatting"/><category term="math"/><summary type="html"><![CDATA[an example of a blog post with some math]]></summary></entry><entry><title type="html">a post with code</title><link href="https://luis2501.github.io/blog/2015/code/" rel="alternate" type="text/html" title="a post with code"/><published>2015-07-15T15:09:00+00:00</published><updated>2015-07-15T15:09:00+00:00</updated><id>https://luis2501.github.io/blog/2015/code</id><content type="html" xml:base="https://luis2501.github.io/blog/2015/code/"><![CDATA[<p>This theme implements a built-in Jekyll feature, the use of Rouge, for syntax highlighting. It supports more than 100 languages. This example is in C++. All you have to do is wrap your code in a liquid tag:</p> <p>{% highlight c++ linenos %} <br/> code code code <br/> {% endhighlight %}</p> <p>The keyword <code class="language-plaintext highlighter-rouge">linenos</code> triggers display of line numbers. Produces something like this:</p> <figure class="highlight"><pre><code class="language-c--" data-lang="c++"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre><span class="kt">int</span> <span class="nf">main</span><span class="p">(</span><span class="kt">int</span> <span class="n">argc</span><span class="p">,</span> <span class="kt">char</span> <span class="k">const</span> <span class="err">\</span><span class="o">*</span><span class="n">argv</span><span class="p">[])</span>
<span class="p">{</span>
    <span class="n">string</span> <span class="n">myString</span><span class="p">;</span>

    <span class="n">cout</span> <span class="o">&lt;&lt;</span> <span class="s">"input a string: "</span><span class="p">;</span>
    <span class="n">getline</span><span class="p">(</span><span class="n">cin</span><span class="p">,</span> <span class="n">myString</span><span class="p">);</span>
    <span class="kt">int</span> <span class="n">length</span> <span class="o">=</span> <span class="n">myString</span><span class="p">.</span><span class="n">length</span><span class="p">();</span>

    <span class="kt">char</span> <span class="n">charArray</span> <span class="o">=</span> <span class="k">new</span> <span class="kt">char</span> <span class="o">*</span> <span class="p">[</span><span class="n">length</span><span class="p">];</span>

    <span class="n">charArray</span> <span class="o">=</span> <span class="n">myString</span><span class="p">;</span>
    <span class="k">for</span><span class="p">(</span><span class="kt">int</span> <span class="n">i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> <span class="n">i</span> <span class="o">&lt;</span> <span class="n">length</span><span class="p">;</span> <span class="o">++</span><span class="n">i</span><span class="p">){</span>
        <span class="n">cout</span> <span class="o">&lt;&lt;</span> <span class="n">charArray</span><span class="p">[</span><span class="n">i</span><span class="p">]</span> <span class="o">&lt;&lt;</span> <span class="s">" "</span><span class="p">;</span>
    <span class="p">}</span>

    <span class="k">return</span> <span class="mi">0</span><span class="p">;</span>
<span class="p">}</span>
</pre></td></tr></tbody></table></code></pre></figure>]]></content><author><name></name></author><category term="sample-posts"/><category term="formatting"/><category term="code"/><summary type="html"><![CDATA[an example of a blog post with some code]]></summary></entry><entry><title type="html">a post with images</title><link href="https://luis2501.github.io/blog/2015/images/" rel="alternate" type="text/html" title="a post with images"/><published>2015-05-15T21:01:00+00:00</published><updated>2015-05-15T21:01:00+00:00</updated><id>https://luis2501.github.io/blog/2015/images</id><content type="html" xml:base="https://luis2501.github.io/blog/2015/images/"><![CDATA[<p>This is an example post with image galleries.</p> <div class="row mt-3"> <div class="col-sm mt-3 mt-md-0"> <figure> <picture> <source class="responsive-img-srcset" media="(max-width: 480px)" srcset="/assets/img/9-480.webp"/> <source class="responsive-img-srcset" media="(max-width: 800px)" srcset="/assets/img/9-800.webp"/> <source class="responsive-img-srcset" media="(max-width: 1400px)" srcset="/assets/img/9-1400.webp"/> <img src="/assets/img/9.jpg" class="img-fluid rounded z-depth-1" width="auto" height="auto" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"/> </picture> </figure> </div> <div class="col-sm mt-3 mt-md-0"> <figure> <picture> <source class="responsive-img-srcset" media="(max-width: 480px)" srcset="/assets/img/7-480.webp"/> <source class="responsive-img-srcset" media="(max-width: 800px)" srcset="/assets/img/7-800.webp"/> <source class="responsive-img-srcset" media="(max-width: 1400px)" srcset="/assets/img/7-1400.webp"/> <img src="/assets/img/7.jpg" class="img-fluid rounded z-depth-1" width="auto" height="auto" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"/> </picture> </figure> </div> </div> <div class="caption"> A simple, elegant caption looks good between image rows, after each row, or doesn't have to be there at all. </div> <p>Images can be made zoomable. Simply add <code class="language-plaintext highlighter-rouge">data-zoomable</code> to <code class="language-plaintext highlighter-rouge">&lt;img&gt;</code> tags that you want to make zoomable.</p> <div class="row mt-3"> <div class="col-sm mt-3 mt-md-0"> <figure> <picture> <source class="responsive-img-srcset" media="(max-width: 480px)" srcset="/assets/img/8-480.webp"/> <source class="responsive-img-srcset" media="(max-width: 800px)" srcset="/assets/img/8-800.webp"/> <source class="responsive-img-srcset" media="(max-width: 1400px)" srcset="/assets/img/8-1400.webp"/> <img src="/assets/img/8.jpg" class="img-fluid rounded z-depth-1" width="auto" height="auto" data-zoomable="" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"/> </picture> </figure> </div> <div class="col-sm mt-3 mt-md-0"> <figure> <picture> <source class="responsive-img-srcset" media="(max-width: 480px)" srcset="/assets/img/10-480.webp"/> <source class="responsive-img-srcset" media="(max-width: 800px)" srcset="/assets/img/10-800.webp"/> <source class="responsive-img-srcset" media="(max-width: 1400px)" srcset="/assets/img/10-1400.webp"/> <img src="/assets/img/10.jpg" class="img-fluid rounded z-depth-1" width="auto" height="auto" data-zoomable="" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"/> </picture> </figure> </div> </div> <p>The rest of the images in this post are all zoomable, arranged into different mini-galleries.</p> <div class="row mt-3"> <div class="col-sm mt-3 mt-md-0"> <figure> <picture> <source class="responsive-img-srcset" media="(max-width: 480px)" srcset="/assets/img/11-480.webp"/> <source class="responsive-img-srcset" media="(max-width: 800px)" srcset="/assets/img/11-800.webp"/> <source class="responsive-img-srcset" media="(max-width: 1400px)" srcset="/assets/img/11-1400.webp"/> <img src="/assets/img/11.jpg" class="img-fluid rounded z-depth-1" width="auto" height="auto" data-zoomable="" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"/> </picture> </figure> </div> <div class="col-sm mt-3 mt-md-0"> <figure> <picture> <source class="responsive-img-srcset" media="(max-width: 480px)" srcset="/assets/img/12-480.webp"/> <source class="responsive-img-srcset" media="(max-width: 800px)" srcset="/assets/img/12-800.webp"/> <source class="responsive-img-srcset" media="(max-width: 1400px)" srcset="/assets/img/12-1400.webp"/> <img src="/assets/img/12.jpg" class="img-fluid rounded z-depth-1" width="auto" height="auto" data-zoomable="" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"/> </picture> </figure> </div> <div class="col-sm mt-3 mt-md-0"> <figure> <picture> <source class="responsive-img-srcset" media="(max-width: 480px)" srcset="/assets/img/7-480.webp"/> <source class="responsive-img-srcset" media="(max-width: 800px)" srcset="/assets/img/7-800.webp"/> <source class="responsive-img-srcset" media="(max-width: 1400px)" srcset="/assets/img/7-1400.webp"/> <img src="/assets/img/7.jpg" class="img-fluid rounded z-depth-1" width="auto" height="auto" data-zoomable="" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"/> </picture> </figure> </div> </div>]]></content><author><name></name></author><category term="sample-posts"/><category term="formatting"/><category term="images"/><summary type="html"><![CDATA[this is what included images could look like]]></summary></entry></feed>