Search found 9 matches

by evencoil
Mon Aug 10, 2009 5:12 pm
Forum: General
Topic: concatenation script?
Replies: 2
Views: 1903

concatenation script?

In my latex documents I use some \input commands in the preamble (and sometimes elsewhere).

Sometimes I need to send the .tex file itself to some coauthors. In this case it would be nice to replace the \input commands with the actual content of the files they refer to so that I only have to send ...
by evencoil
Wed Mar 11, 2009 7:19 pm
Forum: Math & Science
Topic: custom stackrel command with proper line/equation placement
Replies: 6
Views: 7168

custom stackrel command with proper line/equation placement

that is excellent, thank you. This \mathchoice command is going to help me out in a lot of other regards as well. Many thanks!
by evencoil
Wed Mar 11, 2009 6:27 pm
Forum: Math & Science
Topic: custom stackrel command with proper line/equation placement
Replies: 6
Views: 7168

custom stackrel command with proper line/equation placement

so now i'm being quite picky, but this is partly as an interest in learning TeX better. In that one the expression appearing in the paragraph is superscripted, whereas I would prefer it to be subscripted. This seems to require some additional logic. I was trying something like this using the ifthen ...
by evencoil
Wed Mar 11, 2009 3:12 pm
Forum: Math & Science
Topic: custom stackrel command with proper line/equation placement
Replies: 6
Views: 7168

Re: custom stackrel command with proper line/equation placement

thank you, that works well for stopping the line-spreading and I think I might use that, although its not quite what I was looking for...

My idea was more along the line of how \lim works. If I use \lim_{n \rightarrow \infty} in a paragraph then the "n \rightarrow \infty" part ends up on the lower ...
by evencoil
Wed Mar 11, 2009 2:16 am
Forum: Math & Science
Topic: custom stackrel command with proper line/equation placement
Replies: 6
Views: 7168

custom stackrel command with proper line/equation placement

I would like to make a custom command that does
\stackrel{d}{\rightarrow}
when inside an equation, but does
\rightarrow_{d}
when (in mathmode) in a paragraph. (In order to avoid spreading lines in paragraphs.)

I know how to make very simple custom commands, but this is a step beyond my knowledge ...
by evencoil
Sat Jan 19, 2008 7:58 pm
Forum: General
Topic: vertical bar for conditional expectation
Replies: 7
Views: 49910

Re: vertical bar for conditional expectation

\middle command..excellent, works great. Thanks to all for the replies!
by evencoil
Sat Jan 19, 2008 5:18 pm
Forum: General
Topic: vertical bar for conditional expectation
Replies: 7
Views: 49910

vertical bar for conditional expectation

I'm trying to get something like

E \left( Y \vert X \right)

...the complication is that frequently Y (sometimes X) is a tall expression, like a fraction, and I would like \vert to comform to the size of the taller of Y or X.

I was surprised that I couldn't find anything on the web for this since ...
by evencoil
Fri Jan 04, 2008 7:46 am
Forum: General
Topic: closing documents when using Foxit
Replies: 12
Views: 21232

closing documents when using Foxit

Success! :o

First of all, thanks for the hints. Things didn't go all that smoothly, of course, but who would expect that? :)

Here are the problems I remember, in approximate order...

1. "taskkill" is a windows XP command. If you use Windows 2000 (like me) then the appropriate command is simply ...
by evencoil
Sun Dec 02, 2007 11:32 pm
Forum: General
Topic: closing documents when using Foxit
Replies: 12
Views: 21232

closing documents when using Foxit

I've started using FoxIt instead of Acrobat (a great improvement!) and got it to work fine in TeXniccenter except I haven't figured out a way to have the document automatically be closed before I open it again. I'm thinking this might not be possible since FoxIt doesn't have DDE support, but does ...