Search found 6 matches

by bers
Sat Sep 18, 2010 3:14 pm
Forum: General
Topic: Does Latex introduce spaces in #1?
Replies: 5
Views: 3150

Re: Does Latex introduce spaces in #1?

Ok, thanks again. Not very helpful, but informative :)

For everyone else interested: The problem I pointed out exists in two flavors.

1. nomenclature vs \newcommand: josefwrights answers apply.
2. nomenclature[#1]{#2}{#3} vs nomenclature{#2}{#3}:
nomencl treats #1 without, and #2 with \nom@verb ...
by bers
Sat Sep 18, 2010 12:58 pm
Forum: General
Topic: Does Latex introduce spaces in #1?
Replies: 5
Views: 3150

Does Latex introduce spaces in #1?

Hi again,
I extended my example like this:

\documentclass{article}
\usepackage{nomencl}
\makeindex
\makenomenclature
\begin{document}

\newcommand{\nomenclatureOne}[2]{\nomenclature[]{#1}{#2}}
\newcommand{\nomenclatureTwo}[3]{\nomenclature[#1]{#2}{#3}}

\nomenclature[\textrm{1}]{\textrm{1}}{1 ...
by bers
Fri Sep 17, 2010 9:44 am
Forum: General
Topic: Does Latex introduce spaces in #1?
Replies: 5
Views: 3150

Re: Does Latex introduce spaces in #1?

Hi,
thanks your reply. However, I still don't understand why the spaces only appear in one line, and not in the other. And what is more important for me, what I can do to have both lines appear similarly.
by bers
Fri Sep 17, 2010 12:56 am
Forum: General
Topic: Does Latex introduce spaces in #1?
Replies: 5
Views: 3150

Does Latex introduce spaces in #1?

Hi,
in this code:
\documentclass{article}
\usepackage{nomencl}
\makeindex
\makenomenclature
\begin{document}

\nomenclature[\textrm{a}]{b}{c}

\newcommand{\nomenclatureTwo}[3]{\nomenclature[#1]{#2}{#3}}
\nomenclatureTwo{\textrm{d}}{e}{f}

Test
\printnomenclature
\end{document}

I noticed the ...
by bers
Thu Sep 16, 2010 1:15 pm
Forum: Graphics, Figures & Tables
Topic: Setting large float and some text on a common page
Replies: 1
Views: 1334

Setting large float and some text on a common page

Hi,
this might be a newbie's question, but I probably only need a short guidance into the right direction. I want this to be on two pages in total, because I see that it would fit. How would I accomplish that? It always turns out to be on three pages, as soon as I use more than 0.65\textheight of ...
by bers
Mon Feb 08, 2010 12:37 am
Forum: Graphics, Figures & Tables
Topic: tabularx, overfull hbox
Replies: 1
Views: 6996

tabularx, overfull hbox

Hi,
I guess that's a newbie question, but anyway. I used Google, but there are so many hits on hboxes that I can't figure out which ones contain useful information...

\documentclass{article}
\usepackage{tabularx}
\begin{document}
\begin{tabularx}{\textwidth}{p{3cm}X}
a&b
\end{tabularx} %Overfull ...