Text FormattingTypeset logo similar to "LaTeX"

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

Typeset logo similar to "LaTeX"

Post by svend_tveskaeg »

Hi all.

I would like to typeset the logo in the attached picture.

How do I do this when some of the letters are both rotated and shifted vertically?

I know that the "LaTeX" logo i typeset using

Code: Select all

\DeclareRobustCommand{\LaTeX}{L\kern-.36em
  {%
    \sbox\z@ T%
    \vbox to\ht0{\hbox{$\m@th$%
        \csname S@\f@size\endcsname
        \fontsize\sf@size\z@
        \math@fontsfalse\selectfont
        A}%
      \vss}%
  }%
  \kern-.15em
  \TeX}
but I cannot figure out how to do this when the letters have to be rotated too. I would like something similar to what is achieved in this post on {TeX} SX but this is for boxes only and, furthermore, it cannot be shiftede vertically.

P.S. The background color is not important. I would, however, like the last three letters to be printed in the faint yellow but that is not especially important.
Attachments
Logo.
Logo.
MatematikTak.jpg (66.41 KiB) Viewed 3445 times
Last edited by svend_tveskaeg on Sat Nov 17, 2012 3:46 am, edited 2 times in total.
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)

Recommended reading 2024:

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

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

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

Typeset logo similar to "LaTeX"

Post by Stefan Kottwitz »

You could use \rotatebox and \raisebox for boxes with a single letter.

Stefan
LaTeX.org admin
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

Re: Typeset logo similar to "LaTeX"

Post by svend_tveskaeg »

Okay. What if I want the letters to be typed in yellow?

Thank you!
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Typeset logo similar to "LaTeX"

Post by Stefan Kottwitz »

Use \textcolor of the color or xcolor package. For shading effects TikZ could be used.

Stefan
LaTeX.org admin
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

Typeset logo similar to "LaTeX"

Post by svend_tveskaeg »

Of course. :oops:

Thank you.

Here is what I ended up with:

Code: Select all

\newcommand*{\bogstav}[4]{\kern #1pt \rotatebox[origin=c]{#2}{\raisebox{#3pt}{#4}}}
\newcommand*{\bog}[1]{\textsf{\textup{%
  \textcolor{blue!90}{MATEMA}%
  \textcolor{yellow!90}{%
  \bogstav{-1.3}{-5}{-0.8}{T}%
  \bogstav{-0.8}{5}{-2.3}{I}%
  \bogstav{-0.8}{-10}{0.5}{K}}%
  \textcolor{red!90}{%
  \bogstav{-2.3}{15}{-1.8}{T}%
  \bogstav{-2.8}{-10}{0.5}{A}%
  \bogstav{-2.3}{15}{-1.8}{K}}\,%
  -- #1.~klasse}}
}
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
Post Reply