{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
0answers
25 views

Change reference style

I usually find references directly through Web of Science search in Endnote and make my references list. Then each Endnote record contains some unnecessary information such as DOI, URL and notes. ...
6
votes
1answer
53 views

How do I change the size of a matrix within a matrix?

I am trying to make the inner matrix the same size as the 0, i.e. the large matrix should have two equally sized components, a 0 and a small matrix (1,0). Here is my MWE ...
0
votes
1answer
101 views

Problem with crosswords

While making a crosswords in LaTeX, I found out I am unable to do two things: A part of it must be blue. Two letters must be visible in the unsolved version. Can anybody tell me how to do these ...
0
votes
1answer
19 views

TOC Spacing between number and header [duplicate]

How do I increase the spacing between the subsection number and header name in the table of contents. I am using www.sharelatex.com. When I have a large number of subsections the section numbers and ...
3
votes
3answers
68 views

Writing manual summation of two numbers

How would you write a manual summation of numbers in TeX? That is, something like this(not necessarily identical):               ...
2
votes
2answers
76 views

Same command is used more than one number of time but i am getting only last output

I am defined \editor{strong text} and \reviewer{strong text} command is used more than one number of time. But, I am getting only last \editor{Some Text} command output. My class file defined this ...
2
votes
1answer
25 views

Using default values in arguments in marginsize command

I am using the resume document class to write my resume. Since I want to make my resume fit in one page, I would like to decrease the spacing at the top of the document but keep the bottom, right ...
1
vote
1answer
27 views

Change some basic details about document type resume

I am writing my resume and using template "9b" from this website. However, there are a couple of items that I would like to modify. Here is the .tex file and corresponding screen-shot after ...
5
votes
3answers
69 views

how to change the font of the number after theorem

I want to change the font of the number to \itshape, for example, I want to get Theorem {\itshape 1.1}. Is there any way to do it in the theorem environment
7
votes
3answers
179 views

How can I format the formula

Hi I need to give the syntax of a formula as a figure. How can I format it \begin{figure}[h] Formula $\to$ PrimitiveFormula $\vert$ (Formula Connective Formula) $\vert \neg$ Sentence $\vert$ ...
3
votes
1answer
25 views

Procedure name with small caps in algorithm2e

I know that procedure in algorithm2e only allows captions like \caption{ProcedureName()}. However, I'd like my procedure to appear in small caps: \documentclass[12pt,a4paper]{article} ...
0
votes
0answers
40 views

Adding references to cv

https://www.writelatex.com/2006263vsgfgk#/5055479/ I want to add references to a resume template. In order to do this I added : \section{References} \cvdoublecolumn{\cvreference{Nicolai ...
6
votes
2answers
32 views

Bring down words from theorem

I have a theorem that goes like this: \documentclass[12pt]{book} \begin{document} \newtheorem{definition}{Definition}[section] \begin{definition}[Integers] Integers are positive and negative ...
0
votes
1answer
30 views

Adding picture in write latex

I have been using kile as latex editor but I found some errors and couldn't overcome with that so I i am trying to compile my tex file in write-latex. But the online editor is showing that picture is ...
1
vote
1answer
40 views

Rotated Text in Table Extending into Rows in Lyx

I'm trying to create a table with some rotated text in it, but the rotated text is extending into the rows below the cell, as shown here: Here is what my screen looks like in Lyx: I've tried ...
2
votes
1answer
61 views

How do I ensure that linebreaks in URLs occur at the right position?

I am writing my survey report using LyX. In my bibliography section, there is unusual behavior in my pdf. One reference breaks the margin. This is the issue You can see that one line is out of ...
4
votes
2answers
164 views

Missing character: there is no 'x' in font nullfont

I want to generate an image from a Tex file. I use a template and then programmatically insert LaTeX inside it. For example, if I want to create an image for x^2 + \phi, this would be the resulting ...
0
votes
0answers
17 views

JaxoDraw in Latex, \Line incorrect

I drew a feynmann diagram in JaxoDraw, however, when I want to compile it in Latex, it gives me the error that: ! Use of \Line doesn't match its definition. Can someone please help me? Thanks! ...
3
votes
2answers
111 views

Chapter template

What I want: What I already have: Can someone help me to recreate this kind of chapter heading (first pic)? All help is welcome! Code for the second picture: \documentclass[ ...
3
votes
1answer
54 views

Vertical chapter title in the table of contents

I'm about to write my thesis, and finally decided to do so in LaTeX. I'm still new to it though, and was wondering if something like this is possible in the table of contents: --+ | I | N | ...
3
votes
2answers
89 views

How to use \underline and \emph over several words with gb4e?

How can I underline several words in a gloss without messing up the alignment? Here is an MWE. \documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} \ex[*]{\gll Me ...
2
votes
2answers
31 views

Image inside exam environment above question

I am wondering how can I fix the constant problem in inserting an image for a question. When I insert the image, I always have the image being above the question number. I want the question number to ...
3
votes
2answers
43 views

Placing Two Generic Tables Beside Each Other

I have two tables that are virtually identical and look like so: \begin{table}[!ht] \fontsize{8}{8}\selectfont \caption{caption$.} \label{label} \center{ \begin{tabular}{|c|c|c|c|} \hline ...
0
votes
0answers
37 views

Latex wont show any of my references and just adds [?] where I have cited?

I have made a bibliography 'Mybibliography' saved as a .bib file properly in the same folder as my .tex file and I try to run it each time by: PDFLaTeX, BibTeX, PDFLaTeX, PDFLaTeX. But it simply wont ...
1
vote
0answers
35 views

How to automatically vertically center text in Lyx?

I have the following table in Lyx: Here is how it looks in Lyx: I want the text "My words" to be automatically vertically centered. I also want the text for the items that are rotated to be ...
2
votes
0answers
45 views

Adjusting Text Vertical Space between lines in Tikz

I have this flowchart and the preamble is set to add a vertical space between lines and when I compiled this flowchart it follwed the preamble i guess. how can I adjust the vertical spaces of lines ...
2
votes
2answers
41 views

Removing indentation from macro

I've created two macros for my math book project. One is an enumerate environment that numbers problems as "Example 1.1" and so on. The other is a command that writes metadata about each problem to ...
2
votes
1answer
30 views

How can I maintain TeX code layout when pasting into a LyX ERT inset?

When I paste TeX code from a text editor in an ERT inset in a LyX document, the text layout from the text editor is lost, I have to enter the newlines and the tabulations manually in order to regain ...
3
votes
1answer
31 views

How to: height of “|” depends on both sides

I want that a vertical line depends on the height of the signs to its left and to its right: i.e. \documentclass{article} \begin{document} \begin{equation} \left. AAAA \right| BBBB ...
4
votes
2answers
187 views

What is the simplest way to get graphs for each answer choice like in the example below

I am trying to make an exam with multiple questions having graphs as answer choices. I want them to be aligned as shown below. Thank you in advance!
3
votes
1answer
358 views

How to display sine squared more compactly

If I have: \sin ^2(\theta ) My output is: This output just have too much space between the power and the parenthesis. How could I change this?
5
votes
2answers
104 views

How do I get my subsection to not appear bold and with no period at the end?

This is what I have for my codes: \section{MAIN RESULTS} \subsection{Graphical Analysis} I am getting this in the pdf: Instead I want the subsection in Italic non-bold form with no period at the ...
2
votes
1answer
77 views

Reduce space between footnote and page number

I am fairly new to LaTeX so please bear with me. I am trying to reduce the space between the footnote and the page numbering (see screenshots in the attachment). What command will do the trick? ...
2
votes
1answer
27 views

Centering Headings - list of contents - but not chapters

I need to center some sections using normal size fonts in the front sections of a document, but not the chapter headings. So, I need a "Contents" and "List of Tables" and "List of Figures" centered ...
5
votes
1answer
67 views

Lemma without numbering

I want to use the lemma environment without numbering because I only have one lemma. If I use the package \newtheorem{lemma}{Lemma} I get "Lemma 1" in Italics and indented: ...
4
votes
1answer
36 views

Centering a Poem using Verse package

I'm trying to center a poem on my document and I'm using the verse package to include line numbers on the poem. Here is my code: \section{Poem} \poemtitle{Another Day} ...
6
votes
1answer
131 views

How to change the shape of reference numbers in the bibliography

I have the following document. After compiling the document, the reference number in the bibliography appears as [ 1 ]. I would like to know if it would be possible to do the following customizations ...
3
votes
2answers
347 views

When to use $something$ syntax?

I know the difference between \emph{something} and \textit{something} (\emph or \textit). But when to use syntax like: $something$.
3
votes
0answers
28 views

Formatting numbers the Indian way [duplicate]

This is a follow-up question to Handling numbers and calculations. The numbers printed by \num[group-separator={,},group-minimum-digits=4]{\the\numexpr(5000)\relax} will produce comma separated ...
4
votes
2answers
52 views

sqrt sign with sharp or rounded corner

My MWE \documentclass[a4paper,11pt]{article} \usepackage{letltxmacro} %MACRO \LetLtxMacro{\oldsqrt}{\sqrt} % makes all sqrts closed \renewcommand{\sqrt}[1][\ ]{% ...
1
vote
1answer
66 views

framed environment with fixed image in marginpar

I would like to get the exact output below in the LaTeX. But unable to fix it and how to set image in the marginpar for each example environment. My MWE is: \documentclass{book} ...
1
vote
1answer
132 views

Writing formula in LaTeX

How can I write the formula shown below? I am new to LaTeX and I found how to write upper bounds but it is getting really complicated writing it as a whole.
0
votes
1answer
34 views

I have a problem in the output PDF margins

I have a problem in latex template of Circuits, Systems, and Signal Processing journal the output file has not equal margins from left and right, and has a large margin from bottom of the page. I ...
3
votes
4answers
71 views

How to draw straight lines to indicate repeat values in merged table cells?

Can you help me the following working: I'm looking to indicate that the value 2.00 is repetitive vertically through a straight line like in this sketch (the result should be a solid, continuous line, ...
4
votes
1answer
21 views

How to change the format of the “and” bibstring using xpatch?

When using biblatex's textcite command with a two-authored reference I want the "and" between them to be in italics. I managed to get the same for the "et al." \bibstring using the following code ...
1
vote
0answers
34 views

Group functions or something like that

So basically I am writing a thesis in Latex. I want to declare a group of functions exclusive for A3 pages. Can you guys give a tip how to declare such group? class? object? or whatever its called ? ...
0
votes
0answers
36 views

Equivalence Conditions in a Theorem

If I want to write a math paper with a theorem of the form If A and B are real numbers, then the following conditions are equivalent: 1. A = -B; 2. -A = B; 3. A + B = 0. Furthermore, the ...
1
vote
0answers
20 views

Generating an IEEE bibliography with book series in parentheses using BibTeX and IEEEtran

The IEEE citation reference and style manual both list the following two bibliography examples for books: [4] M. Abramowitz and I. A. Stegun, Eds., Handbook of Mathematical Functions (Applied ...
3
votes
1answer
45 views

section head two environment with different size boxes

I have two arguments in section and how to print the second optional argument in the same boxes. How do increase the box width should be upto paperwidth. My MWE is: \documentclass{book} ...
2
votes
1answer
45 views

section head box different font-size and two arguments in a level section

I'm expecting the below section heading is different box and section number is different box. After A level section default 4 icons need to print below (please refer screenshot). ![enter image ...