Text Formattingtranspose matrix with \prescript

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
thomasb
Posts: 134
Joined: Thu Aug 03, 2017 10:54 am

transpose matrix with \prescript

Post by thomasb »

Like this :

\prescript{t}{}{M}

as in

\prescript{a}{b}{F}_c^{d}

(that could also be useful for chemists, for atoms...)
Last edited by thomasb on Sat Aug 05, 2017 11:43 pm, edited 2 times 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.

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

[solved] transpose matrix with \prescript

Post by Johannes_B »

I am not sure what the question was nor what the solution is. Can you elaborate to make this useful for future readers?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

transpose matrix with \prescript

Post by Stefan Kottwitz »

I guess Thomas wanted to show how to write a transported matrix in a way that the superscript comes first - with the mathtools package:

Code: Select all

\documentclass{article}
\usepackage{mathtools}
\begin{document}
$\prescript{t}{}{M}$
\end{document}
Stefan
LaTeX.org admin
thomasb
Posts: 134
Joined: Thu Aug 03, 2017 10:54 am

transpose matrix with \prescript

Post by thomasb »

Yep, it was to propose another option than

Code: Select all

$^t M$
or

Code: Select all

$\,^t M$
If the matrix is larger, like :

Code: Select all

\begin{pmatrix} a & b \\
c & d \end{pmatrix}
then the 't' appears at the same height than usual exponents. With the \prescript solution, it appears on the top left corner.
Besides, it can be useful to chemists or physicists to for atoms.
Post Reply