Search found 19 matches

by eleanor
Mon Jul 30, 2012 12:24 am
Forum: Text Formatting
Topic: Don't split words on certain letters
Replies: 4
Views: 8281

Don't split words on certain letters

Hi, thanks for quick reply.

I'm already using:

\usepackage[slovene]{babel}


And from your answer I guess, this should be enough. But it isn't. The words are still splitted wrongly. A small example is the following code:

\documentclass[12pt,a4paper,openany]{book}
\usepackage{fancyhdr ...
by eleanor
Sun Jul 29, 2012 10:57 pm
Forum: Text Formatting
Topic: Don't split words on certain letters
Replies: 4
Views: 8281

Don't split words on certain letters

Hi,

I'm writing a document in latex. It's in my native language, Slovenian. And the rules for splitting words across multiple lines are a little bit different: the splitted word in new line should not start with letters: a,e,i,o,u and there are some other rules.

Is there any way to let Latex ...
by eleanor
Wed Aug 24, 2011 5:28 pm
Forum: General
Topic: LaTeX and Hevea
Replies: 0
Views: 1357

LaTeX and Hevea

Hi, I'm parsing my .tex documents using hevea (which translates a .tex document into .html).

I've defined the following command:

\newcommand{\picture}[2][] {
\ifhevea\begin{rawhtml}
<CENTER>
<DIV CLASS="surround">
<P CLASS="surround-text">\end{rawhtml}{#1}\begin{rawhtml}</P>
<IMG SRC="\end ...
by eleanor
Thu Jul 21, 2011 8:21 pm
Forum: Text Formatting
Topic: New Command with multiple optional Arguments
Replies: 6
Views: 12102

Re: New Command with multiple optional Arguments

Thank you. Works like a charm.
by eleanor
Wed Jul 20, 2011 11:10 pm
Forum: Text Formatting
Topic: New Command with multiple optional Arguments
Replies: 6
Views: 12102

New Command with multiple optional Arguments

Thank you, you've helped me. But I would still like to tweak it a little further. Currently I'm having the following code:

\documentclass{article}
\usepackage{keyval}
\makeatletter
\newcommand*\verbseta{aaa}
\newcommand*\verbsetb{bbb}
\define@key{verbset}{a}{\renewcommand*\verbseta{#1}}
\define ...
by eleanor
Wed Jul 20, 2011 9:56 pm
Forum: Text Formatting
Topic: New Command with multiple optional Arguments
Replies: 6
Views: 12102

New Command with multiple optional Arguments

Yes I already found that. But I don't thing this is relevant, since I'm only having a command like this:

Code: Select all

\verbset[a=aaa,b=bbb]
So my command code has to recognize the 'a' and 'b' part == key, and assign it the 'aaa' and 'bbb' == value.

So I would rather appreciate an example.
by eleanor
Wed Jul 20, 2011 9:34 pm
Forum: Text Formatting
Topic: New Command with multiple optional Arguments
Replies: 6
Views: 12102

New Command with multiple optional Arguments

Hi, I would like to create my own command like lstset.

The command would have the syntax:

Code: Select all

\verbset[a=first_arg, b=second_arg, ..., n=last_arg]
Where I could enter some arguments, which are all optional - like lstset.

How can I do the above.

Thanks in advance
by eleanor
Tue Jul 19, 2011 8:01 pm
Forum: Text Formatting
Topic: Redefine 'verbatim' Environment
Replies: 6
Views: 5013

Re: Redefine 'verbatim' Environment

Hello. Let me just say that I'm grateful for the answer, but this is not what I want. I would only like to change the definition of verbatim - not the actual code inside it.

Maybe I can define a command like this:
\verbset[a=first_arg, b=second_arg]

And use that inside the verbatim environment ...
by eleanor
Tue Jul 19, 2011 6:48 pm
Forum: Text Formatting
Topic: Redefine 'verbatim' Environment
Replies: 6
Views: 5013

Re: Redefine 'verbatim' Environment

So, can anybody help me?
by eleanor
Mon Jul 18, 2011 6:13 pm
Forum: Text Formatting
Topic: Redefine 'verbatim' Environment
Replies: 6
Views: 5013

Re: Redefine 'verbatim' Environment

Minimal example is example where you present the problem you're having in as little code as possible, so others can help you figure out the problem.

About your reply: I don't want to use listings or minted, I want to use my redefined verbatim - but it doesn't work now - because of the problem I ...