Phoebe61G
  • NEW!
    NEW!  Connect Ideas Across Notes
    Save time and share insights. With Paragraph Citation, you can quote others’ work with source info built in. If someone cites your note, you’ll see a card showing where it’s used—bringing notes closer together.
    Got it
      • Create new note
      • Create a note from template
        • Sharing URL Link copied
        • /edit
        • View mode
          • Edit mode
          • View mode
          • Book mode
          • Slide mode
          Edit mode View mode Book mode Slide mode
        • Customize slides
        • Note Permission
        • Read
          • Only me
          • Signed-in users
          • Everyone
          Only me Signed-in users Everyone
        • Write
          • Only me
          • Signed-in users
          • Everyone
          Only me Signed-in users Everyone
        • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invite by email
        Invitee

        This note has no invitees

      • Publish Note

        Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

        Your note will be visible on your profile and discoverable by anyone.
        Your note is now live.
        This note is visible on your profile and discoverable online.
        Everyone on the web can find and read all notes of this public team.

        Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Explore these features while you wait
        Complete general settings
        Bookmark and like published notes
        Write a few more notes
        Complete general settings
        Write a few more notes
        See published notes
        Unpublish note
        Please check the box to agree to the Community Guidelines.
        View profile
      • Commenting
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Suggest edit
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
      • Emoji Reply
      • Enable
      • Versions and GitHub Sync
      • Note settings
      • Note Insights New
      • Engagement control
      • Make a copy
      • Transfer ownership
      • Delete this note
      • Save as template
      • Insert from template
      • Import from
        • Dropbox
        • Google Drive
        • Gist
        • Clipboard
      • Export to
        • Dropbox
        • Google Drive
        • Gist
      • Download
        • Markdown
        • HTML
        • Raw HTML
    Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
    Create Create new note Create a note from template
    Menu
    Options
    Engagement control Make a copy Transfer ownership Delete this note
    Import from
    Dropbox Google Drive Gist Clipboard
    Export to
    Dropbox Google Drive Gist
    Download
    Markdown HTML Raw HTML
    Back
    Sharing URL Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Customize slides
    Note Permission
    Read
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    Write
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Leslie Lamport & LaTeX [TOC] - [PPT link](https://docs.google.com/presentation/d/1TSXMjXs2PE6j0nDCUp9wBY3sUmduPlgMrvnmYbiQrU8/edit#slide=id.g10b59499c54_0_13469) Good morning, today the topic of my presentation is Leslie Lamport and LaTeX. First, I am going to introduce Leslie Lamport about his career, research, and his contribution to academics. And then, I will arrange a simple guide on LaTeX. Hope after my presentation, it could arouse your interest in this useful tool. ## [Leslie Lamport](http://lamport.org/) - American computer scientist ### Education - B.S. in mathematics from Massachusetts Institute of Technology(MIT). - M.A. and Ph.D. degrees in mathematics from Brandeis University. > Bachelor's degree > Master's degree > Doctor of Philosophy ### Career Life And about his career life, here I only mention two institutions that I think are well-known to you. - [SRI](https://www.sri.com/) - SRI International (SRI) is an American nonprofit **scientific research institute** and organization headquartered in California. - He worked there from 1977 to 1985. - [MSR](https://www.microsoft.com/en-us/research/?from=http%3A%2F%2Fresearch.microsoft.com%2F) - **Microsoft Research** (MSR) is the research subsidiary of Microsoft. - He has been working there since 2001 until now. Lamport has his personal website. If you are interested in him, you can click in and have a look. > His location --> If you search this coordinates on Google Map, you will found that here is Silicon Valley. Silicon Valley is a region in Northern California that serves as a global center for high technology and innovation. ### Research Lamport is best known for his seminal work in distributed computing. :::info #### Distributed computing - A field of computer science that studies **distributed systems**. - A distributed system is a system whose components are located on different networked computers, which communicate and coordinate their actions by passing messages to one another from any system. - **The components interact with one another in order to achieve a common goal.** - It deals with a central challenge that, when one of the components of system fails, it doesn't imply the entire system fails. - Three significant characteristics of distributed systems are: - **Concurrency of components** - **Lack of a global clock** - **Independent failure of components** ::: But today I won't focus on this topic, so if you want to learn more about distributed systems, you can try to read some related articles or papers. - Lamport is also the initial developer of the document preparation system [LaTeX](https://en.wikipedia.org/wiki/LaTeX), and the author of its first manual - Lamport is the winner of the 2013 Turing Award - Imposing clear, well-defined coherence on the seemingly chaotic behavior of distributed computing systems - He developed formal modeling and verification protocols that improve the quality of real distributed systems. - He also won Dijkstra Prize in 2000, 2005, 2014. - [Dijkstra Prize](https://en.wikipedia.org/wiki/Dijkstra_Prize) - [Self-stabilization](https://en.wikipedia.org/wiki/Self-stabilization) ## LaTeX ### History - TeX is a typesetting system which was designed and written by Donald Knuth and first released in 1978. - When Donald Knuth began issuing the early releases of TeX, Lamport — due to his personal need of writing a book — also began working on a set of macros based on it. This set of macros would later become known as LaTeX. :::info - **Macro** - A macro in computer science is a rule or pattern that specifies how a certain input should be mapped to a replacement output. - Macros are used to make a sequence of computing instructions available to the programmer as a single program statement, making the programming task less tedious and less error-prone. ::: - What is LaTeX? - A tool used to create professional-looking documents. - Who uses LaTeX? - Anyone who only wants to focus on writing the contents of the document, doesn't want to spend too much time on formatting. - When to use LaTeX? - Writing papers, books, or any kind of document. - Why LaTeX is needed? - It separates the content of the document from the style. - Instead of spacing out text on a page to control formatting, as with Microsoft Word, users can enter plaintext and let LATEX take care of the rest. - How to use LaTeX? - Let’s start with the hands-on today! ### DIY There are many kinds of LaTeX editors, some are free to use, some are not. And some have online interfaces, some are needed to download software on your own computer. There are many articles talking about comparison of LaTeX editors. But today we are not going to have a closer look at those comparisons. I plan to let all of you do hands-on LaTeX on Overleaf. It's an online editor, so you don't need to install anything on your laptops. - LaTeX Editor - [Overleaf](https://en.wikipedia.org/wiki/Overleaf) is a collaborative cloud-based LaTeX editor used for writing, editing and publishing scientific documents. - [Texmaker](https://en.wikipedia.org/wiki/Texmaker) - [My test file](https://www.overleaf.com/2845394626wvcrbyxntsnx) Please click the link and go to Overleaf Official website, in order to use this editor you have to register with your email account. Once you log in, it will ask you to create a new project. Click the blank project, and name your project. #### Classes & packages - All commands you type in the LaTeX file should start with a backslash. And you will see the color of the font is blue, the blue color will make you easily distinguish the commands from the content of your document. - Before we learn some basic commands of LaTeX, here you need to clarify two things, Classes & packages. - At the beginning of our LaTeX file, you need to type a command called documentclass. ```TeX= \documentclass[]{} ``` - Classes - Define the type of document you're going to edit. - If you take a look on the LaTeX Manual, there is a list of classes you can choose to use for your document. - Inside **curly brackets** is for the class you're going to use. - In this case, the class is article, the simplest and most common LATEX class people frequently use. Other types of documents you may be working on may require different classes. Just check the list on the manual if you need. - Inside **square brackets** is for optional arguments, we can leave them blank. If you want to initialize some setting like font size(the default is 10pt), you can type in square brackets. ```TeX= \usepackage[]{} ``` - Package - Because LaTeX official does not provide rich choices of classes. Sometimes we need to include other declaration of document for special usage. - You can simply think of it as the library you write yourself to include while you are programming in C. - It also have **square brackets** for optional arguments. - Options like character encoding format(utf8). #### Basic ``` \title{} \author{} \date{} ``` Here are some frequently used commands for the information you want to show up in your document. ```TeX= \begin{document} \end{document} ``` You need to declare before you actually begin your document. ![](https://i.imgur.com/dLp2ffq.png) Usually, \section is the top-level document command in most documents. However, in reports or books, and similar long documents, this would be \chapter or \part. #### Formula - a pair of dollar signs #### Chinese Text - [Chinese - Overleaf](https://www.overleaf.com/learn/latex/Chinese) ```TeX= \documentclass{ctexart} ``` #### Figure - [Inserting Images - Overleaf](https://www.overleaf.com/learn/latex/Inserting_Images) #### Table - [Tables - Overleaf](https://www.overleaf.com/learn/latex/Tables) #### Citation - [Bibliography management with bibtex](https://www.overleaf.com/learn/latex/Bibliography_management_with_bibtex) ## Reference - [Leslie Lamport's Home Page](http://lamport.org/) - [Wikipedia - Leslie Lamport](https://en.wikipedia.org/wiki/Leslie_Lamport) - [LaTeX website](https://www.latex-project.org/) - [LaTeX Doc list](https://www.latex-project.org/help/documentation/#general-documentation) - [Overleaf - Learn LaTeX in 30 minutes](https://www.overleaf.com/learn/latex/Learn_LaTeX_in_30_minutes) - [[YouTube] LaTeX Tutorial 1 - Creating a LaTeX Document](https://www.youtube.com/watch?v=0ivLZh9xK1Q&ab_channel=MichelleKrummel) - [Wikiooks - LaTeX Basic](https://en.wikibooks.org/wiki/LaTeX) - [What are LaTeX classes and packages?](https://texfaq.org/FAQ-clsvpkg)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Google Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully