Search found 12 matches

by albinoblacksheep
Sun Mar 28, 2010 4:45 pm
Forum: Text Formatting
Topic: keep indenting for source code with verbatim?
Replies: 11
Views: 23730

Re: keep indenting for source code with verbatim?

Hi!

Thank you for the tip! I would have never found that without you I guess.
If anyone encounters the same problem as I did, here is the solution:

1) include the moreverb package: \usepackage{moreverb}
2) use \begin{verbatimtab}[4] and \end{verbatimtab}
3) C/C++/Flash... source code goes in ...
by albinoblacksheep
Sun Mar 28, 2010 3:09 pm
Forum: Text Formatting
Topic: keep indenting for source code with verbatim?
Replies: 11
Views: 23730

Re: keep indenting for source code with verbatim?

Hi!

When I use tabs for indenting (which is also the default when I copy-paste the source code) then indenting does not work.
When I manually delete the tabs and replace them with spaces it works!

Adding \usepackage{verbatim} and \usepackage{listings} does not change this behavior.

Well at least ...
by albinoblacksheep
Sun Mar 28, 2010 12:08 pm
Forum: Text Formatting
Topic: keep indenting for source code with verbatim?
Replies: 11
Views: 23730

keep indenting for source code with verbatim?

Hi!

Thank you both for your answers. I thought by saying "I get no indenting" and afterwards "still does not work" I made myself clear. However if that was not the case I am sorry. I didn't mean to be sloppy.

I tried both that you said. First I executed the command line:
cmd.png
Then I reduced ...
by albinoblacksheep
Sat Mar 27, 2010 8:06 pm
Forum: Text Formatting
Topic: keep indenting for source code with verbatim?
Replies: 11
Views: 23730

Re: keep indenting for source code with verbatim?

Hm... I still can't figure it out. Anyone any ideas? Please help me :)
by albinoblacksheep
Fri Mar 26, 2010 12:08 am
Forum: Text Formatting
Topic: keep indenting for source code with verbatim?
Replies: 11
Views: 23730

keep indenting for source code with verbatim?

No, unfortunately mine is not indented. (how do you add the pdf here?)

this is my log file generated:


This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded format=pdflatex 2010.1.6) 25 MAR 2010 23:05
entering extended mode
**MWE.tex
(MWE.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and ...
by albinoblacksheep
Thu Mar 25, 2010 8:37 pm
Forum: Text Formatting
Topic: keep indenting for source code with verbatim?
Replies: 11
Views: 23730

keep indenting for source code with verbatim?

Hello!

I want to add some source code to my document and keep the indenting for better readability. I saw that one can use \begin{verbatim} \end{verbatim} for doing so, however in my document that doesn't work. Do you have any hints why?

Here is my MWE:


\documentclass[a4paper,oneside]{scrbook ...
by albinoblacksheep
Sun Mar 14, 2010 10:55 am
Forum: Graphics, Figures & Tables
Topic: Referencing to figure 1.1 => 1.1.1
Replies: 2
Views: 5432

Re: Referencing to figure 1.1 => 1.1.1

Great, thanks a mill!
by albinoblacksheep
Sat Mar 13, 2010 1:26 pm
Forum: Graphics, Figures & Tables
Topic: Referencing to figure 1.1 => 1.1.1
Replies: 2
Views: 5432

Referencing to figure 1.1 => 1.1.1

Hi!

In subsection 1.1.1 I want to use the \ref command to reference to a figure.
Basically it works fine, the only problem is in the figure's label Latex puts "Figure 1.1.: description " (because its the first figure in Chapter 1, section 1, but inside the text it puts: "see Fig. 1.1.1."

here is ...
by albinoblacksheep
Sat Mar 06, 2010 12:48 am
Forum: BibTeX, biblatex and biber
Topic: Miktex+Texmaker+Bibtex=giving me a hard time
Replies: 6
Views: 10749

Re: Miktex+Texmaker+Bibtex=giving me a hard time

Thanks so much!

I re-installed miktex, updated to the newer version 2.8 - but still didnt work.
But in the Bibtex folder I found that tha plain.bst existed, so I changed \bibliographystyle{abstract} to \bibliographystyle{plain} and now it works. Will search for the abstract one tomorrow, now its ...
by albinoblacksheep
Fri Mar 05, 2010 11:19 pm
Forum: BibTeX, biblatex and biber
Topic: Miktex+Texmaker+Bibtex=giving me a hard time
Replies: 6
Views: 10749

Miktex+Texmaker+Bibtex=giving me a hard time

Hmmm...

I removed the bibtotoc - no improvement, except the warning is gone.
There is a .blg file created, looks suspicious:

This is BibTeX, Version 0.99cThe top-level auxiliary file: MWE.aux
I couldn't open style file abstract.bst
---line 10 of file MWE.aux
: \bibstyle{abstract
: }
I'm ...