I use Lyx 2.0.1 on Mac OS and the Theoreme (AMS) package.
My Question:
How can I make a List (like a toc) of Theoremes (and Definitions and...)? For those who want some Code:
Code: Select all
\begin{defn}
Definition...
\end{defn}
Code: Select all
\begin{defn}
Definition...
\end{defn}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Code: Select all
\usepackage{thmtools}
\renewcommand{\listoftheoremname}{List of theorems and definitions}
...
\listoftheorems[ignoreall,show={theorem,defn}]
Code: Select all
\usepackage{thmtools}
\renewcommand{\listoftheoremname}{List of theorems and definitions}
Code: Select all
\listoftheorems[ignoreall,show={theorem,defn}]
Code: Select all
\usepackage{thmtools}
Code: Select all
% Quellcode vorschauen
%% LyX 2.0.1 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength{\parindent}{0bp}
\synctex=-1
\usepackage{color}
\usepackage{babel}
\usepackage{array}
\usepackage{varioref}
\usepackage{float}
\usepackage{textcomp}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{makeidx}
\makeindex
\usepackage{graphicx}
\PassOptionsToPackage{normalem}{ulem}
\usepackage{ulem}
\usepackage[unicode=true,
bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
{hyperref}
\hypersetup{pdftitle={Mathematik I},
pdfauthor={Emanuel Schulze Pröbsting}}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\newcommand{\lyxmathsym}[1]{\ifmmode\begingroup\def\b@ld{bold}
\text{\ifx\math@version\b@ld\bfseries\fi#1}\endgroup\else#1\fi}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\numberwithin{equation}{section}
\numberwithin{figure}{section}
\numberwithin{table}{section}
\theoremstyle{definition}
\newtheorem{defn}{\protect\definitionname}[section]
\theoremstyle{definition}
\newtheorem{example}{\protect\examplename}[section]
\theoremstyle{remark}
\newtheorem{rem}{\protect\remarkname}[section]
\newenvironment{lyxlist}[1]
{\begin{list}{}
{\settowidth{\labelwidth}{#1}
\setlength{\leftmargin}{\labelwidth}
\addtolength{\leftmargin}{\labelsep}
\renewcommand{\makelabel}[1]{##1\hfil}}}
{\end{list}}
\theoremstyle{plain}
\newtheorem{prop}{\protect\propositionname}[section]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{color}
\definecolor{gray}{gray}{0.5}
\definecolor{darkgreen}{RGB}{0,100,0}
\definecolor{flida}{RGB}{255,0,255}
\usepackage{tikz}
\setlength{\parindent}{0pt}
\setlength{\parskip}{4pt}
\usepackage{lastpage}
\usepackage{thmtools}
\AtBeginDocument{
\def\labelitemii{\(\bullet\)}
}
\makeatother
\addto\captionsenglish{\renewcommand{\definitionname}{Definition}}
\addto\captionsenglish{\renewcommand{\examplename}{Example}}
\addto\captionsenglish{\renewcommand{\propositionname}{Proposition}}
\addto\captionsenglish{\renewcommand{\remarkname}{Remark}}
\addto\captionsngerman{\renewcommand{\definitionname}{Definition}}
\addto\captionsngerman{\renewcommand{\examplename}{Beispiel}}
\addto\captionsngerman{\renewcommand{\propositionname}{Satz}}
\addto\captionsngerman{\renewcommand{\remarkname}{Bemerkung}}
\providecommand{\definitionname}{Definition}
\providecommand{\examplename}{Beispiel}
\providecommand{\propositionname}{Satz}
\providecommand{\remarkname}{Bemerkung}
Code: Select all
\listoftheoremname
Code: Select all
\listtheoremname
Code: Select all
\renewcommand
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p