Search found 42 matches

by Willie
Fri Nov 18, 2011 2:02 am
Forum: LyX
Topic: Change Enumerate Label
Replies: 1
Views: 5447

Change Enumerate Label

Hello. I would like to change the enumerate labels in LyX from numbers (1,2,etc.) to letters((a),(b),etc.) right from the beginning.

I know that once I put for example
1. This is my first item
Then if I put 2.
and press alt+shift+right it exchanges the "2" into "a". However, I want the "a" to be ...
by Willie
Fri Oct 07, 2011 9:09 am
Forum: Text Formatting
Topic: Indentation inside a new Environment
Replies: 10
Views: 10139

Re: Indentation inside a new Environment

I have also posted this in tex.stackexchange, for further results and discussion of this.
http://tex.stackexchange.com/questions/ ... nvironment
by Willie
Thu Oct 06, 2011 11:46 pm
Forum: Text Formatting
Topic: Indentation inside a new Environment
Replies: 10
Views: 10139

Indentation inside a new Environment

You could change \leftskip in that environment, such as here, where you can see indentation across a page break:

\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\parindent0em
\parskip\baselineskip
\begin{document}
\blindtext[3]
\par
\begingroup ...
by Willie
Thu Oct 06, 2011 10:47 pm
Forum: Text Formatting
Topic: Indentation inside a new Environment
Replies: 10
Views: 10139

Indentation inside a new Environment

[…] The environment was not created solely for this purpose, but I want the presented text to be indented. […]
So please tell us for what purposes the environment is created. What is it for? What will it do? At the moment you only want indentation. For this single purpose you don't need a new ...
by Willie
Thu Oct 06, 2011 10:31 pm
Forum: Text Formatting
Topic: Indentation inside a new Environment
Replies: 10
Views: 10139

Re: Indentation inside a new Environment

Thanks, but I do want the indentation inside the environment. The environment was not created solely for this purpose, but I want the presented text to be indented. Is there a simple command to achieve that in the environment definitions? And how do I base my environment on a list if I want to? (btw ...
by Willie
Thu Oct 06, 2011 9:51 pm
Forum: Text Formatting
Topic: Indentation inside a new Environment
Replies: 10
Views: 10139

Indentation inside a new Environment


\documentclass[a4paper,10pt,english]{article}
\usepackage{babel}
\usepackage{blindtext}

\newenvironment{myEnv}{\addtolength{\parindent}{5cm}}{}

\begin{document}
\blindtext

\vspace{2ex}
Here is the new environment, with left margin the same as regular text:
\vspace{2ex}

\begin{myEnv ...
by Willie
Thu Oct 06, 2011 9:25 pm
Forum: Text Formatting
Topic: Indentation inside a new Environment
Replies: 10
Views: 10139

Indentation inside a new Environment

I want to use indentation in a new environment I created. However, I do want to enable page breaking inside the environment, so the the \minipage environment is not suitable choice for me.
How should I define the indentation?
I tried

\addtolength{\textwidth}{-5cm}%

and also

\addtolength ...
by Willie
Thu Oct 06, 2011 7:41 am
Forum: Page Layout
Topic: horizontal rule
Replies: 2
Views: 2785

Re: horizontal rule

great. thank you so much :-)
by Willie
Wed Oct 05, 2011 11:12 pm
Forum: Page Layout
Topic: horizontal rule
Replies: 2
Views: 2785

horizontal rule

I want to produce two horizontal rules as in the picture
I tried to use a \newline and a \vspace with negative height to compensate for the too-big space between text lines, but it doesn't work.

\documentclass{article}

\newcommand{\myline}{\noindent\rule{\textwidth}{2pt}\newline\vspace{-0.9 ...
by Willie
Mon Sep 26, 2011 9:08 pm
Forum: Graphics, Figures & Tables
Topic: tikz | Draw a Multiplexer
Replies: 4
Views: 6431

tikz | Draw a Multiplexer

It is available, I have MiKTeX and I have it installed without even knowing. Did you check within your packages?
For a quick check, try the folloing code:

\documentclass[a4paper,10pt,english]{article}
\usepackage{circuitikz}
\begin{document}
\begin{figure}[h]
\begin{circuitikz}
\draw (0,0) to ...