I need the word "Chapter" in the picture below to stop at bottom and top of the black square. The size of the letters in "Chapter" needs to be the same size as it is now, but I would like there to be eactra white space between each letter in the word.  \documentclass[oneside,10pt,oldfontcommands,standalone]{memoir}    \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{fix-cm}       \makeatletter \newcommand\HUGEr{\@setfontsize\Huge{50}{60}}  \makeatother    \usepackage{tikz} \makechapterstyle{box}{     \renewcommand*{\printchaptername}{}     \renewcommand*{\chapnumfont}{\normalfont\sffamily\HUGEr\bfseries}     \renewcommand*{\printchapternum}{         \flushright         \begin{tikzpicture}         \draw[fill,color=black] (0,0) rectangle (2cm,2cm) node[color=white]  (test) {};         \draw[color=white] (1cm,1cm) node { \chapnumfont\thechapter };         \draw[color=white] (-0.5,0) rectangle (-0.1,2) node[midway,rotate = 90,color=black] () {Chapter};         \end{tikzpicture}     }     \renewcommand*{\chaptitlefont}{\normalfont\sffamily\HUGE\bfseries}     \renewcommand*{\printchaptertitle}[1]{\flushright\chaptitlefont##1} } \chapterstyle{box}  \begin{document} \chapter{Introduction}   \end{document}
I have made a fancy title page using titleformat and tikz, but I now face the following problem. The \chaptertitlename command returns \chaptername or \appendixname. I would like to spread the letters of the text returned by \chaptertitlename to a given length.  For example I would like to be able to call: \mycommand{\chaptertitlename}{3cm} in order to space the letters of \chaptertitlename on a total length of 3cm. How to do that ?  EDIT: This example illustrates a nearly working thing:  \documentclass[11pt]{article} \usepackage{fontspec} \newcommand{\spreadletters}[2]{\makebox[#2][s]{#1}}  \begin{document} \spreadletters{m y w o r d}{3cm} \end{document}   How to convert myword to m y w o r d ?  EDIT 2: Can someone explain me why the first work and not the second one (and how to make it work) ?  \documentclass[11pt]{book} \usepackage{fontspec} \usepackage{seqsplit} \usepackage[explicit]{titlesec}  \newcommand{\spreadletters}[2]{\makebox[#2][s]{\seqsplit{#1}}}  \begin{document} \chapter{First} \spreadletters{myword}{10cm} \linebreak % This is working \spreadletters{\chaptertitlename}{10cm} % This is not working \end{document}
Why does $(x \to a) ≠ (x = a)$ , But $f(x \to a) = f(x = a)$ How to skip kernel update? Zero morphism does not depend on zero object I want to prove that zero morphism does not depend on zero object. Let a zero object $0 \in \mathcal{C}$.  I supposed that exists another zero object $0' \in \mathcal{C}$, and I considered $0: A \to B$ and also $$A \to 0 \to 0' \to B$$ But I don't know to prove that zero morphism $0: A \to B$ not does not depend on zero object. Can anybody give me a suggestion? Let $X(n)$ denote number of all permutations of $\left\{1,\ldots,n \right\}$ that have only cycles of even length. Let $Y(n)$ denote number of all permutations of the same set that have only cycles of odd length. Count $X(2n)-Y(2n)$.   I don't know even how to start. I counted this sum for $n=1,2,3$ and it seems that it is always equal to $0$, but it doesn't help with calculating it in general. Now let set $A$ be arbitrary. So set $A$ exists. Using axiom of pairing $\{A\}$ exists. And then using axiom of regularity, we can argue that $A \notin A$. So, there is some $x$ such that $x \notin A$. Is this a valid proof ? Thanks How to prove  $$\int_{0}^{\infty} \mathrm{e}^{-x^2}\, dx = \frac{\sqrt \pi}{2}$$ Converting FLV to MP4 Using FFMPEG and Preserving the Quality Im trying to use ffmpeg to convert my flv files to mp4 to play them on iOS devices but the converted video has a much worse quality than the original one.  Here is the command i use:  ffmpeg -i input.flv -ar 22050 output.mp4   I would really appreciate if someone could provide me with the best settings for flv to mp4 conversion. Is there a rule forbidding the use of “is” at the end of a sentence? Is there any justification for using “is” at the end of an English sentence, or is there a rule that forbids this? Why can't an enum value be fully qualified in a switch statement? i am making a boss battle for my minecraft adventure map, and using a mob spawned with commands as the boss. When the mob gets hit, some command blocks will give the player a potion effect, but I can't figure out how to activate the command block when the mob gets hit. I am in the latest snapshot (16w03a). please help me (the person who answers my question will be given credit for it in my map) The  says that public class SomeObject {   public void SomeOperation()   {     lock(this)     {       //Access instance variables     }   } }  is &quot;a problem if the instance can be accessed publicly&quot;. I'm wondering why? Is it because the lock will be held longer than necessary? Or is there some more insidious reason? Why is the QGIS map composer grid showing unreasonable lat/lon? I need to print a map with coordinates in the format of Degree, Minute and second. CRS is set to WGS 84 (EPSG 3857) for both layers and on the project properties it is set to enable transformation on the fly. But then, when in map composer I get the following coordinates, which make no sense to me. How to get text from an element , when getText fails I have the following element element(by.css(&quot;span[aria-label='Picker ID, TESTUSER']&quot;)  I want to assure the text on this filed is TESTUSER, so I tried:  expect(element(by.css(&quot;span[aria-label='Picker ID, TESTUSER']&quot;)).getAttribute('value')).toEqual('TESTUSER');  then I got the error: Expected null to equal 'TESTUSER' So I tried: element(by.css(&quot;span[aria-label='Picker ID, TESTUSER']&quot;)).getText().then(function (value) {         console.log(value);       })  And I got this error: Expected '' to be 'TESTUSER'.  How to get the value of this field and expect it is TESTUSER? Subscribing to questions and comments that don't belong to you There has been some discussion about getting notified on comments to questions or answers that don't belong to you, and the long-standing wish to be able to keep track of new answers or developments in questions asked by other people.  Previous discussion in regards to subscribing to questions:                  (very similar to this one)      In regards to subscribing to comments:                    The general feeling - at least here on meta - seems to be against broadening the notification rules, out of fears of useless notifications to flood users' inboxes, turning SO into more of a discussion forum than it should be, etc.   Here's a suggestion that would keep the user 100% in control what they get notified about, not generate any notifications by default, and require only minimal modifications to the User Interface.  Each question and each comment area would get an envelope symbol.    it is inactive (=white) by default.  When those envelopes are hovered over, the tooltip says click to subscribe or something.  When clicked on, the envelope lights up in green or some other colour (but different from the actual notification envelope's orange to avoid confusion.) You are then subscribed to any updates to that question or comment thread.    For each subscription, you receive notifications in the "responses" tab, as if you were the owner of the comment or question.     To unsubscribe from a question or comment thread, you open the page, and click the green envelope. It turns back white, and the notifications disappear from your responses tab (if technically possible - otherwise, there just won't be any new ones added.)    No further functionality, like managing subscriptions or anything, is necessary IMO. If the flood of notifications from a subscribed question starts to annoy you, you just open it and unclick the envelope. Done.   It would make it possible to leave a comment to a newbie's question and make sure their answer reaches you even if they don't know they need to address you using @username You could subscribe to those "oh, I'd like to know the answer to that" questions and receive active notification, instead of them getting forgotten in your favourites list You could subscribe to discussions you are interested in the outcome of, but don't want to participate in. It would (in my opinion) sort out a number of woes aired by many users in a good way, without adding annoyances to those who like the system just fine the way it is. It would not require a change in the visible layout. As far as I can see, the space the envelope would need to be is empty everywhere.   I don't know SO under the hood of course, but technically, the system would be doing what it's doing already, notify question owners of updates - just that the circle of internal "owners" would grow. How do I change the default file manager back to Nautilus? How to create python bytes object from long hex string? I want to implement an addition key layer, so that I can access non-alphanumeric keys without having to move my wrists.  I've been using Autokey for this purpose, but the experience was unsatisfactory: it had occasional lags and let original keystrokes slip into certain apps.  So I need a low-level solution. How to find and return a duplicate value in array If you have such a good way to do formatting in questions/answers why isn't it used for the "about me" section on the profile page?  It looks easy to make and adds just a little bit more consistency. The  was deleted last night by the Community user.    Normally, I wouldn't see an issue with this, but for this particular deletion, I can see three issues:   We try not to delete good content There are multiple upvoted answers We often use previous answers on Meta (as well as badly asked questions) to form the precedent (and to use as duplicates) when users ask questions like this in the future   On a personal note, I find it easier to link to one of my previous answers whenever possible.  This seems like a bug with the deletion algorithm, , the deletion algorithm should never delete questions with upvoted answers.  I'm going to go ahead and undelete it, but I'm bringing this up in case there was either:    A policy change A bug   So is it either of the above or something else?