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 ...
Search found 2313 matches
- Mon Sep 09, 2013 2:56 pm
- Forum: Text Formatting
- Topic: Boxed Theorem Head
- Replies: 2
- Views: 8398
- Mon May 30, 2011 12:06 am
- Forum: Text Formatting
- Topic: Definitions in LaTeX
- Replies: 4
- Views: 5501
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).
- Wed Mar 16, 2011 4:24 am
- Forum: Text Formatting
- Topic: Two columns, both left justified
- Replies: 3
- Views: 3410
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 ...
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 ...
- Wed Mar 16, 2011 12:43 am
- Forum: Page Layout
- Topic: Changing the table of contents indent of appendices
- Replies: 4
- Views: 11807
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 ...
\documentclass{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcounter{mysection}
\renewcommand\themysection ...
- Tue Mar 15, 2011 9:10 pm
- Forum: Page Layout
- Topic: Changing the table of contents indent of appendices
- Replies: 4
- Views: 11807
Re: Changing the table of contents indent of appendices
Hi,
Which document class are you using?
Which document class are you using?
- Tue Mar 15, 2011 6:51 pm
- Forum: Text Formatting
- Topic: Caption for an itemized List
- Replies: 2
- Views: 9068
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 ...
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 ...
- Tue Mar 15, 2011 3:12 am
- Forum: Text Formatting
- Topic: Headers when non-numbered chapter
- Replies: 2
- Views: 3100
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 ...
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 ...
- Tue Mar 15, 2011 2:47 am
- Forum: Graphics, Figures & Tables
- Topic: vertical space using multirow
- Replies: 2
- Views: 5420
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{8 ...
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{8 ...
- Mon Mar 14, 2011 2:13 pm
- Forum: Page Layout
- Topic: Reference numbering with a list of Figures
- Replies: 4
- Views: 10387
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:
Code: Select all
\caption[Here's the caption without citation]{Here's the caption with a cite to~\cite{key}}
- Mon Mar 14, 2011 2:10 pm
- Forum: Text Formatting
- Topic: How are underscore and inequality signs inserted in LaTeX?
- Replies: 9
- Views: 53533
How are underscore and inequality signs inserted in LaTeX?
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 \textgreater and ...
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 \textgreater and ...