Text FormattingFont Effect

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Jchen066
Posts: 13
Joined: Tue Aug 28, 2018 12:50 am

Font Effect

Post by Jchen066 »

hi there,

Is anyone can tell how to make the font like the picture?


Thanks
Sam
Attachments
Font Effect.PNG
Font Effect.PNG (4.34 KiB) Viewed 2253 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Font Effect

Post by Stefan Kottwitz »

Hi Sam,

you could use the contour package. For example:

Code: Select all

\documentclass{article}
\usepackage{contour}
\usepackage{xcolor}
\begin{document}
\contourlength{1pt}% thickness
\contournumber{20}% copies used
\contour{gray!50}{\protect\contour{white}{%
  \sffamily\Huge\bfseries\textcolor{green!80!black}{SAMPLE}}}
\end{document}
font-effect.png
font-effect.png (12.58 KiB) Viewed 2250 times
Stefan
LaTeX.org admin
Jchen066
Posts: 13
Joined: Tue Aug 28, 2018 12:50 am

Font Effect

Post by Jchen066 »

Stefan Kottwitz wrote:Hi Sam,

you could use the contour package. For example:

Code: Select all

\documentclass{article}
\usepackage{contour}
\usepackage{xcolor}
\begin{document}
\contourlength{1pt}% thickness
\contournumber{20}% copies used
\contour{gray!50}{\protect\contour{white}{%
  \sffamily\Huge\bfseries\textcolor{green!80!black}{SAMPLE}}}
\end{document}
font-effect.png

Stefan
thanks.
Post Reply