Repository for the international webinar 2021, prepared with Jade, ITM, and Óbuda universities.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
2.1 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. \documentclass{article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage{lipsum}
  4. \usepackage{soul}
  5. \usepackage[htt]{hyphenat}
  6. \newcommand{\mytext}{Here is my own dummy text command to fill-up space over the document. The text has no sense and you can continue reading, nevertheless, you will not find useful information. Please stop reading.}
  7. \title{Font styles and decalrations}
  8. \author{Gerardo Marx Chávez-Campos}
  9. \date{February 2021}
  10. \begin{document}
  11. \maketitle
  12. \section{Font Changing Text-Block Commands}
  13. \textrm{Roman text}\newline
  14. \textsf{San Serif text}\newline
  15. \textbf{Bold}\\
  16. \texttt{Type Writter}\\
  17. \textit{Italic text}\\
  18. \textup{Up and Right}\\
  19. \textsc{Small Capitals}\\
  20. \underline{Underlined text}\\
  21. \section{Font changing declarations}
  22. \subsection{Environments}
  23. \begin{sffamily}
  24. The text here will change.
  25. \end{sffamily}
  26. \subsection{Localised declarations}
  27. {\sffamily\slshape Localised declarations: \lipsum[1]}. Here declarations do not affect.
  28. \itshape Declarations that later are reset: \lipsum[1] \normalfont. Normal text here again.
  29. Mixing text-block and modal commands: \textsc{\rmfamily \lipsum[3]}
  30. \textbf{\textit{Nested declarations: \lipsum[6]}}
  31. \section{Font Size}
  32. \begin{tiny}
  33. Some tiny text.
  34. \end{tiny}
  35. \scriptsize{\lipsum[5]}
  36. \footnotesize{\lipsum[10]}
  37. \small{\lipsum[99]}
  38. \normalsize{\lipsum[12]}
  39. \large{\mytext}
  40. \Large{\mytext}
  41. \LARGE{\mytext}
  42. \huge{\mytext}
  43. \Huge{\mytext} \normalsize
  44. \section{Day 1 issues}
  45. Underlined long texts using \texttt{soul package}:
  46. \ul{Here is my own dummy text command to fill-up space over the document. The text has no sense and you can continue reading, nevertheless, you will not find useful information. Please stop reading.}
  47. \caps{Here is my own dummy text command to fill-up space over the document. The text has no sense and you can continue reading, nevertheless, you will not find useful information. Please stop reading.}
  48. \texttt{Here is my own dummy text command to fill-up space over the document. The text has no sense and you can continue reading, nevertheless, you will not find useful information. Please stop reading.}
  49. \end{document}