Examples — Recent

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

Using LuaTeX to run software installed on Overleaf’s servers
Using LuaTeX to run software installed on Overleaf’s servers
This example shows how to use LuaTeX to run software tools and utilities installed on Overleaf’s servers, including how to capture, and then typeset, text that would normally be displayed in a terminal window.
Graham Douglas
Supported Vector Machine with SAS
Supported Vector Machine with SAS
Supported Vectored Machine (SVM) is one of the most historical, but also most commonly used machine learning models in supervised learning. In this project, I built a SVM model with the Sequential Minimal Optimization (SMO) algorithm using SAS IML procedure. Also, I simulated some linearly separable data using data step and compared the result of the SVM model with the SAS build-in Logistic Procedure. Finally, I applied the model to a famous dataset called credit.
Qi Zhao
Table with formulas and footnotes
Table with formulas and footnotes
This is a table I used in the paper W. Li, G. Wei, D. Ding, Y. Liu and F. E. Alsaadi, "A New Look at Boundedness of Error Covariance of Kalman Filtering," in IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 48, no. 2, pp. 309-314, Feb. 2018. I would like to share some LaTex codes for the table which might be helpful to some readers.
Wangyan Li
Tribute to Monument Valley and Escher
Tribute to Monument Valley and Escher
A tikz tribute to Monument Valley (the game by ustwogames) and Escher's impossible architecture.
LianTze Lim
Template for Tree-Drawing
Template for Tree-Drawing
This is a template that can be used to draw trees for LGCS 105 at Pomona College, using qtree and tree-dvips.
MJKD
Asymptote 3D graphics
Asymptote 3D graphics
This example shows how to get asymptote 3D drawings working on Overleaf. All the drawings in this example were taken from the Asymptote documentation. The important bit is to add settings.render=0, to get around the problem of rendering on headless displays (i.e. the compile servers doesn't have a graphics card/display!) If you download the PDF and open it in Adobe Reader, you'll get interactive views of the 3D objects!
LianTze Lim, Asymptote documentation
Programme de colles mathématiques - Semaine 27
Programme de colles mathématiques - Semaine 27
Here is an example of the maths oral I give in some preparatory class near Paris
Duverneuil Paul
Trifold brochure (leaflet)
Trifold brochure (leaflet)
Years ago I found a trifold template somewhere (if you are the source or you know it, please let me know) and based on that I created this brochure to promote my choir.
Erika Griechisch
Gráfica de una hipérbola
Gráfica de una hipérbola
Este ejemplo muestra el uso del paquete PGFPLOTS para el trazado de una hipérbola aunque puede usarse con otras funciones, observando previamente el comportamiento de éstas. Luego de establecer en el documento las convenciones de definiciones de nombres para los colores (svgnames), se carga pgfplots con compatibilidad hasta la versión 1.14, aunque se puede usar con la versión 1.15. Después se carga la biblioteca de flechas e inmediatamente se define una punta de flecha Stealth[] con el nombre de \flecha y luego, el estilo del gráfico en el cual los ejes están separados y centrados según las opciones "axis x line" y "axis y line" configuradas en "center". El grosor de las líneas de los ejes x e y y de la curva es configurado con "line width=" en 0.6 mm. El fondo del gráfico se configura con "axis background/.style={fill=Wheat!40}". Se añade una cuadrícula (grid) de estilo "punteado" (dotted) y de color rojo. Otras opciones son comentadas dentro del listado y explican su utilidad. En algunas curvas hay que hacer las adaptaciones necesarias.
Ramón Jaramillo