Search found 577 matches

by phi
Fri Mar 19, 2010 10:25 pm
Forum: Math & Science
Topic: Symbol for »not proportional to«
Replies: 5
Views: 27432

Re: Symbol for »not proportional to«

\not\propto might produce an acceptable result.
by phi
Wed Mar 17, 2010 12:14 am
Forum: Text Formatting
Topic: Simple Removal of Period from Enumerated List
Replies: 4
Views: 5526

Simple Removal of Period from Enumerated List

localghost wrote:The approach without any package is very similar to yours.

Code: Select all

\renewcommand{\labelenumi}{[\arabic{enumi}]}
That works, but usually you define \labelenumi in terms of \theenumi:

Code: Select all

\renewcommand*{\labelenumi}{\theenumi}
by phi
Tue Mar 16, 2010 11:54 pm
Forum: Math & Science
Topic: Embdedded formula running off page
Replies: 2
Views: 3793

Embdedded formula running off page

Hello,

first of all, don't use \left(...\right) in inline formulas, they prevent line breaking and can be extended arbitrarily, which is sometimes ok or even desired in displayed equations, but looks horrible in inline ones. Then you should place words like "-dimensional" outside of math mode ...
by phi
Tue Mar 16, 2010 11:45 pm
Forum: General
Topic: including full list of tables in the bookmarks of PDF
Replies: 1
Views: 2736

including full list of tables in the bookmarks of PDF

Hello,

try this hack:
\documentclass{article}

\usepackage{hyperref}

\makeatletter
\newcommand*{\saved@writebookmark}{}
\let\saved@writebookmark\Hy@writebookmark
\renewcommand*{\Hy@writebookmark}[5]{%
\saved@writebookmark{#1}{#2}{#3}{#4}{\Hy@bookmarkstype}%
}
\makeatother


\begin{document ...
by phi
Wed Mar 10, 2010 11:47 pm
Forum: LyX
Topic: Makros for text
Replies: 3
Views: 4095

Makros for text

ihiribar wrote:you could do something like

Code: Select all

\newcommand{\etal}{\textit{et al.}}
...
Santa \etal have written an article
... 
and Claus \etal made the pictures
This will gobble the space after the command name. You have to use "\etal\ " or the xspace package.
by phi
Tue Mar 02, 2010 12:29 am
Forum: Graphics, Figures & Tables
Topic: Graphics with periods in the name
Replies: 5
Views: 3243

Re: Graphics with periods in the name

use the grffile package
by phi
Tue Feb 23, 2010 12:49 pm
Forum: Document Classes
Topic: Beamer - Undefined control sequence \begin{document}
Replies: 4
Views: 19993

Re: Beamer - Undefined control sequence

Watch out for updates in the next few days, the bug is already fixed and you should be able to remove the hack: http://tug.org/pipermail/tex-live/2010- ... 24887.html
by phi
Mon Feb 22, 2010 12:18 am
Forum: Document Classes
Topic: Beamer - Undefined control sequence \begin{document}
Replies: 4
Views: 19993

Beamer - Undefined control sequence \begin{document}

This is caused by a bug that became manifest when geometry was updated only a few days ago. See this discussion for an explanation and a fix.
by phi
Thu Feb 18, 2010 1:56 am
Forum: General
Topic: Use unbalanced brackets in /newenvironment
Replies: 10
Views: 16752

Use unbalanced brackets in /newenvironment

I'm going to mark this topic as solved, but I'm still surprised there isn't an easy way to use unbalanced brackets inside of an argument.
It's a syntactic problem: The \newenvironment command needs to know where its arguments end, and allowing unbalanced braces would result in ambiguities.
It is ...
by phi
Tue Feb 16, 2010 6:13 pm
Forum: Text Formatting
Topic: Concatenating strings
Replies: 3
Views: 10723

Concatenating strings

In that case you have to convert the # into something harmless:

Code: Select all

\edef\x{file\string#1.dat}
\input{\x}