Tag Info

Hot answers tagged

7

I think that using the sectsty package is simpler. Just add the following lines to your preamble \usepackage{sectsty} \renewcommand{\thechapter}{\Roman{chapter}} \chapterfont{\centering\MakeUppercase} MWE \documentclass[12pt]{book} \pagestyle{plain} \usepackage{amssymb,latexsym} \usepackage{amsmath} \usepackage{amsthm} \usepackage{sectsty} ...


5

There are many, many ways to achieve this. One possibility is tcolorbox using its raster library. The basic format is written quite easily. Every \tcbitem inside the tcbitemize environment fills one quarter of the page. The raster height can be set to a smaller value than \textheight, if not the whole page should be filled. Without too much decorations, ...


5

This is only a trial of a solution. The vwcol package/environment does not provide for a \columnbreak command as I've understood the manual. I've tried to 'build' the upper columns with a tabular and new column types for left and right aligned text. The spacings has to be changed of course. \documentclass[a4paper,12pt, landscape]{minimal} ...


5

Please test your code before posting. If I remove the obvious errors such as starting math mode with \[ inside the multline math environment then it mostly fitted on a page except for the first three long equations. iused gathered here for those, but split or aligned are alternatives. I also used align for the main list rather than multline and used ...


5

expl3 provides a host of formatting options via siunitx. The following should suit your needs: \documentclass{article} \usepackage{siunitx} \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff \newcommand*{\formatNumber}[2][]{\num[% round-mode=places,% Round output to specified number of places round-precision=3,% Round-precision is 3 ...


5

I know this question is old and surely OP doesn't need it anymore, but recently I had similar problem and I think my solution answers the question. First thing to note is that in Mathematica FrontEnd cells can have arbitrary styles. Each styles appearance is customizable by a stylesheet. With default stylesheet even most basic cell styles i.e. Input and ...


4

I suggest you load the siunitx package and create a dedicated macro, using the macro \num that's provided by the siunitx package, to achieve your formatting objectives. Note that rounding to two digits is performed automatically, as well as setting , (a comma) as the output decimal marker. As inputs, both , or . are OK as the decimal markers. ...


4

Here is a method using flowfram. If you use this, make sure to read the documentation as it re-engineers the output routine in ways you need to know about. The top of the page is split into 4 frames. The content of these frames will not flow into other parts of the page, so you need to make sure stuff fits else it will spill over and overwrite other parts ...


4

I'm not fond of long set descriptions like this, so I'll show also how I'd describe the set. The trick is to temporarily go in text mode. However the input (\lvert f^n(z) \rvert) \text{ is bounded}\} is awkward and I find it much better to use \text for the whole description, getting back in math mode inside it. \documentclass{article} ...


3

Here is another suggestion using scrlayer-scrpage for the header. \documentclass[oneside]{book} \usepackage{xcolor} \usepackage{blindtext} \usepackage[ automark, autooneside=false, markcase=noupper, headsepline, headwidth=\the\textwidth+12mm:-5mm, ]{scrlayer-scrpage} \clearpairofpagestyles \rehead{\leftmark} \lohead{\rightmark} \ohead{\pagemark} ...


3

To remove the dots for all sectioning levels, write the following lines in your preamble \makeatletter \renewcommand*{\numberline@numberformat}[1]{\ifstr{#1}{}{}{#1}} \ma‌​keatother MWE \documentclass{scrbook} \usepackage{polyglossia} %\usepackage{tocloft} %\setmainlanguage{ukrainian} \usepackage{etoolbox} \renewcommand*{\figureformat}{% ...


3

You can simply define a new environment subproof that mimics the behavior of proof but uses a filled square instead of the default one. \newenvironment{subproof}[1][\proofname]{% \renewcommand{\qedsymbol}{$\blacksquare$}% \begin{proof}[#1]% }{% \end{proof}% } You can even give it the optional argument as in \begin{subproof}[Subproof] so to print ...


3

Here is a crude way of implementing your requirement. It uses etoolbox to patch the macros responsible for creating the chapter headings. There are two macros, one for \chapter and one for \chapter*. In each of these macros, an adjustment is made to the chapter title (argument #1) as well as the horizontal alignment - changing from \raggedright to ...


2

I created \vstrike{} and used in on "7" and "93". I also redefined all your cancel routines to make them of uniform rule thickness and length, and going through the same intersection point. EDITED to demonstrate the Full Monty on "101". \documentclass[pdf]{beamer} \usepackage{stackengine,graphicx} \def\stacktype{L} \def\useanchorwidth{T} ...


2

Another option is the numprint package and its command \nprounddigits{}, which is switched off by \npnoround. Default language of numprint is German, and so are its default typographical conventions. You can switch to the language specified in option of the babel package by using the autolanguage option. If babel is not loaded, the autolanguage option makes ...


2

This uses \atxy{This page x}{alt page x}{y}{content} to place something at alternating locations on even/odd pages, and \updateText{content} to change the content. In this case, my content is a .5in x .5in colored box, which I change part-way through the document. Because my paper is 8.5 in wide, my this page x is 8in, while my alt page x is 0 in (for a ...


2

You can center the part by using sectsty and adding \usepackage{sectsty} \partfont{\centering} And to have things on new page, you have to add some \clearpage/\cleardoublepage (just to be safe) as I have marked in the code. \documentclass{article} \usepackage[english]{babel} \usepackage{mathtools} \usepackage{environ} \usepackage{sectsty} ...


1

You could use the KOMA-Script class option numbers=noenddot to suppress the end dots for all sectioning levels (and figures etc.) in mainmatter and TOC: \documentclass[numbers=noenddot]{scrbook} \usepackage{polyglossia} \usepackage{blindtext}% dummy text \begin{document} \tableofcontents \part{One} \part{Two} \blinddocument \end{document}



Only top voted, non community-wiki answers of a minimum length are eligible