LaTeX forum ⇒ Text FormattingFont Effect Topic is solved

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

Font Effect

Postby Jchen066 » Tue Oct 16, 2018 1:54 pm

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 301 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 9388
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Oct 16, 2018 2:15 pm

Hi Sam,

you could use the contour package. For example:

  1. \documentclass{article}
  2. \usepackage{contour}
  3. \usepackage{xcolor}
  4. \begin{document}
  5. \contourlength{1pt}% thickness
  6. \contournumber{20}% copies used
  7. \contour{gray!50}{\protect\contour{white}{%
  8. \sffamily\Huge\bfseries\textcolor{green!80!black}{SAMPLE}}}
  9. \end{document}


font-effect.png
font-effect.png (12.58 KiB) Viewed 298 times


Stefan
Site admin

Jchen066
Posts: 13
Joined: Tue Aug 28, 2018 12:50 am

Postby Jchen066 » Tue Oct 16, 2018 2:38 pm

Stefan Kottwitz wrote:Hi Sam,

you could use the contour package. For example:

  1. \documentclass{article}
  2. \usepackage{contour}
  3. \usepackage{xcolor}
  4. \begin{document}
  5. \contourlength{1pt}% thickness
  6. \contournumber{20}% copies used
  7. \contour{gray!50}{\protect\contour{white}{%
  8. \sffamily\Huge\bfseries\textcolor{green!80!black}{SAMPLE}}}
  9. \end{document}


font-effect.png

Stefan


thanks.


Return to “Text Formatting”

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 5 guests