What is the common method to write a document as a beginner?
Description
Using online tex compiler: https://overleaf.com
Resources
- https://www.youtube.com - https://www.youtube.com/watch?v=0ivLZh9xK1Q&list=PL1D4EAB31D3EBC449&index=1
What is the best practice in naming tex files?
Description
Do not use spaces in naming of tex files. Use hyphens or dots instead.
Resources
- https://www.youtube.com - https://www.youtube.com/watch?v=0ivLZh9xK1Q&list=PL1D4EAB31D3EBC449&index=1
How many document classes are available?
Description
- article
- exam
Resources
- https://www.youtube.com - https://www.youtube.com/watch?v=0ivLZh9xK1Q&list=PL1D4EAB31D3EBC449&index=1
Create an empty article document?
Description
Documents should have at least one line of text to compile.
\documentclass{article}
\begin{document} Sample text. \end{document}
--- **Resources** - https://www.youtube.com - https://www.youtube.com/watch?v=0ivLZh9xK1Q&list=PL1D4EAB31D3EBC449&index=1 - https://www.youtube.com - https://www.youtube.com/watch?v=cnEXgHFOxMU&list=PLLybgCU6QCGU2Hh8R3oCwZnVZry-ICY5R&index=2 --- **References** ---
Set default font for document?
Description
\documentclass[11pt]{article} \begin{document} Sample Text \end{document}
Resources
- https://www.youtube.com - https://www.youtube.com/watch?v=0ivLZh9xK1Q&list=PL1D4EAB31D3EBC449&index=1
Make a title in document?
Description
\documentclass{article} \title{Sample Document} \author{Brian Salehi} \date{\today} \begin{document} \maketitle \end{document}
Resources
- https://www.youtube.com - https://www.youtube.com/watch?v=0ivLZh9xK1Q&list=PL1D4EAB31D3EBC449&index=1
Which packages come with latex setup?
What are the common necessary packages to be used?
What features does the blindtext package present?
Description
\documentclass{article} \usepackage(blindtext) \begin{document} \blindtext \end{document}
Resources
- https://www.youtube.com - https://www.youtube.com/watch?v=cnEXgHFOxMU&list=PLLybgCU6QCGU2Hh8R3oCwZnVZry-ICY5R&index=2
What package should be used when UTF8 characters are written in text?
Description
\documentclass{article} \usepackage[utf8]{inputenc} \begin{document} Groß Text. \end{document}
Resources
- https://www.youtube.com - https://www.youtube.com/watch?v=cnEXgHFOxMU&list=PLLybgCU6QCGU2Hh8R3oCwZnVZry-ICY5R&index=2
What is best method to separate consequent lines in tex document?
Description
Newline
\\
can be at the end of the line we want to break.Sample text.\\ Next line of text.
Resources
- https://www.youtube.com - https://www.youtube.com/watch?v=0ivLZh9xK1Q&list=PL1D4EAB31D3EBC449&index=1
Bold a text?
Description
\textbf{Bold text}
Resources
- https://latex-tutorial.com - https: - https://latex-tutorial.com - https://latex-tutorial.com/underline-latex
Italic a text?
Description
\textit{Italic text}
Resources
- https://latex-tutorial.com - https: - https://latex-tutorial.com - https://latex-tutorial.com/underline-latex
Underline a text?
Description
\underline{Underline text}
Resources
- https://latex-tutorial.com - https: - https://latex-tutorial.com - https://latex-tutorial.com/underline-latex
Underline a text with double line?
Description
usepackage(ulem) \underline{\underline{Double underline text}} \uuline{Double underline text}}
Resources
- https://latex-tutorial.com - https: - https://latex-tutorial.com - https://latex-tutorial.com/underline-latex
Underline a text with wavy line?
Description
usepackage(ulem) \uwave{Wavy Underline text}
Resources
- https://latex-tutorial.com - https: - https://latex-tutorial.com - https://latex-tutorial.com/underline-latex
Strikethrough a text?
Description
usepackage(ulem) \sout{Strikethrough text}
Resources
- https://latex-tutorial.com - https: - https://latex-tutorial.com - https://latex-tutorial.com/underline-latex
Slash through a text?
Description
usepackage(ulem) \xout{Slashed out text}
Resources
- https://latex-tutorial.com - https: - https://latex-tutorial.com - https://latex-tutorial.com/underline-latex
Underline text with dashed line?
Description
usepackage(ulem) \dashuline{Dash underline text}
Resources
- https://latex-tutorial.com - https: - https://latex-tutorial.com - https://latex-tutorial.com/underline-latex
Underline text with dotted line?
Description
usepackage(ulem) \dotuline{Dotted underline text}
Resources
- https://latex-tutorial.com - https: - https://latex-tutorial.com - https://latex-tutorial.com/underline-latex
Color text?
Description
\documentclass[11pt]{article} \usepackage{xcolor}
\begin{document} \color{red}Colored Text \end{document}
--- **Resources** - https://www.youtube.com - https://www.youtube.com/watch?v=0ivLZh9xK1Q&list=PL1D4EAB31D3EBC449&index=1 --- **References** ---
What symbol is used to create an inline math block?
Description
A rectangle has side lengths of $(x+1)$ and $(x+3)$. The equation $A(x) = x^2 + 4x + 3$ gives the area of the rectangle.
Resources
- https://www.youtube.com - https://www.youtube.com/watch?v=0ivLZh9xK1Q&list=PL1D4EAB31D3EBC449&index=1
Protect a piece of inline math block from breaking into two lines?
Description
Surround the math block with curly braces
${ equation }$
to protect it from breakage.A rectangle has side lengths of $(x+1)$ and $(x+3)$. The equation ${A(x) = x^2 + 4x + 3}$ gives the area of the rectangle.
Resources
- https://www.youtube.com - https://www.youtube.com/watch?v=0ivLZh9xK1Q&list=PL1D4EAB31D3EBC449&index=1
Write a math equation to be shown in a new separate line?
Description
The equation $${A(x) = x^2 + 4x + 3}$$ gives the area of the rectangle.
Resources
- https://www.youtube.com - https://www.youtube.com/watch?v=0ivLZh9xK1Q&list=PL1D4EAB31D3EBC449&index=1