Examples — Recent

Examples of powerful LaTeX packages and techniques in use — a great way to learn LaTeX by example. Search or browse below.

Using Thai font in XeLaTeX without uploading fonts in Overleaf | การใช้งานภาษาไทยใน XeLaTeX โดยไม่ต้องอัปโหลดฟอนต์
Using Thai font in XeLaTeX without uploading fonts in Overleaf | การใช้งานภาษาไทยใน XeLaTeX โดยไม่ต้องอัปโหลดฟอนต์
Since version 0.7.0 of fonts-tlwg is published, XeLaTeX users now can specify Thai fonts from those package without having to upload them manually. This creates a better Thai XeLaTeX experience especially on online platforms such as Overleaf.ตั้งแต่ fonts-tlwg ปล่อยเวอร์ชัน 0.7.0 ออกมา ทำให้ผู้ใช้งาน XeLaTeX สามารใช้งานฟอนต์ภาษาไทยโดยไม่จำเป็นต้องอัปโหลดฟอนต์เองอีก ทำให้การใช้งานภาษาไทยใน XeLaTeX ทำได้ง่าย โดยเฉพาะสำหรับโปรแกรมออนไลน์อย่าง Overleaf
Abhabongse Janthong
Bài trắc nghiệm nộp cho thầy
Bài trắc nghiệm nộp cho thầy
Example math quiz/exam in Vietnamese
phamdohai
Bungee_Model
Bungee_Model
Bungee, Spring
Andreas Kelbel
Mehr Flaschenzüge
Mehr Flaschenzüge
Flaschenzug, pulley
Andreas Kelbel
Using PSTricks with pdflatex on Overleaf
Using PSTricks with pdflatex on Overleaf
PSTricks drawings can't be compiled under pdflatex and lualatex (Frequently done errors #5). Instead, compilation with XeLaTeX is preferred if you need to use .jpg/.png/.pdf images in your project. But if you absolutely need to compile with pdflatex, this example demonstrates how to use PStricks with pdflatex using auto-pst-pdf on Overleaf (But you still can't use .jpg/.png/.pdf images within your PSTricks drawings).
LianTze Lim (Overleaf)
An example of Gantt Chart in Overleaf
An example of Gantt Chart in Overleaf
This is a direct copy of the codes in section 2.9 of the pgfgantt package documentation (See page 45) except the color setting. Alone with this one, this examples shows how to make Gantt charts for project planning in LaTeX with the pgfgantt package. They are from the package documentation. The pgfgantt package provides many useful macros for generating the calendar for the Gantt chart for either absolute or relative dates. It also provides macros for grouping and linking tasks, and for full control over the styling of the chart.
Wangyan Li
Chicago Style polyglossia xelatex Hebrew/English
Chicago Style polyglossia xelatex Hebrew/English
Chicago style history paper, bilingual.
Brandon Payne
Drawing Feynman Diagrams in LaTeX
Drawing Feynman Diagrams in LaTeX
The code samples here are taken from the tikz-feynman and feynmf package documentations. Compile with LuaLaTeX to get the most out of tikz-feynman.
Thorsten Ohl, Joshua Ellis, LianTze Lim
Comparación de compansión
Comparación de compansión
Este gráfico presenta las comparaciones de la compansión de una señal telefónica de entrada cuando es comprimida usando la Ley-A y la Ley-Mu tal se describen en la Recomendación G.711 de la Unión Internacional de Telecomunicaciones. De la gráfica se deduce que la compansión con ambas leyes no presenta mayores diferencias.
Ramón