Math & Scienceproblem with too long bar at value

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
ahmedsulejmani
Posts: 1
Joined: Fri Sep 28, 2012 3:49 pm

problem with too long bar at value

Post by ahmedsulejmani »

Hi guys,

I have the following situation i have a formula which is a fraction of a detrminant with something simplier in the denominator. I want to use this expression at the point z. So my latex guess is something like that

Code: Select all

\left.\frac{ \det\begin{pmatrix}               a & b\\ c&d
                                                    \end{pmatrix}
}{e} \right|_{z}
you see that the \right| is too long and looks ugly. Any clue how can one make it shorter without retrictiong it just to the numerator or denominator?

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

problem with too long bar at value

Post by localghost »

Try a manual adjustment like this.

Code: Select all

\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{mathtools}    % loads »amsmath«

\begin{document}
  \begin{equation}
    \frac{
      \det
      \left(
      \begin{smallmatrix}
        a & b \\
        c & d
      \end{smallmatrix}
      \right)
    }{e}
    \bigg|_{z}
  \end{equation}
\end{document}
Further reading:

Best regards and welcome to the board
Thorsten
Attachments
The resulting output.
The resulting output.
rule-scaled.png (5.79 KiB) Viewed 1960 times
Post Reply