Search found 22 matches

by sombrancelha
Fri Aug 31, 2012 12:36 am
Forum: Text Formatting
Topic: Undefined control sequence: $\text
Replies: 2
Views: 20199

Re: Undefined control sequence: $\text

Duh, I should have realized it was a missing package! Thanks!
by sombrancelha
Fri Aug 31, 2012 12:21 am
Forum: Text Formatting
Topic: Undefined control sequence: $\text
Replies: 2
Views: 20199

Undefined control sequence: $\text

Hello,

I have just performed a clean installation of Kile + TexLive and when I tried inserting text inside math mode, through the \text command, it didn't compile and gave me the error:
Undefined control sequence: $\text
Any idea on what can be wrong? All I did was as simple as

Code: Select all

$\text{abc}$
by sombrancelha
Sun Aug 22, 2010 3:28 pm
Forum: Graphics, Figures & Tables
Topic: Box and tabular
Replies: 5
Views: 3851

Box and tabular

Thank you, I tried typesetting my first proof, and it was a bit unaligned, so I changed the \mylineboxunder command. However, the justification still looks weird, it's not aligned nicely (lines 1 and 2) and the spacing isn't good either (line 11)


\documentclass[]{article}
\usepackage{KMcalc ...
by sombrancelha
Sun Aug 22, 2010 2:06 am
Forum: Graphics, Figures & Tables
Topic: Box and tabular
Replies: 5
Views: 3851

Re: Box and tabular

I'd prefer if the justification was inside the boxes. But thanks for the tip on KMcalc.
by sombrancelha
Sat Aug 21, 2010 7:26 pm
Forum: Graphics, Figures & Tables
Topic: Box and tabular
Replies: 5
Views: 3851

Box and tabular

Hello,

How can I achieve a result similar to the image below?

Image

I tried a mixture of boxes and tabular, but the box didn't allow the tabular enviroment.

Thank you
by sombrancelha
Sun Jun 27, 2010 7:05 pm
Forum: Page Layout
Topic: Set Margin different for the first Page
Replies: 1
Views: 1796

Set Margin different for the first Page

Hello,

I am configuring the layout of my page the following code:

\documentclass[11pt,a4paper,landscape,twoside]{article}
\usepackage[vmargin=2.2cm,hmargin={8cm,2cm},columnsep=1cm]{geometry}

However, I want, for the first page only, to use different horizontal margins (2cm for both sides). Is ...
by sombrancelha
Tue Jun 22, 2010 10:42 pm
Forum: Graphics, Figures & Tables
Topic: \section* and \tableofcontents
Replies: 5
Views: 3634

Re: \section* and \tableofcontents

Thanks! This solved it!
by sombrancelha
Tue Jun 22, 2010 10:17 pm
Forum: Graphics, Figures & Tables
Topic: \section* and \tableofcontents
Replies: 5
Views: 3634

\section* and \tableofcontents

Writing the name of the section in the \addcontentsline command would be exhaustive and boring in a long document as mine. What I've done is define \Section (I've also formatted to suit my needs) and use it instead:

\newcommand{\Section}[1]{\clearpage % put new chapters on a new page ...
by sombrancelha
Tue Jun 22, 2010 10:02 pm
Forum: Graphics, Figures & Tables
Topic: calendar package + custom vertical alignment
Replies: 1
Views: 2377

calendar package + custom vertical alignment

Hello,

I'm using the calendar package to create a monthly calendar.

This is what it looks like:

dates.cld:
July 2 2010 to July 29 2010 {}

events.cld:

range dates {}
2 july 2010 {item at top}
2 july 2010 {item at center}
2 july 2010 {item at bottom}


calendar.tex:

\documentclass[10pt ...
by sombrancelha
Tue Jun 22, 2010 4:59 am
Forum: Graphics, Figures & Tables
Topic: \section* and \tableofcontents
Replies: 5
Views: 3634

\section* and \tableofcontents

Hello,

I'm trying to make all \section*{} (and \subsection*{}) to appear in the \tableofcontents.

I tried using
\addcontentsline{toc}{section}{\rightmark}

but that only shows the page number in the Table of Contents.

Here's a MWE:

\documentclass[10pt,a4paper]{article}
\usepackage[utf8 ...