Search found 6 matches

by c1b3rz
Thu Oct 10, 2013 3:56 pm
Forum: General
Topic: Redefine ToC entry style without packages
Replies: 8
Views: 7527

Redefine ToC entry style without packages

Well, found a solution :)

At first I tried

\let\stdl@section\l@section
\renewcommand*{\l@section}[2]{%
\stdl@section{\normalfont\normalsize\bfseries\uppercase{#1}}
{\normalfont\normalsize\bfseries\uppercase{#2}}}

Did the deal. The same could be done to subsection and subsubsecion ;) There is ...
by c1b3rz
Thu Oct 10, 2013 12:57 am
Forum: General
Topic: Redefine ToC entry style without packages
Replies: 8
Views: 7527

Re: Redefine ToC entry style without packages

Dear localghost,
I just cared enough to answer your question, although it was completely unrelated to my primary question.

If you want to be all bigot about this, let get things straight:

1 - I've searched the forum and nothing addressed, in any way, my doubt.
2 - Ergo, I had to post a new thread ...
by c1b3rz
Wed Oct 09, 2013 10:33 pm
Forum: General
Topic: Redefine ToC entry style without packages
Replies: 8
Views: 7527

Redefine ToC entry style without packages

How do your trials look like? Any good reasons against a package (also for customization of headings)?


I'm actually stuck right now.
What I'm writing now is kind of a "frankenstein", with pieces of code caught from here and there. I am not professional or LaTeX mastermind, so I just search for ...
by c1b3rz
Wed Oct 09, 2013 9:49 pm
Forum: General
Topic: Redefine ToC entry style without packages
Replies: 8
Views: 7527

Redefine ToC entry style without packages

I've redefined the section, subsection and subsubsection styles in my preamble as

\renewcommand\section{%
\@startsection{section}{1}
{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\normalfont\normalsize\bfseries\uppercase}%
}

\renewcommand\subsection{%
\@startsection ...
by c1b3rz
Thu Oct 04, 2012 4:55 pm
Forum: Math & Science
Topic: Inserting parenthesis in new math command
Replies: 1
Views: 2185

Inserting parenthesis in new math command

Say I want to create a new math command

Code: Select all

\newcommand{\mycmd}{\operatorname{mycmd}}
And I want the argument of it to be automatically put inside parenthesis, say:

Code: Select all

\mycmd{argument}
and I wish the output to be

Code: Select all

\mycmd{\left( argument \right)}
How should it be done?
by c1b3rz
Fri Sep 28, 2012 8:16 pm
Forum: LyX
Topic: How to use a custom LaTeX class in LyX?
Replies: 1
Views: 3108

How to use a custom LaTeX class in LyX?

Hello.
I'm writing my thesis, and my university offers a LaTeX template for it.
In my first search on how to do it, I've came across this website: http://www.briandalessandro.com/blog/how-to-use-a-new-latex-class-in-lyx/ . I've tried doing what it says (and indeed I can choose the new document class ...