Search found 28 matches

by AliceWonder
Thu Nov 07, 2013 4:11 am
Forum: Text Formatting
Topic: curly braces in text mode
Replies: 1
Views: 13237

curly braces in text mode

When I try to use \{ and \} to create curly braces outside of math mode, it works and always has. However if I load the mtpro2 package in my preamble, it then fails, complaining about a miss $ insserted.

What is the right to way get curly braces outside of math mode that won't break by loading the ...
by AliceWonder
Mon Nov 04, 2013 3:36 am
Forum: Graphics, Figures & Tables
Topic: wrapping text including sectioning around image.
Replies: 1
Views: 2122

Re: wrapping text including sectioning around image.

I tried using wrapfig instead of picins but it seems that if there is not existing \par content in a chapter before you invoke wrapfig, it reserves the space and text float around it but it doesn't load images or captions (pdflatex compiler)
by AliceWonder
Sun Nov 03, 2013 8:08 pm
Forum: Graphics, Figures & Tables
Topic: wrapping text including sectioning around image.
Replies: 1
Views: 2122

wrapping text including sectioning around image.

Wrapping text around images including sectioning

What I want is image with text inclusing section titles wrapped around it.

Using parpic it almost works but is incorrect. To compile a minimal working example that I have below, you need an image of width 717 height 1076 named Lilly_4_.jpg ...
by AliceWonder
Mon Aug 19, 2013 10:42 pm
Forum: Text Formatting
Topic: lowering a character in a section heading.
Replies: 2
Views: 4402

Re: lowering a character in a section heading.

Thank you! That works very well.
by AliceWonder
Mon Aug 19, 2013 9:53 pm
Forum: Text Formatting
Topic: lowering a character in a section heading.
Replies: 2
Views: 4402

lowering a character in a section heading.

TeXLive 2013 as distributed from TUG running in Fedora 18 x86_64.


\newcommand{\nix}{\textsc{Un\raisebox{-0.3\height}{*}x}}


works in paragraph mode, it puts the * at the correct height relative to the small caps N and X (at least with the font I am using).

However if I then use the \nix ...
by AliceWonder
Sun Aug 11, 2013 12:56 pm
Forum: Page Layout
Topic: Start Chapters on odd Pages in one-sided Document
Replies: 3
Views: 11119

Start Chapters on odd Pages in one-sided Document

My hack is broken if page numbering is not arabic. But I can fix that.

Code: Select all

\ifodd\arabic{page}
by AliceWonder
Sun Aug 11, 2013 12:23 pm
Forum: Page Layout
Topic: Start Chapters on odd Pages in one-sided Document
Replies: 3
Views: 11119

Start Chapters on odd Pages in one-sided Document

OK. This is what I want to do after each chapter command, hopefully I can easily redefine the chapter macro to do it.


\newcommand{\mutilatepages}{%
\ifodd\thepage%
\else%
\addtocounter{page}{1}%
\fi%
}


Since chapters always start on a new page if that is run directly after \chapter{foo} using ...
by AliceWonder
Sun Aug 11, 2013 2:49 am
Forum: Page Layout
Topic: Start Chapters on odd Pages in one-sided Document
Replies: 3
Views: 11119

Re: Start Chapters on odd Pages in one-sided Document

Another option might be to increment the page number by 1 if a chapter is otherwise starting on an even numbered page. That would mean sometimes the PDF page numbering skips a page but I don't think that is so bad, that may be more tolerable than making a user scroll through blank pages.
by AliceWonder
Sun Aug 11, 2013 1:40 am
Forum: Fonts & Character Sets
Topic: Correct »`« in verbatim Environment with custom Font
Replies: 1
Views: 4065

Correct »`« in verbatim Environment with custom Font

Stumbled upon the solution while reading "The LaTeX Companion" (2nd edition) looking for something else. The solution is to use the upquote package (after declaring the mono spaced font package).
by AliceWonder
Sun Aug 11, 2013 12:54 am
Forum: Page Layout
Topic: Start Chapters on odd Pages in one-sided Document
Replies: 3
Views: 11119

Start Chapters on odd Pages in one-sided Document

Hello,

I'm using the standard book class. One version of the book will be printed two-sided, but there will also be a PDF version that does nice things like use the hyperref package and has color diagrams etc.


\newif\ifprintdoc
\newif\ifcolor
%\printdoctrue
\ifprintdoc
\documentclass[12pt ...