<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Federico Tartarini on Medium]]></title>
        <description><![CDATA[Stories by Federico Tartarini on Medium]]></description>
        <link>https://medium.com/@federicotartarini?source=rss-5cb59b292dd3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Z_NzxfbDQhQ7D5mM58Hdaw.jpeg</url>
            <title>Stories by Federico Tartarini on Medium</title>
            <link>https://medium.com/@federicotartarini?source=rss-5cb59b292dd3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 16:17:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@federicotartarini/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How I Used Firebase and Gemini AI to Parse Messy Airline Emails into Structured JSON]]></title>
            <link>https://medium.com/@federicotartarini/how-i-used-firebase-and-gemini-ai-to-parse-messy-airline-emails-into-structured-json-f7a799b5d61c?source=rss-5cb59b292dd3------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7a799b5d61c</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[flight-tracker]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Federico Tartarini]]></dc:creator>
            <pubDate>Mon, 23 Mar 2026 08:04:51 GMT</pubDate>
            <atom:updated>2026-03-23T08:04:51.583Z</atom:updated>
            <content:encoded><![CDATA[<h4>Building a serverless flight tracker with React, Firebase, and Google’s LLM to automate data entry.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f6tgNoutawpsHmJg2p7IJQ.png" /><figcaption>Fly Log — screenshot main features</figcaption></figure><p>I love keeping track of my travel statistics and visualizing my routes on a world map. However, the biggest bottleneck to maintaining a personal flight log is data entry.</p><p>Manually typing out IATA airport codes, departure times, and airlines into a spreadsheet after every booking is tedious. Spreadsheets are also not very exciting, and you cannot easily visualize your routes on a global map. I wanted to bring the data to life without the friction of manual entry, so I built an open-source web app called <strong>Fly Log</strong>.</p><p>The technical challenge was figuring out how to bypass manual data entry entirely. The solution was using an LLM to read unstructured airline confirmation emails and return strictly formatted JSON. Here is how I built it using React, Firebase, and the Gemini model.</p><h3>The Architecture</h3><p>I needed a stack that was fast, free to host, and required minimal backend maintenance.</p><ul><li><strong>Frontend:</strong> React (excellent for managing the interactive map state and dashboard components).</li><li><strong>Backend:</strong> Firebase (Firestore for the database and Firebase Authentication for user accounts).</li><li><strong>Data Extraction:</strong> gemini-2.5-flash-lite via the Firebase AI SDK (incredibly fast, secure, and excellent at following strict JSON schema instructions).</li></ul><p>The workflow is simple: The user pastes the raw text of their booking email into the React frontend. The app securely passes this text to the Gemini model. Gemini extracts the data and returns a structured JSON object, and the React frontend updates the database.</p><h3>The Core Challenge: Forcing Structured JSON Output</h3><p>Airline emails are messy. A Ryanair receipt looks completely different from a Delta itinerary. Traditional regex (Regular Expressions) would be a nightmare to maintain for hundreds of different airlines.</p><p>Instead, LLMs are perfect for this. The trick is writing a strict System Prompt that enforces a JSON structure, followed by rigorous TypeScript validation on the client side.</p><p>By passing instructions through the Firebase AI SDK, I commanded the model to act strictly as a data-extraction API. Here is a simplified look at the schema rules I passed to the model:</p><pre>const SYSTEM_PROMPT = `You are a flight data extractor. Given a user description of flights, extract the details and return ONLY a valid JSON object with exactly these fields:<br>- departure_airport_iata: 3-letter IATA airport code (uppercase) or null<br>- arrival_airport_iata: 3-letter IATA airport code (uppercase) or null<br>- departure_date: ISO date string in YYYY-MM-DD format or null<br>- departure_time: 24-hour time string in HH:MM format or null<br>- airline_iata: 2-letter IATA airline code (uppercase) or null<br>- return_date: ISO date string YYYY-MM-DD for the return leg, or null<br><br>Return ONLY the JSON object with no explanation, no markdown, no code fences.`;</pre><p>Even with a good prompt, LLM output cannot be blindly trusted. Once Gemini returns the JSON, my React app runs the data through strict normalizer functions (e.g., verifying the IATA code is exactly 3 uppercase letters, and parsing the dates into standard formats) before writing it to Firestore.</p><h3>Bringing the Data to Life</h3><p>Once the AI handles the tedious data entry, the React frontend takes over to make the data actually fun to explore.</p><p>Instead of looking at rows of text, Fly Log transforms your history into an interactive dashboard:</p><ul><li><strong>The Global Map &amp; Flight List:</strong> You can view a chronological list of every flight you have ever taken, alongside an interactive global map that plots all your routes simultaneously.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rGZB5RQJP2soJ94QHPaguQ.png" /><figcaption>Global map</figcaption></figure><ul><li><strong>Lifetime Travel Statistics:</strong> The dashboard aggregates your data to show exactly how much of your life you have spent in the air. You can see your total hours flown, total distance covered, and a breakdown of your most frequently used airlines. (Turns out I have been in the air a lot more than I thought!)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*DiZbub111xcEGX6y1Wh4FQ.png" /><figcaption>Detailed travel stats</figcaption></figure><ul><li><strong>The “Tour” Mode:</strong> This is my favorite feature. Fly Log includes an animated tour functionality. When activated, the map plays a cinematic animation of your travel history, drawing the flight paths from the start city to the end city across the globe in sequence.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*JvbaeG1lQzdxeSD_u3rGBw.png" /><figcaption>Tour mode</figcaption></figure><h3>Try It Out</h3><p>I built Fly Log to be completely free and open-source. You can upload as many flights as you want, and your data stays your own.</p><ul><li><strong>Live Application:</strong> <a href="https://fly-log.netlify.app/stats">https://fly-log.netlify.app/stats</a></li><li><strong>Source Code:</strong> <a href="https://github.com/FedericoTartarini/fly-log/">https://github.com/FedericoTartarini/fly-log/</a></li></ul><p>If you are a developer, feel free to check out the repository to see exactly how the Firebase AI SDK integration and React components are wired up. I’d love honest feedback on how I can improve it. What travel stats do you usually track that I should add to the dashboard?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7a799b5d61c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Professional Documents in LaTeX: A Guide to Including Title, Author, Figures, Tables…]]></title>
            <link>https://medium.com/@federicotartarini/creating-professional-documents-in-latex-a-guide-to-including-title-author-figures-tables-7cf4e3d98a2d?source=rss-5cb59b292dd3------2</link>
            <guid isPermaLink="false">https://medium.com/p/7cf4e3d98a2d</guid>
            <category><![CDATA[latex]]></category>
            <category><![CDATA[academic-writing]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <dc:creator><![CDATA[Federico Tartarini]]></dc:creator>
            <pubDate>Mon, 16 Jan 2023 07:35:13 GMT</pubDate>
            <atom:updated>2023-01-16T07:35:13.099Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W30-imxdObv7dEvJ5Q0EnQ.png" /><figcaption>Basic commands in LaTeX</figcaption></figure><h3>Creating Professional Documents in LaTeX: A Guide to Including Title, Author, Figures, Tables, Lists, and Math Equations</h3><p>In this article, you will learn how to create professional documents in LaTeX, including how to include a title, author, figures, tables, lists, and math equations.</p><p>It covers the basics of using the graphicx, amsmath packages as well as the tabular, itemize, enumerate and equation environments.</p><h3>Body of the document</h3><p>Here is an example of how to write a document in LaTeX that includes a title, author, figures, tables, lists, and math equations. Copy the following code in a document with the .tex extension and compile it using your favourite IDE and LaTeX distribution. If you do not know how to get started with LaTeX please read <a href="https://medium.com/@federicotartarini/getting-started-with-latex-a-beginners-guide-to-the-powerful-typesetting-system-acbf498a62d8">my previous article</a>.</p><pre>\documentclass{article}<br><br>\title{My Document}<br>\author{John Doe}<br><br>\usepackage{graphicx}<br>\usepackage{amsmath}<br><br>\begin{document}<br><br>\maketitle<br><br>\section{Introduction}<br><br>This is my document that includes a variety of different elements, <br>such as figures, tables, lists, and math equations.<br><br>\subsection{Figures}<br><br>To include a figure in your document, you can use the `\includegraphics` <br>command from the `graphicx` package. The basic syntax is:<br><br>\begin{figure}<br>\includegraphics[width=\linewidth]{figure.png}<br>\caption{This is my figure}<br>\end{figure}<br><br>You should replace &quot;figure.png&quot; with the name of the image file you want <br>to include and you can also adjust the width of the image by changing the <br>value of `width`.<br><br>\subsection{Tables}<br><br>To include a table in your document, you can use the `tabular` environment. <br>The basic syntax is:<br><br>\begin{tabular}{|l|c|r|}<br>\hline<br>Column 1 &amp; Column 2 &amp; Column 3 \\<br>\hline<br>Row 1, Column 1 &amp; Row 1, Column 2 &amp; Row 1, Column 3 \\<br>Row 2, Column 1 &amp; Row 2, Column 2 &amp; Row 2, Column 3 \\<br>\hline<br>\end{tabular}<br><br>You can adjust the number of columns and rows by changing the value of <br>`l`, `c`, and `r` in the `tabular` environment and you can also add a <br>caption above the table using the `\caption` command.<br><br>\subsection{Lists}<br><br>To include a list in your document, you can use the `itemize` or <br>`enumerate` environments. The basic syntax for an `itemize` environment is:<br><br>\begin{itemize}<br>\item First item<br>\item Second item<br>\item Third item<br>\end{itemize}<br><br>And for an `enumerate` environment:<br><br>\begin{enumerate}<br>\item First item<br>\item Second item<br>\item Third item<br>\end{enumerate}<br><br>\subsection{Math Equations}<br><br>To include math equations in your document, you can use the `amsmath` <br>package and the `equation` environment. The basic syntax is:<br><br>\begin{equation}<br>y = mx + b<br>\end{equation}<br><br>You can also use the `\frac` command to write fractions, and the <br>`\mathrm{}` command to write Roman characters in math mode.<br><br>\end{document}</pre><h4>Title and Author</h4><p>In this example, the \title and \author commands are used to specify the title and author of the document, and the \maketitle command is then used to generate the title page.</p><h4>Figures</h4><p>To include figures, the graphicx package is imported and the \includegraphics command is used to include image files.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fjg4t0xFDbdk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Djg4t0xFDbdk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fjg4t0xFDbdk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb950f4b3f516349596a91a960e6f690/href">https://medium.com/media/fb950f4b3f516349596a91a960e6f690/href</a></iframe><h4>Tables</h4><p>To include tables, the tabular environment is used to create and format the table, and the \caption command is used to add a caption above the table.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F-sRYdfYMuhE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-sRYdfYMuhE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F-sRYdfYMuhE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6a37056f1b2d429f06a84c928db0694a/href">https://medium.com/media/6a37056f1b2d429f06a84c928db0694a/href</a></iframe><h4>Lists</h4><p>To include lists, the itemize and enumerate environments are used to create bullet point or numbered lists respectively.</p><h4>Math Equations</h4><p>To include math equations, the amsmath package is imported and the equation environment is used to write mathematical notation, and also the \frac command to write fractions, and the \mathrm{} command to write Roman characters in math mode.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FmsugNV8pT9E%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DmsugNV8pT9E&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FmsugNV8pT9E%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4bc5512297fe0882baea1fa70958cb61/href">https://medium.com/media/4bc5512297fe0882baea1fa70958cb61/href</a></iframe><h4>Bibliography</h4><p>It is important to note that these are just basic examples, and there are many more options and commands available for formatting figures, tables, lists, and math equations in LaTeX. Also, it is a good practice to include a bibliography, you can use packages such as bibtex or biblatex to manage your references and citations.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FcetKX6gWAIo%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DcetKX6gWAIo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FcetKX6gWAIo%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/45e6969f1ce5371a5906e5405afc8731/href">https://medium.com/media/45e6969f1ce5371a5906e5405afc8731/href</a></iframe><p>You also should take a look at the official documentation and tutorials for LaTeX, as well as the documentation of the packages you are using, to learn more about the different options and commands available. With some practice and experience, you’ll be able to create professional-looking documents with ease.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7cf4e3d98a2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with LaTeX: A Beginner’s Guide to the Powerful Typesetting System]]></title>
            <link>https://medium.com/@federicotartarini/getting-started-with-latex-a-beginners-guide-to-the-powerful-typesetting-system-acbf498a62d8?source=rss-5cb59b292dd3------2</link>
            <guid isPermaLink="false">https://medium.com/p/acbf498a62d8</guid>
            <category><![CDATA[academic-writing]]></category>
            <category><![CDATA[visual-studio-code]]></category>
            <category><![CDATA[text-editor]]></category>
            <category><![CDATA[latex]]></category>
            <category><![CDATA[typesetting]]></category>
            <dc:creator><![CDATA[Federico Tartarini]]></dc:creator>
            <pubDate>Sat, 14 Jan 2023 00:11:47 GMT</pubDate>
            <atom:updated>2023-01-14T00:23:11.027Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XAPlT33fyJ1IF-w-ZcAh_Q.png" /></figure><p>Let’s recap what you have learned in <a href="https://medium.com/@federicotartarini/why-learning-latex-is-beneficial-for-scientific-and-academic-writing-bb0b561ffa61">my previous article about LaTeX</a>.</p><blockquote>LaTeX is a powerful typesetting system that is widely used in scientific and academic communities for writing papers, articles, and books. If you’re new to LaTeX, getting started can seem intimidating, but with a little bit of practice and know-how, you’ll be able to create professional-looking documents in no time.</blockquote><h3>How to get started</h3><p>The first step in getting started with LaTeX is to download and install a TeX distribution. A TeX distribution is a collection of software that includes the LaTeX typesetting system and additional tools and packages commonly used with LaTeX. Some popular TeX distributions are TeX Live, MiKTeX, and MacTeX. You can download these distributions for free from their respective websites.</p><p>Once you’ve installed a TeX distribution, you’ll need to choose a text editor to write your LaTeX documents. There are many text editors available that have built-in support for LaTeX, such as TeXworks, and Texmaker. Some of them are open-source and others are proprietary. I recommend using either TeXiFy a PyCharm plugin (<a href="https://www.youtube.com/watch?v=bxXMZV9f9P8">video on how to get started</a>) or LaTeX Workshop a Visual Studio Code Plugin (video on how to get started on <a href="https://www.youtube.com/watch?v=CmagZthwhaY">Windows</a>, and on <a href="https://youtu.be/CmagZthwhaY">Mac</a>)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FCmagZthwhaY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DCmagZthwhaY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FCmagZthwhaY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/af119026d9a9eeb3c190394db1868839/href">https://medium.com/media/af119026d9a9eeb3c190394db1868839/href</a></iframe><p>Another extremely valid alternative is to compile your document online using a free tool called Overleaf. Overleaf is great for beginners and for collaborating with other colleagues. <a href="https://youtu.be/E84AeZUlv8s">Watch this video to learn how to get started</a> with Overleaf.</p><p>When you’re ready to start writing your first LaTeX document, you can use a template or create a new document from scratch. A template is a pre-existing document you can use as a starting point for your document. Templates can be helpful because they include a lot of the basic structure and formatting that you’ll need for your document. You can find many templates available on the internet (<a href="https://www.overleaf.com/latex/templates">see this website</a>).</p><h3>Create a new LaTeX document from scratch</h3><p>To create a new document from scratch, you can start with a basic document structure that includes the \documentclass command, which tells LaTeX what type of document you&#39;re making (e.g., article, book, letter), and the \begin{document} and \end{document} commands, which mark the beginning and end of your document.</p><p>Copy the code below in a file with the .tex extension (for example call the file main.tex).</p><pre>\documentclass{article}<br><br>\title{My First LaTeX Document}<br>\author{John Doe}<br><br>\begin{document}<br><br>  \maketitle<br>  \section{Introduction}<br>  Hello, this is my first LaTeX document!<br><br>\end{document}late</pre><p>Once you’ve set up your document, you can start adding content to it. LaTeX uses a variety of commands and environments to format and structure your content, such as headings, paragraphs, lists, tables, and equations.</p><p>Finally, you’ll need to compile your document to see the final output. To do this, you can use a typesetting program, such as pdflatex or xelatex, that comes with your TeX distribution to convert your LaTeX source code into a PDF file.</p><p>Watch this video if you want to learn how to get started with LaTeX in 10 minutes.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fg0YdIs4oJm8&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dg0YdIs4oJm8&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2Fg0YdIs4oJm8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d42230a4476264b49bd622a5715bc252/href">https://medium.com/media/d42230a4476264b49bd622a5715bc252/href</a></iframe><h3>Conclusion</h3><p>In summary, to start using LaTeX, you will need to download a TeX distribution, choose a text editor, use a template or create your document, add content using LaTeX commands and environments, and then compile it to get the final output. It may take some time to get used to it, but it’s worth the effort.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=acbf498a62d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Learning LaTeX is Beneficial for Scientific and Academic Writing?]]></title>
            <link>https://medium.com/@federicotartarini/why-learning-latex-is-beneficial-for-scientific-and-academic-writing-bb0b561ffa61?source=rss-5cb59b292dd3------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb0b561ffa61</guid>
            <category><![CDATA[collaboration]]></category>
            <category><![CDATA[typesetting]]></category>
            <category><![CDATA[academic-writing]]></category>
            <category><![CDATA[latex]]></category>
            <category><![CDATA[academic-publishing]]></category>
            <dc:creator><![CDATA[Federico Tartarini]]></dc:creator>
            <pubDate>Thu, 12 Jan 2023 05:13:37 GMT</pubDate>
            <atom:updated>2023-01-12T05:13:37.288Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IOYeNG_Er_LI5scs5VjAeg.png" /><figcaption>What is LaTeX</figcaption></figure><p>LaTeX is a typesetting system that is widely used in scientific and academic communities for writing papers, articles, and books. There are several reasons why someone might want to learn how to use it.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fw69jWQ5AKFI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dw69jWQ5AKFI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fw69jWQ5AKFI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4931e7ff07c74ffb409c164d0164c69d/href">https://medium.com/media/4931e7ff07c74ffb409c164d0164c69d/href</a></iframe><p>First and foremost, LaTeX is known for its high-quality typesetting capabilities. It is particularly useful for writing mathematical and scientific documents, as it includes many symbols and notations commonly used in those fields.</p><p>LaTeX also allows for the easy creation of complex documents, such as research papers, that include a variety of elements, such as tables, figures, and citations.</p><p>Another benefit of using LaTeX is that it is open-source and platform-independent, which means that it can be used on a variety of different computers and operating systems. This also means that it is free to use, so there is no need to purchase expensive software or licenses.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFzWIL3-yir8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFzWIL3-yir8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFzWIL3-yir8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7c1d77c8a0d4adf18ffbd5119f387626/href">https://medium.com/media/7c1d77c8a0d4adf18ffbd5119f387626/href</a></iframe><p>Additionally, LaTeX is designed to make it easy for users to collaborate on documents with others. It supports version control, which allows multiple people to work on the same document at the same time without overwriting each other’s changes. It also has a wide range of built-in commands for formatting and organizing documents, which makes it easy to maintain consistency across multiple pages and sections.</p><p>Finally, learning LaTeX can be beneficial for your professional development. Many journals and conferences require that papers be submitted in LaTeX format, and many academic departments and research groups use LaTeX to write proposals and reports. Understanding how to use LaTeX can help you become a more efficient and effective researcher and writer, and it can also help you build better-formatted and more presentable documents.</p><h3>Conclusion</h3><p>In summary, if you want to create high-quality and professional-looking documents, especially when it comes to scientific or technical content LaTeX is the tool you want to use, it’s open-source, free, and platform-independent, it’s easy to collaborate, and it’s widely used in academic and professional settings.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fg0YdIs4oJm8&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dg0YdIs4oJm8&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2Fg0YdIs4oJm8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d42230a4476264b49bd622a5715bc252/href">https://medium.com/media/d42230a4476264b49bd622a5715bc252/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb0b561ffa61" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to compile a LaTeX document inside Visual Studio Code — Windows]]></title>
            <link>https://medium.com/@federicotartarini/how-to-compile-a-latex-document-inside-visual-studio-code-windows-c09da62109d7?source=rss-5cb59b292dd3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c09da62109d7</guid>
            <category><![CDATA[latex]]></category>
            <category><![CDATA[vscode-extension]]></category>
            <category><![CDATA[latex-tutorial]]></category>
            <category><![CDATA[latex-workshop]]></category>
            <dc:creator><![CDATA[Federico Tartarini]]></dc:creator>
            <pubDate>Mon, 27 Jun 2022 04:22:35 GMT</pubDate>
            <atom:updated>2022-06-27T04:32:32.572Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to compile a LaTeX document inside Visual Studio Code — Windows</h3><p>Visual Studio Code (VS Code) is one of the most widely used code editors worldwide. It is free and open-source and it is available for Linux, Mac OS, and Windows.</p><p>In this article, I will teach you how to compile a LaTeX document within VS Code using the LaTeX Workshop extension.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fGD9I5qOOVjUe9rLoklsLw.png" /></figure><p>If you prefer to watch a video rather than read this article, please check out my video tutorial.</p><p><a href="https://youtu.be/4lyHIQl4VM8">https://youtu.be/4lyHIQl4VM8</a></p><h3><strong>Step 1 — Install VS Code</strong></h3><p>You can download VS Code for free from their<a href="https://code.visualstudio.com/"> official website</a>. After downloading the installer, click on the .exe file and install it.</p><h3>Step 2 — Install a LaTeX compiler</h3><p>To compile your LaTeX document you need to have a LaTeX compiler installed on your computer. If you do not have one you can download MikTeX from their <a href="https://miktex.org/download">official website</a>. I like to use MikTeX since it is free, open-source, works well, and it does not take much hard disk space.</p><h3>Step 3 — Install Strawberry PERL</h3><p>Strawberry PERL is free and can be installed from <a href="https://strawberryperl.com/">this website</a>. PERL is needed to run the script that automatically re-compiles the LaTeX document for you.</p><h3>Step 4 — Create a LaTeX project locally</h3><p>On your PC, navigate to the Desktop (or in any other directory) and create a folder called latex example. Inside create a file called main.tex and add to it the following code:</p><pre>% Preamble<br>\documentclass[11pt]{article}<br><br>% Packages<br>\usepackage{amsmath}<br><br>% Document<br>\begin{document}</pre><pre>Ciao</pre><pre>\end{document}</pre><h3>Step 5 — Open project inside VS Code</h3><p>Open VS Code and click on:</p><ol><li>File (top left corner)</li><li>Open folder …</li><li>Select the folder you just created on the Desktop.</li></ol><p>Using the file explorer inside VS Code, double click on the main.texfile. This will open the LaTeX file inside the editor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*B-T7R2fLsuwnqxUUkm9HYg.png" /></figure><p>Finally, click on the extension button, highlighted in red in the image below, and search for LaTeX Workshop. Click on the install button. Please wait until it is installed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*1eSCXCeucTmIqD0D2hCApg.png" /></figure><h3>Step 6 — Build LaTeX inside VS Code</h3><p>You can now click on the green arrow — in the top center of VS Code — (highlighted in red in the image below) and VS Code will compile the document for you. VS Code will update the PDF each time you change and save the content of the main.texfile.</p><p>Double click on the file called main.pdf that has been created in the same folder where you have added the main.tex file to see the output PDF file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A3z5WRpuGJ-94ZyFvLIvYQ.png" /></figure><h3>Step 7 — Learn more about LaTeX</h3><p>If you want to learn more about LaTeX do not forget to check my LaTeX playlist.</p><p><a href="https://www.youtube.com/playlist?list=PLY91jl6VVD7wnyOlAgPRe-i9ov4_ZqHV8">https://www.youtube.com/playlist?list=PLY91jl6VVD7wnyOlAgPRe-i9ov4_ZqHV8</a></p><p>I really hope you found this guide informative and useful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fx8caLnSfeYJrQG0zXTGFg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c09da62109d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can electric fans cool you down during heatwaves?]]></title>
            <link>https://medium.com/@federicotartarini/can-electric-fans-cool-you-down-during-heatwaves-768376bd3e7e?source=rss-5cb59b292dd3------2</link>
            <guid isPermaLink="false">https://medium.com/p/768376bd3e7e</guid>
            <category><![CDATA[sustainability]]></category>
            <category><![CDATA[global-warming]]></category>
            <category><![CDATA[electric-fan]]></category>
            <category><![CDATA[world-health-organization]]></category>
            <category><![CDATA[heat-wave]]></category>
            <dc:creator><![CDATA[Federico Tartarini]]></dc:creator>
            <pubDate>Fri, 24 Jun 2022 08:07:14 GMT</pubDate>
            <atom:updated>2022-06-24T08:07:14.036Z</atom:updated>
            <content:encoded><![CDATA[<p>Finding affordable and effective ways to cool people has become a primary focus as cities around the world experience record-breaking temperatures. Heatwaves are one of the most severe natural disasters, having claimed the lives of almost 166 000 people between 1998 and 2017, and their frequency and intensity are increasing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g88uSnrrD6ZmMUJkYPWYlQ.png" /><figcaption>Heatwaves are a natural disaster which is affecting the whole world</figcaption></figure><p>Air conditioning is an effective solution, but not everyone can afford it and many electrical grids cannot provide sufficient power during the summer. Moreover, air conditioning use exacerbates global greenhouse gas emissions.</p><p>Electric fans are a cost-effective and energy-efficient way to keep people cool. However, many national and international health guidelines conservatively restrict their use to when air temperatures are lower than skin temperature, which is around 35°C (95°F).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7f8Fq8y-aUtOzaTn596YzA.jpeg" /></figure><p><a href="https://www.sciencedirect.com/science/article/pii/S0360132321008325">In a study </a>published in January 2022 in <em>Building and Environment</em> we used an human heat balance model to identify under which environmental (e.g., temperature, relative humidity, airspeed) and personal (activity, clothing) conditions the use of fans is beneficial to cool healthy adults.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*EnVIh_Z9A8fm8KfAU6OwFQ.png" /></figure><p>We demonstrated that current guidelines are too restrictive. Even if the indoor dry-bulb temperature surpasses 35°C (95°F), electric fans can still be used safely because they considerably enhance the amount of sweat that evaporates from the skin. For relative humidity values above 22%, using higher air velocity (0.8 m/s (~160 fpm)) increases the critical operative temperature at which heat strain is projected to develop by an average of 1.4°C (~2.5°F). We also looked at the most extreme weather occurrences from 1990 to 2014 in the world’s 115 most populous cities and found that using fans would have been beneficial in 93 of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*mhaBtwFMvw8oDY5S" /></figure><p>Currently, many people may not be taking advantage of this cooling strategy because public health organizations advise against using fans during heat waves. Public health officials should revise their recommendations for when people should use fans.</p><p>Given the environmental impact of high-energy cooling solutions such as air conditioning, we believe that developing less taxing options such as fans or dousing with cool water is vital for the planet.</p><p>To help people worldwide we created a free, open-source, and user-friendly online tool to assist researchers, designers, and policymakers in better understanding the conditions under which electric fans can be used to cool people safely. You can try our tool using <a href="https://comfort.cbe.berkeley.edu/">this link</a>. We summarized the work in this <a href="https://www.linkedin.com/pulse/can-electric-fans-safely-used-cool-people-during-stefano-schiavon/">LinkedIn post</a>.</p><p><strong>Authors: </strong>Dr. <a href="https://www.linkedin.com/in/federico-tartarini/">Federico Tartarini</a>, SinBerBEST; Prof. <a href="https://www.linkedin.com/in/stefanoschiavon/">Stefano Schiavon</a>, UC Berkeley; Prof. <a href="https://www.sydney.edu.au/medicine-health/about/our-people/academic-staff/ollie-jay.html">Ollie Jay</a>, The University of Sydney; Edward Arens, UC Berkeley; and, Charlie Huizenga, UC Berkeley.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=768376bd3e7e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>