Search found 4 matches

by verbatim
Sun Dec 19, 2010 4:20 am
Forum: Text Formatting
Topic: Removing italics/ensuring not italic/theorem environment
Replies: 3
Views: 25452

Re: Removing italics/ensuring not italic/theorem environment

That's exactly what I did, see the MWE.

Well, except that I switch to \texttt inside it in order to get a more appropriate looking operator. The default % sign doesn't look the least bit like a modulo operator.

edit: Posted at about the same time as the (edit to the) post above, sorry for any ...
by verbatim
Sun Dec 19, 2010 3:12 am
Forum: Text Formatting
Topic: Removing italics/ensuring not italic/theorem environment
Replies: 3
Views: 25452

Removing italics/ensuring not italic/theorem environment

I'm trying to replace the built-in \bmod operator (which, rather unhelpfully, just types the word "mod") with a proper modulo operator: %. I'm currently using \texttt{\%}. It's not ideal (an ideal modulo operator should really be almost square, but the font used by \texttt has a very narrow and tall ...
by verbatim
Sun May 30, 2010 6:44 pm
Forum: Text Formatting
Topic: parbox that adds no vertical space?
Replies: 2
Views: 5145

Re: parbox that adds no vertical space?

Perfect, thanks!
by verbatim
Sun May 30, 2010 6:02 pm
Forum: Text Formatting
Topic: parbox that adds no vertical space?
Replies: 2
Views: 5145

parbox that adds no vertical space?

I'm looking for a way to make a parbox that renders as a multi-line box of text, but whose height, for layout purposes, is considered to be just one line, so that following text is unaffected.

Here's a MWE that shows the issue:

\documentclass{article}
\usepackage{algorithm}
\usepackage ...