Text FormattingSmashing vertically upwards/downwards

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Smashing vertically upwards/downwards

Post by ghostanime2001 »

How to smash vertically such that the box smashes upwards instead of the bottom?
Last edited by ghostanime2001 on Sat Aug 27, 2011 9:14 pm, edited 1 time in total.

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

Smashing vertically upwards/downwards

Post by Stefan Kottwitz »

Hi,

Stéphane has given macros for that here:

Code: Select all

\newcommand{\tlap}[1]{\vbox to 0pt{\vss\hbox{#1}}}
\newcommand{\blap}[1]{\vbox to 0pt{\hbox{#1}\vss}}
Stefan
LaTeX.org admin
Post Reply