GuM
  • Member for 7 years
  • Last seen more than 1 year ago
  • Italy
How do I prevent "s from turning into ß with babel?
5 votes

Solution 3: use left and right quotes in the source too, as David Carlisle auggested: \documentclass{article} \usepackage[ngerman]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \...

View answer
T1 breaks hyphenation
Accepted answer
2 votes

Listen, I’ve simply tried to fix your problem, but I’m afraid the package should undergo an extensive review. Try saving the following code in the same directory as the (main) file you want to ...

View answer
How to stretch a vbox to fit it's parent PlainTeX?
Accepted answer
3 votes

This works as expected: \def\blankbox#1{% <-- important! \hbox{% <-- important! \vrule width 5pt \kern -5pt \vbox to #1 {% \hrule height 5pt width #1 ...

View answer
Does \leavevmode leave any tokens in the input stream
4 votes

I’m afraid I don’t fully understand this “question-with-answer”, or better, what its author was aiming to when he posted it. I had initally thought of explaining my doubts in a comment, but I found ...

View answer
\index with see macro and math content
2 votes

\string is not like a command with an argument: with \string{ you are actually turning the opening brace into an ordinary character, thus making the ensuing } unbalanced. On the other hand, for the ...

View answer
Preventing entries in brackets from going over margins
2 votes

If you accept a quick-n-dirty solution that needs to be adjusted by hand, the following simple trick will do: % My standard header for TeX.SX answers: \documentclass[a4paper]{article} % To avoid ...

View answer
Abstract environment changing the numbering of pages
Accepted answer
1 votes

@egreg answered while I was slowly preparing the following code, which does exactly what you were trying to do, that is, typeset the acknowledgments as if they were an abstract, but without resetting ...

View answer
"Beautifully" resize math align block (font and symbols)
Accepted answer
2 votes

This works as expected: \documentclass{beamer} \usepackage{lmodern} \usepackage{relsize} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{amssymb} \DeclareFontFamily{OMX}{lmex}{} \...

View answer
hypersetup with no box instead of white box
Accepted answer
2 votes

In the end, I made up my mind to accept Olivier Cailloux’s call to convert my comment into an answer. What follows refers specifically to the hpdftex driver, the driver usually employed when the ...

View answer
Aligning formula with \bigvee and \bigwedge
5 votes

Perhaps with an array? (I’m not convinced myself, anyway.) % My standard header for TeX.SX answers: \documentclass[a4paper]{article} % To avoid confusion, let us explicitly ...

View answer
href in caption of listings
1 votes

Herbert’s answer suggests the solution I too would recommend, in that it doesn’t mess up the .lol file with useless junk. However, another posibility is to “sterilize” locally the \href command: this ...

View answer
How to get a stairway symbol in math mode?
20 votes

Yet another question of this type: I begin to think that I should seriously consider the idea of turning my halloweenmath package into a package generally aimed to making mathematical symbols out of ...

View answer
kpfonts error with environ package and \write
1 votes

Of course, @egreg’s answer is fine, but you would have avoided the problem if you had been well-behaved (:-) and had followed the recommended practices about how to write \protected commands to a file:...

View answer
How does \verb* set the visible space?
Accepted answer
8 votes

First of all, note that \dospecials includes the space character, so the \catcode of the space character is turned into 12 (“other”) by the \verb macro. Second, do not forget that, in the cmtt font, ...

View answer
LaTeX: vectors with two heads on the right
Accepted answer
2 votes

No TikZ, just fiddling with the internal macros of the amsmath package: % My standard header for TeX.SX answers: \documentclass[a4paper]{article} % To avoid confusion, let us explicitly ...

View answer
How to get a bracket that looks like this?
Accepted answer
2 votes

Remaining within Computer Modern fonts, the characters called, respectively, \lgroup and \rgroup get pretty close to what you ask, although they don’t look quite the same. The mleftright package ...

View answer
Are `\to` and `\mapsto` mathbin or mathrel?
Accepted answer
13 votes

\to and \mapsto are defined by the LaTeX kernel. Their definition can be found in the file fontmath.ltx: \DeclareMathSymbol{\rightarrow}{\mathrel}{symbols}{"21} \let\to=\rightarrow \...

View answer
Fully expand macro argument
6 votes

Basically, I’m posting this answer because it is way too long for a comment. As usual, @egreg’s post already answers your question in essence. However, I think that you are having difficulties in ...

View answer
\begin{list} ... \end{list} without elements
Accepted answer
3 votes

Caveat emptor You could try this, but please note that it is a really crude hack: \documentclass{article} \usepackage{etoolbox} \makeatletter \patchcmd\endtrivlist {\if@newlist \@noitemerr \...

View answer
Multiline equation, label once and support page break
1 votes

I think that @nox’s good answer could be further improved if one defined a new environment, rather than redefining (and hence abusing) align*; I expressed this opinion in a comment, but more than two ...

View answer
How to write a basic equation in latex (see picture)
4 votes

I’m sorry, but Sebastiano’s is an awful way of using the align* environment. Let's recap a few basic facts: The source code is: % My standard header for TeX.SX answers: \documentclass[a4paper]{...

View answer
Align text after a word
Accepted answer
5 votes

This answer probably makes little sense in 2018, but anyway… Torbjørn T.’s answer is very good (I’ve upvoted it), but LaTeX users who are aware of what actually goes on inside the innards of the ...

View answer
How to display fraction, integral in more height?
3 votes

Do not forget that the amsmath package offers the intlimits option for those people who want “Russian-style” positioning of the limits of integration: % My standard header for TeX.SX answers: \...

View answer
The space between the table and its caption is very small
37 votes

My attention was drawn to this question by another one that had been posted on TeX-LaTeX Meta. In spite of having been asked almost six years ago, not only—IMHO, of course!—is this question still ...

View answer
Why not catcode11 (letter) but catcode12 (other) is used for verbatim?
Accepted answer
7 votes

Well, characters from A to Z and from a to z do retain their \catcode (11) in the verbatim environment. I see no particular contraindications to setting also the \catcodes of other symbols to 11, ...

View answer
Alignment and dotfill in cases
2 votes

An easy way to obtain the desired result, namely is to use the tabularx environment (requires the tabularx package). Indeed, the above printout has been produced with the following code: % My ...

View answer
\vspace doesn't work
11 votes

Quoting from Leslie Lamport’s LaTeX: A Document Preparation System, p. 216,: \vspace {len} \vspace*{len} Add a vertical space of length len. If the command appears in the middle of a ...

View answer
Too many blanks between summation symbol and its associated expression
7 votes

I was elaborating over my idea about visual formatting, when @Sebastiano’s use of \substack suggested a better alternative… % My standard header for TeX.SX answers: \documentclass[a4paper]{article} % ...

View answer
Add material at the bottom of footnotes
Accepted answer
1 votes

If I interpret correctly your question, you simply want to add some space below the footnote (and obove the footer). Try the following (explanations are in the comments): % My standard header for ...

View answer
How to vertically align subscripts in mathmode
Accepted answer
8 votes

The reason why \vphantom does not work is subtle, and has to do with some TeXnical details concerning the way it is implemented. The definition of \vphantom is \def\vphantom{\v@true\h@false\ph@nt} ...

View answer
1
2
3 4 5
11