{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

0
votes
1answer
24 views

Table columns out of sync in tabularx

I asked a very similar question yesterday that I thought I would be able to abstract into this problem but I can't. Here's an image of the table : Here's the code : \documentclass{article} ...
3
votes
2answers
34 views

Table cells are out of line / sync with each other, itemize

I'm trying to have a tabular section that has bullet points next to it. There might be a better way to go about this, but currently it seems as though the cells are out of sync (though this might be ...
0
votes
2answers
60 views

remove all empty pages

I want to remove all empty pages in my book. I tried \documentclass[openany]{book} , but page numbers changed and new chapters sometimes begins from an even numbered page. What I want is ...
3
votes
2answers
111 views

biblatex-biber: How to customize the order in the bibliography?

I am having difficulties with setting up the layout of my bibliography. I would like to have a numeric style which does a none sorting so its order is as it appears in the text. Plus I would like my ...
17
votes
5answers
474 views

Highlight every occurrence of a list of words?

In order to revise a draft, and identify related sections, I would like to identify similar words (by color of text, highlight, underline, or otherwise) according to topic. For example, I would like ...
0
votes
1answer
41 views

How to change theorem display citation style right after thmhead

I would like to change the display style of 'citation' in a theorem using 'book' class. For example, by default, it would display \begin{theorem}\cite{pS97} <theorem-content> \end{theorem} ...
1
vote
0answers
46 views

How do I place table below plot so that category matches axis ranges?

Here is something that I'm trying to do is to align my table with x-axis category or range so that column below the x range is corresponding of the data So As example is shown, I want to create ...
0
votes
1answer
19 views

Header Margins Shrunk When Importing Style in Parent DIrectory

I have a project directory of the nature: notes.sty class1/Index.tex class2/Index.tex classN/Index.tex and I'm trying to usepackage the notes style for the TeX files to keep them consistent. ...
0
votes
0answers
23 views

header in phd thesis is showing wrongly on the top of another chapter in alternate pages

I am writing phd thesis, I want an additional chapter before my first chapter which should be counted as zero. The following is the code where general introduction is my chapter 0 ...
0
votes
1answer
46 views

Center part title in Lyx

How can I, in tex code or directly in the Lyx GUI, put the part title in the center. e.g. instead of this: Part I Introduction and Background theory this: Part I Introduction ...
2
votes
1answer
61 views

Math Formula is too long exceeds column width

I have a formula below which is expected to be in an column. After compiled, it is too long and covers two column. How can I constrain it into only one column width? Thanks \begin{equation} f'(u,v) ...
3
votes
2answers
46 views

How to remove the unwanted vertical space?

I'm using Exam class to create solutions, but the flaign* environment does not align my equation with the \part. How do I make them align? \documentclass[a4paper, twoside, 12pt]{exam} ...
0
votes
1answer
45 views

Border of table does not fit together

In my latex file I want to create a table. My current code looks like the following: \begin{table}[htbp] \centering \begin{tabularx}{\linewidth}{|l|X|} \hline \multicolumn{1}{c}{{\bf \ul Type of ...
2
votes
1answer
42 views

Biblatex conditional punctuation depending on field value

I am using the style authoryear in Biblatex and I currently have a comma after the journal name as follows \DeclareFieldFormat{journaltitle}{#1, } The output I obtain is for example, Journal of ...
2
votes
1answer
43 views

How to make the author field bold, including the conjunction “and” in Biblatex? [duplicate]

I am using style = authoryear in Biblatex and I want to make all author names, including the conjunction "and" in bold. I have used the following commands ...
2
votes
3answers
69 views

Format: Center 2 lines

I would like to center two centered lines between them. Namely, I would like to center two bullet points and write to their right and to their left. Hope following image helps: Any help is highly ...
1
vote
1answer
110 views

How to move Beamer headline below frametitle?

I am creating my own Beamer theme based on the Berlin theme and what I want to do is to move the navigation bar below the frametitle, instead of the default position (i.e., top of page, above ...
1
vote
1answer
50 views

How should multiple time formats be used?

I want to have a command to display the current time in a few different formats, specifically, the following: 2015-05-15 15 May 2015 122200 2015-05-15T122200 I'm not sure how to do this properly ...
1
vote
0answers
17 views

Problems with acronym shortcuts (package: glossaries) [duplicate]

I am using the glossaries package to generate a nice list of acronyms. For often used acronyms I defined some shortcuts, e.g. \newcommand{\myshortcut}{\acrshort{myacronym}}. The acronym myacronym has ...
5
votes
2answers
185 views

How to make all quotes italicised

I want to italicise all the quotes in my paper. By that I mean that everything in the quote environment is italicised to help differentiate it from the main text. I've seen a few threads talking ...
4
votes
2answers
172 views

How to use Boondox calligraphic font in LaTeX without replacing \mathcal command

This is a follow-up question to a previous question I asked about how to use the Boondox calligraphic font alongside the standard \mathcal font. The solution involved getting the \mathalfa package ...
0
votes
0answers
56 views

Administrative Science Quarterly (ASQ) journal bibliography style in Biblatex

I am submitting a paper to the Administrative Science Quarterly (ASQ) journal, and I would like to format the bibliography according to their requirements using Biblatex. I am relatively new to ...
63
votes
7answers
32k views

Long underscore in LaTeX

In LaTeX, how would I make a long underscore? For example, Name _______ Signature _______
115
votes
10answers
26k views

Compile a LaTeX document into a PNG image that's as short as possible

I need to convert my LaTeX documents into PNG. The problem is, I also need the resulting image to be as short as possible (height-wise). I've tried latex followed by dvipng, but the result is always ...
5
votes
2answers
183 views

How to typeset numbers in scientific notation without using a dedicated package such as siunitx?

My thesis includes numbers such as, 9.368e-03, OR 9.368E-03, spread throughout the main text. I would like to typeset them in the form of a scientific notation such as - 9.683 x 10^-3. However, since ...
3
votes
2answers
253 views

How to add last name to page number in header?

Okay so I am writing a report where in the header, my teacher is requiring that I put both the page number and my last name in the upper-left hand corner of each page (excluding the title page). Now I ...
4
votes
1answer
197 views

Improve output format

Could someone take a look at this output in pdf form and tell me is there a way that I could avoid so much empty space at the end of pages 1 and 3? Apologies for sending ALL the code, but it's ...
1
vote
1answer
67 views

list all 3 to 5 author names in the first in-text citation using apacite

I use \usepackage{apacite} in the preamble (sublime 2 editor) and \bibliographystyle{apacite}. I did not have to manually install the apacite package. For in-text citations of 3 to 5 authors, I need ...
3
votes
2answers
44 views

Caption away from the figure

I have made a block diagram using the \framebox command. A large white space exists between the caption and bottom of the figure. How can I reduce it? Code: \begin{figure*}[!t] ...
0
votes
0answers
20 views

How to write multiple lines of text in a box created using \framebox in LaTex [duplicate]

I want to draw block diagram of a system. I used \framebox command to create blocks. But when I write long text inside the box it comes out of the boundaries of block. How can I write text in multiple ...
3
votes
2answers
122 views

Flushleft deletes the space between paragraphs

I would like to use \begin{flushleft} and \end{flushleft} to begin and end to align paragraphs to the left in ShareLaTex. However, I notice that when use those commands, they delete the blank space ...
2
votes
0answers
48 views

Latex in math blogging

I'm wondering if anybody has advice about using Latex in math blogs. I'm currently using WordPress, which out of the box supports Latex, but it's a bit of a nuisance. The biggest problem is that ...
0
votes
0answers
29 views

How to add Spell Check to Texworks [duplicate]

I am using Texworks and noticed that after downloading the program, I don't have the ability to use spell check. Any help?
1
vote
0answers
54 views

How to add a vertical block throughout whole page in poster?

I made a poster of my work using 'baposter' template. However, Professor told me it's better to make the poster using Institute template as follows (which I dislike). So my question is: how to ...
1
vote
1answer
36 views

How to change justification of chapter and chapter title?

I am using the report package for writing my project report. However, I need to make few changes in the report package in order to meet the university guidelines. Currently I am facing difficulties in ...
4
votes
2answers
158 views

Overbrace formatting in an integral

I'm trying to replicate some guidelines in the calculus book for my students to use as a reference, but the formatting is getting messed up. As you can see, there are several formatting issues. First ...
47
votes
4answers
20k views

Multiple footnotes at one point

I'm trying to create multiple footnotes referencing from one point, that look like this: lorem1,2 Searching for "multiple footnotes" shows up almost exclusively solutions for multiple references ...
1
vote
1answer
53 views

`every loglogaxis/.append style` not working in PGFplots

I'm trying to apply to scientific notation as constructed in Number format of ticks in log log axis won't change to scientific notation `a x 10^b`, 'a' real, 'b' integer to all ...
1
vote
2answers
102 views

Number format of ticks in log log axis won't change to scientific notation `a x 10^b`, 'a' real, 'b' integer

I'm trying to set the number format of the ticks in a loglogaxis to the scientific notation a x 10^b ($a \cdot 10^{b}$ in LaTeX, a a real number and b an integer), but it's not working. I use the ...
1
vote
1answer
33 views

Inline calculation gives `Could not parse input` error in PGFplots

The inline calculation exp(\tick) in PGFplots gives me a Could not parse input error when compiling the code \documentclass[margin=1cm]{standalone} \usepackage{pgfplots} \begin{document} ...
0
votes
2answers
46 views

Changing the position of the Chapter heading

I am trying to alter the chapter heading that is preset in the book template. I have found a style I like from Vincent Zoonekynd’s web-page, http://zoonek.free.fr/LaTeX/LaTeX_samples_chapter/0.html, ...
0
votes
2answers
47 views

Seeing Korean characters in the editor

I use a tex template that includes Korean characters. When I compile it, the PDF document displays the Korean characters correctly. Yet, the Texshop text editor displays some rubbish characters ...
2
votes
0answers
24 views

Automatic reformatting / style checking of input files? [duplicate]

Coming from Python land, one of the best tools is autopep8 and alike which automatically tweak the layout and spacing of your programs to fit the PEP8 code style guide. My basic question is: are ...
34
votes
2answers
3k views

Why Different Commands for Seemingly Similar Tasks?

Take a look at the following list: \textit, \it, \emph, \itshape, \mathit \textbf, \bf, \bfseries, \mathbf ... One might say, for instance, that: \mathbf and \mathit are for math mode, while the ...
111
votes
5answers
7k views

Consistent typography

When working with large documents, or even across multiple (smaller) documents, I often find that I forget which typographical consistencies I should stick to. With TeX being inherently consistent in ...
3
votes
1answer
46 views

Forcing \savebox to use correct mode

I found myself wanting to use a construct of the following type: \newsavebox{\mybox} \newcommand{\mycommand}[1]{\savebox{\mybox}{#1}\reflectbox{\usebox{\mybox}}} The problem is that I want the ...
3
votes
1answer
67 views

Underline / Overprint Section Header - Memoir Class

I have to write a long report in LaTeX and I'm using the memoir document class. I figured out how to change the color and make the section headings in upper case but I also would like to have an ...
0
votes
2answers
28 views

brackets and text should start at the same postion

I have the following document: \listfiles \documentclass[oneside,12pt]{scrartcl} \usepackage[ngerman]{babel} %\usepackage{amsmath} \usepackage[fixamsmath,disallowspaces]{mathtools} \begin{document} ...
3
votes
1answer
33 views

Suppress Termcal Class Numbering

I'm interested in suppressing the termcal class numbering. My Googlefu showed me that I can use the code \newcommand{\calprintclass}{\textbf{\small\theclassnum}} to change the formatting of the ...
0
votes
0answers
20 views

' and ^t to the left of a letter [duplicate]

There are times where I want, say, a superscript $t$ to the left of another letter to denote, say, the transpose of a matrix. Or, I might want to decorate a letter on the left with a prime, $'$, ...