{formatting} is for general questions about formatting document elements. Use this tag in addition to other tags specifying what should be formatted. For questions about font attributes (e.g., {bold}, {italic}, {small-caps}, {sans-serif}, {typewriter}), use the appropriate tag instead.

learn more… | top users | synonyms

2
votes
1answer
50 views

Can we change something so that the chapter is at the left side?

Using the following commands: \usepackage[sf,sl,outermarks]{titlesec} \titleformat{\chapter}[display] {\bfseries\Large} {\filleft\MakeUppercase{\chaptertitlename} \Huge\thechapter} {4ex} ...
32
votes
6answers
1k views

Underline just words, not the space between them

I need to typeset a sentence such that just the words are underlined, and not the space between the words. Using the \underline will include the spaces between the words. I could do it with something ...
1
vote
0answers
83 views

Help with the latexrelease.sty and the pageslts package

I am new to this board as a questioner, however I really require help as I am quickly getting out of depth with the LaTeX code (which I understand only a little - I do my best). I am currently writing ...
5
votes
3answers
296 views

If Numbers Contain Zeros, Change to Dotted Zeros

MWE \documentclass[a4paper,11pt]{article} \usepackage{calculator} \usepackage{calculus} \usepackage{xlop} \usepackage{pst-node} %%%%%%%%%%%%% Dotted Zero \makeatletter \newcommand*{\pmzerodot}{% ...
1
vote
2answers
41 views

Always have \blacksquare box appear to right of page

In this MWE, I wanted to always have the \blacksquare box appear to the right of the page and one line below the last line of text. Here is my code: \documentclass[11pt]{book} ...
6
votes
2answers
86 views

Modifying what \part prints

I have uploaded a picture. I wrote \part{Functions from $\mathbb{R}^{n}$ to $\mathbb{R}^{m}$} and it printed what you see in the picture. However I just want it to be seen as I Functions ...
1
vote
1answer
65 views

Beamer: Adding bullets to Warsaw paletter

Is there a way to add bullets, as they are desplayed in list enviroments, in the 'list' shown in the paletter, as I believe it is called, of the Warsaw theme? Since I am not sure If I have explained ...
4
votes
2answers
108 views

How can I replace section* with subsection?

Every time I try to use Latex commands with asterisks in them the compiler says "Paragraph ended before \@sect was complete." I want to define \begingroup \let\section*=\subsection \endgroup ...
2
votes
0answers
49 views

How to avoid orphan line between two figures?

I have a annoying line between two fingers, I would like to avoid this: I have tried to change the paragraph location before the second figure, but even though I still have an orphan line at the ...
2
votes
2answers
46 views

increase the vertical space between rows of a matrix

\documentclass{amsart} \usepackage{amsmath}% \usepackage{amsfonts}% \usepackage{amssymb}% \begin{document} \begin{align*} \tau_A \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} ...
1
vote
1answer
36 views

why isn't this properly formatted using \item \LHEAD?

I followed the answer given by AboAmmar here by I get the following shape for my resume. Not sure why the items written in LHEAD show like that? %\documentclass[9pt,A4paper]{report} ...
2
votes
1answer
135 views

knitr - double spacing in an html document

If my knitr output was a pdf, then I can begin my document as follows to have the text double spaced: title: My Title author: "My Name" date: "Today's Date" header-includes: - ...
2
votes
0answers
61 views

Phd Book Styling Package [closed]

Have there been any updates on the usability of the phd package for book styling? A similar question here as well as the github repo for the package both indicate that it is still in its development ...
4
votes
1answer
122 views

Thesis Chapter Formatting

I have started trying to customise my thesis formatting. I am using the book document class. I've been able to follow some tips on here to get e.g. underlined chapter headings etc but I saw a really ...
5
votes
1answer
49 views

Is it possible to declare that the footnote number is right aligned but uses a dynamic width?

Our document has footnotes ranging from 1 to more than 100. I would like to see the footnote numbers right-aligned to the footnote text the space that is used for the footnote number should be ...
4
votes
1answer
38 views

Indention: Disable (Globally)

