IRC Archive / Freenode / #latex / 2010 / March / 05 / 2
raveon_
anyone here use scons with LaTex?
IvoryZion
Is there a way to switch on math-mode for a table?
Exilant
arcsinus: yes, that should be possible :)
although, hm, probably plus a constant
panzi
some novels have some kind of paragraph delimeters between some paragraphs. usually one ore more * or a horizontal line
is there some command for such a "big paragraph" in LaTeX or do I have to define my own command?
IvoryZion
panzi: You want more vertical space between paragraphs?
Exilant
and some stars, as in \begin{center}***\end{center}
(though better typeset than this)
IvoryZion
\vspace*{2 em} \begin{center}***\end{center} \vspace*{2em}

panzi
gah, I'm really considering using OOo for my novel. LaTeX just doesn't manage hyphenation in words with german Umlauts!
not even when I use T1 fontenc
bremner
panzi: ok, but considering how many latex developers are german, that is surprising.
panzi: are you using babel?
panzi
bremner: I use: \usepackage[utf8x]{inputenc} \usepackage[ngerman]{babel}
I use utf8
I won't rewrite my story using \"u and such. that makes the .tex completely unreadable!
bremner
panzi: ok, that's all I know about it I'm afraid.
raveon_
you got a story to write?
panzi
I semi-finished a story as a hobby. I wanted to layout it with latex
raveon_
nice
make money out of it :)
panzi
it seems to be quite a hassle
I guess I have to write some kind of restructured text system that supports unicode
or investigate whether there is already such a thing
raveon_: no the story isnt good. my sister writes much better ones (shorter, though, but in english! we are both from austria)
raveon_
i've been to austria
vienna and salzburg
fun place
bremner
panzi: you might investigate xetex

