LaTeX users online

In total there are 6 users online :: 0 registered, 0 hidden and 6 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 6 guests

Typeset logo similar to "LaTeX" Topic is solved

LaTeX Forum: Text Formatting

Add tags Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)

Postby svend_tveskaeg on Sat Nov 17th, 2012

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  •  Open in online LaTeX editor
\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
MatematikTak.jpg
Logo.
MatematikTak.jpg (66.41 KiB) Viewed 1155 times
Last edited by svend_tveskaeg on Sat Nov 17th, 2012, 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)
User avatar
svend_tveskaeg
 
Posts: 478
Joined: Sun Jul 12th, 2009
Location: Aarhus, Denmark

Postby Stefan_K on Sat Nov 17th, 2012

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

Stefan
LaTeX Community Administrator
User avatar
Stefan_K
Site Admin
 
Posts: 7573
Joined: Mon Mar 10th, 2008
Location: Hamburg, Germany

Postby svend_tveskaeg on Sat Nov 17th, 2012

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
svend_tveskaeg
 
Posts: 478
Joined: Sun Jul 12th, 2009
Location: Aarhus, Denmark

Postby Stefan_K on Sat Nov 17th, 2012

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

Stefan
LaTeX Community Administrator
User avatar
Stefan_K
Site Admin
 
Posts: 7573
Joined: Mon Mar 10th, 2008
Location: Hamburg, Germany

Postby svend_tveskaeg on Sat Nov 17th, 2012

Of course. :oops:

Thank you.

Here is what I ended up with:

Code: Select all  •  Open in online LaTeX editor
\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)
User avatar
svend_tveskaeg
 
Posts: 478
Joined: Sun Jul 12th, 2009
Location: Aarhus, Denmark


Return to Text Formatting

LaTeX users online

Users browsing this forum: No registered users and 6 guests