Problem Given the beamer class. Can I remove indention globally? \setlength{\parindent}{0em} didn't work out. Example Here's a minimal example: \documentclass{beamer} \begin{document} ...
3
votes
2answers
49 views

How to change the label and deitalicize expex example?

I have the following code: \documentclass[11pt]{article} \usepackage{CJKutf8} \usepackage[T1]{fontenc} \newenvironment{korean}{% \CJKfamily{mj}}{} \usepackage{expex} \begin{document} ...
0
votes
1answer
75 views

how to make only the chapter-titles to be in the middle of a new page

I am using Thesis.cls to write my thesis (From Easy Thesis tempalate). I wish to have the chapter title in a separate page and at the middle of the page. For that I browse the internet and I got ...
3
votes
1answer
83 views

Navigation Tree: Subsections

Problem Good evening everybody. Calling the beamer-class. Is it possible to have a navigation tree as shown in a sidebar in the header instead; i.e. showing all sections and subsections and ...
0
votes
0answers
8 views

lstlisting indentation versus editor-formatting [duplicate]

Whenever I use the listings package to typeset code, I encounter the problem that the way lstlistings work collides with the formatting my editor likes (I use vim). For instance, see this code: ...
0
votes
0answers
17 views

Getting the “c” in “McCallum” right in a title page [duplicate]

Here is a shortened version of the code. \documentclass[12pt]{amsart} \usepackage[alphabetic]{amsrefs} \usepackage{amssymb,amsmath,amsthm,mathrsfs,ulem,tikz, caption} \usepackage[alphabetic]{amsrefs} ...
2
votes
1answer
40 views

Suppressing the newline when entering an environment

Is there anyway to suppress the newline that is inserted when beginning an environment? For example, I would like \noindent{\bf 1.}\begin{verbatim}some code\end{verbatim} to appear as a single ...
4
votes
2answers
74 views

Bold Chapter bookmark entries in PDF-Reader except LOF

I would like to highlight all chapters except the appendix, table of figures and table of tables. I'm using the bookmark-package and I tried to set all entries at the level = 0 to bold and just to ...
2
votes
1answer
46 views

scrlttr2 - onehalfspacing in main body, singlespace in address

I'm writing a letter with scrlttr2 and I want the main body in \onehalfspacing. But even with \begin{onehalfspacing} TEXT BODY \end{onehalfspacing} the address is set in one-half spacing as well. ...
3
votes
1answer
66 views

How to fit the content of the cells in this table?

Well, surely this is a duplicate, but I have troubles with the alignment of a huge table. In fact my problem is to determine the width of each column properly, especially when the columns are narrow, ...
3
votes
1answer
89 views

Tikz inside a proof and enumerate environment

