Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
chrisr34000
Posts: 10 Joined: Mon Aug 15, 2011 9:40 pm
Post
by chrisr34000 » Tue Aug 23, 2011 11:44 pm
Hi!
I want to generate notes, without dots at the end.
My code was:
Code: Select all
\theoremstyle{remark}
\newtheorem*{bem}{Bemerkung:}
and the output is:
Bemerkung:.
I want to get rid of the period at the and tried:
Code: Select all
\theoremstyle{remark}
\theoremstyle{dotless}
\newtheorem*{bem}{Bemerkung:}
to no avail.
Do you know what I could try?
Chris
Last edited by
chrisr34000 on Wed Sep 21, 2011 12:11 pm, edited 1 time in total.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide : 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook : 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ : the first book about TikZ for perfect drawings in your LaTeX thesis
Stefan Kottwitz
Site Admin
Posts: 10350 Joined: Mon Mar 10, 2008 9:44 pm
Post
by Stefan Kottwitz » Wed Aug 24, 2011 7:00 pm
Hi Chris,
it's not clear which theorem package you are using, such as ntheorem, theorem, amsthm or thmtools ... so the best would be if you would show a small compilable example, which produces the undesired dot, so we could help to fix that.
Stefan
LaTeX.org admin
chrisr34000
Posts: 10 Joined: Mon Aug 15, 2011 9:40 pm
Post
by chrisr34000 » Thu Aug 25, 2011 6:29 pm
Hi!
Sure:
Code: Select all
\documentclass[a4paper, german, openright, 12pt]{report}
\usepackage{amsmath, amsthm, amsfonts, amssymb, amssymb, dlfltxbcodetips}
\usepackage{lmodern}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{float}
\usepackage[ngerman]{babel}
\usepackage{enumerate}
\usepackage{array}
\usepackage{pdfpages}
\usepackage{parskip}
\usepackage[right]{eurosym}
\usepackage[hyphens]{url}
\usepackage{makeidx}
\usepackage{multicol}
\usepackage[numbers, square]{natbib}
\usepackage{parskip}
\usepackage{fancyhdr}
\fancyhf{}
\fancyhead[L]{\bfseries \nouppercase \leftmark}
\fancyhead[R]{\bfseries \thepage}
\setlength{\headheight}{16pt}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.5pt}
\fancyheadoffset{\marginparwidth - 1.05cm}
\everymath{\displaystyle}
\setlength{\unitlength}{1cm}
\setlength{\oddsidemargin}{0.3cm}
\setlength{\evensidemargin}{0.3cm}
\setlength{\textwidth}{15.5cm}
\setlength{\topmargin}{-1.2cm}
\setlength{\textheight}{24.5cm}
\columnsep 0.5cm
\begin{document}
\theoremstyle{definition}
\newtheorem{mydef}{Definition}[section]
\newtheorem{satzdef}[mydef]{Satz und Definition}
\theoremstyle{remark}
\newtheorem*{bem}{Bemerkung:}
\newtheorem*{bsp}{Beispiel:}
\begin{bem}
~
\begin{enumerate}[(i)]
\item Test1
\item Test2
\end{enumerate}
\end{bem}
\end{document}
Stefan Kottwitz
Site Admin
Posts: 10350 Joined: Mon Mar 10, 2008 9:44 pm
Post
by Stefan Kottwitz » Thu Aug 25, 2011 8:22 pm
Hi,
with compilable minimal example you will get a solution, of course: define \thm@headpunct as : instead of the default dot. In your preamble you can write:
Code: Select all
\makeatletter
\g@addto@macro\th@remark{\thm@headpunct{:}}
\makeatother
\theoremstyle{remark}
\newtheorem*{bem}{Bemerkung}
Stefan
LaTeX.org admin