panzi
bremner: that strips all my umlauts
or how do I tell xetex to respect them?
ah, adding \usepackage{xltxtra} did help. whatever that is (saw it in another xetex document)
pppoe_dude
how do I show section number on every page of an article?
number and title
|Steve|
arcsinus: I am now.
raveon_
latexmk
|Nickwiz|
ho do i get \section to display alpha instead of numbers?
raveon_
redefine the counter to display in lapha
|Nickwiz|
hm, ok - ill search some more with that info - googling section was a bit blury
raveon_
\def\thesection{\Roman{section}.}
or maybe \renewcommand{\thesection{\Roman{section}.}
umm \alph
http://www.personal.ceu.hu/tex/counters.htm
|Nickwiz|
ty, - got on same page by google actually :)
raveon_
how do you pass -shell-escape to latexmk?
|Nickwiz|
ok, - it beacame: \renewcommand{\thesection}{\alph{section})} - did not get it to work with setcounter ...
jtbandes
|Nickwiz|, setcounter is for changing the number
|Nickwiz|
yes, ty.
sobersabre
hi.
is anybody alive ?
|Steve|
yes
some of us are even here.
sobersabre
do I need to add something to the preamble to use ... oops. found the error :)
b0o-yeah
geeze and now we are all awake ;)
Exilant
In the figure/subfigure environment, can i somehow easily tell latex to use the whole textarea?
i have (left border)(graph a) (graph b) (graph c)(about 1 cm)(right border)
|Steve|
Exilant: Put \hfil between your \subfloats.
Exilant
ah, thx
|Steve|
You can also add \hfil before and after if you want them more centered.
andy_t_roo
hello, i'm trying to place 3 figures together - a big one next to 2 smaller ones. i have placed the two smaller ones in a sub-figure, but they refuse to go below each other -- i end up either with the 3 figures in a row, or the big one above, and two smaller ones below.
(i'm using lyx/miktex on windows)
|Steve|
I can't help with miktex.
A parbox would solve your problem, I believe.
marcellus
,sample
fsbot
I heard sample is Paste a sample at http://pastebin.tlhiv.org showing your problem in as little code as possible. Make sure it is a *complete* document, and if possible one that compiles! If your LaTeX aborts with errors, paste them too.
Exilant
|Steve|: thanks, now my subfigures look better. Now on to fix all those underfull vbox issues :/
|Steve|
Exilant: Save that to the very end.
Exilant
hm, makes sense
|Steve|
My advisor and I spent about an hour fixing underfull vboxes yesterday. Then I went home and fixed a bunch of tables.
Then I had to refix underfull vboxes this morning.
Exilant
ok
i'm just 95 % done, so first the remaining 5 %
arcsinus
Hi.
When you do $$<some eq.>$$ .... a number enclosed with parantheses is added to the right side of te eq.
How do you move it to the right side of the eq. ?
Like (1) a + b = c and not a + b = c (1) ?
s/te/the/
mickep
Do not remember, but I think it is in the ,,amsldoc,,
fsbot
mickep, hmm, amsldoc is the documentation for amsmath and can be found on http://www.ctan.org/tex-archive/macros/latex/required/amslatex/math/amsldoc.pdf
arcsinus
mickep: Can you point me to the appropriate section please?
mickep
no
I am at work...
arcsinus
Oh KO :p
OK*
It's just that I tried to look for it yesterday but didn'
t find it
marcellus
arcsinus
marcellus: Oh Hi!I I read the theequation section
Is that what I was supposed to read?
marcellus
That wasn't a section. That was me providing you the solution.
arcsinus
Oh, then there was probably a misunderstanding. I thought it was just a hint to the solution. Would you mind helping me again? I'll be so grateful!
marcellus
You are supposed to read above mentioned document. It is less than 20 pages to read.
arcsinus
OK, so I have to read all of the doc to find out the answer?
mickep
Just read what seems interesting for you for the moment. If there is something on typesetting the square root, you can safely skip that part right now.
arcsinus
Thanks guys.
hiwk
what is the state of the art package to handle acronyms and glossaries? I want at least to have the "Some Silly Thing (SST)" feature and a glossary list
would a nice index (like the one in the end of a book) be handeled by the same package?
marcellus
maybe ,,cs glossary
fsbot
marcellus
,cs makeidx
fsbot
http://www.cam.ctan.org/tex-archive/indexing/makeindex/lib/makeidx.sty
marcellus
,cs index
fsbot
http://www.ctan.org/tex-archive/macros/latex/contrib/camel/index.dtx
hiwk
marcellus: thanks, I'll check those out. Do you have any positive experience with them?
arcsinus
In the amsldoc they mention LaTeX manual. What is that manual ?
s0
(wrong window)
marcellus
hiwk: I haven't give much thought to how I want a index or glossary should look, so no.
Dennis84
hey all
i want to be able to write a url in a footnote of a caption of an image
marcellus
hiwk: I usually go for the most recently updated one.
Dennis84
very complicated
marcellus
it is?
Dennis84
i found out, that a footnote in a caption must be protected
but how can i enter an url in this footnote?
marcellus
\url{http://www.foo.com/}
Dennis84
marcellus: exactly this is not working :p
thats the normal way, but not in a caption of an image
marcellus
ok, i missed "in this"
\protect
Dennis84
that is what i tried
and thats not working
marcellus
,sample
fsbot
hmm, sample is Paste a sample at http://pastebin.tlhiv.org showing your problem in as little code as possible. Make sure it is a *complete* document, and if possible one that compiles! If your LaTeX aborts with errors, paste them too.
Dennis84
ok
Stereo
hi everyone
Dennis84
marcellus: how can i poste a complete example wihout a image source?
marcellus
the image doesn't matter
Dennis84
http://pastebin.tlhiv.org/ShcdAIFb
marcellus
in what way is that complete?
Dennis84
so, thats an image definition with my current footnote and url problem
isn't that enough?
marcellus
does that compile?
mickep
Dennis84: It is easier if we can make it compile (i.e. the documentclass + relevant packages are needed)
marcellus
is that a complete document?
Dennis84
ok
i know what you mean
Stereo
I'd like to put information from a sql in a document, and am hesitating between sqltex, latexdb and ratexdb. Has anyone used either?
marcellus
never heard of either
Stereo
funny, it seems to be a german speciality
Isajha
how can i use the \ref commands across multiple books
i'd like to have something See "volume 1: blah", p. 66
i know that this is possible somehow (there was a guide in some FAQ but i can not find it anymore><)
i mean this is not something like bibtex, i have a label defined in one book and i want to reference it from another books
Stereo
Isajha: and you're writing those books at separate times, of course
Isajha
?
i think i've found it it's the package xr
Stereo
ah, didn't know that one
Isajha
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=extref
this time i won't loose the bookmark><
and ofc it does not work as expected><
veleno
hello. i'm on mac osx (using MacTex, latest available distribution). i'm having troubles with includegraphics : http://codepad.org/45X5GbHK this works fine with TexShop but it fails with TextMate, which reports: "File `solutions/average' not found." the file is called solutions/average.pdf ..any idea ?
and thiese are the packages imported: http://codepad.org/cWO1hIuP
mickep
veleno: do you run latex or pdflatex?
veleno
mickep: in both programs (texshop and textmate) i run pdflatex
mickep
I dont even know what TextMate is. What if you run in the terminal: pdflatex file. Does it work?
veleno
mickep: yes
mickep
Then it is not a TeX problem but a problem with TextMate :)
veleno
mickep: you're right
mickep
I never heard of TextMate, but if you're lucky someone inhere uses it and can help. I guess you have more luck in contacting the authors/google for this, though.
veleno: what if you include the .pdf in average.pdf?
veleno
mickep: pdflatex still succeds (and so does texshop, the default tex editor installed by MacTex Live 2009). inside textmate, i get "Latex Error: txmt://open?url=file:%2F%2F%2FUsers%2Fveleno%2Fworkspace%2Funine-distalg%2Fpracticals%2F01-lua%2F.%2F01-lua.tex&line=494 LaTeX Error: Cannot determine size of graphic in solutions/average.pdf (no BoundingBox)."
mickep
are you sure you run pdflatex in TextMate?
Also, that error looks strange
veleno
mickep: the full log seems to report pdflatex to me: http://codepad.org/NPhqOK5q
(1st line)
mickep
looks like so, especially since it includes other pdf files without error. Is this pdf file "different" in some sense?
veleno
mickep: solutions/average.pdf: PDF document, version 1.4
made by a gnuplot script which had a "set term pdf" parameter..nothing more special than that. (as the other included pdf file, btw)
andy_t_roo1
can someone help me with a minor layout problem -- i have 3 pics, one large and 2 small, i would like the large to be next to the two small -- like []:
i have placed them in a floating figure, with the 2 small ones in a subfigure, but it always comes out as []..
marcellus
,sample
fsbot
From memory, sample is Paste a sample at http://pastebin.tlhiv.org showing your problem in as little code as possible. Make sure it is a *complete* document, and if possible one that compiles! If your LaTeX aborts with errors, paste them too.
Stere0
veleno: there's a textmate chan here on freenode
veleno
Stere0: ah..i'll go ask there !
Stere0
it's full of nice folks :)
Lusule
hi guys, I wonder fi I could get some help - I'm having trouble with figures. I'm using \begin{figure} but texworks doesn't seem to recognise it - I can't seem to find if there's some package I'm meant to be using I don't know about to make the command work, anyone able to help?
mickep
Lusule: no package is usually needed for figure (what documentclass are you using). However, you need graphicx package to include graphics.
Lusule
mickep i included graphicx, i'm using scrlttr2 doc class
mickep
Lusule: so, what error do you get?
maybe the scrlttr2 does not have a figure environment.
Lusule
Environment figure undefined
mickep
Ok, then that is probably the case.
Lusule
hmm how would be the best way to insert a graphic in a letter then?
mickep
I guess you can define a new floating (graphics) via the graphicx package.
(I guess that the thinking is that it is not so common with figures in a letter, at least not figures that you refer to. However, I do not agree fully...)
marcellus
too many classes anyway
Lusule
well what i'm writing is more of a report sandwiched in between the two ends of a letter i guess ><
mickep
Lusule: Then I suggest that you switch to scrreprt or something similar.
Lusule
but then i can't put in the addresses and signing off and stuff
yaaay figured it out with captions and all :)
elbryan
is possible to write a textbox in latex?