Search found 2313 matches

by gmedina
Mon Sep 09, 2013 2:56 pm
Forum: Text Formatting
Topic: Boxed Theorem Head Topic is solved
Replies: 2
Views: 2522

Re: Boxed Theorem Head Topic is solved

Two possibilities. The first one, using \ovalbox from fancybox : \documentclass{article} \usepackage{amsthm} \usepackage{fancybox} \makeatletter \newtheoremstyle{caja} {\topsep} {\topsep} {\itshape} {} {\bfseries} {} {.5em} {\ovalbox{\thmname{#1}~\thmnumber{#2}\@ifempty{#3}{.}{}\thmnote{ (#3).}}} \m...
by gmedina
Mon May 30, 2011 12:06 am
Forum: Text Formatting
Topic: Definitions in LaTeX
Replies: 4
Views: 1716

Re: Definitions in LaTeX

proof and \qed are already defined (when loading the amsthm package). To avoid conflicts between your definitions and the ones from amsthm, you need to use \renewenvironment (for proof) and \renewcommand (for \qed), or choose different names (Mproof and \Mqed, for example).
by gmedina
Wed Mar 16, 2011 4:24 am
Forum: Text Formatting
Topic: Two columns, both left justified
Replies: 3
Views: 782

Re: Two columns, both left justified

Hi, as you suspected, a table is the solution: \documentclass{article} \newlength\mylena \newlength\mylenb \setlength\mylena{\linewidth} \settowidth\mylenb{\textbf{Term Address}} \addtolength\mylena{-2\mylenb} \begin{document} text text text text text text text text text text text text text text tex...
by gmedina
Wed Mar 16, 2011 12:43 am
Forum: Page Layout
Topic: Changing the table of contents indent of appendices
Replies: 4
Views: 3198

Re: Changing the table of contents indent of appendices

Here's one possible solution, assuming that you are not using and will not use \paragraph . Copy the code between the %%%%%%%%%%%%%%% lines in the preamble of your document: \documentclass{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcounter{mysection} \renewcommand\themysection{\Al...
by gmedina
Tue Mar 15, 2011 9:10 pm
Forum: Page Layout
Topic: Changing the table of contents indent of appendices
Replies: 4
Views: 3198

Re: Changing the table of contents indent of appendices

Hi,

Which document class are you using?
by gmedina
Tue Mar 15, 2011 6:51 pm
Forum: Text Formatting
Topic: Caption for an itemized List
Replies: 2
Views: 735

Re: Caption for an itemized List

Hi, with the help of the caption package you can easily define a new type of caption (and a new List associated with it, also). A little example: \documentclass{article} \usepackage{caption} \DeclareCaptionType{exam}[Example][List of Examples] \begin{document} \listofexams \begin{enumerate} \item Fi...
by gmedina
Tue Mar 15, 2011 3:12 am
Forum: Text Formatting
Topic: Headers when non-numbered chapter
Replies: 2
Views: 724

Re: Headers when non-numbered chapter

Hi, you can use \markboth right after \chapter* : \documentclass[twoside,openany]{report} \usepackage{fancyhdr} \usepackage{lipsum} \pagestyle{fancy} \fancyhead{} \fancyhead[LE]{\raggedright\itshape\nouppercase{Name of the Book}} \fancyhead[RO]{\raggedleft\itshape\nouppercase{\leftmark}} \begin{docu...
by gmedina
Tue Mar 15, 2011 2:47 am
Forum: Graphics, Figures & Tables
Topic: vertical space using multirow
Replies: 2
Views: 1202

Re: vertical space using multirow

Hi, to add space above each row, you can use the \extrarowheight length: \documentclass{article} \usepackage{array,multirow} \begin{document} \begin{tabular}{|l|l|l|} \setlength\extrarowheight{4pt} \hline \textbf{Material} &\textbf{Significant pairs} &\textbf{p-value}\\[1ex] \hline \multirow...
by gmedina
Mon Mar 14, 2011 2:13 pm
Forum: Page Layout
Topic: Reference numbering with a list of Figures
Replies: 4
Views: 3319

Re: Reference numbering with a list of Figures

Use the optional argument of the \caption command to avoid references from appearing in the LoF or in the LoT:

  1. \caption[Here's the caption without citation]{Here's the caption with a cite to~\cite{key}}
by gmedina
Mon Mar 14, 2011 2:10 pm
Forum: Text Formatting
Topic: How are underscore and inequality signs inserted in LaTeX?
Replies: 9
Views: 26323

Re: How are underscore and inequality signs inserted in LaTe

I can't seem to just type in a solitary ">" without a complaint from my LaTeX text editor. And "\>" doesn't work either. If you load the fontenc package with T1 option as I suggested in my previous reply, you can simply type > and < without problems. Another option is to use \te...

Go to advanced search