@Nasser you don't need to change the class just tell geometry to reset the text block as well as the page size, eg tell it to make the margins 1cm and it will expand \textwidth to 2cm less than the page width
@DavidCarlisle wow ! thanks. I been struggling with this for an hr. I tried this answer http://tex.stackexchange.com/questions/31973/latex-how-do-i-force-pdf-page-height-width but it was not working. I typed \usepackage[pass,paperwidth=11in,paperheight=17in]{geometry}
before I did not change the margin, I assumed it will adjust on its own. Now I can fit more text on one page. So I can make it 3 COLUMNS page. I'll just have to go buy an 11 by 17 inch printer and make a nice big book from this. Latex is really amazing.
@DavidCarlisle, please see this. It is 11 by 17 paper size. I used 3 columns. It looks MUCH nicer to me now. It uses 10 pts (default). \begin{document} \begin{multicols}{3} ... But I need to work more on it. Some of the equations are now flowing out on the right edge of the page now... But it is looking much better. I can put what uses to be on 3 pages on one physical page now.
The above is part of one page. But you can see on the right there, I need more space, the equations do not fit. May be I need to go to bigger paper size :)
I just tried with 14 in by 17 in standard paper size. And now it seems to just about fit 3 papers in there. Here is a screen shot. I can't reduce the space between columns any more.
I think I need to make linewidth smaller. But will play with. Now I understand how it work. Thanks for the help.
@DavidCarlisle yes, but I do not really go through that, I have hundreds of HW's and reports, I can't handle things case by case like this. But will play with it. I wonder : is it possible to bind an actually book that is 14 in by 17 in? I've seen some at the library. I wonder if this is still possible these days.... will look into it...
The long math equations always gave me hard time, breaking them I mean...
I bought 5 books on Latex, just on math setting only. To learn this magic.
Yes, binding can be of this size: "No, our bindery can basically change almost every aspect of the final binding: the color of cover materials, placement, color, size and type of stamping, as well as size of binding. (A4, 11x17, 11x14, 6x9, 51/2 x 81/2 or any size in between)."
Old books always used to be much larger than today's for some reason. They used to like large size books. These days books are much smaller in size (I mean width/height)
@cmhughes To be honest, quite a bunch. :) I like the fact that 360 has a vast game library and their prices are not so insanely expensive compared to the Wii/Wii U and PS3 ones. :)
@PauloCereda nice- I'm quite tempted to look into that series. The trouble is that once I get into a game I forget to keep a balance, and just obsessively play it....
Anybody interested in modifying David's Christmas card code into producing a never-ending pdf? Just want to imagine the look on the NSA's agent when he runs my carefully hidden TeX file and it eats all their storage :D
can someone please see what I am missing here: isn't eqnarray supposed to break equation between \left( and \right) ?
\documentclass{article}%
\usepackage{amsmath}
\begin{document}
\begin{eqnarray*}
a &=& b \\
&=& \left(x \\
&& y \right)
\end{eqnarray*}
\end{document}
@Jake I understand the issue. But I was reading this pdf file, which gives a way to break \left( ... \right) equation. If you look at the screen shot, you'll see. I was trying to find a way to do it, and that is what this pdf was saying as one way (not the best) but it is supposed to work
@Nasser \left and \right need to be matched on the same line, if necessary using the dummy \right. (with the trailing period). That's what's done in the screenshot as well. So in your case, you could say:
\begin{eqnarray*}
a &=& b \\
&=& \left(x \right.\\
&& \left. y \right)
\end{eqnarray*}
@Jake thanks for the link. From it I learn to replace \left( by \Big( and similar to the other end, and now it worked !
\documentclass{article}%
\usepackage{amsmath}
\begin{document}
\begin{eqnarray*}
a &=& b \\
&=& \Bigl(x \\
&& y \Bigr)
\end{eqnarray*}
\end{document}
oh, I did not see those dummy \right and \right in the screen shot. (too complex the equation was). I know, but this is just for now. I am trying to finish a HW and it works. I can't use standard ( and ), too small. So \Big( works for now (I am still learning how typeset math in Latex. Thanks
I have just installed texlive 2013, and everything seems to work quite fine Yet if I say `tlmgr update --all` I get a message saying that `TeX Live 2012 is frozen forever` and so on...
If I say tlmgr conf the third line does say: «TeX Live (tug.org/texlive) version 2012»
@MarianoSuárez-Alvarez where did you get TL 2013 from? specific link? I am waiting for the DVD I ordered. but I can install it from on-line if I know from where.
Are %s following commas necessary in this solution? I have proven by an example that they are really unnecessary. My question is how to theoretically prove that they are unnecessary? Could you do it?
I do not think this table looks good. The break in the first columns does not look good. And last column should be left aligned? It seems to have indent on it. This is from en.wikibooks.org/wiki/LaTeX , the PDF at the top.
When having a comparatively large number of footnotes that are each very short (URLs say), it sometimes looks weird to have them stack up to a high footnote tower, especially in a minipage or some similarly confined space.
\documentclass[a5paper]{article}
\usepackage[hidelinks=true]{hyperref}
...
@cgnieder I didn't know about that package and it seems to only work globally which I want to avoid but more to the point: no, doesn't seem to do anything with my MWE.
But thanks, it was worth a try :)
Also doesn't improve (or change) the look of bigfoot's para option.
I had hoped it would because I thought it might not actually doesn't do anything because I'm using multiple footnotes, not one large paragraph and para changes that. But sadly, no :/
@mozartstraße the keyval package parser removes white space and empty entries (it isn't automatic it explicitly tests for this) I think these days pstricks uses the same or at least a similar parser.
@mozartstraße It's better to add % that are not needed than the far more common error of not adding them when they are needed, so a policy of adding then always isn't necessarily one that you should discourage.
@Nasser 1) I especially don't like the example in that Wiki page. 2) TeX is made for typesetting documents, and trying to do everything in TeX is IMHO stupid. 3) Grid typesetting is possible to manage in *TeX if you have only plain text, figures and titles (like in a fiction book), and is stupid to try to manage if you have anything more complicated (maths, chemistry etc.)
@topskip a while ago, when I was on the site, I saw a site with something along the line of "most pretty tex documents" or similar. It had a bounty set and had some very detailed and nice examples of book covers and similar... Does anybody remember that thread and now how to find it? (Search terms like "best" "example" or "tex" don't really limit the search results enough :/)
eh, that was not meant to be @ topskip.. not sure what happened there
I made a humble attempt of a cute document with memoir and some Inkscape graphics. :) Please bear with me, after all, cuteness is in the eye of the beholder. :)
Spoiler alert:
! Don't laugh at my duck, please.
Jake and I were talking in the TeX and friends chatroom a few months ago about f...
If you were asked to show examples of beautifully typeset documents in TeX & friends, what would you suggest? Preferably documents available online (I'm aware I could go to a bookstore and find many such documents called 'books'). Extra bonus for documents whose LaTeX source is available.
This i...
@Grey Since you have already accepted an answer and the problem seems not the same as the original question, it seems better to ask a new question, with a link to the previous one.
I would like to use the danish letters "æ,ø,å" with xelatex. Everything works just fine if i use pdflatex, but if i use xelatex "æ,ø,å" are not printed.
I have tried several different fonts. I have tried loading external fonts also. I am using TeX live on Windows 8. Here is a minimal example:
...
I would like to give XeLaTeX a try. I've been using pdflatex to process the following:
\listfiles
\documentclass{article}
\usepackage[backend=biber]{biblatex}
\usepackage{filecontents}
\AtEveryBibitem{\clearfield{eprintclass}}
\AtEveryBibitem{\clearfield{doiclass}}
\begin{filecontents}{\jo...
@egreg Quite chaotic, as usual. :) A lot of traffic, and apparently there was a big tumult and clash with the police last night! Thank God I traveled this morning.
I am looking at my Scientific word Latex output, and try to edit it. They use \prime everywhere which is hard to read. Like this $q_{0}^{\prime}$. I changed one place to $q_{0}'$ and run pdflatex and they look the same. I was wondering if I can change all the \prime to just ' so it is easier to read or you think it will break things in some other places? This is all in math mode.
@DavidCarlisle WOW !! Are you saying I can just use ' instead of \prime in math mode? This will really really be great. Scientific word generated code is so hard to read, and if I can go global FIND/REPLACE to change \prime with just ' this will make the code much easier to read.
it uses \prime alot, since most of my HW's are on derivatives and stuff, so things like y''(t)+c y'(t) are all over the place.
@egreg looking at latex.ltx I see the \topskip is set to 10pt which is much more... \setlength{\@fptop}{\topskip} clearly gives the wrong result. Is this somehow combined with the baselineskip or is there something else happening?
@cgnieder \topskip is the distance from the upper border to the first baseline; the usual rules about \baselineskip apply. So if \topskip is 10pt and the first line is 8pt hight, 2pt of glue are inserted.
@DavidCarlisle I found one problem. Please see $J^{v\prime h}$ and compared it to $J^{v' h}$ the output is not the same? isn't supposed to be the same? or may be I need to load some package?
@egreg I see! So if I do global FIND/REPLACE I might break things. I really do not want to do this case by case. This is all automatically generated latex by SW, I am trying to learn Latex by hand, but hard to follow what SW generates since it uses \prime everywhere making code hard to read. thanks.
@Nasser I can't say my opinion on the TeX code produced by SWP; actually it's based on output I saw several years ago. The reason why I can't express it here can be imagined. ;-)
@egreg what is most annoying is that it generates this \allowbreak between all the numbers and its decimal points. I complained about it, but nothing can be done about it. Like this example
And this is only one small equation output of pages and pages of stuff like this. I should have started long time ago doing things by hand in Latex. But now I am dependent on SW, unless I get much better.
@egreg They add \left( and right) to everything, since it is much SIMPLER to the implementation. i.e. the SW software then do not have to decide to do it or not. So they always do it. But it makes the code harder to read as I said.
the first thing I do when I edit SW output is remove about 90% of those un-needed \left( and \right)
to be fair to SWP, the code generated is not really meant for end user to edit or modify. This is like one using C compiler to generate assembler code. One is not supposed to edit the assembler code directly, but modify the C or the high level language used and then re-run the compiler. Just like some compilers can generate better looking assembler code than others. But there is really nothing like SWP out there, other than Lyx today, in terms of having easy to use GUI to generate Latex code.
... I am just trying to edit it, because I want to start doing Latex by hand from now on, and learn Latex myself.
@MarianoSuárez-Alvarez I guess that is the latex code for Re{} ? I do not know. Here is a screen shot of what I actually type on the screen for the above. It is a HW assignment for my class:
anyway, as I said, I almost never look at the Latex code generated, as it scares me to look at it. I spend all my time on the screen typing there. Only now I started looking at the code to try to learn it and may be modify it to improve things, since I use htlatex to compile it, sometimes I have to edit things to make htlatex happy.
@PauloCereda, Hi, when I use arara to clean files this error in arara.log:14 Jun 2013 20:49:32.613 TRACE CommandTrigger - C:\Users\doctorate\Dropbox\phd\phdmain.idx The process cannot access the file because it is being used by another process.
@PauloCereda, I think since the file being used by dropbox, may be, they cannot be deleted, how to fix that?
@egreg, Hi, when I use the imakeidx, I couldn't find in the documentation how to use the |textbf, |seealso, |see, parent!subentryof the makeidx package, where can I find these things?
@doctorate The article I mentioned is the basis of how \index is documented on the LaTeX companion. If you want to bolden an entry, do \index{entry@\textbf{entry}}
Latex produces so much empty vertical spaces between things. May be I should not use [...] ? Here is an example
why so much white space between the first equation and the second? Here is the latex code
The first time the $x''(t)$ vector will have the maximum value is
when
\[
\theta + \pi + \omega t = 2 \pi
\]
Hence
\begin{align*}
t & = \frac{2 \pi - \pi - \theta}{\omega} \\
& = \frac{\pi - \frac{\pi}{6} }{\frac{\pi}{6}}
\end{align*}
%
@MarianoSuárez-Alvarez do you know why please? I am using standard letterpaper size, article, and 2 columns. May be it is the [ and ] ? I will try replacing these with \equation to see the different.
sure. But you wont be able to compile, since it has an include and loads images. But will post all in one folder. I am just trying \begin{equation} now.... please give me a sec.
may be I should post this as a question on the main board. But here is the answer to the above quizz
The left one is the SAME exact latex code as the right side, but I used landscape. That is the only difference. in landscape, much more extra white space is added between equations as one can see.
When I remove landscape from geometry, I get what is on the right. same Latex code. 2 columns mode. I was trying to see if it look better in landscape. but too much white space I noticed when I did that.
@doctorate Hello, sorry for the delay, I was travelling back home. Sadly, there's nothing arara can do since it's something related to an external program and its invocation. The clean directive only invokes the rm/del command, so it's their fault, maybe some Dropbox daemon is interfering with the file?
it is amazing how much worst the format of my latex output got when I wrote \setlength{\parskip}{5pt} . What used to be nice looking, now it is not. Things break in not too nice places and so on. So I deleted the above. Latex can be very sensitive sometimes.
@DavidCarlisle but it is also fixed if I do not set it to 5pt? is it not 1pt by default? Or are you saying it is dynamic values that somehow changes in different places, I do not understand. But letting Latex use the default produced better setting.
@Nasser well you can't have no indentation and no parskip, that's not readable, you need one or the other. (parskip package is probably as good as anything if you go for spaced unindented paragraphs, although most typographical style manuals would advise using indentation)
ok, may be then special sum there. I see. I thought it i was just one when I saw this. So you suggest I should remove \setlength{\parindent}{0pt} as well. OK will do that. YOu are the expert. If you think it will look better.
@Nasser Assuming you have flushbottom in force so TeX is trying to make all pages the same length but your lines of text and equations and stuff dont exactly fit, then with teh default setting tex will stretch each parskip a bit and things pad out, but if you make it exactly 0 (or 5) or whatever then there is no way to make a line get to the bottom of a page so Tex will stretch one space by the full missing amount as its cost function says one infinitely bad space is better than all the spaces
being infinitely bad
@Nasser It's not so much looking better or worse, if you have no parindent and no parskip then the reader has no indication that a paragraph break has happened at all, there may perhaps be a short line but that is not guaranteed
@DavidCarlisle I see. So I was making things worst for Latex. I just removed all of these. Nice thing with Latex is that now I can just change one place (I have input file where I store the preamble) and all the other latex files include that one file. Now I can run my makefile on the whole tree and it will make new pdfs and new web pages
I think who ever designed the paper sizes do not like math, here is why: 8.5 in by 11 in, does not make it easy to fit equations on the page when using 2 columns. But 2 columns I found looks the best. But now, with 2 columns, a display equation has to fit in about 3.5 inch width, instead of about 6 or 7 inch when using one column.
So many long equations which fitted ok in one column (default) now have to be manually broken to make then fit in the smaller space. I can scale images to make them fit, but can't scale equations. And I want to use 2 columns from now on, since it looks better.
@Nasser That's why there is an international standard paper size series based on mathematical principles. A0, A1, A2, A3, A4, A5, A6, each half the area of the previous, but same aspect ratio
That is why I say whoever decided on letter size, did not like math. They should have made letter size be 10 in by 11 or something. Then it would have helped.
@DavidCarlisle yes, but letter size is the standard here in the US. So I can't really start using other sizes. My teacher might not like it.
@Nasser Or you (and I assume your countrymen) could use standard sizes like everyone else. It makes so much sense that even the UK dumped the old sizes (and we are not known for adopting European standards:-)
But A4 is not much different than letter size really. Still too narrow for math in 2 column mode. We math/latex folks need to start a campaign to force changing letter size to be wider.