Coder Social home page Coder Social logo

luong-komorebi / begin-latex-in-minutes Goto Github PK

View Code? Open in Web Editor NEW
3.3K 56.0 271.0 309 KB

📜 Brief Intro to LaTeX for beginners that helps you use LaTeX with ease.

Home Page: https://luong-komorebi.github.io/Begin-Latex-in-minutes/

latex-editor latex simple guide fast latex-in-minutes beginners basic

begin-latex-in-minutes's People

Contributors

antoineprudhomme5 avatar aokomorowski avatar cagmz avatar charlesthierry avatar fwrdd avatar hatfolk avatar i-ky avatar inkydragon avatar jrobsonjr avatar junojunho avatar kwpolska avatar kzt206 avatar lizardwithhat avatar luong-komorebi avatar pandahikaru avatar pianobin avatar sai628 avatar skiman6010 avatar smythp avatar sunzz528 avatar vermiculus avatar voluong avatar willmeyers avatar xavrb avatar yanglbme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

begin-latex-in-minutes's Issues

On LaTeX compilers and Unicode

Some languages won't work right out of the box. You will need to include some packages for the font to render. Also, you will learn about "packages" later. For example:

\documentclass[a4paper]{article}

\usepackage[T5]{fontenc}
\usepackage[utf8]{inputenc}

\begin{document}

Xin chào thế giới. This is Hellow World in Vietnamese.

\end{document}

It looks like you’re still living in the 90s where Unicode support was neglected. You see, two projects have solved this problem: XeTeX and LuaTeX. Those are two compilers with Unicode support.

\documentclass[a4paper]{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\setmainfont[]{Baskerville} % any TTF or OTF fonts from my system will do
\begin{document}
Xin chào thế giới. This is Hello World in Vietnamese.

The quick brown fox jumps over the lazy dog.

Pchnąć w tę łódź jeża lub ośm skrzyń fig.

Quiere la boca exhausta vid, kiwi, piña y fugaz jamón.

Vogt Nyx: »Büß du ja zwölf Qirsch, Kämpe!«

Любя, съешь щипцы, — вздохнёт мэр, — кайф жгуч.
\end{document}

International TeX with Baskerville

If I don’t set any font (remove line with comment), the font will default to Latin Modern, which is a reworking of Computer Modern with support for many Latin diacritic characters. The Russian part fails.

International-ish TeX with Latin Modern

In TeXstudio (and probably TeXMaker): change Build → Default Compiler in the settings. I’m using LuaLaTeX.

Identical language selection block for all translations

Currently the part that talks about available translations looks very different across Translation:* files. Moreover, some of them are outdated. And finally, it does not make much sense to say that there is Spanish translation available in French. :)

Would be nice to make language selection blocks identical. And every language should be written "in itself". I think it could look like this.

If you like the idea I can take care of pull request.

We need a formal review process

If this repository is going to be a thing, we should impose some sort of review process to vet incoming information.

A large problem the LaTeX community has been facing has been the rampant misinformation spread by outdated oral tradition and simple misunderstandings. (Such discussions are available in the TeX.SX chat archives, the meta site, and of course LaTeX-L.) At present, this repository is not helping the situation, but I can hold out hope that it could become a very valuable resource with a bit of work and a lot of discipline.

I propose that all incoming pull requests be reviewed for technical accuracy and current best practice (as far as a repository like this can hope to manage; 'best practice' often relies on the specific application). Hopefully this can curb issues like #18 cropping up again. Such reviews should be completed before a pull request is accepted.

PDF Viewer on Windows matter

Most PDF viewers on Windows, especially Acrobat readers block writing to the pdf when it is opened. This leads to an error if you compile again.

There are some viewers which don't block and also update if the pdf was updatet, e. g. Sumatra PDF

What should we do about compile steps?

Many tools require special build steps (eg. #12 or anything that uses bibliographies), but there is no mention of this in the document. In my own examples, I use cereda/arara to explicitly define how to compile each example in the repository. I'd suggest using that since the compilation steps can be inlined with the examples themselves.

Translating of "Hello, I love you all." is wrong

こんにちは、私はあなたのすべてを愛しています。
Hello, I love you all.


If you mean "you all" is like "you guys", you should translate to "こんにちは、私はあなた達みんなを愛しています。".
"あなたのすべて" refers to "everything you have", so you should use "あなた達みんな" as "you all".

More committers are needed

I think the author may not handle all the issues and PRs, so @Voluong needs 2-3 mans to manage this project because he is a student as we are.

Invalid file name in windows

In windows, filename cannot contain colon (:).

Short and long file names must not contain the following characters:

slash (/) or (\)
question mark (?)
vertical bar (|)
right angle bracket (>)
left angle bracket (<)
colon (:)

When I use github desktop for windows or git in cmd or powershell, I only got a readme.md and a 0 KB Translation file.

image

and If I use git in wsl, all the : in filename are replace to automatically.

image

Split into multiple files to avoid complicated merges

We should consider splitting this document into multiple files to avoid complicated merges and allow for a clearer structure. I'd recommend a file structure like this:

/README.md                                ; actual summary of the project; annotated TOC
/guide/01-introduction-and-goals/README.md           ; introduction and goals
/guide/01-introduction-and-goals/image-for-ch1.png   ; some picture
/guide/02-your-first-document/REAMDE.md              ; first doc
...

Before I actually make the PR though, I'd like to nail down what the TOC should look like. This is what we have right now:

  • What is LaTeX?
  • Why use LaTeX?
  • Set up for LaTeX
  • First LaTeX file
  • A deeper look
  • Multilingual usage
  • Paragraph and section
  • Making a table of contents
  • Footnotes
  • What is a package?
  • Table
  • Adding images
  • Insert code into LaTeX
  • Additional Tools

Here's what I'd propose:

  • Preface and Installation

    Encompasses what/why, setup, and 'hello, world'. Gives a link to the section on multilingual support. Uses TeXworks as a 'click play' editor that's already installed with all major distributions.

  • Introduction

    Explains 'hello, world' example and introduces the concept of packages via another example. Introduces build tools like Arara that will be used in the rest of the document's examples (#22). Introduces other editors like Texmaker, TeXShop, Kile, Emacs, and Vim. Drives home the 'LaTeX is a markup language' point -- it's editor-agnostic.

  • Organizing Your Document

    Sectioning, tables of contents, and cross-referencing. Footnotes, images, tables, and LOFs/LOTs.

  • More sections as time goes on…

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.