{"id":619,"date":"2017-09-02T13:32:47","date_gmt":"2017-09-02T12:32:47","guid":{"rendered":"http:\/\/chewett.co.uk\/blog\/?p=619"},"modified":"2019-11-30T12:21:18","modified_gmt":"2019-11-30T12:21:18","slug":"installing-latex-texmaker-windows","status":"publish","type":"post","link":"https:\/\/chewett.co.uk\/blog\/619\/installing-latex-texmaker-windows\/","title":{"rendered":"Installing LaTeX and TeXMaker on Windows"},"content":{"rendered":"\n<p>LaTeX is a document writing system allows you to focus on the content of the letter or paper. In this post I describe how to set up a LaTeX typesetting program and TeX editor on Windows.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Why install LaTeX<\/h2>\n\n\n\n<p>LaTeX is primarily used in the academical fields where many scientific papers are written using its typesetting features.<\/p>\n\n\n\n<p>The primary difference with LaTeX compared to something like Word is that&nbsp;you first type up the document with your figures and styling rules. Once you have finished the content and defining the styling rules you compile your&nbsp;document. This compilation process produces the finished document. This is unlike word which is constantly reparsing your document to show you the output immediately.<\/p>\n\n\n\n<p>There are a number of advantages of compiling the document once the content is written instead of constantly doing it. One is that it allows optimising the output based on the entire document. This came from the fact that TeX was originally used to typeset books and was designed to format and improve the placement of text and figures. Since TeX handles the formatting based on the entire flow of the document can properly flow the content across the pages.&nbsp;The compile process may take several passes to lay the content out in the best way according to typographical conventions.<\/p>\n\n\n\n<p>This compilation stage removes the&nbsp;main problems with WYSIWYG (what you see is what you get) editors. This is that they continually reformat the document as you type. Since it has to run once at the end it can spend a lot longer flowing your page (normally a couple of seconds for small documents). However, this doesn&#8217;t stop you from compiling your document multiple times throughout writing it as this time is still small.<\/p>\n\n\n\n<p>Another advantage is that all styling and layout is performed by LaTeX. This means that you define how you want it to style the document and LaTeX ensures he document styling is consistent. LaTeX provides limited styling but the primary ethos of LaTeX is to let it do as much of the work typesetting your document as possible. You merely provide the content and the rules about how to style the document and it follows them.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing LaTeX on Windows with MiKTeX<\/h2>\n\n\n\n<p>To install and run LaTeX you need a LaTeX distribution. This includes LaTeX and all the styling and typographical information needed to compile LaTeX files.<\/p>\n\n\n\n<p>My recommended LaTeX distribution for Windows is MiKTeX.<\/p>\n\n\n\n<p>I found this really easy to install on windows as you just need to install <a href=\"https:\/\/miktex.org\/download\">download it from their website<\/a>&nbsp;then run the installer. During this process, it downloads all the latest styles and programs needed to compile most LaTeX files.<\/p>\n\n\n\n<p>One of the advantages of using MiKTeX is that if it detects you are trying to use a style you haven&#8217;t downloaded it can automatically download it. This option is available during the installer and I normally ask it to prompt me before fetching new styles. This feature can mean that even if you are using some non-standard packages as long as they are available in the general LaTeX distribution it should detect this and find them for you.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing a UI to use with LaTeX<\/h2>\n\n\n\n<p>While it isn&#8217;t required to install a UI to create your LaTeX documents I find it easiest to do so. My current personal favourite is <a href=\"http:\/\/www.xm1math.net\/texmaker\/\">Texmaker<\/a>.<\/p>\n\n\n\n<p>One of the main reasons I like using this editor is the ease of creating PDF files. Texmaker has a &#8220;Build and View&#8221; feature which will compile the LaTeX file and open it in a PDF viewer. This is really helpful when typing up formulae in LaTeX (one of the areas LaTeX excels). This can allow for quick protypes and changes to see how it looks.<\/p>\n\n\n\n<p>In addition, Texmaker provides code highlighting and simple templates to help get you started with writing LaTeX. This is useful to start a document from a template and then quickly start adding your content. Since the styling is done by defining global styles you can go back later and define the style.<\/p>\n\n\n\n<p>If you are looking to start working with LaTeX I highly recommend MiKTeX and Texmaker as an introduction. If you have any other suggestions or wish to ask questions please feel free to use the comments section below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LaTeX is a document writing system allows you to focus on the content of the letter or paper. In this post I describe how to set up a LaTeX typesetting program and TeX editor on Windows.<\/p>\n","protected":false},"author":1,"featured_media":625,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5],"tags":[162,163,165,164,29],"class_list":["post-619","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-informational","tag-latex","tag-miktex","tag-tex","tag-texmaker","tag-windows"],"wppr_data":{"cwp_meta_box_check":"No"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/08\/latex_on_windows.jpg?fit=800%2C800&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p2toWX-9Z","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1184,"url":"https:\/\/chewett.co.uk\/blog\/1184\/copying-text-to-the-clipboard-with-javascript\/","url_meta":{"origin":619,"position":0},"title":"Copying text to the clipboard with JavaScript","author":"Chewett","date":"May 26, 2018","format":false,"excerpt":"This post describes how you can copy text to your clipboard with JavaScript. Uses for copying text to the clipboard If you know there is something your user will want to copy giving them an easy way can to do this can be very helpful. This is even more important\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/05\/copying_text_to_clipboard.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/05\/copying_text_to_clipboard.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/05\/copying_text_to_clipboard.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/05\/copying_text_to_clipboard.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":989,"url":"https:\/\/chewett.co.uk\/blog\/989\/introducing-pokemon-go-data-api-pogoapi-net\/","url_meta":{"origin":619,"position":1},"title":"Introducing the Pokemon Go Data API &#8211; pogoapi.net","author":"Chewett","date":"February 3, 2018","format":false,"excerpt":"This post introduces the Pokemon Go API website, PoGoAPI.net and what I plan to do with it. Whats the website? PoGoAPI.net! I started to play around with some data visualization and tools to help play Pokemon Go. However I couldn't find the information I wanted easily. Lists of information is\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/02\/pogo_api_released.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/02\/pogo_api_released.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/02\/pogo_api_released.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/02\/pogo_api_released.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":6,"url":"https:\/\/chewett.co.uk\/blog\/6\/a-wordpress-site\/","url_meta":{"origin":619,"position":2},"title":"A WordPress Site?","author":"Chewett","date":"April 30, 2012","format":false,"excerpt":"I eventually decided that i would start a blog that would document various things I do, if not for everyone, but myself. Numerous times over the past year I have felt I wanted to write long posts about certain topics that I meet, but haven't had a medium to do\u2026","rel":"","context":"With 1 comment","block_context":{"text":"With 1 comment","link":"https:\/\/chewett.co.uk\/blog\/6\/a-wordpress-site\/#comments"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":519,"url":"https:\/\/chewett.co.uk\/blog\/519\/configuring-teamcity-php-project\/","url_meta":{"origin":619,"position":3},"title":"Configuring TeamCity for a PHP project","author":"Chewett","date":"September 16, 2017","format":false,"excerpt":"This post describes configuring TeamCity for a PHP project using composer. Setting up continuous integration of unit testing from a git repository. Setting up PHP, composer and git The first step to running your PHP project on TeamCity is installing PHP and the appropriate\u00a0libraries. The only requirement for this is\u2026","rel":"","context":"In &quot;Informational&quot;","block_context":{"text":"Informational","link":"https:\/\/chewett.co.uk\/blog\/category\/informational\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/09\/configuring_php_unit_testing_with_teamcity.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/09\/configuring_php_unit_testing_with_teamcity.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/09\/configuring_php_unit_testing_with_teamcity.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/09\/configuring_php_unit_testing_with_teamcity.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2280,"url":"https:\/\/chewett.co.uk\/blog\/2280\/tailing-logs-in-windows-with-baretail\/","url_meta":{"origin":619,"position":4},"title":"Tailing logs in Windows with BareTail","author":"Chewett","date":"July 13, 2019","format":false,"excerpt":"Today I talk about the useful windows tailing tool, BareTail. What requirements do I have from a tailing program When working with large logs that are constantly being written to, I typically want to watch them as they are appended to. This gives the first requirement of a tool to\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/07\/tailing_logs_baretail.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/07\/tailing_logs_baretail.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/07\/tailing_logs_baretail.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/07\/tailing_logs_baretail.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":572,"url":"https:\/\/chewett.co.uk\/blog\/572\/installing-ubuntu-linux-tools-windows\/","url_meta":{"origin":619,"position":5},"title":"Installing Ubuntu Linux tools for Windows","author":"Chewett","date":"August 23, 2017","format":false,"excerpt":"I am a big fan of Linux and today want to share how you can install the Windows Subsystem for Linux (WSL) on Windows 10. This new feature available in Windows 10 lets you install a Linux bash shell and run various linux tools on Windows. Here I describe how\u2026","rel":"","context":"In &quot;Informational&quot;","block_context":{"text":"Informational","link":"https:\/\/chewett.co.uk\/blog\/category\/informational\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/08\/windows_subsystem_for_linx.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/08\/windows_subsystem_for_linx.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/08\/windows_subsystem_for_linx.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/08\/windows_subsystem_for_linx.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=619"}],"version-history":[{"count":7,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/619\/revisions"}],"predecessor-version":[{"id":2373,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/619\/revisions\/2373"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media\/625"}],"wp:attachment":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=619"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=619"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}