I am having a problem getting a tikz graph to correctly sit below the a) part of the problem in the solution: My code is as follows: \documentclass[12pt,leqno]{article} \usepackage{amsmath, amsfonts, ...
3
votes
1answer
69 views

lstlistoflistings is unformatted

I habe a problem to get a list of listings that looks like the normale table of figures or basically like any other list of anything. As I am not a tex or latex pro, i tried several packages and ...
2
votes
2answers
47 views

Three columns for only part of the page

Currently I'm working on a resume, but I'm having trouble getting the formatting I want. An example of what I'm trying to do can be seen here - however, I couldn't even get that to work right ...
0
votes
1answer
47 views

How to push text to the right of the page?

I'm writing a resume, and I want to put the city and year on the right side of the page after I type the company name. For example: Company X ____________________________________________________ ...
3
votes
1answer
70 views

Is it possible to remove parenthesis from single cref references?

I am using cleveref to crossreference everything. Sometimes I write the reference inline like eq.(1). That is fine. But when it is enclosed in parenthesis it turns out like (eq.(2)). Which is not so ...
0
votes
0answers
20 views

Citation of International Organisations [duplicate]

I am trying to create the following citation for my bibliography using the apacite package. International Monetary Fund (2014). International Monetary Fund, Annual Report on Exchange ...
0
votes
1answer
43 views

Font size of inline code-listings too small

I'm using the listings package and am satisfied with how my code listings look. The font in my inline-listings however is too small compared to the rest of the text. How can I only increase the font ...
1
vote
0answers
24 views

Bibliography clarity issue [closed]

I have quite an extensive bibliography and I am hoping for some help. All my entries within the bibliography are inconsistent. The commands used to generate the bibliography are as follows: %Loading ...
2
votes
1answer
27 views

How to do a sheet of problems with a big frame

I'm trying to do a collection of exercises of heat transfer and I want to put them into a good format of a sheet of problems. I want to put a big frame in each page and inside it the title of the ...
1
vote
2answers
78 views

Center Numbering Page in Koma-Script class in LyX

I am writing my thesis in LyX, using book koma-script document class. However, I need to make some changes in order my thesis fits to my university requirements. One of them is that the page ...
2
votes
1answer
31 views

Bolding numeric citations

Hi all I am cite sources in my report using the cite command: \cite{test} and I am using biblatex in Numeric mode: \usepackage[backend=bibtex, style=numeric]{biblatex} however I was hoping to ...
1
vote
0answers
38 views

Numbering Chapters and header issue

I am a complete newbie to latex so I apologise if the questions asked are straightforward, I am using the document class with fancyhd, with a documentclass of report. However when producing my report ...
1
vote
1answer
78 views

Format words starting with specific letter sequence

Is it possible to automatically format words starting from specific letter sequence? For instance, in the text "HalloWorld, HalloPeople, there is a nice day!" I want the whole words starting from ...
2
votes
1answer
42 views

gap between first and second tier of a list

i use the itemize environment in my document to make listings. since i don't want the listings to take so much space, i always use \itemsep-10pt. However the gap between the first and second level of ...
1
vote
0answers
48 views

How to make sections in longtable nomenclature

I am using a longtable in my nomenclature to auto-adjust the aligning to the widest label width and would also like to have sections of different types of entries similar to the one here where they ...
2
votes
2answers
96 views

Placing footnotes on header and footer

I need to print a poem which has a huge commentary. More or less, I will have three or four lines of text and the rest of the page will be filled by the commentary. I am asked if it's possible to ...
1
vote
1answer
27 views

Add an abstract for the appendix

I would like to add a small abstract to the appendix part of my thesis document. This appendix must be before the first appendix (Appendix A). The goal is to briefly describe the appendix as they ...
2
votes
1answer
60 views

lstlisting framed with the caption inside the frame

How do I made a lstlistings look like following? The best I could get was: The code for the second image is: \begin{lstlisting}[caption=id(in), frame=single] out <- in; return out; ...
1
vote
2answers
50 views

Formating caption figure

How does one create the following format in TeX: Raw figure: Raw text : If $μ=0$ and $σ=1$, the distribution is called the “standard normal distribution” or the “unit normal distribution” ...
3
votes
1answer
47 views

How to prevent line break within a (multiple) citation

I sometimes cite two or three references. When the citation is at the end of the line, latex inserts a line break. How can I prevent this from happening? I already tried what was suggested here ...
3
votes
1answer
135 views

Uniform number formatting

I am facing the problem that in a collaborative research paper there are several different number formats within the text, if the number is not pasted in math mode. For example: 10.000,00 or ...
1
vote
1answer
49 views

Punctuation after institution and recognizing thesis type in biblatex

I have two problems. I am trying to conform to the bibliography style for a thesis of my university. I decided to switch to biblatex+biber, since .bbl style files are a mystery to me. I want to ...
4
votes
2answers
104 views

Yet another section number question

There are a number of numbering questions asked, but I haven't found one that fits this particular need: 1. First section 1.1 Second level A. Third Level (italic) B. Third Level (italic) 2. ...
6
votes
2answers
86 views

Renewing the \thelstlisting command when hyperref is on

I'm trying to change the appearance of the cross-ref to a listing in the appendix, so that it prints as \textsc{a}.1, not just A.1. The redefinition ...
2
votes
0answers
51 views

How to create italic “in press”-year labels for in-text citations by modifying the bibtex style file

I'm looking for a way to add "in press" in italics into my bibtex-style file for publications for which a doi already exists. As I'm using a Natbib-AuthorYear reference style, I have to add this in ...