\providecommand{\makenomenclature}{\makeglossary}
\makenomenclature
\usepackage{varioref}
-\usepackage{prettyref}
\usepackage{splitidx}
\makeindex
-
+\newindex[Index]{idx}
+\newindex[new]{new}
+\newindex{test}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{xargs}
\usepackage{amssymb}
\usepackage{color}
\usepackage[ps,mover]{lyxskak}
+\usepackage{tipa}
+\usepackage{tipx}
+\usepackage{tone}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
+% Load refstyle before prettyref so that prettyref wins.
+% The real refstyle tests are in test-refstyle-theorems.tex.
+\usepackage{refstyle}
+\AtBeginDocument{\providecommand\secref[1]{\ref{sec:#1}}}
+\usepackage{prettyref}
+
\def\mycommand{\textquestiondown}
\begin{document}
reference~\eqref{lab:test} (from amsmath package), or varioref's
equivalents~\vref{lab:test} and~\vpageref{lab:test}, without
forgetting pretty references like~\prettyref{lab:test}.
+The command \secref{lab:test} will be parsed in ERT, since LyX
+does not support refstyle and prettyref natively at the same time.
\section{Cites\index{Cites}}
An URL: \url{http://www.lyx.org} \nomenclature{URL2}{uniform resource locator}
+An URL with strange characters: \url{http://www.lyx.org/percent%dollar$}
+
link:\href{http://www.test.test}{www.test.test}
link2:\href{http://www.test.test}{http://www.test.test}
\subsection{TIPA}
-\textipa{[@n I\textscriptg "zA:mpl]}
-
-\textipa{[@n Ig"zA\textcolor{red}{:m}pl]}
-
+\begin{IPA}
+\textsubring{e}
+\r{e}
+\textsubwedge{e}
+\textsubumlaut{e}
+\textsubtilde{e}
+\textseagull{e}
+\textsubbridge{e}
+\textinvsubbridge{e}
+\textsubsquare{e}
+e\textsuperscript{h}
+\textsubrhalfring{e}
+\textsublhalfring{e}
+\textsubplus{e}
+\=*{e}
+\b{e}
+\"{e}
+\textovercross{e}
+\s{e}
+\textsyllabic{e}
+\textsubarch{e}
+e\textrhoticity
+e\textsuperscript{w}
+e\textsuperscript{j}
+e\textsuperscript{\textgamma}
+e\textsuperscript{\textrevglotstop}
+\textsuperimposetilde{e}
+\textraising{e}
+\textlowering{e}
+\textadvancing{e}
+\textretracting{e}
+\~{e}
+e\textsuperscript{n}
+e\textsuperscript{l}
+e\textcorner{}
+\H{e}
+
+\`{e}
+\={e}
+\'{e}
+\textdoublegrave{e}
+\v{e}
+\^{e}
+\texthighrise{e}
+\textlowrise{e}
+\textrisefall{e}
+\u{e}
+\end{IPA}
+
+\textipa{pbtd\:t\:dc\textbardotlessj k\textscriptg q\;G}
+\textipa{PmMn\:n\textltailn N\;N\;Br\;RR}
+\textipa{\:rFBfvTDszSZ\:s}
+\textipa{\:zçJxGXK\textcrh QhH\textbeltl{}}
+\textipa{\textlyoghlig V\*r\:Rh\textturnmrleg l\:lL\;L}
+
+\textipa{\!o|!\textdoublebarpipe ||\!b\!d\!j\!g\!Ge'}
+
+\textipa{iy1\textbaru W\textcolor{red}{uIY}Ueø987o@E½3\textcloserevepsilon 2Oæ5a\textscoelig A6}
+
+\textipa{\*ww4\;H\textbarrevglotstop\textbarglotstop C\textctz\textturnlonglegr\texththeng \texttoptiebar{ar}\textbottomtiebar{tz}}
+
+\textipa{:;e\textprimstress\textsecstress \textvertline{}\textdoublevertline{}.\t*{ }}
+
+\textipa{\tone{55}\tone{44}\tone{33}\tone{22}\tone{11}\textdownstep\textupstep \tone{15}\tone{51}\tone{45}\tone{12}\tone{454}\textglobrise \textglobfall{}}
+
+TIPA code in math:
+$\textipa{\tone{55}|\text{\!b{}\!d{}\!g{}\!G{}\textglobfall{}\textvertline{}\textdoublevertline{}}}$
\subsection{Line breaks\sindex[breaks]{Line breaks}}
\bibliography{xampl}
-normal index:
+undefined index:
\printindex{}
+index "idx":
+
+\printindex[idx]{}
+
+index "new":
+
+\printindex[new]{}
+
+subindex "new":
+
+\printsubindex[idx]{}
+
+index of all indices:
+
+\printindex*{}
+
+subindex of all indices:
+
+\printsubindex*{}
+
normal nomenclature:
\printnomenclature hello