I was wondering if I could change the number that appears in my "\labelcref"? (I use hyperref, cleveref and nameref packages) More precisely, I'm writing a document where there are several sections which are composed by a few subsections. I wrote the code:  \renewcommand{\thesection}{\Roman{section}} \renewcommand{\thesubsection}{\arabic{subsection}}   So that my sections go by I,II,III,... and every subsection by 1,2,3,..(and not I.1,I.2,..).  But I'd like to have "see I.1" and not "see 1" (which could confuse the reader because it doesn't state in which section it is). My code looks like that:  \documentclass[10pt,a4paper]{article}  \usepackage[utf8]{inputenc} \usepackage[francais]{babel} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amsthm, thmtools}   \usepackage{amsfonts} \usepackage{amssymb} \usepackage{lmodern} \usepackage{soul}   \usepackage{mathrsfs}  \usepackage{enumitem}   \usepackage{xcolor}    \usepackage{hyperref, nameref, cleveref}  \begin{document}  \section {First} \subsection {one} \label{I.1} blablabla \subsection {two} blablabla \section {Second} \subsection {one} blablabla and see \labelcref{I.1} \end{document}   Thanks for any answer!
I would like to make cross references to own defined counter on environments. So far I have tried the following,   \documentclass{book} \newcounter{entryc}[subsection] \newcommand{\thetheorem}{\thesubsection.\arabic{entryc}} \newenvironment{qd}[1]{\refstepcounter{entryc}\noindent\textbf{Quasi Definition \thetheorem.}\begin{itshape}} {\end{itshape}} % \begin{document}  \chapter{First chapter} This is the first chapter.  \section{First section} This is the first section.  \subsection{First subsection} This is the first subsection.  \begin{qd}{}\label{qd:emp} This is my environment. \end{qd}  \noindent In quasi definition \ref{qd:emp} it \dots  \end{document}   What happens is that     But I would prefer "...In quasi definition 1.1.1.1". Do anyone have some suggestions of how solve this? and How to avoid the          \noindent  thing before the continuation of the text?   Additional information: if possible I would try to not use ntheorem.
Possible Duplicate:          I got two answers for the same question from different users and both of them correct and working perfectly, but I am unable to accept both of them. Why? There may be some questions that can be answered in several ways, but I can't here in Stack Overflow. Why? Relation between intensity of light and refractive index Better yet, are there any Spacewalk-like software packages that work for both RedHat-based and Debian-based systems? Blender 2.78 file size grows and does never shrink I made a huge project, wanted to reduce file size from 1.3GB to below 1GB. Compressing did not help. I removed objects from scene. Also textures. I then realized, the file size even was the same when I delete ALL objects. Why?  Download of sample:   Before deleting all: 1.2GB, after: 1.1GB. Prove that $n$ is a sum of two squares? Problem   Let $n = p_1.p_2.p_3 \cdots p_k.m^2$, where $p_1, p_2, p_3 \cdots p_k$ are distinct primes. Prove that n is sum of two squares if and only if $p_i$ is either 2 or $p_i \equiv 1 \pmod{4}$   For $p_i = 2$ , this is trivial case since $2m^2 = m^2 + m^2$. For $p_i \equiv 1 \pmod{4}$, I tried to use the fact that the product of a number of the form $4k + 1$ is also in this form. So I come up with: $$n = (4k + 1) \cdot m^2 = 4km^2 + m^2$$ Apparently, $m^2$ is a square, but I could not figure out how to prove $4km^2$ is a square, since k is in unknown form. Any idea?    Thanks, How to find unused/dead code in java projects Word for person who looks for flattery How to calculate polygon areas and perimeters using QGIS? For positive invertible operators $C\leq T$ on a Hilbert space, does it follow that $T^{-1}\leq C^{-1}$? Gradient borders SQL Coalesce in WHERE clause I'm trying to implement optional parameters in a stored procedure that I have but I am running into a problem. Here's a simplified query to illustrate the issue:  SET ANSI_NULLS OFF  DECLARE @MiddleName VARCHAR(20); SET @MiddleName = NULL;  SELECT * FROM [Customer] WHERE [LastName] = 'Torres' AND [MiddleName] = COALESCE(@MiddleName, [MiddleName])   When I run this query I need to get one row back because one Torres has NULL in the [MiddleName] column. But the query returns zero rows. Using IFNULL() produces the same result. From researching COALESCE, I was under the impression that NULL would be returned if all expressions are NULL. As I am not a SQL expert I assume that I am missing something, but what is it.....  Thanks in advance for any help. Help ID this plant, quite possibly a weed I found this plant near my South Indian home in , India. Most probably it could be some sort of weed. Anyhoo, is this plant of any medical or commercial value? Is it a remedy for something?   It has a white tap root with little veins off the main root It has a really small yellow flower It's leaves are similar to that of a clover, except for that it has three to five leaves        Merci d'avance!  (P.S. Forgive me if this is some very common plant that I should know about, I'm in 7th grade.) Read a file line by line in reverse order How can I make my browser lie about my operating system? I'm using Chromium (Version 30.0.1599.114 Ubuntu 12.10) under Linux. I'm trying to access  that claims that it doesn't work under Linux. Of course, this is most likely crazy since the web is platform-independent (unless they're using some kind of evil plug-in).  I've used a user agent switcher to supply a Windows user agent, but to no avail. Upon viewing the source, it appears that the site is using Javascript to determine the operating system. I'm looking for a way to get my browser to report in Javascript that it is Windows or MacOS.  Do you know how to do it? Ubuntu Software (Software Center) Crash - Ubuntu 16.04 What can I do to manage my phone's internal storage? g++ undefined reference to typeinfo Trying to find a Sci-Fi movie, probably from the 50's or 60's I’m trying to identify a movie I saw when I was very young.  It was a “Saturday Matinee” playing on one of the local stations, and I likely watched it in the late 60’s.  So I expect that the movie is from the 50’s or 60’s.  I watched it in black and white, but it could have been a color movie on a black and white set. I clearly recall a scene where scientists enter a lab and some see something move past them in a blur.  Later in the movie, they come upon themselves in the same lab where they appear to be frozen and not moving.  Then they notice that their “other selves” are moving, just almost inperceptibly slowly.  They are encountering themselves but at a completely different time scale. Unfortunately, I don’t recall much else about the movie, just the idea that they encounter themselves once with the others flashing past, and again seemingly not moving at all.  If this rings any bells with anyone, I’d love some pointers to try to track this movie down. How do I remove Ubuntu's password requirement? Does the canonical commutation relation fix the form of the momentum operator? For one dimensional quantum mechanics $$[\hat{x},\hat{p}]=i\hbar. $$  Does this fix univocally the form of the $\hat{p}$ operator? My bet is no because $\hat{p}$ actually depends if we are on coordinate or momentum representation, but I don't know if that statement constitutes a proof. Moreover if we choose $\hat{x}\psi=x\psi$ is the answer of the following question yes?  For the second one   $$(\hat{x}\hat{p}-\hat{p}\hat{x})\psi=x\hat{p}\psi-\hat{p}x\psi=i\hbar\psi, $$  but I don't see how can I say that $\hat{p}$ must be proportional to $\frac{\partial}{\partial x}$. I don't know if trying to see that $\hat{p}$ must satisfy the Leibniz rule and thus it should be proportional to the $x$ derivative could help. Or using the fact that $\hat{x}$ and $\hat{p}$ must be hermitian  Any hint will be appreciated.