Text Formattingstmaryrd | Certain Symbol as scalable Delimiter

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
tkrisz
Posts: 1
Joined: Mon Apr 02, 2012 2:25 pm

stmaryrd | Certain Symbol as scalable Delimiter

Post by tkrisz »

Hi,

I would like to use \llfloor and \rrfloor of package stmaryrd as a growing delimiter, but it is not working. I have no problem with \llbracket and \rrbracket, but \llfloor and \rrfloor would be better. Is it a problem in the package? If yes, do you know a nice looking workaround?

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

stmaryrd | Certain Symbol as scalable Delimiter

Post by Stefan Kottwitz »

Hi,

welcome to the board!

The stmaryrd documentation writes something about growing delimiters, but only that \llbracket and \rrbracket are growing delimiters. I guess \llflor and \rrflor just aren't designed this way and you would need another package.

A simple Infominimal working example, just for verifying how it doesn't work, giving the error ! Missing delimiter (. inserted):

Code: Select all

\documentclass{article}
\usepackage{stmaryrd}
\begin{document}
\[
  \left\llfloor\frac{x}{y}\right\rrfloor
\]
\end{document}
This MWE just shall show, that it's usually good to post some code for explaining problems, so readers can verify the problem and possibly post a fix.

Stefan
LaTeX.org admin
Post Reply