IRC Archive / Freenode / #latex / 2010 / March / 24 / 2
hellyeah
!l = 5 * 2/(s+1)^2+2^2 + 2* s+1/(s+1)^2 + 2^2
TeXbot
hellyeah: Compilation Error! --> http://www.tlhiv.org/TeXbot/l2log.cgi?IpxPAEtw
hellyeah
!l \begin{align} = 5 * 2/(s+1)^2+2^2 + 2* s+1/(s+1)^2 + 2^2 \end{align}
TeXbot
hellyeah: http://www.tlhiv.org/TeXbot/l2.cgi?J2xKS7wA
hellyeah
yeah thats also true
sicnar
How do I have my listings numbered, like equations are numbered (not the line numbers within the code).
?
hellyeah
!l \begin{align}= 5L^{-1} [2/(s+1)^2 +2^2] + 2L^{-1} [s+1 / ((s+1) ^2) +2^2]\end{align}
TeXbot
hellyeah: http://www.tlhiv.org/TeXbot/l2.cgi?qSkIvtTj
hellyeah
!l 5e^{-t}\sin2t + 2e^{-t}\cos2t \quad \text{for t \geq 0}

TeXbot
hellyeah: Compilation Error! --> http://www.tlhiv.org/TeXbot/l2log.cgi?N2dyrQsc
hellyeah
!l 5e^{-t}\sin2t + 2e^{-t}\cos2t \quad \text{for t \<= 0}
TeXbot
hellyeah: Compilation Error! --> http://www.tlhiv.org/TeXbot/l2log.cgi?reYr0Lwf
hellyeah
\begin{align}!l 5e^{-t}\sin2t + 2e^{-t}\cos2t \quad \text{for t \geq 0} \end{align}
TeXbot
hellyeah: Compilation Error! --> http://www.tlhiv.org/TeXbot/l2log.cgi?THFTdL2X
hellyeah
\begin{align}!l 5e^{-t}\sin2t + 2e^{-t}\cos2t \quad \text{for t <= 0} \end{align}
TeXbot
hellyeah: Compilation Error! --> http://www.tlhiv.org/TeXbot/l2log.cgi?9XMLv4BZ
hellyeah
\begin{align} 5e^{-t} \sin2t + 2e^{-t}\cos2t \end{align}
!l \begin{align} 5e^{-t} \sin2t + 2e^{-t}\cos2t \end{align}
TeXbot
hellyeah: http://www.tlhiv.org/TeXbot/l2.cgi?pK067A1J
hellyeah
!l \begin{align} 5e^{-t} \sin2t + 2e^{-t}\cos2t \quad \text{for t \geq 0} \end{align}
TeXbot
hellyeah: Compilation Error! --> http://www.tlhiv.org/TeXbot/l2log.cgi?XYQHIt1m
sobczyk
hi is there an easy way to include CJK characters in utf-8 documents?
gwniobombux
hi, i'm using \insertverticalnavigation in my beamer theme. but links to sections do sometimes work and sometimes they just skip a section. is this a known problem?
hiwk
gwniobombux: I don't think so, so if you want help ,,sample
fsbot
sample -- 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.
hiwk
(from someone, I can't promise I will be able to spot the error)
sicnar
I'll help.
gwniobombux
i'm quite stumped, to boil down what i have been doing to a mwe, but it appears, that the examples that come with latex-beamer do have the same problem
sicnar
gwniobombux: You get that thing hiwk sent'cha?

gwniobombux: Post a sample of your source code so we can all see.
gwniobombux
well which source code, you mean all the .sty files and the main.tex?
hiwk
gwniobombux: assume that we have the beamer package and such, so just a minimal .tex showing your problem
brownies
how can i modify the amount of vertical space automatically introduced by the \subsection and \subsubsection commands?
hiwk
brownies: titlesec package
brownies: and then \titlespacing*{ command }{ left }{ beforesep }{ aftersep }[ right ]
brownies: eg. \titlespacing*{\subsection}{0ex}{1ex}{0ex}
brownies
hiwk: ok, i imported the package and used that exact command. but now my doc errors out on the first \section command? (it does it even if i just import the package and do nothing else)
hiwk
brownies: ,,sample
fsbot
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.
brownies
hiwk: http://pastie.org/884396
hiwk: sorry http://pastebin.tlhiv.org/NPGJ8K30
hiwk
brownies: wierd. I cut that line from a working document, I'm playing with it now
brownies
hiwk: cool, thanks. yeah i found almost the exact same line in an article just now too =/
hiwk
brownies: ah, the package seems to be colliding with amsart
if I change amsart to article, it works
brownies
hiwk: ah strange. but simple enough. thanks!
hiwk
brownies: never used amsart. if switching to article is good enough, do that, otherwise you'll have to ask somwone else
brownies
hiwk: not a big deal. amsart is just the default in my software's templating
but now a new problem... how can i just eliminate the newline after a subsection heading?
because that's the major difference between amsart and article for me
ah it's just another titlesec command =)
thrope
Hi - I have an equation X = A + B + C + D .... I would like to overbrace B + C and underbrace C + D - how to do?
hiwk
thrope: this is not a good solution, but an ugly hack is !l $X = A + \overbrace{B + C}^{foo} \hspace{-2ex}\underbrace{\phantom{C} + D}_{bar}$
TeXbot
hiwk: http://www.tlhiv.org/TeXbot/l2.cgi?Nz3a8fJe
thrope
hiwk: thanks thats great
i found something on a forum post similar but it used a makebox with a phantom and i couldnt get it to work
hello, I have a question about writing to a file with write18. I currently have the following, but instead of printing the value of the counter in the outfile, it prints the latex code literally.
\immediate\write18{/bin/echo -E '\detokenize{SCR \reqlistvar \arabic{SCRcounter} #1 }' >> outfile.tex}
which should print " SCR ADD 37 arguments " to outfile.tex
can anyone help?
hinogi
is that some ConTeXt stuff ?
no, I
I'm using kile under linux
but should work in any editor that has write18 enabled
hinogi
do you also need the shell-escape option?
yeah
the code executes correctly, only it doesn't evaluate the counter command
hinogi
no idea
it writes: 0 SCR \reqlistvar : \arabic {SCRcounter} to the file.
hmm ok
dreamtheater
Is there anything I can do if the circle above an A in \AA in font 'iwona' is not centered at the tip of the A?
hinogi
in normal text or math?
dreamtheater
hinogi: Normal text and math
,,sample
fsbot
dreamtheater, I think 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.
dreamtheater
http://pastebin.tlhiv.org/P2jF6yVB
It looks quite strange and if I use \mathring, the circle is too high above the A (it doesn't touch)
If I can't resolve this, I'll have to use picometers instead of Angstroms ;o)
hinogi
you could also just use another font :P
toxygen
hello
i'm trying to use hyperref, but no matter what I do, links have no color, although they are clickable
any idea what could be going on?
sum_
toxygen: tere is something in the manual about colors, i think
timme
hi
hinogi
,hyperref
fsbot
I think hyperref is hyperref: hypertext marks in LaTeX. See http://www.ctan.org/get/macros/latex/contrib/hyperref/hyperref.pdf
dreamtheater
For consistency, I'll stick to iwona (I'really like that font, it's personal, you know... :oD )
hinogi
i like mathpazo more :P
timme
i'm trying to get fontspec to work (windows 7, miktex 2.8) but it doesn't find any fonts from the standard windows fonts folder. example: http://pastie.org/884721
BruceLeeds
hi, I would like to use a reference within the latex-document, but one that looks like hyperref.
how can I do that?
timme
brb, reboot
marcellus
,cs hyperref
fsbot
ftp://tug.ctan.org/tex-archive/macros/latex/contrib/hyperref/doc/manual.pdf
timme
back, sorry
gwniobombux1
hi, i'm writing a custom beamer theme. i defined my own outer theme, where i insert the logo in the upper right corner.
but now the logo shows up twice, it appears the beamerouterthemedefault is loaded, even though i don't seem to load it explicitly
timme
here's the .log output for the problem above: http://pastie.org/884740
BruceLeeds
marcellus: I don't understand how to use href for document-internal links...
marcellus
\ref
dreamtheater
gwniobombux1: How do you insert the logo?
gwniobombux1: And does it show in the upper right and the lower right?
gwniobombux1
dreamtheater: yes it shows in the upper and lower right, i use \logo in the tex file and \insertlogo in the style file
BruceLeeds
marcellus: But how am I able to have an customized text as link?
dreamtheater
gwniobombux1: Did you start writing the theme from scratch or did you use a base theme? I have a modified a theme from my university which has the logo in the upper right.
marcellus
,sample
fsbot
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.
gwniobombux1
dreamtheater: i used the shadow theme as the base theme which i modified, with parts from sidebar and split theme
BruceLeeds
did it: \hyperref[sec:whatever]{textToSee}
dreamtheater
gwniobombux1
dreamtheater: in the tex file i use \usetheme{myTheme} and in beamerthememyTheme.sty \useoutertheme{myOuterTheme}
dreamtheater
gwniobombux1: How does the \useoutertheme command in beamermyTheme.sty look? Maybe there are two of these commands?
gwniobombux1
dreamtheater: no, i just grepped, there is only one \useoutertheme
dreamtheater
gwniobombux1: And I suppose there's only one insertlogo in your beamerouterthememyTheme.sty ...?
Borbus
What do people use for doing simple diagrams like those found in Knuth's TAOCP for illustrating arrays and whatnot, I've been using TikZ/PGF but is there something simpler?
dreamtheater
Because the beamerouterthemesidebar.sty has the insertlogo command too.
gwniobombux1
dreamtheater: there is only one insertlogo in my outer theme
dreamtheater
I'm puzzled, sorry.
timme
does anyone have a XeTeX profile for TeXnicCenter? i'm unsure of which parameters it requires
dreamtheater
gwniobombux1: I don't know what your theme looks like, but maybe you want to try the one I'm using...?
gwniobombux1
dreamtheater: thanks for your help, my workaround for now is to copy the beamerouterthemedefault.sty to my working directory where i run pdflatex and comment out the logo part, it works, but it's obviously ugly
dreamtheater: thanks, but i think it's too different from mine
dreamtheater
gwniobombux1: OK, but I'm glad you found a solution.
mi33
hi
is it possible to print "%" comments ?
lereah_
\% ?
mi33
lereah_: No, i have a latex document with a lot of comments of the form % in it, now i want to print the compiled document with comments in it (for correction purposes)
I know that this is possible by using comment environments, but the comments are already in the form %... in the source code
TeXnicer
Hi!
I try to draw Objects in PStricks and want to use only \height and \width as dimension
my approach is
\newdimen[1-100]
all verticies calculated by hand
\setlength
I like to have something like
\psline(0,\height+\width)
but that fails...
drawing a 3D-box on my own I need to calculate approx 7 coordinates each stored in its own dimension (2x)
marcellus
I don't know if anyone here uses pstricks. TikZ and metapost though..
TeXnicer
marcellus: How would you add two values in TeX?
\value1 + \value2 doesn work
\advance\value1 by \value2 is not recommended in class writing
|Zz|
Hi
bremner_
TeXnicer: I don't know if you are just having fun, but sketch can generate the pstricks code for you.
or tikz
TeXnicer
bremner_: I do the code ...
and want to improve my style =)
thx
inclement
What was the name of the website that lets you draw a symbol and suggests LaTeX commands that you might mean?
mickep
detexify
inclement
Awesome, thanks
shabble
can anyone point me in the direction of reducing the top whitespace of hte \maketitle command?
faq and other internet entries suggest using the titling package, but I can't see quite how to use it to do what I want
mahamoti
how can i make my title span two columns when using twocolumn?
shabble
mahamoti: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=onecolabs might work
mahamoti
thanks. that works partially...not 100% :/
im tryin to use this with \documentclass[twocolumn,draft]{svjour3}
and what happens is \author{} seems to think its still in twocolumn mode
but the title and abstract look ok
shabble
hmm, not sure I'm afraid
I haven't done much with 2column, just came across that whilst trying to solve my own problem :)
mahamoti
yeah thanks for that
eporim
shabble: describe us what you want, so we can imagine a solution
shabble
eporim: I wanted to remove some of the default whitespace preceeding the title block when using article class
but I found it in the titling package: \setlength{\droptitle}{-80pt}
eporim
this will make you be more 'relative'
shabble
ah, ok
eporim
(and you can use N\onelineskip for the number of lines)
or \baselineskip
with N = 2, 3, 4, 5, ...
this will make the space dependent of font size
timme
is it possible to force a linebreak within \textsc{} ?
\textsc{foo \\ bar} throws an error
marcellus
why would you
timme
why wouldn't i?
for a narrow margin column, without linebreak the paragraph is pushed around
_llll_
!l \textsc{foo \\ bar}
TeXbot
_llll_: http://www.tlhiv.org/TeXbot/l2.cgi?1lpTV2gQ
_llll_
pebkac
timme
hmmm
_llll_
pretty bad idea to use \\ there anyway o course
timme
yea
not happy with it either
eporim
timme: try \\* if it exists globally
timme: or just break it in 2 \textsc
timme
eporim: tried with the 2 \textsc, but instead of stacking downwards the second one pushes the first one upwards
eporim
???
timme
the general layout is mesed up
i got the template a few hours ago and started fiddling with it just now
eporim
timme: tried {\scshape foo \\ bar} ?
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.
timme
i know marcellus
i haven't pinned down the problem yet though
so i can't paste a sample for anything :)