Hello everyone,
I am trying to insert some elements in between groups, but only if they are not starting the page. Specifically, I would like to put a line between two pieces of text if they are both in the same column on the same page, so that it is clear that they are separate elements. I can ...
Search found 15 matches
- Mon Nov 12, 2007 9:42 pm
- Forum: General
- Topic: inserting elements based on layout placement
- Replies: 1
- Views: 2130
- Fri Nov 09, 2007 12:53 am
- Forum: General
- Topic: Doing modulus with counters
- Replies: 3
- Views: 6331
Re: Doing modulus with counters
Hey guys, thanks a whole bunch. Time to get to work!
- Thu Nov 08, 2007 10:54 pm
- Forum: General
- Topic: Doing modulus with counters
- Replies: 3
- Views: 6331
Doing modulus with counters
I would like to be able to do something dependent on whether or not a counter is even. something like
\include{ifthen}
...
\ifthenelse{\isEven{mycounter}}
{% code for even case
}
{% code for odd case
}
\newcommand{\isEven}[1]{
\ifthenelse{ ??? }{TRUE}{FALSE}
}
The only thing is doing ...
\include{ifthen}
...
\ifthenelse{\isEven{mycounter}}
{% code for even case
}
{% code for odd case
}
\newcommand{\isEven}[1]{
\ifthenelse{ ??? }{TRUE}{FALSE}
}
The only thing is doing ...
- Tue Oct 23, 2007 6:10 pm
- Forum: General
- Topic: Generating data similar to \toc or \lof
- Replies: 0
- Views: 1835
Generating data similar to \toc or \lof
Hello everyone,
I am typesetting a class for generating tests, and I would like to auto-generate an answer key at the end. I find that the syntax for \addcontentsline{}{}{} would work perfect for me, as I can just embed it directly into my question macro without any serious finagling and I have a ...
I am typesetting a class for generating tests, and I would like to auto-generate an answer key at the end. I find that the syntax for \addcontentsline{}{}{} would work perfect for me, as I can just embed it directly into my question macro without any serious finagling and I have a ...
- Fri Oct 19, 2007 7:51 pm
- Forum: General
- Topic: Best way to deal with screenshots?
- Replies: 5
- Views: 10311
Best way to deal with screenshots?
\includegraphics takes a width argument that will scale your graphic to the correct proportional size, so you can do something like
\usepackage{graphicx}
\usepackage{calc}
...
\includegraphics[width=\textwidth * .75]{whatever.pdf}
\includegraphics[width=4in]{somegraphic.pdf}
or whatever set ...
\usepackage{graphicx}
\usepackage{calc}
...
\includegraphics[width=\textwidth * .75]{whatever.pdf}
\includegraphics[width=4in]{somegraphic.pdf}
or whatever set ...
- Tue Oct 16, 2007 8:32 pm
- Forum: General
- Topic: Mixing one-column and two-column input
- Replies: 3
- Views: 49224
Re: Mixing one-column and two-column input
Wow, this is exactly what I needed. Thanks a bunch!
- Tue Oct 16, 2007 5:01 pm
- Forum: General
- Topic: Mixing one-column and two-column input
- Replies: 3
- Views: 49224
Mixing one-column and two-column input
Hello everyone,
I'm doing some typesetting and need to mix one-column and two-column text in the same document; the same page as well, if possible. As this is normally a class option, is there a way to change this method in the middle of the document?
Thanks in advance!
I'm doing some typesetting and need to mix one-column and two-column text in the same document; the same page as well, if possible. As this is normally a class option, is there a way to change this method in the middle of the document?
Thanks in advance!
- Wed Oct 03, 2007 11:43 pm
- Forum: Decision Guidance
- Topic: Highly configurable LaTeX editors
- Replies: 7
- Views: 17744
Highly configurable LaTeX editors
If you are running OS X and aren't a vicious console junkie like myself, just use TeXShop, which is the absolute best tex editor for people scared of the command line. It comes bundled with MacTeX, so it's a nice one-stop solution.
- Thu Aug 30, 2007 6:26 pm
- Forum: Document Classes
- Topic: Custom packages, package inclusion, etc...
- Replies: 1
- Views: 2808
Custom packages, package inclusion, etc...
There's no simple way to ask this, so let me try:
I'm writing & maintaining a bunch of custom .cls and .sty files, and I really don't know how the inheritance scheme works. if I have a custom .cls file and use it in a document, and that .cls file has some \usepackage statements in it, can my ...
I'm writing & maintaining a bunch of custom .cls and .sty files, and I really don't know how the inheritance scheme works. if I have a custom .cls file and use it in a document, and that .cls file has some \usepackage statements in it, can my ...
- Mon Aug 13, 2007 5:00 pm
- Forum: General
- Topic: questions about \vfill
- Replies: 5
- Views: 14549
questions about \vfill
Basically, I wanted to remove all vertical stretch in my documents, so that when elements got rendered, everything started rendering at the top. What I've ended up doing is the first portion of what Kaveh Bazargan discussed in this talk: http://www.river-valley.tv/conferences/tex/practex2006 ...